:root {
  color-scheme: only light;
  --bg: #060606;
  --surface: #0d0d0d;
  --surface-2: #121212;
  --panel: rgba(18, 18, 18, 0.72);
  --panel-strong: rgba(20, 20, 20, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f4f1ec;
  --muted: #a9a49c;
  --dim: #767069;
  --orange: #ff7a1a;
  --orange-2: #ec5324;
  --blue: #9dc7c8;
  --green: #40d66e;
  --red: #ff5b55;
  --amber: #ffb84d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --nav-h: 118px;
  --footer-h: 22px;
  --page-title-size: clamp(30px, 5.8vw, 40px);
  --page-copy-size: 15.25px;
  --page-small-size: 13px;
  --page-card-title-size: 15.25px;
  --page-card-copy-size: 14.25px;
  --accent-meta-size: 12.5px;
  --accent-meta-weight: 720;
  --pe-phone-shell-width: 390px;
  --pe-phone-shell-current-width: min(100vw, var(--pe-phone-shell-width));
  --pe-phone-shell-left: calc((100vw - var(--pe-phone-shell-current-width)) / 2);
}

.writer-access-card {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.writer-page {
  padding-bottom: 96px;
}

.writer-intro {
  position: relative;
}

.writer-logout-button {
  margin-top: 16px;
}

.writer-article-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.writer-article-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.writer-article-form-fields {
  display: grid;
  gap: 14px;
}

.writer-article-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.writer-article-form input,
.writer-article-form select,
.writer-article-form textarea,
.writer-invite-form input {
  width: 100%;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #15110d;
  font: inherit;
  padding: 12px 13px;
}

.writer-article-form textarea {
  min-height: 110px;
  resize: vertical;
}

.writer-article-card {
  padding: 20px;
}

.writer-article-card-heading,
.writer-recordings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.writer-article-card-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 4vw, 34px);
}

.writer-recordings-heading {
  margin-top: 20px;
  color: var(--muted);
}

.writer-media-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.writer-media-panel .writer-recordings-heading {
  margin-top: 0;
}

.writer-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.writer-media-note {
  margin: 0;
}

.writer-recording-upload-form {
  margin-top: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.writer-recordings-heading span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.14);
  color: var(--orange);
  font-weight: 900;
}

.writer-recording-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.writer-recording-card .draft-thumb {
  aspect-ratio: 9 / 16;
}

.writer-recording-card .draft-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.writer-collection-list {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.writer-collection-articles {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.writer-collection-articles.writer-admin-article-list {
  gap: 0;
  margin-top: 8px;
}

.writer-collection-videos {
  padding: 20px;
}

.writer-collection-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.writer-video-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.writer-video-slot {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.writer-video-picker-option {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.writer-video-slot .draft-thumb {
  position: relative;
  width: 100%;
  height: 100%;
}

.writer-video-slot .draft-thumb video,
.writer-video-picker-option video,
.writer-article-video-pick video {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  background: #050505;
}

.writer-video-slot-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 36px 12px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.84));
}

.writer-video-slot-caption strong,
.writer-video-slot-caption span,
.writer-video-picker-option span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.writer-video-slot-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.writer-video-slot.is-empty {
  align-content: center;
  justify-items: center;
  border-style: dashed;
  text-align: center;
}

.writer-image-placeholder {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.025);
}

.writer-image-placeholder svg {
  width: 27px;
  height: 27px;
}

.writer-article-video-pick .writer-image-placeholder {
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.42);
  font-size: inherit;
  font-weight: 400;
}

.writer-article-video-pick .writer-image-placeholder svg {
  width: 22px;
  height: 22px;
}

.writer-collection-article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.writer-collection-article.writer-admin-article {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
}

.writer-article-video-pick {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.writer-article-video-pick.is-empty {
  border-style: dashed;
  padding: 8px;
}

.writer-article-video-pick svg {
  width: 24px;
  height: 24px;
}

.writer-article-video-pick strong,
.writer-article-video-pick span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.writer-collection-article-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.writer-collection-article-copy h2 {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.16;
}

.writer-collection-article-copy .muted {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.writer-article-edit-inline {
  display: inline-block;
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--orange);
  background: transparent;
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.writer-video-picker-modal {
  max-width: min(680px, calc(100vw - 32px));
}

.writer-video-picker-option {
  border: 1px solid var(--line-soft);
  font: inherit;
}

.writer-token-box {
  display: grid;
  gap: 5px;
  margin: 12px 0 18px;
  padding: 14px;
  border: 1px solid rgba(255, 106, 26, 0.25);
  border-radius: 8px;
  background: rgba(255, 106, 26, 0.08);
}

.writer-token-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.writer-token-box strong {
  font-size: clamp(22px, 5vw, 34px);
  letter-spacing: 0;
}

.writer-token-box p {
  margin: 0;
  color: var(--muted);
}

.writer-admin-card {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 20px;
}

.writer-admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.writer-admin-card-head h2,
.writer-admin-card h2 {
  margin: 0;
}

.writer-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.writer-admin-list,
.writer-admin-article-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.writer-admin-article {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.writer-admin-token-box {
  align-items: start;
}

.writer-admin-panel {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.writer-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.writer-admin-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 9px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.writer-admin-tabs button.is-active {
  border-color: rgba(255, 122, 10, 0.52);
  color: #fff;
  background: rgba(255, 122, 10, 0.16);
}

.writer-admin-tabs svg {
  width: 18px;
  height: 18px;
}

.writer-admin-panel-body {
  min-width: 0;
}

.writer-admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.writer-admin-stat {
  display: grid;
  gap: 6px;
  min-height: 96px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.writer-admin-stat strong {
  color: #fff;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1;
}

.writer-admin-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.writer-admin-table-wrap {
  margin-top: 0;
}

.writer-admin-author-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.writer-admin-author-toggle {
  width: 100%;
  border: 0;
  padding: 20px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.writer-admin-author-toggle .writer-admin-card-head {
  margin: 0;
}

.writer-admin-author-title {
  display: grid;
  gap: 4px;
}

.writer-admin-author-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.writer-admin-author-meta .pill {
  white-space: normal;
}

.writer-admin-author-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--muted);
}

.writer-admin-author-chevron svg {
  width: 18px;
  height: 18px;
  transition: transform 140ms ease;
}

.writer-admin-author-card.is-expanded .writer-admin-author-chevron svg {
  transform: rotate(180deg);
}

.writer-admin-author-details {
  display: grid;
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding: 18px 20px 20px;
}

.writer-admin-recording-card .draft-card-body {
  gap: 12px;
}

.writer-admin-recording-form {
  display: grid;
  gap: 10px;
}

.writer-admin-recording-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.writer-admin-recording-form input {
  width: 100%;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #15110d;
  font: inherit;
  padding: 10px 11px;
}

@media (max-width: 720px) {
  .writer-article-card {
    padding: 16px;
  }

  .writer-article-card-heading,
  .writer-admin-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .writer-video-picker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .writer-collection-article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 0;
  }

  .writer-collection-article.writer-admin-article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 0;
  }

  .writer-admin-author-meta {
    justify-content: flex-start;
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: default;
  -webkit-user-drag: none;
}

html {
  min-height: 100%;
  background: var(--bg);
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  forced-color-adjust: none;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.055), rgba(157, 199, 200, 0.018) 42%, transparent 72%),
    #060606;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
  forced-color-adjust: none;
}

.page,
.home-hero,
.page h1,
.page h2,
.page h3,
.page p,
.page span,
.page li,
.page strong,
.page summary,
.home-hero h1,
.home-hero p,
.home-hero span,
.home-hero strong {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

svg {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.noscript {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text);
  background: var(--bg);
}

#app {
  position: relative;
  width: var(--pe-phone-shell-current-width);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  color-scheme: only light;
  forced-color-adjust: none;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  overscroll-behavior: none;
}

.footer,
.bottom-nav,
.capture-screen,
.preview-stage,
.pending-recording-stage,
.observer-recording-modal,
.modal-backdrop,
.choice-modal-backdrop {
  right: auto;
  left: var(--pe-phone-shell-left);
  width: var(--pe-phone-shell-current-width);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: only light;
  }

  html,
  body,
  #app {
    background-color: var(--bg);
    color: var(--text);
  }
}

.app-shell {
  height: var(--pe-visual-vh, 100dvh);
  min-height: var(--pe-visual-vh, 100dvh);
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.app-shell.no-nav {
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
}

.home-shell {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
}

.page {
  width: min(100%, 560px);
  min-height: var(--pe-visual-vh, 100dvh);
  margin: 0 auto;
  padding: 24px 20px calc(28px + var(--footer-h) + env(safe-area-inset-bottom));
}

.page.wide {
  width: min(100%, 1180px);
  padding-inline: 18px;
}

.page.flush {
  padding: 0;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  width: max-content;
  min-height: 30px;
  margin: 0 0 13px auto;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px) saturate(1.2);
}

.language-switcher button {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 25px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
}

.language-switcher button.is-active {
  color: #0b0704;
  background: var(--orange);
}

.hero-top .language-switcher {
  margin: 0;
  flex: 0 0 auto;
}

.capture-top .language-switcher,
.admin-tools .language-switcher,
.jury-top-actions .language-switcher {
  margin: 0;
  flex: 0 0 auto;
}

.back-link,
.icon-button,
.circle-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
}

.back-link svg,
.icon-button svg,
.circle-button svg,
.nav-item svg,
.field-icon svg,
.rule-icon svg,
.mini-icon svg,
.profile-line svg,
.status-line svg,
.avatar svg,
.profile-card h3 svg,
.circle-card-icon svg,
.circle-node svg,
.action-row svg,
.pill svg,
.prize-chip svg,
.primary-button svg,
.secondary-button svg,
.ghost-button svg,
.danger-button svg,
.compact-button svg,
.preview-action svg,
.draft-icon-button svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button,
.circle-button {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.circle-button.lg {
  width: 68px;
  height: 68px;
  font-size: 28px;
}

.circle-button.is-active {
  border-color: var(--orange);
  color: var(--orange);
}

.back-link {
  width: 40px;
  height: 40px;
  margin-left: -10px;
  font-size: 25px;
  color: rgba(244, 241, 236, 0.9);
}

.kicker {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 13vw, 76px);
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: 0;
}

.page-title {
  margin: 0;
  color: #fff;
  font-size: var(--page-title-size);
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: 0;
}

.subtitle,
.body-copy,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.subtitle {
  margin: 10px 0 0;
  font-size: var(--page-copy-size);
}

.body-copy {
  margin: 0 0 16px;
  font-size: var(--page-copy-size);
}

.small {
  color: var(--muted);
  font-size: var(--page-small-size);
  line-height: 1.35;
}

.accent {
  color: var(--orange);
}

.danger {
  color: var(--red);
}

.success {
  color: var(--green);
}

.grid {
  display: grid;
  gap: 10px;
}

.grid.two {
  grid-template-columns: 1fr;
}

.glass-card,
.form-card,
.admin-card,
.empty-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px) saturate(1.08);
}

.glass-card {
  padding: 18px;
}

.empty-card {
  padding: 28px 18px;
  text-align: center;
}

.empty-card h2,
.empty-card h3 {
  margin: 0 0 8px;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.compact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  width: 100%;
  border-radius: var(--radius);
  padding: 13px 18px;
  color: #fff;
  font-weight: 720;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-button {
  min-height: 58px;
  background: linear-gradient(135deg, #ff7a1a 0%, #f05f1d 58%, #e24b27 100%);
  box-shadow: 0 18px 36px rgba(236, 83, 36, 0.23);
}

.secondary-button {
  border: 1px solid rgba(255, 122, 26, 0.58);
  color: #ff8a32;
  background: rgba(255, 122, 26, 0.045);
}

.ghost-button {
  color: var(--muted);
  background: transparent;
}

.danger-button {
  border: 1px solid rgba(255, 91, 85, 0.5);
  color: var(--red);
  background: rgba(255, 91, 85, 0.06);
}

.compact-button {
  min-height: 40px;
  width: auto;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.primary-button:hover,
.secondary-button:hover,
.compact-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.primary-button svg,
.secondary-button svg,
.ghost-button svg,
.danger-button svg,
.compact-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.button-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.36);
  font-size: 13px;
  white-space: nowrap;
}

.pill.orange {
  border-color: rgba(255, 122, 10, 0.46);
  color: var(--orange);
}

.pill.green {
  border-color: rgba(64, 214, 110, 0.42);
  color: var(--green);
}

.pill.red {
  border-color: rgba(255, 91, 85, 0.45);
  color: var(--red);
}

.pill svg {
  width: 18px;
  height: 18px;
}

.footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--footer-h) + env(safe-area-inset-bottom));
  margin: 0;
  padding: 0 12px env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(244, 241, 236, 0.42);
  text-align: center;
  font-size: 9px;
  background: rgba(6, 6, 6, 0.9);
  pointer-events: none;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: 0;
  left: var(--pe-phone-shell-left);
  width: var(--pe-phone-shell-current-width);
  z-index: 50;
  display: grid;
  align-content: end;
  gap: 0;
  min-height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 6px max(12px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 8, 10, 0.9);
  backdrop-filter: blur(18px) saturate(1.05);
  transform: none;
  transition: opacity 160ms ease;
}

.keyboard-open .app-shell {
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

.keyboard-open .page {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.keyboard-open .bottom-nav {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.keyboard-open .toast {
  bottom: calc(env(safe-area-inset-bottom) + 16px);
}

.bottom-nav-inner {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
}

.nav-item {
  display: grid;
  grid-template-rows: 70px auto;
  justify-items: center;
  align-content: end;
  min-height: 91px;
  gap: 6px;
  color: rgba(244, 241, 236, 0.78);
  font-size: 13.2px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
}

.nav-item svg {
  align-self: end;
  width: 50px;
  height: 50px;
  stroke-width: 0.78;
}

.nav-key-home svg {
  width: 58px;
  height: 54px;
}

.nav-key-about svg {
  width: 44px;
  height: 44px;
}

.nav-key-rules svg,
.nav-key-faq svg {
  width: 54px;
  height: 54px;
}

.nav-key-profile svg {
  width: 59px;
  height: 55px;
}

.nav-item.is-active {
  color: rgba(244, 241, 236, 0.78);
}

.nav-item.is-active span:last-child {
  font-weight: 850;
}

.nav-item.capture {
  color: var(--orange);
  gap: 4px;
}

.nav-item.capture .capture-ring {
  display: grid;
  position: relative;
  align-self: end;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-origin: 50% 50%;
  animation: joinLogoFocus 2.6s ease-in-out infinite;
}

.nav-item.capture svg {
  width: 62px;
  height: 62px;
  stroke-width: 1.42;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.bottom-nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  margin-top: 6px;
  color: rgba(244, 241, 236, 0.46);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(3px);
}

.home-hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #030303;
}

.home-hero video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: brightness(0.78) contrast(1.08) saturate(1.05);
  transition: opacity 520ms ease;
}

.home-hero video.is-active {
  opacity: 1;
}

.hero-europe-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  --hero-map-sweep-angle: 0deg;
  --hero-map-sweep-x: 54.84%;
  --hero-map-sweep-y: 56.84%;
  pointer-events: none;
}

.hero-europe-map-shape,
.hero-europe-map-sweep,
.hero-europe-map-cities {
  position: absolute;
  left: 50%;
  top: 39%;
  width: min(112.05vw, 753px);
  max-width: none;
  height: auto;
  aspect-ratio: 900 / 760;
  transform: translate(-54.84%, -50%);
}

.hero-europe-map-shape {
  display: block;
  opacity: 0.45;
}

.hero-europe-map-sweep {
  display: block;
  opacity: 0.82;
  -webkit-mask-image: conic-gradient(
    from calc(var(--hero-map-sweep-angle) - 180deg) at var(--hero-map-sweep-x) var(--hero-map-sweep-y),
    rgba(0, 0, 0, 0) 0deg,
    rgba(0, 0, 0, 1) 180deg,
    rgba(0, 0, 0, 0) 180deg,
    rgba(0, 0, 0, 0) 360deg
  );
  mask-image: conic-gradient(
    from calc(var(--hero-map-sweep-angle) - 180deg) at var(--hero-map-sweep-x) var(--hero-map-sweep-y),
    rgba(0, 0, 0, 0) 0deg,
    rgba(0, 0, 0, 1) 180deg,
    rgba(0, 0, 0, 0) 180deg,
    rgba(0, 0, 0, 0) 360deg
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  animation: heroMapSweep 6s linear infinite;
  will-change: opacity;
}

.hero-europe-map-cities {
  overflow: visible;
}

.hero-europe-city {
  fill: rgba(255, 255, 255, 0.98);
  opacity: 0.98;
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.72))
    drop-shadow(0 0 10px rgba(255, 122, 26, 0.34));
}

.hero-europe-label {
  fill: rgba(255, 255, 255, 0.96);
  stroke: none;
  dominant-baseline: central;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.26));
}

.hero-europe-label-pulse {
  opacity: 0;
}

@media (max-width: 680px) {
  .hero-europe-map-shape,
  .hero-europe-map-sweep,
  .hero-europe-map-cities {
    left: 50%;
    top: 31%;
    width: 119.06vw;
  }
}

@media (min-width: 431px) {
  .hero-europe-map-shape,
  .hero-europe-map-sweep,
  .hero-europe-map-cities {
    left: 50%;
    top: 29%;
    width: min(68.29vw, 665px, 64.8vh);
  }
}

