#try .hp-practice {
  --hp-stage:min(clamp(460px,calc(100svh - 150px),710px),max(calc(125vw - 50px),520px));
  --hero-ring-ink:#c4a6ff; --hp-foot:60px;
  width:100%; height:calc(var(--hp-stage)*.92); max-height:none; aspect-ratio:auto; margin:16px 0 0;
  overflow:visible; isolation:isolate; clip-path:inset(-28px 0 0 round 22px); border-radius:22px;
  background:none; color:#fff; font-family:'Match Proxima',Manrope,sans-serif; font-feature-settings:'salt';
  user-select:none; -webkit-touch-callout:none;
}
.hp-practice::after { display:none }
.hp-practice [hidden] { display:none!important }
.hp-practice img { position:static; top:auto; left:auto; transform:none; max-width:none; pointer-events:none }
.hp-practice button,.hp-practice a,.hp-detail button { font:inherit; color:inherit; cursor:pointer }
.hp-practice :is(button,a,input):focus-visible,.hp-detail :focus-visible { outline:2px solid white; outline-offset:2px }
.hp-stage { position:absolute; inset:auto 0 0; height:var(--hp-stage);
  background:linear-gradient(#111129 0%,#181232 21%,#231443 41%,#331d70 61%,#512db1 81%,#7542fc);
}
.hp-word { position:absolute; top:11%; left:4%; width:92%; overflow:visible; opacity:.45; mask-image:linear-gradient(#0002 5%,#000 95%) }
.hp-word text { font:800 240px 'Match Proxima',sans-serif; letter-spacing:-.04em; fill:var(--hero-ring-ink);
  stroke:var(--hero-ring-ink); stroke-width:12px; stroke-linejoin:round }
.hp-dots,.hp-sides,.hp-sparks,.hp-field,.hp-field canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none }
.hp-dots { image-rendering:pixelated }
.hp-sides {
  /* The oversized side slabs and wrapper paint beyond the stage. Keep that width local. */
  overflow-x:clip;
  mask-image:linear-gradient(#000 69%,#0009 79%,#0004 89%,transparent 100%)
}
.hp-side-origin { position:absolute; left:50%; top:21%; height:88%; aspect-ratio:1428/2048; translate:-50% 0 }
.hp-practice [data-slab-stage] { position:absolute; left:-11%; top:62%; width:190%; aspect-ratio:1; translate:-50% -50%; touch-action:none }
.hp-practice [data-slab-stage]+[data-slab-stage] { left:111% }
.hp-practice [data-slab-stage] > * { position:absolute; inset:0; width:100%; height:100% }
.hp-practice [data-slab-stage] > div { opacity:0; transition:opacity .7s }
.hp-practice [data-slab-stage].hp-loaded > div { opacity:1 }
.hp-practice .hp-poster { position:absolute; top:-25%; left:-75%; width:250%; height:150%; transition:opacity .15s .15s }
.hp-practice[data-ready=true] .hp-poster { opacity:0 }
.hp-opening { position:absolute; inset:8% 0 0; overflow:hidden; border-radius:22px 22px 0 0; pointer-events:none }
.hp-field { background:radial-gradient(ellipse at 50% 50%,#40345d,#130f23 72%,#0d0a1a); opacity:0 }
.hp-field canvas { opacity:.3 }
.hp-play { position:absolute; inset:0 0 var(--hp-foot); pointer-events:none }
.hp-pack { position:absolute; top:calc(var(--hp-stage)*.13); left:50%; height:calc(var(--hp-stage)*.88); aspect-ratio:4/7; translate:-50% 0 }
.hp-gl { position:absolute; inset:-25% -75%; pointer-events:none;
  mask-image:linear-gradient(#000 53.03%,#0009 60.61%,#0004 68.18%,transparent 76.52%) }
.hp-grab { position:absolute; inset:0; pointer-events:auto; touch-action:pan-y; cursor:grab }
.hp-practice[data-pulling] .hp-grab { cursor:grabbing }
.hp-practice .hp-prompt { position:absolute; z-index:3; inset:auto auto 14px 50%; translate:-50% 0; width:max-content; max-width:95%;
  height:44px; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 20px; border:0; border-radius:100px;
  background:#0009; color:white; font-size:14px; font-weight:700; backdrop-filter:blur(10px); pointer-events:auto; touch-action:manipulation }
.hp-practice .hp-prompt span { display:inline; padding:0; border:0; border-radius:0; background:none; font:inherit }
.hp-practice .hp-prompt .hp-long { display:none }
.hp-practice .hp-prompt svg,.hp-sound button svg { width:18px; height:18px }
.hp-practice[data-pulling] .hp-prompt { opacity:0 }
.hp-sound { position:absolute; z-index:4; top:12px; right:12px; pointer-events:auto }
.hp-practice .sound { position:static; display:grid; place-items:center; width:40px; height:40px; padding:0; margin:0; border:0;
  border-radius:50%; background:#0007; color:#c7c5db; backdrop-filter:blur(12px) }
.hp-practice .sound:hover,.hp-practice .hp-prompt:hover { background:#000b }
.hp-level { position:absolute; top:100%; right:0; padding-top:8px; visibility:hidden; opacity:0; transition:opacity .14s,visibility .14s }
.hp-sound:focus-within .hp-level,.hp-sound.hp-expanded .hp-level { visibility:visible; opacity:1 }
@media(hover:hover) { .hp-sound:hover .hp-level { visibility:visible; opacity:1 } }
.hp-level label { display:flex; gap:8px; align-items:center; width:176px; border-radius:12px; padding:10px 12px; background:#28253e; box-shadow:0 8px 22px #140e29aa }
.hp-level input { min-width:0; flex:1; accent-color:#9877ff }
.hp-level output { width:28px; text-align:right; font:700 11px/1.4 inherit; color:#bcb8cc }
.hp-place { position:absolute; left:50%; top:50%; width:var(--hp-card-width); height:var(--hp-card-height); translate:-50% -50%; perspective:1100px }
.hp-spinner { position:absolute; inset:0; transform-style:preserve-3d }
.hp-spinner [data-back-side],.hp-reverse,.hp-spinner [data-dissolve],.hp-practice .hp-spinner [data-face],.hp-practice .hp-spinner [data-back] {
  position:absolute; inset:0; width:100%; height:100%; border-radius:10px;
}
.hp-spinner [data-back-side],.hp-reverse { backface-visibility:hidden; box-shadow:0 0 34px -8px var(--spin-glow,transparent),0 24px 40px -14px #000e }
.hp-reverse { transform:rotateY(180deg) }
.hp-practice[data-phase=result] .hp-reverse { border:6px solid transparent; inset:-6px; width:calc(100% + 12px); height:calc(100% + 12px);
  border-radius:18px; background:linear-gradient(#0a0d24,#0a0d24) padding-box,linear-gradient(145deg,#ffeba7,#ffd23c 24%,#ad8f29 52%,#ffd23c 76%,#ffe693) border-box;
  box-shadow:0 0 22px 1px #ffd23c8c,0 24px 40px -14px #000e }
.hp-practice[data-phase=result] .hp-place::before { content:''; position:absolute; left:50%; top:50%; width:340%; aspect-ratio:1; translate:-50% -50%;
  background:radial-gradient(closest-side,#ffd23c6b,transparent 74%),repeating-conic-gradient(transparent 0deg,#ffd23c42 9deg,transparent 18deg,transparent 26deg);
  mask-image:radial-gradient(closest-side,black 34%,transparent 100%) }
.hp-info { position:absolute; left:50%; translate:-50% 0; width:min(440px,calc(100vw - 72px)); text-align:center; text-shadow:0 2px 14px #0009 }
.hp-info strong { display:block; font-size:46px; line-height:1.1; font-weight:900; font-variant-numeric:tabular-nums }
.hp-info small { display:inline; color:inherit; font-size:26px }.hp-info b { display:block; font-size:16px; line-height:1.25; margin-top:4px }
.hp-info p { margin:2px 0 0; font-size:13px; font-weight:600; line-height:1.5; color:#bebbd3 }
.hp-practice button.hp-view { position:absolute; inset:-6px; width:calc(100% + 12px); height:calc(100% + 12px); border:0; border-radius:18px; background:transparent; cursor:zoom-in; pointer-events:auto }
.hp-actions { position:absolute; inset:auto 0 0; height:var(--hp-foot); display:flex; gap:8px; align-items:center; justify-content:center; padding:0 4px 12px; pointer-events:auto }
.hp-practice .hp-claim,.hp-practice .hp-again { min-height:46px; border-radius:12px; display:inline-flex; gap:8px; align-items:center; justify-content:center;
  padding:0 12px; font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap }
.hp-practice .hp-claim { border:2px solid #ffffff24; padding:0 clamp(12px,4.8vw,20px); background:linear-gradient(#2f10ba,#6443f5);
  font:900 15px/1.1 Inter,'Match Proxima',sans-serif; -webkit-text-stroke:.03em; min-width:min(190px,53%) }
.hp-practice .hp-again { background:#ffffff1a; border:0; box-shadow:inset 0 1px 0 #fff2 }
.hp-actions i { font-style:normal; font-size:18px }.hp-practice .hp-claim:hover,.hp-practice .hp-again:hover { filter:brightness(1.15) }
.hp-status { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap }
.hp-detail { position:fixed; inset:auto 0 0; padding:0; margin:0 auto; width:min(100%,460px); max-width:100vw; max-height:94svh;
  border:0; border-radius:24px 24px 0 0; overflow:auto; background:#171732; color:white; font:600 16px/1.4 'Match Proxima',sans-serif; text-align:center }
.hp-detail::backdrop { background:#080814ba; backdrop-filter:blur(8px) }
.hp-zoom-art { display:grid; place-items:center; background:radial-gradient(ellipse,#ffd23c66,transparent 64%),#100e20; padding:28px 32px; }
.hp-zoom-art img { height:280px; width:auto; max-width:100%; object-fit:contain; border-radius:8px; box-shadow:0 30px 50px -16px #000e }
.hp-detail-copy { padding:20px 24px }.hp-detail-copy h2 { margin:6px 0 0; font:800 22px/1.25 'Match Proxima',sans-serif }
.hp-detail-copy small,.hp-detail-copy p { color:#bab6c9; font-size:14px }.hp-detail-copy small i { display:inline-block; background:#ffd23c; border-radius:50%; width:8px; height:8px }
.hp-detail-copy strong { display:block; font-size:36px }.hp-disabled { display:flex; gap:8px; margin:14px 0 4px }.hp-disabled button { flex:1; min-height:44px; border:0; border-radius:10px; color:#b9b5c9; background:#332e48; cursor:default }
.hp-detail .hp-close { position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:50%; background:#151225bd; border:0; color:white; font-size:25px }
@media(min-width:640px) {
  #try .hp-practice { --hp-foot:76px }
  .hp-practice .hp-prompt { bottom:18px }.hp-practice .hp-prompt .hp-long { display:inline }.hp-practice .hp-prompt .hp-short { display:none }
  .hp-actions { padding-bottom:16px }.hp-practice .hp-claim,.hp-practice .hp-again { min-height:60px; padding:0 24px; font-size:15px }
  .hp-practice .hp-claim { min-width:241px; font-size:18px }
  .hp-detail { inset:0; margin:auto; border-radius:24px }.hp-zoom-art img { height:min(380px,calc(100svh - 340px)); min-height:260px }
}
@media(min-width:768px) {
  .hp-info strong { font-size:58px }.hp-info small { font-size:32px }.hp-info b { font-size:20px }.hp-info p { font-size:14px }
}
@media(prefers-reduced-motion:reduce) { .hp-practice * { transition-duration:0s!important } }
