:root {
  color-scheme: dark;
  background: #151b26;
}
.app-avatar {
  --avatar-size: 40px;
  --avatar-radius: 50%;

  display: grid;
  box-sizing: border-box;
  width: var(--avatar-size);
  height: var(--avatar-size);
  flex: 0 0 var(--avatar-size);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(232, 237, 245, 0.15);
  border-radius: var(--avatar-radius);
  background: rgba(0, 0, 0, 0.3);
  -o-object-fit: cover;
     object-fit: cover;
}
.app-avatar-logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
.role-badge {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  overflow: hidden;
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.discord-empty {
  margin-top: 8px;
  color: rgba(232, 237, 245, 0.42);
}
.discord-clouds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tag-pill {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 999px;
  background: rgba(74, 87, 112, 0.18);
  padding: 4px 12px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
}
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 42% 36% at 50% 0%, rgba(13, 242, 158, 0.16), transparent 68%),
    radial-gradient(ellipse 42% 36% at 50% 100%, rgba(13, 242, 158, 0.13), transparent 68%),
    url("/static/frontend/assets/TILE_BG.png") center / cover no-repeat,
    #0b0d14;
}
.loading-screen-card {
  width: min(496px, 72vw);
  display: grid;
  justify-items: center;
  gap: 14px;
}
.loading-progress {
  width: min(495px, 100%);
  height: 13px;
  display: grid;
  align-items: center;
  border: 1px solid #1b1e28;
  border-radius: 999px;
  background: #11141d;
  overflow: hidden;
}
.loading-progress-fill {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #0df29e;
  box-shadow: 0 0 14px rgba(13, 242, 158, 0.58);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
.spinner-box {
  width: 100px;
  height: 100px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: transparent;
}
.circle-border {
  width: 50px;
  height: 50px;

  border-radius: 50%;

  background: linear-gradient(
    0deg,
    rgba(13, 242, 158, 0.08) 20%,
    rgba(13, 242, 158, 1) 100%
  );

  animation: spin 0.8s linear infinite;

  -webkit-mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2px)
    );

  mask:
    radial-gradient(
      farthest-side,
      transparent calc(100% - 3px),
      #000 calc(100% - 2px)
    );
}
.circle-core {
  display: none;
}
.error-view {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}
.error-view-card {
  max-width: 448px;
  border-radius: 12px;
  padding: 24px 32px;
  text-align: center;
}
.error-view-icon {
  margin: 0 auto;
  color: #fca5a5;
}
.error-view-title {
  margin-top: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.error-view-message {
  margin: 8px 0 0;
  color: rgba(232, 237, 245, 0.6);
}
.error-view-button {
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: #d86d38;
  padding: 12px 20px;
  color: #000;
  font-weight: 950;
  cursor: pointer;
}
.auth-page,
.public-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background-color: #0b0d14;
  background-image: url("/static/frontend/assets/TILE_BG.png");
}
.auth-glow {
  position: fixed;
  left: 50%;
  z-index: 0;
  width: 55%;
  height: 300px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(13, 242, 158, 0.9), rgba(13, 242, 158, 0.3) 44%, transparent 74%);
  filter: blur(120px);
  transform: translateX(-50%);
}
.auth-glow--top {
  top: -120px;
}
.auth-glow--bottom {
  bottom: -120px;
}
.auth-card,
.public-hero {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 56px));
  border: 1px solid #1b1e28;
  border-radius: 20px;
  background: rgba(12, 15, 23, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}
.auth-card {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
  padding: 22px;
}
.auth-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-card-logo,
.public-logo {
  width: 48px;
  height: 48px;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  background: #0df29e;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 0 22px rgba(13, 242, 158, 0.18);
}
.auth-kicker {
  color: #0df29e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-card h1,
.public-hero h1 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}
.auth-card h1 {
  font-size: 1.8rem;
  line-height: 1;
}
.auth-error {
  border: 1px solid rgba(255, 77, 91, 0.35);
  border-radius: 12px;
  background: rgba(255, 77, 91, 0.1);
  color: #ffd9dd;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.auth-form {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.auth-form label {
  display: grid;
  gap: 9px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.auth-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  background: #11141d;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.auth-form input:focus {
  border-color: rgba(13, 242, 158, 0.78);
  background: #0c0f17;
  box-shadow: 0 0 0 3px rgba(13, 242, 158, 0.12);
  outline: none;
}
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95);
  caret-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(13, 242, 158, 0.42);
  box-shadow:
    0 0 0 1000px rgba(13, 242, 158, 0.28) inset,
    0 0 0 3px rgba(13, 242, 158, 0.1);
  -webkit-transition: background-color 9999s ease-out, color 9999s ease-out;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}
.auth-password-field {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.auth-password-field input {
  padding-right: 52px;
}
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transform: translateY(-50%);
}
.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: #0df29e;
  outline: none;
}
.auth-submit {
  display: inline-grid;
  min-height: 56px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #0df29e;
  color: #07110d;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(13, 242, 158, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.auth-submit:hover,
.auth-submit:focus-visible {
  background: #27f6aa;
  box-shadow: 0 22px 52px rgba(13, 242, 158, 0.24);
  outline: none;
  transform: translateY(-1px);
}
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.auth-account-actions {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-account-user,
.auth-account-logout {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  background: rgba(17, 20, 29, 0.86);
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}
.auth-account-user {
  gap: 10px;
  padding: 6px 14px 6px 8px;
  font-weight: 800;
  text-decoration: none;
}
.auth-account-avatar {
  width: 30px;
  height: 30px;
}
.auth-account-logout {
  gap: 8px;
  padding: 0 16px;
  border-color: rgba(13, 242, 158, 0.42);
  cursor: pointer;
  font-weight: 800;
}
.auth-account-logout:hover,
.auth-account-logout:focus-visible {
  border-color: rgba(13, 242, 158, 0.82);
  background: rgba(13, 242, 158, 0.12);
  outline: none;
}
.public-hero {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(760px, calc(100vw - 56px));
  padding: 44px;
  text-align: center;
}
.public-logo {
  width: 60px;
  height: 60px;
}
.public-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.public-hero h1 span {
  color: #0df29e;
}
.public-hero p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.6;
}
.public-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.public-action-primary,
.public-action-secondary {
  min-width: 160px;
  padding: 0 22px;
}
.public-action-secondary {
  display: inline-grid;
  min-height: 56px;
  place-items: center;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  background: rgba(17, 20, 29, 0.88);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.public-action-secondary:hover,
.public-action-secondary:focus-visible {
  border-color: rgba(13, 242, 158, 0.5);
  outline: none;
}
@media (max-width: 720px) {
  .auth-page,
  .public-page {
    overflow-y: auto;
    padding: 16px;
  }

  .auth-card,
  .public-hero {
    width: min(100%, 560px);
  }

  .auth-account-actions {
    position: relative;
    top: auto;
    right: auto;
    justify-self: end;
    margin-bottom: 18px;
  }
}
@media (max-width: 560px) {
  .auth-card,
  .public-hero {
    padding: 16px;
    border-radius: 16px;
  }

  .public-hero h1 {
    font-size: 2.5rem;
  }
}
.edit-time-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 20%, rgba(13, 242, 158, 0.08), transparent 80%),
    rgba(3, 5, 9, 0.3);
  backdrop-filter: blur(4px);
}
.edit-time-modal {
  position: relative;
  isolation: isolate;
  width: min(1160px, calc(100vw - 48px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(27, 30, 40, 0.98);
  background: #0b0d14;
  color: #ffffff;
  padding: 0 0 24px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.64),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}
.edit-time-modal > :not(.edit-time-background):not(.edit-time-glow) {
  position: relative;
  z-index: 2;
}
.edit-time-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: url("/static/frontend/assets/TILE_EDITTIME.png") center / cover no-repeat;
}
.edit-time-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 45% at 50% 0%, rgba(13, 242, 158, 0.18), transparent 62%),
    radial-gradient(ellipse 100% 45% at 50% 100%, rgba(13, 242, 158, 0.14), transparent 62%);
}
.edit-time-title {
  width: 1043px;
  max-width: calc(100% - 60px);
  margin: 30px auto 18px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}
.edit-time-title span {
  color: #0df29e;
}
.edit-time-error,
.edit-time-field-error {
  border-radius: 10px;
  border: 1px solid rgba(255, 130, 138, 0.5);
  background: rgba(154, 20, 23, 0.22);
  color: #ffbabf;
  font-size: 13px;
  font-weight: 600;
}
.edit-time-error {
  margin: 0 57px 14px 93px;
  padding: 10px 14px;
}
.edit-time-field-error {
  margin-top: 10px;
  padding: 8px 12px;
}
.edit-time-field-error--comment {
  margin: 8px 57px 0 93px;
}
.edit-time-types {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  justify-content: space-between;
  width: 995px;
  max-width: calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
}
.edit-time-type {
  display: grid;
  place-items: center;
  align-content: center;
  height: 150px;
  border-radius: 10px;
  border: 1px solid #1b1e28;
  background: #11141d;
  color: #ffffff;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 15px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}
.edit-time-type:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 242, 158, 0.5);
}
.edit-time-type svg {
  margin-bottom: 13px;
  color: currentColor;
}
.edit-time-type strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.edit-time-type span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
}
.edit-time-type--active {
  border: 2px solid #0df29e;
  color: #0df29e;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(13, 242, 158, 0.08),
    0 0 26px rgba(13, 242, 158, 0.16);
}
.edit-time-main-grid {
  display: grid;
  grid-template-columns: 431px minmax(0, 1fr);
  gap: 0;
  width: 995px;
  max-width: calc(100% - 60px);
  margin: 30px auto 0;
  padding: 14px 24px 28px;
  min-height: 336px;
  border: 1px solid #1b1e28;
  border-radius: 10px;
}
.edit-time-section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.edit-time-section-label svg {
  color: #0df29e;
  flex: 0 0 auto;
}
.edit-time-section-label--slots {
  margin-top: 13px;
}
.edit-time-section-label--summary {
  margin-top: 28px;
  padding-top: 11px;
  border-top: 1px solid #1b1e28;
}
.edit-time-days {
  display: grid;
  grid-template-columns: repeat(7, 50px);
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #1b1e28;
}
.edit-time-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #1b1e28;
  background: #11141d;
  color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
