*{box-sizing:border-box}
html{color-scheme:dark;background:#10151f;color:#f6f4ff;font:16px/1.5 system-ui,sans-serif;letter-spacing:0;scrollbar-gutter:stable}
body{margin:0}main{padding:24px}button,input{font:inherit}
button{min-height:44px;padding:10px 16px;border:1px solid #65dfd0;border-radius:6px;background:#193638;color:#d5fff9;cursor:pointer}
button:disabled,input:disabled{opacity:.5;cursor:not-allowed}
button:focus-visible,input:focus-visible{outline:3px solid #fde775;outline-offset:3px}
.motion-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:24px;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid #3b4555}
.motion-toolbar label{display:grid;grid-template-columns:1fr auto;gap:6px 16px;flex:1;min-width:0;max-width:420px;font-size:14px}
.motion-toolbar output{font-variant-numeric:tabular-nums;color:#7debdc;white-space:nowrap}
.motion-toolbar input{width:100%;min-width:0;height:44px;grid-column:1/-1;accent-color:#49deca;margin:0}
#motion-reset{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:#f6f4ff;background:#1d2633;border-color:#586175}
button img,.sample-message img{filter:invert(1);flex-shrink:0}
.motion-section-title{display:flex;gap:12px;align-items:baseline;font-size:20px;line-height:1.3;margin:28px 0 18px}
.motion-section-title span{font-size:13px;font-weight:400;color:#aeb9c8;font-variant-numeric:tabular-nums}
.motion-grid,.hover-grid,.press-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.effect-example{min-width:0}
.effect-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;min-height:44px}
.effect-heading h2{font-size:16px;margin:0;line-height:1.4}
.replay{width:44px;height:44px;display:grid;place-items:center;padding:0;background:transparent;border-color:#475064;flex-shrink:0}
.motion-stage{height:178px;display:grid;align-items:center;overflow:clip;padding:8px;perspective:600px}
.motion-sample{height:158px;min-width:0;border:1px solid #4c6972;border-radius:8px;background:#172832;overflow:hidden;transform-origin:center}
.effect-example:nth-child(2n) .motion-sample{border-color:#78648d;background:#282337}
.effect-example:nth-child(3n) .motion-sample{border-color:#798554;background:#232c24}
.sample-top{height:30px;padding:6px 12px;display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:700;color:#e2eef5;border-bottom:1px solid #ffffff16}
.sample-dot{width:6px;height:6px;background:#6de3c8;border-radius:50%}
.sample-image{display:block;object-fit:contain;width:100%;height:126px;background:#10151f}
.sample-message{height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.sample-message strong{font-size:18px}.sample-message span{font-size:11px;color:#cbc5d7}
.sample-plan{padding:10px 14px;display:grid;gap:4px;font-size:11px}.sample-plan strong{font-size:16px;margin-bottom:4px}
.sample-plan span{display:flex;gap:12px;color:#a9bea8}.sample-plan b{font-weight:500;color:#edf1e8}
code{font:12px/1.5 ui-monospace,monospace;color:#aeb9c8;overflow-wrap:anywhere;letter-spacing:0}
.effect-example>code{display:block;margin:5px 8px 0}
.hover-stage{padding:8px;min-width:0;overflow:clip}
.hover-sample{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:100px;padding:14px;border:1px solid #4c6972;border-radius:8px;background:#172832}
.hover-stage:nth-child(2) .hover-sample{border-color:#78648d;background:#282337}.hover-stage:nth-child(3) .hover-sample{border-color:#798554;background:#232c24}
.hover-sample strong{font-size:16px}
.press-grid button{min-width:0;font-size:15px}.press-grid button:nth-child(2){background:#30283c;border-color:#c5a1de;color:#f5e4ff}.press-grid button:nth-child(3){background:#293126;border-color:#bdd578;color:#f0f7d6}
.motion-status{font-size:13px;color:#c5c9d7;margin:22px 0 0;min-height:42px}
#motion-preference{font-size:14px;color:#fde775;margin:20px 0 0}[hidden]{display:none!important}
@media(max-width:800px){.motion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hover-grid,.press-grid{gap:12px}.hover-sample{padding:10px}.hover-sample strong{font-size:14px}}
@media(max-width:540px){main{padding:16px}.motion-grid,.hover-grid,.press-grid{grid-template-columns:minmax(0,1fr)}.motion-toolbar{gap:12px}.motion-toolbar label{flex-basis:100%;max-width:none}.motion-grid{gap:18px}.hover-sample{min-height:80px}.motion-section-title{font-size:18px}.press-grid{gap:14px}}
