:root{--accent:#dfa84f;--ink:#152d32;--paper:#fcf3df;--muted:#6b7776;--line:#d5cbb7}*{box-sizing:border-box}body{margin:0;background:#142d34;color:var(--paper);font-family:Arial,Helvetica,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #ffffff35;background:#233e43;color:#fff;border-radius:10px;padding:12px 16px;min-height:44px;transition:background .15s,transform .15s}button:hover{background:#34555a}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #4ac3ed;outline-offset:3px}[hidden]{display:none!important}#scene,.shade{position:fixed;inset:0;pointer-events:none}#scene{background-position:center;background-size:cover;transition:background-image .4s}.shade{background:linear-gradient(90deg,#0d242b8c 0%,#0d242b45 43%,#10282d0d 75%),linear-gradient(#142a3280,transparent 45%,#11232d80)}header{height:122px;padding:26px 34px;display:flex;align-items:center;gap:26px;position:relative;z-index:2}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2.3px;display:block}h1{font-family:Georgia,serif;margin:7px 0 0;font-weight:700;font-size:clamp(24px,2.7vw,43px);letter-spacing:-1.2px;line-height:1}h1 em{font-style:normal;color:#f4d7a0}.world{margin-left:auto;display:grid;gap:8px;background:#142d347a;padding:13px 20px;border-left:2px solid var(--accent);backdrop-filter:blur(8px)}#worldName{font-family:Georgia,serif;font-size:20px}#menuBtn{font-size:24px;background:#152d32dd}main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(300px,36%) 1fr;gap:32px;padding:0 34px 22px;height:calc(100dvh - 122px)}#scoreboard{display:flex;min-height:0;flex-direction:column;gap:15px}.section-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.7px;font-weight:800;padding:0 3px;text-shadow:0 1px 5px #000}#teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:15px;flex:1;min-height:0}.team-card{position:relative;min-height:0;display:flex;flex-direction:column;background:linear-gradient(125deg,#fff7e9,#efddba);color:#26383b;border-radius:12px;border:1px solid #fff2c5;box-shadow:0 6px 16px #0003,inset 0 0 0 5px #c2a76b1c;overflow:hidden;text-align:center}.team-top{padding:12px 10px 6px;position:relative;z-index:2;flex:none;display:flex;align-items:center;justify-content:center;gap:9px}.team-icon{display:grid;place-items:center;border-radius:7px;width:27px;height:27px;background:var(--team);color:#fff;font-size:12px;flex:none}.team-name{font-family:Georgia,serif;font-size:clamp(14px,1.35vw,23px);font-weight:bold;overflow-wrap:anywhere;line-height:1.1}.team-space{position:relative;flex:1;min-height:0;margin:2px 10px 9px;border-top:1px solid #ad8c5433;display:grid;place-items:center}.team-score{font-family:Georgia,serif;font-size:clamp(28px,4.5vw,76px);font-weight:bold;font-variant-numeric:tabular-nums;max-width:100%;overflow:hidden}.team-card.digital{cursor:pointer}.team-card.digital:hover{box-shadow:0 0 0 3px var(--accent),0 5px 20px #0004}.team-hint{font-size:9px;letter-spacing:1.7px;color:#786e5b;margin-bottom:9px}.team-space canvas{width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:crosshair}.stage{min-width:0;display:flex;flex-direction:column;min-height:0}.round-top{display:flex;align-items:center;gap:16px}.pill{background:#173239ed;border:1px solid #ffffff4a;border-radius:30px;font-size:11px;letter-spacing:1.3px;padding:10px 15px;font-weight:bold}.scenic-space{flex:1;min-height:45px;display:flex;align-items:flex-start;padding:20px 0 0}.glass{background:#16383b8c;border:1px solid #fff7;backdrop-filter:blur(8px);font-size:12px}#task{background:#fcf3e8f5;color:var(--ink);border-radius:14px;border:1px solid #fff5ce;box-shadow:0 10px 35px #0003;padding:24px 28px 0;max-height:49vh;display:flex;flex-direction:column;backdrop-filter:blur(12px);position:relative}#task:before{content:'';position:absolute;left:0;top:26px;height:38px;width:4px;background:var(--accent)}.task-top{display:flex;justify-content:space-between;align-items:center;color:#7f6a42}#taskNumber{font-family:Georgia,serif;font-size:24px;color:#b0a085}h2{font-family:Georgia,serif;font-size:32px;line-height:1.12;margin:10px 0 14px}#target{font-size:clamp(16px,1.5vw,23px);line-height:1.5;white-space:pre-wrap;overflow:auto;min-height:45px;max-height:23vh;padding-bottom:12px}.phase-tabs{display:flex;border-top:1px solid #d5cbb7;margin-top:8px;flex-shrink:0}.phase-tabs button{flex:1;border:0;border-radius:0;background:none;color:#8c897e;padding:17px 4px;font-size:11px;font-weight:bold;letter-spacing:1px}.phase-tabs button.active{color:#173638;box-shadow:inset 0 -3px var(--accent)}.round-controls{display:flex;align-items:center;gap:14px;margin-top:16px}.round-controls button{background:#183239e8}#roundDots{display:flex;align-items:center;gap:6px;flex:1;overflow:hidden}#roundDots span{width:6px;height:6px;background:#fff5;border-radius:50%;flex-shrink:0}#roundDots span.active{width:23px;background:var(--accent);border-radius:5px}#timerBox{position:fixed;z-index:3;top:205px;left:43%;width:195px;background:#10272df2;border:2px solid var(--accent);border-radius:13px;box-shadow:0 10px 20px #0003;color:white;overflow:hidden}.timer-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.7px;padding:0 7px}.timer-heading button{padding:5px;min-height:30px;background:transparent;border:0}.timer-heading #timerDrag{cursor:grab;touch-action:none;font-size:20px}#timer{display:block;width:100%;background:none;border:0;padding:0 6px;border-radius:0;font-size:52px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-2px}.timer-bottom{display:flex;align-items:center;justify-content:space-between;padding:0 10px 5px;font-size:8px;letter-spacing:1.3px}.timer-bottom button{padding:3px 8px;min-height:30px;border:0;background:none}.timer-track{height:3px;background:#ffffff22}#timerProgress{height:100%;background:var(--accent);width:100%;transition:width .2s}#timerBox.done{border-color:#ffb69d;box-shadow:0 0 0 5px #ed704133}#inkTools{position:fixed;bottom:6px;left:50%;transform:translateX(-50%);background:#153137f5;box-shadow:0 5px 25px #0005;padding:8px 12px;border:1px solid #fff5;border-radius:12px;display:flex;align-items:center;gap:7px;z-index:5;white-space:nowrap}#inkTools>span{font-size:9px;letter-spacing:1px}#inkTools button{padding:8px 10px;font-size:12px}#inkTools input[type=color]{width:38px;height:38px;padding:2px}#inkTools input[type=range]{width:75px}#inkTools label{display:flex;align-items:center;font-size:10px;gap:7px}#inkTools button.active{background:var(--accent);color:#142d34}.ink-mode main{padding-bottom:78px}#menu{position:fixed;right:24px;top:100px;width:235px;padding:17px;z-index:9;background:#122d34f5;border:1px solid #fff4;border-radius:14px;box-shadow:0 12px 40px #0007;backdrop-filter:blur(20px)}#menu button{display:block;width:100%;margin-top:8px;text-align:left;background:transparent;border:0}#menu button:hover{background:#fff1}#menu hr{border:0;border-top:1px solid #fff3}dialog{border:1px solid #d2c6ae;border-radius:20px;padding:0;background:#fbf8f0;color:var(--ink);box-shadow:0 30px 120px #0007;width:min(1100px,94vw);max-height:90dvh}dialog::backdrop{background:#081e26b8;backdrop-filter:blur(7px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 12px}.dialog-head h2{margin:7px 0}.dialog-head button{color:#345057;background:#eae7dc;border:0}.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 28px;background:#eeebdf;border-top:1px solid #dbd4c3}#setup{height:86dvh}#setup[open]{display:flex;flex-direction:column}#setupTabs{display:flex;gap:5px;padding:8px 28px 14px;border-bottom:1px solid #dbd4c3;flex-wrap:wrap}#setupTabs button{background:transparent;color:#6d7772;border:0;padding:9px 15px;min-height:40px}#setupTabs button.active{background:#1c3b40;color:white}#setupBody{padding:25px 28px;overflow-y:auto;flex:1}h3{font-family:Georgia,serif;font-size:23px;margin:0 0 10px}p{line-height:1.6;color:#64726e;font-size:14px}dialog label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:bold;margin:15px 0}input,textarea,select{padding:11px;border:1px solid #cfcab9;border-radius:8px;background:#fffef9;color:#19363b;min-width:0}input[type=number]{width:110px}input[type=radio],input[type=checkbox]{accent-color:#214e53}textarea{resize:vertical;line-height:1.5;min-height:85px}dialog a{color:#1c717a;font-size:13px}dialog button{background:#e9e6d9;border-color:#d4cdb9;color:#243d3f}dialog button:hover{background:#d9d7c9}.primary,dialog .primary{background:#1c4146;color:white;border:1px solid #1c4146}dialog .primary:hover{background:#2e5960}#themeGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.theme-choice{padding:0;overflow:hidden;text-align:left;background:#eee5d6!important;border:2px solid transparent}.theme-choice.selected{border-color:#174950;box-shadow:0 0 0 2px #174950}.theme-choice img{width:100%;aspect-ratio:16/8;object-fit:cover;display:block}.theme-choice span{display:block;padding:12px;font-family:Georgia,serif;font-size:17px;font-weight:bold}.mode-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mode-options label{position:relative;border:1px solid #cdc5b3;border-radius:12px;padding:17px;cursor:pointer}.mode-options label:has(input:checked){border-color:#1c555d;background:#e5ece5}.mode-options input{align-self:flex-start}.mode-options b{font-family:Georgia,serif;font-size:19px}.mode-options span{font-size:12px;color:#64726e;font-weight:normal;line-height:1.5}.line{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.line>label{flex:1}.check{flex-direction:row!important;align-items:center}#teamFields{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}#teamFields label{margin:8px 0}.round-editor{border:1px solid #d3c9b5;border-radius:13px;padding:18px;margin-bottom:17px;background:#f5f0e4}.round-editor .line h3{margin:0;flex:1;font-size:18px}.round-editor .line button{padding:7px 11px;min-height:36px}.round-editor label{margin:10px 0}.round-editor .duration label{flex:none}.round-editor textarea{width:100%}.small{width:min(520px,94vw);padding-bottom:25px}.small>p,.small>label,.small>.line,.small>ol,.small>button,.small>.score-buttons{margin-left:28px;margin-right:28px}.small li{padding:10px 0;line-height:1.5}.small>button{margin-bottom:8px}.score-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}#scoreValue{text-align:center;font-family:Georgia,serif;font-size:80px}#exactScore{width:100%}#setupStatus{font-size:12px;color:#596f68}#importStatus,#timerError{color:#8c3d26}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#122d34;color:white;border:1px solid var(--accent);border-radius:10px;padding:15px 23px;z-index:30;font-size:14px;max-width:85vw}.story-dialog{width:min(950px,94vw)}.story-layout{display:grid;grid-template-columns:40% 1fr;min-height:360px}.story-layout>div:last-child{padding:35px 35px 35px 0}.story-layout h2{font-size:44px}#builderPortrait{background-repeat:no-repeat;background-size:auto 105%;background-position:right center;border-radius:0 0 0 18px;margin-right:25px}.story-layout p{font-size:18px;line-height:1.7;color:#3b5354;white-space:pre-wrap;max-height:35vh;overflow:auto}#results{padding:20px 28px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}#results>div{padding:16px;background:#ede8d9;border-radius:10px;display:flex;justify-content:space-between;gap:15px}#endDialog>p,#endDialog>button{margin-left:28px;margin-bottom:25px}.no-teams main{grid-template-columns:1fr;margin-left:10%;margin-right:10%}.no-teams #scoreboard{display:none}.no-teams #task{max-width:900px}.dense .team-top{padding-top:7px}.dense .team-name{font-size:clamp(11px,1.1vw,19px)}.dense .team-icon{width:21px;height:21px}.dense .team-hint{display:none}.dense .team-score{font-size:clamp(25px,3vw,50px)}@media(max-height:740px){header{height:95px;padding-top:17px;padding-bottom:17px}main{height:calc(100dvh - 95px)}#task{padding:15px 20px 0}h2{font-size:27px;margin:7px 0 10px}.phase-tabs button{padding:12px 2px}.scenic-space{padding-top:10px}#timerBox{top:160px;width:170px}#timer{font-size:42px}#teams{gap:10px}.team-top{padding-top:8px}.round-controls{margin-top:10px}}@media(max-width:900px){header{padding-left:20px;padding-right:20px;gap:15px}.world{display:none}#menuBtn{margin-left:auto}main{padding-left:20px;padding-right:20px;gap:20px;grid-template-columns:36% 1fr}.team-top{gap:4px;padding-left:5px;padding-right:5px}.team-icon{display:none}#timerBox{left:43%;width:155px}#timer{font-size:38px}#themeGrid{grid-template-columns:repeat(2,1fr)}.eyebrow{font-size:9px;letter-spacing:1.3px}#task{padding:17px 18px 0}h2{font-size:25px}#target{font-size:16px}.mode-options{grid-template-columns:1fr}#inkTools>span{display:none}}@media(max-width:600px){body{overflow:auto}header{height:100px}main{height:auto;min-height:calc(100dvh - 100px);display:flex;flex-direction:column-reverse}#scoreboard{min-height:400px}#teams{min-height:370px}.stage{min-height:520px}.scenic-space{min-height:180px}#timerBox{top:185px;left:25px;width:150px}.section-label{margin-top:15px}#themeGrid,#teamFields{grid-template-columns:1fr}.story-layout{grid-template-columns:1fr}.story-layout #builderPortrait{height:210px;background-size:cover;background-position:right 60%;margin:0}.story-layout>div:last-child{padding:25px}#inkTools{max-width:98vw;flex-wrap:wrap;justify-content:center;bottom:3px}#setupTabs{padding-left:12px;padding-right:12px}#setupBody{padding:18px}#results{grid-template-columns:1fr}#task{max-height:none}.dialog-foot{padding:12px}.world{display:none}}
/* v2: themed tablets, unmistakable score controls, and a guided opening. */
:root{--card-art:url('assets/frames/egypt-card.svg');--task-art:url('assets/frames/egypt-task.svg')}
.team-card{background:var(--card-art) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;padding:23px 15px 16px;overflow:visible;filter:drop-shadow(0 5px 5px #0004)}
.team-top{padding:8px 8px 5px}.team-name{text-shadow:0 1px #fff9;color:#3e342b}.team-icon{border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff50}
.team-space{border:0;margin:0 9px 3px}.team-card.blank .team-space{cursor:default}.team-card.digital{cursor:default}.team-card.digital:hover{box-shadow:none}
.team-card.digital .team-space{display:flex;align-items:center;justify-content:center;gap:6px}.team-score{border:0;background:transparent!important;color:#3b3027;padding:0 3px;min-width:0;flex:1;line-height:1.05;font-size:clamp(25px,4.3vw,70px);letter-spacing:-2px;text-shadow:0 2px #fff9;border-radius:0}
.quick-score{padding:0;flex:none;width:40px;height:42px;min-height:42px;border:1px solid #634c3866;background:#fcf1d29c;color:#3e342b;font-size:28px;line-height:1;box-shadow:0 2px 0 #5b402a44;border-radius:7px}.quick-score:hover{background:#fff4da}
.card-ink-actions{display:flex;justify-content:center;gap:6px;padding:2px 8px 0;flex:none}.card-ink-actions button{min-height:32px;padding:5px 10px;font-size:11px;background:#fff3d5a6;border:1px solid #66543e66;color:#433525;border-radius:5px;box-shadow:0 2px 0 #70543133}.card-ink-actions button:hover{background:#fff3d5}.card-ink-actions button:disabled{opacity:.35}
#task{background:var(--task-art) center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;filter:drop-shadow(0 6px 9px #0004);padding:42px 38px 21px;max-height:52vh;color:#3e342b}#task:before{display:none}.task-top{color:#74583b}#target{color:#3e342b}.phase-tabs{border-top-color:#725c3940}.phase-tabs button.active{color:#3d352b;box-shadow:inset 0 -3px #725c3980}#taskNumber{color:#8f714f}
.dense .team-card{padding:18px 10px 11px}.dense .team-top{padding:5px 5px 2px}.dense .quick-score{height:34px;min-height:34px;width:30px;font-size:24px}.dense .card-ink-actions button{min-height:27px;padding:3px 8px}.dense .team-space{margin-bottom:0}
.mode-options label{margin-top:7px;padding:16px;gap:12px}.mode-options label:has(input:checked){outline:2px solid #21535b;outline-offset:2px}.mode-options .mode-preview{font-family:Georgia,serif;font-size:11px;font-weight:bold;color:#5b452e;background:var(--card-art) center/100% 100%;height:120px;padding:21px 18px 12px;display:flex;flex-direction:column;align-items:center;gap:5px}.mode-preview strong{font-size:31px;font-weight:normal}.mode-preview small{font:10px Arial}.mode-preview .handwritten{font-style:italic;font-weight:bold}.blank-preview span{display:block;height:48px;width:80%;border:1px dashed #806b4e55}.mode-options b{font-size:18px}.mode-options input{margin:0}.mode-options span:not(.mode-preview){line-height:1.5}.mode-options label span.mode-preview{color:#5b452e}
body[data-screen=welcome]>header,body[data-screen=directions]>header,body[data-screen=welcome]>main,body[data-screen=directions]>main,body:not([data-screen=game]) #timerBox,body:not([data-screen=game]) #inkTools,body:not([data-screen=game]) #menu{display:none!important}
.entry-screen{position:relative;z-index:4;width:100%;height:100dvh;overflow:auto}.welcome-copy{padding:clamp(35px,8vh,100px) 6vw;max-width:75%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:100%;animation:enter-copy .8s both}.welcome-copy h1{font-size:clamp(55px,7.6vw,124px);line-height:.94;text-shadow:0 4px 0 #1b2a2f,0 10px 30px #0008;margin:24px 0}.welcome-copy .eyebrow{color:#f9e4b8;font-size:12px}.welcome-tag{font-family:Georgia,serif;font-size:clamp(21px,2.2vw,35px);color:#fff1d3;margin:0 0 30px;text-shadow:0 2px 7px #000}.welcome-world{font-size:13px;letter-spacing:2px;text-transform:uppercase;padding:13px 20px;border-left:3px solid var(--accent);background:#122b35b8;color:#fbe4bc}.entry-actions{display:flex;gap:14px;margin-top:28px;align-items:center}.entry-actions button{padding:17px 28px;font-size:18px;font-family:Georgia,serif;min-height:56px;background:#203a3eea;box-shadow:0 4px 0 #10222688;border:1px solid #e8ca8b8a}.entry-actions .primary{background:linear-gradient(#f4d59b,#d2a85d);color:#352819;border:2px solid #fff0b5;font-weight:bold}.entry-actions .primary:hover{background:#f7dfaf}.welcome-summary{color:#fff3d8;background:#10272caa;padding:8px 12px;border-radius:5px;font-size:12px;margin-top:25px}.entry-screen .eyebrow{line-height:1.5}
#directionsScreen{display:grid;grid-template-columns:36% 64%;gap:0;padding:30px 4vw 30px 2vw;align-items:center;background:linear-gradient(90deg,#10232c22,#10232c55)}.direction-character{height:80vh;max-height:850px;background-size:auto 100%;background-position:right center;background-repeat:no-repeat;mask-image:linear-gradient(90deg,transparent,black 10%,black 85%,transparent),linear-gradient(black,black);mask-composite:intersect;border-radius:45% 45% 12% 12%;filter:drop-shadow(0 12px 20px #0006);animation:enter-builder 1s both}
.directions-tablet{background:var(--task-art) center/100% 100% no-repeat;padding:50px 48px 40px;color:#3d3429;filter:drop-shadow(0 12px 18px #0005);animation:enter-copy .9s .2s both;max-height:92vh;overflow:auto}.directions-tablet h2{font-size:clamp(27px,3vw,46px);line-height:1.04;margin:14px 0}.directions-tablet h2 br{display:none}.directions-tablet h2 br:after{content:' '}.builder-intro{font-family:Georgia,serif;font-size:clamp(15px,1.4vw,21px);color:#5a4833;line-height:1.45;margin:14px 0}.build-steps{list-style:none;padding:0;margin:20px 0}.build-steps li{display:flex;gap:15px;align-items:flex-start;padding:12px 0;border-top:1px solid #705a3c33;animation:enter-copy .65s both}.build-steps li:nth-child(1){animation-delay:.4s}.build-steps li:nth-child(2){animation-delay:.6s}.build-steps li:nth-child(3){animation-delay:.8s}.build-steps li>span{border:2px solid #95764d;min-width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-family:Georgia,serif;font-weight:bold;color:#725337}.build-steps h3{font-size:21px;margin:0 0 5px}.build-steps p{font-size:clamp(14px,1.2vw,18px);color:#4e4438;line-height:1.45;margin:0}.directions-tablet .entry-actions{margin-top:14px}.directions-tablet .entry-actions button{font-size:16px;padding:12px 18px;min-height:48px}
@keyframes enter-copy{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes enter-builder{from{opacity:0;transform:translateX(-70px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.entry-screen *{animation:none!important;transition:none!important}}
@media(max-height:740px){.team-card{padding-top:19px;padding-bottom:11px}.team-top{padding-top:5px}.team-name{font-size:clamp(13px,1.25vw,20px)}.team-score{font-size:clamp(26px,3.3vw,55px)}#task{padding:34px 30px 14px}.card-ink-actions button{min-height:28px;padding:3px 8px}.quick-score{height:36px;min-height:36px;width:34px}.directions-tablet{padding:35px 36px 25px}.directions-tablet h2{font-size:29px}.build-steps{margin:12px 0}.build-steps li{padding:8px 0}.build-steps p{font-size:14px}.builder-intro{font-size:15px}.directions-tablet .entry-actions button{min-height:44px}.direction-character{height:85vh}}
@media(max-width:900px){.team-card{padding-left:9px;padding-right:9px}.quick-score{width:29px;min-height:35px;height:35px;font-size:23px}.team-card.digital .team-space{gap:2px}.team-space{margin-left:5px;margin-right:5px}#task{padding-left:27px;padding-right:27px}.welcome-copy{max-width:85%}#directionsScreen{grid-template-columns:28% 72%;padding-left:0}.directions-tablet{padding-left:32px;padding-right:32px}.mode-options{grid-template-columns:1fr}.mode-options label{display:grid;grid-template-columns:25px 140px 1fr;align-items:center}.mode-options .mode-preview{grid-row:span 2}.mode-options label>b{grid-column:3}.mode-options label>span:last-child{grid-column:3}.mode-options input{grid-row:span 2}}
@media(max-width:600px){.welcome-copy{max-width:100%;padding:50px 25px;background:#102b3555}.welcome-copy h1{font-size:clamp(44px,12vw,70px)}#directionsScreen{display:flex;flex-direction:column;padding:15px}.direction-character{width:100%;height:250px;flex-shrink:0;background-size:cover;background-position:right 45%;border-radius:20px}.directions-tablet{max-height:none;padding:42px 30px 30px}.entry-actions{flex-wrap:wrap}.entry-actions button{padding:14px 20px}.mode-options label{display:flex}.mode-options .mode-preview{width:100%}body:not([data-screen=game]){overflow:auto}.dense .team-card{min-height:160px}.dense #teams{grid-auto-rows:minmax(160px,1fr)}}
.dense #teams{grid-template-columns:repeat(3,minmax(0,1fr))}.team-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dense .team-name{font-size:clamp(11px,1vw,15px)}.dense .team-icon{display:none}.dense .team-top{min-height:30px}.dense .team-score{font-size:clamp(21px,2.5vw,38px)}.dense .card-ink-actions{gap:3px;padding-left:0;padding-right:0}.dense .card-ink-actions button{padding:3px 5px;font-size:10px}.dense .team-space{margin-left:2px;margin-right:2px}@media(max-width:600px){.dense #teams{grid-template-columns:repeat(2,minmax(0,1fr))}}