.edit-time-day:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 242, 158, 0.45);
  color: #ffffff;
}
.edit-time-day span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}
.edit-time-day strong {
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.edit-time-day--active {
  border-color: #0df29e;
  background: #0df29e;
  color: #06120d;
}
.edit-time-day--active span,
.edit-time-day--active strong {
  color: #06120d;
}
.edit-time-day--active:hover span,
.edit-time-day--active:hover strong {
  color: #ffffff;
}
.edit-time-slots {
  display: grid;
  gap: 14px;
  margin-top: 13px;
}
.edit-time-slot-row {
  display: grid;
  grid-template-columns: 132px 20px 132px 40px;
  align-items: center;
  gap: 28px;
}
.edit-time-select {
  position: relative;
  display: block;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #1b1e28;
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.edit-time-select select {
  width: 100%;
  height: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  padding: 0 36px;
  text-align: center;
  -moz-text-align-last: center;
       text-align-last: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.edit-time-select svg {
  position: absolute;
  right: 14px;
  top: 50%;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
}
.edit-time-slot-dash {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.edit-time-slot-remove {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #ff828a;
  background: rgba(154, 20, 23, 0.5);
  color: #ffbabf;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}
.edit-time-slot-remove:hover:not(:disabled) {
  transform: translateY(-1px);
}
.edit-time-slot-remove:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
.edit-time-add-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 409px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #a2ffdd;
  background: rgba(13, 242, 158, 0.2);
  color: #a2ffdd;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    background 180ms ease,
    transform 180ms ease;
}
.edit-time-add-slot:hover {
  transform: translateY(-1px);
  background: rgba(13, 242, 158, 0.28);
}
.edit-time-status-preview {
  display: grid;
  place-items: center;
  width: 409px;
  min-height: 94px;
  margin-top: 13px;
  border-radius: 10px;
  border: 1px solid #1b1e28;
  background: #11141d;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.edit-time-status-preview--full_day_available {
  border-color: rgba(13, 242, 158, 0.55);
  color: #0df29e;
}
.edit-time-status-preview--tentative {
  border-color: rgba(245, 183, 89, 0.62);
  color: #f5c993;
}
.edit-time-status-preview--unavailable {
  border-color: rgba(255, 130, 138, 0.62);
  color: #ffbabf;
}
.edit-time-right-panel {
  min-width: 0;
  border-left: 1px solid #1b1e28;
  padding-left: 30px;
}
.edit-time-right-panel--inactive .edit-time-section-label,
.edit-time-right-panel--inactive .edit-time-section-label svg,
.edit-time-right-panel--inactive .edit-time-preview-scale span,
.edit-time-right-panel--inactive .edit-time-summary-values strong,
.edit-time-right-panel--inactive .edit-time-summary-values span {
  color: rgba(255, 255, 255, 0.34);
}
.edit-time-right-panel--inactive .edit-time-preview-tick {
  background: rgba(255, 255, 255, 0.1);
}
.edit-time-right-panel--inactive .edit-time-section-label--summary,
.edit-time-right-panel--inactive .edit-time-summary-values div + div {
  border-color: rgba(255, 255, 255, 0.1);
}
.edit-time-preview {
  margin-top: 18px;
}
.edit-time-prime-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}
.edit-time-prime-header div {
  display: grid;
  gap: 3px;
}
.edit-time-prime-header span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 400;
}
.edit-time-prime-header b {
  color: #0df29e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: right;
}
.edit-time-preview-scale,
.edit-time-preview-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
}
.edit-time-preview-scale span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}
.edit-time-preview-track {
  position: relative;
  height: 142px;
  margin-top: 9px;
}
.edit-time-team-heatmap {
  position: absolute;
  left: 0;
  top: 22px;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 36px;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  pointer-events: none;
}
.edit-time-team-hour {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  border: 1px solid rgba(var(--team-hour-color), calc(var(--team-hour-alpha) + 0.06));
  background:
    linear-gradient(rgba(var(--team-hour-color), var(--team-hour-alpha)), rgba(var(--team-hour-color), var(--team-hour-alpha))),
    #11141d;
  box-shadow: 0 0 18px rgba(var(--team-hour-color), calc(var(--team-hour-alpha) * 0.24));
}
.edit-time-preview-tick {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 1px;
  height: 142px;
  border-radius: 0;
  background: #1b1e28;
}
.edit-time-preview-bar {
  position: absolute;
  z-index: 3;
  top: 72px;
  min-width: 44px;
  max-width: 100%;
  height: 26px;
  border-radius: 10px;
  background: #0df29e;
  box-shadow: 0 6px 18px rgba(13, 242, 158, 0.2);
}
.edit-time-preview-bar--tentative {
  background: #f5b759;
  box-shadow: 0 6px 18px rgba(245, 183, 89, 0.22);
}
.edit-time-preview-bar--unavailable {
  background: #ff6974;
  box-shadow: 0 6px 18px rgba(255, 105, 116, 0.22);
}
.edit-time-preview--inactive .edit-time-preview-scale span {
  color: rgba(255, 255, 255, 0.36);
}
.edit-time-preview--inactive .edit-time-preview-tick {
  background: rgba(255, 255, 255, 0.12);
}
.edit-time-summary-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}
.edit-time-summary-values div {
  display: grid;
  justify-items: center;
  gap: 1px;
}
.edit-time-summary-values div + div {
  border-left: 1px solid #1b1e28;
}
.edit-time-summary-values strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.edit-time-summary-values span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.edit-time-comment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 16px;
  width: 995px;
  max-width: calc(100% - 60px);
  margin: 32px auto 0;
}
.edit-time-comment span {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}
.edit-time-comment strong {
  color: rgba(255, 255, 255, 0.35);
  font-size: 16px;
  font-weight: 400;
}
.edit-time-comment input {
  grid-column: 1 / -1;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #1b1e28;
  background: #06080b;
  color: #ffffff;
  outline: none;
  padding: 0 17px;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.edit-time-comment input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.edit-time-comment input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.edit-time-comment input:focus,
.edit-time-select:focus-within {
  border-color: rgba(13, 242, 158, 0.72);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(13, 242, 158, 0.22);
}
.edit-time-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 995px;
  max-width: calc(100% - 60px);
  margin: 18px auto 0;
}
.edit-time-remove,
.edit-time-cancel,
.edit-time-save {
  height: 41px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}
.edit-time-remove:hover:not(:disabled),
.edit-time-cancel:hover:not(:disabled),
.edit-time-save:hover:not(:disabled) {
  transform: translateY(-1px);
}
.edit-time-remove:disabled,
.edit-time-cancel:disabled,
.edit-time-save:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.edit-time-remove {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 137px;
  justify-content: center;
  border: 1px solid #ff828a;
  background: rgba(154, 20, 23, 0.5);
  color: #ffbabf;
}
.edit-time-action-pair {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 30px;
}
.edit-time-cancel,
.edit-time-save {
  width: 176px;
}
.edit-time-cancel {
  border: 1px solid #1b1e28;
  background: #11141d;
  color: #ffffff;
}
.edit-time-save {
  border: 1px solid #0f6d50;
  background: #0df29e;
  color: #000000;
}
@media (max-width: 1120px) {
  .edit-time-modal {
    width: min(720px, calc(100vw - 24px));
    padding: 22px;
  }

  .edit-time-title,
  .edit-time-types,
  .edit-time-main-grid,
  .edit-time-comment,
  .edit-time-actions {
    margin-left: 0;
    margin-right: 0;
  }

  .edit-time-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .edit-time-type {
    height: 132px;
  }

  .edit-time-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .edit-time-right-panel {
    border-left: 0;
    border-top: 1px solid #1b1e28;
    padding-left: 0;
    padding-top: 24px;
  }

  .edit-time-days {
    grid-template-columns: repeat(7, minmax(42px, 1fr));
  }

  .edit-time-day {
    width: 100%;
  }

  .edit-time-slot-row {
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .edit-time-add-slot,
  .edit-time-status-preview {
    width: 100%;
  }

  .edit-time-action-pair {
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .edit-time-overlay {
    padding: 10px;
  }

  .edit-time-modal {
    width: calc(100vw - 20px);
    padding: 16px;
  }

  .edit-time-title {
    font-size: 30px;
  }

  .edit-time-types {
    grid-template-columns: 1fr;
  }

  .edit-time-type {
    height: 104px;
  }

  .edit-time-type svg {
    margin-bottom: 6px;
  }

  .edit-time-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .edit-time-slot-row {
    grid-template-columns: 1fr;
  }

  .edit-time-slot-dash {
    display: none;
  }

  .edit-time-slot-remove {
    width: 100%;
  }

  .edit-time-actions {
    display: grid;
  }

  .edit-time-remove,
  .edit-time-action-pair,
  .edit-time-cancel,
  .edit-time-save {
    width: 100%;
  }

  .edit-time-action-pair {
    display: grid;
  }
}
.feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(13, 242, 158, 0.12), transparent 72%),
    rgba(3, 5, 9, 0.58);
  backdrop-filter: blur(8px);
}
.feedback-modal {
  position: relative;
  isolation: isolate;
  width: min(840px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  border: 1px solid rgba(27, 30, 40, 0.98);
  border-radius: 12px;
  background: #0b0d14;
  color: #fff;
  padding: 32px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.64),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}
.feedback-modal > :not(.feedback-modal-glow) {
  position: relative;
  z-index: 1;
}
.feedback-modal-glow {
  position: absolute;
  left: 50%;
  top: -116px;
  z-index: 0;
  width: 100%;
  height: 260px;
  pointer-events: none;
  background:
    url("/static/frontend/assets/DOT_TILE.png") 0 0 / 64px 64px repeat,
    radial-gradient(ellipse at center, rgba(13, 242, 158, 0.78), rgba(13, 242, 158, 0.22) 38%, transparent 62%);
  background-blend-mode: screen;
  opacity: 0.34;
  transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.82) 30%, transparent 62%);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.82) 30%, transparent 62%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.feedback-header p {
  margin: 0 0 8px;
  color: #0df29e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.feedback-header h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;
}
.feedback-header span {
  display: block;
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  line-height: 1.45;
}
.feedback-error,
.feedback-field-error {
  border: 1px solid rgba(255, 130, 138, 0.5);
  border-radius: 10px;
  background: rgba(154, 20, 23, 0.22);
  color: #ffbabf;
  font-size: 13px;
  font-weight: 600;
}
.feedback-error {
  margin-top: 20px;
  padding: 11px 14px;
}
.feedback-field-error {
  margin-top: 10px;
  padding: 9px 12px;
}
.feedback-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.feedback-type {
  display: grid;
  min-height: 142px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  background: #11141d;
  color: #fff;
  padding: 16px 12px;
  text-align: center;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}