@property --hero-map-sweep-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes heroMapSweep {
  to {
    --hero-map-sweep-angle: 360deg;
  }
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.56) 60%, rgba(0, 0, 0, 0.95) 84%, #030303 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.52));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 28px calc(var(--nav-h) + env(safe-area-inset-bottom) + 4px);
  display: flex;
  flex-direction: column;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 100%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-dot span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 1;
}

.status-dot::before {
  content: "";
  display: block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 122, 26, 0.42);
}

.hero-partners {
  width: min(84vw, 760px);
  margin: clamp(8px, 2.7vh, 24px) 0 0 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-partners-title {
  margin: 0 0 17px;
  color: rgba(244, 241, 236, 0.72);
  font-size: 12px;
  font-weight: 360;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-feedback-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(84vw, 760px);
  margin: clamp(21px, 4.5vh, 41px) 0 0 50%;
  padding: 17px 18px;
  border: 1px solid rgba(244, 241, 236, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.hero-feedback-cta-copy {
  display: grid;
  gap: 5px;
  text-align: left;
}

.hero-feedback-cta-copy span {
  color: rgba(244, 241, 236, 0.58);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hero-feedback-cta-copy strong {
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.05;
}

.hero-feedback-cta-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(244, 241, 236, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.hero-feedback-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #170f0b;
  background: var(--orange);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.hero-feedback-cta-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.hero-partner-logos-two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: initial;
}

.hero-partner-logos-two .hero-partner-logo {
  width: auto;
}

.hero-partner-logos-two .hero-partner-open {
  display: flex;
}

.hero-partner-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-partner-logo + .hero-partner-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
}

.hero-partner-logo img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-partner-bnp img {
  width: min(100%, 184px);
}

.hero-partner-pko img {
  width: min(100%, 150px);
  max-height: 58px;
  transform: translateY(-3px);
}

.hero-partner-thanks {
  margin: 1px 0 0;
  color: rgba(244, 241, 236, 0.72);
  font-size: 11px;
  font-weight: 360;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-partner-prize {
  display: block;
  margin: 8px 0 0;
  color: rgba(244, 241, 236, 0.72);
  font-size: 11px;
  font-weight: 360;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-prize-amount {
  color: var(--orange);
  letter-spacing: 0.055em;
}

.hero-euro {
  display: inline-block;
  margin-left: 0.025em;
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: 0;
}

.hero-prize-and {
  color: rgba(244, 241, 236, 0.72);
  letter-spacing: 0.16em;
}

.hero-prize-times {
  display: inline-block;
  margin: 0 0.18em;
  color: rgba(244, 241, 236, 0.72);
  letter-spacing: 0;
}

@keyframes joinLogoFocus {
  0%,
  4%,
  62%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }

  8% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-1.4deg);
  }

  12% {
    transform: translate3d(0, 0, 0) scale(1) rotate(1.2deg);
  }

  16% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-0.9deg);
  }

  20% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0.9deg);
  }

  24% {
    transform: translate3d(0, 0, 0) scale(1) rotate(-0.55deg);
  }

  32% {
    transform: translate3d(0, 0, 0) scale(0.84) rotate(0deg);
  }

  40% {
    transform: translate3d(0, 0, 0) scale(1.1) rotate(0deg);
  }

  50% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.hero-bottom {
  width: min(100%, 760px);
  padding-top: 0;
  margin-top: auto;
  margin-left: 0;
  transform: none;
  text-align: left;
}

.hero-bottom .kicker {
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

.hero-bottom .body-copy {
  margin-bottom: 11px;
  font-size: 12.5px;
  line-height: 1.35;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 17px;
  margin-left: clamp(16px, 3.2vw, 36px);
}

.hero-brand-tagline {
  margin: 0 0 12px;
  color: rgba(244, 241, 236, 0.9);
  font-size: clamp(55px, 9.9vw, 106px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.84;
}

.hero-title-switch {
  display: grid;
  grid-template-columns: max-content auto max-content;
  align-items: stretch;
  justify-content: start;
  gap: clamp(18px, 5vw, 32px);
  width: 100%;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(38px, 10.8vw, 52px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-title-switch-item {
  display: grid;
  align-content: center;
  gap: 0.16em;
  min-width: 0;
  color: inherit;
  text-align: left;
  white-space: nowrap;
}

.hero-title-switch-item span {
  display: block;
}

.hero-title-switch-item > .hero-title-switch-copy {
  display: grid;
  align-content: center;
  gap: 0.16em;
}

.hero-title-switch-item.is-active {
  color: rgba(255, 255, 255, 0.95);
}

.hero-title-switch-divider {
  display: block;
  width: 1px;
  min-height: 2.35em;
  background: rgba(244, 241, 236, 0.68);
}

.hero-title-switch-home {
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(10px, 3vw, 18px);
  margin: var(--home-hero-tagline-margin);
  font-size: var(--home-hero-switch-size);
  line-height: var(--home-hero-tagline-leading);
}

.hero-title-switch-home .hero-title-switch-item.is-active {
  justify-items: end;
  text-align: right;
}

.hero-title-switch-home .hero-title-switch-action {
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}

.hero-title-switch-home .hero-title-switch-divider {
  opacity: 0;
  animation: homeTitleSwitchReveal 420ms ease-out 900ms forwards;
}

.hero-title-switch-home .hero-title-switch-action {
  opacity: 0;
  visibility: hidden;
  animation: homeTitleSwitchReveal 560ms ease-out 1100ms forwards;
}

.hero-title-switch-action .hero-title-switch-copy {
  transform-origin: center;
  animation: titleSwitchInvitePulse 3000ms ease-in-out 400ms infinite;
}

.hero-title-switch-home .hero-title-switch-action .hero-title-switch-copy {
  animation-delay: 1800ms;
}

.hero-title-switch a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--orange);
  outline-offset: 7px;
}

@keyframes homeTitleSwitchReveal {
  from {
    opacity: 0;
    visibility: visible;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes titleSwitchInvitePulse {
  0%,
  28%,
  64%,
  100% {
    transform: scale(1);
  }

  46% {
    transform: scale(0.94);
  }
}

html[lang="en"] .hero-title-switch-home {
  gap: clamp(10px, 3vw, 18px);
}

.hero-tagline-line {
  display: inline-block;
}

.hero-tagline-line-second {
  margin-top: -0.06em;
  font-size: 0.93em;
  line-height: 0.9;
  transform: translateY(-0.035em);
}

.hero-bottom .hero-title {
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1;
  font-weight: 320;
  letter-spacing: 0;
}

.home-hero .hero-bottom .hero-title {
  transform: translateX(var(--home-hero-title-shift, 0px));
}

.hero-bottom .hero-title span {
  color: var(--orange);
}

.hero-title-e {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 0.68em;
  margin-inline: -0.055em -0.015em;
  color: var(--orange);
  vertical-align: baseline;
}

.hero-title-e-letter {
  grid-area: 1 / 1;
  line-height: 1;
  opacity: 0;
}

.hero-title-snake {
  position: absolute;
  left: 43%;
  top: 55%;
  width: 0.98em;
  height: 1.38em;
  overflow: visible;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: none;
}

.hero-title-snake path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 122, 26, 0.58));
}

.hero-logo-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  color: var(--orange);
}

.hero-logo-mark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.42;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.hero-theme-line {
  max-width: 760px;
  margin: 18px 0 22px;
  color: rgba(244, 241, 236, 0.84);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.42;
}

.hero-theme-line span {
  color: inherit;
}

.hero-bottom .subtitle {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.62;
  color: rgba(244, 241, 236, 0.84);
}

.prize-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 122, 10, 0.42);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 0, 0, 0.46);
  font-size: 12.5px;
}

.hero-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 500px);
  margin: 0 auto 14px;
}

.hero-chip-row-prizes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
  width: min(100%, 430px);
}

.hero-chip-row-prizes::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 6px;
  left: 50%;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-stat {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  min-height: 50px;
  padding: 3px 16px 1px;
  text-align: center;
}

.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 6px;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
}

.hero-chip-row-prizes .hero-stat + .hero-stat::before {
  display: none;
}

.hero-stat span {
  color: rgba(244, 241, 236, 0.56);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 0.86;
  margin-top: -3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stat strong {
  color: rgba(244, 241, 236, 0.92);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.055em;
  line-height: 1;
  white-space: nowrap;
}

.hero-chip-row-prizes .hero-stat {
  min-height: 54px;
}

.hero-chip-row-prizes .hero-stat strong {
  font-size: 25px;
}

.status-dot strong {
  color: #fff;
  font-size: 13.5px;
  font-weight: 780;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: none;
}

.status-days-word {
  color: #fff;
}

.status-countdown-seconds {
  color: var(--orange);
}

.hero-links {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.hero-links .primary-button {
  position: relative;
  min-height: 46px;
  padding: 12px 46px 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #c94f1f 0%, #df5b1f 52%, #f06a18 100%);
  box-shadow: 0 15px 30px rgba(224, 83, 23, 0.24);
}

.hero-links .primary-button svg {
  position: absolute;
  right: 20px;
  width: 18px;
  height: 18px;
  stroke-width: 1.65;
}

.hero-links .ghost-button {
  width: auto;
  min-height: 28px;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
}

.hero-links .ghost-button svg {
  width: 13px;
  height: 13px;
}

.home-hero .pill {
  min-height: 34px;
  padding: 7px 10px;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.46);
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.home-hero .pill svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
  stroke-width: 1.55;
}

.page-intro {
  display: grid;
  gap: 0;
  margin-bottom: 16px;
}

.page-intro .page-title {
  margin-bottom: 12px;
}

.page-intro .kicker {
  margin-bottom: 5px;
}

.theme-line {
  margin: 0 0 16px;
  color: rgba(244, 241, 236, 0.88);
  font-size: 15.5px;
  line-height: 1.36;
}

.page-intro .subtitle {
  max-width: 34rem;
  margin: 0;
  color: rgba(169, 164, 156, 0.94);
  font-size: var(--page-copy-size);
  line-height: 1.54;
}

.deadline-strip {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 0;
}

.deadline-strip span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deadline-strip strong {
  color: var(--muted);
  font-size: var(--page-copy-size);
  font-weight: 480;
  line-height: 1.45;
}

.rules-grid {
  margin-top: 0;
}

.summary-card {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
}

.summary-row,
.rule-row {
  position: relative;
  display: grid;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.032);
}

.summary-row {
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 70px;
  padding: 12px 14px;
}

.rule-row {
  grid-template-columns: 38px 1fr;
  gap: 11px;
  min-height: 76px;
  padding: 13px 15px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.rule-row::before,
.summary-row::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
}

.summary-row:first-child {
  padding-top: 12px;
}

.summary-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.095);
  padding-bottom: 12px;
}

.summary-row h3,
.profile-card h3,
.admin-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.rule-row h3 {
  margin: 0 0 3px;
  font-size: var(--page-card-title-size);
  font-weight: 700;
}

.summary-row p,
.profile-card p,
.admin-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.stat-card {
  display: grid;
  gap: 12px;
}

.stat-list {
  display: grid;
  gap: 10px;
}

.stat-row {
  display: grid;
  gap: 6px;
}

.stat-row div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stat-row strong {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.stat-row span {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.stat-row i {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-row i::before {
  content: "";
  display: block;
  width: var(--stat);
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.stat-row.plain {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.stat-row.plain:last-child {
  border-bottom: 0;
}

.rule-row p {
  margin: 0;
  color: var(--muted);
  font-size: var(--page-card-copy-size);
  line-height: 1.4;
}

.rule-icon,
.mini-icon {
  display: grid;
  place-items: center;
  color: var(--orange);
}

.rule-icon {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 21px;
}

.rule-icon svg {
  stroke-width: 1.28;
}

.summary-row .rule-icon {
  width: 30px;
  height: 30px;
  font-size: 21px;
}

.mini-icon {
  width: 34px;
  height: 34px;
  font-size: 26px;
}

.page.about .grid {
  gap: 10px;
}

.page.about .button-row {
  margin-top: 14px;
}

.page.about .page-intro {
  margin-bottom: 12px;
}

.page.about .page-intro .page-title {
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.08;
}

.page.about .page-intro .kicker {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page.about .theme-line {
  margin-bottom: 22px;
  color: rgba(244, 241, 236, 0.9);
  font-size: 16px;
  line-height: 1.32;
}

.page.about .page-intro .subtitle {
  max-width: 35rem;
  color: rgba(199, 194, 187, 0.88);
  font-size: 14.25px;
  line-height: 1.46;
}

.about-project-intro {
  margin-bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.about-project-intro .about-hero-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 -1px;
}

.about-project-intro .hero-brand {
  justify-content: center;
  margin-left: 0;
}

.about-project-intro .hero-title {
  font-size: clamp(24px, 6.8vw, 34px);
  line-height: 1;
  font-weight: 320;
  letter-spacing: 0;
}

.about-project-intro .hero-title span {
  color: var(--orange);
}

.about-project-intro .page-title,
.about-project-intro .subtitle {
  margin-left: auto;
  margin-right: auto;
}

.about-project-intro .page-title {
  margin-bottom: 6px;
}

.about-story {
  display: grid;
  gap: 14px;
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.17);
}

.about-story p {
  margin: 0;
  color: rgba(221, 217, 211, 0.9);
  font-size: 14.25px;
  line-height: 1.54;
}

.about-story .hero-title-switch-about {
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(10px, 3vw, 18px);
  width: 100%;
  margin: 10px 0 4px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(25px, 7.4vw, 34px);
  line-height: 0.94;
}

.hero-title-switch-about .hero-title-switch-item.is-active {
  justify-items: end;
  text-align: right;
}

.hero-title-switch-about .hero-title-switch-action {
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-switch-home .hero-title-switch-divider,
  .hero-title-switch-home .hero-title-switch-action {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  .hero-title-switch-action .hero-title-switch-copy {
    transform: none;
    animation: none;
  }
}

.about-editorial {
  display: grid;
  gap: 0;
}

.about-editorial-section {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0;
  padding: 25px 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.16);
}

.about-editorial-icon {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 1px;
  color: var(--orange);
}

.about-editorial-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(244, 241, 236, 0.24);
}

.about-editorial-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-edit-icon-button {
  border: 0;
  margin: 0;
  background: transparent;
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.about-edit-icon-button:hover,
.about-edit-icon-button:focus-visible {
  color: #fff;
  outline: none;
}

.about-edit-icon-button:focus-visible svg {
  filter: drop-shadow(0 0 8px rgba(255, 122, 26, 0.42));
}

.about-editorial-body {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-left: 22px;
}

.about-editorial-body h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.14;
}

.about-editorial-body p {
  margin: 0;
  color: rgba(199, 194, 187, 0.9);
  font-size: 13.75px;
  line-height: 1.48;
}

.about-map-lines {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  padding-left: 15px;
  border-left: 2px solid var(--orange);
}

.about-map-lines span {
  color: rgba(244, 241, 236, 0.92);
  font-size: 13.5px;
  font-weight: 680;
  line-height: 1.22;
}

.about-rules-section {
  --about-rules-orange: #e46614;
  --about-rules-bar-top: #8a2c08;
  --about-rules-bar-mid: #641c05;
  --about-rules-bar-bottom: #321005;
  --about-rules-icon-column: clamp(62px, 18vw, 88px);
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.about-rules-heading {
  display: grid;
  gap: 7px;
}

.about-rules-heading .kicker {
  margin: 0;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-rules-heading h2 {
  margin: 0;
  color: var(--about-rules-orange);
  background: linear-gradient(180deg, #eb7318 0%, var(--about-rules-orange) 48%, #bc470b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.12;
}

.about-rules-heading p {
  max-width: 34rem;
  margin: 0;
  color: rgba(199, 194, 187, 0.86);
  font-size: 13.5px;
  line-height: 1.46;
}

.about-card-list {
  display: grid;
  gap: 0;
}

.page.about .about-rules-list {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 102, 20, 0.14);
  border-left: 0;
  background: rgba(0, 0, 0, 0.22);
}

.page.about .about-rules-list::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--about-rules-icon-column);
  background: linear-gradient(180deg, var(--about-rules-bar-top) 0%, var(--about-rules-bar-mid) 50%, var(--about-rules-bar-bottom) 100%);
}

.page.about .about-rules-list .rules-public-item {
  position: relative;
  grid-template-columns: var(--about-rules-icon-column) minmax(0, 1fr);
  min-height: 88px;
}

.page.about .about-rules-list .rules-public-icon {
  place-items: center;
  padding-top: 0;
  color: #fff;
  background: transparent;
}

.page.about .about-rules-list .rules-public-icon::after {
  display: none;
}

.page.about .about-rules-list .rules-public-icon svg {
  margin-top: 0;
  stroke-width: 1.35;
}

.page.about .about-rules-list .rules-public-body {
  display: grid;
  align-content: center;
  padding: 15px clamp(16px, 4.8vw, 24px);
  border-left: 1px solid rgba(228, 102, 20, 0.18);
  border-bottom: 1px solid rgba(228, 102, 20, 0.12);
}

.page.about .about-rules-list .rules-public-item:last-child .rules-public-body {
  border-bottom: 0;
}

.page.about .about-card {
  grid-template-columns: clamp(62px, 13vw, 80px) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 74px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.page.about .about-card::before {
  display: none;
}

.page.about .about-card .rule-icon {
  position: relative;
  width: auto;
  height: auto;
  color: var(--orange);
  font-size: 25px;
}

.page.about .about-card .rule-icon::after {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  bottom: 11px;
  width: 1px;
  background: rgba(244, 241, 236, 0.24);
}

.page.about .about-card .rule-icon svg {
  stroke-width: 1.22;
}

.about-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 9px clamp(14px, 3.8vw, 22px);
}

.page.about .about-card h3 {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15.75px;
  font-weight: 800;
  line-height: 1.15;
}

.page.about .about-card p {
  color: rgba(199, 194, 187, 0.9);
  font-size: 13.25px;
  line-height: 1.3;
}

.about-card-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  margin-top: 6px;
  color: var(--orange);
  font-size: 13.25px;
  font-weight: 500;
  line-height: 1.2;
}

.about-card-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-documents-link {
  margin: 30px 0 0;
  border-top: 1px solid rgba(244, 241, 236, 0.24);
  border-bottom: 1px solid rgba(244, 241, 236, 0.24);
}

.about-documents-link + .about-documents-link {
  margin-top: 0;
  border-top: 0;
}

.about-documents-link a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  min-height: 68px;
  color: inherit;
  line-height: 1.2;
  text-decoration: none;
}

.about-documents-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-documents-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px 12px 0;
}

.about-documents-copy strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.25px;
  font-weight: 800;
  line-height: 1.12;
}

