/* WikiStrings — acoustic guitar strings comparator
   Light theme, mobile first. Everything is namespaced under .wks so it can live inside a WordPress theme. */

.wks {
  --wks-bg: #ffffff;
  --wks-surface: #f5f6f7;
  --wks-surface-2: #eaecef;
  --wks-border: rgba(15, 23, 42, 0.09);
  --wks-border-strong: rgba(15, 23, 42, 0.18);
  --wks-text: #111318;
  --wks-muted: #5b6270;
  --wks-dim: #8a919c;
  --wks-accent: #16a34a;             /* WikiStrings green */
  --wks-accent-2: #7cc242;
  --wks-accent-ink: #ffffff;
  --wks-accent-soft: rgba(22, 163, 74, 0.10);
  --wks-amazon: #ffd814;             /* Get info button */
  --wks-amazon-border: #f0c400;
  --wks-amazon-hover: #f7ca00;
  --wks-amazon-ink: #0f1111;
  --wks-plate: #ffffff;
  --wks-danger: #c0392b;
  --wks-spec-ghost: rgba(15, 23, 42, 0.14);
  --wks-radius: 16px;
  --wks-radius-s: 12px;
  --wks-player-h: 112px;
  --wks-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wks-ease: cubic-bezier(.2, .7, .2, 1);

  font-family: var(--wks-font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--wks-text);
  background: var(--wks-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  min-height: 100%;
  padding-bottom: calc(var(--wks-player-h) + env(safe-area-inset-bottom, 0px) + 28px);
  box-sizing: border-box;
}
.wks *, .wks *::before, .wks *::after { box-sizing: border-box; }
/* Element resets at (0, 2, 0): they beat theme rules such as ".elementor-kit-7 h1" but lose to the component
   classes below, which are all written as ".wks .wks-…" (same specificity, later in the file). */
.wks.wks :where(h1, h2, h3, p, ul, ol, li, dl, dt, dd, a, button, input, kbd, label, span, strong, em, picture, figure, canvas) {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: none; text-shadow: none;
  margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; list-style: none; vertical-align: baseline; min-height: 0; }
.wks.wks :where(button) { cursor: pointer; text-align: inherit; -webkit-appearance: none; appearance: none; }
.wks.wks :where(img) { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; margin: 0; }
.wks.wks :where(a):hover { text-decoration: none; }
.wks.wks :where(strong) { font-weight: 700; }
.wks.wks :where(em) { font-style: italic; }
.wks [hidden] { display: none !important; }
.wks :focus { outline: none; }
.wks :focus-visible { outline: 2px solid var(--wks-accent); outline-offset: 3px; border-radius: 6px; }

.wks-page { margin: 0; background: #ffffff; min-height: 100vh; }

.wks .wks-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wks .wks-wrap { padding: 0 32px; } }

.wks .wks-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ header */
.wks .wks-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 2px; }
.wks .wks-logo { display: inline-flex; align-items: center; gap: 10px; }
.wks .wks-logo img { height: 56px; width: auto; }
.wks .wks-logo__word { font-weight: 800; letter-spacing: -.02em; font-size: 20px; }
.wks .wks-header__pill { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wks-accent); background: var(--wks-accent-soft); padding: 7px 11px; border-radius: 999px; font-weight: 700; }

/* -------------------------------------------------------------- hero */
.wks .wks-hero { padding: 12px 0 14px; }
.wks .wks-hero__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wks-accent); margin: 0 0 8px; font-weight: 700; }
.wks .wks-hero__title { font-size: clamp(30px, 6vw, 54px); line-height: .98; letter-spacing: -.025em; font-weight: 800; margin: 0 0 12px; text-transform: uppercase; }
.wks .wks-hero__sub { font-size: clamp(16px, 2.3vw, 21px); color: var(--wks-text); margin: 0 0 8px; font-weight: 500; }
.wks .wks-hero__intro { color: var(--wks-muted); max-width: 580px; margin: 0 0 16px; font-size: 14px; }
@media (min-width: 720px) { .wks .wks-hero__intro { font-size: 15px; } }
.wks .wks-hero__cta { display: inline-flex; align-items: center; gap: 10px; background: var(--wks-text); color: #fff; font-weight: 700; letter-spacing: .12em; font-size: 12px; text-transform: uppercase; padding: 15px 22px; border-radius: 999px; transition: transform .2s var(--wks-ease), background .2s; }
.wks .wks-hero__cta:hover { background: var(--wks-accent); transform: translateY(-1px); }
.wks .wks-hero__cta svg { width: 12px; height: 12px; }
.wks .wks-hero__aside { display: none; color: var(--wks-muted); font-size: 13px; }
@media (min-width: 900px) {
  .wks .wks-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; padding: 18px 0 16px; }
  .wks .wks-hero__aside { display: block; justify-self: end; text-align: right; max-width: 380px; }
  .wks .wks-hero__aside ul { justify-content: flex-end; }
}
.wks .wks-hero__aside ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wks .wks-hero__aside li::before { content: "—"; margin-right: 6px; color: var(--wks-dim); }

