:root{--cream:#faf6ed;--ink:#282b23;--yellow:#f4d744;--line:#dbd3c1;--cocoa:#6f4936;--muted:#716d60}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}button,a{color:inherit;font:inherit}a{text-underline-offset:5px}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #9b7515;outline-offset:4px}.review{padding:12px 28px;background:var(--ink);color:#fff9e8;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:1px}.review b{font-weight:400;margin-left:14px;color:#d0cbbd;letter-spacing:0}.review nav{display:flex;gap:3px}.review button{border:0;background:none;color:inherit;padding:8px 11px;border-radius:20px;font-size:12px;white-space:nowrap}.review button[aria-current=page]{background:var(--yellow);color:var(--ink)}header,main,footer{max-width:1192px;margin:auto}header{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 32px}.brand{text-decoration:none;font-size:23px;font-weight:900;letter-spacing:-1px}.brand i{display:inline-grid;place-items:center;width:32px;height:32px;background:var(--yellow);border-radius:9px;transform:rotate(-9deg);font-style:normal;margin-right:8px}.brand span{font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:12px}.text-button{border:0;background:none;min-height:44px;padding:10px;font-size:13px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.4px;color:var(--cocoa)}h1,h2,h3,p{margin-top:0}h1{font-size:72px;letter-spacing:-4px;line-height:1.05;margin-bottom:24px}h2{font-size:30px;letter-spacing:-1px}p{line-height:1.7;word-break:keep-all;color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:60px 32px 20px;align-items:center}.hero h1 small{display:block;font-size:26px;letter-spacing:-1px;margin-bottom:20px}.hero h1 em{font-style:normal;display:inline-block;position:relative;z-index:0}.hero h1 em:after{content:'';position:absolute;bottom:3px;left:-5px;right:-8px;height:19px;background:var(--yellow);z-index:-1;transform:rotate(-3deg)}.hero .lead{font-size:17px;max-width:370px}.art{position:relative;min-width:0;border-radius:48% 48% 40% 40%;background:#f3edcf}.art canvas{width:100%;height:410px;display:block}.sticker{position:absolute;top:14px;right:12px;background:var(--yellow);border:1px solid var(--ink);padding:12px 18px;border-radius:50%;transform:rotate(9deg);font-size:14px;font-weight:bold}.art-caption{position:absolute;bottom:15px;left:0;right:0;text-align:center;font-size:12px;color:var(--cocoa);letter-spacing:1px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}.mode{border:1.5px solid var(--ink);border-radius:17px;padding:20px;text-align:left;background:var(--yellow);box-shadow:2px 3px 0 var(--ink);min-height:132px;position:relative}.mode.secondary{background:#fffdf7}.mode b{display:block;font-size:20px;letter-spacing:-.7px;margin:12px 0 7px}.mode small{font-size:12px}.mode .arrow{position:absolute;right:17px;top:19px;font-size:21px}.support-links{display:flex;gap:18px;margin-top:22px;align-items:center;flex-wrap:wrap}.support-links button{background:none;border:0;border-bottom:1px solid #aaa08a;padding:7px 0;font-size:13px}.note{font-size:12px;color:var(--muted);margin-top:18px}.intro{margin:45px 32px;padding:30px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 2fr;gap:40px}.intro h2{font-size:21px}.intro p{font-size:14px;margin:0}.page{max-width:940px;margin:0 auto;padding:44px 32px 60px}.page-title{display:flex;justify-content:space-between;align-items:start;margin-bottom:28px}.page h1{font-size:44px;letter-spacing:-2px;margin:12px 0 14px}.split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.small-art canvas{height:330px}.levels{display:grid;gap:12px}.level{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:#fffdf7;border-radius:15px;text-align:left;padding:18px}.level[aria-pressed=true]{border:2px solid var(--ink);background:#f8efb8;padding:17px}.level span{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#ede5d4;font-weight:bold;flex-shrink:0}.level strong{display:block;margin-bottom:6px}.level small{color:var(--muted);line-height:1.5}.primary,.outline{min-height:50px;border:1.5px solid var(--ink);border-radius:13px;background:var(--yellow);box-shadow:2px 3px var(--ink);font-weight:bold;padding:14px 22px}.outline{background:#fffdf7;box-shadow:none}.full{width:100%;margin-top:18px}.code-card{border:1px solid var(--line);background:#fffdf7;border-radius:24px;padding:28px;text-align:center}.code{display:block;font-size:44px;letter-spacing:7px;font-weight:900;margin:20px 0}.row{display:flex;gap:12px;align-items:center}.row>*{flex:1}.players{margin:25px 0;display:grid;gap:12px}.player{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}.avatar{display:inline-grid;place-items:center;background:var(--yellow);border-radius:50%;width:35px;height:35px;margin-right:10px}.pill{font-size:11px;border-radius:25px;background:#ede9dc;padding:7px 12px}.ready{background:#f3e8a4}.arena{max-width:680px;margin:auto;padding:30px 32px 45px}.arena-top{display:flex;justify-content:space-between;align-items:center;font-size:13px}.arena h1{font-size:25px;letter-spacing:-1px;text-align:center;margin:28px 0 8px}.arena .subtitle{text-align:center;font-size:13px;margin-bottom:0}.progress{display:flex;gap:6px;justify-content:center;margin:18px}.progress i{width:24px;height:4px;border-radius:3px;background:#ddd4bd}.progress i.active{background:var(--ink)}.arena canvas{width:100%;height:420px;display:block}.cue{text-align:center;background:#f4ebbb;border-radius:13px;padding:13px;font-size:13px}.cue strong{display:block;margin-bottom:5px}.play-note{font-size:12px;text-align:center;margin:18px 0}.result-layout{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.result-layout canvas{width:100%;height:380px}.score{font-variant-numeric:tabular-nums;display:flex;gap:22px;align-items:center;margin:22px 0}.score small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.score strong{font-size:35px;letter-spacing:-1px}.score .mine strong{background:linear-gradient(transparent 65%,var(--yellow) 0)}.coaching{border-left:3px solid #c7a527;background:#f3ecd0;border-radius:0 12px 12px 0;padding:16px;font-size:14px}.coaching p{font-size:13px;margin:7px 0 0}.result-actions{display:grid;gap:12px;margin:22px 0}.result h1{font-size:42px}.micro{font-size:11px;color:var(--muted)}.record-card{border:1.5px solid var(--ink);border-radius:22px;overflow:hidden;display:grid;grid-template-columns:1.3fr 1fr;background:#fffdf7}.record-card .record-copy{padding:28px}.record-card canvas{width:100%;height:225px;background:#f3ecd0}.record-copy strong{display:block;font-size:34px;margin:16px 0}.record-copy small{font-size:12px;color:var(--muted)}.history-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:19px 0;font-size:14px}.history-row span{color:var(--muted)}footer{padding:28px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:var(--muted)}dialog{max-width:440px;width:calc(100% - 32px);border:1px solid var(--ink);border-radius:22px;padding:28px;background:var(--cream)}dialog::backdrop{background:#282b2380}dialog .text-button{float:right}dialog h2{clear:both;font-size:24px}dialog p{font-size:14px}dialog a{font-size:14px}
@media(max-width:700px){.review{padding:10px 16px;display:block}.review>span{font-size:9px;display:block;margin-bottom:8px}.review b{margin-left:8px}.review nav{overflow:auto}.review button{font-size:11px;padding:8px 9px}header{height:70px;padding:0 20px}.brand{font-size:20px}.brand span{font-size:12px;margin-left:7px}.text-button{font-size:12px}.hero{display:flex;flex-direction:column;gap:18px;padding:32px 20px 10px}.hero-copy{width:100%}.hero h1{font-size:52px;margin-bottom:18px}.hero h1 small{font-size:22px;margin-bottom:13px}.hero .lead{font-size:14px;margin-bottom:0}.hero .art{display:none}.mode-grid{gap:12px;margin-top:24px}.mode{padding:17px;min-height:130px}.mode b{font-size:19px}.mode small{font-size:11px}.mode .arrow{right:13px}.intro{display:block;margin:26px 20px;padding:25px 0}.intro h2{font-size:19px}.intro p{font-size:13px}.page{padding:28px 20px 40px}.page h1{font-size:34px}.page-title{margin-bottom:22px}.split,.result-layout{display:flex;flex-direction:column;gap:18px}.split>div{width:100%}.small-art{display:none}.arena{padding:22px 18px 35px}.arena canvas{height:365px}.arena h1{margin-top:22px;font-size:24px}.arena-top{font-size:12px}.code{font-size:37px}.code-card{padding:23px}.result-layout>div{width:100%}.result-layout .result-art{max-width:270px}.result-layout canvas{height:230px}.result h1{text-align:center;font-size:32px;margin-top:4px}.result .eyebrow{text-align:center}.score{justify-content:center;margin:18px 0}.score strong{font-size:33px}.result-actions{margin-bottom:14px}.record-card{grid-template-columns:1.3fr 1fr}.record-card .record-copy{padding:20px 15px}.record-copy strong{font-size:24px}.record-card canvas{height:215px}.record-copy h2{font-size:21px}.support-links{gap:16px}footer{padding:24px 20px;font-size:9px}.home-mobile-art{height:210px;display:block;width:100%;margin:0 auto -10px;max-width:270px}.home-mobile-art canvas{width:100%;height:210px}.hero .eyebrow{margin-bottom:16px}}
@media(min-width:701px){.home-mobile-art{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

h1[tabindex="-1"]:focus{outline:none}
.art-caption{display:none}
.hero h1{font-size:60px;line-height:1.18}.mode-grid{grid-template-columns:repeat(3,1fr)}.mode{padding:16px;min-height:150px}.mode b{font-size:21px}.mode small,.eyebrow,.note,.micro,.pill,.support-links button,.text-button,.level small,.arena .subtitle,.play-note,.intro p,.coaching p{font-size:14px;color:var(--muted);letter-spacing:0}.mode small,.mode b{color:var(--ink)}.level strong{font-size:20px}.coaching,.cue{font-size:16px}.arena h1{font-size:28px}.review nav{overflow:auto}.review button{min-height:44px}.wide{max-width:1180px}.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.scene-grid article{background:#fffdf7;border:1px solid var(--line);border-radius:20px;padding:20px}.scene-grid h2{font-size:22px}.scene-grid canvas{width:100%;height:350px}.scene-grid p{font-size:16px}.swatches,.button-spec{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0 40px}.swatches i{display:block;width:120px;height:80px;border:1px solid var(--line);border-radius:12px;margin-bottom:10px}.type-spec{border-left:4px solid var(--yellow);padding:20px;margin-bottom:32px}.type-spec small,.record-copy small{font-size:14px}.page h2{margin-top:24px}
@media(max-width:700px){.hero h1{font-size:44px;letter-spacing:-2px}.mode-grid{grid-template-columns:1fr}.mode{min-height:108px;padding:18px 22px}.mode b{margin:5px 0;font-size:22px}.mode .arrow{top:35px;right:24px}.home-mobile-art,.home-mobile-art canvas{height:230px}.scene-grid{grid-template-columns:1fr}.scene-grid canvas{height:360px}.page-title{gap:8px}.page-title .text-button{flex-shrink:0}.page h1{line-height:1.25}.brand span{display:none}}
/* v3: predictable card wrapping and secondary navigation */
.mode-grid{grid-template-columns:1fr}.mode{min-height:104px;padding:18px 52px 18px 22px;line-height:1.5;white-space:normal;word-break:keep-all;appearance:none;-webkit-appearance:none}.mode .arrow{top:35px;right:20px}.mode b{margin:4px 0}.mode small{display:block}.support-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.support-links button{border:1px solid var(--line);border-radius:12px;min-height:48px;background:var(--surface);font-size:16px;font-weight:600;padding:12px;text-align:center}.support-links button:hover{background:#f3eddf}.players+.full+.micro{margin-top:20px;line-height:1.7}.grip-concept{display:block;width:100%;height:100%;object-fit:contain;border-radius:22px}.art .grip-concept{height:480px}.home-mobile-art .grip-concept{height:230px}.scene-grid .grip-concept{height:350px}.record-card .grip-concept{height:230px}.review nav{flex-wrap:wrap}.sticker{display:none}
/* v4: one image rig across grip, progressive opening and crown tear. */
.split-motion{width:100%;min-width:0}.split-motion canvas{display:block;width:100%;height:480px}.motion-feature{max-width:620px;margin:0 auto 36px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px}.motion-feature canvas{height:490px}.motion-status{font-size:16px;font-weight:700;text-align:center;min-height:48px;line-height:1.5;margin:12px 0}.motion-controls{display:grid;grid-template-columns:2fr 1fr;gap:12px}.motion-scrub{display:block;font-size:14px;font-weight:600;margin:24px 0 12px}.motion-scrub input{display:block;width:100%;height:48px;accent-color:#8a6815;cursor:ew-resize}.motion-stages{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.motion-stages button{padding:10px;min-height:48px}.motion-side{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:16px;flex-wrap:wrap;font-size:14px}.motion-side button[aria-pressed=true]{background:var(--yellow);border-radius:10px;font-weight:700}.scene-grid .split-motion canvas{height:350px}.result-art .split-motion canvas{height:400px}.motion-controls button:disabled{opacity:.5;cursor:default}.home-mobile-art .split-motion canvas{height:230px}
@media(max-width:700px){.motion-feature{padding:14px}.motion-feature canvas,.arena .split-motion canvas{height:360px}.motion-controls{grid-template-columns:1fr 1fr}.motion-controls button{padding:12px;font-size:15px}.result-art .split-motion canvas{height:300px}}
/* v6: isolated viewport play surface. Only the dedicated pad captures touch. */
[hidden]{display:none!important}.is-playing{overflow:hidden;overscroll-behavior:none}.is-playing>.review,.is-playing>header,.is-playing>footer{display:none}.is-playing #content{max-width:none;margin:0}.live-play{position:fixed;inset:0;height:100vh;height:100dvh;width:100%;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(12px,env(safe-area-inset-left));display:grid;grid-template-rows:56px minmax(0,1fr);background:var(--cream);overflow:hidden}.live-nav{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1200px;margin:0 auto;border-bottom:1px solid var(--line);gap:8px}.live-nav button{min-height:44px}.live-nav strong{font-size:16px;text-align:center}.live-body{width:100%;max-width:1200px;min-height:0;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);height:100%;gap:32px;align-items:center;padding:24px}.live-visual{height:100%;min-height:0;position:relative;min-width:0}.live-visual canvas{width:100%;height:100%;display:block;touch-action:auto;pointer-events:none}.live-console{min-width:0;display:flex;flex-direction:column;gap:16px}.live-guidance h1{font-size:clamp(24px,3vw,36px);line-height:1.3;letter-spacing:-1px;margin:12px 0}.live-guidance p{font-size:16px;line-height:1.6;margin:0}.live-load{display:flex;align-items:center;gap:8px;font-size:14px;font-variant-numeric:tabular-nums}.live-load meter{min-width:24px;width:100%;flex:1;height:16px}.live-load span{white-space:nowrap}#pull-pad{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;min-height:128px;border:2px solid var(--ink);border-radius:20px;background:var(--yellow);padding:16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;box-shadow:3px 4px var(--ink)}#pull-pad:focus-visible{outline:3px solid #957000;outline-offset:3px}#pull-pad.held{cursor:grabbing;background:#ffe76e}.pad-knob{display:grid;place-items:center;border:1px solid #77621d;background:#fff8c6;border-radius:50%;width:36px;height:36px;font-size:24px;transform:translateX(calc(var(--pull,0)*24px))}#pull-pad strong{font-size:18px}#pull-pad small{font-size:14px}.key-help{font-size:13px;margin:0;color:var(--muted)}#live-overlay{position:absolute;inset:0;background:#faf6eddd;display:grid;place-items:center;text-align:center;font-size:clamp(24px,8vw,72px);font-weight:800;padding:16px;pointer-events:none}.live-result-art{width:100%;height:440px}.live-result-art canvas{width:100%;height:100%;pointer-events:none}.live-result>.eyebrow{display:block}.live-result>h1{line-height:1.25}.code-label{display:block;text-align:left;margin:28px 0 8px}#live-code-input{width:100%;font:inherit;padding:14px;border:1px solid var(--line);border-radius:12px;text-transform:uppercase;letter-spacing:4px;background:var(--surface)}.code-card .row{flex-wrap:wrap}#live-message{margin-top:20px;overflow-wrap:anywhere}
@media(max-width:900px) and (orientation:portrait){.live-play{grid-template-rows:48px minmax(0,1fr)}.live-nav strong{font-size:14px}.live-body{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:0;padding:8px 4px 12px}.live-console{gap:8px}.live-guidance .eyebrow,.key-help{display:none}.live-guidance h1{font-size:20px;text-align:center;margin:0 0 4px}.live-guidance p{font-size:13px;text-align:center;line-height:1.3}.live-guidance br{display:none}#pull-pad{min-height:104px;padding:8px;border-radius:16px}.pad-knob{width:28px;height:28px;font-size:20px}#pull-pad strong{font-size:16px}#pull-pad small{font-size:12px}.live-load{font-size:12px}.live-result-art{height:300px}.live-result .score strong{font-size:clamp(25px,7vw,33px)}}
@media(max-height:500px) and (orientation:landscape){.live-play{grid-template-rows:44px minmax(0,1fr)}.live-body{grid-template-columns:minmax(0,1fr) minmax(240px,42%);gap:12px;padding:8px}.live-console{gap:8px}.live-guidance h1{font-size:20px;margin:0 0 4px}.live-guidance .eyebrow,.live-guidance p,.key-help{display:none}#pull-pad{min-height:96px;padding:8px}.live-load{font-size:12px}.pad-knob{height:26px;width:26px}#pull-pad strong{font-size:16px}}
@media(max-width:360px){.page{padding-left:14px;padding-right:14px}.page-title{display:block}.live-nav .text-button{padding:8px;font-size:12px}.live-guidance p{font-size:12px}.live-guidance h1{font-size:18px}.live-load{gap:5px}.result-layout{gap:8px}}
@media(max-height:580px) and (orientation:portrait){.live-guidance p,#pull-pad small{display:none}#pull-pad{min-height:78px}.live-console{gap:6px}.live-body{padding-top:0;padding-bottom:8px}.live-guidance h1{font-size:17px}}

.stage-ad{margin:64px auto 32px;max-width:900px;text-align:center;color:#625f51}.stage-ad small{font-size:11px}.stage-ad div{height:250px;margin-top:12px;border:1px dashed #cfc5a7;background:#f1eddf;display:grid;place-items:center;font-size:14px}

.learn-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.learn-top,.learn-actions,.learn-steps{display:flex;gap:10px;align-items:center;justify-content:space-between}.learn-top{margin-bottom:16px}.learn-steps button{flex:1;padding:10px}.learn-steps [aria-current=step]{background:#f4d942;color:#272b23;opacity:1}.learn-body{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.learn-body canvas{width:100%;height:300px;min-width:0}.learn-body h2{font-size:24px;margin:14px 0}.learn-body p{font-size:15px;line-height:1.6}.learn-actions{flex-wrap:wrap}.learn-actions button{min-height:48px;flex:1}#learn-pad{height:112px;background:#f4d942;border:2px solid #272b23;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:14px;touch-action:none;user-select:none;overflow:hidden}.learn-pointer{font-size:34px;transform:translate(calc(var(--learn-pull,0)*45px),calc(var(--learn-pull,0)*30px));color:#272b23}#learn-pad[data-held=true]{box-shadow:inset 0 0 0 4px #b99724}.learn-dialog [hidden]{display:none}.learn-dialog::backdrop{background:#272b2399}@media(max-width:560px){.learn-dialog{padding:16px}.learn-body{grid-template-columns:1fr;gap:0}.learn-body canvas{height:180px}.learn-body h2{font-size:21px}.learn-body p{margin:8px 0}#learn-pad{height:100px}.learn-actions button{font-size:13px;padding:10px}}@media(max-height:500px) and (min-width:561px){.learn-body canvas{height:170px}.learn-dialog{padding:12px}.learn-body h2{margin:6px 0}.learn-body p{margin:4px 0}#learn-pad{height:80px}}

/* Keep coaching stable while the pointer is held; shrink art before controls. */
.learn-dialog{box-sizing:border-box;overscroll-behavior:contain}.learn-steps button{min-width:0;white-space:nowrap;font-size:14px;padding:8px 4px;min-height:44px}.learn-body>div{min-width:0}.learn-body #learn-copy{min-height:72px}.learn-pointer{flex-shrink:0;pointer-events:none}.learn-actions button{min-width:0}.learn-body canvas{pointer-events:none}.learn-top button{min-height:44px}.learn-dialog:focus{outline:none}
@media(max-width:560px) and (max-height:740px){.learn-dialog{padding:12px;max-height:calc(100dvh - 16px);width:calc(100% - 16px)}.learn-top{margin-bottom:8px}.learn-steps{gap:6px}.learn-body canvas{height:clamp(48px,calc(100dvh - 460px),150px)}.learn-body h2{font-size:20px;margin:6px 0}.learn-body p{font-size:13px;line-height:1.4;margin:6px 0}.learn-body #learn-copy{min-height:55px}.learn-body .note{font-size:12px}#learn-pad{height:84px;gap:8px;font-size:14px}.learn-actions{gap:6px;flex-wrap:nowrap}.learn-actions button{padding:6px;font-size:12px;line-height:1.35;min-height:48px}.learn-pointer{font-size:28px}}
@media(min-width:561px) and (max-height:500px){.learn-dialog{max-height:calc(100dvh - 12px)}.learn-top{margin-bottom:4px}.learn-body{gap:12px}.learn-body canvas{height:150px}.learn-body #learn-copy{min-height:40px;font-size:12px}.learn-body h2{font-size:18px}.learn-body .note{font-size:11px}.learn-actions button{font-size:12px;padding:6px;min-height:44px}.learn-steps button{min-height:36px}.learn-top button{min-height:36px}}
.learn-dialog{max-width:760px}
@media(min-width:561px) and (max-height:360px){.learn-dialog{padding:8px}.learn-body canvas{height:140px}.learn-body .note{display:none}.learn-body #learn-copy{min-height:34px;line-height:1.3;font-size:12px}.learn-body h2{font-size:17px;line-height:1.2;margin:4px 0}#learn-pad{height:64px;font-size:13px}.learn-top{margin-bottom:2px}.learn-actions button{min-height:40px}.learn-body{gap:8px}}

/* Shared account dialog: deliberate spacing, one provider per row. */
#ice-login{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px}#ice-login h2{font-size:24px;line-height:1.35;margin:0 0 12px}#ice-login p{margin:0 0 24px}#ice-login .login-actions{display:grid;gap:14px}#ice-login button{width:100%;white-space:normal;min-height:48px}#ice-login #ice-login-close{float:right;width:44px;min-height:44px;margin:-8px -8px 4px 12px}

.platform-header .platform-box{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border:1.5px solid var(--ink);border-radius:14px;background:var(--yellow);box-shadow:2px 3px var(--ink);text-decoration:none;font-size:16px;font-weight:700;white-space:nowrap}.platform-header .brand{white-space:nowrap}.support-links a{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;min-height:48px;background:var(--surface);font-size:16px;font-weight:600;padding:12px;text-align:center;text-decoration:none}.support-links a:hover{background:#f3eddf}

header,main,footer{max-width:1120px}.hero{grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;padding:48px 32px}.hero-copy .home-mobile-art{display:block;height:300px;max-width:350px;margin:24px auto}.hero-copy .home-mobile-art .grip-concept{height:300px}.home-chooser{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:28px}.home-chooser h2{font-size:24px}.home-chooser .mode-grid{margin-top:24px}.home-chooser .mode{min-height:96px}.hero h1{font-size:52px}.platform-footer{display:flex;justify-content:space-between;align-items:center;padding:28px 32px;font-size:16px}.platform-footer p{font-size:14px;margin:6px 0}.platform-footer nav,.service-guides{display:flex;gap:16px;flex-wrap:wrap}.platform-footer a,.service-guides a{font-size:14px}.intro{display:flex;justify-content:space-between;gap:32px}.intro>p{max-width:480px}#start-identity label{display:block;font-weight:700;font-size:14px;margin-bottom:10px}#start-name{width:100%;min-height:52px;padding:12px 14px;background:var(--cream);border:1px solid var(--line);border-radius:12px;font:inherit;color:var(--ink)}#start-identity .note{margin:8px 0 0}@media(max-width:760px){.hero{grid-template-columns:1fr;padding:28px 20px;gap:24px}.hero h1{font-size:40px}.hero-copy .home-mobile-art,.hero-copy .home-mobile-art .grip-concept{height:210px}.home-chooser{padding:20px}.platform-footer{display:block;padding:24px 20px}.platform-footer nav{margin-top:16px}.intro{display:block}}@media(max-width:360px){.hero{padding-left:16px;padding-right:16px}}
.hero-copy .home-mobile-art .split-motion canvas{height:300px}.player-name{font-size:14px;color:var(--muted);margin:0}@media(max-width:760px){.hero-copy .home-mobile-art .split-motion canvas{height:210px}}@media(max-height:580px){.live-guidance .player-name{display:none}}
.platform-header{height:76px;padding:12px 32px}.platform-header a{color:var(--ink)}@media(max-width:760px){.platform-header{height:68px;padding:10px 20px}}
/* Shared navigation and full-width mobile composition. */
body:not(.is-playing)>header{position:sticky;top:0;z-index:30;background:var(--bg,#faf6ed);padding-top:max(12px,env(safe-area-inset-top))}
html{scroll-padding-top:90px}.hero>*,.home-chooser{min-width:0}.home-chooser{width:100%}
.page:has(.room-exit) .split{align-items:start}.room-exit{white-space:nowrap;flex-shrink:0}
.players{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.players .player{display:flex;flex-direction:column;align-items:flex-start;gap:8px;border:1px solid var(--line,#c9c1af);border-radius:16px;padding:18px;background:var(--surface,#fffdf7)}.players .player small{font-size:12px;color:#67695f}.players .player span{font-size:14px;background:#f4efda;border-radius:8px;padding:6px 8px}
@media(max-width:760px){.hero{align-items:stretch;padding:24px 16px;gap:24px}.hero-copy,.home-chooser{width:100%;max-width:none}.home-chooser{padding:20px 16px}.page{padding-left:16px;padding-right:16px}.page-title{gap:16px;align-items:flex-start}.page-title h1{font-size:clamp(26px,7vw,38px)}.room-exit{padding:10px 12px;min-height:44px}.code-card{width:100%}.players .player{padding:14px 12px}.split{gap:24px}.is-playing .live-play{height:100dvh;padding-bottom:env(safe-area-inset-bottom)}}

.home-extras{display:grid;gap:20px;margin-top:24px;text-align:center}.home-extras>p{margin:0}.home-extras .game-share{background:#eee9d7;border:2px solid var(--ink);box-shadow:2px 3px var(--ink);font-weight:700}.home-extras .text-button{text-decoration:underline}.ice-ranking{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px}.ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ranking-heading h2{font-size:24px;margin:0}.ranking-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ranking-levels [aria-pressed=true]{background:var(--yellow);border-color:var(--ink)}.ranking-list{list-style:none;padding:0}.ranking-list li{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.ranking-list span{overflow-wrap:anywhere}.ranking-list strong{font-variant-numeric:tabular-nums}@media(max-width:360px){.ice-ranking{padding:16px}.ranking-heading h2{font-size:21px}.ranking-list li{gap:6px;font-size:14px}}

.dialog-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;box-shadow:none;background:transparent;color:var(--ink);font-size:28px;line-height:1}.dialog-close:hover{background:#eee9d7}.pending-result{margin-top:20px}.pending-result p{font-size:14px;line-height:1.6}

/* Shared result concept: focused modal over the game, bounded on mobile. */
.ice-result-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto;border-radius:24px}.ice-result-dialog .live-result{padding:24px;width:auto;max-width:none;margin:0}.ice-result-dialog .dialog-close{float:right}.ice-result-dialog .result-layout{display:block}.ice-result-dialog .live-result-art{max-width:240px;margin:0 auto}.ice-result-dialog .live-result-art canvas{max-height:180px}.ice-result-dialog h1{font-size:28px;text-align:center}.ice-result-dialog .player-name,.ice-result-dialog .eyebrow{text-align:center;display:block}.ice-result-dialog .score{margin:12px 0}.ice-result-dialog .score strong{font-size:32px}.ice-result-dialog .coaching{padding:12px;margin:12px 0}.ice-result-dialog .coaching h2{font-size:18px}.ice-result-dialog .result-actions{display:grid;gap:10px}.attempt-ranks{padding:0;list-style:none;text-align:center;border-radius:12px;overflow:hidden;background:#f1edde}.attempt-ranks li{padding:12px 8px;color:#76766b}.attempt-ranks .current{background:#f9e994;color:var(--ink);font-weight:800}.ice-result-dialog #ice-attempt-rank{text-align:center}.ice-result-dialog .result-actions button{width:100%}

.ice-result-dialog .account-save{background:transparent;border:0;padding:0;text-align:center}.ice-result-dialog .account-save h2,.ice-result-dialog .account-save>p:first-of-type{display:none}.ice-result-dialog .account-save button{width:100%}.ice-result-dialog .live-result-art canvas{max-height:140px}

.ice-result-dialog .live-result-art{height:140px}.ice-result-dialog .result-layout>div:last-child>p:first-of-type{display:none}.result-tips{margin:12px 0;font-size:13px}.result-tips summary{cursor:pointer}.ice-result-dialog .score strong{font-size:30px}