.about-documents-copy span {
  color: rgba(199, 194, 187, 0.9);
  font-size: 12.25px;
  line-height: 1.3;
}

.about-documents-arrow {
  color: rgba(244, 241, 236, 0.74);
}

.about-documents-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.55;
}

.about-documents-link + .about-closing {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
}

.about-closing {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 241, 236, 0.17);
  text-align: center;
}

.about-closing p {
  margin: 0;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.about-closing h2 {
  max-width: 28rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: 24px;
  font-weight: 760;
  line-height: 1.08;
}

.writers-page {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0 10%, transparent 10% 20%, rgba(255, 255, 255, 0.022) 20% 30%, transparent 30% 100%),
    #030303;
}

.writers-page > * {
  position: relative;
  z-index: 1;
}

.writers-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
}

.writers-topbar .language-switcher {
  min-height: 34px;
  margin: 0;
  padding: 2px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.writers-topbar .language-switcher button {
  min-width: 37px;
  min-height: 28px;
  font-size: 14.5px;
}

.writers-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.writers-back-link svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.writers-hero {
  margin: 0 -20px 22px;
  padding: 20px 20px 30px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.72)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0 8%, transparent 8% 18%, rgba(255, 255, 255, 0.035) 18% 28%, transparent 28% 100%);
}

.hero-title-switch-writers {
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(14px, 4.8vw, 28px);
  max-width: 100%;
  font-size: clamp(34px, 9.8vw, 42px);
  line-height: 0.98;
}

.hero-title-switch-writers .hero-title-switch-item:first-child {
  justify-items: end;
  text-align: right;
}

.hero-title-switch-writers .hero-title-switch-item.is-active {
  justify-items: start;
  text-align: left;
}

html[lang="en"] .hero-title-switch-writers {
  gap: clamp(12px, 3.4vw, 22px);
  font-size: clamp(29px, 8.6vw, 34px);
}

.writers-apocryph {
  display: grid;
  gap: 18px;
  margin: 0 0 26px;
  padding: 0 0 16px;
}

.writers-apocryph p {
  margin: 0;
}

.writers-apocryph p {
  color: rgba(244, 241, 236, 0.9);
  font-size: 15px;
  font-weight: 340;
  line-height: 1.46;
}

.writers-list {
  display: grid;
  gap: 0;
  margin: 0 0 22px;
}

.writers-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 142px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.22);
  color: inherit;
}

.writers-list-item.has-media {
  grid-template-columns: clamp(88px, 23vw, 108px) minmax(0, 1fr);
  min-height: 192px;
}

.writers-list-item:first-child {
  border-top: 1px solid rgba(244, 241, 236, 0.22);
}

.writers-list-media {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #050505;
}

.writers-list-media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050505;
  object-fit: cover;
}

.writers-list-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.writers-list-author {
  color: rgba(244, 241, 236, 0.86);
  font-size: 16px;
  line-height: 1.16;
}

.writers-list-copy strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 21px;
  font-weight: 520;
  line-height: 1.12;
}

.writers-list-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(199, 194, 187, 0.9);
  font-size: 14px;
  line-height: 1.42;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.writers-more-note {
  margin: 10px 0 0;
  color: rgba(169, 164, 156, 0.72);
  font-size: 14px;
  font-style: italic;
  line-height: 1.35;
  text-align: center;
}

.writer-article {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.writer-article.has-media {
  padding-top: 0;
}

.writer-article-media {
  display: grid;
  place-items: center;
  width: 100vw;
  height: min(calc(100vw * 16 / 9), calc(var(--pe-visual-vh, 100dvh) - var(--nav-h) - 72px));
  min-height: 420px;
  max-height: 900px;
  margin: 2px calc(50% - 50vw) 0;
  overflow: hidden;
  background: #000;
}

.writer-article-media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.writer-article-header {
  display: grid;
  gap: 10px;
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.22);
}

.writer-article-header p {
  margin: 0;
  color: rgba(244, 241, 236, 0.76);
  font-size: 16px;
  line-height: 1.2;
}

.writer-article-header h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(27px, 8vw, 34px);
  font-weight: 560;
  line-height: 1.08;
}

.writer-article-body {
  display: grid;
  gap: 15px;
}

.writer-article-body p {
  margin: 0;
  color: rgba(221, 217, 211, 0.92);
  font-size: 15px;
  font-weight: 330;
  line-height: 1.58;
}

@media (min-width: 431px) and (hover: hover) and (pointer: fine) {
  .writers-topbar {
    margin-bottom: 6px;
  }

  .writers-topbar .language-switcher {
    min-height: 31px;
  }

  .writers-topbar .language-switcher button {
    min-width: 34px;
    min-height: 25px;
    font-size: 13px;
  }

  .writers-back-link {
    gap: 7px;
    font-size: 12.5px;
  }

  .writers-back-link svg {
    width: 18px;
    height: 18px;
  }

  .writers-hero {
    margin: 0 -18px 18px;
    padding: 16px 18px 24px;
  }

  .hero-title-switch-writers {
    gap: 18px;
    font-size: 32px;
    line-height: 1.02;
  }

  html[lang="en"] .hero-title-switch-writers {
    gap: 14px;
    font-size: 27px;
  }

  .writers-list {
    margin-bottom: 18px;
  }

  .writers-apocryph {
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 13px;
  }

  .writers-apocryph p {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .writers-list-item {
    grid-template-columns: minmax(0, 1fr);
    min-height: 112px;
    gap: 12px;
    padding: 16px 0;
  }

  .writers-list-item.has-media {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 132px;
  }

  .writers-list-copy {
    gap: 6px;
  }

  .writers-list-author {
    font-size: 14.25px;
  }

  .writers-list-copy strong {
    font-size: 18px;
    line-height: 1.14;
  }

  .writers-list-excerpt {
    font-size: 12.8px;
    line-height: 1.36;
  }

}

@media (max-width: 759px) {
  .writers-hero {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .writers-back-link {
    font-size: 12.5px;
  }

  .writers-topbar .language-switcher button {
    min-width: 35px;
    min-height: 26px;
    font-size: 13.5px;
  }

  .hero-title-switch-writers {
    gap: clamp(10px, 3.2vw, 14px);
    font-size: clamp(26px, 7.8vw, 31px);
  }

  .writers-apocryph {
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }

  .writers-apocryph p {
    font-size: 14.25px;
    line-height: 1.44;
  }

  .writers-list-item {
    min-height: 130px;
    padding: 19px 0;
  }

  .writers-list-item.has-media {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    min-height: 150px;
  }

  .writers-list-copy strong {
    font-size: 19px;
  }

  .writers-list-author {
    font-size: 15px;
  }

  .writers-list-excerpt {
    font-size: 13.25px;
  }

  .writer-article-body p {
    font-size: 14.25px;
    line-height: 1.56;
  }
}

@media (max-width: 430px) {
  .writer-article-media {
    height: min(calc(100vw * 16 / 9), calc(var(--pe-visual-vh, 100dvh) - var(--nav-h) - 64px));
    min-height: 360px;
  }
}

.texts-admin-form {
  margin: 0;
}

.texts-admin-shell {
  padding-bottom: env(safe-area-inset-bottom);
  background: #060606;
}

.texts-admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(244, 241, 236, 0.14);
  background: rgba(6, 6, 6, 0.88);
  backdrop-filter: blur(18px);
}

.texts-admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 12px 20px;
}

.texts-admin-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.texts-admin-actions .compact-button {
  min-height: 38px;
  padding: 8px 11px;
}

.texts-admin-actions .texts-admin-save {
  border-color: rgba(255, 122, 26, 0.64);
  color: #fff;
  background: rgba(255, 122, 26, 0.22);
}

.texts-admin-page {
  min-height: auto;
  padding-top: 34px;
}

.about-edit-field {
  display: block;
  width: calc(100% + 8px);
  min-height: 1em;
  margin: -2px -4px;
  padding: 2px 4px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 5px;
  outline: none;
  color: inherit;
  background: transparent;
  resize: none;
  appearance: none;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  white-space: pre-wrap;
}

.about-edit-field:hover,
.about-edit-field:focus {
  border-color: rgba(255, 122, 26, 0.46);
  background: rgba(255, 122, 26, 0.055);
}

.about-edit-field:focus {
  box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.1);
}

.about-edit-field::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.about-edit-line,
.about-edit-section {
  position: relative;
}

.about-edit-paragraph-list {
  display: grid;
  gap: 10px;
}

.about-edit-controls,
.about-edit-section-controls {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.about-edit-controls {
  top: -20px;
  right: -2px;
}

.about-edit-section-controls {
  top: 10px;
  right: 0;
}

.about-edit-line:hover > .about-edit-controls,
.about-edit-line:focus-within > .about-edit-controls,
.about-edit-section:hover > .about-edit-section-controls,
.about-edit-section:focus-within > .about-edit-section-controls {
  opacity: 1;
  pointer-events: auto;
}

.about-edit-mini-button {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid rgba(244, 241, 236, 0.24);
  border-radius: 999px;
  color: rgba(244, 241, 236, 0.78);
  background: rgba(6, 6, 6, 0.72);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}

.about-edit-mini-button:hover,
.about-edit-mini-button:focus-visible {
  border-color: rgba(255, 122, 26, 0.72);
  color: #fff;
  background: rgba(255, 122, 26, 0.2);
  outline: none;
}

.about-edit-empty-line,
.about-edit-empty-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.about-story:hover > .about-edit-empty-line,
.about-story:focus-within > .about-edit-empty-line,
.about-edit-paragraph-list:hover > .about-edit-empty-line,
.about-edit-paragraph-list:focus-within > .about-edit-empty-line,
.about-editorial:hover > .about-edit-empty-section,
.about-editorial:focus-within > .about-edit-empty-section,
.rules-public-list:hover > .about-edit-empty-section,
.rules-public-list:focus-within > .about-edit-empty-section {
  opacity: 1;
  pointer-events: auto;
}

.page.rules .grid,
.page.faq-public .grid {
  gap: 10px;
}

.page.rules .page-intro,
.page.faq-public .page-intro {
  margin-bottom: 18px;
}

.page.rules-public .page-intro {
  margin-bottom: 24px;
}

.page.rules-public .page-title {
  font-weight: 680;
}

.rules-public-intro .kicker,
.faq-public-intro .kicker {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rules-public-intro .subtitle {
  max-width: 28rem;
  color: rgba(199, 194, 187, 0.9);
  font-size: 14.5px;
  line-height: 1.42;
}

.page.faq-public {
  width: min(100%, 760px);
}

.page.faq-public .page-intro {
  margin-bottom: 34px;
}

.page.faq-public .page-title {
  max-width: 12em;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 38px;
  font-weight: 760;
  line-height: 1.08;
}

.faq-public-intro .subtitle {
  max-width: 36rem;
  color: rgba(199, 194, 187, 0.9);
  font-size: 15.25px;
  line-height: 1.52;
}

.rules-public-list {
  display: grid;
  gap: 8px;
}

.rules-public-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: stretch;
  min-height: 84px;
}

.rules-public-icon {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 2px;
  color: var(--orange);
}

.rules-public-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
}

.rules-public-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rules-public-body {
  min-width: 0;
  padding: 2px 0 12px 22px;
}

.rules-public-body h2 {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.1;
}

.rules-public-body p {
  margin: 0;
  color: rgba(199, 194, 187, 0.88);
  font-size: 13.25px;
  line-height: 1.36;
}

.rules-faq {
  display: grid;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(244, 241, 236, 0.18);
}

.rules-faq-heading {
  display: grid;
  gap: 7px;
}

.rules-faq-heading .kicker {
  margin: 0;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rules-faq-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 23px;
  font-weight: 760;
  line-height: 1.08;
}

.rules-faq-heading p {
  max-width: 36rem;
  margin: 0;
  color: rgba(199, 194, 187, 0.88);
  font-size: 13.5px;
  line-height: 1.45;
}

.rules-faq-groups {
  display: grid;
  gap: 0;
}

.rules-faq-group {
  display: grid;
  gap: 8px;
  padding: 24px 0 22px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.16);
}

.rules-faq-group-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.rules-faq-group-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 0;
  color: var(--orange);
  background: transparent;
}

.rules-faq-group-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rules-faq-group h3 {
  margin: 0;
  color: rgba(244, 241, 236, 0.94);
  font-size: 19px;
  font-weight: 760;
  line-height: 1.18;
}

.rules-faq-items {
  display: grid;
  gap: 0;
  padding-left: 18px;
}

.rules-faq-item {
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.15);
  border-radius: 0;
  background: transparent;
}

.rules-faq-item[open] {
  border-color: rgba(244, 241, 236, 0.2);
  background: transparent;
}

.rules-faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  font-size: 15.4px;
  font-weight: 740;
  line-height: 1.28;
  list-style: none;
}

.rules-faq-item summary::-webkit-details-marker {
  display: none;
}

.rules-faq-item summary::marker {
  content: "";
}

.rules-faq-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  color: var(--orange);
}

.rules-faq-toggle svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.rules-faq-item[open] .rules-faq-toggle svg {
  transform: rotate(180deg);
}

.rules-faq-answer {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 1px 0 1px 20px;
  border-left: 2px solid var(--orange);
}

.rules-faq-answer p {
  margin: 0;
  color: rgba(199, 194, 187, 0.9);
  font-size: 14px;
  line-height: 1.58;
}

.page.legal-page {
  position: relative;
  width: min(100%, 640px);
  padding-top: 22px;
}

.page.legal-page > .language-switcher {
  position: absolute;
  top: 22px;
  right: 20px;
  margin: 0;
}

.legal-page-top {
  min-height: 44px;
  margin-bottom: 20px;
  padding-right: 116px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back-link svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-document-intro {
  margin-bottom: 18px;
}

.page.legal-page .page-title {
  max-width: 35rem;
  margin-bottom: 9px;
  font-size: clamp(28px, 4.4vw, 34px);
  line-height: 1.05;
}

.page.legal-page .subtitle {
  max-width: 35rem;
  font-size: 13.75px;
  line-height: 1.42;
}

.legal-doc-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(244, 241, 236, 0.18);
}

.legal-doc-card {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.18);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  backdrop-filter: none;
}

.legal-doc-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 54px;
  cursor: pointer;
  list-style: none;
}

.legal-doc-head::-webkit-details-marker {
  display: none;
}

.legal-doc-head::marker {
  content: "";
}

.legal-doc-icon,
.legal-doc-chevron,
.legal-download-icon,
.legal-download-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-doc-icon,
.legal-download-icon,
.legal-download-action {
  color: var(--orange);
}

.legal-doc-icon svg,
.legal-download-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-doc-head strong {
  min-width: 0;
  color: var(--orange);
  font-size: 14.25px;
  font-weight: 820;
  line-height: 1.15;
}

.legal-doc-chevron {
  color: var(--orange);
}

.legal-doc-chevron svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-doc-card[open] .legal-doc-chevron svg {
  transform: rotate(180deg);
}

.legal-doc-body {
  border-top: 1px solid rgba(244, 241, 236, 0.1);
}

.legal-doc-card:not([open]) .legal-doc-body {
  display: none;
}

.legal-document {
  padding: 16px 0 14px 42px;
}

.legal-document-text {
  display: grid;
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 236, 0.84);
  word-break: normal;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 12.25px;
  line-height: 1.55;
}

.legal-document-text p,
.legal-document-text h2,
.legal-document-text ul {
  margin: 0;
}

.legal-document-text h2 {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.legal-document-text h2:first-child {
  margin-top: 0;
}

.legal-document-title {
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  font-weight: 740;
  letter-spacing: 0.015em;
  line-height: 1.22;
  text-transform: uppercase;
}

.legal-document-meta {
  color: rgba(199, 194, 187, 0.84);
  font-size: 12.25px;
  line-height: 1.45;
}

.legal-document-lead {
  color: rgba(244, 241, 236, 0.88);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.legal-document-list {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.legal-document-list li::marker {
  color: var(--orange);
}

.legal-download-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 50px;
  margin: 0 0 12px 42px;
  border-top: 1px solid rgba(244, 241, 236, 0.1);
  color: inherit;
  text-decoration: none;
}

.legal-download-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-right: 16px;
}

.legal-download-copy strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12.75px;
  font-weight: 820;
  line-height: 1.12;
}

