/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}}:root{--navy:#092b61;--green:#35a328;--deep-green:#177226;--purple:#6728a0;--cream:#fff9e8;--orange:#ffad18;--blue:#248fd7}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--navy);background:#f7f7ec;font-family:Trebuchet MS,Arial Rounded MT Bold,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}.topbar{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-bottom:1px solid #e7dbc1;justify-content:space-between;align-items:center;height:64px;padding:0 clamp(14px,3.5vw,58px);display:flex;position:sticky;top:0}.brand{color:var(--navy);background:0 0;border:0;align-items:center;gap:9px;font-size:19px;font-weight:1000;display:flex}.brand span{filter:drop-shadow(0 3px 2px #7d9e4a44);font-size:30px}.topbar nav{gap:5px;display:flex}.topbar nav button,.text-button{color:#17447b;background:0 0;border:0;border-radius:12px;padding:9px 12px;font-weight:900}.topbar nav button:hover{color:var(--green);background:#eef8e8}.primary,.secondary,.soft-button{border:0;border-radius:15px;padding:14px 22px;font-weight:1000;transition:transform .18s,box-shadow .18s;box-shadow:0 5px #0c2b6329}.primary{color:#fff;background:linear-gradient(#58c344,#26922b)}.primary:hover{transform:translateY(-2px);box-shadow:0 7px #0c2b6329}.secondary{color:var(--navy);background:#fff;border:2px solid #dce5cf}.soft-button{color:#5d2b82;background:#f4e7ff}.full{width:100%}.hero{background:radial-gradient(circle at 8% 14%,#fff0a7 0,#0000 20%),linear-gradient(#fffdf4,#eff8d4 75%,#d8eda5);min-height:calc(100vh - 64px);padding:clamp(30px,5vw,68px) clamp(20px,5vw,78px) 0;position:relative;overflow:hidden}.hero:after{content:"";opacity:.38;background:linear-gradient(175deg,#0000 0 35%,#8bc861 36% 100%);height:120px;position:absolute;inset:auto 0 0}.hero-copy{z-index:3;width:min(620px,42vw);position:relative}.age-pill{color:#377726;background:#f4ffe7;border:2px solid #b9d887;border-radius:999px;padding:9px 15px;font-weight:900;display:inline-block}h1{letter-spacing:-4px;text-shadow:0 3px #fff;max-width:660px;margin:22px 0;font-size:clamp(54px,6.2vw,92px);line-height:.91}h1 span{color:#319b2b}.hero-copy>p{color:#3d5262;margin:0;font-size:clamp(18px,1.65vw,24px);line-height:1.43}.hero-actions{gap:12px;margin:28px 0;display:flex}.reward-row{flex-wrap:wrap;gap:9px;font-weight:900;display:flex}.reward-row span{background:#fff;border-radius:12px;padding:9px 12px;box-shadow:0 5px 18px #33542a20}.hero-map{z-index:2;border:9px solid #fff;border-radius:28px;width:min(54vw,900px);position:absolute;top:clamp(28px,4vw,58px);right:2.2vw;overflow:hidden;transform:rotate(1deg);box-shadow:0 24px 60px #284a3438}.hero-map img{width:100%;display:block}.hero-map-label{color:#fff;background:#173d70e8;border:2px solid #fff8;border-radius:15px;flex-direction:column;padding:11px 15px;display:flex;position:absolute;bottom:18px;left:20px}.hero-map-label b{font-size:20px}.hero-map-label span{font-size:12px}.territory-strip{z-index:4;background:#fff;border-radius:24px;grid-template-columns:repeat(10,1fr);margin-top:clamp(62px,10vw,150px);display:grid;position:relative;overflow:hidden;box-shadow:0 10px 34px #284a3428}.territory-strip div{text-align:center;border-right:1px solid #e9e2d2;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:104px;padding:11px 7px;display:flex}.territory-strip b{font-size:29px}.territory-strip span{font-size:10px;font-weight:1000;line-height:1.16}.card-preview-strip{z-index:4;grid-template-columns:repeat(3,1fr);gap:14px;padding:34px 0 70px;display:grid;position:relative}.card-preview-strip img{border:5px solid #fff;border-radius:18px;width:100%;box-shadow:0 10px 24px #34532c25}.setup-page{background:radial-gradient(circle at 10% 10%,#fff1b9,#0000 25%),linear-gradient(#e7f8d7,#fff9e9);min-height:calc(100vh - 64px);padding:30px 20px}.back{text-align:left;width:min(720px,100%);color:var(--navy);background:0 0;border:0;margin:auto;font-weight:900;display:block}.setup-card{text-align:center;background:#fff;border:4px solid #f0e3c4;border-radius:27px;width:min(720px,100%);margin:14px auto;padding:30px 36px;box-shadow:0 18px 55px #43623125}.setup-icon{font-size:58px}.setup-card h2{margin:4px;font-size:35px}.setup-card>p{color:#677683}.count-picker{grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0;display:grid}.count-picker button{background:#fbfff6;border:2px solid #d8e3cd;border-radius:14px;padding:14px;font-weight:900}.count-picker button.active{color:#267321;background:#e8f7df;border-color:#3ca333}.name-grid{gap:10px;margin-bottom:20px;display:grid}.name-grid label{align-items:center;gap:11px;display:flex}.name-grid span,.score-list i{color:#fff;border-radius:50%;place-items:center;width:36px;height:36px;font-style:normal;font-weight:1000;display:grid}.name-grid input{border:2px solid #e4e2da;border-radius:12px;outline:none;flex:1;padding:13px}.name-grid input:focus{border-color:#72bb42}.levels{color:#536473;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:18px;font-size:11px;display:grid}.levels span{background:#f7f5ed;border-radius:10px;padding:9px}.game-running{height:100dvh;overflow:hidden}.game-page{background:linear-gradient(135deg,#eff7e5,#fff8e8);height:calc(100dvh - 64px);padding:8px clamp(8px,1.3vw,22px) 12px}.game-head{grid-template-columns:190px 1fr 112px;align-items:center;gap:10px;height:52px;margin-bottom:7px;display:grid}.turn-name{flex-direction:column;padding-left:4px;display:flex}.turn-name small{color:#758191;font-size:13px;font-weight:800}.turn-name b{font-size:21px}.message{white-space:nowrap;text-overflow:ellipsis;text-align:center;background:#fff4ca;border:1px solid #e9d184;border-radius:13px;padding:9px 13px;font-size:15px;font-weight:900;overflow:hidden}.game-head-actions{justify-content:flex-end;gap:6px;display:flex}.icon-button{width:38px;height:38px;color:var(--navy);background:#fff;border:0;border-radius:12px;font-weight:1000}.quit{box-shadow:none;border-width:1px;padding:8px 12px}.game-layout{grid-template-columns:minmax(0,1fr) clamp(270px,19vw,315px);gap:10px;height:calc(100% - 59px);display:grid}.board-shell{background:#fffdf5;border:4px solid #1d4e87;border-radius:20px;place-items:center;min-width:0;height:100%;padding:6px;display:grid;box-shadow:0 10px 30px #244b7b22}.map-board{aspect-ratio:1672/941;isolation:isolate;background-position:50%;background-size:cover;border-radius:14px;width:min(100%,177.7dvh - 268.327px);position:relative;overflow:hidden}.map-board:after{content:"";z-index:1;pointer-events:none;border-radius:inherit;position:absolute;inset:0;box-shadow:inset 0 0 30px #11386642}.map-ribbon{z-index:8;text-align:center;color:#fff;text-shadow:0 2px #321606;background:linear-gradient(#536d68,#344d4d);border:3px solid #e8d8a7;border-radius:13px;flex-direction:column;min-width:250px;padding:7px 16px;display:flex;position:absolute;top:1.6%;left:50%;transform:translate(-50%);box-shadow:0 4px 10px #122b4140}.map-ribbon b{font-size:clamp(15px,1.45vw,22px)}.map-ribbon span{color:#f4e6b7;font-size:11px;font-weight:900}.route-node{z-index:5;aspect-ratio:1;color:#18335c;background:#fff7d6;border:2px solid #8b6428;border-radius:50%;place-items:center;width:clamp(22px,1.65vw,26px);padding:0;font-size:clamp(10px,.82vw,13px);font-weight:1000;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fffffff0,0 3px 6px #0006}.route-node:hover{z-index:12;transform:translate(-50%,-50%)scale(1.45)}.route-node.fact,.route-node.myth,.route-node.mini,.route-node.choice,.route-node.detective,.route-node.lab,.route-node.tradition,.route-node.surprise,.route-node.trap,.route-node.start,.route-node.crystal{color:#fff;border:3px solid #fff;width:clamp(27px,1.95vw,30px);font-size:clamp(13px,1vw,16px);box-shadow:0 0 0 2px #12345c9c,0 3px 7px #0008}.route-node.fact:after,.route-node.myth:after,.route-node.mini:after,.route-node.choice:after,.route-node.detective:after,.route-node.lab:after,.route-node.tradition:after,.route-node.surprise:after,.route-node.trap:after,.route-node.start:after,.route-node.crystal:after{content:attr(data-cell);color:#12345c;background:#fff;border:1px solid #315982;border-radius:10px;place-items:center;min-width:16px;height:16px;padding:0 3px;font-size:8px;font-weight:1000;line-height:1;display:grid;position:absolute;top:-7px;right:-7px;box-shadow:0 2px 4px #0004}.route-node.fact{background:#49aa2d}.route-node.myth{background:#762ba8}.route-node.mini{background:#f19a12}.route-node.choice{background:#1c8ad3}.route-node.detective{background:#ef6942}.route-node.lab{background:#34a5a0}.route-node.tradition{background:#1674bb}.route-node.surprise{background:#e9b51c}.route-node.trap{background:#bf573f}.route-node.start{background:#1b75bb}.route-node.crystal{background:#28a5ef}.route-node.final-node{color:#fff;background:linear-gradient(#e4bc45,#a97010);border:3px solid #fff9d6;width:clamp(40px,3vw,54px);font-size:clamp(20px,1.5vw,26px);box-shadow:0 3px 9px #5c3c0d99,0 0 0 3px #d9b13e}.route-node.final-node:after{display:none}.route-node.occupied{z-index:11;outline:4px solid #fff;animation:1.25s infinite nodePulse}@keyframes nodePulse{50%{box-shadow:0 0 0 10px #fff9,0 3px 8px #0008}}.map-pawns{display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.map-pawns i{color:#fff;border:3px solid #fff;border-radius:50%;flex:none;place-items:center;width:clamp(29px,2.2vw,40px);height:clamp(29px,2.2vw,40px);margin-left:-6px;font-size:clamp(13px,1vw,16px);font-style:normal;font-weight:1000;line-height:1;display:grid;transform:translateY(-70%);box-shadow:0 3px 8px #0009,0 0 0 2px #173d70}.map-pawns i:first-child{margin-left:0}.territory-flag{z-index:4;color:#12345c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#fff8dce8;border:2px solid #1e527f;border-radius:10px;align-items:center;gap:6px;width:clamp(145px,10.5vw,185px);max-width:185px;padding:6px 9px;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 3px 7px #163d6459}.territory-flag b{flex:none;font-size:14px}.territory-flag span{font-size:11.5px;font-weight:1000;line-height:1.08}.side-panel{background:#fff;border:3px solid #eadfc1;border-radius:20px;min-height:0;padding:16px;font-size:18px;overflow:auto;box-shadow:0 10px 30px #244b7b18}.panel-top{justify-content:center;align-items:center;gap:15px;display:flex}.panel-top>div:last-child{flex-direction:column;display:flex}.panel-top small{color:#738393;font-size:16px;font-weight:800}.panel-top b{font-size:21px}.dice{color:#1974bb;background:linear-gradient(145deg,#fff,#e7f4ff);border:4px solid #2388dc;border-radius:16px;place-items:center;width:72px;height:72px;font-size:39px;font-weight:1000;display:grid;box-shadow:0 6px #b9c9d7}.dice.rolling{animation:.2s infinite shake}@keyframes shake{50%{transform:rotate(8deg)scale(1.04)}}.roll-button{margin-top:13px;padding:15px;font-size:19px}.progress-block{margin:13px 2px 8px}.progress-block>div,.crystal-box>div:first-child{justify-content:space-between;font-size:17px;font-weight:900;display:flex}.progress-block progress{accent-color:#3ba332;width:100%;height:15px}.score-list{gap:6px;margin-top:9px;display:grid}.score-list>div{border-radius:11px;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;padding:8px;display:grid}.score-list>div.current{background:#fff3c9;box-shadow:inset 0 0 0 2px #edc64e}.score-list i{width:42px;height:42px;font-size:16px}.score-list span{flex-direction:column;font-size:18px;display:flex}.score-list small{color:#71808f;font-size:15px}.score-list em{font-size:15px;font-style:normal}.crystal-box{background:#eef7ff;border:1px solid #c9e1f1;border-radius:12px;margin-top:12px;padding:12px}.crystal-pieces{grid-template-columns:repeat(10,1fr);margin-top:5px;display:grid}.crystal-pieces i{color:#c5d3da;font-size:14px;font-style:normal}.crystal-pieces i.found{color:#36a6e8;filter:drop-shadow(0 0 3px #4bd1ff)}.ability{color:#62491b;background:#fff7d9;border:1px solid #e8d6a2;border-radius:11px;width:100%;margin-top:11px;padding:11px;font-size:15px;font-weight:900}.side-panel .text-button{width:100%;margin-top:7px;padding:10px 4px;font-size:14px}.modal-backdrop,.drawer-backdrop{z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#102650ad;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.game-card{background:#f7fff0;border:7px solid #43a02c;border-radius:27px;width:min(970px,96vw);max-height:94dvh;padding:14px;overflow:auto;box-shadow:0 25px 80px #0006}.game-card.myth{background:#fbf2ff;border-color:#752da7}.card-top{align-items:center;gap:10px;margin-bottom:10px;display:flex}.card-top>span{color:#fff;background:#39972b;border-radius:11px;padding:7px 11px;font-size:14px;font-weight:1000}.myth .card-top>span{background:#752da7}.card-top .timer{color:#6d7883;margin-left:auto;font-size:13px;font-weight:900}.card-top>button,.drawer-head button{color:#536473;background:#fff;border:0;border-radius:50%;width:36px;height:36px;font-size:25px}.visual-card-wrap{border:3px solid #fff;border-radius:20px;position:relative;overflow:hidden;box-shadow:0 7px 25px #2544222e}.visual-card-wrap img{object-fit:contain;background:#fff;width:100%;max-height:67dvh;display:block}.section-card-content{flex-direction:column;align-items:stretch;gap:14px;display:flex}.section-card-image{align-self:center;width:min(440px,100%)}.section-card-image img{width:auto;max-width:100%;max-height:45dvh;margin:0 auto}.section-card-image .cropped-card-image{background:#fff;width:auto;max-width:100%;max-height:45dvh;margin:0 auto;display:block}.visual-quiz-panel{box-sizing:border-box;background:#fbfff6;border:2px solid #8abe64;border-radius:20px;width:100%;padding:18px}.visual-quiz-panel h2{color:#154b2a;margin:0 0 10px;font-size:clamp(24px,2vw,32px)}.visual-number{color:#fff;background:#0f386fdc;border:2px solid #fff;border-radius:10px;padding:6px 10px;font-size:11px;font-weight:1000;position:absolute;top:10px;right:10px}.scenario-card{background:linear-gradient(135deg,#f0fadf,#fff);border:3px solid #78b848;border-radius:21px;grid-template-columns:minmax(180px,.75fr) 1.5fr;gap:15px;min-height:330px;padding:16px;display:grid}.scenario-illustration{color:#fff;text-align:center;background-color:#0000;background-image:linear-gradient(#123d5a38,#123d5a70),url(/food-discovery-map-v2.png);background-position:50%,50%;background-repeat:no-repeat;background-size:cover,390%;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:5px solid #fff;border-radius:24px;align-content:center;place-items:center;gap:12px;min-height:280px;display:grid;box-shadow:0 8px 20px #244b7b22}.scenario-illustration b{text-shadow:0 4px #0c334d;background:#174f72cf;border:3px solid #ffffffc9;border-radius:50%;padding:14px 18px;font-size:72px;line-height:1;box-shadow:0 5px 16px #082d4980}.scenario-illustration span{background:#123d5ae8;border:2px solid #fff;border-radius:10px;margin:0 12px;padding:8px 12px;font-size:17px;font-weight:1000;box-shadow:0 4px 12px #082d4970}.territory-art-1{background-position:50%,0 100%}.territory-art-2{background-position:50%,26% 80%}.territory-art-3{background-position:50%,7% 47%}.territory-art-4{background-position:50%,24% 25%}.territory-art-5{background-position:50%,42% 18%}.territory-art-6{background-position:50%,62% 20%}.territory-art-7{background-position:50%,82% 26%}.territory-art-8{background-position:50%,92% 55%}.territory-art-9{background-position:50%,77% 78%}.territory-art-10{background-position:50%,94% 20%}.scenario-copy{flex-direction:column;justify-content:center;padding:12px 18px;display:flex}.scenario-copy small{color:#327c2b;font-size:15px;font-weight:1000}.scenario-copy h2{color:var(--navy);margin:8px 0 4px;font-size:clamp(22px,2vw,31px);line-height:1.08}.scenario-copy p{margin:6px 0;font-size:clamp(16px,1.55vw,23px);font-weight:900;line-height:1.25}.scenario-copy .choice-instruction{color:#64736f;font-size:15px;font-weight:800}.quiz-options{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.quiz-options button{text-align:left;min-height:62px;color:var(--navy);background:#fff;border:2px solid #d5dfca;border-radius:13px;grid-template-columns:1fr 23px;align-items:center;gap:7px;padding:8px 10px;font-size:15px;font-weight:900;display:grid;box-shadow:0 3px #dfe7d8}.quiz-options button:hover:not(:disabled){background:#f5ffed;border-color:#62af42;transform:translateY(-1px)}.quiz-options button.selected{color:#174f82;background:#e8f4ff;border-color:#3c8ed0;box-shadow:0 3px #bad6ec}.quiz-options button.is-correct{color:#fff;opacity:1;background:#39a83b;border-color:#21862c;box-shadow:0 3px #176f21}.quiz-options button.is-wrong{color:#fff;opacity:1;background:#df5270;border-color:#ab3451;box-shadow:0 3px #9b2943}.quiz-options b{justify-self:end;font-size:18px}.feedback{border-radius:13px;flex-direction:column;gap:2px;margin-top:10px;padding:10px 14px;font-size:12px;display:flex}.feedback.correct{color:#1a6823;background:#e7f8df}.feedback.incorrect{color:#5a287a;background:#f3e7fb}.feedback.answer{color:#174c78;background:#e6f4ff}.feedback b{font-size:15px}.card-actions{gap:10px;margin-top:10px;display:flex}.myth-button,.truth-button{color:#fff;border:0;border-radius:13px;flex:1;padding:13px;font-size:18px;font-weight:1000;box-shadow:0 4px #0003}.myth-button{background:#752da7}.truth-button{background:#218fce}.card-actions .primary,.card-actions .soft-button{flex:1;padding:12px}.finish-card{z-index:2;text-align:center;width:min(620px,94vw);max-height:94dvh;color:var(--navy);background:linear-gradient(145deg,#fffdf2,#efffdc);border:7px solid #43a02c;border-radius:30px;padding:clamp(24px,4vw,42px);position:relative;overflow:auto;box-shadow:0 25px 80px #0006}.finish-trophy{filter:drop-shadow(0 8px 10px #9a6a1840);font-size:clamp(70px,12vw,110px);line-height:1}.finish-card>small{color:#fff;background:#38952b;border-radius:999px;margin-top:12px;padding:6px 12px;font-weight:1000;display:inline-block}.finish-card h2{margin:12px 0 6px;font-size:clamp(30px,5vw,48px);line-height:1}.finish-card>p{max-width:480px;margin:0 auto 18px;font-size:clamp(17px,2.4vw,22px);line-height:1.35}.finish-card>p.celebration-line{color:#8a4c08;margin-bottom:12px;font-size:18px;font-weight:1000}.finish-podium{justify-content:center;align-items:flex-end;gap:8px;min-height:190px;margin:10px 0 18px;display:flex}.podium-place{color:#173d65;background:linear-gradient(#fff,#f1f6ff);border:3px solid #a9bed3;border-radius:22px 22px 10px 10px;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;width:min(31%,160px);min-height:122px;padding:42px 8px 12px;display:flex;position:relative;box-shadow:0 8px 16px #12345322}.podium-place.place-1{background:linear-gradient(#fffde1,#ffe581);border-color:#e0aa13;order:2;min-height:185px;padding-top:52px}.podium-place.place-2{background:linear-gradient(#fff,#dce5ec);border-color:#9caebe;order:1;min-height:148px}.podium-place.place-3{background:linear-gradient(#fff5e9,#e9b07f);border-color:#b87845;order:3}.podium-place>i{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:42px;height:42px;font-style:normal;font-weight:1000;display:grid;box-shadow:0 3px 8px #0004}.podium-place>b{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.podium-place>span{font-size:12px;font-weight:900}.podium-place>strong{margin-top:4px;font-size:14px}.podium-medal{filter:drop-shadow(0 4px 4px #0003);font-size:48px;position:absolute;top:-18px}.results-title{margin:0 0 8px;font-size:17px}.finish-results{text-align:left;gap:8px;margin:18px 0;display:grid}.finish-results>div{background:#fff;border:2px solid #dfe8d4;border-radius:14px;grid-template-columns:28px 42px 1fr auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.finish-results>div.winner{background:#fff8ce;border-color:#eab516;box-shadow:0 3px #ead886}.result-rank{color:#7c5a00;text-align:center;font-size:17px}.finish-results i{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:38px;height:38px;font-style:normal;font-weight:1000;display:grid;box-shadow:0 2px 5px #0004}.finish-results span{flex-direction:column;display:flex}.finish-results span small{color:#73808b}.finish-results em{color:#5c4d19;font-style:normal;font-weight:1000}.finish-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.finish-actions button{min-height:50px}.fireworks{z-index:1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.firework{width:8px;height:8px;position:absolute}.firework.burst-1{top:28%;left:16%}.firework.burst-2{animation-delay:.55s;top:23%;right:17%}.firework.burst-3{animation-delay:1.05s;top:13%;left:50%}.firework i{--angle:0deg;transform-origin:4px 4px;width:8px;height:28px;animation:1.8s ease-out infinite fireworkSpark;animation-delay:inherit;background:#ffd31c;border-radius:99px;position:absolute;top:0;left:0}.firework i:nth-child(2){--angle:30deg;background:#ff6b35}.firework i:nth-child(3){--angle:60deg;background:#59d75f}.firework i:nth-child(4){--angle:90deg;background:#50b9ff}.firework i:nth-child(5){--angle:120deg;background:#b56dff}.firework i:nth-child(6){--angle:150deg;background:#ff69b4}.firework i:nth-child(7){--angle:180deg;background:#ffd31c}.firework i:nth-child(8){--angle:210deg;background:#ff6b35}.firework i:nth-child(9){--angle:240deg;background:#59d75f}.firework i:nth-child(10){--angle:270deg;background:#50b9ff}.firework i:nth-child(11){--angle:300deg;background:#b56dff}.firework i:nth-child(12){--angle:330deg;background:#ff69b4}@keyframes fireworkSpark{0%,8%{opacity:0;transform:rotate(var(--angle)) translateY(0) scale(.2)}18%{opacity:1}70%,to{opacity:0;transform:rotate(var(--angle)) translateY(-115px) scale(.1)}}.drawer-backdrop{place-items:stretch end;padding:0}.drawer{background:#fffdf8;width:min(850px,95vw);height:100%;padding:22px;overflow:auto;box-shadow:-20px 0 60px #0003}.drawer-head{z-index:4;background:#fffdf8;border-bottom:1px solid #e9e1cf;justify-content:space-between;padding:15px 0;display:flex;position:sticky;top:-22px}.drawer-head small{color:#669150}.drawer-head h2{margin:3px 0;font-size:29px}.rich-text{font-size:16px;line-height:1.55}.rich-text h3{color:#35912b;margin:25px 0 6px}.rich-text li{margin:7px 0}.library-groups{gap:24px;padding-top:16px;display:grid}.territory-card-library{background:#f8fff2;border:2px solid #b8dca2;border-radius:20px;padding:16px}.territory-card-library h3{color:#174f32;margin:0;font-size:25px}.territory-card-library>p{color:#58725d;margin:6px 0 14px;font-weight:700}.territory-card-library>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.territory-card-library figure{background:#fff;border:3px solid #fff;border-radius:15px;margin:0;overflow:hidden;box-shadow:0 6px 18px #1534591a}.territory-card-library img{aspect-ratio:3/4;object-fit:contain;background:#fff;width:100%;display:block}.territory-card-library figcaption{text-align:center;padding:8px;font-size:13px;font-weight:1000}.sheet-library{grid-template-columns:1fr 1fr;gap:13px;display:grid}.sheet-library figure{background:#fff;border:4px solid #fff;border-radius:17px;margin:0;overflow:hidden;box-shadow:0 7px 22px #1534591d}.sheet-library img{width:100%;display:block}.sheet-library figcaption{text-align:center;padding:9px;font-size:12px;font-weight:1000}.missing-sheet{text-align:center;color:#6c388c;background:#f4e9fb;border:3px dashed #9c6ebb;border-radius:17px;align-content:center;place-items:center;gap:8px;min-height:230px;padding:20px;display:grid}.missing-sheet b{font-size:22px}.source-grid{grid-template-columns:1fr 1fr;gap:13px;padding-top:17px;display:grid}.source-grid img{object-fit:cover;object-position:top;border:4px solid #fff;border-radius:16px;width:100%;height:300px;box-shadow:0 7px 22px #1534591d}.source-grid p{background:#eaf7dc;border-radius:14px;grid-column:1/-1;padding:16px;font-weight:900}.loading{text-align:center;background:#f7ffe8;place-content:center;min-height:100vh;font-weight:1000;display:grid}.apple-loader{font-size:80px;animation:1s infinite bob}@keyframes bob{50%{transform:translateY(-11px)rotate(7deg)}}@media (width<=1100px){.hero-copy{width:48vw}.hero-map{width:50vw}.territory-strip{grid-template-columns:repeat(5,1fr)}.game-layout{grid-template-columns:minmax(0,1fr) 255px}.territory-flag{width:142px;padding:6px 8px}.territory-flag span{font-size:9.5px}}@media (width<=760px){.topbar{height:auto;min-height:58px;padding:8px 12px}.brand{font-size:14px}.brand span{font-size:24px}.finish-actions{grid-template-columns:1fr}.finish-card{padding:22px 14px}.finish-podium{gap:4px;min-height:160px}.podium-place{width:32%;min-height:105px;padding:35px 5px 9px;font-size:12px}.podium-place.place-1{min-height:155px}.podium-place.place-2{min-height:128px}.podium-medal{font-size:38px;top:-14px}.podium-place>i{width:34px;height:34px}.podium-place>span{font-size:10px}.finish-results>div{grid-template-columns:24px 38px 1fr}.finish-results em{grid-column:3}.topbar nav button{padding:7px;font-size:10px}.hero{padding:28px 16px 0}.hero-copy{width:100%}.hero h1{letter-spacing:-2px;font-size:52px}.hero-map{width:100%;margin:30px 0;position:relative;top:auto;right:auto}.territory-strip{grid-template-columns:repeat(2,1fr);margin-top:20px}.territory-strip div{text-align:left;flex-direction:row;min-height:80px}.card-preview-strip,.count-picker,.levels{grid-template-columns:1fr}.setup-card{padding:22px}.game-running{height:auto;overflow:auto}.game-page{height:auto;min-height:calc(100vh - 58px)}.game-head{grid-template-columns:1fr auto;height:auto}.game-head .message{text-align:left;grid-area:2/1/auto/-1}.game-layout{grid-template-columns:1fr;height:auto}.board-shell{overflow:auto}.map-board{width:1240px;max-width:none}.side-panel{max-height:none}.scenario-card{grid-template-columns:1fr}.scenario-illustration{min-height:160px}.scenario-illustration b{font-size:65px}.quiz-options{grid-template-columns:1fr}.section-card-image{width:min(390px,100%)}.section-card-image img,.section-card-image .cropped-card-image{max-height:42dvh}.territory-card-library>div{grid-template-columns:1fr 1fr}.sheet-library,.source-grid{grid-template-columns:1fr}.source-grid p{grid-column:auto}}@media (height<=800px) and (width>=721px){.section-card-image img,.section-card-image .cropped-card-image{max-height:39dvh}.visual-quiz-panel{padding:14px}.quiz-options button{min-height:56px}}@media (prefers-reduced-motion:reduce){.firework i{opacity:.75;transform:rotate(var(--angle)) translateY(-65px) scale(.35);animation:none}}
