.tryout{max-width:1140px;margin:auto;padding:clamp(22px,4.8vw,68px) clamp(17px,4vw,50px);color:var(--kc-ink)}
.tryout [hidden]{display:none!important}
.tryout-head,.tryout-trail,.tryout-figure-head,.tryout-stage figcaption{display:flex;align-items:center;justify-content:space-between}
.tryout-head{gap:16px;padding-bottom:20px;border-bottom:1px solid var(--kc-rule)}
.tryout-trail{gap:clamp(8px,2.2vw,28px);margin:0;padding:0;list-style:none}
.tryout-trail li{display:flex;align-items:center;gap:7px;color:#585766;font-weight:600;font-size:.84rem;white-space:nowrap}
.tryout-trail li::before{content:'';width:9px;height:9px;border-radius:50%;background:#dddce2}
.tryout-trail [aria-current=step]{color:#40359a}
.tryout-trail [aria-current=step]::before{background:#6254bd;box-shadow:0 0 0 3px #e1ddf5}
.tryout-trail [data-complete]::before{background:#437348}
.tryout-grid{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);align-items:center;gap:clamp(18px,4vw,60px);padding-top:clamp(24px,5vw,64px)}
.tryout h1{font-size:clamp(42px,5.5vw,79px);line-height:1;letter-spacing:-.068em;margin:0 0 14px}
.tryout-intro{max-width:42ch;color:#525361;font-size:clamp(16px,1.2vw,19px);line-height:1.55;margin:0}
.tryout-goal{margin:22px 0 24px;padding:0 0 0 12px;border-left:3px solid #9388c9}
.tryout-goal span,.tryout-label,.tryout-figure-head,.tryout-scores dt{font:650 11px/1.4 var(--font-mono);letter-spacing:.055em;text-transform:uppercase}
.tryout-goal span,.tryout-label,.tryout-scores dt{color:#5e5774}
.tryout-goal p{font-weight:650;line-height:1.4;margin:3px 0 0}
.tryout-fine [data-carry-sample]{border:0;padding:0;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
.tryout-fine{font-size:.83rem;line-height:1.5;margin:9px 0;color:#575663}
.tryout-stage{min-width:0;margin:0;position:relative;overflow:hidden;border-radius:24px;border:1px solid #d5cee0;background:radial-gradient(at 78% 21%,#ffe8c9,#e9dfed 48%,#d8d4ef);isolation:isolate}
.tryout-figure-head{margin:17px 20px 0;color:#4e4267}
.tryout-art{display:grid;place-items:center;position:relative;min-height:clamp(190px,22vw,284px);padding:10px 4px;isolation:isolate}
.tryout-art::before{content:'';position:absolute;inset:16% -7%;transform:rotate(-13deg);border:1px solid #f9f5ed;border-radius:50%;z-index:-1}
.tryout-art:has([data-guide]:not([hidden])){padding:0;background:#202833}
.tryout-art:has([data-guide]:not([hidden]))::before{display:none}
.tryout-art [data-guide]{position:absolute;inset:0}
.tryout-art [data-guide] img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.tryout-stage:has([data-guide]:not([hidden])){background:#202833;border-color:#303c48}
.tryout-stage:has([data-guide]:not([hidden])) .tryout-figure-head{color:#ece8ef}
.tryout-stage:has([data-guide]:not([hidden])) figcaption{background:#17212b;color:#f4f0e9;border-color:#53616c}
.tryout-stage:has([data-guide]:not([hidden])) .tryout-help{color:#dad1ff!important}
.tryout-stage figcaption{position:relative;gap:12px;padding:10px 14px;margin:0 12px 12px;border:1px solid #ffffffbb;border-radius:11px;background:#fffdf5ed;font-size:.84rem;line-height:1.35;min-height:43px}
.tryout-help{border:0;background:none;color:#493f98!important;font-weight:650!important;line-height:1.1;white-space:nowrap;padding:7px 0;text-decoration:underline;text-underline-offset:2px}
.tryout-caps{display:flex;gap:12px;align-items:center;justify-content:center;transform:rotate(-9deg);padding:14px}
.tryout-caps b{display:grid;place-items:center;min-width:1.6em;padding:.2em .36em .28em;border:1px solid #c8c0ea;border-radius:.24em;background:linear-gradient(145deg,#fbf8ff,#dfdceb);color:#4f455e;box-shadow:1px 5px 0 #b9b3ca,2px 8px 0 #978aa9,2px 15px 18px #45335a32;font:600 clamp(33px,5vw,62px)/1.15 var(--font-mono)}
.tryout-caps [data-cap-front]{background:linear-gradient(145deg,#8f81dc,#6557b3);color:#fff;box-shadow:1px 5px 0 #594b91,2px 8px 0 #524185,2px 15px 18px #45335a32}
.tryout-caps [data-cap-back]{margin-top:14px;opacity:.92}
.tryout-lane{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 14px}
.tryout-lane span{border:1px solid #d0cdd6;border-bottom-width:3px;border-radius:6px;background:#fffcf6;padding:5px 7px;min-width:1.45em;text-align:center;font:650 clamp(16px,2.2vw,25px)/1.15 var(--font-mono)}
.tryout-lane .tr-hit{background:#e6eddf;color:#3d5940;border-color:#c7d4bf}
.tryout-lane .tr-now{background:#5747ae;color:#fff;border-color:#493a91}
.tryout-lane .tr-space{min-width:2em}
.tryout-label{display:block;margin-bottom:4px}
#try-entry{width:100%;max-width:30rem;font:500 17px/1.35 var(--font-mono);color:#373248;border:1px solid #a49cb7;border-radius:9px;padding:9px 12px;background:#fffef9}
#try-feedback{min-height:2.5em;font-size:.88rem;line-height:1.35;margin:7px 0 0;color:#51495f}
.tryout-scores{display:flex;gap:clamp(16px,3vw,42px);margin:23px 0 25px}
.tryout-scores dd{font-size:clamp(24px,3vw,44px);font-weight:650;letter-spacing:-.055em;line-height:1.18;margin:3px 0 0}
@media(max-width:720px){
  .tryout{padding:18px 16px 26px}.tryout-grid{grid-template-columns:1fr;gap:15px;padding-top:20px}
  .tryout-head{gap:8px;padding-bottom:13px}.tryout-trail{gap:8px}.tryout-trail li{font-size:11px;gap:4px}.tryout-trail li::before{width:6px;height:6px}.tryout h1{font-size:clamp(32px,8vw,43px);margin-bottom:8px}
  .tryout-intro{font-size:.94rem;line-height:1.42;max-width:none}.tryout-goal{margin:13px 0 15px}
  .tryout-art{min-height:110px;height:clamp(110px,29vw,146px);padding:0}
  .tryout-art:has([data-guide]:not([hidden])){height:clamp(140px,46vw,200px)}.tryout-stage{border-radius:15px}.tryout-figure-head{margin:9px 12px 0;font-size:9px}
  .tryout-stage figcaption{min-height:30px;padding:4px 9px;margin:0 6px 6px;font-size:.78rem}
  .tryout-help{padding:5px 0}.tryout-scores{margin:15px 0}
  .tryout[data-phase=typing] .tryout-intro{display:none}.tryout[data-phase=typing] .tryout-goal{margin:9px 0}
  .tryout[data-phase=typing] .tryout-art{height:86px;min-height:86px}
  .tryout[data-phase=typing] .tryout-art:has([data-guide]:not([hidden])){height:clamp(116px,39vw,160px)}
  .tryout-lane{gap:2px;margin-bottom:6px}.tryout-lane span{padding:4px 3px;font-size:16px}
}
@media(max-width:370px){
  .tryout{padding:12px}.tryout-head{padding-bottom:9px}.tryout-trail li{font-size:10px}.tryout-grid{padding-top:14px;gap:10px}
}
@media(max-height:540px) and (min-width:721px){.tryout{padding-top:15px}.tryout-head{padding-bottom:10px}.tryout-grid{padding-top:13px}.tryout h1{font-size:40px}.tryout-art{min-height:150px}.tryout-goal{margin:9px 0}}

.tryout-sounds{margin-block-start:.7rem;font-size:.88rem}.tryout-sounds summary{cursor:pointer}.tryout-sounds .key-sounds{margin-top:.5em}.tryout-sounds legend{position:absolute;clip-path:inset(50%)}

.tryout-caps[data-key=f],.tryout-lane [data-key=f] {--key-face:#ace8d7;--key-edge:#52978a;--key-ink:#173c38}
.tryout-caps[data-key=j],.tryout-lane [data-key=j] {--key-face:#ffd4a3;--key-edge:#b88253;--key-ink:#523115}
.tryout-caps [data-cap-front],.tryout-lane .tr-now {
  color:var(--key-ink,#423650);background:var(--key-face,#e2d7fb);
  border-color:var(--key-edge,#9783ae);
}
.tryout-caps [data-cap-front] {box-shadow:1px 5px var(--key-edge,#9783ae),2px 8px #6b6075,2px 15px 18px #45335a32}
.tryout-lane .tr-now {outline:2px solid #514866;outline-offset:1px}
@media(prefers-reduced-motion:no-preference){
  .tryout-lane .tr-now {animation:tryout-key 160ms ease-out}
  @keyframes tryout-key {from{transform:translateY(-3px)}}
}