.legal-download-copy span {
  color: rgba(199, 194, 187, 0.78);
  font-size: 11.25px;
  line-height: 1.28;
}

.legal-download-action svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 680px) {
  .page.legal-page {
    padding-top: 20px;
  }

  .page.legal-page > .language-switcher {
    top: 20px;
    right: max(16px, env(safe-area-inset-right));
  }

  .legal-page-top {
    margin-bottom: 18px;
    padding-right: 106px;
  }

  .legal-back-link {
    gap: 10px;
    font-size: 14px;
  }

  .page.legal-page .page-title {
    font-size: clamp(27px, 7.6vw, 32px);
  }

  .page.legal-page .subtitle {
    font-size: 13.25px;
  }

  .legal-doc-head,
  .legal-download-row {
    grid-template-columns: 38px minmax(0, 1fr) 30px;
  }

  .legal-doc-head {
    min-height: 52px;
  }

  .legal-doc-icon svg,
  .legal-download-icon svg {
    width: 21px;
    height: 21px;
  }

  .legal-doc-head strong {
    font-size: 13.75px;
  }

  .legal-doc-chevron svg {
    width: 21px;
    height: 21px;
  }

  .legal-document {
    padding: 14px 0 12px 38px;
  }

  .legal-document-text {
    font-size: 12px;
    line-height: 1.52;
  }

  .legal-download-row {
    min-height: 48px;
    margin-left: 38px;
  }

  .legal-download-copy strong {
    font-size: 12.5px;
  }

  .legal-download-copy span {
    font-size: 11px;
  }
}

.steps-card {
  padding: 18px 16px;
}

.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.step-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
}

.field {
  position: relative;
  display: grid;
  gap: 7px;
}

.field-grid {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.join-form {
  gap: 11px;
  margin-top: 18px;
}

.join-choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.join-choice-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(244, 241, 236, 0.14);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.join-choice-icon,
.join-choice-arrow {
  display: grid;
  place-items: center;
  color: var(--orange);
}

.join-choice-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.join-choice-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.join-choice-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.join-choice-copy strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 840;
  line-height: 1.12;
}

.join-choice-copy span {
  color: rgba(199, 194, 187, 0.82);
  font-size: 13px;
  line-height: 1.34;
}

.auth-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 16px 0 18px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.auth-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 6px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 4px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.12;
  text-align: center;
}

.auth-toggle a.is-active {
  border-color: rgba(255, 122, 26, 0.5);
  color: var(--text);
  background: rgba(255, 122, 26, 0.16);
}

.field-label {
  color: rgba(244, 241, 236, 0.78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.join-form .input,
.join-form .select {
  min-height: 52px;
  padding-left: 14px;
}

.join-form .select {
  padding-right: 42px;
}

.join-form .field-icon {
  display: none;
}

.select {
  appearance: none;
}

.textarea {
  min-height: 96px;
  resize: vertical;
  padding-left: 14px;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(255, 122, 10, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 122, 10, 0.14);
}

.field-icon {
  position: absolute;
  left: 16px;
  bottom: 17px;
  color: var(--muted);
  font-size: 22px;
  pointer-events: none;
}

.select-caret {
  position: absolute;
  right: 16px;
  bottom: 17px;
  color: var(--muted);
  pointer-events: none;
}

.birth-date-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.birth-date-controls {
  display: grid;
  grid-template-columns: minmax(132px, 1.25fr) minmax(94px, 0.9fr);
  gap: 8px;
}

.birth-date-part {
  position: relative;
  min-width: 0;
}

.birth-date-part .select {
  min-height: 52px;
  padding: 13px 34px 13px 12px;
}

.birth-date-part .select-caret {
  right: 11px;
  bottom: 16px;
}

.birth-date-part .select-caret svg {
  width: 17px;
  height: 17px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  color: var(--muted);
}

.checkbox-row input {
  position: absolute;
  opacity: 0;
}

.checkbox-box {
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: transparent;
}

.checkbox-row input:checked + .checkbox-box {
  color: #fff;
  background: var(--orange);
}

.checkbox-row a {
  color: var(--orange);
}

.form-error {
  display: none;
  margin: 12px 0 0;
  color: var(--red);
  line-height: 1.35;
}

.form-error.is-visible {
  display: block;
}

.form-message {
  display: none;
  margin: 12px 0 0;
  color: var(--green);
  line-height: 1.35;
}

.form-message.is-visible {
  display: block;
}

.submission-location-summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.submission-location-summary svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submission-location-summary span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.submission-location-summary strong,
.submission-location-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submission-location-summary small {
  color: var(--muted);
}

.submission-deadline-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 2px 0 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: 8px;
  color: rgba(244, 241, 236, 0.86);
  background: rgba(255, 122, 26, 0.08);
  font-size: 12.5px;
  line-height: 1.3;
  text-align: left;
}

.submission-deadline-note strong {
  color: var(--orange);
  font-size: 10.5px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capture-screen,
.preview-stage,
.pending-recording-stage {
  --pe-stage-x: 20px;
  --pe-stage-top: max(18px, env(safe-area-inset-top));
  --pe-stage-gap: 10px;
  --pe-top-row-height: 44px;
  --pe-film-width: min(100%, 430px, calc((100dvh - 218px) * 9 / 16));
}

.capture-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  color: var(--text);
}

.camera-stage {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--pe-stage-top) + var(--pe-top-row-height) + var(--pe-stage-gap)) var(--pe-stage-x) calc(env(safe-area-inset-bottom) + 118px);
  background: #000;
}

.preview-stage {
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pe-stage-gap);
  padding: var(--pe-stage-top) var(--pe-stage-x) calc(env(safe-area-inset-bottom) + 14px);
  color: var(--text);
  background: #000;
}

.feed-preview-stage {
  --pe-preview-meta-height: 74px;
  --pe-preview-reserved-height: calc(var(--pe-stage-top) + var(--pe-preview-meta-height) + var(--pe-stage-gap) + var(--pe-stage-gap) + var(--nav-h) + env(safe-area-inset-bottom) + 24px);
  --pe-film-width: min(100%, 430px, calc((100dvh - var(--pe-preview-reserved-height)) * 9 / 16));
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 12px);
  touch-action: pan-y;
}

.feed-preview-stage.has-location-cta {
  --pe-preview-meta-height: 142px;
}

.feed-preview-stage:focus {
  outline: none;
}

.pending-recording-stage {
  --pe-pending-meta-height: 74px;
  --pe-pending-actions-height: 48px;
  --pe-pending-reserved-height: calc(var(--pe-stage-top) + var(--pe-top-row-height) + var(--pe-pending-meta-height) + var(--pe-pending-actions-height) + var(--pe-stage-gap) + var(--pe-stage-gap) + var(--pe-stage-gap) + env(safe-area-inset-bottom) + 18px);
  --pe-film-width: min(100%, 430px, calc((100dvh - var(--pe-pending-reserved-height)) * 9 / 16));
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pe-stage-gap);
  padding: var(--pe-stage-top) var(--pe-stage-x) calc(env(safe-area-inset-bottom) + 10px);
  color: var(--text);
  background: #000;
}

.pending-recording-stage.is-guest {
  --pe-pending-actions-height: 106px;
}

.pending-recording-top {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: var(--pe-film-width);
  min-height: var(--pe-top-row-height);
}

.pending-recording-heading {
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.pending-recording-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
}

.pending-recording-heading p {
  margin: 2px 0 0;
  color: rgba(244, 241, 236, 0.68);
  font-size: 12px;
  line-height: 1.25;
}

.pending-recording-close {
  grid-column: 3;
  justify-self: end;
  margin-top: 2px;
}

.capture-frame,
.preview-frame,
.pending-recording-frame {
  position: relative;
  width: var(--pe-film-width);
  height: auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.46);
}

.capture-frame-shell {
  position: relative;
  flex: 0 0 auto;
  width: var(--pe-film-width);
  height: auto;
  aspect-ratio: 9 / 16;
  overflow: visible;
}

.capture-frame-shell > .capture-frame {
  width: 100%;
  height: 100%;
}

.preview-frame,
.pending-recording-frame {
  flex: 0 0 auto;
}

.camera-stage video,
.preview-stage video,
.pending-recording-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.preview-frame .preview-video {
  opacity: 1;
}

.preview-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--orange);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: observerRecordingSpin 850ms linear infinite;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.preview-frame.is-ready .preview-loader {
  opacity: 0;
  animation-play-state: paused;
}

.preview-frame:not(.is-ready) .preview-play-button {
  opacity: 0;
  pointer-events: none;
}

.pending-recording-frame .preview-video {
  opacity: 1;
}

.camera-stage video {
  transform-origin: center center;
  transition: opacity 90ms ease, filter 120ms ease;
  will-change: opacity, filter;
}

.capture-frame.can-point-focus #cameraPreview {
  cursor: crosshair;
  touch-action: manipulation;
}

.capture-frame.is-switching-camera video {
  opacity: 0;
}

.camera-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 42%, rgba(0, 0, 0, 0.62)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.36));
}

.camera-lens-control {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 48px;
  z-index: 5;
  display: grid;
  grid-template-rows: 44px auto;
  place-items: center;
  gap: 5px;
  width: max-content;
  max-width: min(calc(100vw - 20px), 430px);
  min-height: 0;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
  pointer-events: none;
}

.camera-lens-control[hidden] {
  display: none;
}

.camera-lens-frame {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.camera-lens-option {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.camera-lens-option span {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  transition: background-color 100ms ease, box-shadow 100ms ease;
}

.camera-lens-option.is-active span {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.34), 0 2px 7px rgba(0, 0, 0, 0.24);
}

.camera-lens-option.is-selfie span::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  border-radius: inherit;
}

.camera-lens-option.is-selfie.is-active span::after {
  border-color: rgba(18, 18, 18, 0.62);
}

.camera-lens-option:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.96);
  outline-offset: -2px;
  border-radius: 999px;
}

.camera-lens-option:disabled {
  opacity: 1;
  cursor: default;
}

.capture-screen.is-recording .camera-lens-control .camera-lens-option {
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 33.2%, rgba(255, 255, 255, 0.18) 33.3%, transparent 33.5%, transparent 66.4%, rgba(255, 255, 255, 0.18) 66.6%, transparent 66.8%),
    linear-gradient(to bottom, transparent 33.2%, rgba(255, 255, 255, 0.18) 33.3%, transparent 33.5%, transparent 66.4%, rgba(255, 255, 255, 0.18) 66.6%, transparent 66.8%);
}

.focus-corners {
  position: absolute;
  inset: 16px;
  z-index: 4;
  pointer-events: none;
}

.focus-corners span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, 0.86);
  border-style: solid;
}

.focus-corners span:nth-child(1) {
  left: 0;
  top: 0;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 8px;
}

.focus-corners span:nth-child(2) {
  right: 0;
  top: 0;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 8px;
}

.focus-corners span:nth-child(3) {
  left: 0;
  bottom: 0;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 8px;
}

.focus-corners span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 8px;
}

.camera-focus-indicator {
  position: absolute;
  z-index: 6;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34), 0 3px 18px rgba(0, 0, 0, 0.38);
  will-change: opacity, transform;
}

.camera-focus-indicator.is-visible {
  animation: cameraPointFocus 1100ms ease-out both;
}

@keyframes cameraPointFocus {
  0% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(1.28);
  }

  22%,
  72% {
    opacity: 0.96;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
}

.camera-permission {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  z-index: 12;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-align: center;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.camera-permission.is-hidden {
  display: none;
}

.camera-permission.is-loading {
  pointer-events: none;
  opacity: 0.74;
}

.camera-permission [hidden] {
  display: none !important;
}

.camera-permission svg {
  width: 42px;
  height: 42px;
  color: var(--orange);
}

.camera-permission h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.camera-permission p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.capture-top {
  position: absolute;
  left: var(--pe-stage-x);
  right: var(--pe-stage-x);
  top: var(--pe-stage-top);
  z-index: 10;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 44px;
}

.capture-count {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.74);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture-controls {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(env(safe-area-inset-bottom) + 26px);
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 108px minmax(74px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 430px);
  padding: 0 20px;
  transform: translateX(-50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.capture-record-group {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.capture-record-group .small {
  min-height: 16px;
  max-width: 112px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-title {
  max-width: 108px;
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.12;
  min-height: 15px;
  text-align: center;
  white-space: nowrap;
}

.record-button {
  --progress: 0deg;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: conic-gradient(var(--orange) var(--progress), rgba(255, 255, 255, 0.34) var(--progress), rgba(255, 255, 255, 0.34) 360deg);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.26), 0 18px 45px rgba(0, 0, 0, 0.5);
}

.record-button:disabled {
  opacity: 1;
}

.record-button::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.record-button.is-recording::before {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0 5px, var(--orange) 6px 100%);
}

.record-button.is-recording {
  cursor: default;
  pointer-events: none;
}

.capture-side-action {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 84px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 13px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

.capture-side-action span {
  max-width: 104px;
  text-align: center;
}

.capture-side-spacer {
  display: block;
  min-height: 84px;
}

.capture-cancel-action.is-recording {
  color: var(--orange);
  font-weight: 760;
}

.capture-screen.is-recording .capture-top .screen-close-button,
.capture-screen.is-recording .camera-lens-control {
  opacity: 0;
  pointer-events: none;
}

.capture-side-action svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#recordProgress {
  display: none;
}

.capture-save-status {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(env(safe-area-inset-bottom) + 26px);
  z-index: 10;
  display: grid;
  gap: 8px;
  width: min(calc(100% - 32px), 398px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(5, 8, 9, 0.76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.capture-save-status[hidden] {
  display: none;
}

.capture-save-status span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capture-save-status progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.capture-save-status progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.16);
}

.capture-save-status progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--orange);
}

.capture-save-status progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--orange);
}

.capture-screen.is-saving .capture-controls {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
}

.preview-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: var(--pe-stage-gap);
  width: var(--pe-film-width);
  min-height: var(--pe-top-row-height);
}

.preview-nav-button,
.screen-close-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #fff;
  background: transparent;
}

.capture-top .screen-close-button {
  grid-column: 3;
}

.preview-nav-button svg,
.screen-close-button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-nav-button:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.screen-close-button {
  color: rgba(244, 241, 236, 0.84);
}

.feed-preview-stage .preview-close-button {
  position: absolute;
  top: var(--pe-stage-top);
  right: max(var(--pe-stage-x), calc((100vw - var(--pe-film-width)) / 2));
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.screen-close-button:hover,
.screen-close-button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.preview-count {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta,
.pending-recording-meta {
  flex: 0 0 auto;
  width: var(--pe-film-width);
  max-width: calc(100vw - (var(--pe-stage-x) * 2));
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  line-height: 1.25;
}

.preview-meta span,
.pending-recording-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta > span,
.pending-recording-meta > span {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.preview-meta svg,
.pending-recording-meta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-icon-button {
  position: absolute;
  top: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.preview-icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-icon-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.preview-download-button {
  left: 14px;
}

.preview-location-button {
  left: 14px;
  top: 58px;
}

.preview-delete-button {
  left: 14px;
  top: 58px;
  border-color: rgba(255, 96, 86, 0.6);
  color: #ff665f;
  background: rgba(34, 0, 0, 0.46);
}

.preview-location-button + .preview-delete-button {
  top: 102px;
}

.preview-location-cta {
  width: var(--pe-film-width);
  max-width: calc(100vw - (var(--pe-stage-x) * 2));
  display: grid;
  gap: 6px;
}

.preview-location-cta-button {
  width: 100%;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding-inline: 16px;
}

.preview-location-cta-button strong {
  display: inline-flex;
  align-items: center;
  min-width: 46px;
  font-variant-numeric: tabular-nums;
}

.preview-location-cta p {
  margin: 0;
  color: rgba(244, 241, 236, 0.58);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.preview-icon-button,
.preview-play-button,
.preview-side-nav button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.preview-icon-button:focus,
.preview-play-button:focus,
.preview-side-nav button:focus {
  outline: none;
}

.preview-icon-button:focus-visible,
.preview-play-button:focus-visible,
.preview-side-nav button:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 122, 10, 0.58);
}

.preview-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: opacity 120ms ease;
}

.preview-play-button svg {
  width: 34px;
  height: 34px;
  margin-left: 2px;
  stroke: currentColor;
  fill: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-play-button.is-playing {
  opacity: 0;
}

.preview-play-button.is-playing svg {
  margin-left: 0;
}

.preview-panel {
  position: static;
  display: grid;
  gap: 13px;
  width: min(100%, 430px);
  padding: 0 2px;
  background: transparent;
}

.preview-side-nav {
  position: fixed;
  top: 50%;
  right: max(18px, calc((100vw - var(--pe-film-width)) / 2 - 74px));
  z-index: 6;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.preview-side-nav button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(14px);
}

.preview-side-nav button svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-side-nav button:disabled {
  opacity: 0.26;
  cursor: not-allowed;
}

@media (max-width: 759px) {
  .preview-side-nav {
    display: none;
  }
}

.preview-timeline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
}

.preview-progress {
  --progress-pct: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 22px;
  accent-color: var(--orange);
  background: transparent;
}

.preview-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--orange) 0 var(--progress-pct), rgba(255, 255, 255, 0.22) var(--progress-pct) 100%);
}

.preview-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  appearance: none;
}

.preview-progress::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.preview-progress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
}

.preview-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
}

.preview-bottom-actions {
  display: grid;
  grid-template-columns: minmax(62px, 1fr) minmax(124px, 1.45fr) minmax(62px, 1fr);
  align-items: center;
  gap: 12px;
}

