.game-section{padding-top:30px}.game-title-row{display:flex;justify-content:center;align-items:center;gap:15px}.angle-logo{width:61px;height:61px;background:var(--green);border-radius:17px;display:grid;place-items:center}.angle-logo svg{width:46px;height:46px;fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.angle-logo svg path+path{stroke:#8b9f60;stroke-width:2}h1{font-size:43px;line-height:1.05;font-weight:800}h1 span{display:block;font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:400;color:var(--muted);letter-spacing:-.01em;margin-top:7px}.game-intro{text-align:center;color:var(--muted);font-size:15px;margin:17px 0 19px}.game-intro strong{font-weight:400;color:var(--ink)}.game-modes{display:flex;justify-content:center;gap:5px;max-width:370px;background:#e9ede5;border-radius:12px;padding:4px;margin:0 auto 19px}.game-modes button{border:0;background:transparent;padding:9px 18px;border-radius:9px;flex:1;font-size:14px;font-weight:600;white-space:nowrap}.game-modes button[aria-pressed=true]{background:#fff;box-shadow:0 1px 5px #173f3512;color:var(--ink)}.game-modes button[aria-pressed=false]{color:#60705f}.game-panel{max-width:630px;margin:0 auto;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 9px 28px -22px #173f3540;padding:20px 26px 0}.panel-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);padding-bottom:16px}.panel-top>span:first-child{font-weight:600;color:var(--ink)}.round-track{display:flex;padding:13px 0 17px;margin:0 0 20px;list-style:none;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9;gap:12px;justify-content:space-between}.round-track li{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;line-height:1.4;flex:1;opacity:.55}.round-track li[aria-current],.round-track li.completed{opacity:1}.round-track li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #dce3d8;flex-shrink:0}.round-track li[aria-current]>span{background:var(--ink);color:#fff;border-color:var(--ink)}.round-track li.completed>span{background:#e3edd8;border-color:#e3edd8;color:#335c35}.round-track small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:3px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.board-heading h2{font-size:21px;letter-spacing:-.4px}.board-heading>span{font-size:12px;color:var(--muted)}.angle-board{max-width:360px;margin:-4px auto -5px}.angle-board svg{display:block;width:100%;height:auto;max-height:293px;overflow:visible}.guess-reveal{animation:reveal .5s ease-out}.diagram-legend{display:flex;justify-content:center;gap:21px;font-size:11px;color:var(--muted);margin-top:2px}.diagram-legend span{display:flex;align-items:center;gap:7px}.diagram-legend i{display:block;width:15px;height:0;border-top:3px solid var(--ink)}.diagram-legend .legend-guess{border-color:var(--accent);border-top-style:dashed}.board-instruction{text-align:center;font-size:13px;line-height:1.55;color:var(--muted);margin:12px 0 18px}#guess-form label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}.guess-entry{display:flex;gap:12px;max-width:420px;margin:0 auto}.number-field{display:flex;border:1px solid #c8d4c0;border-radius:12px;align-items:center;flex:1;min-width:0;background:#fafbf8;padding-right:16px;transition:border-color .2s}.number-field:focus-within{border-color:var(--ink)}.number-field input{width:100%;min-width:0;border:0;background:none;padding:10px 8px 10px 16px;font-size:22px;font-weight:600;color:var(--ink);outline:none;appearance:textfield;-moz-appearance:textfield}.number-field input::-webkit-inner-spin-button,.number-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-field input::placeholder{font-size:18px;color:#98a190;font-weight:400}.number-field>span{font-size:24px;color:#87917f}.button{border:1px solid transparent;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:48px;padding:11px 21px;font-size:14px;font-weight:600;text-align:center;line-height:1.4;transition:background .18s,transform .18s}.button:hover{text-decoration:none;transform:translateY(-1px)}.primary{background:var(--ink);color:#fff}.primary:hover{background:#28584a}.secondary{background:#edf1e7;border-color:#dce3d4;color:var(--ink)}.secondary:hover{background:#e1e9d8}.input-error{min-height:23px;line-height:1.5;margin-top:6px;color:#a44b2e;font-size:12px;text-align:center}#guess-form{max-width:420px;margin:auto}.panel-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #edf0e9;padding:14px 0;font-size:11px;color:var(--muted);margin-top:11px}.panel-footer>span:first-child{font-weight:600;color:var(--ink)}.feedback-box{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f0f5e9;border-radius:12px;padding:15px 18px}.feedback-box>div{display:flex;align-items:center;gap:13px;flex-shrink:0}.feedback-box strong{font-family:'Inter Tight',Arial,sans-serif;font-size:30px;font-weight:800;line-height:1}.feedback-box span{font-size:12px;color:var(--muted)}.feedback-box p{font-size:13px;line-height:1.55;color:var(--ink);max-width:220px}.green,[data-tone=green]{color:#34703e}.yellow,[data-tone=yellow]{color:#86671d}.orange,[data-tone=orange]{color:#b15c2b}.next-button{display:flex;margin:14px auto 5px;min-width:210px}.results{text-align:center;padding:8px 0 13px}.result-symbol{width:56px;height:56px;display:grid;place-items:center;font-size:40px;line-height:1;background:#e6eedb;border-radius:17px;margin:0 auto 18px;font-weight:600}.eyebrow{font-size:10px;letter-spacing:1px;font-weight:600;color:#6b7a5c}.results h2{font-size:30px;margin-top:8px}.total-error{display:flex;flex-direction:column;align-items:center;margin:16px 0}.total-error strong{font-family:'Inter Tight',Arial,sans-serif;font-size:68px;font-weight:800;letter-spacing:-3px;line-height:1.1}.total-error>span{font-size:12px;color:var(--muted);margin-top:6px}.results>p:not(.eyebrow){font-size:14px;color:var(--muted)}.result-rounds{display:flex;gap:10px;justify-content:center;margin:23px 0}.result-rounds>div{flex:1;background:#f4f6ef;border-radius:11px;padding:13px 8px}.result-rounds span,.result-rounds strong,.result-rounds small{display:block}.result-rounds span{font-size:11px;color:var(--muted)}.result-rounds strong{font-size:18px;font-weight:600;margin:5px 0}.result-rounds small{font-size:10px;line-height:1.6;color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.reset-notice{font-size:12px!important;margin:15px 0 4px}.game-footnote{font-size:12px;color:var(--muted);text-align:center;margin:16px auto 0;max-width:630px}.article-section{max-width:760px;margin:0 auto;padding-top:36px;margin-top:36px;border-top:1px solid var(--line)}.article-section p{font-size:16px;color:var(--muted);line-height:1.8;margin-top:16px}.section-kicker{font-size:10px;letter-spacing:1px;color:#607353;font-weight:600;margin-bottom:13px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:26px 0 20px}.how-grid article{background:#eaf0e2;border-radius:15px;padding:19px 18px}.how-grid article>span{font-size:12px;font-weight:600;color:#6b8054}.how-grid h3{font-size:19px;margin-top:10px}.how-grid p{font-size:14px;line-height:1.7;margin-top:10px}.inline-link{display:inline-flex;gap:15px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;margin-top:16px}.faq details{border-bottom:1px solid var(--line)}.faq h2{margin-bottom:12px}.faq summary{font-size:16px;font-weight:600;cursor:pointer;padding:18px 25px 18px 0;line-height:1.5;list-style:none;position:relative}.faq summary:after{content:'+';position:absolute;right:1px;top:16px;font-size:21px;font-weight:400}.faq details[open] summary:after{content:'−'}.faq summary::-webkit-details-marker{display:none}.faq details p{margin:0;padding:0 20px 20px 0;font-size:15px;line-height:1.75}.more-games .button{margin-top:20px}.more-games{padding-bottom:40px}.site-footer{border-top:1px solid var(--line);padding:26px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:20px}.site-footer .brand{font-size:26px}.site-footer nav{display:flex;gap:23px;font-size:13px}.site-footer nav button{border:0;padding:0;background:none}.site-footer>p{width:100%;font-size:11px;color:var(--muted)}dialog{background:var(--paper);border:1px solid #cad5c0;border-radius:20px;padding:33px;max-width:500px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 20px 90px #173f3540}dialog::backdrop{background:#173f3577;backdrop-filter:blur(4px)}dialog h2{font-size:28px;margin-right:15px}dialog p{font-size:15px;line-height:1.75;color:var(--muted);margin-top:18px}.dialog-close{position:absolute;right:15px;top:10px;font-size:26px;background:none;border:0;padding:0 5px}.dialog-done{margin-top:24px;min-width:115px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.stats-grid>div{background:#e9efdf;border-radius:13px;padding:18px}.stats-grid strong{display:block;font-size:30px;font-family:'Inter Tight',Arial,sans-serif;font-weight:800}.stats-grid span{font-size:12px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:100;background:var(--ink);color:white;border-radius:11px;font-size:13px;max-width:calc(100% - 30px);width:max-content;padding:12px 20px;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}#share-fallback{margin-top:20px;text-align:left}#share-fallback label{font-size:13px;font-weight:600}#share-text{display:block;width:100%;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--paper);color:var(--ink);font-size:14px;margin-top:8px}.skip{position:fixed;top:-80px;left:10px;z-index:200;background:var(--ink);color:#fff;padding:10px}.skip:focus{top:10px}.notice{max-width:630px;margin:20px auto;padding:15px;border:1px solid var(--line);border-radius:12px;font-size:14px}.guide{max-width:760px;margin:32px auto 50px}.breadcrumbs{font-size:13px;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.guide h1{font-size:42px;line-height:1.1;margin-top:25px;letter-spacing:-1px}.guide .lead{font-size:18px;line-height:1.7;color:var(--muted);margin-top:19px}.guide h2{font-size:28px;margin-top:35px}.guide h3{font-size:21px;margin-top:23px}.guide p,.guide li{font-size:16px;color:var(--muted);line-height:1.8}.guide p{margin-top:15px}.guide li{padding-left:4px;margin:10px 0}.guide ul,.guide ol{padding-left:23px}.guide .button{margin-top:22px}.guide figure{margin:25px 0;background:#eaf0e2;border-radius:16px;padding:22px}.guide figure svg{max-width:100%;width:100%;height:auto;display:block}.guide figcaption{font-size:13px;line-height:1.6;color:var(--muted);margin-top:12px}.guide table{width:100%;border-collapse:collapse;margin-top:20px;font-size:15px}.guide th,.guide td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left}.guide th{font-weight:600}.guide td{color:var(--muted)}.guide .related{margin-top:35px;border-top:1px solid var(--line);padding-top:20px}.guide .related a{display:block;width:fit-content}.guide .example{padding:17px 20px;border-left:3px solid #8ca46e;background:#edf2e5;border-radius:0 12px 12px 0;margin:20px 0}.guide .example p{margin:0;font-size:15px}.guide pre{white-space:pre-wrap;font-size:14px;background:#eaf0e2;padding:20px;border-radius:12px;color:var(--ink);overflow-wrap:anywhere}
@keyframes reveal{from{opacity:0}to{opacity:1}}
@media(min-width:1280px){.shell{width:calc(100% - 360px)}}
@media(max-width:760px){.shell{width:calc(100% - 36px)}.site-header{height:70px;gap:12px}.brand{font-size:27px}.brand-mark{width:29px;height:30px;font-size:32px;margin-right:7px}.site-header nav{gap:8px;font-size:13px}.site-header nav>a{margin-right:3px}.icon-button{width:33px;height:33px;border-radius:9px}.game-section{padding-top:24px}.game-title-row{gap:12px}.angle-logo{width:52px;height:52px;border-radius:14px}.angle-logo svg{width:40px;height:40px}h1{font-size:36px}h1 span{font-size:12px;margin-top:6px}.game-intro{font-size:14px;line-height:1.6;margin:16px auto;max-width:300px}.game-intro strong{display:block}.game-modes{margin-bottom:17px;max-width:340px}.game-modes button{font-size:13px;padding:9px 12px}.game-panel{padding:16px 16px 0;border-radius:18px}.panel-top{font-size:11px;padding-bottom:12px;gap:10px}.round-track{gap:7px;margin-bottom:17px;padding:12px 0 14px}.round-track li{font-size:10px;gap:6px}.round-track li>span{width:23px;height:23px}.round-track small{font-size:10px}.board-heading h2{font-size:19px}.board-heading>span{font-size:11px}.angle-board{max-width:320px;margin:0 auto -3px}.angle-board svg{max-height:264px}.diagram-legend{font-size:10px;gap:16px}.board-instruction{font-size:12px;margin:11px 0 15px}.guess-entry{gap:9px}.guess-entry .button{padding:11px 15px;font-size:13px;gap:13px;flex-shrink:0}.number-field input{font-size:20px;padding-left:13px}.number-field input::placeholder{font-size:16px}.number-field{padding-right:12px}.feedback-box{gap:13px;padding:13px 14px}.feedback-box>div{gap:10px;flex-direction:column;align-items:flex-start}.feedback-box strong{font-size:28px}.feedback-box span{font-size:11px}.feedback-box p{font-size:12px;max-width:175px}.panel-footer{font-size:10px;gap:10px;padding:12px 0}.game-footnote{font-size:11px;max-width:310px;line-height:1.65;margin-top:14px}.results h2{font-size:27px}.total-error strong{font-size:60px}.result-rounds{gap:7px}.result-rounds>div{padding:12px 5px}.result-rounds small{font-size:9px}.result-rounds strong{font-size:17px}.result-actions{gap:9px}.result-actions .button{font-size:13px;padding:11px 15px}.article-section{padding-top:28px;margin-top:28px}.article-section h2{font-size:26px}.article-section p{font-size:15px;line-height:1.8}.how-grid{grid-template-columns:1fr;gap:12px;margin-top:22px}.how-grid article{padding:18px}.how-grid article>span{float:left;margin-right:12px;margin-top:4px}.how-grid h3{margin-top:0;font-size:20px}.how-grid p{font-size:14px;margin-top:9px}.faq summary{font-size:15px;padding:17px 25px 17px 0}.faq details p{font-size:14px}.site-footer nav{font-size:12px;gap:17px}.site-footer{gap:18px}.site-footer>p{font-size:11px}.guide{margin-top:24px}.guide h1{font-size:34px;line-height:1.1}.guide .lead{font-size:17px}.guide h2{font-size:26px}.guide p,.guide li{font-size:15px}.guide th,.guide td{font-size:13px;padding:10px 8px}.guide figure{padding:15px}.stats-grid{gap:9px}.stats-grid>div{padding:14px}dialog{padding:27px 23px}.guide .button{max-width:100%;gap:15px}}
@media(max-width:760px){.game-section{padding-top:20px}.game-intro{margin:12px auto}.angle-board svg{max-height:226px}}
@media(min-width:761px) and (max-height:820px){.site-header{height:64px}.game-section{padding-top:18px}.angle-logo{width:48px;height:48px;border-radius:13px}.angle-logo svg{width:38px;height:38px}h1{font-size:34px}h1 span{font-size:12px;margin-top:5px}.game-intro{margin:10px 0;font-size:14px}.game-modes{margin-bottom:12px}.game-modes button{padding:7px 16px}.game-panel{padding-top:15px}.panel-top{padding-bottom:11px}.round-track{padding-top:10px;padding-bottom:12px;margin-bottom:13px}.angle-board svg{max-height:190px}.board-instruction{margin:9px 0 12px}.diagram-legend{font-size:10px}.panel-footer{padding:10px 0}.game-footnote{margin-top:12px}}
@media(max-width:370px){.site-header nav>a{font-size:12px}.site-header nav{gap:6px}.brand{font-size:24px}.round-track li{font-size:9px;gap:4px}.round-track li>span{width:21px;height:21px}.panel-footer{font-size:9px}.game-title-row{gap:9px}h1 span{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* The page title and editorial content sit outside the reusable game shell. */
.game-shell .game-modes{margin:0 auto 15px;max-width:330px;background:#e1e8da}
.game-shell .game-modes button{padding:7px 16px;font-size:13px}
.game-shell .game-panel{max-width:620px;border-radius:16px;padding-top:17px;box-shadow:none}
.game-shell .panel-top{padding-bottom:12px}.game-shell .round-track{padding-top:10px;padding-bottom:13px;margin-bottom:15px}
.game-shell .angle-board svg{max-height:250px}.game-shell .angle-board svg.is-interactive{touch-action:none;cursor:crosshair}
.adjustable-ray{cursor:grab;outline:none}.adjustable-ray:active{cursor:grabbing}.adjustable-ray:focus-visible circle:first-of-type{stroke:#183c34;stroke-width:4}
.game-shell .board-instruction{margin:10px 0 14px}.game-shell .game-footnote{font-size:11px;margin-top:12px;max-width:none}
#drawing-controls{text-align:center;max-width:420px;margin:0 auto}.drawing-tools{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:12px}.drawing-tools>span{font-size:12px;color:var(--muted)}.drawing-tools>button{width:35px;height:35px;display:grid;place-items:center;border:1px solid #d6dfcf;background:#f6f8f2;border-radius:10px;font-size:22px;line-height:1}.drawing-tools>button:hover{background:#e4edd8}#drawing-submit{min-width:205px}.keyboard-note{font-size:10px;color:var(--muted);margin-top:8px;line-height:1.5}
.game-page-heading{max-width:760px;margin:30px auto 0}.game-page-heading h1{font-size:32px;line-height:1.16;letter-spacing:-.8px}.game-page-heading>p{font-size:16px;color:var(--muted);margin-top:12px}
.game-page-heading+.article-section{margin-top:28px;padding-top:28px}
@media(max-width:760px){.game-shell .game-panel{padding:13px 13px 0}.game-shell .game-modes{margin-bottom:12px}.game-shell .angle-board svg{max-height:225px}.game-shell .board-instruction{font-size:12px}.game-shell .round-track{gap:9px}.game-shell .round-track li{font-size:12px;gap:7px}.game-shell .round-track small{font-size:10px}.game-shell .game-footnote{font-size:10px;line-height:1.6}.game-page-heading{margin-top:25px}.game-page-heading h1{font-size:28px!important}.game-page-heading>p{font-size:15px}.drawing-tools{gap:17px}.keyboard-note{font-size:9px}.game-shell .board-heading h2{font-size:20px}.game-shell .panel-top{font-size:10px;gap:10px}}
@media(min-width:761px) and (max-height:820px){.game-shell{margin-top:17px}.game-shell .game-shell-stage{padding-top:15px;padding-bottom:13px}.game-shell .angle-board svg{max-height:195px}.game-shell .game-footnote{margin-top:9px}}

/* Angled-owned controls stay inside the game, separate from host player actions. */
.game-panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px}
.game-shell .game-panel-header .panel-top{flex-direction:column;gap:3px;padding-bottom:0}
.game-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}
.game-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #dce3d8;border-radius:10px;background:#f7f8f5;color:inherit;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.game-tool-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.game-tool-button:hover{background:#eaf0e3}
.game-tool-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:760px){.game-tool-label{display:none}.game-tool-button{width:34px;min-height:34px;padding:7px;font-size:16px}.game-panel-header{gap:8px}.game-shell .game-panel-header .panel-top{gap:3px}}

/* Angled has its own palette; the surrounding The Dles brand stays green. */
.game-shell[data-game-title="Angled"] .game-shell-stage,.angled-dialog{
 --paper:#f6f7fa;--ink:#202b40;--muted:#637087;--line:#dce2eb;--accent:#d46b20;
 --target:#345fce;--target-soft:#e5edff;--player:#d46b20;--board-guide:#edf0f6;
 color:var(--ink);
}
.game-shell[data-game-title="Angled"] .game-shell-stage{background:var(--paper)}
.game-shell .game-modes{background:#e8ecf3}
.game-shell .game-modes button[aria-pressed=true]{color:#244fae;box-shadow:0 2px 6px #25385812}
.game-shell .game-modes button[aria-pressed=false]{color:var(--muted)}
.game-shell .game-panel{border-color:var(--line)}
.game-shell .round-track,.game-shell .panel-footer{border-color:#edf0f5}
.game-shell .round-track li>span{border-color:var(--line)}
.game-shell .round-track li[aria-current]>span{background:var(--target);border-color:var(--target)}
.game-shell .round-track li.completed>span{background:var(--target-soft);border-color:var(--target-soft);color:#244fae}
.game-shell .primary,.angled-dialog .primary{background:#345fce;color:white}
.game-shell .primary:hover,.angled-dialog .primary:hover{background:#294fb1}
.game-shell .secondary{background:#eef1f7;border-color:var(--line)}
.game-shell .secondary:hover{background:#e3e9f4}
.game-shell .number-field{background:#fafbfe;border-color:#d3dbe8}
.game-shell .number-field:focus-within{border-color:var(--target);box-shadow:0 0 0 3px #345fce12}
.game-shell .number-field input::placeholder{color:#8d97a8}
.game-shell .number-field>span{color:#7c8799}
.game-shell .diagram-legend .legend-target{border-color:var(--target)}
.game-shell .diagram-legend .legend-guess{border-color:var(--player)}
.game-shell .game-tool-button,.game-shell .drawing-tools>button{background:#f7f9fc;border-color:var(--line)}
.game-shell .game-tool-button:hover,.game-shell .drawing-tools>button:hover{background:#e9eef8}
.game-shell .adjustable-ray:focus-visible circle:first-of-type{stroke:#202b40}
.game-shell .feedback-box,.game-shell .result-rounds>div,.angled-dialog .stats-grid>div{background:#eef2fa}
.game-shell .result-symbol{background:var(--target-soft);color:var(--target)}
.game-shell .eyebrow{color:var(--muted)}
.game-shell :is(button,input):focus-visible,.angled-dialog :is(button,a):focus-visible{outline-color:#345fce}
.angled-dialog{background:var(--paper);border-color:var(--line);box-shadow:0 20px 90px #202b4033}
.angled-dialog::backdrop{background:#202b4077}

/* Reserve the same board and response space for every round and the results. */
.game-shell .game-panel{height:700px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:48px 76px minmax(0,1fr) 48px}
.game-panel-header{grid-row:1;min-width:0}
.game-shell .round-track{grid-row:2;margin:0 0 15px;align-items:center}
.game-shell #play-area,.game-shell #results{grid-area:3 / 1;min-height:0}
.game-shell #play-area{display:grid;grid-template-rows:28px 250px 20px 56px minmax(150px,1fr)}
.game-shell .angle-board{width:100%;margin:0 auto;align-self:center}
.game-shell .angle-board svg{max-height:250px}
.game-shell .diagram-legend{margin:0;align-self:center}
.game-shell .board-instruction{margin:0;align-self:center}
.game-shell #guess-form,.game-shell #drawing-controls,.game-shell #round-reveal{grid-area:5 / 1;width:100%;max-width:420px;margin:0 auto;align-self:start}
.game-shell .panel-footer{grid-row:4;margin:0;align-items:center;padding:8px 0}
.game-shell #results{padding:14px 0 18px}
.game-shell .game-footnote{min-height:32px;margin-bottom:0}
.game-breadcrumbs{margin-bottom:14px;font-size:13px;line-height:1.6;color:var(--muted)}
.game-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0}
.game-breadcrumbs li{display:flex;align-items:center;gap:9px}
.game-breadcrumbs li+li:before{content:'/';color:#9ca69f}
.game-breadcrumbs [aria-current=page]{color:var(--ink);font-weight:500}
@media(min-width:761px) and (max-height:820px){.game-shell .game-panel{height:640px}.game-shell #play-area{grid-template-rows:28px 195px 20px 56px minmax(150px,1fr)}.game-shell .angle-board svg{max-height:195px}}
@media(max-width:760px){.game-shell .game-panel{height:680px;grid-template-rows:48px 76px minmax(0,1fr) 44px}.game-shell #play-area{grid-template-rows:28px 225px 20px 62px minmax(155px,1fr)}.game-shell .angle-board svg{max-height:225px}.game-breadcrumbs{font-size:12px;margin-bottom:12px}.game-shell #results{padding-top:10px}}

/* Keep the complete summary and both actions visible in the reserved space. */
.game-shell #results .result-symbol{width:40px;height:40px;font-size:30px;border-radius:12px;margin-bottom:8px}
.game-shell #results h2{font-size:26px;margin-top:5px}
.game-shell #results .total-error{margin:9px 0}
.game-shell #results .total-error strong{font-size:52px}
.game-shell #results .result-rounds{margin:14px 0;gap:7px}
.game-shell #results .result-rounds>div{padding:10px 5px}
.game-shell #results .result-actions{flex-wrap:nowrap;gap:8px}
.game-shell #results .result-actions .button{flex:1;min-width:0;padding:10px 8px;gap:6px;font-size:12px}
.game-shell #results .reset-notice{margin-top:10px;font-size:11px!important}
@media(max-width:760px){.game-shell #results>p:not(.eyebrow){font-size:12px}.game-shell #results .result-rounds strong{font-size:16px}.game-shell #results .result-rounds small{font-size:9px}}

/* The summary replaces round navigation and the running total instead of stacking them. */
.game-shell .game-panel:has(#results:not([hidden])){grid-template-rows:48px minmax(0,1fr)}
.game-shell .game-panel:has(#results:not([hidden]))>.round-track,
.game-shell .game-panel:has(#results:not([hidden]))>.panel-footer{display:none}
.game-shell .game-panel #results{grid-area:2 / 1;overflow:visible;align-self:center}
.game-shell #results #share-text{height:86px;min-height:86px;resize:none;font-size:12px;line-height:1.4}
.game-shell #results #share-fallback{margin-top:10px}

/* Mode selection and game tools share one compact header row. */
.game-shell .game-panel{height:740px;grid-template-rows:88px 76px minmax(0,1fr) 48px}
.game-panel-header{display:block;padding-bottom:12px}
.game-header-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.game-shell .game-header-controls .game-modes{flex:1;min-width:0;max-width:330px;margin:0}
.game-shell .game-panel-header .panel-top{flex-direction:row;justify-content:space-between;gap:12px;margin-top:8px;font-size:11px;line-height:1.5}
.game-shell .game-panel:has(#results:not([hidden])){grid-template-rows:88px minmax(0,1fr)}
@media(min-width:761px) and (max-height:820px){.game-shell .game-panel{height:680px}}
@media(max-width:760px){.game-shell .game-panel{height:720px;grid-template-rows:88px 76px minmax(0,1fr) 44px}.game-header-controls{gap:8px}.game-shell .game-header-controls .game-modes button{padding:7px 8px;font-size:12px}.game-shell .game-panel-header .panel-top{font-size:10px;gap:8px}}

/* Center the mode selector independently of the tools on the right. */
.game-header-controls{position:relative;justify-content:center;min-height:42px}
.game-shell .game-header-controls .game-modes{flex:0 0 auto;width:auto;max-width:none;gap:3px;padding:3px}
.game-shell .game-header-controls .game-modes button{flex:0 0 auto;padding:7px 14px;font-size:12px}
.game-header-controls .game-tools{position:absolute;right:0;top:50%;transform:translateY(-50%)}
.game-header-controls .game-tool-button{width:34px;min-height:34px;padding:7px;font-size:16px}
.game-header-controls .game-tool-label{display:none}
@media(max-width:760px){.game-shell .game-header-controls .game-modes button{padding:7px 11px;font-size:12px}.game-header-controls .game-tools{gap:4px}.game-header-controls .game-tool-button{width:30px;min-height:32px;padding:6px}.game-header-controls .game-modes{transform:translateX(0)}}
@media(max-width:360px){.game-shell .game-header-controls .game-modes button{padding:7px 4px;font-size:10px}.game-header-controls .game-tool-button{width:27px;min-height:30px;padding:5px}.game-header-controls .game-tools{gap:3px}}

/* The outer page container already reserves the site's side gutters. */
main.shell>.game-page-heading,main.shell>.article-section{max-width:none;width:100%;margin-left:0;margin-right:0}

.game-shell #date-label{font-variant-numeric:tabular-nums;white-space:nowrap}

/* The daily reset is a primary next step on the completed challenge. */
.game-shell #date-label.daily-clock{color:#244fae;font-weight:600}
.game-shell #results .reset-notice.daily-countdown{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#e5edff;border:1px solid #cbd9fa;border-radius:12px;padding:13px 16px;margin:18px 0 0;text-align:left;color:#244fae}
.daily-countdown .countdown-label{font-size:13px;font-weight:600;line-height:1.4}
.daily-countdown .countdown-label small{display:block;margin-top:4px;font-size:10px;font-weight:400;color:#526a9c}
.daily-countdown strong{font-size:30px;font-weight:700;line-height:1.1;letter-spacing:-.8px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:760px){.game-shell #results .reset-notice.daily-countdown{padding:12px;gap:8px}.daily-countdown .countdown-label{font-size:11px}.daily-countdown strong{font-size:25px}}
