/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/font-0-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/font-0-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/font-0-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/font-0-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/font-1-0.woff2) format('woff2');
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

:root {
  color-scheme:dark; font-family:Inter,system-ui,sans-serif; font-size:14px;
  --base:#0b1111; --surface:#111a19; --layer:#172220; --edge:#273632;
  --text:#f0f6f3; --muted:#a4b5af; --dim:#82938d; --accent:#a8f3bc; --ink:#112417;
  background:var(--base); color:var(--text); font-synthesis:none;
}
* {box-sizing:border-box}
body {margin:0; min-width:320px}
h1,h2,h3,p {margin:0}
h1,h2,h3,strong {letter-spacing:-.035em}
p {line-height:1.6}
a {text-decoration:none; color:inherit}
button,input,select,textarea {font:inherit}
button,summary {cursor:pointer}
button:disabled {opacity:.55; cursor:not-allowed}
img {max-width:100%; display:block}
[hidden] {display:none!important}
:focus-visible {outline:2px solid var(--accent); outline-offset:3px}
.icon {font-family:"Material Symbols Rounded",sans-serif; font-weight:400; font-size:20px; line-height:1; font-feature-settings:"liga"; font-synthesis:none; white-space:nowrap; flex-shrink:0; display:inline-block}
.frame {width:min(1180px,100% - 56px); margin-inline:auto}
.top {border-bottom:1px solid #1f2d29; background:#0c1413}
.top-inner {display:flex; align-items:center; justify-content:space-between; min-height:74px; gap:20px}
.logo {display:inline-flex; align-items:center; gap:11px; flex-shrink:0}
.mark {display:grid; place-items:center; width:41px; height:41px; border-radius:13px; background:#a8f3bc; color:#113320; box-shadow:0 3px 16px #6afd9729}
.mark .icon {font-size:23px}
.logo strong {display:block; font-weight:770; font-size:18px; line-height:1.04; color:#f2f8f4}
.logo small {display:block; color:#abcec0; font-size:9px; letter-spacing:.17em; margin-top:4px; font-weight:700}
.top-links {display:flex; align-items:center; gap:25px; font-size:13px; font-weight:600; color:var(--muted)}
.top-links a:hover,.footer a:hover {color:var(--accent)}
.btn {display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:41px; padding:10px 14px; font-size:13px; font-weight:680; border:1px solid transparent; border-radius:10px; color:var(--text); background:none; white-space:nowrap; transition:background .16s,border-color .16s}
.btn .icon {font-size:19px}
.btn.primary {color:#0d2a18; background:var(--accent); border-color:var(--accent)}
.btn.primary:hover:not(:disabled) {background:#c7f9d3; border-color:#c7f9d3}
.btn.secondary {background:#1b2724; border-color:#3b4a43; color:#eff8f3}
.btn.secondary:hover:not(:disabled),.btn.header-btn:hover {background:#263830; border-color:#5d836c}
.btn.ghost {color:var(--muted)}
.btn.ghost:hover:not(:disabled) {color:var(--accent); background:#14201d}
.btn.header-btn {background:#14211c; color:#c9ecd3; border-color:#334b3e}
.btn.account-button {max-width:min(45%,300px); white-space:normal; overflow-wrap:anywhere; text-align:start}
.btn.icon-btn {min-width:36px; padding:7px; font-size:0; gap:0; min-height:36px; color:var(--muted)}
.btn.icon-btn:hover {background:#293d34}
.buttons {display:flex; align-items:center; flex-wrap:wrap; gap:9px}
.hero-band {position:relative; overflow:hidden; background:radial-gradient(ellipse at 78% 28%,#183429 0%,#11211d 28%,transparent 62%),#0b1111; border-bottom:1px solid #20302b}
.hero-grid {display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:52px; align-items:center; padding:76px 0 78px}
.kicker,.live-tag,.tagline {display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; color:#b5dfc0}
.kicker {margin-bottom:15px}
.kicker i,.live-tag i,.pill i {width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 10px #a8f3bc44}
.hero-copy h1 {font-size:clamp(38px,4.65vw,66px); font-weight:780; line-height:1.02; letter-spacing:-.067em; max-width:580px}
.hero-copy h1 em {color:var(--accent); font-style:normal}
.intro {font-size:16px; max-width:460px; color:#bacac3; margin:20px 0 24px}
.hero-copy .btn {min-height:48px; padding:12px 17px}
.hero-screen {display:block; min-width:0; overflow:hidden; border:1px solid #355447; border-radius:17px; background:#14221d; box-shadow:0 20px 56px #03090776}
.hero-screen:hover {border-color:#6caa85}
.screen-top,.screen-meta {display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; color:#bad4c4; font-size:11px; font-weight:600; background:#13221d}
.screen-top {border-bottom:1px solid #284135}
.screen-meta {border-top:1px solid #284135}
.screen-meta > span {display:flex; align-items:center; gap:6px}
.screen-meta .icon,.window-corner .icon {font-size:16px}
.dots {display:flex; gap:5px}
.dots i {width:6px; height:6px; border-radius:50%; background:#567162}
.dots i:first-child {background:#aae8ba}
.mini-stage {
  display:grid; place-items:center; text-align:center; min-height:282px; padding:23px 17px;
  background:linear-gradient(180deg,#080f0dd1,#07140f4b 65%,#101c1790),url('/stage.webp') center 61% / cover;
}
.live-tag {padding:5px 8px; border:1px solid #4b7258; border-radius:30px; background:#133625e3; font-size:10px; color:#b1f6c5}
.mini-content h2 {font-size:clamp(23px,2.4vw,34px); margin:11px 0 4px}
.mini-content p {font-size:13px; color:#c9dcd0}
.mini-numbers {display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:19px}
.mini-numbers strong,.code-tiles span {font-family:ui-monospace,SFMono-Regular,Consolas,monospace; color:#d4f7dc; letter-spacing:.02em; padding:8px 11px; background:#20372deb; border:1px solid #547962; border-radius:9px}
.mini-numbers strong {font-size:clamp(15px,1.6vw,23px); box-shadow:0 6px 22px #03100e7d}
.process {padding-top:31px; padding-bottom:34px; scroll-margin-top:15px}
.section-head {display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:17px}
.section-head h2 {font-size:25px}
.how-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px}
.how-card,.panel {background:var(--surface); border:1px solid var(--edge); border-radius:13px; min-width:0}
.how-card {padding:16px}
.how-card h3 {font-size:16px; margin:9px 0 5px}
.how-card p,.page-head p,.panel-head p,.hint,.prize-row p,.viewer-row p,.empty p,.screen-info p {color:var(--muted); font-size:13px}
.tile,.rank {display:grid; place-items:center; flex-shrink:0; color:var(--accent); border:1px solid #345245; background:#1c3328}
.tile {width:38px; height:38px; border-radius:10px}
.rank {width:30px; height:30px; border-radius:8px; font-size:11px; font-weight:730}
.footer {border-top:1px solid var(--edge); display:flex; align-items:center; justify-content:space-between; padding:16px 0 21px}
.footer > a:last-child {display:flex; align-items:center; gap:5px; font-size:12px; color:var(--muted)}
.footer > a:last-child .icon {font-size:15px}
.studio {padding-top:28px; padding-bottom:38px}
.page-head {align-items:flex-end}
.page-head h1 {font-size:clamp(28px,3.1vw,41px); line-height:1.1; font-weight:760; overflow-wrap:anywhere}
.page-head p {margin-top:6px}
.back {display:inline-flex; align-items:center; gap:7px; color:var(--muted); margin-bottom:12px; font-size:12px; font-weight:650}
.back:hover {color:var(--accent)}
.back .icon {font-size:17px}
.empty {display:grid; justify-items:center; text-align:center; gap:10px; padding:42px 20px}
.empty .buttons {justify-content:center}
.empty .tile {width:49px; height:49px}
.empty h1,.empty h2 {font-size:22px}
.legacy-link {margin:16px 0; font-size:12px; color:var(--muted)}
.legacy-link a {display:inline-flex; align-items:center; gap:5px}
.legacy-link .icon {font-size:15px}
.show-row {display:grid; grid-template-columns:38px minmax(0,1fr) auto 18px; gap:13px; align-items:center; padding:14px; border-bottom:1px solid var(--edge)}
.show-row:last-child {border-bottom:0}
.show-row:hover {background:#172820}
.show-row strong,.show-row small {display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.show-row strong {font-size:15px}
.show-row small {color:var(--muted); font-size:12px; margin-top:3px}
.pill {display:inline-flex; align-items:center; justify-content:center; gap:6px; width:max-content; max-width:100%; border:1px solid #385046; border-radius:20px; background:#1a2924; color:#b9cfc3; padding:5px 8px; font-size:11px; font-weight:680; white-space:nowrap}
.pill i {width:6px; height:6px}
.pill.on,.pill.done {color:#c1f4cd; background:#244231; border-color:#476c54}
.pill.ready {color:#e6d4a6; background:#382f1d; border-color:#635532}
.pill.draft {color:#a9b8b2; background:#202a27; border-color:#35443c}
.pill.attention {color:#ffcec6; background:#3e2725; border-color:#7c4d45}
.wizard-steps {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:0 0 13px}
.wizard-steps li {display:flex; align-items:center; gap:10px; color:var(--dim); border:1px solid var(--edge); padding:10px; background:var(--surface); border-radius:10px; font-weight:630; font-size:13px}
.wizard-steps span {display:grid; place-items:center; width:27px; height:27px; border-radius:7px; background:#25312d; color:var(--muted); font-size:11px; flex-shrink:0}
.wizard-steps .icon {font-size:17px}
.wizard-steps .active,.wizard-steps .done {color:var(--accent); border-color:#4c715a}
.wizard-steps .active span,.wizard-steps .done span {color:#d1f8d8; background:#314f39}
.wizard-body {display:grid; gap:13px; padding:18px}
.wizard-body h2,.panel-head h2,.screen-info h2 {font-size:19px}
.wizard-foot {display:flex; justify-content:space-between; gap:10px; border-top:1px solid var(--edge); padding:13px 18px}
.segments {display:flex; align-items:center; flex-wrap:wrap; gap:6px}
.segments .btn {min-height:36px}
.segments .selected {background:#253e30; border-color:#4e785c; color:var(--accent)}
.field {display:grid; gap:6px; min-width:0; color:#dce9e2; font-size:12px; font-weight:660}
.field input,.field select,.field textarea,.search input {
  width:100%; min-width:0; color:var(--text); background:#0c1512; border:1px solid #394b42; border-radius:8px;
  padding:10px; min-height:40px; font-size:14px; font-weight:440;
}
.field textarea {resize:vertical}
.field-pair {display:grid; align-items:center; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}
.check {display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); line-height:1.45}
.check input {accent-color:var(--accent); width:16px; height:16px; flex-shrink:0}
.drop-zone {display:grid; justify-items:center; gap:8px; padding:18px; text-align:center; background:#11211b; border:1px dashed #4c6f5b; border-radius:10px}
.drop-zone span {font-size:12px; color:var(--muted)}
.drop-zone .icon {color:var(--accent); font-size:29px}
.drop-zone input {width:min(310px,100%); color:var(--muted)}
.file-summary,.samples,.roster-preview {display:flex; align-items:center; flex-wrap:wrap; gap:7px; color:var(--accent); font-size:12px}
.samples span {background:#1e3429; padding:6px 8px; border-radius:6px; color:#bdebd0; overflow-wrap:anywhere}
.file-summary span:last-child,.roster-preview span:last-child {color:var(--muted)}
.form-error {color:#ffc3b8; margin:0 18px 10px; font-size:13px; font-weight:630}
.prize-fields {display:grid; gap:9px}
.prize-config {display:grid; grid-template-columns:30px minmax(0,1fr) minmax(90px,140px) auto; gap:10px; align-items:end}
.prize-config .rank {margin-bottom:5px}
.cockpit {display:grid; grid-template-columns:minmax(0,1.82fr) minmax(265px,1fr); align-items:start; gap:14px}
.panel-head {padding:15px 17px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid var(--edge)}
.panel-head p {margin-top:4px}
.side-stack {display:grid; gap:13px}
.screen-info {padding:16px}
.screen-info p {margin:6px 0 10px}
.screen-info .buttons {margin-top:10px}
.screen-info code {display:block; overflow-wrap:anywhere; color:#c2e6ce; background:#0d1813; padding:8px; border:1px solid var(--edge); border-radius:8px; font-size:12px}
.prize-row,.viewer-row {display:grid; grid-template-columns:30px minmax(0,1fr) auto; gap:10px; align-items:center; padding:13px 16px; border-bottom:1px solid var(--edge)}
.prize-row:last-child,.viewer-row:last-child {border-bottom:0}
.prize-row h3,.viewer-row h3 {font-size:15px; overflow-wrap:anywhere}
.code-tiles {display:flex; flex-wrap:wrap; justify-content:flex-start; gap:6px; margin-top:8px}
.code-tiles span {font-size:13px; padding:6px 8px; overflow-wrap:anywhere; max-width:100%; color:var(--accent)}
.viewer {
  --accent:#a8f3bc; width:min(1180px,100% - 48px); margin:auto; padding:0 0 32px;
}
.theme-blue {--accent:#b6d5ff}
.theme-rose {--accent:#fac3e6}
.theme-gold {--accent:#ffdc9e}
.screen-bar {min-height:75px; display:flex; align-items:center; justify-content:space-between; gap:10px}
.view-stage {overflow:hidden; min-height:385px; position:relative; display:grid; align-content:space-between; gap:32px; padding:25px;
  border:1px solid #49695a; border-radius:17px;
  background:linear-gradient(180deg,#080f0cf0,#09171166 55%,#09150ee9),url('/stage.webp') center 60% / cover;
}
.view-caption h1 {font-size:clamp(28px,4.5vw,56px); margin:8px 0 5px; line-height:1.02; overflow-wrap:anywhere}
.view-brand {display:flex; align-items:center; gap:8px; font-size:13px; color:#c0d3c8}
.view-brand img {width:31px; height:31px; object-fit:contain; padding:2px; border-radius:6px; background:#f5f7f2}
.live-board {justify-self:center; text-align:center; width:min(660px,100%); padding:15px; border:1px solid #527660; background:#0d2019da; border-radius:15px}
.live-board .tagline {color:var(--accent); font-size:11px}
.live-board h2 {font-size:clamp(21px,3vw,32px); margin:4px 0 3px}
.live-board p {font-size:13px; color:#becfc5}
.live-board .buttons,.live-board .code-tiles {justify-content:center; margin-top:10px}
.live-board .code-tiles span {font-size:clamp(18px,3vw,29px); padding:9px 12px}
.countdown {font-family:ui-monospace,monospace; color:var(--accent); font-weight:740; font-size:clamp(45px,7vw,76px); letter-spacing:-.07em; line-height:1}
.screen-results,.info {margin-top:13px}
.search {display:flex; align-items:center; gap:5px; border:1px solid #394b42; background:#0c1512; padding-left:8px; border-radius:8px; max-width:250px; color:var(--muted)}
.search input {border:0; min-height:36px; padding:7px 8px}
.search .icon {font-size:17px}
.result-empty {padding:15px; color:var(--muted)}
.rules {white-space:pre-wrap; overflow-wrap:anywhere}
.info details {margin:11px 0 1px; color:var(--muted); font-size:12px}
.info code {margin-top:7px}
dialog {width:min(490px,calc(100% - 28px)); border:1px solid #466255; padding:0; border-radius:14px; color:var(--text); background:var(--surface); box-shadow:0 20px 60px #000a}
dialog::backdrop {background:#030907c9; backdrop-filter:blur(4px)}
dialog header {display:flex; justify-content:space-between; gap:10px; align-items:center; padding:12px 15px; border-bottom:1px solid var(--edge)}
dialog h2 {font-size:18px}
.modal-body {padding:15px; color:var(--muted)}
.modal-body .buttons {margin-top:13px; justify-content:flex-end}
.notice {position:fixed; z-index:10; right:16px; bottom:16px; padding:11px 15px; max-width:calc(100% - 32px); border:1px solid #52725d; color:#daf8e1; border-radius:9px; background:#233b2b; box-shadow:0 5px 28px #0008}
.notice.error {background:#3e2725; border-color:#7c4d45; color:#ffddd5}
.center-message {display:grid; place-items:center; min-height:60vh; color:var(--muted)}
.account-page {max-width:440px; margin-block:clamp(30px,12vh,110px)}
.account-wide {max-width:660px}
.account-page .screen-info {padding:clamp(16px,4vw,26px)}
.account-page h1 {font-size:24px; margin-bottom:15px}
.account-page .account-error {color:#ffb8ae}
.account-link {color:var(--accent)}
.account-link:hover {text-decoration:underline}
.account-form {display:grid; gap:12px}
.account-form .btn {justify-self:start}
.account-form p {margin:0}
.account-consent {display:flex; align-items:flex-start; gap:8px; color:var(--muted); line-height:1.5}
.account-consent input {accent-color:var(--accent); width:16px; height:16px; flex:none; margin:2px 0 0}
.account-list {margin-top:20px; padding-top:15px; border-top:1px solid var(--edge)}
.account-row {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; padding-block:8px}
.account-row p {margin:3px 0 0}
.checkout-head {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px}
.checkout-summary {display:flex; flex-wrap:wrap; gap:9px 18px; margin:12px 0; padding:10px 12px; border:1px solid var(--edge); border-radius:9px; background:#0d1813}
.checkout-summary dt {color:var(--muted); font-size:12px}
.checkout-summary dd {margin:3px 0 0; color:var(--text); font-weight:680; overflow-wrap:anywhere}
.checkout-note,.checkout-receipt {white-space:pre-line; overflow-wrap:anywhere}
.checkout-qr {display:grid; justify-items:center; gap:9px; padding:12px; border:1px solid var(--edge); border-radius:9px; background:#0d1813}
.checkout-qr img {width:min(180px,100%); height:auto; border-radius:7px}
.checkout-form {margin-top:12px}
.checkout-form p {margin:0}
.checkout-form .hint {font-size:12px}
.payment-row {align-items:flex-start; overflow-wrap:anywhere}
.payment-row + .payment-row {border-top:1px solid var(--edge)}
.payment-actions {display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; width:100%}
.payment-actions form,.payment-actions details {min-width:0; max-width:100%}
.payment-actions details[open] {flex:1 1 100%}
.payment-actions details > summary {color:var(--accent); padding:8px 0}
.sr-only {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
@media(max-width:950px) {
  .frame {width:calc(100% - 36px)}
  .hero-grid {gap:23px; padding:49px 0}
  .mini-stage {min-height:248px}
}
@media(max-width:710px) {
  .top-inner {min-height:61px; gap:10px}
  .top-links {display:none}
  .hero-grid,.cockpit {grid-template-columns:minmax(0,1fr)}
  .hero-grid {padding:28px 0; gap:23px}
  .hero-copy h1 {font-size:clamp(34px,7vw,50px)}
  .intro {font-size:14px; margin:13px 0 18px}
  .mini-stage {min-height:224px}
  .how-grid {grid-template-columns:minmax(0,1fr)}
  .process {padding-top:23px}
  .section-head {align-items:flex-start; flex-wrap:wrap}
  .process .section-head>.btn {display:none}
  .wizard-steps li {font-size:11px; padding:7px; gap:6px}
  .wizard-steps span {width:21px; height:21px}
  .field-pair {grid-template-columns:minmax(0,1fr)}
  .prize-config {grid-template-columns:22px minmax(0,1fr) minmax(65px,92px) auto; gap:6px}
  .prize-config .rank {width:22px}
  .prize-config .field {font-size:10px}
  .prize-config .icon-btn {min-width:27px; padding:2px}
  .viewer {width:calc(100% - 24px)}
  .view-stage {min-height:330px; padding:14px; gap:15px}
  .screen-results .panel-head {flex-wrap:wrap}
  .search {max-width:100%}
}
@media(max-width:410px) {
  .frame {width:calc(100% - 28px)}
  .top-inner .header-btn {font-size:11px; padding:7px}
  .logo strong {font-size:15px}
  .mark {width:35px; height:35px; border-radius:10px}
  .hero-copy .btn {padding:9px 11px; min-height:41px; font-size:12px}
  .mini-numbers {gap:5px}
  .prize-row,.viewer-row {padding:10px 9px; gap:6px}
  .prize-row>.btn {font-size:11px; padding:6px}
  .viewer-row .pill {font-size:9px}
  .screen-bar .btn {min-height:34px; font-size:11px; padding:7px}
  .screen-bar .btn .icon {font-size:15px}
  .wizard-body {padding:12px}
}