.pending-recording-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(96px, 0.82fr) minmax(144px, 1.5fr);
  align-items: center;
  gap: 10px;
  width: var(--pe-film-width);
  transition: opacity 160ms ease, transform 160ms ease;
}

.pending-recording-actions.is-guest {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pending-recording-delete,
.pending-recording-save,
.pending-recording-collection {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.pending-recording-delete {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.03);
}

.pending-recording-save {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 32px rgba(236, 83, 36, 0.28);
}

.pending-recording-collection {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 122, 26, 0.52);
  color: var(--orange);
  background: rgba(255, 122, 26, 0.1);
}

.pending-recording-delete svg,
.pending-recording-save svg,
.pending-recording-collection svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pending-recording-delete:disabled,
.pending-recording-save:disabled,
.pending-recording-collection:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.pending-recording-error {
  width: var(--pe-film-width);
  min-height: 18px;
  margin: -2px 0 0;
  text-align: center;
}

.pending-recording-stage.is-saving .pending-recording-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.preview-foot-action {
  display: grid;
  place-items: center;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 56px;
  color: var(--text);
  background: transparent;
  font-size: 12px;
  line-height: 1.1;
}

.preview-foot-action svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-foot-action.danger {
  color: var(--red);
}

.preview-foot-action:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.preview-capture-button,
.preview-next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 32px rgba(236, 83, 36, 0.28);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.preview-capture-button:disabled,
.preview-next-button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.preview-submit {
  min-height: 50px;
}

.drafts-page {
  padding-top: max(18px, env(safe-area-inset-top));
}

.drafts-page .language-switcher {
  margin-bottom: 14px;
  margin-left: auto;
}

.drafts-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.drafts-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 29px;
  line-height: 1;
  font-weight: 780;
}

.drafts-count {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.2;
}

.drafts-count strong {
  color: var(--orange);
  font-weight: 760;
}

.drafts-submit-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: flex-start;
  min-height: 30px;
  max-width: 126px;
  border: 0;
  border-radius: 0;
  padding: 5px 0 0;
  color: var(--orange);
  background: transparent;
  font-size: 12.5px;
  font-weight: 560;
  line-height: 1.12;
  text-align: right;
}

.drafts-submit-label {
  display: block;
}

.drafts-submit-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-deadline-note {
  display: grid;
  gap: 8px;
  margin: 24px 0 24px;
  padding: 4px 0 5px 20px;
  border-left: 2px solid var(--orange);
  color: rgba(244, 241, 236, 0.8);
  background: transparent;
  font-size: 12.5px;
  line-height: 1.28;
}

.draft-deadline-note strong {
  color: var(--orange);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.draft-deadline-copy {
  display: grid;
  gap: 5px;
}

.draft-deadline-copy p {
  margin: 0;
}

.draft-selection-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 0;
  color: rgba(244, 241, 236, 0.72);
  font-size: 13px;
  line-height: 1.25;
}

.draft-selection-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.draft-selection-note span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.draft-selection-note button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 4px 0;
  color: var(--orange);
  background: transparent;
  font-size: 13px;
  font-weight: 720;
}

.drafts-page.is-selecting {
  padding-bottom: calc(28px + var(--footer-h) + env(safe-area-inset-bottom));
}

.draft-alert-card,
.draft-limit-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 122, 26, 0.38);
  border-radius: 7px;
  background: rgba(7, 6, 5, 0.76);
  box-shadow: inset 0 0 28px rgba(255, 122, 26, 0.025);
}

.draft-limit-card {
  grid-template-columns: 24px minmax(0, 1fr);
  border-color: rgba(255, 255, 255, 0.14);
}

.draft-alert-dot,
.draft-limit-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.1);
}

.draft-limit-icon {
  color: rgba(244, 241, 236, 0.76);
  background: rgba(255, 255, 255, 0.04);
}

.draft-alert-dot svg,
.draft-limit-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-alert-body,
.draft-limit-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.draft-alert-body strong,
.draft-limit-card strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.32;
  font-weight: 650;
}

.draft-alert-body p,
.draft-limit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.draft-alert-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.draft-alert-link,
.draft-alert-secondary {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 4px 0;
  background: transparent;
  font-size: 12.5px;
  font-weight: 720;
  line-height: 1;
}

.draft-alert-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--orange);
}

.draft-alert-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-alert-secondary {
  color: rgba(244, 241, 236, 0.58);
}

.draft-capacity-note {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0 5px;
  border-left: 0;
}

.draft-capacity-note p {
  margin: 0;
  color: rgba(244, 241, 236, 0.58);
  font-size: 12.5px;
  line-height: 1.28;
}

.draft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.drafts-page .draft-grid {
  margin-top: 0;
}

.drafts-page.is-selecting .draft-grid {
  margin-top: 14px;
}

.draft-grid.is-selecting .draft-add-card,
.draft-card.is-selecting .draft-actions {
  display: none;
}

.empty-drafts {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 22px;
}

.empty-drafts h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.draft-success-card,
.draft-privacy-card,
.empty-drafts-help {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
}

.draft-success-card {
  border-color: rgba(79, 201, 92, 0.42);
  background: linear-gradient(90deg, rgba(75, 205, 92, 0.12), rgba(75, 205, 92, 0.028));
}

.draft-success-icon,
.draft-privacy-icon,
.empty-drafts-help-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
}

.draft-success-icon {
  border: 1px solid rgba(79, 201, 92, 0.54);
  color: var(--green);
  background: rgba(79, 201, 92, 0.11);
}

.draft-privacy-icon,
.empty-drafts-help-icon {
  border: 1px solid rgba(255, 122, 26, 0.3);
  color: var(--orange);
  background: rgba(255, 122, 26, 0.065);
}

.draft-success-icon svg,
.draft-privacy-icon svg,
.empty-drafts-help-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-success-card h2,
.draft-privacy-card h2,
.empty-drafts-help h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.draft-success-card p,
.draft-privacy-card p,
.empty-drafts-help p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.empty-draft-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 860px);
}

.empty-draft-slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.empty-draft-add {
  border: 1px dashed rgba(255, 122, 26, 0.66);
  color: var(--orange);
  box-shadow: inset 0 0 34px rgba(255, 122, 26, 0.035);
}

.empty-draft-add.is-disabled {
  opacity: 0.48;
}

.empty-draft-plus {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.12);
  box-shadow: 0 0 36px rgba(255, 122, 26, 0.12);
}

.empty-draft-plus svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-draft-add strong {
  padding: 0 10px;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.empty-draft-placeholder {
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: rgba(244, 241, 236, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
}

.empty-draft-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 50%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.empty-draft-image {
  margin-bottom: 34px;
}

.empty-draft-image svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-draft-line {
  width: 66%;
  height: 10px;
  border-radius: 999px;
  background: rgba(244, 241, 236, 0.055);
}

.empty-draft-line.short {
  width: 48%;
}

.empty-draft-line.tiny {
  width: 38%;
}

.empty-drafts-counter {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  width: min(100%, 860px);
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.empty-drafts-counter svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-drafts-note {
  display: grid;
  gap: 8px;
  width: min(100%, 860px);
  margin-top: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: var(--radius);
  color: rgba(244, 241, 236, 0.72);
  background: rgba(255, 122, 26, 0.045);
  font-size: 13px;
  line-height: 1.35;
}

.empty-drafts-note span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.empty-drafts-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-drafts-note a {
  justify-self: start;
  margin-left: 25px;
  color: var(--orange);
  font-weight: 720;
}

.draft-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #101010;
  text-align: left;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.guest-draft-grid {
  margin-top: 18px;
}

.guest-draft-card {
  border-color: rgba(255, 122, 26, 0.34);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.guest-draft-card .draft-meta {
  pointer-events: none;
}

.guest-draft-placeholder {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: rgba(244, 241, 236, 0.16);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.guest-draft-placeholder-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(244, 241, 236, 0.12);
  border-radius: 999px;
  color: rgba(244, 241, 236, 0.34);
  background: rgba(0, 0, 0, 0.18);
}

.guest-draft-placeholder-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.guest-collection-notice {
  margin-top: 18px;
}

.guest-collection-actions {
  margin-top: 18px;
}

.draft-grid.is-reordering {
  touch-action: none;
}

.draft-card.is-dragging {
  z-index: 6;
  border-color: rgba(255, 122, 26, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 0 2px rgba(255, 122, 26, 0.36);
  opacity: 0.86;
  transform: scale(0.985);
}

.draft-add-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.045), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #0e0e0e;
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.018);
  font-size: 12.5px;
  line-height: 1.2;
  text-align: center;
}

.draft-add-card svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-card.is-submitted {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 10, 0.52);
}

.draft-card.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 122, 10, 0.78), 0 18px 36px rgba(0, 0, 0, 0.34);
}

.draft-open {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.draft-select-target {
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.draft-card video,
.draft-card-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.draft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 38%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.drafts-page .draft-grid > .draft-card .draft-number {
  display: none;
}

.draft-number,
.draft-duration,
.draft-actions,
.draft-selected-marker,
.draft-meta {
  position: absolute;
  z-index: 3;
}

.draft-badge,
.draft-date {
  position: absolute;
  z-index: 3;
}

.draft-number,
.draft-duration,
.draft-badge,
.draft-date,
.draft-selected-marker {
  pointer-events: none;
}

.draft-badge {
  left: 10px;
  top: 10px;
}

.draft-date {
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #d8d8d8;
  font-size: 13px;
}

.draft-card.has-meta .draft-duration {
  left: auto;
  right: 10px;
  top: 10px;
  bottom: auto;
  width: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
}

.draft-meta {
  left: 9px;
  right: 8px;
  bottom: 10px;
  display: grid;
  gap: 3px;
  color: #fff;
  font-size: 13px;
  line-height: 1.18;
  pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.draft-meta strong,
.draft-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-meta span {
  color: rgba(255, 255, 255, 0.78);
}

.drafts-page .draft-meta strong {
  font-size: 11.5px;
  font-weight: 760;
}

.drafts-page .draft-meta .draft-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: rgba(244, 241, 236, 0.74);
  font-size: 9.5px;
  line-height: 1.15;
}

.drafts-page .draft-meta .draft-meta-line svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drafts-page .draft-meta .draft-meta-line span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drafts-page .draft-meta .draft-meta-line.is-actionable {
  pointer-events: auto;
}

.draft-meta-link {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--orange);
  background: transparent;
  font: inherit;
  font-weight: 760;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.draft-number {
  display: grid;
  place-items: center;
  left: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 760;
}

.draft-number.is-submitted {
  border-color: rgba(255, 122, 26, 0.6);
  color: #060606;
  background: var(--orange);
}

.draft-actions {
  right: 8px;
  top: 8px;
  display: grid;
  gap: 7px;
  pointer-events: auto;
}

.draft-selected-marker {
  display: grid;
  place-items: center;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #050505;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 140ms ease, transform 140ms ease;
}

.draft-card.is-selected .draft-selected-marker {
  opacity: 1;
  transform: scale(1);
}

.draft-selected-marker svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-submit-dock {
  position: static;
  z-index: auto;
  display: flex;
  justify-content: center;
  margin: 6px 0 22px;
  padding: 2px 0 calc(env(safe-area-inset-bottom) + 4px);
  pointer-events: auto;
}

.draft-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 360px);
  min-height: 44px;
  border: 1px solid rgba(255, 122, 26, 0.38);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--orange);
  background: rgba(8, 8, 8, 0.76);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(1.1);
  font-size: 14px;
  font-weight: 760;
  pointer-events: auto;
}

.draft-submit-button:not(:disabled) {
  color: #fff;
  background: rgba(255, 122, 26, 0.86);
  border-color: rgba(255, 122, 26, 0.72);
}

.draft-submit-button:disabled {
  color: rgba(244, 241, 236, 0.44);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 8, 0.62);
  opacity: 1;
}

.draft-submit-button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draft-icon-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
}

.draft-icon-button svg {
  width: 14px;
  height: 14px;
}

.draft-icon-button.is-active,
.draft-icon-button:focus-visible {
  border-color: var(--orange);
  color: #050505;
  background: var(--orange);
}

.draft-icon-button.danger {
  color: #fff;
}

.draft-icon-button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.linked-drafts-section {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

.linked-drafts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.linked-drafts-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 23px;
  line-height: 1.08;
  font-weight: 780;
}

.linked-drafts-chevron {
  display: inline-grid;
  place-items: center;
  color: rgba(244, 241, 236, 0.86);
}

.linked-drafts-chevron svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linked-participant {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.024);
}

.linked-participant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.linked-participant-head h3,
.linked-participant-head p {
  margin: 0;
}

.linked-participant-head h3 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.linked-draft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.linked-draft-card video {
  pointer-events: none;
}

.shared-draft-card .draft-duration {
  left: auto;
  right: 10px;
  top: 10px;
  bottom: auto;
  width: auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
}

.shared-draft-card .draft-date {
  bottom: 12px;
  font-size: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.shared-draft-preview-link {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
}

.shared-draft-preview-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shared-draft-owner {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 32px;
  display: grid;
  gap: 2px;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.shared-draft-owner strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shared-draft-owner span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draft-duration {
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.82);
}

.submission-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.submission-card .secondary-button {
  min-height: 46px;
}

.profile-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
}

.profile-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d8d8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 28px;
}

.avatar svg {
  stroke-width: 1.28;
}

.profile-list {
  display: grid;
  min-width: 0;
  gap: 0;
}

.profile-line,
.status-line {
  display: grid;
  grid-template-columns: minmax(118px, max-content) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  min-height: 38px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: var(--page-card-copy-size);
  line-height: 1.35;
}

.profile-line:last-child,
.status-line:last-child {
  border-bottom: 0;
}

.profile-line span,
.status-line span {
  color: var(--muted);
  font-size: 12.5px;
}

.profile-line strong,
.status-line strong {
  min-width: 0;
  grid-column: auto;
  justify-self: end;
  color: var(--text);
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.profile-card h2,
.profile-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.profile-card h3 svg {
  color: var(--orange);
  font-size: 18px;
  stroke-width: 1.35;
}

.profile-card .secondary-button {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
}

.profile-card .small,
.profile-card .muted {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.profile-actions {
  overflow: hidden;
  margin-top: 2px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.account-link-card.circle-builder {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: 0;
}

.circle-builder-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 4px 2px 2px;
}

.circle-builder-copy {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.circle-builder-title {
  display: grid;
  gap: 9px;
  justify-items: start;
}

.circle-builder-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 34px;
  line-height: 1.04;
  font-weight: 820;
}

.circle-builder-copy p {
  max-width: 430px;
  margin: 0;
  color: rgba(244, 241, 236, 0.84);
  font-size: 17px;
  line-height: 1.45;
}

.circle-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(244, 241, 236, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}

.circle-status-pill svg {
  width: 16px;
  height: 16px;
}

.circle-status-pill.is-ready {
  border-color: rgba(64, 214, 110, 0.32);
  color: var(--green);
  background: rgba(64, 214, 110, 0.075);
}

.circle-status-pill.is-required {
  border-color: rgba(255, 91, 85, 0.34);
  color: var(--red);
  background: rgba(255, 91, 85, 0.075);
}

.circle-hero-illustration {
  position: relative;
  width: 138px;
  height: 112px;
  justify-self: end;
  color: rgba(244, 241, 236, 0.42);
}

.circle-orbit {
  position: absolute;
  inset: 24px 2px 22px;
  border: 1px solid rgba(244, 241, 236, 0.2);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.circle-orbit::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.58), transparent);
}

.circle-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 241, 236, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.circle-node svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.55;
}

.circle-node-top {
  top: 1px;
  left: 52px;
}

.circle-node-left {
  top: 44px;
  left: 11px;
}

.circle-node-right {
  top: 42px;
  right: 7px;
}

.circle-node-main {
  right: 50px;
  bottom: 6px;
  border-color: rgba(255, 122, 26, 0.48);
  color: var(--orange);
  background: rgba(255, 122, 26, 0.075);
}

.circle-action-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(244, 241, 236, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(12, 12, 12, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.06);
}

.circle-card-head,
.circle-privacy-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.circle-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  color: var(--orange);
  background: rgba(255, 255, 255, 0.06);
}

.circle-card-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.7;
}

.circle-action-card h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 760;
}

.circle-action-card p {
  margin: 0;
  color: rgba(244, 241, 236, 0.68);
  font-size: 15px;
  line-height: 1.45;
}

.circle-code-field {
  position: relative;
  display: block;
}

.circle-code-field .input {
  min-height: 58px;
  padding: 15px 54px 15px 16px;
  font-size: 18px;
  letter-spacing: 0;
  background: rgba(0, 0, 0, 0.18);
}

.circle-code-dots {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  opacity: 0.72;
  background-image: radial-gradient(circle, rgba(244, 241, 236, 0.78) 0 2.7px, transparent 3px);
  background-size: 8px 8px;
}

.circle-primary-button {
  min-height: 58px;
  color: #140904;
  font-size: 18px;
}

.circle-outline-button {
  min-height: 54px;
  color: var(--orange);
  font-size: 18px;
}

.circle-choice-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  color: rgba(244, 241, 236, 0.7);
  font-size: 16px;
}

.circle-choice-divider span {
  height: 1px;
  background: rgba(244, 241, 236, 0.11);
}

.circle-choice-divider strong {
  font-weight: 650;
}