.feedback-type:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 242, 158, 0.5);
}
.feedback-type strong {
  font-size: 15px;
  font-weight: 800;
}
.feedback-type span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.3;
}
.feedback-type--active {
  border-color: #0df29e;
  color: #0df29e;
  box-shadow:
    0 0 0 1px rgba(13, 242, 158, 0.08),
    0 0 26px rgba(13, 242, 158, 0.2);
}
.feedback-message {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 24px;
}
.feedback-message span,
.feedback-message strong {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}
.feedback-message strong {
  color: rgba(255, 255, 255, 0.42);
}
.feedback-message textarea {
  grid-column: 1 / -1;
  min-height: 156px;
  resize: vertical;
  border: 1px solid #1b1e28;
  border-radius: 12px;
  outline: 0;
  background: #11141d;
  color: #fff;
  padding: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.feedback-message textarea:focus {
  border-color: rgba(13, 242, 158, 0.72);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(13, 242, 158, 0.22);
}
.feedback-message textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.feedback-message textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.feedback-success {
  display: grid;
  place-items: center;
  margin: 34px 0 10px;
  border: 1px solid rgba(13, 242, 158, 0.24);
  border-radius: 12px;
  background: rgba(13, 242, 158, 0.08);
  padding: 38px 18px;
  text-align: center;
}
.feedback-success svg {
  color: #0df29e;
}
.feedback-success h3 {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 900;
}
.feedback-success p {
  max-width: 440px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.45;
}
.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
}
.feedback-cancel,
.feedback-send {
  min-width: 132px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.feedback-cancel {
  border: 1px solid #1b1e28;
  background: #11141d;
  color: rgba(255, 255, 255, 0.74);
}
.feedback-send {
  border: 1px solid #0df29e;
  background: #0df29e;
  color: #06120d;
}
.feedback-cancel:hover:not(:disabled),
.feedback-send:hover:not(:disabled) {
  transform: translateY(-1px);
}
.feedback-cancel:disabled,
.feedback-send:disabled {
  cursor: wait;
  opacity: 0.64;
}
@media (max-width: 720px) {
  .feedback-modal {
    padding: 22px;
  }

  .feedback-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-actions {
    display: grid;
  }
}
html,
body,
#root {
  min-height: 100%;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background-color: #0b0d14;
  background-image: url("/static/frontend/assets/TILE_BG.png");
  color: #eef3fb;
  font-family: Rubik, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#root {
  position: relative;
  z-index: 1;
}
button,
input,
select,
textarea {
  font: inherit;
}
.glass-panel {
  min-width: 0;
  border: 1px solid rgba(232, 237, 245, 0.08);
  background:
    linear-gradient(145deg, rgba(74, 87, 112, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(25, 34, 48, 0.9), rgba(18, 26, 38, 0.94));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}
.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid rgba(232, 237, 245, 0.1);
  background: rgba(22, 29, 41, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.top-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 18px;
}
.top-header-brand,
.top-header-clocks,
.top-header-user,
.top-header-logout {
  border: 1px solid rgba(232, 237, 245, 0.075);
  background:
    linear-gradient(180deg, rgba(30, 39, 54, 0.94), rgba(21, 29, 42, 0.96)),
    #161e2a;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.top-header-brand {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  padding: 0 20px;
  color: #f4f7fb;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}
.top-header-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  -o-object-fit: contain;
     object-fit: contain;
}
.top-header-avatar {
  --avatar-size: 28px;
}
.top-header-clocks {
  display: grid;
  min-height: 56px;
  grid-template-columns: repeat(3, 88px);
  overflow: hidden;
  border-radius: 12px;
}
.top-header-clock {
  display: grid;
  align-content: center;
  gap: 3px;
  border-right: 1px solid rgba(232, 237, 245, 0.06);
  padding: 0 18px;
}
.top-header-clock-active {
  background: rgba(244, 247, 251, 0.96);
}
.top-header-clock-active .top-header-clock-label {
  color: rgba(23, 30, 42, 0.58);
}
.top-header-clock-active .top-header-clock-value {
  color: #151b26;
}
.top-header-clock:last-child {
  border-right: 0;
}
.top-header-clock-label {
  color: rgba(232, 237, 245, 0.5);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.top-header-clock-value {
  color: #f4f7fb;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.top-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.top-header-user,
.top-header-logout {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: #f4f7fb;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.top-header-user {
  max-width: 180px;
  padding: 0 14px;
}
.top-header-user span {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-header-user-active,
.top-header-user:hover {
  border-color: rgba(111, 122, 164, 0.42);
  background:
    linear-gradient(180deg, rgba(58, 67, 93, 0.42), rgba(21, 29, 42, 0.96)),
    #161e2a;
}
.top-header-logout {
  border-color: rgba(216, 109, 56, 0.62);
  padding: 0 24px;
}
.top-header-logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(216, 109, 56, 0.12);
}
.app-shell {
  display: grid;
  gap: 16px;
}
.day-header-today {
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: none;
}
.day-header-today::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 170, 92, 0.68);
  border-radius: 12px;
  pointer-events: none;
  box-shadow:
    0 0 10px rgba(255, 117, 38, 0.22),
    inset 0 0 8px rgba(255, 117, 38, 0.16);
}
.day-header-today::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 191, 112, 0.14) 40%, rgba(255, 117, 38, 0.8) 50%, rgba(255, 191, 112, 0.14) 60%, transparent 100%) top left / 140px 1px no-repeat,
    linear-gradient(180deg, transparent 0%, rgba(255, 191, 112, 0.14) 40%, rgba(255, 117, 38, 0.72) 50%, rgba(255, 191, 112, 0.14) 60%, transparent 100%) top right / 1px 140px no-repeat,
    linear-gradient(270deg, transparent 0%, rgba(255, 191, 112, 0.14) 40%, rgba(255, 117, 38, 0.8) 50%, rgba(255, 191, 112, 0.14) 60%, transparent 100%) bottom right / 140px 1px no-repeat,
    linear-gradient(0deg, transparent 0%, rgba(255, 191, 112, 0.14) 40%, rgba(255, 117, 38, 0.72) 50%, rgba(255, 191, 112, 0.14) 60%, transparent 100%) bottom left / 1px 140px no-repeat;
  filter: drop-shadow(0 0 7px rgba(255, 117, 38, 0.62));
  animation: day-fire-shimmer 7s linear infinite;
}
@keyframes day-fire-shimmer {
  0% {
    background-position:
      -140px top,
      right -140px,
      calc(100% + 140px) bottom,
      left calc(100% + 140px);
  }

  25% {
    background-position:
      calc(100% + 140px) top,
      right -140px,
      calc(100% + 140px) bottom,
      left calc(100% + 140px);
  }

  50% {
    background-position:
      calc(100% + 140px) top,
      right calc(100% + 140px),
      calc(100% + 140px) bottom,
      left calc(100% + 140px);
  }

  75% {
    background-position:
      calc(100% + 140px) top,
      right calc(100% + 140px),
      -140px bottom,
      left calc(100% + 140px);
  }

  100% {
    background-position:
      calc(100% + 140px) top,
      right calc(100% + 140px),
      -140px bottom,
      left -140px;
  }
}
.app-sidebar {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 32px);
  border: 1px solid rgba(232, 237, 245, 0.07);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(24, 33, 47, 0.96), rgba(16, 24, 36, 0.98)),
    #121a26;
  padding: 10px 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  overflow: visible;
}
.sidebar-shell {
  display: flex;
  min-height: 100%;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 10px 0 18px;
}
.sidebar-head {
  display: flex;
  width: 100%;
  justify-content: center;
}
.sidebar-brand {
  display: grid;
  height: 72px;
  width: 72px;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
}
.sidebar-brand .brand-logo {
  width: 52px;
  height: 52px;
  flex: none;
}
.sidebar-nav {
  display: grid;
  width: 100%;
  gap: 14px;
  justify-items: center;
}
.sidebar-nav-link {
  position: relative;
  display: grid;
  width: 82px;
  min-height: 74px;
  justify-items: center;
  align-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(232, 237, 245, 0.62);
  padding: 10px 7px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}
.sidebar-link-label {
  display: block;
  width: 100%;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}
