*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; scrollbar-width: thin; scrollbar-color: var(--scroll) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--scroll); border: 2px solid transparent; background-clip: padding-box; }
::selection { color: var(--select-text); background: var(--select); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 400 16px/24px var(--copy); color: var(--text); background: var(--page); padding-bottom: var(--deck-room, 0px); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--backdrop); pointer-events: none; }
main { flex: 1 0 auto; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { caret-color: var(--assist-mark); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--s { width: 15px; height: 15px; }
.icon--l { width: 22px; height: 22px; }
.digits { font-variant-numeric: tabular-nums; }
.shell { width: min(100% - 2 * var(--edge), var(--width)); margin-inline: auto; }
.frost { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%); backdrop-filter: blur(var(--glass-blur)) saturate(150%); }
.swap .icon + .icon { display: none; }
.is-sounding .swap .icon { display: none; }
.is-sounding .swap .icon + .icon { display: block; }

.masthead { position: relative; z-index: 12; }
.menu { display: flex; gap: 2px; }
.menu__link, .locale { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 11px; font: 600 14px/20px var(--copy); color: var(--menu); transition: background .15s, color .15s; }
.menu__link:hover, .menu__link[aria-current], .locale:hover { background: var(--menu-hover); color: var(--menu-on); }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--brand); }
.brand__bars { display: flex; align-items: flex-end; gap: calc(4px * var(--scale, 1)); height: calc(46px * var(--scale, 1)); }
.brand__bars i { width: calc(4px * var(--scale, 1)); height: 59%; border-radius: 3px; background: var(--brand-bars, currentColor); transform-origin: 50% 100%; }
.brand__bars i:nth-child(1), .brand__bars i:nth-child(15) { height: 17%; }
.brand__bars i:nth-child(2), .brand__bars i:nth-child(14) { height: 33%; }
.brand__bars i:nth-child(3), .brand__bars i:nth-child(13) { height: 52%; }
.brand__bars i:nth-child(4), .brand__bars i:nth-child(12) { height: 78%; }
.brand__bars i:nth-child(5), .brand__bars i:nth-child(11) { height: 46%; }
.brand__bars i:nth-child(6), .brand__bars i:nth-child(10) { height: 67%; }
.brand__bars i:nth-child(7), .brand__bars i:nth-child(9) { height: 100%; }
.has-sound .brand__bars i { animation: bounce .9s ease-in-out infinite alternate; }
.has-sound .brand__bars i:nth-child(3n) { animation-delay: -.3s; }
.has-sound .brand__bars i:nth-child(3n + 1) { animation-delay: -.62s; }
@keyframes bounce { to { transform: scaleY(.38); } }
.brand__name { font: 800 46px/46px var(--display); letter-spacing: -.01em; }
.brand__name b { font-weight: 500; }

