/* Generated using AppDeploy UI skill */
.hex-shell{--gold:#f3d585;--violet:#9c7be0;min-height:75vh;padding:30px max(18px,calc((100vw - 1320px)/2));background:radial-gradient(ellipse at 70% 0%,#3b3168 0%,#201e3e 42%,#14142c 100%);color:#fff;font-family:inherit;direction:rtl}
.hex-shell *{box-sizing:border-box}.hex-shell button,.hex-shell input,.hex-shell select{font:inherit}.hex-shell button{cursor:pointer}.hex-shell button:disabled{cursor:default}.hex-shell button:focus-visible,.hex-shell a:focus-visible,.hex-shell input:focus-visible,.hex-shell select:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hex-back{display:inline-block;color:#e2d5fa;text-decoration:none;font-weight:750;margin-bottom:20px}.hex-kicker{color:var(--gold);font-weight:900;letter-spacing:.025em}.hex-shell h1{color:#fff;font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.2;margin:12px 0}.hex-shell p{color:#e0daed;line-height:1.8}.hex-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px, .9fr);gap:45px;align-items:center;min-height:610px}.hex-intro-copy>p:first-of-type{font-size:1.18rem;max-width:590px}.hex-mode-picker{display:flex;gap:10px;margin:30px 0 22px}.hex-mode-picker button{flex:1;text-align:right;border:1px solid #8272aa;border-radius:18px;padding:14px 18px;background:#292548;color:#f9f6ff;font-size:1.18rem;font-weight:900}.hex-mode-picker button small{display:block;font-size:.8rem;color:#c8c1df;margin-top:5px;font-weight:600}.hex-mode-picker button[aria-pressed=true]{border-color:var(--gold);background:#493a69;box-shadow:inset 0 0 0 1px var(--gold),0 10px 30px #100d2455}.hex-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hex-config label{font-weight:750;color:#e8e4f0;font-size:.9rem}.hex-config label:last-child{grid-column:span 2}.hex-config input,.hex-config select{display:block;width:100%;min-height:47px;border:1px solid #9386b2;border-radius:11px;background:#17172f;color:#fff;padding:8px 12px;margin-top:6px}.hex-primary,.hex-buzz-a,.hex-buzz-b,.hex-subtle{display:inline-flex;justify-content:center;align-items:center;min-height:47px;border-radius:12px;padding:10px 20px;font-weight:850;text-decoration:none}.hex-primary{border:1px solid #fff0b8;background:var(--gold);color:#231936;box-shadow:0 5px 0 #9d7d3e}.hex-subtle{border:1px solid #8c7baf;background:#30294e;color:#fff}.hex-buzz-a{border:1px solid #ffe8a5;background:#e6c977;color:#261d32}.hex-buzz-b{border:1px solid #dccaff;background:#8f6bcf;color:#fff}.hex-buzz-a:disabled,.hex-buzz-b:disabled{opacity:.4}.hex-error{color:#ffc2ba!important;min-height:22px;margin:6px 0!important}.hex-note{font-size:.8rem;max-width:580px;margin-top:25px}.hex-intro-board{position:relative;width:min(100%,550px);aspect-ratio:1;margin:auto;transform:rotate(-7deg);filter:drop-shadow(0 30px 32px #07051699)}.hex-intro-board:before{content:'';position:absolute;inset:9%;border-radius:35%;background:radial-gradient(circle,#64478c 0%,#211a40 65%,transparent 75%);filter:blur(30px)}.hex-intro-board i{position:absolute;left:calc(4% + var(--c)*18.5% + var(--offset));top:calc(2% + var(--r)*18.4%);width:20%;height:22%;display:grid;place-items:center;background:linear-gradient(140deg,#eed9a6,#e7c878);color:#282044;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);font-style:normal;font-weight:900;box-shadow:inset 0 0 0 8px #fff3}
.hex-top,.hex-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.hex-top{color:#cfc3e8;border-bottom:1px solid #695b8c;padding-bottom:15px}.hex-top .hex-back{margin:0}.hex-top button{font-size:.82rem}.hex-heading{margin:30px 0}.hex-heading>span{border:1px solid #b5a1ce;border-radius:30px;padding:7px 16px;color:var(--gold);white-space:nowrap}.hex-score{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:990px;margin:15px auto}.hex-score>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 17px;border:1px solid #b6a58c;border-radius:13px;background:#2d2844}.hex-score .hex-score-b{border-color:#a98bdf;background:#33294f}.hex-score b{color:var(--gold)}.hex-score-b b{color:#d7bfff}.hex-score span{font-size:.8rem;color:#dcd3e9}.hex-score strong{white-space:nowrap;font-size:.82rem}.hex-board-wrap{max-width:1050px;margin:20px auto 0;position:relative;padding:0 70px}.hex-board{display:flex;align-items:center;justify-content:center;position:relative;min-height:570px;border:1px solid #655b90;border-radius:27px;background:radial-gradient(ellipse at center,#34294e,#191730 78%);overflow:hidden}.hex-board:before,.hex-board:after{content:'';position:absolute;left:0;right:0;height:60px;background:linear-gradient(90deg,transparent,#e9c76788,transparent);filter:blur(27px);opacity:.45}.hex-board:before{top:0}.hex-board:after{bottom:0}.hex-edge{color:#f5dfaa;font-size:.88rem;font-weight:800;text-align:center;padding:7px}.hex-side{writing-mode:vertical-rl;position:absolute;top:50%;transform:translateY(-50%);color:#d7bfff;font-size:.85rem;font-weight:800;z-index:2}.hex-side-right{right:12px}.hex-side-left{left:12px}.hex-grid{--step:18%;--height:23%;position:relative;width:min(87%,750px);aspect-ratio:1.38;max-height:570px;margin:auto;direction:ltr}.hex-cell{position:absolute;left:calc(2% + var(--c)*18.5% + var(--offset));top:calc(1% + var(--r)*18.4%);width:20%;height:22%;display:grid;place-items:center;border:0;padding:0;background:#d3c3a7;color:#251c43;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);filter:drop-shadow(0 3px 1px #000);transition:transform .18s,background .18s;isolation:isolate}.hex-cell:before{content:'';position:absolute;inset:4px;background:linear-gradient(160deg,#fffdfa,#e6dddc);clip-path:inherit;z-index:-1}.hex-cell span{display:block;max-width:90%;font-weight:950;font-size:clamp(.69rem,1.25vw,1.22rem);line-height:1.25;text-align:center;direction:rtl;overflow-wrap:anywhere}.hex-cell:hover:not(:disabled){transform:scale(1.08);z-index:2;background:#f5d479}.hex-cell.owned-0{background:#f6da8e}.hex-cell.owned-0:before{background:linear-gradient(155deg,#f4d985,#b38b46)}.hex-cell.owned-1{background:#b9a0ed}.hex-cell.owned-1:before{background:linear-gradient(155deg,#b395ef,#6645ac)}.hex-cell.owned-1 span{color:white}.hex-cell.is-path{background:white;filter:drop-shadow(0 0 11px #ffdd8b)}.hex-tip{font-size:.88rem;text-align:center;margin:19px auto;max-width:700px}.hex-question-card{margin:35px auto 18px;max-width:1030px;min-height:350px;border:1px solid #a38cc6;border-radius:26px;padding:35px;background:radial-gradient(circle at 18% 10%,#544273,#2a254e 55%,#1a1937);text-align:center;box-shadow:0 24px 60px #08071955}.hex-question-label{display:inline-grid;place-items:center;min-width:94px;min-height:94px;padding:12px;margin:16px 0;color:#2c1d3c;background:var(--gold);font-size:clamp(1.5rem,3vw,2.3rem);font-weight:950;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}.hex-question-card h1{max-width:900px;margin:10px auto 20px;font-size:clamp(1.65rem,3.8vw,3.4rem);line-height:1.45}.hex-clock{display:inline-grid;min-width:240px;gap:3px;border:1px solid #a99bbf;border-radius:15px;padding:10px 20px;background:#17172e;color:#ddd4ec}.hex-clock strong{color:var(--gold);font-size:2.3rem;line-height:1.1}.hex-clock .urgent{color:#ff9c88}.hex-answer{display:grid;gap:6px;margin:18px auto 5px;padding:13px 35px;border-radius:14px;background:#f3d585;color:#211934;width:max-content;max-width:100%}.hex-answer strong{font-size:1.9rem}.hex-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;max-width:1050px;margin:22px auto}.hex-actions>*{flex:1 1 200px;max-width:340px}.hex-team-0{color:#f3d585}.hex-team-1{color:#d9bcff}.hex-victory{text-align:center;min-height:65vh;padding-top:75px}.hex-victory h1{color:var(--gold)}.hex-win-cells{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:35px auto}.hex-win-cells span{padding:10px 13px;border:1px solid var(--gold);border-radius:12px;background:#3c3058;color:#fff}.hex-loading{padding:70px;text-align:center;color:#fff;background:#1c1937}
@media(max-width:960px){.hex-intro{grid-template-columns:1fr;gap:5px}.hex-intro-board{width:min(70vw,420px);margin:15px auto 55px}.hex-board-wrap{padding:0 16px}.hex-board{min-height:0}.hex-grid{width:89%;aspect-ratio:1.1}.hex-score span{display:none}}
@media(max-width:600px){.hex-shell{padding:18px 12px}.hex-mode-picker button{font-size:1rem;padding:11px}.hex-config{grid-template-columns:1fr}.hex-config label:last-child{grid-column:auto}.hex-intro-board{width:min(85vw,360px)}.hex-heading{margin:17px 0}.hex-heading>span{font-size:.7rem}.hex-score{gap:5px}.hex-score>div{padding:9px;display:block}.hex-score strong{display:block}.hex-board-wrap{padding:0}.hex-board{border-radius:12px;padding:15px 2px}.hex-grid{width:94%;aspect-ratio:1.08}.hex-side{display:none}.hex-cell span{font-size:clamp(.62rem,2.4vw,.85rem);line-height:1.05}.hex-cell:before{inset:2px}.hex-question-card{padding:24px 12px;min-height:280px}.hex-question-label{min-width:70px;min-height:70px}.hex-actions>*{flex:1 1 140px;font-size:.84rem;padding:8px}.hex-tip{font-size:.76rem}}
.theme-letters{background:#1c1738}.hex-cover{position:absolute;inset:0;overflow:hidden;background:radial-gradient(circle at 45% 37%,#634584,#191433 73%)}.hex-cover:before,.hex-cover:after{content:'';position:absolute;width:80%;height:65%;border-radius:50%;filter:blur(45px);opacity:.22}.hex-cover:before{right:-36%;top:-25%;background:#f3d585}.hex-cover:after{left:-25%;bottom:-40%;background:#a584e4}.hex-cover-grid{position:absolute;inset:3% 13% 7%;transform:rotate(-11deg);filter:drop-shadow(0 15px 22px #070518a8)}.hex-cover-grid span{position:absolute;left:calc(3% + var(--c)*18% + var(--offset));top:calc(1% + var(--r)*18.5%);width:20%;height:23%;display:grid;place-items:center;background:#e3d2b6;color:#251a44;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);font-size:clamp(1rem,2vw,2.2rem);font-weight:950}.hex-cover-grid span:nth-child(3n){background:#f3d585}.hex-cover-grid span:nth-child(7n){background:#9e78db;color:#fff}.hex-cover-caption{position:absolute;inset:auto 0 0;padding:45px 22px 22px;text-align:center;background:linear-gradient(transparent,#15112ff5 54%);color:#fff;display:grid;gap:3px}.hex-cover-caption small{color:#f3d585;font-weight:850}.hex-cover-caption strong{font-size:clamp(2rem,3vw,3.4rem);line-height:1.1}.hex-cover-caption em{font-style:normal;font-size:.82rem;font-weight:700}

/* The goal edges are part of the arena, not just captions outside it. */
.hex-board{border:2px solid #b9a1d9;background:radial-gradient(circle at 50% 50%,#241b3b9a 0%,#241b3b24 60%,transparent 82%),conic-gradient(from 45deg at 50% 50%,#7754bd 0 90deg,#bb9650 90deg 180deg,#7754bd 180deg 270deg,#bb9650 270deg 360deg);box-shadow:inset 0 0 0 8px #1b16335c,0 18px 46px #0b0a2280}
.hex-board:before,.hex-board:after{display:none}
.hex-grid{z-index:2}
.hex-edge{display:flex;justify-content:center;align-items:center;min-height:43px;border:1px solid #fff2ba;border-radius:13px;background:linear-gradient(90deg,#a67e3d,#efd68f 34%,#f4dda0 65%,#a67e3d);color:#241b36;font-size:clamp(.85rem,1.2vw,1.04rem);font-weight:950;text-align:center;box-shadow:inset 0 1px #fff8d0,0 5px 20px #0b092742}
.hex-edge-top{margin-bottom:9px}.hex-edge-bottom{margin-top:9px}
.hex-side{z-index:3;display:grid;place-items:center;min-height:58%;width:42px;padding:16px 7px;border:1px solid #c8afff;border-radius:19px;background:linear-gradient(180deg,#5e3ca3,#9a75df 50%,#5e3ca3);box-shadow:0 6px 26px #1c0b44a8;color:#fff;font-size:.83rem;text-shadow:0 1px 4px #251043}
.hex-side-right{right:9px}.hex-side-left{left:9px}
.hex-intro-board i{padding:10px 8px;font-size:clamp(.65rem,1.24vw,1.02rem);line-height:1.15;text-align:center;overflow-wrap:anywhere}
.hex-intro-board i:nth-child(5n+2){background:linear-gradient(140deg,#fff5db,#d9c4a0)}
.hex-intro-board i:nth-child(7n){background:linear-gradient(140deg,#c8a9ed,#8b67c9);color:#fff}
.hex-cover-grid{background:radial-gradient(circle at center,#29194350,transparent 65%),conic-gradient(from 45deg,#754db3 0 90deg,#b99557 90deg 180deg,#754db3 180deg 270deg,#b99557 270deg 360deg);border:2px solid #f0d99d;border-radius:22px;box-shadow:0 0 0 6px #f7e7b021,0 25px 35px #09051f8a}
.hex-cover-grid span{font-size:clamp(.85rem,1.3vw,1.3rem)}
@media(max-width:960px){.hex-side{width:30px;min-height:50%;font-size:.7rem;padding:8px 4px}.hex-side-right{right:3px}.hex-side-left{left:3px}}
@media(max-width:600px){.hex-side{display:none}.hex-edge{min-height:36px;font-size:.76rem}.hex-intro-board i{padding:5px 3px;font-size:clamp(.48rem,2vw,.72rem);line-height:1.05}.hex-board{box-shadow:inset 0 0 0 4px #1b16335c,0 12px 30px #0b0a2280}}

/* The playing surface uses separated, raised tiles; team territory is built into its frame. */
.hex-shell{--gold:#e9c36f;--violet:#a887e5;background:
  radial-gradient(circle at 72% 3%,#342752 0,transparent 37%),
  radial-gradient(circle at 9% 85%,#263457 0,transparent 37%),
  #101327}
.hex-shell h1{letter-spacing:-.035em;text-shadow:0 3px 20px #080a1f60}
.hex-intro{gap:clamp(30px,5vw,80px)}
.hex-intro-board{width:min(100%,610px);aspect-ratio:1.05;transform:perspective(900px) rotateX(7deg) rotate(-5deg);filter:drop-shadow(0 34px 35px #030516a8)}
.hex-intro-board::before{inset:7% 3%;border-radius:36px;background:
  radial-gradient(ellipse at 48% 44%,#5b447a85,transparent 54%),
  linear-gradient(145deg,#242b49,#10142e);border:1px solid #e5c37655;filter:none;box-shadow:inset 0 0 45px #050817a8,0 0 0 9px #b5904a16}
.hex-intro-board i,.hex-cover-grid span{--tile-top:#fff0b6;--tile-bottom:#b78940;--tile-edge:#734e2c;
  position:absolute;left:calc(3% + var(--c)*17.2% + var(--offset));top:calc(1% + var(--r)*19.5%);
  width:16%;height:18%;padding:0;background:none!important;color:#271b35;
  border:0;clip-path:none;box-shadow:none;isolation:isolate;filter:drop-shadow(0 9px 6px #040619b5);
  transition:transform .35s ease,filter .35s ease}
.hex-intro-board i::before,.hex-intro-board i::after,
.hex-cover-grid span::before,.hex-cover-grid span::after,
.hex-cell::before,.hex-cell::after{content:'';position:absolute;display:block;
  clip-path:polygon(50% 0%,98% 25%,98% 75%,50% 100%,2% 75%,2% 25%)}
.hex-intro-board i::before,.hex-cover-grid span::before{inset:1px 0 0;z-index:0;background:linear-gradient(130deg,#fbe1a5 0%,var(--tile-edge) 49%,#382443 100%);transform:translateY(7px)}
.hex-intro-board i::after,.hex-cover-grid span::after{inset:0 2px 7px;z-index:1;
  background:linear-gradient(150deg,#fff8dbbb 0%,transparent 29%),linear-gradient(135deg,var(--tile-top),var(--tile-bottom));
  box-shadow:inset 0 1px 3px #fff9d8}
.hex-intro-board i>span,.hex-cover-grid span>b{position:relative;z-index:2;display:block;max-width:89%;font-weight:950;line-height:1.12;text-align:center;direction:rtl;text-shadow:0 1px #fff8b34d}
.hex-intro-board i{display:grid;place-items:center;font-size:clamp(.6rem,1.17vw,1rem)}
.hex-intro-board i:nth-child(5n+2){--tile-top:#ffe4a3;--tile-bottom:#aa7a3b}
.hex-intro-board i:nth-child(7n){--tile-top:#cab1ff;--tile-bottom:#664296;--tile-edge:#3a2462;color:#fff}
.hex-intro-board i:nth-child(7n)>span{color:#fff;text-shadow:0 1px 6px #261044}
.hex-intro-board i:nth-child(1),.hex-intro-board i:nth-child(2),.hex-intro-board i:nth-child(3){animation:hex-rise .7s both}
.hex-intro-board i:nth-child(2){animation-delay:.1s}.hex-intro-board i:nth-child(3){animation-delay:.2s}
@keyframes hex-rise{from{opacity:0;transform:translateY(15px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}
.hex-mode-picker button{border-color:#6b6386;background:linear-gradient(145deg,#282744,#171b35);box-shadow:inset 0 1px #ffffff15,0 7px 18px #06081762}
.hex-mode-picker button[aria-pressed=true]{border-color:#ebcb84;background:linear-gradient(145deg,#504168,#2b2850);box-shadow:inset 0 0 0 1px #efd68a77,0 12px 30px #070618aa}
.hex-config input,.hex-config select{background:#12192e;border-color:#776c90}
.hex-primary{background:linear-gradient(160deg,#ffebad,#c89e4d);border:1px solid #ffe7a5;box-shadow:inset 0 2px #fff7d0,0 5px 0 #806131,0 14px 25px #0707197a}
.hex-primary:hover{transform:translateY(-2px);box-shadow:inset 0 2px #fff7d0,0 7px 0 #806131,0 18px 28px #0707198a}
.hex-board{min-height:650px;border:2px solid #b08a50;border-radius:32px;overflow:hidden;
  background:radial-gradient(ellipse at 50% 50%,#11172ce3 0%,#101327db 43%,transparent 78%),
  conic-gradient(from 45deg,#472d75 0 90deg,#83612f 90deg 180deg,#472d75 180deg 270deg,#83612f 270deg 360deg);
  box-shadow:inset 0 0 0 8px #090d20, inset 0 0 65px #060815d9,0 25px 60px #050616b8}
.hex-board::before{display:block;inset:12px;border:1px solid #e6c47752;border-radius:22px;height:auto;filter:none;opacity:1;background:none;pointer-events:none}
.hex-board::after{display:block;inset:22px;border:1px solid #c4a15c2b;border-radius:18px;height:auto;filter:none;opacity:1;background:none;pointer-events:none}
.hex-grid{z-index:2;width:min(87%,760px);max-height:none;aspect-ratio:1.23;filter:drop-shadow(0 13px 18px #050612a0)}
.hex-cell{--tile-top:#666783;--tile-bottom:#32314e;--tile-edge:#181728;
  left:calc(3% + var(--c)*17.2% + var(--offset));top:calc(1% + var(--r)*19.5%);
  width:16%;height:18%;padding:0;border:0;background:none!important;clip-path:none;
  color:#fff8de;filter:drop-shadow(0 10px 5px #030512cc);isolation:isolate;
  transition:transform .22s ease,filter .22s ease}
.hex-cell::before{inset:1px 0 0;z-index:0;background:linear-gradient(130deg,#a5a5bf,var(--tile-edge) 52%,#080a1a);transform:translateY(8px)}
.hex-cell::after{inset:0 2px 8px;z-index:1;background:
  linear-gradient(155deg,#ffffff36 0%,transparent 31%),
  linear-gradient(145deg,var(--tile-top),var(--tile-bottom));box-shadow:none}
.hex-cell span{position:relative;z-index:2;max-width:87%;font-size:clamp(.72rem,1.18vw,1.13rem);color:inherit;text-shadow:0 2px 4px #0907189a}
.hex-cell:hover:not(:disabled),.hex-cell:focus-visible{transform:translateY(-9px) scale(1.045);filter:drop-shadow(0 20px 13px #03040dd9);z-index:5}
.hex-cell:hover:not(:disabled){--tile-top:#8a7797;--tile-bottom:#494367;--tile-edge:#2f2348}
.hex-cell.owned-0{--tile-top:#ffe9a2;--tile-bottom:#aa742e;--tile-edge:#62401e;color:#26182c}
.hex-cell.owned-1{--tile-top:#c5a6fb;--tile-bottom:#63428e;--tile-edge:#332052;color:#fff}
.hex-cell.owned-0 span{color:#26182c;text-shadow:0 1px #ffdf8b66}
.hex-cell.owned-1 span{color:#fff;text-shadow:0 2px 6px #26133b}
.hex-cell.is-path{--tile-top:#fff2bd;--tile-bottom:#d2a64e;filter:drop-shadow(0 0 16px #ffdf82)}
.hex-edge{background:linear-gradient(135deg,#9d7637,#e1be70 42%,#a67b3c);color:#21192c;border:1px solid #f7dda2;box-shadow:inset 0 2px #ffeabc99,0 6px 15px #040612b3}
.hex-side{background:linear-gradient(180deg,#47306c,#8664b5 50%,#47306c);border-color:#c0a0f2;box-shadow:inset 2px 1px #e6d0ff6e,0 9px 18px #040612b3}
.hex-score>div{background:linear-gradient(135deg,#3c334a,#242841);border-color:#9a7541;box-shadow:inset 0 1px #f8dda442}
.hex-score .hex-score-b{background:linear-gradient(135deg,#393054,#242841);border-color:#8f70b5}
.hex-cover{background:radial-gradient(ellipse at 55% 37%,#4b395f 0%,#1c1b38 51%,#0c1228 100%)}
.hex-cover::before{inset:8% 12% 36%;width:auto;height:auto;border:1px solid #ebcf8b5e;border-radius:24px;filter:none;opacity:1;background:linear-gradient(135deg,#d1b26a22,#583a8b19);box-shadow:inset 0 0 26px #050716d1,0 0 0 5px #d8b36a14}
.hex-cover::after{left:10%;bottom:-24%;width:80%;height:55%;filter:blur(30px);background:#b78a4b;opacity:.17}
.hex-cover-grid{inset:0 12% 30%;transform:perspective(600px) rotateX(10deg) rotate(-8deg);filter:drop-shadow(0 15px 10px #040514ab);border:0;border-radius:0;background:none;box-shadow:none}
.hex-cover-grid span{display:grid;place-items:center;font-size:clamp(.7rem,1.2vw,1.15rem)}
.hex-cover-grid span:nth-child(3n){--tile-top:#ffdf8a;--tile-bottom:#a9732e;--tile-edge:#603c1d}
.hex-cover-grid span:nth-child(7n){--tile-top:#c7a3fa;--tile-bottom:#633c9a;--tile-edge:#38215d;color:#fff}
.hex-cover-grid span>b{font-weight:950;font-size:inherit;text-shadow:0 1px 4px #221a3f6e}
.hex-cover-caption{z-index:4;inset:auto 0 0;padding:48px 20px 20px;
  background:linear-gradient(transparent,#0b1024e8 31%,#080d20 100%);text-shadow:0 2px 12px #080a1d}
.hex-cover-caption small{color:#f5d887}.hex-cover-caption strong{font-size:clamp(2.1rem,3.1vw,3.7rem)}
.game-card:hover .hex-cover-grid{transform:perspective(600px) rotateX(7deg) rotate(-6deg) translateY(-5px);transition:transform .4s ease}
@media(max-width:960px){.hex-intro-board{width:min(80vw,530px)}.hex-board{min-height:0}.hex-grid{width:83%;aspect-ratio:1.2}}
@media(max-width:600px){.hex-shell{padding:20px 12px}.hex-intro-board{width:min(95vw,410px);margin:5px auto 35px}.hex-intro-board i{font-size:clamp(.43rem,1.85vw,.72rem)}.hex-intro-board i>span{max-width:90%}
  .hex-board{border-radius:18px;padding:0 3px;box-shadow:inset 0 0 0 4px #090d20,0 12px 30px #050616b8}
  .hex-board::before{inset:6px;border-radius:12px}.hex-board::after{display:none}
  .hex-grid{width:96%;aspect-ratio:1.13}.hex-cell span{font-size:clamp(.52rem,2vw,.78rem);line-height:1.06;max-width:90%}
  .hex-cell::before{transform:translateY(4px)}.hex-cell::after{inset:0 1px 4px}
  .hex-edge{font-size:.75rem}.hex-cover-grid{inset:0 7% 31%}}
@media(prefers-reduced-motion:reduce){.hex-intro-board i{animation:none}.hex-cell,.hex-cover-grid,.hex-primary{transition:none!important}}

/* A close-packed honeycomb: the staggered rows share a visual edge without touching. */
.hex-intro-board i,.hex-cell{
  left:calc(3% + var(--c)*16.9% + var(--offset));
  top:calc(7.5% + var(--r)*15.8%);
  width:16.4%;height:20%
}
.hex-cell,.hex-intro-board i{filter:drop-shadow(0 5px 4px #03040b9c)}
.hex-cell::before,.hex-intro-board i::before{transform:translateY(4px);background:linear-gradient(145deg,#fff0b9 0%,var(--tile-edge) 43%,#281a37 100%)}
.hex-cell::after,.hex-intro-board i::after{inset:0 2px 4px;
  background:
    radial-gradient(ellipse at 27% 12%,#fffef2b8,transparent 36%),
    repeating-linear-gradient(145deg,#fff9dc0b 0 2px,transparent 2px 7px),
    linear-gradient(154deg,var(--tile-top) 0%,var(--tile-bottom) 72%,#503159 100%);
  box-shadow:inset 0 1px 2px #fff7d8bd}
.hex-intro-board i>span,.hex-cell span{text-shadow:0 1px 1px #ffedbd66,0 3px 6px #26152851}
.hex-fullscreen{min-height:40px;padding:7px 14px;border:1px solid #b6a4d0;border-radius:11px;background:#241f3d;color:#f7ebce;font-weight:800;white-space:nowrap;box-shadow:inset 0 1px #ffffff18}
.hex-fullscreen:hover{border-color:#f4d587;background:#352b52}
.hex-top-actions{display:flex;align-items:center;gap:9px}
.hex-setup>.hex-fullscreen{float:left;position:relative;z-index:4}
.hex-victory>.hex-fullscreen{position:absolute;top:24px;left:max(18px,calc((100vw - 1320px)/2))}
#letters-root:fullscreen{width:100vw;height:100dvh;overflow-y:auto;background:#101327}
#letters-root:fullscreen .hex-shell{min-height:100dvh}
#letters-root:fullscreen .hex-play .hex-board-wrap{max-width:1170px}
#letters-root:fullscreen .hex-play .hex-grid{width:min(87%,870px)}
@media(max-width:600px){.hex-cell::before,.hex-intro-board i::before{transform:translateY(3px)}.hex-cell::after,.hex-intro-board i::after{inset:0 1px 3px}.hex-fullscreen{font-size:.75rem;min-height:36px;padding:6px 9px}.hex-top-actions{gap:5px}.hex-victory>.hex-fullscreen{top:12px;left:12px}}

/* Claimed violet cells keep their team color and readable labels at rest. */
.hex-cell.owned-1,.hex-cell.owned-1:disabled{
  --tile-top:#d6b5ff;--tile-bottom:#8445d3;--tile-edge:#482275;
  opacity:1;color:#fff
}
.hex-cell.owned-1::after{
  background:radial-gradient(circle at 26% 15%,#fff5ffb8,transparent 38%),
    linear-gradient(148deg,#dbbdff 0%,#a36dea 48%,#6e35b5 100%);
  box-shadow:inset 0 2px 3px #f8ebffb8
}
.hex-cell.owned-1 span{color:#fff!important;text-shadow:0 2px 4px #281047,0 0 9px #210b3f}
.hex-demo-notice{padding:12px 16px;border:1px solid #d7bd80;border-radius:14px;background:#e9c36f19;color:#f8e6b8!important;font-weight:750}
.hex-full-cta{margin:10px 12px;vertical-align:middle}

/* The cover foreground names the knowledge mode; the scene supplies the fields. */
.hex-cover--fields{background:#0c1022}
.hex-cover--fields img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 33%;filter:saturate(.96) contrast(1.03) brightness(.89);transition:transform .5s ease}
.hex-cover--fields::before{inset:9px;width:auto;height:auto;z-index:2;border:1px solid #d6ad654a;border-radius:19px;background:none;box-shadow:inset 0 0 35px #080b1c6b;opacity:1;filter:none;pointer-events:none}
.hex-cover--fields::after{inset:0;width:auto;height:auto;z-index:1;background:linear-gradient(90deg,#0b0b1b33,transparent 35%,#0b0b1b1e);opacity:1;filter:none;pointer-events:none}
.hex-cover-mode{position:absolute;top:17px;left:17px;z-index:3;padding:6px 12px;border:1px solid #f7d78b91;border-radius:999px;background:#151526c8;color:#fff0bd;font-size:.78rem;font-weight:900;box-shadow:0 7px 18px #0807159c;backdrop-filter:blur(8px)}
.hex-cover--fields .hex-cover-caption{z-index:4;padding:50px 18px 18px;background:linear-gradient(transparent,#090c1be8 36%,#070b19 100%)}
.hex-cover--fields .hex-cover-caption small{color:#f9d989}
.hex-cover--fields .hex-cover-caption strong{color:#fff8e7;text-shadow:0 2px 18px #080a17}
.hex-cover--fields .hex-cover-caption em{color:#f3e5cf}
.game-card:hover .hex-cover--fields img{transform:scale(1.045)}
@media(prefers-reduced-motion:reduce){.hex-cover--fields img{transition:none}}
#letters-root.hex-theater{position:fixed;inset:0;z-index:100000;width:100vw;height:100dvh;overflow-y:auto;background:#101327;overscroll-behavior:contain}
#letters-root.hex-theater .hex-shell{min-height:100dvh}
#letters-root.hex-theater .hex-play .hex-board-wrap{max-width:1170px}
#letters-root.hex-theater .hex-play .hex-grid{width:min(87%,870px)}