.circle-token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.circle-token-code {
  display: block;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 0, 0, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  overflow-wrap: anywhere;
}

.circle-current-card {
  gap: 14px;
}

.connected-groups {
  display: grid;
  gap: 8px;
}

.connected-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.024);
}

.connected-group strong,
.connected-group span {
  display: block;
  min-width: 0;
}

.connected-group strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.connected-group div > span {
  color: var(--muted);
}

.connected-group > .small,
.connected-members {
  grid-column: 1 / -1;
}

.connected-members {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.connected-member-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
}

.connected-member-row small {
  display: block;
  color: var(--muted);
}

.connected-group > .compact-button {
  justify-self: start;
}

@media (max-width: 560px) {
  .circle-builder-hero {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 10px;
  }

  .circle-builder-title h2 {
    font-size: 30px;
  }

  .circle-builder-copy p {
    font-size: 16px;
  }

  .circle-hero-illustration {
    width: 118px;
    height: 104px;
  }

  .circle-node-top {
    left: 43px;
  }

  .circle-node-main {
    right: 42px;
  }

  .circle-action-card {
    padding: 18px;
  }

  .circle-card-head,
  .circle-privacy-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
  }

  .circle-card-icon {
    width: 44px;
    height: 44px;
  }

  .circle-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .circle-action-card h3 {
    font-size: 18px;
  }

  .circle-token-row,
  .connected-member-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.account-link-alert {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 12px 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 122, 26, 0.045);
}

.account-link-alert-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 122, 26, 0.32);
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.06);
}

.account-link-alert-icon svg {
  width: 18px;
  height: 18px;
}

.account-link-alert strong {
  display: block;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.25;
}

.account-link-alert p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12.7px;
  line-height: 1.35;
}

.account-link-alert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 122, 26, 0.42);
  border-radius: var(--radius);
  color: var(--orange);
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.018);
  font-size: 14px;
  font-weight: 600;
}

.action-row:last-child {
  border-bottom: 0;
}

.action-row svg {
  color: var(--muted);
  font-size: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-card .media {
  aspect-ratio: 9 / 16;
  background: #111;
}

.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-body {
  padding: 12px;
}

.gallery-card-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.gallery-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.page.timeline-public .page-intro {
  margin-bottom: 28px;
}

.page.timeline-public .page-title {
  font-weight: 680;
}

.timeline-public-intro .kicker {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-public-intro .subtitle {
  max-width: 27rem;
  color: rgba(199, 194, 187, 0.9);
  font-size: 15px;
  line-height: 1.45;
}

.timeline-public-list {
  display: grid;
  gap: 0;
}

.timeline-public-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: stretch;
  min-height: 104px;
}

.timeline-public-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 36px;
  bottom: -7px;
  width: 1px;
  background: rgba(244, 241, 236, 0.2);
}

.timeline-public-icon {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 0;
  color: rgba(244, 241, 236, 0.9);
}

.timeline-public-icon::before {
  display: none;
}

.timeline-public-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 16px;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
}

.timeline-public-icon svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  margin-top: 3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-public-body {
  min-width: 0;
  padding: 0 0 0 22px;
}

.timeline-public-body h2 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.1;
}

.timeline-public-body p {
  margin: 0;
  color: rgba(199, 194, 187, 0.88);
  font-size: 13.5px;
  line-height: 1.34;
}

.timeline-public-body .timeline-public-date {
  margin-bottom: 7px;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  line-height: 1.15;
}

.page.jury-public .page-intro {
  margin-bottom: 18px;
}

.page.jury-public .page-title {
  font-weight: 680;
}

.jury-public-intro .kicker {
  margin-bottom: 9px;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jury-public-intro .subtitle {
  max-width: 27rem;
  color: rgba(199, 194, 187, 0.9);
  font-size: 14.5px;
  line-height: 1.38;
}

.jury-public-list {
  display: grid;
  gap: 11px;
}

.jury-public-member {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 82px;
}

.jury-public-avatar {
  position: relative;
  display: grid;
  place-items: start center;
  padding-top: 2px;
  color: rgba(244, 241, 236, 0.9);
}

.jury-public-avatar::before {
  display: none;
}

.jury-public-avatar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(244, 241, 236, 0.28);
}

.jury-public-avatar svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  margin-top: 3px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jury-public-body {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 0 0 0 22px;
}

.jury-public-body h2 {
  margin: 0 0 1px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.1;
}

.jury-public-body p {
  margin: 0;
  color: rgba(199, 194, 187, 0.88);
  font-size: 12.5px;
  line-height: 1.25;
}

.jury-public-body .jury-public-role {
  margin-bottom: 6px;
  color: var(--orange);
  font-size: var(--accent-meta-size);
  font-weight: var(--accent-meta-weight);
  line-height: 1.15;
}

.jury-members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.jury-member-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.jury-member-photo {
  min-height: 142px;
  background: #111;
}

.jury-member-photo img,
.jury-editor-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jury-member-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.045);
  font-size: 38px;
}

.jury-member-placeholder svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.jury-member-body {
  align-self: center;
  padding: 16px;
}

.jury-member-body h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.15;
}

.jury-member-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 10px 0 14px;
  border-bottom: 1px solid var(--line-soft);
}

.tab {
  min-height: 46px;
  color: var(--muted);
  background: transparent;
  border-bottom: 3px solid transparent;
}

.tab.is-active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.jury-shell {
  width: min(100%, 620px);
  margin: 0 auto;
  min-height: 100dvh;
  padding: 26px 10px calc(var(--footer-h) + env(safe-area-inset-bottom));
}

.jury-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.jury-top-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 78px;
  text-align: right;
}

.jury-code {
  text-align: center;
  font-size: clamp(22px, 7vw, 34px);
  letter-spacing: 0.08em;
}

.jury-budget {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.jury-budget div,
.jury-finalize {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.jury-budget div {
  display: grid;
  gap: 3px;
  min-height: 62px;
  padding: 10px;
  text-align: center;
}

.jury-budget strong {
  color: var(--text);
  font-size: 18px;
}

.jury-budget span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.jury-card {
  position: relative;
  overflow: hidden;
  min-height: min(68dvh, 740px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #111;
}

.jury-card video {
  width: 100%;
  height: min(68dvh, 740px);
  object-fit: cover;
}

.jury-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 22px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.jury-controls {
  display: grid;
  grid-template-columns: 58px 58px 1fr 58px 58px;
  align-items: center;
  gap: 10px;
}

.jury-score {
  text-align: center;
}

.jury-score strong {
  display: block;
  color: var(--orange);
  font-size: 28px;
  line-height: 1;
}

.jury-score span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jury-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.jury-finalize {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
}

.jury-finalize > svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.jury-finalize div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.jury-finalize strong {
  color: var(--text);
  font-size: 14px;
}

.jury-finalize span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.jury-finalize.is-done {
  justify-content: flex-start;
  border-color: rgba(85, 214, 137, 0.38);
}

.jury-bottom {
  position: sticky;
  bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.jury-bottom button {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 60px;
  color: var(--muted);
  background: transparent;
}

.jury-bottom button.is-active {
  color: var(--orange);
}

.jury-bottom svg {
  width: 26px;
  height: 26px;
}

.admin-shell {
  height: 100dvh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
  background: #050505;
  -webkit-overflow-scrolling: touch;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(18px);
}

.admin-header-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-title {
  display: grid;
  gap: 2px;
}

.admin-title strong {
  font-size: 18px;
}

.admin-title span {
  color: var(--muted);
  font-size: 12px;
}

.admin-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 12px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.admin-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.admin-tabs button.is-active {
  border-color: var(--orange);
  color: var(--orange);
}

.feedback-card {
  max-width: 760px;
  margin: 20px auto 0;
}

.feedback-form .textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

.feedback-file-field .input {
  min-height: auto;
  padding: 14px;
}

.observer-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.observer-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.observer-metric {
  display: grid;
  gap: 7px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.observer-metric span {
  color: var(--muted);
  font-size: 12px;
}

.observer-metric strong {
  color: var(--text);
  font-size: 30px;
  font-weight: 650;
  line-height: 1;
}

.observer-tabs {
  display: flex;
  gap: 8px;
  margin: 6px 0 18px;
  overflow-x: auto;
}

.observer-tabs button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.observer-tabs button.is-active {
  border-color: var(--orange);
  color: var(--orange);
}

.observer-recording-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.observer-recording-tile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.observer-recording-tile {
  background-color: #070707;
}

.observer-recording-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #070707;
  filter: brightness(0.82) contrast(1.18) saturate(1.05);
  pointer-events: none;
}

.observer-recording-video-preview {
  opacity: 0;
  transition: opacity 160ms ease;
}

.observer-recording-video-preview.is-ready {
  opacity: 1;
}

.observer-recording-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.observer-recording-placeholder svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
}

.observer-recording-modal-video {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 160ms ease;
}

.observer-recording-modal-video.is-ready {
  opacity: 1;
}

.observer-recording-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--orange);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: observerRecordingSpin 850ms linear infinite;
  pointer-events: none;
}

.observer-recording-modal-frame.is-ready .observer-recording-loader {
  opacity: 0;
  animation-play-state: paused;
}

.observer-recording-modal-frame:not(.is-ready) .preview-play-button {
  opacity: 0;
  pointer-events: none;
}

.observer-recording-tile .draft-duration {
  left: auto;
  right: 8px;
  top: 8px;
  bottom: auto;
  width: auto;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 11px;
}

@keyframes observerRecordingSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.observer-recording-author {
  position: absolute;
  z-index: 3;
  left: 9px;
  right: 9px;
  bottom: 9px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  pointer-events: none;
}

.observer-recording-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: auto;
  padding: max(18px, env(safe-area-inset-top)) 14px calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
}

.observer-recording-modal-inner {
  display: grid;
  grid-template-columns: minmax(0, 430px);
  gap: 14px;
  justify-content: center;
  width: min(100%, 520px);
  margin: 0 auto;
}

.observer-recording-modal-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050505;
}

.observer-recording-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.observer-close-button {
  right: 14px;
}

.observer-modal-author {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  pointer-events: none;
}

.observer-recording-info-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 16, 0.94);
}

.observer-recording-info-panel h2,
.observer-diagnostics-section h3 {
  margin: 0;
  color: var(--text);
}

.observer-recording-info-panel h2 {
  font-size: 18px;
}

.observer-diagnostics-section {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.observer-diagnostics-section h3 {
  font-size: 14px;
}

.observer-diagnostics-list {
  display: grid;
  gap: 7px;
}

.observer-diagnostic-row strong {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.35;
}

.observer-recording-card,
.observer-feedback-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.observer-recording-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  background: #050505;
}

.observer-recording-body,
.observer-feedback-card {
  padding: 14px;
}

.observer-recording-body h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
}

.observer-detail-list {
  display: grid;
  gap: 7px;
}

.observer-detail {
  display: grid;
  grid-template-columns: minmax(82px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
  font-size: 12px;
}

.observer-detail strong {
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.observer-feedback-list {
  display: grid;
  gap: 14px;
}

.observer-feedback-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.observer-feedback-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.observer-feedback-head strong {
  color: var(--text);
  font-size: 15px;
}

.observer-feedback-head span,
.observer-generated {
  color: var(--muted);
}

.observer-feedback-card p {
  margin: 0 0 14px;
  color: rgba(244, 241, 236, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.observer-screenshot-link {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.24);
}

.observer-screenshot-link img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.observer-feedback-info-panel {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.observer-empty {
  margin-top: 20px;
}

.observer-settings-form .admin-video-settings {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.observer-logout-card {
  margin-top: 14px;
}

@media (max-width: 759px) {
  .hero-feedback-cta {
    grid-template-columns: 1fr;
    gap: 13px;
    width: min(90vw, 460px);
    padding: 15px;
  }

  .hero-feedback-cta-button {
    width: 100%;
  }

  .observer-intro {
    display: grid;
  }

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

  .observer-detail {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .observer-recording-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .observer-recording-info-panel {
    width: min(100%, 430px);
  }
}

.admin-grid {
  display: grid;
  gap: 14px;
}

.contest-flow {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.admin-stage-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.admin-stage-card.is-active {
  border-color: rgba(255, 122, 10, 0.68);
  box-shadow: 0 0 0 1px rgba(255, 122, 10, 0.22);
}

.admin-stage-card.is-done {
  border-color: rgba(85, 214, 137, 0.28);
}

.admin-stage-card.is-upcoming {
  opacity: 0.78;
}

.admin-stage-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-stage-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--orange);
  background: rgba(255, 255, 255, 0.045);
}

.admin-stage-head svg {
  width: 22px;
  height: 22px;
}

.admin-stage-head div {
  display: grid;
  gap: 3px;
}

.admin-stage-head strong {
  color: var(--text);
  font-size: 18px;
}

.admin-stage-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.stage-stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 8px;
}

.stage-stat-list div,
.jury-admin-list div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.stage-stat-list span,
.jury-admin-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.stage-stat-list strong,
.jury-admin-list strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.jury-admin-list {
  display: grid;
  gap: 8px;
  width: 100%;
}

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

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
}

.admin-card {
  padding: 16px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  vertical-align: middle;
}

.data-table th {
  color: #d9d9d9;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.035);
}

.data-table td strong {
  color: var(--text);
}

.data-table .empty-table-cell {
  padding: 22px 12px;
  color: var(--muted);
  text-align: center;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tr.boundary-tie td {
  background: rgba(255, 122, 10, 0.08);
}

.mini-video {
  width: 46px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  background: #111;
}

.admin-work-preview {
  display: grid;
  gap: 8px;
  width: 104px;
}

.admin-work-video {
  width: 104px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #111;
}

.admin-work-preview .compact-button {
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  font-size: 12px;
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-text-field input,
.admin-text-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.admin-form textarea,
.admin-text-field textarea {
  resize: vertical;
  line-height: 1.4;
}

.admin-texts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-texts-form {
  display: grid;
  gap: 10px;
}

.admin-text-section {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.admin-text-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

.admin-text-section summary strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.admin-text-fields {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.admin-text-field {
  display: grid;
  gap: 7px;
}

.admin-text-field span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.settings-history-card {
  display: grid;
  gap: 12px;
}

.settings-history-card h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
}

.settings-history-grid {
  display: grid;
  gap: 14px;
}

.settings-history-list {
  display: grid;
  gap: 10px;
}

.settings-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.settings-history-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.settings-history-row strong {
  color: var(--text);
  font-size: 13px;
}

.settings-history-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.settings-history-row .compact-button {
  width: auto;
  flex: 0 0 auto;
}

.admin-texts-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.admin-video-settings {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.admin-video-settings h4 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.admin-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
}

.admin-form .admin-video-toggle {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 9 / 16;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #111;
}

.admin-video-toggle.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 122, 10, 0.52);
}

.admin-video-choice {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

.admin-video-choice video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-video-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 42%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.admin-video-choice input {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 4;
  width: 18px;
  min-height: 18px;
  accent-color: var(--orange);
}

.admin-video-toggle .draft-badge {
  left: 38px;
  top: 10px;
}

.admin-video-toggle .draft-date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 12px;
}

.admin-video-toggle.has-order-controls .draft-date {
  right: 58px;
}

.admin-video-order-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, 28px);
  gap: 5px;
}

.admin-video-order-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(244, 241, 236, 0.26);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(10px);
}

.admin-video-order-controls svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.admin-video-toggle .draft-icon-button {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
}

.admin-upload-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.form-upload-progress {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.form-upload-progress[hidden] {
  display: none;
}

.form-upload-progress span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-upload-progress progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.form-upload-progress progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.16);
}

.form-upload-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--orange);
}

.form-upload-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--orange);
}

.admin-jury-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.jury-member-editor {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.jury-editor-preview {
  width: 96px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #111;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  border-bottom: 1px solid var(--line-soft);
}

.switch-row:last-child {
  border-bottom: 0;
}

.switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 160ms ease, background 160ms ease;
}

.switch input:checked + span {
  border-color: rgba(255, 122, 10, 0.7);
}

.switch input:checked + span::after {
  transform: translateX(24px);
  background: var(--orange);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px);
  z-index: 100;
  transform: translateX(-50%) translateY(20px);
  width: min(calc(100% - 28px), 430px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 122, 10, 0.5);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.modal {
  width: min(100%, 520px);
  max-height: min(90dvh, 760px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101010;
  box-shadow: var(--shadow);
}

.modal h2 {
  margin: 0 0 10px;
}

.choice-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(16px);
}

.choice-modal {
  width: min(100%, 520px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(17, 17, 17, 0.96);
  box-shadow: var(--shadow);
}

.choice-modal h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
}

.choice-modal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.choice-modal .field {
  margin-top: 16px;
}

.choice-modal .input {
  min-height: 52px;
  padding-left: 14px;
}

.choice-modal .small {
  color: var(--muted);
  line-height: 1.35;
}

.choice-modal .form-error {
  margin-top: 8px;
  color: var(--red);
}

.choice-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.choice-modal .text-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 680;
}

.guest-replace-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  max-height: min(52dvh, 420px);
  overflow: auto;
}

.guest-replace-option {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.guest-replace-option:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.guest-replace-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 122, 24, 0.18);
  color: var(--orange);
  font-weight: 800;
}

.guest-replace-option strong,
.guest-replace-option small {
  display: block;
}

.guest-replace-option small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.25;
}

.video-save-backdrop {
  z-index: 140;
}

.video-save-modal {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: 20px;
}

.video-save-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.video-save-close svg {
  width: 20px;
  height: 20px;
}