.opener { text-align: center; }
.lookup { position: relative; z-index: 6; }
.lookup__bar { display: flex; align-items: center; gap: 6px; height: var(--bar-height, 62px); padding: 7px; border-radius: var(--bar-radius, 18px); background: var(--field); border: 1px solid var(--field-edge); box-shadow: var(--field-shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: border-color .15s, box-shadow .15s; }
.lookup__bar:focus-within { border-color: var(--focus); box-shadow: var(--field-shadow), 0 0 0 4px var(--halo); }
.lookup.is-open .lookup__bar { border-radius: var(--bar-radius, 18px) var(--bar-radius, 18px) 0 0; border-color: var(--assist-edge); border-bottom-color: transparent; box-shadow: none; background: var(--assist); }
.lookup__bar > .icon { margin-left: 12px; width: 21px; height: 21px; color: var(--field-hint); }
.lookup__field { flex: 1 1 0%; min-width: 0; height: 100%; padding: 0 4px 0 8px; border: 0; outline: 0; background: none; font: 500 17px/24px var(--copy); color: var(--field-text); text-align: left; }
.lookup__field::placeholder { color: var(--field-hint); opacity: 1; }
.lookup__clear { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--field-hint); }
.lookup__clear:hover { color: var(--field-text); }
.lookup__paste, .lookup__submit { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; border-radius: var(--bar-inner, 12px); font: 700 15px/20px var(--copy); color: #fff; transition: filter .15s, transform .15s; }
.lookup__paste { background: var(--paste); }
.lookup__submit { padding: 0 22px; background: var(--submit, var(--main)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.lookup__paste:hover, .lookup__submit:hover { filter: brightness(1.12); }
.lookup__submit:active, .button:active, .round:active { transform: scale(.97); }

.assist { position: absolute; left: 0; right: 0; top: 100%; overflow: auto; padding: 4px 8px 8px; border-radius: 0 0 var(--bar-radius, 18px) var(--bar-radius, 18px); text-align: left; color: var(--assist-text); background: var(--assist); border: 1px solid var(--assist-edge); border-top: 0; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .65); }
.assist__list { padding-top: 6px; border-top: 1px solid var(--assist-rule); }
.assist__item { display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: center; border-radius: 11px; box-shadow: inset 3px 0 0 transparent; transition: background .12s, box-shadow .12s; }
.assist__item:hover, .assist__item.is-picked { background: var(--assist-hover); box-shadow: inset 3px 0 0 var(--assist-mark); }
.assist__term { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; text-align: left; padding: 0 4px 0 14px; font-size: 16px; line-height: 22px; white-space: nowrap; overflow: hidden; }
.assist__term .icon { color: var(--assist-dim); }
.assist__term span { overflow: hidden; text-overflow: ellipsis; }
.assist__term strong { font-weight: 700; }
.assist__fill { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--assist-dim); }
.assist__fill:hover { color: var(--assist-text); }
.assist__head { margin-top: 6px; padding: 10px 14px 6px; border-top: 1px solid var(--assist-rule); font: 700 13px/18px var(--copy); color: var(--assist-dim); }
.assist__song { display: grid; grid-template-columns: 40px minmax(0, 1fr) 38px; align-items: center; gap: 12px; padding: 5px 4px 5px 12px; border-radius: 11px; }
.assist__song:hover, .assist__song.is-picked { background: var(--assist-hover); }
.assist__song img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.assist__pick { min-width: 0; text-align: left; }
.assist__song strong { display: block; font: 600 15px/20px var(--copy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.assist__pick span { display: block; font-size: 13px; line-height: 18px; color: var(--assist-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.assist__play { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--assist-chip); }
.assist__play:hover { filter: brightness(1.15); }
.assist__keys { display: flex; gap: 16px; margin-top: 6px; padding: 10px 14px 2px; border-top: 1px solid var(--assist-rule); font-size: 12px; line-height: 18px; color: var(--assist-dim); }
.assist__keys kbd { display: inline-block; min-width: 20px; margin-right: 4px; padding: 0 5px; border-radius: 5px; font: 600 12px/18px var(--copy); text-align: center; border: 1px solid var(--assist-rule); }

.prefs { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; margin-top: 14px; }
.switch { display: inline-flex; padding: 3px; border-radius: 13px; background: var(--switch); border: 1px solid var(--switch-edge); }
.switch button { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 10px; font: 700 14px/20px var(--copy); color: var(--switch-text); white-space: nowrap; transition: background .15s, color .15s; }
.switch button[aria-pressed="true"] { background: var(--switch-on); color: #fff; }
.token { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; font: 600 14px/20px var(--copy); color: #fff; background: var(--pill); border: 1px solid var(--pill-edge); white-space: nowrap; transition: background .15s; }
.token:hover { background: var(--pill-hover); }
.token[aria-pressed="true"] { background: var(--pill-on); border-color: transparent; }
.token small { font-size: 14px; font-weight: 500; opacity: .82; }
.smallprint { margin-top: 12px; font-size: 12px; line-height: 18px; color: var(--text-on-page); }
.smallprint a { text-decoration: underline; text-underline-offset: 2px; }

.summary h1 { font: 800 32px/38px var(--display); letter-spacing: -.01em; }
.summary p { margin-top: 10px; font-size: 16px; line-height: 26px; color: var(--text-soft); }
.checks { display: grid; gap: 8px; margin-top: 16px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font: 600 15px/24px var(--copy); }
.checks .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; color: var(--accent); background: var(--tint); }

.board { padding: 8px; }
.board__top { display: flex; align-items: center; gap: 12px; padding: 12px; }
.badge { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--badge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.board__title { flex: 1 1 0%; min-width: 0; }
.board__title h2 { font: 700 22px/28px var(--display); }
.board__title p { font-size: 14px; line-height: 20px; color: var(--text-dim); }
.chart { display: grid; gap: 2px; }
.chart__row { display: grid; grid-template-columns: 30px 54px minmax(0, 1fr) auto 40px 40px; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 14px; transition: background .15s; }
.chart__row:hover, .chart__row.is-current { background: var(--tint); }
.chart__pos { font: 700 15px/20px var(--display); color: var(--accent); text-align: center; }
.art { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--art-bg); }
.art--square { aspect-ratio: 1; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art__veil { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(24, 14, 0, .5); opacity: 0; transition: opacity .15s; }
.art:hover .art__veil, .art:focus-visible .art__veil, .is-current .art__veil { opacity: 1; }
.chart__meta { min-width: 0; }
.chart__meta strong { display: block; font: 600 16px/22px var(--copy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart__meta span { display: block; font-size: 14px; line-height: 20px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart__len { font-size: 14px; line-height: 20px; color: var(--text-dim); }
.chart__none { padding: 22px 14px; font-size: 15px; line-height: 22px; color: var(--text-dim); text-align: center; }
.round { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--round); border: 1px solid var(--round-edge); transition: background .15s, transform .15s, filter .15s; }
.round:hover { background: var(--round-hover); }
.round--main { background: var(--main); border-color: var(--main-edge); }
.round--main:hover { background: var(--main); filter: brightness(1.14); }
.board__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 10px 12px 8px; }
.credit { font-size: 13px; line-height: 18px; color: var(--text-dim); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; font: 700 14px/20px var(--copy); color: #fff; background: var(--plain); border: 1px solid var(--plain-edge); white-space: nowrap; transition: background .15s, transform .15s, filter .15s; }
.button:hover { background: var(--plain-hover); }
.button--quiet { background: var(--quiet); border-color: var(--quiet-edge); }
.button--main, [data-format="mp3"] .hit__actions [data-kind="mp3"], [data-format="mp4"] .hit__actions [data-kind="mp4"] { background: var(--main); border-color: var(--main-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.button--main:hover, [data-format="mp3"] .hit__actions [data-kind="mp3"]:hover, [data-format="mp4"] .hit__actions [data-kind="mp4"]:hover { background: var(--main); filter: brightness(1.14); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio li { display: flex; gap: 12px; padding: 16px; }
.trio strong { display: block; font: 700 17px/24px var(--display); }
.trio p { margin-top: 2px; font-size: 14px; line-height: 21px; color: var(--text-soft); }
.howto h2, .answers h2 { font: 700 22px/28px var(--display); }

.handbook__lead h2 { font: 800 28px/34px var(--display); letter-spacing: -.01em; }
.handbook__lead p { max-width: 760px; margin-top: 8px; font-size: 16px; line-height: 26px; color: var(--text-lead, var(--text-soft)); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.handbook__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.card { grid-column: span 6; padding: 20px 22px 22px; scroll-margin-top: 20px; }
.card--2 { grid-column: span 2; }
.card--3 { grid-column: span 3; }
.card--4 { grid-column: span 4; }
.card__top { margin-bottom: 14px; font: 700 19px/25px var(--display); }
.card__toggle { display: flex; align-items: center; gap: 12px; width: 100%; font: inherit; text-align: left; cursor: default; }
.card__toggle > .icon { display: none; margin-left: auto; color: var(--text-dim); transition: transform .2s; }
.card p { font-size: 15px; line-height: 24px; color: var(--text-soft); }
.card p + p, .card p + ul, .card p + ol, .card ul + p, .card ol + p, .card .duo + p, .card .sizes + p { margin-top: 12px; }
.card p a, .libraries a, .refs a, .tile a, .checks a { text-decoration: underline; text-underline-offset: 2px; }
.numbered { counter-reset: step; display: grid; gap: 10px; }
.numbered li { counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 24px; color: var(--text-soft); }
.numbered li::before { content: counter(step); width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 14px/1 var(--display); color: #fff; background: var(--badge); }
.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 20px; font-size: 15px; line-height: 24px; color: var(--text-soft); }
.dots li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.card .checks { margin-top: 0; }
.card .checks li { font-weight: 400; color: var(--text-soft); }
.checks--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card--2 .duo, .card--3 .duo { grid-template-columns: minmax(0, 1fr); }
.tile { padding: 14px 16px 16px; border-radius: 14px; background: var(--choice); border: 1px solid var(--choice-edge); }
.tile strong { display: flex; align-items: center; gap: 8px; font: 700 16px/22px var(--display); }
.tile strong .icon { color: var(--accent); }
.tile p { margin-top: 6px; }
.sizes { margin-top: 12px; border-radius: 14px; overflow: hidden; background: var(--choice); border: 1px solid var(--choice-edge); }
.sizes table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.sizes th { padding: 9px 12px; font: 700 13px/18px var(--copy); text-align: left; color: var(--text-dim); border-bottom: 1px solid var(--choice-edge); }
.sizes td { padding: 10px 12px; color: var(--text-soft); border-bottom: 1px solid var(--choice-edge); }
.sizes tr:last-child td { border-bottom: 0; }
.sizes td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.libraries { display: grid; gap: 12px; margin-top: 12px; }
.libraries li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.libraries .badge { width: 40px; height: 40px; border-radius: 12px; }
.libraries strong { display: block; font: 700 16px/22px var(--display); }
.libraries span { display: block; font-size: 14px; line-height: 22px; color: var(--text-soft); }
.fixes { display: grid; gap: 12px; }
.fixes--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.fixes li { font-size: 15px; line-height: 24px; color: var(--text-soft); }
.fixes strong { display: block; font-weight: 700; color: var(--text); }
.refs { margin-top: 14px; border-radius: 16px; }
.refs summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px; font: 600 15px/22px var(--copy); cursor: pointer; list-style: none; }
.refs summary::-webkit-details-marker { display: none; }
.refs summary .icon { margin-left: auto; color: var(--text-dim); transition: transform .2s; }
.refs[open] summary .icon { transform: rotate(180deg); }
.refs ol { padding: 0 18px 16px 38px; list-style: decimal; font-size: 14px; line-height: 22px; color: var(--text-soft); }
.refs li + li { margin-top: 6px; }
.stamp { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--text-on-page); }

.answers__list { display: grid; gap: 8px; margin-top: 12px; align-items: start; }
.answers__item { border-radius: 16px; }
.answers__item summary { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 16px; font: 600 16px/22px var(--copy); cursor: pointer; list-style: none; }
.answers__item summary::-webkit-details-marker { display: none; }
.answers__item summary .icon { margin-left: auto; color: var(--text-dim); transition: transform .2s; }
.answers__item[open] summary .icon { transform: rotate(180deg); }
.answers__item p { padding: 0 16px 16px; font-size: 15px; line-height: 24px; color: var(--text-soft); }

.results__top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.results__title { flex: 1 1 300px; }
.results__title h1 { font: 800 28px/34px var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.results__title q { quotes: "\201C" "\201D"; }
.results__title p { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--text-soft); }
.results__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-top: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.hits { display: grid; gap: 2px; margin-top: 12px; }
.hit { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 10px 12px; border-radius: 16px; transition: background .15s; }
.hit:hover, .hit.is-current, .hit.is-open { background: var(--tint); }
.hit__play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--round); border: 1px solid var(--round-edge); transition: background .15s, transform .15s; }
.hit__play:hover { background: var(--round-hover); }
.hit.is-current .hit__play { background: var(--main); border-color: var(--main-edge); }
.hit__body { min-width: 0; }
.hit__body h3 { font: 600 16px/22px var(--copy); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hit__facts { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--text-dim); }
.hit__time { flex: none; }
.hit__more { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit__more::before { content: "\00B7"; margin-right: 8px; }
.label { flex: none; padding: 0 8px; border-radius: 7px; font: 700 12px/20px var(--copy); color: #fff; background: var(--label); }
.hit__actions { display: flex; gap: 8px; }
.ghost { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 14px; align-content: center; padding: 10px; }
.ghost i { grid-row: 1 / 3; align-self: center; width: 46px; height: 46px; border-radius: 50%; }
.ghost b { height: 16px; border-radius: 8px; align-self: end; }
.ghost b + b { width: 55%; align-self: start; }
.ghost i, .ghost b { background: linear-gradient(90deg, var(--tint) 25%, var(--shimmer) 50%, var(--tint) 75%); background-size: 300% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.results__foot { padding: 10px 2px 0; }

.choices .switch { display: flex; width: 100%; }
.choices .switch button { flex: 1 1 0%; justify-content: center; height: 40px; }
.choices__list { display: grid; gap: 8px; margin-top: 10px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 14px; text-align: left; background: var(--choice); border: 1px solid var(--choice-edge); transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--choice-ring); }
.choice[aria-checked="true"] { background: var(--choice-on); border-color: var(--focus); }
.choice__dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--choice-ring); }
.choice[aria-checked="true"] .choice__dot { border-color: var(--focus); background: radial-gradient(circle, var(--focus) 0 42%, transparent 48%); }
.choice__name { flex: 1 1 0%; min-width: 0; }
.choice__name strong { display: block; font: 700 15px/20px var(--copy); }
.choice__name span { display: block; font-size: 13px; line-height: 18px; color: var(--choices-dim); }
.choice__size { font-size: 14px; line-height: 20px; color: var(--choices-dim); white-space: nowrap; }
.choices__go { display: flex; gap: 8px; margin-top: 12px; }
.choices__go .button { height: 46px; }
.choices__go .button--main { flex: 1 1 0%; font-size: 15px; }
.choices__note { margin-top: 10px; font-size: 12px; line-height: 18px; color: var(--choices-dim); text-align: center; }
.hit__options { --choices-dim: var(--text-dim); grid-column: 1 / -1; padding: 12px; border-radius: 14px; background: var(--choice); border: 1px solid var(--choice-edge); }
.hit__options .switch { display: inline-flex; width: auto; }
.hit__options .switch button { flex: none; padding: 0 18px; }
.hit__options .choices__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hit__options .choice { background: transparent; }
.hit__options .choice[aria-checked="true"] { background: var(--choice-on); }
.hit__options .choices__go { justify-content: flex-end; }
.hit__options .choices__go .button--main { flex: 0 1 auto; padding: 0 22px; }
.hit__options .choices__note { text-align: right; }

.picker { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.picker.is-shown { visibility: visible; opacity: 1; }
.picker__veil { position: absolute; inset: 0; background: var(--veil); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.picker__box { --choices-dim: var(--dialog-dim); position: relative; width: min(100%, 470px); max-height: calc(100vh - 32px); overflow: auto; padding: 16px; border-radius: 24px; color: var(--dialog-text); background: var(--dialog); border: 1px solid var(--dialog-edge); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); transform: translateY(16px) scale(.98); transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.picker.is-shown .picker__box { transform: none; }
.picker__song { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.picker__song .art { flex: none; width: 104px; aspect-ratio: 16 / 9; }
.picker__song div { flex: 1 1 0%; min-width: 0; }
.picker__song strong { font: 700 16px/21px var(--copy); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.picker__song div span { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--dialog-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker .round { width: 36px; height: 36px; background: var(--dialog-round); border-color: transparent; }
.picker .switch { background: var(--dialog-switch); border-color: transparent; }
.picker .switch button { color: var(--switch-text); }
.picker .switch button[aria-pressed="true"] { color: #fff; }

.deck { position: fixed; z-index: 40; left: 50%; bottom: 18px; width: min(800px, calc(100% - 32px)); display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(180px, 1.5fr) auto; grid-template-areas: "disc text seek keys" "note note note note"; align-items: center; gap: 0 14px; padding: 9px 12px 9px 9px; border-radius: 36px; color: #fff; background: var(--deck); border: 1px solid var(--deck-edge); box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); transform: translate(-50%, calc(100% + 30px)); opacity: 0; pointer-events: none; transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
.deck.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.deck__disc { grid-area: disc; position: relative; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #120c02; border: 2px solid rgba(255, 255, 255, .35); }
.deck__disc img { width: 100%; height: 100%; object-fit: cover; animation: turn 9s linear infinite; animation-play-state: paused; }
.has-sound .deck__disc img { animation-play-state: running; }
.deck__disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--deck-hub); box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
@keyframes turn { to { transform: rotate(360deg); } }
.deck__text { grid-area: text; min-width: 0; }
.deck__text strong { display: block; font: 600 15px/20px var(--copy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck__text span { display: block; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck__seek { grid-area: seek; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .82); }
.deck__wave { position: relative; height: 34px; cursor: pointer; touch-action: none; }
.deck__wave::after { content: ""; position: absolute; top: 1px; bottom: 1px; left: var(--played, 0%); width: 3px; margin-left: -1px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 3px var(--deck-ring); }
.deck__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.deck__bars i { flex: 1 1 0%; min-width: 1px; border-radius: 2px; background: var(--deck-dim); }
.deck__bars--lit { clip-path: inset(0 calc(100% - var(--played, 0%)) 0 0); }
.deck__bars--lit i { background: var(--deck-lit); }
.deck__keys { grid-area: keys; display: flex; align-items: center; gap: 4px; }
.deck__key { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .15s, filter .15s; }
.deck__key:hover, .deck__key[aria-pressed="true"] { background: rgba(255, 255, 255, .18); }
.deck__key--main { width: 46px; height: 46px; margin: 0 2px; background: var(--deck-main); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.deck__key--main:hover { background: var(--deck-main); filter: brightness(1.12); }
.deck__note { grid-area: note; padding: 8px 10px 2px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .82); text-align: center; }
.deck__screen { position: absolute; left: 0; bottom: calc(100% + 10px); width: 320px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--deck-edge); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .85); opacity: 0; pointer-events: none; transform: translateY(10px) scale(.97); transform-origin: 0 100%; transition: opacity .2s, transform .25s; }
.deck.shows-video .deck__screen { opacity: 1; pointer-events: auto; transform: none; }
.deck__screen iframe { display: block; width: 100%; height: 100%; border: 0; }

.notice { position: fixed; z-index: 90; left: 16px; right: 16px; width: fit-content; margin-inline: auto; bottom: calc(var(--deck-room, 0px) + 24px); max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 13px; font: 600 14px/20px var(--copy); text-align: center; color: #fff; background: var(--notice); border: 1px solid rgba(255, 255, 255, .24); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .8); opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .2s, transform .2s; }
.notice.is-shown { opacity: 1; transform: translateY(0); }

.colophon { margin-top: 44px; padding: 22px 0 28px; border-top: 1px solid var(--rule); text-align: center; font-size: 14px; line-height: 22px; color: var(--text-on-page); }
.colophon nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 8px; font-weight: 600; }
.colophon nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.picklist { position: relative; }
.picklist__button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 14px; border-radius: 12px; font: 600 14px/20px var(--copy); color: #fff; background: var(--pill); border: 1px solid var(--pill-edge); white-space: nowrap; transition: background .15s, border-color .15s; }
.picklist__button:hover, .picklist.is-open .picklist__button { background: var(--pill-hover); }
.picklist.is-open .picklist__button { border-color: var(--focus); }
.picklist__name { font-weight: 500; opacity: .8; }
.picklist [data-act="menu"] .icon:last-child { transition: transform .2s; }
.picklist.is-open [data-act="menu"] .icon:last-child { transform: rotate(180deg); }
.picklist.is-open .locale { background: var(--menu-hover); color: var(--menu-on); }
.picklist__menu { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); min-width: 236px; padding: 6px; border-radius: 16px; text-align: left; color: var(--dialog-text); background: var(--dialog); border: 1px solid var(--dialog-edge); box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .75); transform-origin: 100% 0; animation: unfold .16s ease-out; }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.picklist__option { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; align-items: center; width: 100%; min-height: 46px; padding: 6px 12px 6px 10px; border-radius: 11px; text-align: left; transition: background .12s; }
.picklist__option:hover, .picklist__option:focus-visible { background: var(--choice-on); outline: 0; }
.picklist__option .icon { grid-row: 1 / 3; color: var(--assist-mark); opacity: 0; }
.picklist__option[aria-selected="true"] .icon { opacity: 1; }
.picklist__option span { grid-column: 2; font: 600 15px/20px var(--copy); }
.picklist__option small { grid-column: 2; font-size: 12px; line-height: 16px; color: var(--dialog-dim); }
.picklist__note { padding: 8px 12px 6px; font-size: 12px; line-height: 18px; color: var(--dialog-dim); }

.quickbar { display: none; }

@media (hover: hover) {
  [data-tip] { position: relative; }
  [data-tip]::after { content: attr(data-tip); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); padding: 4px 9px; border-radius: 8px; font: 600 12px/18px var(--copy); white-space: nowrap; color: #fff; background: var(--notice); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s, transform .15s; }
  [data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
  [data-tip][data-tip-side="below"]::after { bottom: auto; top: calc(100% + 8px); }
}
@media (hover: none) {
  .cover-card:hover, .hit:hover { transform: none; }
  .menu__link:not([aria-current]):hover { background: none; color: var(--menu); }
}

.art__blank { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-dim); }
.deck__blank { position: absolute; inset: 0; display: none; place-items: center; color: rgba(255, 255, 255, .82); background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04)); }
.deck__disc.is-blank .deck__blank { display: grid; }
.deck__disc.is-blank::after { display: none; }
.deck__hide { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(12, 8, 2, .8); border: 1px solid rgba(255, 255, 255, .4); }
.assist__blank { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--assist-dim); background: var(--assist-hover); }
.token[aria-pressed="true"] small { opacity: 1; }
.card p + .checks { margin-top: 12px; }
.swap-word span + span { display: none; }
.is-sounding .swap-word span { display: none; }
.is-sounding .swap-word span + span { display: inline; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 768px) {
  body { font-size: 15px; }
  .menu { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .menu::-webkit-scrollbar { display: none; }
  .menu__link, .locale { flex: none; padding: 0 10px; }
  .brand__name { font-size: 38px; line-height: 40px; }
  .brand__bars { --scale: .86; }
  .lookup { --bar-height: 56px; --bar-radius: 16px; --bar-inner: 11px; }
  .lookup__bar { padding: 6px; }
  .assist__keys { display: none; }
  .lookup__bar > .icon { display: none; }
  .lookup__field { padding-left: 12px; font-size: 16px; }
  .lookup__paste { width: 44px; padding: 0; justify-content: center; }
  .lookup__paste span { display: none; }
  .lookup__submit { padding: 0 16px; }
  .prefs { gap: 10px; }
  .summary h1 { font-size: 26px; line-height: 32px; }
  .summary p { font-size: 15px; line-height: 24px; }
  .board { padding: 6px; }
  .board__top { padding: 10px 8px; }
  .board__title h2, .howto h2, .answers h2 { font-size: 20px; line-height: 26px; }
  .chart__row { grid-template-columns: 24px 48px minmax(0, 1fr) 40px 40px; gap: 10px; padding: 6px; }
  .chart__len { display: none; }
  .chart__meta strong { font-size: 15px; line-height: 20px; }
  .chart__meta span { font-size: 13px; line-height: 18px; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .trio li { padding: 14px; }
  .handbook__lead h2 { font-size: 23px; line-height: 29px; }
  .handbook__lead p { font-size: 15px; line-height: 24px; }
  .jump { flex-wrap: nowrap; margin-inline: calc(-1 * var(--edge)); padding: 0 calc(var(--edge) + 16px) 0 var(--edge); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .jump::-webkit-scrollbar { display: none; }
  .handbook__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .card, .card--2, .card--3, .card--4 { grid-column: auto; padding: 16px 16px 18px; }
  .card__top { font-size: 18px; line-height: 24px; }
  .duo, .fixes--wide, .checks--wide { grid-template-columns: minmax(0, 1fr); }
  .sizes thead { display: none; }
  .sizes tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--choice-edge); }
  .sizes tr:last-child { border-bottom: 0; }
  .sizes td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: right; }
  .sizes td::before { content: attr(data-head); color: var(--text-dim); text-align: left; }
  .sizes td:first-child { font-size: 16px; }
  .sizes td:first-child::before { content: none; }
  .results__title h1 { font-size: 22px; line-height: 28px; }
  .results__tools { flex-wrap: nowrap; align-items: flex-start; }
  .filters { flex-wrap: nowrap; min-width: 0; padding-right: 20px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .hit { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; padding: 10px 8px; }
  .hit__body h3 { font-size: 15px; line-height: 20px; }
  .hit__facts { margin-top: 4px; font-size: 13px; line-height: 18px; }
  .hit__actions { grid-column: 1 / -1; }
  .hit__actions .button { flex: 1 1 0%; padding: 0 8px; }
  .ghost { grid-template-columns: 44px minmax(0, 1fr); }
  .ghost i { width: 44px; height: 44px; }
  .hit__options .choices__list { grid-template-columns: minmax(0, 1fr); }
  .hit__options .choices__go .button--main { flex: 1 1 0%; }
  .hit__options .choices__note { text-align: center; }
  .picker { place-items: end center; padding: 0; }
  .picker__box { width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; border-bottom: 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(40px); }
  .deck { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "disc text keys" "seek seek seek" "note note note"; gap: 2px 10px; padding: 7px 10px 6px 8px; border-radius: 26px; transform: translateY(calc(100% + 24px)); }
  .deck.is-shown { transform: none; }
  .deck__disc { width: 46px; height: 46px; }
  .deck__wave { height: 28px; }
  .deck__key--step, .deck__key--video { display: none; }
  .deck__key { width: 40px; height: 40px; }
  .deck__key--main { width: 44px; height: 44px; }
  .deck__screen { width: 100%; }
  .colophon { margin-top: 32px; }
}
@media (max-width: 560px) {
  .menu__link { gap: 0; padding: 0 9px; }
  .menu__link .icon, .locale span { display: none; }
  .locale { gap: 4px; }
}

@media (max-width: 768px) {
  html:root { --edge: 8px; }
  [data-swipe] { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { flex: none; scroll-snap-align: start; }
  [data-swipe].is-hinting { scroll-snap-type: none; }
  .menu__link, .locale { height: 40px; }
  .lookup.has-text .lookup__paste { display: none; }
  .lookup__clear { width: 40px; height: 40px; }
  .assist__term { min-height: 46px; }
  .assist__fill { width: 42px; height: 42px; }
  .assist__item { grid-template-columns: minmax(0, 1fr) 42px; }
  .switch button { height: 38px; padding: 0 16px; }
  .token { height: 38px; padding: 0 14px; }
  .button { height: 42px; }
  .smallprint, .tagline, .lead, .opener h1, .colophon p { padding-inline: 6px; }
  .trio p, .libraries span, .refs ol { font-size: 15px; line-height: 23px; }
  .handbook__lead, .answers > h2, .stamp { padding-inline: 6px; }
  .jump { margin-inline: calc(-1 * var(--edge)); padding: 0 34px 0 14px; }
  .card__top { margin-bottom: 12px; }
  .card__toggle { min-height: 44px; cursor: pointer; }
  .card__toggle > .icon { display: block; }
  .card:not(.is-folded) .card__toggle > .icon { transform: rotate(180deg); }
  .card.is-folded .card__top { margin-bottom: 0; }
  .card.is-folded .card__body { display: none; }
  .refs summary { min-height: 54px; }
  .answers__item summary { min-height: 56px; }
  .results__top { gap: 10px; }
  .results__top .button { order: -1; height: 38px; padding: 0 12px; }
  .results__tools { gap: 8px; }
  .filters { padding-right: 26px; }
  .picklist__button { height: 38px; padding: 0 10px 0 12px; }
  .picklist__name { display: none; }
  .picklist__menu { min-width: 232px; max-width: calc(100vw - 32px); }
  .hit__actions { gap: 6px; }
  .picker__box { padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .choices .switch button { height: 44px; }
  .choice { min-height: 58px; }
  .choices__go .button { height: 48px; }
  .colophon nav { gap: 2px 6px; }
  .colophon nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; }
  .quickbar { position: fixed; z-index: 35; top: calc(8px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; display: flex; align-items: center; gap: 8px; height: 54px; padding: 6px; border-radius: 18px; color: #fff; background: var(--deck); border: 1px solid var(--deck-edge); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); transform: translateY(calc(-100% - 24px)); opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  .quickbar.is-shown { transform: none; opacity: 1; pointer-events: auto; }
  .quickbar__brand { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--deck-main); }
  .quickbar__open { flex: 1 1 0%; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 13px; font: 500 15px/20px var(--copy); text-align: left; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .12); }
  .quickbar__open span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 430px) {
  .brand__name { font-size: 36px; line-height: 38px; }
  .card, .card--2, .card--3, .card--4 { padding: 14px 14px 16px; }
  .card__top { font-size: 17px; line-height: 23px; }
  .badge { width: 40px; height: 40px; border-radius: 12px; }
  .results__title h1 { font-size: 21px; line-height: 27px; }
  .deck__text strong { font-size: 14px; }
}
@media (max-width: 375px) {
  .brand__name { font-size: 34px; line-height: 36px; }
  .lookup__submit { padding: 0 13px; gap: 6px; }
  .lookup__field { padding-left: 10px; }
  .token { padding: 0 12px; }
  .switch button { padding: 0 14px; }
  .chart__row { gap: 8px; }
  .hit__actions .button { padding: 0 4px; gap: 5px; }
  .deck { gap: 2px 8px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  .switch button, .token, .picklist__button, .results__top .button { height: 40px; }
  .picklist[data-picklist="order"] [data-picked] { display: none; }
  .picklist[data-picklist="order"] .picklist__name { display: inline; font-weight: 600; opacity: 1; }
  .hit__play { width: 44px; height: 44px; }
  .hit__facts { flex-wrap: wrap; row-gap: 2px; }
  .hit__more { flex: 1 0 100%; }
  .hit__more::before { content: none; }
  .choices__go .button--main { min-width: 0; }
}
@media (max-width: 430px) {
  .picker .choices__go .button--quiet { flex: none; width: 48px; padding: 0; }
  .picker .choices__go .button--quiet .swap-word { display: none; }
}
