
:root{--bg:#041121;--bg2:#07192f;--panel:#0d2647;--panel2:#112f58;--gold:#ffcf58;--gold2:#f2a81e;--line:#2d5386;--text:#f4f7ff;--muted:#b6c7df;--shadow:0 18px 50px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:
radial-gradient(circle at 15% 10%,rgba(40,108,197,.38),transparent 26%),
radial-gradient(circle at 88% 18%,rgba(80,157,255,.15),transparent 22%),
linear-gradient(180deg,#061224 0%,#04101f 30%,#07182d 100%)}
a{color:var(--gold)}
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(14px);background:linear-gradient(180deg,rgba(4,13,26,.92),rgba(4,13,26,.85));border-bottom:1px solid rgba(255,207,88,.2);box-shadow:0 8px 30px rgba(0,0,0,.25)}
.header-shell,.header-count-shell,.footer-shell{max-width:1280px;margin:auto;padding-inline:24px}
.header-shell{min-height:82px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(160deg,#1c67b6,#081b37);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 10px 25px rgba(0,0,0,.35);font-size:24px}.brand-text{font-weight:900;letter-spacing:.08em;font-size:1.1rem;color:#fff}.brand-text span{color:var(--gold)}
nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}nav a{text-decoration:none;color:#d9e8ff;font-weight:600}nav a:hover{color:#fff}.nav-cta{margin-left:6px}
main{max-width:1280px;margin:auto;padding:36px 24px 44px}
h1{font-size:clamp(2.6rem,5vw,5.2rem);line-height:1.02;color:#fff;margin:0 0 10px;text-shadow:0 6px 24px rgba(0,0,0,.35)}h2{line-height:1.15;margin:.2em 0 .45em}.eyebrow{letter-spacing:.26em;font-size:.78rem;color:var(--gold);font-weight:800;text-transform:uppercase}.subtle{color:var(--muted);margin:0}.lead{font-size:1.12rem;color:#dce9fb;max-width:760px}
.hero{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:34px;padding:20px 0 10px}.hero-banner{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;margin-bottom:8px;border-radius:20px;background:linear-gradient(90deg,rgba(7,29,56,.98),rgba(24,66,116,.96) 55%,rgba(18,50,92,.96));border:1px solid rgba(86,144,216,.32);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.06)}.hero-banner-copy{display:flex;flex-direction:column;gap:3px;min-width:260px}.hero-banner-copy strong{font-size:1.2rem;color:#fff}.hero-banner-copy span{font-size:.98rem;color:#dce7f6}.hero-copy,.hero-visual{position:relative}.hero-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:26px 0 14px}.stat-card,.prize-card,.stats>div{position:relative;overflow:hidden;background:linear-gradient(160deg,rgba(17,49,94,.95),rgba(7,23,45,.96));border:1px solid rgba(108,160,231,.35);border-radius:18px;padding:18px 18px 16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),var(--shadow)}.stat-card:before,.prize-card:before,.panel:before{content:"";position:absolute;inset:-1px auto auto -1px;width:48%;height:55%;background:linear-gradient(180deg,rgba(120,175,255,.22),rgba(120,175,255,0));pointer-events:none;border-radius:18px}
.stat-card span,.prize-card span,.contact-strip span{display:block;font-size:.82rem;text-transform:uppercase;letter-spacing:.14em;color:#90add4}.stat-card b,.prize-card b{display:block;margin-top:8px;font-size:1.2rem;color:#fff}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 22px}.badge{padding:10px 14px;border-radius:999px;background:linear-gradient(180deg,rgba(20,54,102,.95),rgba(8,24,47,.95));border:1px solid rgba(88,153,244,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);font-size:.93rem;color:#e8f0ff}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.hero-note{color:var(--gold);font-weight:700;margin-top:18px}
.flyer-frame{padding:16px;border-radius:28px;background:linear-gradient(155deg,rgba(17,50,96,.92),rgba(4,16,31,.95));border:1px solid rgba(108,160,231,.34);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.08)}.flyer{width:100%;max-height:760px;object-fit:contain;border-radius:18px;display:block;box-shadow:0 25px 60px rgba(0,0,0,.5)}
.floating-card{position:absolute;left:-20px;bottom:24px;max-width:280px;padding:16px 18px;border-radius:18px;background:linear-gradient(140deg,rgba(255,211,98,.98),rgba(230,168,33,.92));color:#13233d;box-shadow:0 16px 30px rgba(0,0,0,.32)}.floating-card strong{display:block;font-size:.95rem;text-transform:uppercase;letter-spacing:.12em}.floating-card span{display:block;margin-top:6px;font-weight:700;line-height:1.45}
.panel{position:relative;overflow:hidden;background:linear-gradient(160deg,rgba(10,31,58,.94),rgba(7,20,38,.96));border:1px solid rgba(86,144,216,.3);border-radius:24px;padding:28px;margin:26px 0;box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.05)}.narrow{max-width:700px;margin:24px auto}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap}
.prize-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prize-card b{font-size:1.65rem;color:var(--gold)}
.contact-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.contact-strip>div{padding:16px 18px;border-radius:18px;background:linear-gradient(155deg,rgba(12,38,72,.94),rgba(7,20,37,.98));border:1px solid rgba(84,136,206,.3)}.contact-strip b{display:block;margin-top:6px;color:#fff}
.stats{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.stats>div{flex:1;min-width:140px}.stats b{display:block;color:var(--gold);font-size:1.45rem}
button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#ffd56f,#eca925);color:#13233d;border:0;border-radius:14px;padding:13px 22px;font-weight:900;text-decoration:none;cursor:pointer;font-size:.95rem;letter-spacing:.03em;box-shadow:0 10px 24px rgba(236,169,37,.28),inset 0 1px 0 rgba(255,255,255,.35)}.btn:hover,button:hover{filter:brightness(1.03)}.btn-ghost{background:linear-gradient(180deg,rgba(18,54,101,.95),rgba(8,25,46,.98));color:#fff;border:1px solid rgba(88,153,244,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(0,0,0,.22)}.register-cta{font-size:1rem;padding:16px 28px}
label{display:block;font-size:.92rem;font-weight:700;margin:12px 0;color:#f2f7ff}input,select{display:block;width:100%;margin-top:8px;background:linear-gradient(180deg,#0c2442,#07172d);color:#fff;border:1px solid #3d6394;border-radius:14px;padding:13px 14px;font:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}input[type=file]{padding:10px}input::placeholder{color:#8fa7c8}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}fieldset{border:1px solid rgba(86,144,216,.3);border-radius:18px;padding:18px 18px 10px;min-width:0;background:linear-gradient(180deg,rgba(9,27,52,.72),rgba(7,18,34,.78))}legend{color:var(--gold);font-weight:900;padding:0 8px}.check{display:flex;gap:12px;align-items:flex-start}.check input{width:auto;margin-top:4px}
.error{padding:15px;background:#522738;border:1px solid #ef8994;border-radius:12px}.notice{padding:14px 16px;border:1px solid rgba(255,207,88,.35);border-radius:14px;background:linear-gradient(180deg,rgba(41,61,101,.55),rgba(12,26,49,.5));color:#f1f6ff}
.tablewrap{overflow:auto;max-height:65vh;border-radius:16px}table{border-collapse:collapse;width:100%;font-size:13px}td,th{border-bottom:1px solid #274568;padding:12px;white-space:nowrap;text-align:left}th{position:sticky;top:0;background:#14345e;color:var(--gold)}
.logos{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-top:12px}.logos figure,.sponsor{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(231,239,255,.97));color:#11223a;padding:15px;border-radius:18px;text-align:center;box-shadow:0 12px 24px rgba(0,0,0,.18)}.logos img,.sponsor img{width:120px;height:80px;object-fit:contain}.sponsor{display:inline-block;margin:10px}
footer{text-align:center;padding:28px 20px;color:#c1d2ea;border-top:1px solid rgba(86,144,216,.18);background:rgba(2,9,18,.4)}.footer-shell{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.visitors{color:var(--gold);font-weight:800}code{overflow-wrap:anywhere}.tabs{padding:10px 0}
.countdown{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end;min-width:min(100%,520px)}.countdown .eyebrow{display:none}.clock{display:grid;grid-template-columns:repeat(4,minmax(84px,1fr));gap:10px;min-width:min(100%,430px)}.clock>div{background:linear-gradient(180deg,rgba(14,42,79,.98),rgba(7,18,36,.98));border:1px solid rgba(255,207,88,.28);border-radius:16px;text-align:center;padding:10px 6px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 20px rgba(0,0,0,.2)}.clock b{display:block;color:#fff;font-size:clamp(1.4rem,2.2vw,2rem);font-variant-numeric:tabular-nums;line-height:1.05}.clock small{color:#cbd9ee;font-size:.72rem;text-transform:uppercase;letter-spacing:.12em}#cd-note{margin:0;color:var(--gold);width:100%;text-align:right}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-banner{flex-direction:column;align-items:flex-start}.countdown{justify-content:flex-start;min-width:0;width:100%}.clock{width:100%}.floating-card{position:relative;left:auto;bottom:auto;margin-top:16px;max-width:none}.prize-grid,.contact-strip{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.header-shell{padding-block:14px}.header-shell,.footer-shell,main{padding-inline:16px}.hero-highlights,.formgrid,.prize-grid,.contact-strip{grid-template-columns:1fr}.panel{padding:20px;border-radius:20px}h1{font-size:2.3rem}.lead{font-size:1rem}nav{gap:12px}.nav-cta{width:100%}.clock{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-banner-copy{min-width:0;width:100%}.hero-banner{padding:14px 16px}}
/* V6: isolated layout, compact event landing page */
.site-header{position:relative;display:block;padding:0;background:#07162d;border-bottom:1px solid #35577e}.header-shell{display:flex;flex-wrap:wrap;min-height:70px;padding:12px 24px;gap:12px}.brand{flex-shrink:0}.brand-mark{width:38px;height:38px;border-radius:10px;font-size:20px}.site-header nav{gap:16px;justify-content:flex-end}.site-header nav a{font-size:14px}.site-header nav .nav-cta{color:#101e31;width:auto;padding:10px 17px}.site-header nav .nav-cta:hover{color:#101e31}main{padding-top:18px}.hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:24px;padding:0 0 12px}.hero-banner{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:center;gap:20px;margin:0;padding:14px 22px;border-radius:14px;background:linear-gradient(115deg,#0e2b51,#164579 55%,#0a2344);box-shadow:inset 0 1px 1px #ffffff25,0 8px 22px #0004}.hero-banner-copy{min-width:0;gap:1px}.hero-banner-copy .eyebrow{font-size:11px;letter-spacing:.15em}.hero-banner-copy strong{font-size:19px}.hero-banner-copy span{font-size:13px}.hero-banner .countdown{display:block;min-width:0;width:100%;margin:0}.hero-banner .clock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;min-width:0;margin:0}.hero-banner .clock>div{min-width:0;padding:7px 3px;border-radius:10px;background:linear-gradient(#224c7a,#091a32);border:1px solid #5481b1;box-shadow:inset 0 1px 0 #ffffff25,0 4px 7px #0004}.hero-banner .clock b{display:block;font-size:clamp(23px,3vw,36px);color:#ffdb78;line-height:1.05}.hero-banner .clock small{display:block;font-size:10px;letter-spacing:.08em;margin-top:3px}.hero-banner #cd-note:empty{display:none}.hero-copy{padding:18px 0 0;min-width:0}.hero-copy h1{color:#ffcf58;font-size:clamp(36px,5vw,67px);margin:10px 0}.hero-copy h2{font-size:clamp(18px,2vw,26px)}.hero-copy .lead{margin:12px 0;color:#b9cce6}.hero-highlights{margin:18px 0;gap:10px}.stat-card{padding:13px;border-radius:12px;min-width:0}.stat-card b{font-size:17px;overflow-wrap:anywhere}.hero-visual{min-width:0}.flyer-frame{padding:8px;border-radius:16px}.flyer{max-height:620px;border-radius:11px}.floating-card{position:static;margin-top:12px;max-width:none;background:linear-gradient(145deg,#153b65,#0a2343);color:#fff;border:1px solid #4875a6;border-radius:12px;padding:12px 16px}.floating-card strong{color:#ffcf58}.hero-badges{margin-bottom:14px}.badge{padding:6px 10px;font-size:12px}.hero-actions .btn{margin:0}.panel:before,.stat-card:before,.prize-card:before{display:none}.panel{border-radius:16px}.logos figure{margin:0}#registration,#prizes,#sponsors{scroll-margin-top:20px}
@media(max-width:850px){.header-shell{justify-content:center}.site-header nav{justify-content:center;gap:10px}.hero{grid-template-columns:minmax(0,1fr)}.hero-banner{grid-template-columns:minmax(0,1fr);gap:10px}.hero-copy{padding-top:0}.hero-banner-copy{text-align:center}.hero-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.flyer{max-height:560px}.hero-banner .clock{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:420px){.header-shell{padding:10px 12px}.site-header nav a{font-size:12px}.hero-banner{padding:12px}.hero-banner .clock{gap:5px}.hero-banner .clock b{font-size:23px}.hero-banner .clock small{font-size:9px}.hero-highlights .stat-card b{font-size:14px}.hero-actions .btn{width:100%}}
/* Mobile-first enhancement V7 */
.menu-toggle,.mobile-register{display:none}.camera-option[hidden],.camera-input[hidden]{display:none!important}.camera-option{margin:-4px 0 14px}.camera-button{background:#15385f;color:#fff;border:1px solid #527ba7;box-shadow:none;font-size:14px;min-height:44px}.camera-status{display:block;color:#b6c7df;overflow-wrap:anywhere}.flyer{height:auto;max-width:100%}.hero-copy,.hero-visual,.panel,.formgrid>*{min-width:0;overflow-wrap:anywhere}.site-header nav .nav-cta{min-height:44px}input,select,button{max-width:100%}.check input{flex-shrink:0}.logos{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}.footer-shell>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:850px){.header-shell{justify-content:space-between;gap:8px;min-height:64px}.brand{min-width:0;flex-shrink:1}.brand-text{font-size:clamp(12px,3.4vw,17px);letter-spacing:.03em}.brand-mark{flex-shrink:0;width:34px;height:34px}.js-ready .menu-toggle{display:inline-flex;min-height:44px;margin:0;padding:9px 12px;font-size:14px;background:linear-gradient(#1d4778,#0b2548);color:#fff;box-shadow:none;border:1px solid #456d9a}.site-header nav{width:100%;flex-direction:column;align-items:stretch;gap:4px}.js-ready .site-header nav:not(.is-open){display:none}.site-header nav a{padding:10px 12px;min-height:44px;font-size:15px}.site-header nav .nav-cta{margin:0}.event-home{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}.mobile-register{position:fixed;z-index:60;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#07162d;border-top:1px solid #456d9a;box-shadow:0 -8px 24px #0006}.mobile-register .btn{width:100%;max-width:480px;min-height:48px;text-align:center}.mobile-register>span{color:#cbd9ee;font-weight:bold}.event-home:focus-within .mobile-register{display:none}.hero-banner .clock{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.hero-banner .clock b{font-size:clamp(19px,5.5vw,32px)}.hero-banner .clock small{font-size:clamp(8px,2.5vw,11px);letter-spacing:0}.hero-banner .clock>div{padding:8px 1px}.hero-banner{min-width:0}.hero-copy h1{font-size:clamp(29px,8vw,48px)}.hero-actions .btn{min-height:48px}.register-panel button{min-height:48px}.register-panel input:not([type=checkbox]){font-size:16px}.formgrid{grid-template-columns:minmax(0,1fr)}.contact-strip,.prize-grid{grid-template-columns:minmax(0,1fr)}.panel{padding:16px}.footer-shell{justify-content:center}.event-home main{padding-inline:12px}.hero-highlights{gap:8px}.hero-highlights .stat-card{padding:10px}.register-panel fieldset{padding:12px}.register-panel input[type=file]{font-size:14px}.check{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V8: separate organizer and tournament labels; preserve each contact on one line. */
.event-eyebrow{display:flex;flex-direction:column;gap:3px;line-height:1.45;margin-bottom:6px}.event-eyebrow span{display:block;white-space:nowrap;letter-spacing:.17em}.contact-lines{display:flex;flex-direction:column;gap:5px;margin-top:6px;min-width:0}.floating-card .contact-line,.contact-strip .contact-line{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-transform:none;letter-spacing:normal;color:#f4f7ff;font-size:clamp(12px,3.5vw,16px);font-weight:700;line-height:1.5;margin:0}.contact-strip .contact-lines{margin-top:8px}@media(max-width:420px){.event-eyebrow span{font-size:clamp(10px,3.1vw,12px);letter-spacing:.12em}.contact-strip>div{padding:12px}.floating-card{padding:12px}}

/* V9 organizer logo */
.event-eyebrow .organizer-line{display:flex;align-items:center;gap:8px}.organizer-logo{display:block;width:34px;height:34px;object-fit:contain;flex:0 0 auto}@media(max-width:420px){.organizer-logo{width:28px;height:28px}.event-eyebrow .organizer-line{gap:6px}}

.kaloosh-inline{display:inline-flex;align-items:center;gap:10px;line-height:1.2;vertical-align:middle}.kaloosh-inline img{width:30px;height:30px;object-fit:contain;display:block;filter:drop-shadow(0 6px 12px rgba(0,0,0,.18))}.kaloosh-inline.compact img{width:24px;height:24px}.organizer-card,.footer-shell .kaloosh-inline{display:inline-flex}.footer-shell .kaloosh-inline{margin-top:6px;color:#dbe9ff;font-weight:600}.contact-strip .organizer-card .kaloosh-inline{color:#fff;font-weight:800}.contact-strip .organizer-card .kaloosh-inline img{width:26px;height:26px}
.doc-preview{display:inline-flex;flex-direction:column;align-items:center;gap:5px;font-size:12px}.doc-preview img{width:100px;height:64px;object-fit:contain;background:#061327;border:1px solid #456589;border-radius:6px}.doc-preview span{white-space:normal}.age-individual{color:#ffcf58;font-weight:700}.age-invalid{border-color:#ef8994!important;color:#ffd0d0}.age-valid{border-color:#65cda0!important;color:#b1f4d5}#age-submit:disabled{opacity:.45;cursor:not-allowed}.dob-field{color-scheme:dark;min-width:0}

.dob-selects{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px;min-width:0}.dob-selects select{min-width:0;width:100%;padding-inline:10px}.dob-picker{min-width:0;margin:12px 0}.dob-picker label{margin-bottom:4px}