/* ----------------------------------------------------------- toolbar */
.wks .wks-toolbar { position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--wks-bg) 82%, rgba(255,255,255,0)); padding: 8px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.wks .wks-styles { display: flex; align-items: center; gap: 10px; }
.wks .wks-styles__label { display: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wks-dim); font-weight: 700; }
@media (min-width: 720px) { .wks .wks-styles__label { display: inline; } }
.wks .wks-styles__row { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--wks-surface); border: 1px solid var(--wks-border); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%; }
.wks .wks-styles__row::-webkit-scrollbar { display: none; }
.wks .wks-style { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--wks-muted); white-space: nowrap; min-height: 38px; transition: all .18s var(--wks-ease); }
.wks .wks-style:hover { color: var(--wks-text); }
.wks .wks-style[aria-pressed="true"] { background: var(--wks-accent); color: var(--wks-accent-ink); box-shadow: 0 4px 12px -6px rgba(22,163,74,.7); }
.wks .wks-toolbar__row { display: flex; align-items: center; gap: 12px; }
.wks .wks-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 4px 2px; -webkit-overflow-scrolling: touch; }
.wks .wks-chips::-webkit-scrollbar { display: none; }
.wks .wks-chips__sep { flex: 0 0 1px; height: 22px; align-self: center; background: var(--wks-border-strong); margin: 0 4px; }
@media (min-width: 900px) { .wks .wks-chips { flex-wrap: wrap; overflow: visible; } }
.wks .wks-chip { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--wks-border); color: var(--wks-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; min-height: 36px; transition: all .18s var(--wks-ease); white-space: nowrap; background: #fff; }
.wks .wks-chip:hover { border-color: var(--wks-border-strong); color: var(--wks-text); }
.wks .wks-chip[aria-pressed="true"] { background: var(--wks-text); color: #fff; border-color: var(--wks-text); }
.wks .wks-tools { display: flex; gap: 8px; flex: 0 0 auto; }
.wks .wks-tool { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--wks-border); color: var(--wks-muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: all .18s var(--wks-ease); background: #fff; }
.wks .wks-tool svg { width: 14px; height: 14px; }
.wks .wks-tool:hover { border-color: var(--wks-border-strong); color: var(--wks-text); }
.wks .wks-tool[aria-pressed="true"] { background: var(--wks-accent); color: var(--wks-accent-ink); border-color: var(--wks-accent); }
@media (max-width: 719px) { .wks .wks-tool span { display: none; } .wks .wks-tool { width: 38px; justify-content: center; padding: 0; } }

/* --------------------------------------------------------------- hint */
.wks .wks-hint { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--wks-accent-soft); border: 1px solid rgba(22,163,74,.25); color: var(--wks-text); font-size: 13px; animation: wks-fade-in .5s var(--wks-ease); }
.wks .wks-hint__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wks-accent); box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: wks-pulse 1.8s infinite; flex: 0 0 auto; }