.sidebar-nav-link:hover {
  transform: translateY(-1px);
  color: rgba(244, 247, 251, 0.92);
  background: rgba(132, 144, 179, 0.08);
}
.sidebar-nav-link-active {
  background:
    radial-gradient(circle at 50% 25%, rgba(111, 122, 164, 0.42), transparent 72%),
    linear-gradient(180deg, rgba(76, 86, 125, 0.72), rgba(53, 62, 94, 0.58));
  color: #f4f7fb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 28px rgba(51, 61, 92, 0.28);
}
.comment-tooltip {
  position: fixed;
  z-index: 420;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #05070b;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.72);
}
.comment-tooltip--force-break {
  overflow-wrap: anywhere;
}
@media (min-width: 1280px) {
  .app-main {
    --app-gutter: clamp(20px, 2vw, 40px);
    width: min(calc(100% - (var(--app-gutter) * 2)), 1840px);
    padding-block: clamp(14px, 1.2vh, 22px) 30px;
  }

  .app-shell {
    grid-template-columns: clamp(98px, 5.8vw, 112px) minmax(0, 1fr);
    align-items: start;
  }

  .app-sidebar {
    width: 100%;
    min-height: calc(100vh - clamp(28px, 2.4vh, 48px));
  }

  .top-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(12px, 1.2vw, 18px);
  }

  .top-header-brand,
  .top-header-actions,
  .top-header-user {
    min-width: 0;
  }

  .top-header-brand span,
  .top-header-user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-header-actions {
    flex-wrap: nowrap;
  }

  .top-header-user {
    max-width: min(220px, 48%);
  }

  .top-header-logout {
    padding-inline: clamp(16px, 1.35vw, 24px);
    white-space: nowrap;
  }

  .hero-banner {
    min-width: 0;
  }
}
@media (min-width: 1280px) and (max-width: 1399px) {
  .top-header-clocks {
    grid-template-columns: repeat(3, 76px);
  }

  .top-header-clock {
    padding-inline: 12px;
  }

  .top-header-user {
    max-width: 150px;
  }
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 34, 48, 0.86) 0%, rgba(26, 34, 48, 0.42) 34%, rgba(232, 237, 245, 0.1) 62%, rgba(26, 34, 48, 0.62) 100%),
    url("/static/frontend/assets/Header.png") center center / auto 128% no-repeat;
  opacity: 0.96;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(232, 237, 245, 0.08), transparent 48%),
    linear-gradient(90deg, rgba(232, 237, 245, 0.12), rgba(232, 237, 245, 0.22) 100%);
}
@media (max-width: 1024px) {
  .hero-banner::before {
    background:
      linear-gradient(180deg, rgba(26, 34, 48, 0.88) 0%, rgba(26, 34, 48, 0.78) 38%, rgba(18, 26, 38, 0.9) 100%),
      url("/static/frontend/assets/Header.png") center center / cover no-repeat;
  }
}
.roster-scroll::-webkit-scrollbar {
  height: 10px;
}
.roster-scroll::-webkit-scrollbar-track {
  background: rgba(22, 30, 44, 0.58);
  border-radius: 999px;
}
.roster-scroll::-webkit-scrollbar-thumb {
  background: rgba(96, 107, 143, 0.56);
  border-radius: 999px;
}
@media (max-width: 1279px) {
  .top-header {
    grid-template-columns: 1fr;
  }

  .top-header-actions {
    justify-content: space-between;
  }

  .app-sidebar {
    min-height: auto;
  }

  .sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .top-header-clocks {
    grid-template-columns: 1fr;
  }

  .top-header-clock {
    border-right: 0;
    border-bottom: 1px solid rgba(232, 237, 245, 0.06);
    padding: 12px 18px;
  }

  .top-header-clock:last-child {
    border-bottom: 0;
  }

  .top-header-actions {
    display: grid;
  }

  .sidebar-shell {
    padding-inline: 0;
  }

  .sidebar-brand {
    height: 66px;
    width: 66px;
  }

  .sidebar-brand .brand-logo {
    width: 46px;
    height: 46px;
  }

  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .sidebar-nav-link {
    width: 100%;
    min-height: 74px;
  }
}
/* Reserved for shared modal styles. */
.copy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.copy-modal {
  width: 100%;
  max-width: 576px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: 1px solid rgba(232, 237, 245, 0.12);
  border-radius: 12px;
  background: #0d1420;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}
.copy-modal-head,
.copy-modal-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.copy-modal-eyebrow {
  color: #d86d38;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.copy-modal-title {
  margin: 4px 0 0;
  color: #f1f5f9;
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}
.copy-modal-close {
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: transparent;
  padding: 8px;
  color: rgba(232, 237, 245, 0.6);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}
.copy-modal-close:hover {
  border-color: rgba(216, 109, 56, 0.4);
  color: #d86d38;
}
.copy-modal-body {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.copy-modal-field {
  display: grid;
  gap: 8px;
  color: #e8edf5;
  font-size: 14px;
  font-weight: 950;
}
.copy-modal-select {
  min-height: 46px;
  border: 1px solid rgba(232, 237, 245, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: #f1f5f9;
  padding: 0 14px;
  outline: 0;
}
.copy-modal-note,
.copy-modal-empty,
.copy-modal-alert {
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
  color: rgba(232, 237, 245, 0.62);
  font-size: 14px;
}
.copy-modal-note span {
  color: #e8edf5;
  font-weight: 950;
}
.copy-modal-alert--warning {
  border-color: rgba(253, 186, 116, 0.3);
  background: rgba(249, 115, 22, 0.1);
  color: #ffedd5;
}
.copy-modal-alert--error {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: #fee2e2;
}
.copy-modal-alert--success {
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(16, 185, 129, 0.1);
  color: #d1fae5;
  font-weight: 700;
}
.copy-modal-actions {
  justify-content: flex-end;
  gap: 12px;
}
.copy-modal-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 950;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}
.copy-modal-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.copy-modal-button--ghost {
  border-color: rgba(232, 237, 245, 0.1);
  background: transparent;
  color: rgba(232, 237, 245, 0.7);
}
.copy-modal-button--ghost:hover {
  border-color: rgba(232, 237, 245, 0.25);
  color: #e8edf5;
}
.copy-modal-button--primary {
  border-color: transparent;
  background: #f4f7fb;
  color: #151b26;
}
.copy-modal-button--primary:hover:not(:disabled) {
  background: #fff;
}
.copy-modal-empty {
  margin-top: 24px;
  padding: 16px;
  color: rgba(232, 237, 245, 0.65);
}
.shell {
  --sidebar-expanded-width: 220px;
  --sidebar-collapsed-width: 70px;
  --sidebar-width: var(--sidebar-expanded-width);
  --radius: 15px;
  --font-large: clamp(1rem, 0.75rem + 0.4vw, 1.25rem);
  --font-regular: clamp(0.875rem, 0.65rem + 0.35vw, 1rem);
  --font-small: clamp(0.625rem, 0.5rem + 0.25vw, 0.75rem);

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: visible;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  animation: shell-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.shell--sidebar-collapsed {
  --sidebar-width: var(--sidebar-collapsed-width);
}
@keyframes shell-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.shell-glow-top,
.shell-glow-bottom {
  position: fixed;
  z-index: -1;
  left: calc(var(--sidebar-width) + (100vw - var(--sidebar-width)) / 2);
  width: 55%;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(13, 242, 158, 0.9), rgba(13, 242, 158, 0.3) 44%, transparent 74%);
  filter: blur(120px);
  transform: translateX(-50%);
}
.shell-glow-top {
  top: -120px;
}
.shell-glow-bottom {
  bottom: -120px;
}
.desktop-main {
  display: grid;
  grid-template-areas:
    "topbar"
    "hero"
    "controls"
    "table"
    "availability";
  grid-template-rows:
    60px
    100px
    86px
    minmax(450px, 1fr)
    70px;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  min-width: 0;
  padding: 15px clamp(20px, 6.25vw, 150px) 35px;
  row-gap: clamp(16px, 2vh, 24px);
}
.topbar {
  grid-area: topbar;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  height: 60px;
  min-width: 0;
}
.hero-glow {
  pointer-events: none;
  position: absolute;
}
.version {
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 20px;
  line-height: 1;
}
.sidebar {
  position: relative;
  display: grid;
  grid-template-areas:
    "brand"
    "logo"
    "nav"
    "profile";
  grid-template-rows: auto 200px auto minmax(0, 1fr);
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  align-self: stretch;
  background-color: #0c0f17;
  background-image:
    radial-gradient(circle at -35px -24px, rgba(13, 242, 158, 0.3), rgba(13, 242, 158, 0.1) 10%, transparent 38%),
    radial-gradient(circle at calc(100% + 132px) calc(100% + 138px), rgba(13, 242, 158, 0.1), rgba(13, 242, 158, 0.1) 15%, transparent 40%),
    url("/static/frontend/assets/TILE_SIDEBAR.png"),
    linear-gradient(180deg, rgba(15, 19, 29, 0.96), rgba(10, 13, 20, 0.98));
  border-right: 1px solid #1b1e28;
  padding-inline: 15px;
  padding-block: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  overflow: visible;
}
.schedule-sidebar-content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}
.collapse-button{
  --icon-size: 24px;
  position: absolute;
  bottom: calc(100% / 4);
  right: calc(var(--icon-size) / -2);
  display: grid;
  place-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  background-color: transparent;
  color: #fff;
  padding: 0;
  border: none;
}
.collapse-icon-wrap,
.collapse-icon{
  display: block;
  width: 100%;
  height: 100%;
}
.schedule-sidebar-top {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}
.schedule-sidebar-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  -o-object-fit: contain;
     object-fit: contain;
}
.schedule-sidebar-brand {
  display: grid;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  opacity: 1;
  max-width: 140px;
  transition:
    opacity 180ms ease,
    max-width 220ms ease;
}
.schedule-sidebar-brand b {
  color: #0df29e;
  font: inherit;
}
.sidebar-logo-box {
  grid-area: logo;
  display: grid;
  width: 100%;
  height: 200px;
  place-items: center;
}
.sidebar-logo {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid #1b1e28;
  border-radius: var(--radius);
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 1;
  text-align: center;
  flex: 0 0 auto;
  transition:
    width 220ms ease,
    height 220ms ease,
    font-size 180ms ease;
}
.sidebar-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
.schedule-nav {
  grid-area: nav;
  display: grid;
  width: 100%;
  gap: 8px;
  flex: 0 0 auto;
}
.schedule-nav-item {
  position: relative;
  display: grid;
  width: 100%;
  height: 38px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
}
.schedule-nav-item:disabled {
  cursor: default;
}
.schedule-nav-item-surface {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1;
  width: 100%;
  height: 100%;
  grid-template-columns: 28px 1fr;
  align-items: center;
  justify-items: start;
  gap: 4px;
  border-radius: var(--radius);
  padding-inline: 12px;
  box-sizing: border-box;
}
.schedule-nav-label {
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    max-width 220ms ease;
}
.schedule-nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.5;
}
.schedule-nav-item--active {
  color: #fff;
}
.schedule-nav-item--active .schedule-nav-item-surface {
  border: 1px solid #1b1e28;
  background: rgba(17, 20, 29, 0.94);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.schedule-nav-item-accent {
  position: absolute;
  right: -2px;
  top: 50%;
  z-index: 1;
  width: 4px;
  height: 50%;
  border-radius: var(--radius);
  background: #0df29e;
  box-shadow: 0 0 10px #0df29e;
  transform: translateY(-50%);
}
.schedule-nav-item--active svg {
  opacity: 1;
}
.schedule-profile {
  --profile-surface-duration: 1s;
  --profile-hover-duration: 180ms;

  grid-area: profile;
  display: grid;
  width: 100%;
  height: 60px;
  align-self: end;
  color: #fff;
  overflow: hidden;
}
.schedule-profile-toggle {
  position: relative;
  grid-area: 1 / 1;
  z-index: 2;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 60px;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  border: 1px solid #1b1e28;
  border-radius: var(--radius);
  background: rgba(17, 20, 29, 0.98);
  padding: 8px 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition:
    border-color var(--profile-surface-duration) ease,
    box-shadow var(--profile-surface-duration) ease;
}
.schedule-profile--open .schedule-profile-toggle {
  border-color: #252a36;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.38),
    0 0 16px rgba(13, 242, 158, 0.04);
}
.schedule-profile-avatar {
  --avatar-size: 42px;
}
.schedule-profile-copy {
  min-width: 0;
  overflow: hidden;
  opacity: 1;
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    max-width 220ms ease;
}
.schedule-profile-name {
  max-width: 116px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.schedule-profile-subtitle {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
}
.schedule-profile-arrow {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  justify-self: center;
  opacity: 1;
  transform-origin: center;
  transition:
    color 220ms ease,
    opacity 180ms ease;
}
.schedule-profile--open .schedule-profile-arrow {
  color: rgba(255, 255, 255, 0.72);
}
.schedule-profile-panel {
  grid-area: 1 / 1;
  z-index: 1;
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr);
  height: 100%;
  border: 1px solid #1b1e28;
  border-radius: var(--radius);
  background: rgba(17, 20, 29, 0.99);
  justify-items: center;
  box-sizing: border-box;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(13, 242, 158, 0.06);
  pointer-events: none;
}
.schedule-profile--open .schedule-profile-panel {
  pointer-events: auto;
}
.schedule-profile-actions {
  display: grid;
  grid-row: 2;
  align-content: center;
  gap: 6px;
  min-height: 0;
}
.schedule-profile-action {
  display: inline-flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--profile-hover-duration) ease,
    transform var(--profile-hover-duration) ease;
}
.schedule-profile-action span {
  overflow: hidden;
  opacity: 1;
  white-space: nowrap;
  transition:
    opacity 180ms ease,
    max-width 220ms ease;
}
.schedule-profile-action:hover {
  color: #0df29e;
  transform: translateX(2px);
}
.schedule-profile--animating .schedule-profile-actions {
  pointer-events: none;
}
.schedule-profile--animating .schedule-profile-action:hover,
.schedule-profile-action:disabled:hover,
.schedule-profile-action[aria-disabled="true"]:hover {
  color: inherit;
  transform: none;
}
.schedule-profile-action:disabled {
  cursor: default;
}
.schedule-profile-action--active {
  color: #0df29e;
}
.schedule-profile-action--exit {
  color: #f20d11;
}
.schedule-profile-action--exit:hover {
  color: #ff4b4f;
}
.sidebar--collapsed {
  padding-inline: 10px;
}
.sidebar--collapsed .schedule-sidebar-top {
  gap: 0;
  justify-content: center;
}
.sidebar--collapsed .schedule-sidebar-brand {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar--collapsed .sidebar-logo {
  width: 44px;
  height: 44px;
  font-size: 6px;
}
.sidebar--collapsed .schedule-nav-item-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0;
  padding-inline: 0;
}
.sidebar--collapsed .schedule-nav-label {
  position: absolute;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar--collapsed .schedule-nav-item svg {
  justify-self: center;
}
.sidebar--collapsed .schedule-profile-toggle {
  width: 50px;
  height: 50px;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  justify-self: center;
  gap: 0;
  padding: 0;
}
.sidebar--collapsed .schedule-profile-arrow {
  position: absolute;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar--collapsed .schedule-profile-copy {
  position: absolute;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar--collapsed .schedule-profile-avatar {
  --avatar-radius: 50%;

  aspect-ratio: 1 / 1;
  border-radius: 50%;
  justify-self: center;
}
.sidebar--collapsed .schedule-profile-avatar.app-avatar {
  border-radius: 50%;
}
.sidebar--collapsed .schedule-profile-panel {
  width: 100%;
}
.sidebar--collapsed .schedule-profile-actions {
  width: 100%;
  justify-items: center;
}
.sidebar--collapsed .schedule-profile-action {
  justify-content: center;
  gap: 0;
  padding: 0;
}
.sidebar--collapsed .schedule-profile-action span {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar--collapsed .schedule-profile-action svg {
  flex: 0 0 auto;
}
.clock-panel {
  position: relative;
  --clock-card-width: 100px;
  grid-column: 2;
  justify-self: center;
  display: grid;
  width: 100%;
  height: 60px;
  grid-template-columns: repeat(3, var(--clock-card-width));
  justify-content: space-between;
  isolation: isolate;
}
.clock-card-wrap {
  position: relative;
  isolation: isolate;
  width: var(--clock-card-width);
  height: 60px;
  
}
.clock-card-accent {
  position: absolute;
  right: -4px;
  top: 50%;
  width: 4px;
  height: 50%;
  border-radius: var(--radius);
  background: #0df29e;
  box-shadow: 0 0 8px #0df29e;
  transform: translateY(-50%);
}
.clock-card {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px solid #1b1e28;
  border-radius: var(--radius);
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.clock-time {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.clock-label {
  position: relative;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.notice-button {
  position: relative;
  grid-column: 3;
  justify-self: end;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid #1b1e28;
  border-radius: var(--radius);
  background: #11141d;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.notice-button svg {
  width: 22px;
  height: 22px;
}
.hero-panel {
  grid-area: hero;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #212530;
  background-color: #11141d;
  background-image: url("/static/frontend/assets/TILE_HERO.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}
.hero-content {
  position: relative;
  display: grid;
  height: 100%;
  width: 50%;
  justify-items: center;
  text-align: center;
}
.hero-glow {
  left: 50%;
  top: -50%;
  width: 75%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(13, 242, 158), rgba(13, 242, 158, 0.25) 44%, transparent 74%);
  filter: blur(50px);
  transform: translateX(-50%);
}
.hero-panel h1 {
  display: flex;
  color: #fff;
  font-size: 45px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  align-items: center;
}
.hero-panel h1 span {
  color: #0df29e;
  margin: 0;
}
.hero-panel p {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
}
.control-card {
  position: relative;
  z-index: 3;
  height: 86px;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.controls-row {
  grid-area: controls;
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  height: 86px;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 32px);
}
.date-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns:
    minmax(0, 300px)
    clamp(48px, 3.2vw, 61px)
    clamp(48px, 3.2vw, 61px);
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.7vw, 11px);
  width: 100%;
  min-width: 0;
  padding: 0 20px;
}
.best-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-content: center;
  -moz-column-gap: clamp(10px, 0.8vw, 14px);
       column-gap: clamp(10px, 0.8vw, 14px);
  row-gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 0 20px;
}
.upcoming-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-content: center;
  -moz-column-gap: clamp(10px, 0.8vw, 14px);
       column-gap: clamp(10px, 0.8vw, 14px);
  row-gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 0 20px;
}
.week-switcher {
  width: 100%;
  min-width: 0;
  height: 55px;
  display: grid;
  grid-template-columns:
    clamp(40px, 2.8vw, 52px)
    minmax(0, 1fr)
    clamp(40px, 2.8vw, 52px);
  align-items: center;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #0c0f17;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.week-switcher button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: var(--font-regular);
  font-weight: 600;
}
.week-switcher button:disabled {
  color: rgba(255, 255, 255, 0.24);
}
.week-switcher span {
  color: #fff;
  min-width: 0;
  overflow: hidden;
  font-size: var(--font-regular);
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.square-action {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #0c0f17;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}
.square-action:hover:not(:disabled) {
  transform: translateY(-1px);
}
.square-action:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.copy-icon {
  transform: scaleX(-1);
}
.square-action--primary {
  background: #0df29e;
  color: #0b0d14;
}
.control-title {
  color: #fff;
  min-width: 0;
  overflow: hidden;
  font-size: var(--font-regular);
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.control-corner-icon {
  justify-self: end;
}
.icon-box,
.icon-box svg {
  display: block;
  width: 24px;
  height: 24px;
}
.icon-box {
  color: #0df29e;
}
.chip-row {
  --chip-gap: clamp(6px, 0.55vw, 10px);

  grid-column: 1 / -1;
  display: grid;
  gap: var(--chip-gap);
  min-width: 0;
}
.best-chip-row,
.upcoming-chip-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.chip {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #0c0f17;
  color: #0df29e;
  padding: 0 14px;
  font-size: var(--font-small);
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table {
  grid-area: table;
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-rows: 75px 1fr;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}
.table-accent {
  position: absolute;
  right: -2px;
  top: 50%;
  z-index: 1;
  width: 4px;
  height: 50%;
  border-radius: var(--radius);
  background: #0df29e;
  box-shadow: 0 0 8px #0df29e;
  pointer-events: none;
  transform: translateY(-50%);
}
.table-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-row: 1;
  grid-template-columns: 200px repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border-bottom: 1px solid #212530;
  border-radius: var(--radius);
  background: #0c0f17;
  width: 100%;
  box-sizing: border-box;
  box-shadow:
    inset 0 0 0 1px #212530,
    0 4px 20px rgba(0, 0, 0, 0.4);
}
.table-header-cell {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 2px;
  border-right: 1px solid #212530;
  text-align: center;
}
.table-header-cell:last-child {
  border-right: 0;
}
.table-header-cell--players {
  justify-items: center;
  color: #fff;
  font-size: var(--font-large);
  font-weight: 600;
}
.table-header-cell--today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 35px;
  height: 5px;
  border-radius: var(--radius);
  background: #0df29e;
  transform: translateX(-50%);
}
.day-name {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: var(--font-regular);
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.day-date {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-small);
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.table-body {
  position: relative;
  z-index: 2;
  grid-row: 2;
  height: 100%;
  min-height: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow-y: hidden;
  overflow-x: hidden;
}
.table-body::-webkit-scrollbar {
  width: 11px;
}
.table-body::-webkit-scrollbar-track {
  background: transparent;
}
.table-body::-webkit-scrollbar-thumb {
  border-radius: var(--radius);
  background: #0df29e;
  box-shadow: 0 0 8px #0df29e;
}
.table-row {
  display: grid;
  height: calc(100% / var(--visible-player-rows, 7));
  min-height: 0;
  grid-template-columns: 200px repeat(7, minmax(0, 1fr));
}
.player-cell,
.schedule-cell {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid #212530;
  border-bottom: 1px solid #212530;
  box-sizing: border-box;
}
.schedule-cell {
  display: grid;
  place-items: center;
  background: #11141d;
  padding: 6px 10px;
}
.player-cell > *,
.schedule-cell > * {
  position: relative;
  z-index: 1;
}
.schedule-cell.schedule-cell--available,
.schedule-cell.schedule-cell--tentative,
.schedule-cell.schedule-cell--unavailable {
  background: #11141d;
}
.player-cell {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}
.player-avatar {
  --avatar-size: 42px;
}
.player-name {
  max-width: 92px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-role {
  margin-top: 4px;
  max-width: 90px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 2px 7px;
  font-size: 13.5px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell-events {
  display: grid;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  align-self: center;
  align-content: center;
  gap: clamp(2px, 0.35vh, 4px);
  grid-auto-rows: minmax(0, 1fr);
  justify-items: stretch;
}
.event-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  max-height: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  align-content: center;
  justify-self: stretch;
  align-self: center;
  row-gap: 1px;
  border: 1px solid;
  border-radius: var(--radius);
  padding: clamp(2px, 0.4vh, 5px) 12px;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.event-card--editable {
  cursor: pointer;
}
.event-card--time {
  border-color: #9f9f9f;
  background: #0c0f17;
}
.event-card--available-all {
  border-color: #a2ffdd;
  background: rgba(13, 242, 158, 0.2);
  color: #a2ffdd;
}
.event-card--tentative {
  border-color: rgba(242, 128, 13, 0.75);
  background: rgba(242, 128, 13, 0.26);
  color: #f4b46d;
}
.event-card--unavailable {
  border-color: rgba(242, 13, 17, 0.72);
  background: rgba(242, 13, 17, 0.28);
  color: #ff9fa1;
}
.event-main {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: var(--font-small);
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-note {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(9px, 0.58vw, 11px);
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell-add {
  width: 100%;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #0df29e;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}
.cell-add--compact {
  height: 14px;
  justify-self: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}
.cell-add--disabled {
  color: rgba(255, 255, 255, 0.3);
}
.availability {
  grid-area: availability;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 69px;
  min-width: 0;
  display: grid;
  grid-template-columns: 175px repeat(7, minmax(0, 1fr));
  align-items: center;
  border: 1px solid #212530;
  border-radius: var(--radius);
  background: #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.availability-title {
  display: grid;
  place-items: center;
  border-right: 1px solid #212530;
  color: #fff;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}
.availability-title span {
  font-size: 15px;
}
.availability-title small {
  font-size: 10px;
  font-weight: 400;
}
.availability-day {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  gap: 7px;
  justify-items: center;
  padding: 0 clamp(8px, 0.8vw, 16px);
}
.availability-track {
  width: 100%;
  max-width: 153px;
  min-width: 0;
  height: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}
.availability-track span {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  transition: width 240ms ease;
}
.availability-day--high .availability-track {
  background: #177653;
}
.availability-day--high .availability-track span {
  background: #0df29e;
}
.availability-day--mid .availability-track {
  background: rgba(242, 128, 13, 0.4);
}
.availability-day--mid .availability-track span {
  background: #f2800d;
}
.availability-day--low .availability-track {
  background: rgba(242, 13, 17, 0.4);
}
.availability-day--low .availability-track span {
  background: #f20d11;
}
.availability-count {
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.mobile-page {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 242, 158, 0.12), transparent 20rem),
    radial-gradient(circle at 50% 100%, rgba(13, 242, 158, 0.08), transparent 18rem),
    #0b0d14;
  color: #fff;
}
.mobile-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/static/frontend/assets/TILE_BG.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.46;
}
.mobile-page > * {
  position: relative;
  z-index: 1;
}
.mobile-page--mobile {
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.mobile-topbar {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 1400px);
  margin: 0 auto;
}
.mobile-menu-button,
.mobile-brand,
.mobile-user,
.mobile-clocks,
.mobile-action,
.mobile-week-switcher,
.mobile-player-card,
.mobile-day-tab {
  border: 1px solid #1b1e28;
  border-radius: 20px;
  background: rgba(17, 20, 29, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.36);
}
.mobile-menu-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
}
.mobile-brand,
.mobile-user {
  min-height: 54px;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: #fff;
  text-decoration: none;
}
.mobile-brand img {
  width: 30px;
  height: 30px;
  -o-object-fit: contain;
     object-fit: contain;
}
.mobile-brand span,
.mobile-user span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.mobile-user {
  justify-self: end;
  max-width: 190px;
}
.mobile-user-avatar {
  --avatar-size: 32px;
}
.mobile-clocks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(78px, 1fr));
  overflow: visible;
  isolation: isolate;
}
.mobile-clock-wrap {
  position: relative;
  min-height: 54px;
  overflow: visible;
}
.mobile-clock-accent {
  position: absolute;
  right: -4px;
  top: 50%;
  z-index: 0;
  width: 18px;
  height: 28px;
  border-radius: 999px;
  background: #0df29e;
  box-shadow: 0 0 8px #0df29e;
  transform: translateY(-50%);
  pointer-events: none;
}
.mobile-clock {
  position: relative;
  z-index: 2;
  display: grid;
  height: 100%;
  min-height: 54px;
  align-content: center;
  gap: 4px;
  border-right: 1px solid #1b1e28;
  padding: 0 18px 0 14px;
}
.mobile-clock-wrap:last-child .mobile-clock {
  border-right: 0;
}
.mobile-clock span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.mobile-clock strong {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.mobile-clock--active {
  background: #f4f7fb;
}
.mobile-clock--active span {
  color: rgba(11, 13, 20, 0.6);
}
.mobile-clock--active strong {
  color: #0b0d14;
}
.mobile-drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer-layer--open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 180ms ease;
}
.mobile-drawer-layer--open .mobile-drawer-backdrop {
  background: rgba(0, 0, 0, 0.62);
}
.mobile-drawer {
  position: absolute;
  left: 0;
  top: 0;
  width: min(320px, calc(100vw - 40px));
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  border-right: 1px solid #1b1e28;
  background:
    url("/static/frontend/assets/TILE_SIDEBAR.png") left top / cover no-repeat,
    linear-gradient(180deg, rgba(15, 19, 29, 0.98), rgba(10, 13, 20, 0.99));
  padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}
.mobile-drawer-layer--open .mobile-drawer {
  transform: translateX(0);
}
.mobile-drawer-head,
.mobile-drawer-profile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.mobile-drawer-head img {
  width: 42px;
  height: 42px;
  -o-object-fit: contain;
     object-fit: contain;
}
.mobile-drawer-head strong,
.mobile-drawer-profile strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-drawer-head span,
.mobile-drawer-profile span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
}
.mobile-drawer-head button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #1b1e28;
  border-radius: 14px;
  background: #11141d;
  color: #fff;
}
.mobile-drawer-nav {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 12px;
}
.mobile-drawer-nav-item {
  display: grid;
  min-height: 48px;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  padding: 0 12px;
  font-size: 15px;
  text-align: left;
  text-decoration: none;
}
.mobile-drawer-nav-item svg {
  width: 22px;
  height: 22px;
  opacity: 0.58;
}
.mobile-drawer-nav-item--active {
  border: 1px solid #1b1e28;
  background: rgba(17, 20, 29, 0.96);
  color: #fff;
  box-shadow: 0 0 18px #0df29e;
}
.mobile-drawer-nav-item--active svg {
  opacity: 1;
}
.mobile-drawer-profile {
  border: 1px solid #1b1e28;
  border-radius: 16px;
  background: #11141d;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}
.mobile-drawer-avatar {
  --avatar-size: 42px;
}
.mobile-hero {
  width: min(100%, 1400px);
  min-height: 128px;
  display: grid;
  place-items: center;
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid #212530;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(13, 242, 158, 0.18), transparent 36%),
    url("/static/frontend/assets/TILE_HERO.png") center / cover no-repeat,
    #11141d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.mobile-hero span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.mobile-hero h1 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 500;
  line-height: 1;
}
.mobile-controls {
  width: min(100%, 1400px);
  display: grid;
  gap: 14px;
  margin: 18px auto 0;
}
.mobile-controls {
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: center;
}
.mobile-week-switcher {
  min-height: 58px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  overflow: hidden;
  background: #0c0f17;
}
.mobile-week-switcher button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
}
.mobile-week-switcher button:disabled {
  color: rgba(255, 255, 255, 0.24);
}
.mobile-week-switcher span {
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-actions {
  display: flex;
  gap: 10px;
}
.mobile-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.mobile-action--primary {
  background: #0df29e;
  color: #0b0d14;
}
.mobile-action:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
.mobile-day-tabs {
  display: flex;
  width: min(100%, 620px);
  gap: 10px;
  margin: 14px auto 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}
.mobile-day-tabs::-webkit-scrollbar {
  display: none;
}
.mobile-day-tab {
  position: relative;
  min-width: 116px;
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 4px;
  padding: 12px 10px;
  color: rgba(255, 255, 255, 0.62);
  scroll-snap-align: start;
}
.mobile-day-tab strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.mobile-day-tab > span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.mobile-day-tab--active {
  border-color: rgba(13, 242, 158, 0.58);
  background: rgba(13, 242, 158, 0.12);
  box-shadow: 0 0 20px #0df29e;
}
.mobile-day-tab--today:not(.mobile-day-tab--active) {
  border-color: rgba(13, 242, 158, 0.32);
}
.mobile-day-tab--today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 28px;
  height: 3px;
  border-radius: 20px;
  background: #0df29e;
  transform: translateX(-50%);
}
.mobile-list {
  width: min(100%, 620px);
  display: grid;
  gap: 12px;
  margin: 14px auto 0;
}
.mobile-player-card {
  overflow: hidden;
  padding: 13px;
}
.mobile-player-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-player-card-add {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(13, 242, 158, 0.35);
  border-radius: 16px;
  background: rgba(13, 242, 158, 0.12);
  color: #0df29e;
}
.mobile-player-card-events {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.mobile-event {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  gap: 4px;
  border: 1px solid;
  border-radius: 18px;
  padding: 10px 12px;
  color: #fff;
  text-align: center;
}
.mobile-event-main {
  width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.mobile-event-note {
  width: 100%;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.mobile-player-card-empty {
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .mobile-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .mobile-brand {
    min-height: 50px;
    padding-inline: 12px;
  }

  .mobile-brand span {
    font-size: 12px;
  }

  .mobile-menu-button {
    width: 50px;
    height: 50px;
  }

  .mobile-user {
    width: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
  }

  .mobile-user span {
    display: none;
  }

  .mobile-user-avatar {
    --avatar-size: 32px;
  }

  .mobile-clocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-clock {
    min-height: 50px;
    padding-inline: 10px;
  }

  .mobile-clock strong {
    font-size: 16px;
  }

  .mobile-hero {
    min-height: 106px;
    margin-top: 12px;
    padding: 18px;
  }

  .mobile-hero span {
    font-size: 12px;
  }

  .mobile-hero h1 {
    font-size: clamp(29px, 10vw, 42px);
  }

  .mobile-controls {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .mobile-week-switcher {
    min-height: 54px;
    grid-template-columns: 50px minmax(0, 1fr) 50px;
  }

  .mobile-week-switcher span {
    font-size: 15px;
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-action {
    min-height: 52px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .mobile-action span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

}
.hub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border-color: rgba(216, 109, 56, 0.35);
  margin-top: 16px;
  padding: 28px 32px;
}
.hub-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 24px;
}
.hub-hero-main,
.hub-summary-grid,
.hub-roadmap {
  display: grid;
  gap: 20px;
}
.hub-eyebrow {
  color: #d86d38;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.hub-title {
  margin: 8px 0 0;
  color: #f1f5f9;
  font-size: 48px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.hub-copy {
  max-width: 672px;
  margin: 16px 0 0;
  color: rgba(232, 237, 245, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.hub-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}
.hub-button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  border: 1px solid;
  border-radius: 12px;
  padding: 0 16px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
  cursor: pointer;
}
.hub-button--primary {
  border-color: rgba(216, 109, 56, 0.55);
  background: #d86d38;
  color: #fff;
  box-shadow: 0 14px 30px rgba(243, 112, 30, 0.18);
}
.hub-button--primary:hover {
  background: #ff812e;
}
.hub-button--secondary {
  border-color: rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.24);
  color: #f1f5f9;
}
.hub-button--secondary:hover {
  border-color: rgba(216, 109, 56, 0.35);
  background: rgba(216, 109, 56, 0.1);
}
.hub-button-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0.82;
}
.hub-button-copy,
.hub-quick-copy,
.hub-summary-copy {
  min-width: 0;
}
.hub-button-label {
  display: block;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}
.hub-button-caption {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.58;
  text-align: left;
}
.hub-notice {
  border: 1px solid rgba(216, 109, 56, 0.18);
  border-radius: 12px;
  background: rgba(216, 109, 56, 0.1);
  padding: 12px 16px;
  color: rgba(232, 237, 245, 0.72);
  font-size: 14px;
  font-weight: 600;
}
.hub-team-card,
.hub-summary-tile,
.hub-quick-card,
.hub-roadmap-item {
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
}
.hub-team-card,
.hub-summary-tile,
.hub-quick-card,
.hub-panel,
.hub-roadmap-item {
  padding: 16px;
}
.hub-team-head,
.hub-summary-head,
.hub-quick-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hub-team-head {
  margin-bottom: 16px;
}
.hub-team-logo {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 999px;
  -o-object-fit: contain;
     object-fit: contain;
}
.hub-team-name {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.hub-team-account,
.hub-quick-caption,
.hub-summary-caption,
.hub-roadmap {
  color: rgba(232, 237, 245, 0.48);
}
.hub-team-account,
.hub-summary-caption,
.hub-quick-caption {
  font-size: 12px;
  font-weight: 600;
}
.hub-summary-icon,
.hub-quick-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
}
.hub-summary-icon {
  border: 1px solid rgba(216, 109, 56, 0.2);
  background: rgba(216, 109, 56, 0.1);
  color: #d86d38;
}
.hub-quick-icon {
  border: 1px solid rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.24);
  color: #d86d38;
  transition: border-color 160ms ease;
}
.hub-summary-label {
  color: rgba(232, 237, 245, 0.42);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hub-summary-value {
  overflow: hidden;
  margin-top: 4px;
  color: #f1f5f9;
  font-size: 24px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-summary-caption {
  margin-top: 8px;
  overflow-wrap: break-word;
}
.hub-bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
}
.hub-panel {
  border-radius: 12px;
}
.hub-panel-title {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.hub-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hub-quick-card {
  display: block;
  background: rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}
.hub-quick-card:hover {
  border-color: rgba(216, 109, 56, 0.35);
  background: rgba(216, 109, 56, 0.1);
  transform: translateY(-2px);
}
.hub-quick-card:hover .hub-quick-icon {
  border-color: rgba(216, 109, 56, 0.35);
}
.hub-quick-inner {
  align-items: flex-start;
}
.hub-quick-label {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.hub-quick-caption {
  margin-top: 4px;
  line-height: 1.6;
}
.hub-roadmap {
  font-size: 14px;
  font-weight: 600;
}
.hub-roadmap-item {
  background: rgba(0, 0, 0, 0.18);
}
@media (max-width: 1024px) {
  .hub-hero-grid,
  .hub-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hub-hero {
    padding: 24px;
  }

  .hub-title {
    font-size: 40px;
  }

  .hub-cta-grid,
  .hub-quick-grid {
    grid-template-columns: 1fr;
  }
}
.team-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border-color: rgba(216, 109, 56, 0.45);
  margin-top: 16px;
  padding: 24px 32px;
}
.team-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 520px;
  gap: 8px;
}
.team-eyebrow {
  color: #d86d38;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.team-title,
.team-section-title {
  margin: 0;
  color: #f1f5f9;
  font-weight: 950;
  text-transform: uppercase;
}
.team-title {
  overflow-wrap: break-word;
  font-size: 40px;
  line-height: 1;
}
.team-section {
  margin-top: 16px;
  border-radius: 12px;
  padding: 16px;
}
.team-section-head {
  margin-bottom: 16px;
}
.team-section-title {
  margin-top: 4px;
  font-size: 20px;
}
.team-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.team-card {
  min-width: 0;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.team-card-row,
.team-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.team-card-head {
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}
.team-card-avatar {
  --avatar-size: 48px;
}
.team-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}
.team-card-name {
  overflow: hidden;
  color: #f1f5f9;
  font-size: 16px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-badge-row,
.team-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.team-tag-list {
  gap: 8px;
  margin-top: 8px;
}
.team-self-badge {
  border: 1px solid rgba(216, 109, 56, 0.3);
  border-radius: 999px;
  background: rgba(216, 109, 56, 0.1);
  padding: 2px 8px;
  color: #d86d38;
  font-size: 11px;
  font-weight: 700;
}
.team-info-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.team-info-box {
  margin-top: 16px;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 12px 16px;
}
.team-info-grid .team-info-box {
  margin-top: 0;
}
.team-info-label {
  color: rgba(232, 237, 245, 0.44);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.team-empty {
  border: 1px dashed rgba(232, 237, 245, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 24px 16px;
  color: rgba(232, 237, 245, 0.46);
  font-size: 14px;
}
.team-muted {
  margin-top: 8px;
  color: rgba(232, 237, 245, 0.42);
}
@media (max-width: 1280px) {
  .team-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .team-card-grid {
    grid-template-columns: 1fr;
  }

  .team-title {
    font-size: 32px;
  }
}
.profile-page {
  margin-top: 16px;
  border-radius: 12px;
  padding: 20px;
}
.profile-page--empty {
  padding: 24px;
}
.profile-head {
  margin-bottom: 20px;
}
.profile-eyebrow,
.profile-card-title {
  color: #d86d38;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.profile-title {
  margin: 4px 0 0;
  color: #f1f5f9;
  font-size: 30px;
  font-weight: 950;
  text-transform: uppercase;
}
.profile-empty-text {
  margin: 16px 0 0;
  color: rgba(232, 237, 245, 0.62);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}
.profile-card,
.profile-discord-box {
  min-width: 0;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  padding: 20px;
}
.profile-discord-box {
  background: rgba(0, 0, 0, 0.28);
  padding: 16px;
}
.profile-alert {
  margin-top: 16px;
  border: 1px solid;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}
.profile-alert--error {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.profile-alert--success {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(16, 185, 129, 0.1);
  color: #d1fae5;
}
.profile-form-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.profile-field {
  display: grid;
  gap: 8px;
  color: rgba(232, 237, 245, 0.7);
  font-size: 14px;
  font-weight: 950;
}
.profile-input,
.profile-textarea {
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: #f1f5f9;
  outline: 0;
  transition: border-color 160ms ease;
}
.profile-input {
  height: 48px;
  padding: 0 16px;
}
.profile-input--readonly {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(232, 237, 245, 0.52);
}
.profile-textarea {
  min-height: 144px;
  padding: 12px 16px;
  resize: vertical;
}
.profile-textarea::-moz-placeholder {
  color: rgba(232, 237, 245, 0.35);
}
.profile-textarea::placeholder {
  color: rgba(232, 237, 245, 0.35);
}
.profile-input:focus,
.profile-textarea:focus {
  border-color: rgba(216, 109, 56, 0.45);
}
.profile-field-error {
  color: #fecaca;
}
.profile-discord-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.profile-discord-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}
.profile-discord-avatar {
  --avatar-size: 48px;
}
.profile-discord-copy {
  min-width: 0;
}
.profile-discord-handle {
  overflow: hidden;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-discord-subtitle {
  margin-top: 4px;
  color: rgba(232, 237, 245, 0.5);
  font-size: 12px;
}
.profile-discord-empty-title {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
}
.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.profile-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}
.profile-button:hover {
  transform: translateY(-2px);
}
.profile-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.profile-button--primary {
  background: #d86d38;
  color: #000;
}
.profile-button--primary:hover {
  box-shadow: 0 10px 22px rgba(216, 109, 56, 0.18);
}
.profile-button--danger {
  border-color: rgba(252, 165, 165, 0.3);
  background: transparent;
  color: #fee2e2;
}
.profile-button--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
.profile-button--save {
  min-height: 44px;
  background: linear-gradient(180deg, #fb923c, #d86d38);
  color: #000;
}
.profile-button--outline {
  min-height: 44px;
  border-color: rgba(216, 109, 56, 0.45);
  background: transparent;
  color: #d86d38;
}
.profile-button--outline:hover {
  background: rgba(216, 109, 56, 0.1);
}
@media (max-width: 1100px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
.stats-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border-color: rgba(216, 109, 56, 0.25);
  margin-top: 16px;
  padding: 24px 32px;
}
.stats-banner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.stats-banner-copy {
  display: grid;
  max-width: 620px;
  gap: 12px;
}
.stats-eyebrow {
  color: #d86d38;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.stats-title {
  margin: 0;
  color: #f1f5f9;
  font-size: 40px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}
.stats-banner-text {
  margin: 0;
  color: rgba(232, 237, 245, 0.58);
  font-size: 14px;
  font-weight: 600;
}
.stats-banner-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}
.stats-updated-at {
  color: rgba(232, 237, 245, 0.35);
  font-size: 14px;
  font-weight: 600;
}
.stats-dashboard,
.stats-chart-panel {
  border-radius: 12px;
  padding: 16px;
}
.stats-dashboard {
  margin-top: 16px;
}
.stats-summary-grid,
.stats-chart-grid {
  display: grid;
  gap: 16px;
}
.stats-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stats-summary-card {
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 16px;
}
.stats-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats-summary-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid;
  border-radius: 12px;
}
.stats-summary-icon--orange {
  border-color: rgba(216, 109, 56, 0.2);
  background: rgba(216, 109, 56, 0.1);
  color: #d86d38;
}
.stats-summary-icon--green {
  border-color: rgba(110, 231, 183, 0.2);
  background: rgba(16, 185, 129, 0.1);
  color: #a7f3d0;
}
.stats-summary-icon--blue {
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
}
.stats-summary-icon--purple {
  border-color: rgba(196, 181, 253, 0.2);
  background: rgba(139, 92, 246, 0.1);
  color: #ddd6fe;
}
.stats-summary-icon--red {
  border-color: rgba(252, 165, 165, 0.2);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}
.stats-summary-icon--muted {
  border-color: rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(232, 237, 245, 0.72);
}
.stats-summary-copy {
  min-width: 0;
}
.stats-summary-label {
  color: rgba(232, 237, 245, 0.44);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stats-summary-sub {
  margin-top: 2px;
  color: rgba(232, 237, 245, 0.42);
  font-size: 11px;
  font-weight: 600;
}
.stats-summary-value {
  overflow: hidden;
  margin-top: 4px;
  color: #f1f5f9;
  font-size: 24px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-summary-caption {
  margin-top: 8px;
  color: rgba(232, 237, 245, 0.46);
  font-size: 12px;
  font-weight: 600;
}
.stats-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px;
}
.stats-mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stats-mode-chip,
.stats-period-chip {
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.stats-mode-chip {
  background: rgba(216, 109, 56, 0.18);
  color: #d86d38;
  box-shadow: 0 0 14px rgba(243, 112, 30, 0.1);
}
.stats-period-chip {
  border: 1px solid rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(232, 237, 245, 0.35);
}
.stats-error-state,
.stats-warning-state,
.stats-empty-state {
  margin-top: 16px;
  border: 1px solid;
  border-radius: 12px;
  padding: 24px 16px;
  font-size: 14px;
}
.stats-error-state {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: #fee2e2;
  font-weight: 600;
}
.stats-warning-state {
  border-color: rgba(216, 109, 56, 0.25);
  background: rgba(216, 109, 56, 0.1);
  color: rgba(232, 237, 245, 0.74);
}
.stats-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
}
.stats-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  background: rgba(17, 25, 37, 0.86);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.stats-table th {
  border-bottom: 1px solid rgba(232, 237, 245, 0.1);
  background: #121d2b;
  padding: 12px;
  color: rgba(232, 237, 245, 0.42);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stats-table td {
  border-bottom: 1px solid rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.1);
  padding: 12px;
  transition: background 160ms ease;
}
.stats-table tr:last-child td {
  border-bottom: 0;
}
.stats-table tbody tr:hover td {
  background: rgba(74, 87, 112, 0.1);
}
.stats-col-player { width: 22%; }
.stats-col-rank { width: 11%; }
.stats-col-hero { width: 16%; }
.stats-col-winrate { width: 11%; }
.stats-col-matches { width: 7%; }
.stats-col-winloss { width: 9%; }
.stats-col-kd { width: 6%; }
.stats-col-kills { width: 9%; }
.stats-col-deaths { width: 9%; }
.stats-player-cell,
.stats-player-meta,
.stats-rank-cell,
.stats-main-hero,
.stats-loading-inline,
.stats-loading-hero,
.stats-hero-name-cell,
.stats-winloss {
  display: flex;
  align-items: center;
}
.stats-player-cell,
.stats-main-hero,
.stats-loading-hero,
.stats-hero-name-cell {
  gap: 12px;
}
.stats-player-avatar {
  --avatar-size: 40px;
}
.stats-player-copy,
.stats-main-hero-copy {
  min-width: 0;
}
.stats-player-name,
.stats-main-hero-name,
.stats-hero-name {
  overflow: hidden;
  color: #f1f5f9;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-player-name,
.stats-main-hero-name,
.stats-text-cell,
.stats-strong-cell {
  font-size: 14px;
}
.stats-player-meta {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.stats-player-battletag {
  color: rgba(232, 237, 245, 0.42);
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stats-player-error {
  margin-top: 4px;
  color: rgba(254, 243, 199, 0.75);
  font-size: 12px;
  font-weight: 600;
}
.stats-text-cell {
  color: #f1f5f9;
  font-weight: 600;
}
.stats-strong-cell {
  font-weight: 950;
}
.stats-positive-cell {
  color: #6ee7b7;
}
.stats-rank-cell {
  min-width: 0;
  gap: 8px;
}
.stats-rank-cell span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-rank-icon {
  width: 20px;
  height: 20px;
}
.stats-hero-icon,
.stats-loading-hero-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}
.stats-hero-icon--small,
.stats-loading-hero-icon--small {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.stats-hero-icon-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.stats-hero-icon-fallback {
  color: rgba(232, 237, 245, 0.58);
  font-size: 12px;
  font-weight: 950;
}
.stats-main-hero-time {
  margin-top: 2px;
  color: rgba(232, 237, 245, 0.42);
  font-size: 12px;
}
.stats-percent {
  width: 100%;
  max-width: 110px;
  min-width: 0;
}
.stats-percent--animated {
  max-width: 118px;
}
.stats-percent-value {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  transition: color 300ms ease;
}
.stats-percent-track {
  overflow: hidden;
  height: 6px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(232, 237, 245, 0.1);
}
.stats-percent-fill {
  height: 100%;
  border-radius: inherit;
  background: #34d399;
}
.stats-loading-metric,
.stats-animated-metric {
  display: inline-flex;
  min-width: 5ch;
  align-items: center;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 300ms ease;
}
.stats-loading-metric {
  min-width: 42px;
}
.stats-loading-metric--large {
  color: #f1f5f9;
  font-size: 24px;
  font-weight: 950;
}
.stats-loading-metric--winrate,
.stats-animated-metric--win,
.stats-hero-winrate,
.stats-winloss-win {
  color: #6ee7b7;
  font-weight: 950;
}
.stats-animated-metric--loss,
.stats-winloss-loss {
  color: #fca5a5;
  font-weight: 950;
}
.stats-loading-metric--muted,
.stats-hero-muted {
  color: rgba(232, 237, 245, 0.72);
  font-weight: 600;
}
.stats-winloss {
  min-width: 9ch;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color 300ms ease;
}
.stats-winloss-separator {
  margin: 0 4px;
  color: rgba(232, 237, 245, 0.28);
}
.stats-loading-spinner {
  color: #d86d38;
  animation: stats-spin 900ms linear infinite;
}
.stats-loading-spinner--rank {
  width: 20px;
  height: 20px;
}
.stats-loading-spinner--hero {
  width: 16px;
  height: 16px;
}
.stats-loading-spinner--small {
  width: 14px;
  height: 14px;
}
@keyframes stats-spin {
  to {
    transform: rotate(360deg);
  }
}
.stats-loading-inline {
  gap: 8px;
  color: rgba(232, 237, 245, 0.58);
  font-size: 14px;
  font-weight: 600;
}
.stats-loading-hero-copy {
  display: grid;
  gap: 4px;
}
.stats-skeleton {
  display: inline-block;
  border-radius: 999px;
  background: rgba(232, 237, 245, 0.1);
}
.stats-skeleton--rank {
  width: 80px;
  height: 16px;
}
.stats-skeleton--hero-name {
  width: 96px;
  height: 16px;
}
.stats-skeleton--hero-sub {
  width: 48px;
  height: 12px;
  background: rgba(232, 237, 245, 0.08);
}
.stats-skeleton--summary-rank {
  width: 112px;
  height: 28px;
  vertical-align: middle;
}
.stats-skeleton--chart-label {
  width: 96px;
  height: 12px;
  background: rgba(232, 237, 245, 0.08);
}
.stats-chart-grid {
  grid-template-columns: 1fr 1.15fr;
  margin-top: 16px;
}
.stats-section-title {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.stats-rank-chart,
.stats-loading-chart {
  height: 256px;
}
.stats-loading-chart {
  display: grid;
  align-content: center;
  gap: 12px;
}
.stats-loading-chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats-loading-chart-bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(216, 109, 56, 0.3);
  transition: width 500ms ease;
}
.stats-loading-heroes,
.stats-heroes-list {
  display: grid;
  gap: 8px;
}
.stats-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 80px 90px;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 12px;
  font-size: 14px;
}
.stats-hero-row--head {
  border-bottom: 1px solid rgba(232, 237, 245, 0.1);
  border-radius: 0;
  background: transparent;
  padding-top: 0;
  color: rgba(232, 237, 245, 0.38);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stats-hero-row--loading {
  color: rgba(232, 237, 245, 0.72);
}
.stats-hero-name-cell {
  min-width: 0;
  gap: 8px;
}
.stats-empty-state {
  border-color: rgba(232, 237, 245, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(232, 237, 245, 0.52);
}
@media (max-width: 1280px) {
  .stats-summary-grid,
  .stats-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .stats-banner-grid,
  .stats-summary-grid,
  .stats-chart-grid {
    grid-template-columns: 1fr;
  }

  .stats-banner-meta {
    justify-items: start;
  }
}
/* Reserved for hidden scout page styles. */
.dev-page {
  min-height: 100vh;
  background: #0b0d12;
  color: #e8edf4;
  font-family: Inter, Rubik, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.dev-page *,
.dev-page *::before,
.dev-page *::after {
  box-sizing: border-box;
}
.dev-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 56px;
}
.dev-topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dev-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dev-kicker {
  display: block;
  color: #7aa2f7;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}
.dev-topbar h1 {
  margin: 4px 0 0;
  color: #f8fafc;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
}
.dev-topbar p {
  margin: 7px 0 0;
  max-width: 680px;
  color: #8f9baa;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}
.dev-back {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #252b36;
  border-radius: 8px;
  background: #11151d;
  color: #d8dee8;
  cursor: pointer;
}
.dev-back:hover {
  border-color: #354052;
  background: #151a24;
}
.dev-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dev-search {
  height: 42px;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #252b36;
  border-radius: 8px;
  background: #11151d;
  color: #8793a3;
  padding: 0 12px;
}
.dev-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #eef2f7;
  font: inherit;
  outline: 0;
}
.dev-search input::-moz-placeholder {
  color: #697484;
}
.dev-search input::placeholder {
  color: #697484;
}
.dev-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #252b36;
  border-radius: 8px;
  background: #11151d;
  color: #e8edf4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 14px;
  text-decoration: none;
  cursor: pointer;
}
.dev-button:hover:not(:disabled) {
  border-color: #3a4658;
  background: #151a24;
}
.dev-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.dev-button--primary {
  border-color: #3b82f6;
  background: #2563eb;
  color: #ffffff;
}
.dev-button--primary:hover:not(:disabled) {
  border-color: #60a5fa;
  background: #1d4ed8;
}
.dev-button--danger {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(127, 29, 29, 0.22);
  color: #fecaca;
}
.dev-button--danger:hover:not(:disabled) {
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(153, 27, 27, 0.34);
}
.dev-status-strip {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #232a35;
  border-radius: 8px;
  background: #10141b;
  padding: 0 14px;
  color: #8f9baa;
  font-size: 14px;
  font-weight: 700;
}
.dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 850;
}
.dev-pill--ok {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}
.dev-pill--warn {
  background: rgba(245, 158, 11, 0.13);
  color: #fbbf24;
}
.dev-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  margin-top: 24px;
}
.dev-category-list {
  display: grid;
  gap: 24px;
}
.dev-category {
  overflow: hidden;
  border: 1px solid #232a35;
  border-radius: 8px;
  background: #10141b;
}
.dev-category header {
  min-height: 36px;
  display: flex;
  align-items: center;
  background: #182131;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0 12px;
  border-bottom: 1px solid #263247;
}
.dev-model-row {
  min-height: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #1d2531;
  padding: 0 12px;
}
.dev-model-row:nth-child(odd) {
  background: #121821;
}
.dev-model-row > button {
  border: 0;
  background: transparent;
  color: #8bb9ff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.dev-model-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dev-model-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #8bb9ff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.dev-model-actions button:first-child {
  color: #7dd3a8;
}
.dev-list-panel,
.dev-record-form {
  border: 1px solid #232a35;
  border-radius: 8px;
  background: #10141b;
}
.dev-list-panel {
  margin-top: 24px;
  padding: 14px;
}
.dev-list-head,
.dev-form-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1d2531;
  margin-bottom: 14px;
  padding-bottom: 14px;
}
.dev-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.dev-list-head strong,
.dev-form-head strong {
  color: #f8fafc;
  font-size: 16px;
}
.dev-table {
  overflow-x: auto;
  display: grid;
  gap: 2px;
}
.dev-table-row {
  min-width: 760px;
  min-height: 42px;
  display: grid;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  background: #0c1118;
  color: #d8dee8;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
  text-align: left;
}
.dev-table-row:not(.dev-table-row--head) {
  cursor: pointer;
}
.dev-table-row:not(.dev-table-row--head):hover {
  background: #151c26;
}
.dev-table-row--head {
  min-height: 34px;
  background: transparent;
  color: #8793a3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: default;
}
.dev-table-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dev-record-form {
  margin-top: 24px;
  padding: 16px;
}
.dev-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dev-form-field {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #aab4c2;
  font-size: 12px;
  font-weight: 850;
  box-sizing: border-box;
}
.dev-form-field.is-wide {
  grid-column: 1 / -1;
}
.dev-form-field > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dev-form-field em {
  color: #7aa2f7;
  font-style: normal;
}
.dev-form-field input,
.dev-form-field select,
.dev-form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #0b0f15;
  color: #eef2f7;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: 0;
}
.dev-form-field input,
.dev-form-field select {
  height: 40px;
  padding: 0 10px;
}
.dev-form-field textarea {
  min-height: 128px;
  resize: vertical;
  padding: 10px;
}
.dev-form-field input:disabled,
.dev-form-field select:disabled,
.dev-form-field textarea:disabled {
  background: #151a23;
  color: #6b7280;
}
.dev-form-field input:focus,
.dev-form-field select:focus,
.dev-form-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}
.dev-form-switch {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #0b0f15;
  padding: 0 10px;
}
.dev-form-switch input {
  width: 18px;
  height: 18px;
}
.dev-color-control {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}
.dev-color-control input[type="color"] {
  padding: 4px;
}
.dev-inline-error,
.dev-save-message {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 14px;
  padding: 10px 12px;
}
.dev-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  padding: 20px;
}
.dev-modal {
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #10141b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  padding: 16px;
}
.dev-modal-head,
.dev-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dev-modal-head strong {
  color: #f8fafc;
  font-size: 18px;
}
.dev-modal-head button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #11151d;
  color: #d8dee8;
  cursor: pointer;
}
.dev-modal-copy {
  margin: 0;
  color: #aab4c2;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
.dev-modal-actions {
  justify-content: flex-end;
}
.dev-inline-error {
  background: rgba(127, 29, 29, 0.22);
  color: #fca5a5;
}
.dev-save-message.is-success {
  background: rgba(22, 101, 52, 0.22);
  color: #86efac;
}
.dev-loading,
.dev-error {
  color: #8f9baa;
  font-size: 14px;
  font-weight: 750;
}
.dev-loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  gap: 10px;
}
.dev-loading svg {
  animation: dev-spin 900ms linear infinite;
}
.dev-error {
  min-height: 240px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.16);
  padding: 24px;
}
.dev-error h1 {
  margin: 0 0 4px;
  color: #fecaca;
  font-size: 22px;
}
.dev-error p {
  margin: 0;
}
@keyframes dev-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 980px) {
  .dev-shell {
    width: min(100% - 28px, 980px);
  }

  .dev-topbar,
  .dev-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-search {
    min-width: 0;
  }

  .dev-form-grid {
    grid-template-columns: 1fr;
  }

  .dev-model-row {
    grid-template-columns: 1fr;
    padding: 10px 12px;
  }

  .dev-model-actions {
    justify-content: flex-start;
  }

  .dev-status-strip {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .dev-form-head,
  .dev-form-actions,
  .dev-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dev-error {
    grid-template-columns: 1fr;
  }
}
.dev-home-grid,
.dev-layout {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.dev-home-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.dev-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}
.dev-side-panel,
.dev-filter-panel,
.dev-inline-panel,
.dev-history-panel,
.dev-fieldset {
  border: 1px solid #232a35;
  border-radius: 8px;
  background: #10141b;
}
.dev-side-panel,
.dev-filter-panel,
.dev-inline-panel,
.dev-history-panel {
  padding: 14px;
}
.dev-side-panel h2,
.dev-filter-panel h2,
.dev-inline-panel h2,
.dev-history-panel h2 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
  font-size: 15px;
}
.dev-side-panel p,
.dev-history-panel p {
  margin: 0;
  color: #8f9baa;
  font-size: 13px;
  font-weight: 700;
}
.dev-action-item,
.dev-history-row {
  display: grid;
  gap: 4px;
  border-top: 1px solid #1d2531;
  color: #d8dee8;
  font-size: 13px;
  font-weight: 750;
  padding: 10px 0;
}
.dev-action-item:first-of-type,
.dev-history-row:first-of-type {
  border-top: 0;
}
.dev-action-item small,
.dev-history-row span {
  color: #8793a3;
  font-size: 12px;
}
.dev-history-row code {
  overflow: auto;
  border-radius: 6px;
  background: #0b0f15;
  color: #bfdbfe;
  font-size: 12px;
  padding: 8px;
}
.dev-filter-panel {
  align-self: start;
  display: grid;
  gap: 12px;
}
.dev-filter-field {
  display: grid;
  gap: 6px;
  color: #aab4c2;
  font-size: 12px;
  font-weight: 850;
}
.dev-filter-field input,
.dev-filter-field select {
  width: 100%;
  height: 38px;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #0b0f15;
  color: #eef2f7;
  font: inherit;
  padding: 0 10px;
}
.dev-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dev-table-row--head button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}
.dev-table-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
}
.dev-table-row .is-link {
  color: #8bb9ff;
  cursor: pointer;
}
.dev-table-row .dev-form-switch {
  min-height: 32px;
}
.dev-table-row .dev-form-field input,
.dev-table-row .dev-form-field select,
.dev-table-row .dev-form-field textarea,
.dev-table-row input,
.dev-table-row select {
  height: 34px;
  font-size: 12px;
}
.dev-thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  -o-object-fit: cover;
     object-fit: cover;
  background: #0b0f15;
}
.dev-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  color: #aab4c2;
  font-size: 13px;
  font-weight: 800;
}
.dev-fieldset {
  margin: 16px 0 0;
  padding: 16px;
}
.dev-fieldset legend {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 900;
  padding: 0 8px;
}
.dev-form-field small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 650;
}
.dev-file-control {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #3a4658;
  border-radius: 8px;
  background: #0b0f15;
  color: #d8dee8;
  padding: 0 12px;
  cursor: pointer;
}
.dev-file-control input {
  display: none;
}
.dev-preview-image {
  width: 112px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #0b0f15;
  -o-object-fit: contain;
     object-fit: contain;
}
.dev-readonly {
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #283241;
  border-radius: 8px;
  background: #151a23;
  color: #6b7280;
  padding: 0 10px;
}
.dev-inline-panel,
.dev-history-panel {
  margin-top: 16px;
}
.dev-inline-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #1d2531;
  margin-bottom: 12px;
  padding-bottom: 12px;
}
.dev-inline-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  border-top: 1px solid #1d2531;
  padding: 12px 0;
}
@media (max-width: 1100px) {
  .dev-home-grid,
  .dev-layout {
    grid-template-columns: 1fr;
  }

  .dev-inline-row {
    grid-template-columns: 1fr;
  }

  .dev-pagination {
    align-items: stretch;
    flex-direction: column;
  }
}