.video-save-close svg,
.video-save-preview-placeholder svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-save-brand {
  display: flex;
  align-items: center;
  padding-right: 48px;
}

.video-save-brand .hero-title {
  color: var(--text);
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 320;
  line-height: 1;
  letter-spacing: 0;
}

.video-save-brand .hero-title span {
  color: var(--orange);
}

.video-save-preview {
  display: grid;
  place-items: center;
  width: min(100%, 204px);
  max-height: min(35dvh, 330px);
  aspect-ratio: 9 / 16;
  margin: 18px auto 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #050505;
  box-shadow: var(--shadow-soft);
}

.video-save-preview video,
.video-save-preview-placeholder {
  width: 100%;
  height: 100%;
}

.video-save-preview video {
  object-fit: contain;
}

.video-save-preview-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.video-save-preview-placeholder svg {
  width: 42px;
  height: 42px;
}

.video-save-meta {
  margin: 0 0 12px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.video-save-copy {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.video-save-copy h2 {
  margin: 0 0 5px;
  font-size: 22px;
  line-height: 1.08;
}

.video-save-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.video-save-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.video-save-actions .primary-button {
  min-height: 52px;
}

.video-save-actions button:disabled {
  opacity: 0.42;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 759px) {
  :root {
    --nav-h: 86px;
    --footer-h: 18px;
    --page-title-size: clamp(29px, 7vw, 36px);
    --page-copy-size: 14.75px;
    --page-small-size: 12px;
    --accent-meta-size: 12.5px;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  .page,
  .page.wide {
    padding: 20px max(16px, env(safe-area-inset-left)) calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px) max(16px, env(safe-area-inset-right));
  }

  .page-title {
    line-height: 1.01;
  }

  .subtitle,
  .body-copy {
    font-size: 14.75px;
    line-height: 1.52;
  }

  .language-switcher {
    margin-bottom: 12px;
  }

  .page-intro {
    margin-bottom: 14px;
  }

  .page-intro .page-title {
    margin-bottom: 11px;
  }

  .page.about .page-intro .page-title {
    font-size: 29px;
    line-height: 1.1;
  }

  .about-story {
    gap: 12px;
    padding-bottom: 22px;
  }

  .about-story p {
    font-size: 13.5px;
    line-height: 1.5;
  }

  .about-editorial-section {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 22px 0;
  }

  .about-editorial-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-editorial-body {
    gap: 9px;
    padding-left: 16px;
  }

  .about-editorial-body h2 {
    font-size: 16.75px;
  }

  .about-editorial-body p {
    font-size: 13px;
    line-height: 1.48;
  }

  .about-map-lines {
    gap: 5px;
    padding-left: 12px;
  }

  .about-map-lines span {
    font-size: 12.8px;
  }

  .about-closing h2 {
    font-size: 21px;
  }

  .page.faq-public .page-intro {
    margin-bottom: 24px;
  }

  .page.faq-public .page-title {
    max-width: 12em;
    font-size: 29px;
    line-height: 1.12;
  }

  .faq-public-intro .subtitle {
    font-size: 13.9px;
    line-height: 1.5;
  }

  .rules-faq-group {
    gap: 7px;
    padding: 20px 0 18px;
  }

  .rules-faq-group-head {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    min-height: 34px;
  }

  .rules-faq-group-icon {
    width: 30px;
    height: 30px;
  }

  .rules-faq-group-icon svg {
    width: 24px;
    height: 24px;
  }

  .rules-faq-group h3 {
    font-size: 16.5px;
  }

  .rules-faq-items {
    padding-left: 0;
  }

  .rules-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 10px;
    min-height: 50px;
    padding: 13px 0;
    font-size: 13.75px;
  }

  .rules-faq-toggle {
    width: 26px;
    height: 26px;
  }

  .rules-faq-toggle svg {
    width: 17px;
    height: 17px;
  }

  .rules-faq-answer {
    gap: 8px;
    margin-bottom: 18px;
    padding-left: 14px;
  }

  .rules-faq-answer p {
    font-size: 12.9px;
    line-height: 1.52;
  }

  .theme-line {
    margin-bottom: 15px;
    font-size: 15px;
  }

  .rule-row {
    min-height: 74px;
    padding: 12px 14px;
  }

  .draft-success-card,
  .draft-privacy-card,
  .empty-drafts-help {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .draft-success-icon,
  .draft-privacy-icon,
  .empty-drafts-help-icon {
    width: 42px;
    height: 42px;
  }

  .draft-success-icon svg,
  .draft-privacy-icon svg,
  .empty-drafts-help-icon svg {
    width: 21px;
    height: 21px;
  }

  .draft-success-card h2,
  .draft-privacy-card h2,
  .empty-drafts-help h2 {
    font-size: 15.5px;
  }

  .draft-success-card p,
  .draft-privacy-card p,
  .empty-drafts-help p {
    font-size: 13.4px;
    line-height: 1.45;
  }

  .empty-draft-slots {
    gap: 9px;
  }

  .empty-draft-plus {
    width: 46px;
    height: 46px;
  }

  .empty-draft-plus svg {
    width: 24px;
    height: 24px;
  }

  .empty-draft-add strong {
    font-size: 12.5px;
  }

  .empty-draft-image svg {
    width: 34px;
    height: 34px;
  }

  .empty-draft-line {
    height: 7px;
  }

  .bottom-nav {
    min-height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding: 2px max(4px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-right));
  }

  .bottom-nav-inner {
    gap: 0;
  }

  .nav-item {
    grid-template-rows: 58px auto;
    min-width: 0;
    min-height: 72px;
    padding: 2px 1px;
    font-size: 10.8px;
    line-height: 1.1;
  }

  .nav-item span:last-child {
    max-width: min(78px, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-item svg {
    width: 41px;
    height: 41px;
  }

  .nav-key-home svg {
    width: 46px;
    height: 43px;
  }

  .nav-key-about svg {
    width: 37px;
    height: 37px;
  }

  .nav-key-rules svg,
  .nav-key-faq svg {
    width: 43px;
    height: 43px;
  }

  .nav-key-profile svg {
    width: 47px;
    height: 44px;
  }

  .nav-item.capture .capture-ring {
    width: 53px;
    height: 53px;
  }

  .nav-item.capture svg {
    width: 53px;
    height: 53px;
  }

  .bottom-nav-brand {
    min-height: 14px;
    margin-top: 4px;
    font-size: 10px;
  }

  .home-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.62) 67%, #030303 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.14) 55%, rgba(0, 0, 0, 0.42));
  }

  .hero-content {
    width: 100%;
    padding: 18px 20px calc(var(--nav-h) + env(safe-area-inset-bottom) + 4px);
  }

  .hero-bottom {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .hero-partners {
    width: min(100%, 460px);
    margin-top: 5px;
  }

  .hero-partners-title {
    margin-bottom: 13px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .hero-partner-logo {
    min-height: 45px;
    padding: 0 13px;
  }

  .hero-partner-logo + .hero-partner-logo::before {
    top: 4px;
    bottom: 4px;
  }

  .hero-partner-bnp img {
    width: min(100%, 114px);
  }

  .hero-partner-pko img {
    width: min(100%, 94px);
    max-height: 38px;
    transform: translateY(-2px);
  }

  .hero-partner-thanks {
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .hero-partner-prize {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .hero-prize-and {
    letter-spacing: 0.13em;
  }

  .hero-prize-times {
    margin-right: 0.16em;
    margin-left: 0.16em;
  }

  .hero-bottom .hero-title {
    font-size: 25px;
    line-height: 1;
  }

  .hero-brand-tagline {
    margin-bottom: 8px;
    font-size: 58px;
  }

  .hero-brand {
    gap: 10px;
    margin-left: 18px;
  }

  .hero-logo-mark {
    width: 40px;
    height: 40px;
  }

  .hero-theme-line {
    max-width: 100%;
    margin: 12px 0 15px;
    font-size: 13.5px;
    line-height: 1.38;
    letter-spacing: 0;
  }

  .hero-bottom .subtitle {
    max-width: 100%;
    margin-bottom: 15px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .hero-chip-row {
    width: 100%;
    margin: 1px auto 12px;
  }

  .hero-chip-row-prizes {
    width: min(100%, 360px);
  }

  .hero-stat {
    gap: 0;
    min-height: 40px;
    padding: 3px 6px 0;
  }

  .hero-stat span {
    font-size: 9px;
    letter-spacing: 0.08em;
    margin-top: -2px;
  }

  .hero-stat strong {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .hero-chip-row-prizes .hero-stat strong {
    font-size: 19px;
  }

  .hero-links .primary-button,
  .hero-links .ghost-button {
    width: min(100%, 360px);
  }

  @media (max-width: 380px) {
    .hero-partner-logo {
      padding: 0 8px;
    }

    .hero-partner-bnp img {
      width: min(100%, 98px);
    }

    .hero-partner-pko img {
      width: min(100%, 82px);
      max-height: 32px;
    }

    .hero-partner-prize {
      font-size: 11px;
    }
  }

  .draft-grid,
  .linked-draft-grid,
  .gallery-grid {
    gap: 9px;
  }

  .draft-alert-card {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .draft-alert-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .account-link-alert {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .account-link-alert-link {
    grid-column: 2;
    justify-self: start;
  }

  .profile-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .avatar {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  .profile-line,
  .status-line {
    grid-template-columns: minmax(96px, max-content) minmax(0, 1fr);
    gap: 10px;
  }

  .capture-screen,
  .preview-stage,
  .pending-recording-stage {
    --pe-stage-x: 14px;
    --pe-stage-gap: 8px;
    --pe-film-width: min(100%, 390px, calc((100dvh - 204px) * 9 / 16));
  }

  .pending-recording-stage.is-guest {
    --pe-pending-actions-height: 102px;
    --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-pending-reserved-height)) * 9 / 16));
  }

  .camera-stage {
    padding: calc(var(--pe-stage-top) + var(--pe-top-row-height) + var(--pe-stage-gap)) var(--pe-stage-x) calc(env(safe-area-inset-bottom) + 112px);
  }

  .capture-frame,
  .preview-frame,
  .pending-recording-frame {
    width: var(--pe-film-width);
    height: auto;
  }

  .capture-controls {
    bottom: calc(env(safe-area-inset-bottom) + 20px);
    grid-template-columns: minmax(62px, 1fr) 96px minmax(62px, 1fr);
    gap: 8px;
    padding: 0 14px;
  }

  .capture-record-group .small {
    max-width: 96px;
  }

  .record-title {
    max-width: 96px;
    font-size: 12px;
  }

  .record-button {
    width: 78px;
    height: 78px;
  }

  .record-button::before {
    width: 58px;
    height: 58px;
  }

  .record-button.is-recording::before {
    width: 48px;
    height: 48px;
  }

  .capture-side-action {
    min-height: 78px;
  }

  .camera-lens-control {
    bottom: 42px;
    grid-template-rows: 44px auto;
    width: max-content;
    max-width: calc(100vw - 16px);
    min-height: 0;
  }

  .camera-lens-frame {
    gap: 7px;
    width: auto;
    height: 44px;
  }

  .camera-lens-option {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .camera-lens-option span {
    width: 30px;
    height: 30px;
  }

  .preview-stage {
    gap: var(--pe-stage-gap);
    padding-right: var(--pe-stage-x);
    padding-left: var(--pe-stage-x);
  }

  .feed-preview-stage {
    --pe-preview-meta-height: 70px;
    --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-preview-reserved-height)) * 9 / 16));
  }

  .feed-preview-stage.has-location-cta {
    --pe-preview-meta-height: 136px;
  }

  .pending-recording-stage {
    --pe-pending-meta-height: 70px;
    --pe-pending-actions-height: 46px;
    --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-pending-reserved-height)) * 9 / 16));
    gap: var(--pe-stage-gap);
    padding-right: var(--pe-stage-x);
    padding-left: var(--pe-stage-x);
  }

  .pending-recording-stage.is-guest {
    --pe-pending-actions-height: 102px;
  }

  .pending-recording-top {
    width: var(--pe-film-width);
    min-height: var(--pe-top-row-height);
  }

  .pending-recording-heading h1 {
    font-size: 15px;
  }

  .pending-recording-heading p {
    margin-top: 2px;
    font-size: 11px;
  }

  .preview-frame {
    height: auto;
  }

  .preview-panel {
    padding: 0;
  }

  .preview-bottom-actions {
    grid-template-columns: minmax(56px, 1fr) minmax(118px, 1.35fr) minmax(56px, 1fr);
    gap: 8px;
  }

  .pending-recording-actions {
    grid-template-columns: minmax(88px, 0.82fr) minmax(136px, 1.5fr);
    gap: 8px;
    width: var(--pe-film-width);
  }

  .pending-recording-delete,
  .pending-recording-save,
  .pending-recording-collection {
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
  }

  .pending-recording-delete svg,
  .pending-recording-save svg,
  .pending-recording-collection svg {
    width: 19px;
    height: 19px;
  }

  .pending-recording-error {
    width: var(--pe-film-width);
  }

  .preview-capture-button,
  .preview-next-button {
    padding: 0 16px;
    font-size: 13px;
  }

  .preview-foot-action {
    min-height: 52px;
  }

  @media (max-height: 720px) {
    .capture-screen,
    .preview-stage {
      --pe-film-width: min(100%, 390px, calc((100dvh - 176px) * 9 / 16));
    }

    .feed-preview-stage {
      --pe-stage-top: max(18px, calc(env(safe-area-inset-top) + 8px));
      --pe-stage-gap: 6px;
      --pe-preview-meta-height: 58px;
      --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-preview-reserved-height)) * 9 / 16));
      gap: var(--pe-stage-gap);
      padding-top: max(18px, calc(env(safe-area-inset-top) + 8px));
    }

    .feed-preview-stage.has-location-cta {
      --pe-preview-meta-height: 126px;
    }

    .pending-recording-stage {
      --pe-stage-top: max(18px, calc(env(safe-area-inset-top) + 8px));
      --pe-stage-gap: 6px;
      --pe-top-row-height: 38px;
      --pe-pending-meta-height: 58px;
      --pe-pending-actions-height: 42px;
      --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-pending-reserved-height)) * 9 / 16));
      gap: var(--pe-stage-gap);
      padding-top: max(18px, calc(env(safe-area-inset-top) + 8px));
      padding-bottom: calc(env(safe-area-inset-bottom) + 8px);
    }

    .pending-recording-stage.is-guest {
      --pe-pending-actions-height: 92px;
    }

    .pending-recording-top {
      min-height: var(--pe-top-row-height);
    }

    .pending-recording-heading h1 {
      font-size: 15px;
    }

    .pending-recording-heading p {
      margin-top: 2px;
      font-size: 11px;
    }

    .preview-meta,
    .pending-recording-meta {
      gap: 1px;
      padding: 7px 10px;
      font-size: 11px;
      line-height: 1.2;
    }

    .preview-meta > span,
    .pending-recording-meta > span {
      grid-template-columns: 14px minmax(0, 1fr);
      gap: 6px;
    }

    .preview-meta svg,
    .pending-recording-meta svg {
      width: 13px;
      height: 13px;
    }

    .pending-recording-frame {
      width: var(--pe-film-width);
    }

    .pending-recording-delete,
    .pending-recording-save,
    .pending-recording-collection {
      min-height: var(--pe-pending-actions-height);
      padding: 0 10px;
      font-size: 12.5px;
    }

    .pending-recording-delete svg,
    .pending-recording-save svg,
    .pending-recording-collection svg {
      width: 18px;
      height: 18px;
    }
  }

  .jury-shell {
    width: 100%;
    padding: 14px 8px calc(var(--footer-h) + env(safe-area-inset-bottom));
  }

  .jury-top {
    grid-template-columns: 44px 1fr auto;
    gap: 6px;
    margin-bottom: 8px;
  }

  .jury-top-actions {
    min-width: 60px;
  }

  .jury-card {
    min-height: min(62dvh, 620px);
  }

  .jury-card video {
    height: min(62dvh, 620px);
  }

  .jury-overlay {
    padding: 14px 10px 16px;
  }

  .jury-controls {
    grid-template-columns: 48px 48px 1fr 48px 48px;
    gap: 6px;
  }

  .circle-button.lg {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .jury-score strong {
    font-size: 24px;
  }

  .jury-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  .jury-bottom {
    margin-inline: -8px;
  }

  .admin-header-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 12px;
    gap: 10px;
  }

  .admin-title strong {
    font-size: 16px;
  }

  .admin-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-tools {
    width: 100%;
    justify-content: space-between;
  }

  .admin-tabs {
    gap: 6px;
    padding: 0 12px 10px;
    scroll-snap-type: x mandatory;
  }

  .admin-tabs button {
    min-width: 104px;
    min-height: 36px;
    padding: 8px 10px;
    scroll-snap-align: start;
  }

  .admin-grid.metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric,
  .admin-card {
    padding: 12px;
  }

  .metric strong {
    font-size: 23px;
  }

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

  .inline-actions .compact-button {
    width: 100%;
  }

  .settings-history-row {
    display: grid;
    gap: 10px;
  }

  .settings-history-row .compact-button {
    width: 100%;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .data-table {
    min-width: 0;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    margin-bottom: 10px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
  }

  .data-table td {
    display: grid;
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 10px 11px;
    border-bottom: 1px solid var(--line-soft);
    overflow-wrap: anywhere;
  }

  .data-table td::before {
    content: attr(data-label);
    color: var(--dim);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .data-table .empty-table-cell {
    display: block;
    text-align: center;
  }

  .data-table .empty-table-cell::before {
    content: "";
  }

  .data-table td select,
  .data-table td .compact-button {
    width: 100%;
  }

  .mini-video {
    width: 56px;
    height: 96px;
  }

  .admin-form {
    gap: 10px;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea,
  .admin-text-field input,
  .admin-text-field textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .admin-text-section summary {
    min-height: 50px;
    padding: 12px;
  }

  .admin-text-fields {
    padding: 0 12px 12px;
  }

  .jury-member-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 130px;
  }

  .jury-member-photo {
    min-height: 130px;
  }

  .jury-member-body {
    padding: 12px;
  }

  .jury-member-body h2 {
    font-size: 17px;
  }

  .modal-backdrop {
    place-items: end center;
    padding: 0;
  }

  .preview-side-nav {
    display: none;
  }

  .modal {
    width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

@media (min-width: 520px) and (max-width: 759px) {
  .draft-grid,
  .linked-draft-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .button-row.single {
    grid-template-columns: 1fr;
  }
}

@media (min-height: 700px) {
  .hero-top {
    margin-bottom: 0;
  }
}

@media (max-height: 699px) {
  .hero-content {
    padding-top: 22px;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 4px);
  }

  .hero-top {
    margin-bottom: 0;
  }

  .hero-partners {
    margin-top: 3px;
  }

  .hero-partner-thanks {
    margin-top: 6px;
  }

  .hero-partner-prize {
    margin-top: 5px;
  }

  .hero-bottom .subtitle {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.42;
  }

  .hero-theme-line {
    margin-bottom: 8px;
  }

  .hero-bottom .hero-chip-row {
    margin: 6px 0 12px;
  }

  .hero-bottom .primary-button {
    min-height: 54px;
  }
}

@media (min-width: 760px) {
  .page {
    padding-top: 24px;
  }

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

  .admin-video-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  }

  .admin-tabs button {
    width: 100%;
  }

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

  .admin-grid.metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .modal-backdrop {
    place-items: center;
  }
}

@media (max-width: 390px) {
  .page {
    padding-inline: 16px;
  }

  .page.about .about-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 70px;
  }

  .page.about .about-card .rule-icon {
    font-size: 23px;
  }

  .page.about .about-card .rule-icon::after {
    top: 10px;
    bottom: 10px;
  }

  .about-card-content {
    padding: 8px 12px 8px 14px;
  }

  .page.about .about-card h3 {
    font-size: 15px;
  }

  .page.about .about-card p,
  .about-card-link {
    font-size: 12.85px;
  }

  .page.timeline-public .page-intro,
  .page.jury-public .page-intro {
    margin-bottom: 18px;
  }

  .timeline-public-item,
  .jury-public-member,
  .rules-public-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .timeline-public-item {
    min-height: 98px;
  }

  .jury-public-member {
    min-height: 78px;
  }

  .rules-public-item {
    min-height: 82px;
  }

  .rules-public-list {
    gap: 7px;
  }

  .timeline-public-item:not(:last-child)::before {
    left: 31px;
    top: 32px;
    bottom: -4px;
  }

  .timeline-public-icon::after {
    bottom: 14px;
  }

  .timeline-public-icon svg,
  .jury-public-avatar svg,
  .rules-public-icon svg {
    width: 23px;
    height: 23px;
    margin-top: 2px;
  }

  .timeline-public-body,
  .jury-public-body,
  .rules-public-body {
    padding: 2px 0 11px 18px;
  }

  .timeline-public-body h2,
  .jury-public-body h2,
  .rules-public-body h2 {
    font-size: 16px;
  }

  .timeline-public-body p,
  .jury-public-body p,
  .rules-public-body p {
    font-size: 12.85px;
    line-height: 1.34;
  }

  .page.faq-public .page-title {
    max-width: 12em;
    font-size: 28px;
    line-height: 1.12;
  }

  .faq-public-intro .subtitle {
    font-size: 13.75px;
    line-height: 1.5;
  }

  .rules-faq-group {
    gap: 7px;
    padding: 20px 0 18px;
  }

  .rules-faq-group-head {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    min-height: 34px;
  }

  .rules-faq-group-icon {
    width: 30px;
    height: 30px;
  }

  .rules-faq-group-icon svg {
    width: 24px;
    height: 24px;
  }

  .rules-faq-group h3 {
    font-size: 16.5px;
  }

  .rules-faq-items {
    padding-left: 0;
  }

  .rules-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 10px;
    min-height: 50px;
    padding: 13px 0;
    font-size: 13.75px;
  }

  .rules-faq-toggle {
    width: 26px;
    height: 26px;
  }

  .rules-faq-toggle svg {
    width: 17px;
    height: 17px;
  }

  .rules-faq-answer {
    gap: 8px;
    margin-bottom: 18px;
    padding-left: 14px;
  }

  .rules-faq-answer p {
    font-size: 12.9px;
    line-height: 1.52;
  }

  .jury-member-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 122px;
  }

  .jury-member-photo {
    min-height: 122px;
  }

  .hero-content {
    padding-inline: 24px;
  }

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

  .jury-controls {
    grid-template-columns: 50px 50px 1fr 50px 50px;
    gap: 7px;
  }

  .circle-button.lg {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }
}