/* --------------------------------------------------------------- grid */
.wks .wks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .wks .wks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .wks .wks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1360px) { .wks .wks-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.wks .wks-card { position: relative; border-radius: var(--wks-radius); background: #fff; border: 1px solid var(--wks-border); box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: transform .25s var(--wks-ease), border-color .25s, box-shadow .25s; }
.wks .wks-card:hover { border-color: var(--wks-border-strong); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(15,23,42,.35); }
.wks .wks-card--active { border-color: var(--wks-accent); box-shadow: 0 0 0 2px var(--wks-accent), 0 18px 40px -22px rgba(22,163,74,.55); }
.wks .wks-card--active:hover { transform: none; }
.wks .wks-card__hit { display: block; width: 100%; text-align: left; border-radius: inherit; }
.wks .wks-card__plate { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--wks-radius) - 1px) calc(var(--wks-radius) - 1px) 0 0; overflow: hidden; background: var(--wks-plate); border-bottom: 1px solid var(--wks-border); }
.wks .wks-card__plate img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transform: scale(1.0); transition: transform .5s var(--wks-ease); }
.wks .wks-card:hover .wks-card__plate img { transform: scale(1.03); }
.wks .wks-card__badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: var(--wks-accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(-4px); transition: all .25s var(--wks-ease); }
.wks .wks-card--active .wks-card__badge { opacity: 1; transform: none; }
.wks .wks-card__badge svg { width: 10px; height: 10px; }
.wks .wks-card__tag { position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--wks-text); color: #fff; font-weight: 800; font-size: 12px; }
.wks .wks-card__tag--a { background: var(--wks-accent); }
.wks .wks-card__tag--b { background: #2563eb; }
.wks .wks-card__body { display: block; padding: 10px 12px 10px; }
.wks .wks-card__brand { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wks-dim); }
.wks .wks-card__name { display: block; font-weight: 800; font-size: 16px; letter-spacing: -.01em; line-height: 1.15; margin-top: 2px; }
.wks .wks-card__was { color: var(--wks-muted); font-weight: 500; font-size: 13px; }
.wks .wks-card__meta { display: block; color: var(--wks-muted); font-size: 12px; margin-top: 3px; min-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wks .wks-card__status { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wks-muted); min-height: 18px; }
.wks .wks-card__status svg { width: 10px; height: 10px; flex: 0 0 auto; }
.wks .wks-card--active .wks-card__status { color: var(--wks-accent); }
.wks .wks-card--error .wks-card__status { color: var(--wks-danger); }
.wks .wks-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 8px 10px 8px; }
.wks .wks-card__info { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--wks-muted); border: 1px solid transparent; flex: 0 0 auto; }
.wks .wks-card__info:hover { color: var(--wks-text); border-color: var(--wks-border-strong); }
.wks .wks-card__info svg { width: 16px; height: 16px; }
@media (min-width: 720px) { .wks .wks-card__body { padding: 12px 14px 10px; } .wks .wks-card__actions { padding: 0 10px 12px 10px; } }

/* Get info (Amazon affiliate) button */
.wks .wks-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--wks-amazon); border: 1px solid var(--wks-amazon-border); color: var(--wks-amazon-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; transition: all .18s var(--wks-ease); flex: 1 1 auto; min-width: 0; }
.wks .wks-buy svg { width: 14px; height: 14px; flex: 0 0 auto; }
.wks .wks-buy:hover { background: var(--wks-amazon-hover); box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }
.wks .wks-buy--big { height: 44px; padding: 0 20px; font-size: 13px; flex: 0 0 auto; }
.wks .wks-buy--mini { height: 26px; padding: 0 9px; font-size: 11px; gap: 4px; flex: 0 0 auto; }
.wks .wks-buy--mini svg { width: 12px; height: 12px; }

/* equalizer */
.wks .wks-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; width: 16px; }
.wks .wks-eq i { display: block; width: 3px; background: currentColor; border-radius: 1px; height: 30%; animation: wks-eq 1s ease-in-out infinite; }
.wks .wks-eq i:nth-child(2) { animation-delay: .15s; } .wks .wks-eq i:nth-child(3) { animation-delay: .3s; } .wks .wks-eq i:nth-child(4) { animation-delay: .45s; }
.wks .wks-eq--paused i { animation-play-state: paused; height: 30%; }

/* blind placeholder */
.wks .wks-blindplate { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #f5f6f7, #e6e9ed); color: var(--wks-dim); }
.wks .wks-blindplate svg { width: 46%; height: 46%; opacity: .5; }
.wks .wks-blindplate span { position: absolute; font-weight: 800; font-size: 40px; color: var(--wks-text); }

/* spinner */
.wks .wks-spin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--wks-border-strong); border-top-color: var(--wks-text); animation: wks-rot .8s linear infinite; }

/* ------------------------------------------------------------- blind bar */
.wks .wks-blind { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--wks-surface); border: 1px solid var(--wks-border); font-size: 13px; color: var(--wks-muted); }
.wks .wks-blind strong { color: var(--wks-text); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.wks .wks-blind__spacer { flex: 1; }
.wks .wks-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--wks-border-strong); color: var(--wks-text); background: #fff; transition: all .18s var(--wks-ease); }
.wks .wks-btn:hover { border-color: var(--wks-text); }
.wks .wks-btn--primary { background: var(--wks-text); color: #fff; border-color: var(--wks-text); }
.wks .wks-btn--primary:hover { background: var(--wks-accent); border-color: var(--wks-accent); }
.wks .wks-btn--ghost { border-color: transparent; color: var(--wks-muted); background: none; }
.wks .wks-btn--ghost:hover { color: var(--wks-text); border-color: transparent; }

.wks .wks-result { margin: 0 0 14px; padding: 16px; border-radius: 16px; border: 1px solid rgba(22,163,74,.4); background: linear-gradient(180deg, rgba(22,163,74,.10), rgba(22,163,74,.03)); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wks .wks-result__thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--wks-border); }
.wks .wks-result__eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wks-accent); font-weight: 700; }
.wks .wks-result__name { font-weight: 800; font-size: 20px; }
.wks .wks-result__sub { color: var(--wks-muted); font-size: 13px; }
.wks .wks-result__txt { flex: 1; min-width: 160px; }

/* ------------------------------------------------------------ player */
.wks .wks-player { transition: transform .35s var(--wks-ease); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--wks-border); box-shadow: 0 -12px 40px -24px rgba(15,23,42,.35); padding-bottom: env(safe-area-inset-bottom, 0px); }
.wks .wks-player--hidden { transform: translateY(110%); }
.wks .wks-player__spec { display: block; width: 100%; height: 34px; opacity: .9; }
.wks .wks-player__in { max-width: 1280px; margin: 0 auto; padding: 6px 12px 10px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "play ab time"; align-items: center; gap: 8px; }
.wks .wks-player__btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--wks-text); transition: background .15s; flex: 0 0 auto; }
.wks .wks-player__btn:hover { background: rgba(15,23,42,.06); }
.wks .wks-player__btn svg { width: 18px; height: 18px; }
.wks .wks-player__btn--play { grid-area: play; background: var(--wks-text); color: #fff; width: 48px; height: 48px; }
.wks .wks-player__btn--play:hover { background: var(--wks-accent); }
.wks .wks-player__btn[aria-pressed="true"] { color: var(--wks-accent); }
.wks .wks-player__time { grid-area: time; font-size: 11px; color: var(--wks-muted); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.wks .wks-player__time-sep { display: none; }
.wks .wks-player__line { grid-area: line; display: none; align-items: center; }
.wks .wks-player__extra { grid-area: extra; display: none; align-items: center; gap: 6px; }
.wks .wks-player__vol { display: flex; align-items: center; gap: 8px; color: var(--wks-muted); }
.wks .wks-player__vol svg { width: 16px; height: 16px; }
.wks .wks-player__vol input { width: 80px; }
@media (min-width: 720px) {
  .wks .wks-player__spec { height: 44px; }
  .wks .wks-player__in { grid-template-columns: auto minmax(300px, 520px) auto 1fr auto; grid-template-areas: "play ab time line extra"; padding: 8px 24px 12px; gap: 14px; }
  .wks .wks-player__time { flex-direction: row; gap: 5px; align-items: center; font-size: 12px; }
  .wks .wks-player__time-sep { display: inline; color: var(--wks-dim); }
  .wks .wks-player__line { display: flex; }
  .wks .wks-player__extra { display: flex; }
}

/* A/B slots inside the player */
.wks .wks-player__ab { grid-area: ab; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; }
.wks .wks-slot { position: relative; display: flex; align-items: center; gap: 7px; min-height: 50px; padding: 5px 7px; border-radius: 12px; border: 2px solid var(--wks-border); background: #fff; color: var(--wks-muted); text-align: left; min-width: 0; transition: all .2s var(--wks-ease); }
.wks .wks-slot--live { border-color: var(--wks-accent); background: var(--wks-accent-soft); color: var(--wks-text); box-shadow: 0 0 0 1px rgba(22,163,74,.25), 0 8px 20px -14px rgba(22,163,74,.8); }
.wks .wks-slot--empty { border-style: dashed; grid-column: 1 / -1; }
.wks .wks-slot--arm { grid-column: auto; border-color: var(--wks-border-strong); }
.wks .wks-slot--empty .wks-slot__name { color: var(--wks-muted); font-weight: 600; }
.wks .wks-slot__letter { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: var(--wks-surface-2); color: var(--wks-muted); }
.wks .wks-slot--live .wks-slot__letter { background: var(--wks-accent); color: #fff; }
.wks .wks-slot__thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--wks-border); flex: 0 0 auto; }
.wks .wks-slot__thumb--blind { display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--wks-text); background: var(--wks-surface); }
.wks .wks-slot__txt { min-width: 0; display: flex; flex-direction: column; flex: 1 1 auto; line-height: 1.15; }
.wks .wks-slot__brand { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wks-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wks .wks-slot__name { font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--wks-text); }
.wks .wks-slot__sub { font-size: 11px; color: var(--wks-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wks .wks-slot__state { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wks-muted); margin-top: 2px; }
.wks .wks-slot--live .wks-slot__state { color: var(--wks-accent); }
.wks .wks-slot__state svg { width: 9px; height: 9px; }
.wks .wks-slot__state .wks-eq { height: 9px; width: 13px; }
.wks .wks-slot__buy { flex: 0 0 auto; margin-left: 2px; }
@media (max-width: 479px) {
  .wks .wks-slot { gap: 5px; padding: 5px 6px; min-height: 46px; }
  .wks .wks-slot__thumb, .wks .wks-slot__brand { display: none; }
  .wks .wks-slot__letter { width: 16px; height: 16px; font-size: 9px; }
  .wks .wks-slot__name { font-size: 12.5px; }
  .wks .wks-slot__buy .wks-buy span { display: none; }
  .wks .wks-slot__buy .wks-buy { width: 28px; height: 28px; padding: 0; }
  .wks .wks-slot__buy { margin-left: 0; }
}

.wks .wks-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; --p: 0%; }
.wks .wks-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--wks-accent) var(--p), rgba(15,23,42,.14) var(--p)); }
.wks .wks-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(15,23,42,.14); }
.wks .wks-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--wks-accent); }
.wks .wks-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--wks-text); margin-top: -5px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.wks .wks-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--wks-text); border: 0; }
.wks .wks-range:focus-visible { outline-offset: 0; }