@media (min-width: 431px) {
  :root {
    --nav-h: 78px;
    --footer-h: 16px;
    --page-title-size: clamp(26px, 7vw, 32px);
    --page-copy-size: 13.75px;
    --page-small-size: 12px;
    --accent-meta-size: 11.75px;
  }

  body {
    overflow-x: hidden;
  }

  #app {
    width: var(--pe-phone-shell-current-width);
    max-width: var(--pe-phone-shell-width);
  }

  .footer,
  .bottom-nav,
  .capture-screen,
  .preview-stage,
  .pending-recording-stage,
  .observer-recording-modal,
  .modal-backdrop,
  .choice-modal-backdrop {
    right: auto;
    left: var(--pe-phone-shell-left);
    width: var(--pe-phone-shell-current-width);
  }

  .page,
  .page.wide {
    width: 100%;
    padding: 20px max(16px, env(safe-area-inset-left)) calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px) max(16px, env(safe-area-inset-right));
  }

  .hero-europe-map-shape,
  .hero-europe-map-sweep,
  .hero-europe-map-cities {
    left: 50%;
    top: 31%;
    width: 512px;
    max-width: 119.06%;
  }

  .hero-content {
    width: 100%;
    padding: 17px 20px calc(var(--nav-h) + env(safe-area-inset-bottom) + 4px);
  }

  .status-dot {
    gap: 9px;
    font-size: 10px;
  }

  .status-dot::before {
    flex-basis: 7px;
    width: 7px;
    height: 7px;
  }

  .hero-partners {
    width: 100%;
    margin: 8px 0 0;
    transform: none;
  }

  .hero-partners-title {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .hero-partner-logos-two {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-partner-logos-two .hero-partner-open {
    display: flex;
  }

  .hero-partner-logo {
    min-height: 38px;
    padding: 0 5px;
  }

  .hero-partner-logo + .hero-partner-logo::before {
    top: 3px;
    bottom: 3px;
  }

  .hero-partner-bnp img {
    width: min(100%, 88px);
  }

  .hero-partner-pko img {
    width: min(100%, 78px);
    max-height: 31px;
    transform: translateY(-1px);
  }

  .hero-bottom {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .hero-bottom .hero-title {
    font-size: 20px;
    line-height: 1;
  }

  .hero-brand-tagline {
    margin-bottom: 6px;
    font-size: 42px;
    line-height: 0.96;
  }

  .hero-brand {
    gap: 8px;
    margin-left: 0;
  }

  .hero-theme-line {
    max-width: 100%;
    margin: 8px 0 11px;
    font-size: 12.15px;
    line-height: 1.34;
    letter-spacing: 0;
  }

  .hero-chip-row-prizes {
    width: 100%;
    margin: 0 auto 6px;
  }

  .hero-stat {
    min-height: 34px;
    padding: 2px 6px 0;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-chip-row-prizes .hero-stat strong {
    font-size: 21px;
  }

  .hero-stat span {
    margin-top: -1px;
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .bottom-nav {
    min-height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding: 2px max(4px, env(safe-area-inset-left)) calc(4px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-right));
  }

  .bottom-nav-inner {
    width: 100%;
    gap: 0;
  }

  .nav-item {
    grid-template-rows: 50px auto;
    min-width: 0;
    min-height: 64px;
    padding: 2px 1px;
    font-size: 9.7px;
    line-height: 1.1;
  }

  .nav-item span:last-child {
    max-width: min(78px, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-item svg {
    width: 35px;
    height: 35px;
  }

  .nav-key-home svg {
    width: 40px;
    height: 38px;
  }

  .nav-key-about svg {
    width: 32px;
    height: 32px;
  }

  .nav-key-rules svg,
  .nav-key-faq svg {
    width: 37px;
    height: 37px;
  }

  .nav-key-profile svg {
    width: 40px;
    height: 38px;
  }

  .nav-item.capture .capture-ring,
  .nav-item.capture svg {
    width: 47px;
    height: 47px;
  }

  .bottom-nav-brand {
    min-height: 12px;
    margin-top: 2px;
    font-size: 9px;
  }

  .draft-grid,
  .linked-draft-grid,
  .gallery-grid,
  .grid.two,
  .admin-grid.two,
  .admin-grid.three,
  .settings-history-grid,
  .admin-video-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-grid.metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-tabs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 0 12px 10px;
    scroll-snap-type: x mandatory;
  }

  .admin-tabs button {
    flex: 0 0 auto;
    width: auto;
    min-width: 104px;
    min-height: 36px;
    padding: 8px 10px;
    scroll-snap-align: start;
  }

  .admin-header-inner {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px 12px;
    gap: 10px;
  }

  .admin-tools {
    width: 100%;
    justify-content: space-between;
  }

  .capture-screen,
  .preview-stage,
  .pending-recording-stage {
    --pe-stage-x: 14px;
    --pe-stage-gap: 8px;
    --pe-film-width: min(100%, 390px, calc((100dvh - 204px) * 9 / 16));
  }

  .pending-recording-stage.is-guest {
    --pe-pending-actions-height: 102px;
    --pe-film-width: min(100%, 390px, calc((100dvh - var(--pe-pending-reserved-height)) * 9 / 16));
  }

  .camera-stage {
    padding: calc(var(--pe-stage-top) + var(--pe-top-row-height) + var(--pe-stage-gap)) var(--pe-stage-x) calc(env(safe-area-inset-bottom) + 112px);
  }

  .capture-controls {
    bottom: calc(env(safe-area-inset-bottom) + 20px);
    grid-template-columns: minmax(62px, 1fr) 96px minmax(62px, 1fr);
    gap: 8px;
    padding: 0 14px;
  }

  .record-button {
    width: 78px;
    height: 78px;
  }

  .record-button::before {
    width: 58px;
    height: 58px;
  }

  .modal-backdrop {
    place-items: end center;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

/* Stable home hero typography profiles for short phones, large phones and desktop phone-shell. */
.home-hero {
  --home-hero-tagline-size: 58px;
  --home-hero-switch-size: 29px;
  --home-hero-tagline-leading: 0.9;
  --home-hero-tagline-margin: 0 0 8px;
  --home-hero-logo-size: 25px;
  --home-hero-brand-gap: 10px;
  --home-hero-brand-offset: 18px;
  --home-hero-copy-size: 13.5px;
  --home-hero-copy-leading: 1.38;
  --home-hero-copy-margin: 12px 0 15px;
}

.home-hero .hero-brand-tagline {
  margin: var(--home-hero-tagline-margin);
  font-size: var(--home-hero-tagline-size);
  line-height: var(--home-hero-tagline-leading);
}

.home-hero .hero-brand {
  gap: var(--home-hero-brand-gap);
  justify-content: center;
  width: 100%;
  margin-left: 0;
}

.home-hero .hero-bottom .hero-title {
  font-size: var(--home-hero-logo-size);
}

.home-hero .hero-theme-line {
  margin: var(--home-hero-copy-margin);
  font-size: var(--home-hero-copy-size);
  line-height: var(--home-hero-copy-leading);
}

@media (min-width: 431px) and (hover: hover) and (pointer: fine) {
  .home-hero {
    --home-hero-tagline-size: 43px;
    --home-hero-switch-size: 29px;
    --home-hero-tagline-leading: 0.96;
    --home-hero-tagline-margin: 0 0 6px;
    --home-hero-logo-size: 21px;
    --home-hero-brand-gap: 8px;
    --home-hero-brand-offset: 0;
    --home-hero-copy-size: 12.35px;
    --home-hero-copy-leading: 1.35;
    --home-hero-copy-margin: 8px 0 11px;
  }
}

@media (max-height: 720px) {
  .home-hero {
    --home-hero-tagline-size: 51px;
    --home-hero-switch-size: 29px;
    --home-hero-tagline-leading: 0.88;
    --home-hero-tagline-margin: 0 0 6px;
    --home-hero-logo-size: 23px;
    --home-hero-brand-offset: 14px;
    --home-hero-copy-size: 12.4px;
    --home-hero-copy-leading: 1.32;
    --home-hero-copy-margin: 9px 0 10px;
  }
}

@media (max-height: 640px), (max-width: 360px) {
  .home-hero {
    --home-hero-tagline-size: 46px;
    --home-hero-switch-size: 27px;
    --home-hero-tagline-leading: 0.88;
    --home-hero-logo-size: 21px;
    --home-hero-brand-gap: 8px;
    --home-hero-brand-offset: 10px;
    --home-hero-copy-size: 11.7px;
    --home-hero-copy-leading: 1.28;
    --home-hero-copy-margin: 8px 0 9px;
  }
}

@media (min-width: 431px) and (max-width: 759px) and (hover: none) and (pointer: coarse) {
  .home-hero {
    --home-hero-tagline-size: 60px;
    --home-hero-switch-size: 29px;
    --home-hero-tagline-leading: 0.89;
    --home-hero-tagline-margin: 0 0 8px;
    --home-hero-logo-size: 26px;
    --home-hero-brand-gap: 10px;
    --home-hero-brand-offset: 18px;
    --home-hero-copy-size: 13.9px;
    --home-hero-copy-leading: 1.38;
    --home-hero-copy-margin: 12px 0 15px;
  }
}

@media (min-height: 860px) and (max-width: 759px) {
  .home-hero {
    --home-hero-tagline-size: 63px;
    --home-hero-switch-size: 29px;
    --home-hero-logo-size: 27px;
    --home-hero-copy-size: 14.25px;
    --home-hero-copy-leading: 1.42;
    --home-hero-copy-margin: 13px 0 17px;
  }
}

body[data-site-variant="display"] .home-hero {
  --home-hero-switch-size: 29px;
  --home-hero-tagline-margin: 0 0 10px;
}

body[data-site-variant="display"] .status-dot {
  font-size: 12.5px;
  text-transform: none;
}

body[data-site-variant="display"] .status-dot span {
  display: inline;
}

body[data-site-variant="display"] .status-display-date {
  display: inline;
  color: var(--orange);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

body[data-site-variant="display"] .language-switcher {
  min-height: 20px;
  gap: 1px;
  padding: 1px;
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

body[data-site-variant="display"] .language-switcher button {
  min-width: 23px;
  min-height: 17px;
  font-size: 9.5px;
  font-weight: 740;
}

@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  body[data-site-variant="display"] {
    --pe-phone-shell-current-width: min(100vw, 56.25dvh);
    --pe-phone-shell-left: calc((100vw - var(--pe-phone-shell-current-width)) / 2);
    background: #050505;
  }

  body[data-site-variant="display"] #app {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }
}

@media (max-height: 640px), (max-width: 360px) {
  body[data-site-variant="display"] .home-hero {
    --home-hero-switch-size: 27px;
  }
}

.drafts-page .draft-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.drafts-page .linked-draft-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 390px) {
  .drafts-head {
    gap: 8px;
  }

  .drafts-title {
    font-size: 27px;
  }

  .drafts-count {
    font-size: 13.5px;
  }

  .drafts-submit-link {
    max-width: 112px;
    gap: 5px;
    padding-top: 4px;
    font-size: 12px;
  }

  .drafts-submit-link svg {
    width: 14px;
    height: 14px;
  }

  .draft-deadline-note {
    margin: 22px 0 22px;
    padding-left: 18px;
    font-size: 12px;
  }

  .drafts-page .draft-grid {
    gap: 9px;
  }

  .drafts-page .linked-draft-grid {
    gap: 9px;
  }

  .draft-actions {
    top: 7px;
    right: 7px;
  }

  .draft-icon-button {
    width: 26px;
    height: 26px;
  }

  .draft-icon-button svg {
    width: 13px;
    height: 13px;
  }

  .draft-meta {
    left: 8px;
    right: 7px;
    bottom: 9px;
    gap: 3px;
  }

  .drafts-page .draft-meta strong {
    font-size: 10.5px;
  }

  .drafts-page .draft-meta .draft-meta-line {
    gap: 3px;
    font-size: 9px;
  }

  .drafts-page .draft-meta .draft-meta-line svg {
    width: 9.5px;
    height: 9.5px;
  }

  .draft-add-card {
    gap: 8px;
    font-size: 11.5px;
  }

  .draft-add-card svg {
    width: 30px;
    height: 30px;
  }

  .draft-capacity-note p {
    font-size: 12px;
  }

  .linked-drafts-head h2 {
    font-size: 22px;
  }
}