/* ---------------------------------------------------------- info sheet */
.wks .wks-sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.wks .wks-sheet__bg { position: absolute; inset: 0; background: rgba(15,23,42,.45); animation: wks-fade-in .2s; }
.wks .wks-sheet__panel { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; border: 1px solid var(--wks-border); padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px)); animation: wks-up .3s var(--wks-ease); box-shadow: 0 -20px 60px -20px rgba(15,23,42,.4); }
@media (min-width: 720px) { .wks .wks-sheet { align-items: center; } .wks .wks-sheet__panel { border-radius: 22px; } }
.wks .wks-sheet__close { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--wks-muted); }
.wks .wks-sheet__close:hover { color: var(--wks-text); background: rgba(15,23,42,.06); }
.wks .wks-sheet__close svg { width: 16px; height: 16px; }
.wks .wks-sheet__hero { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding-right: 36px; }
.wks .wks-sheet__img { width: 96px; height: 96px; border-radius: 16px; object-fit: contain; background: #fff; border: 1px solid var(--wks-border); }
.wks .wks-sheet__family { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wks-accent); font-weight: 700; }
.wks .wks-sheet__name { font-size: 26px; font-weight: 800; line-height: 1.1; margin: 4px 0; letter-spacing: -.02em; }
.wks .wks-sheet__sub { color: var(--wks-muted); font-size: 13px; }
.wks .wks-sheet__dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; }
.wks .wks-sheet__dl dt { color: var(--wks-muted); }
.wks .wks-sheet__dl dd { margin: 0; font-weight: 500; }
.wks .wks-sheet__desc { color: var(--wks-muted); font-size: 14px; margin: 16px 0 0; }
.wks .wks-sheet__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.wks .wks-sheet__note { margin-top: 14px; font-size: 12px; color: var(--wks-dim); }
.wks .wks-choice { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.wks .wks-choice__btn { min-width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--wks-border-strong); font-weight: 800; font-size: 20px; }
.wks .wks-choice__btn:hover { border-color: var(--wks-accent); color: var(--wks-accent); }

/* ------------------------------------------------------------- toast */
.wks .wks-toast { position: fixed; left: 50%; bottom: calc(var(--wks-player-h) + env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); z-index: 70; background: var(--wks-text); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; animation: wks-up .3s var(--wks-ease); max-width: calc(100vw - 32px); }

/* ------------------------------------------------------------ footer */
.wks .wks-foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--wks-border); color: var(--wks-dim); font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.wks .wks-foot kbd { font: inherit; border: 1px solid var(--wks-border); border-radius: 4px; padding: 0 5px; }
.wks .wks-foot__keys { display: none; }
@media (min-width: 900px) { .wks .wks-foot__keys { display: inline; } }

/* -------------------------------------------------------- animations */
@keyframes wks-eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes wks-rot { to { transform: rotate(360deg); } }
@keyframes wks-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wks-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wks-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

@media (prefers-reduced-motion: reduce) {
  .wks *, .wks *::before, .wks *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .wks .wks-eq i { height: 60%; }
  .wks .wks-card:hover { transform: none; }
}
