.page-content:has(> #moduleStage > .smeech-unlock) { padding-block-start: 0; }

.smeech-unlock {
  --smeech-accent: var(--blue, #324b7a);
  --smeech-soft: color-mix(in srgb, var(--smeech-accent) 9%, var(--surface));
  --smeech-rise: var(--raised, #efebde);
  --smeech-safe: #276246;
  --smeech-warn: #9a373a;
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: clamp(12px, 1.2vw, 16px) clamp(12px, 3vw, 26px) 60px;
  color: var(--text);
  line-height: 1.5;
  font-family: var(--font-body, system-ui), sans-serif;
}
:root[data-theme="launch-keynote"] .smeech-unlock,
body[data-theme="launch-keynote"] .smeech-unlock { --smeech-safe: #91d9b5; --smeech-warn: #ffa7a9; }
.smeech-unlock *, .smeech-unlock *::before, .smeech-unlock *::after { box-sizing: border-box; }
.smeech-unlock [hidden] { display: none !important; }
.smeech-unlock :is(h1,h2,h3,h4,p) { margin: 0; }
.smeech-unlock :is(h1,h2,h3,h4) { color: var(--text); line-height: 1.3; }
.smeech-unlock h2 { font-size: 19px; }
.smeech-unlock h3 { font-size: 17px; }
.smeech-unlock h4 { font-size: 14px; }
.smeech-unlock :is(button,input,select,summary,[tabindex]):focus-visible { outline: 2px solid var(--smeech-accent); outline-offset: 2px; }
.smeech-unlock button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
.smeech-unlock button:disabled { cursor: default; opacity: .45; }
.smeech-unlock svg { flex: none; width: 17px; height: 17px; }
.smeech-unlock .simulator-gold-cost { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.smeech-unlock .simulator-gold-cost img { width: 16px; height: 16px; object-fit: contain; }
.smeech-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.smeech-loading { margin: 14px 0; min-height: 44px; color: var(--muted); }

.smeech-heading {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px;
  margin-bottom: 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  border-inline-start: 3px solid var(--smeech-accent); background: var(--surface);
}
.smeech-heading-art {
  display: grid; place-items: center; width: 53px; height: 53px;
  border-radius: 8px; background: var(--smeech-rise); color: var(--smeech-accent);
}
.smeech-heading-art .smeech-face { width: 100%; height: 100%; }
.smeech-heading-art svg { width: 22px; height: 22px; }
.smeech-heading-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 3px; }
.smeech-heading h1 { font-size: clamp(19px,2.3vw,23px); line-height: 1.18; }
.smeech-heading-season {
  padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px;
  background: var(--smeech-soft); color: var(--smeech-accent); font-size: 11px; font-weight: 700;
}
.smeech-heading p { color: var(--secondary); font-size: 13px; line-height: 1.45; }
.smeech-heading p strong { color: var(--smeech-accent); }
.smeech-heading-tip { margin-inline-start: .55em; }

.smeech-layout {
  display: grid; grid-template-columns: minmax(310px,.77fr) minmax(0,1.23fr);
  grid-template-areas: "picker results"; gap: 16px; align-items: start;
}
.smeech-picker { grid-area: picker; }
.smeech-results { grid-area: results; }
.smeech-panel {
  min-width: 0; border: 1px solid var(--line); border-radius: 17px;
  background: var(--surface); scroll-margin-top: 9px;
}
.smeech-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 15px 16px 0; }
.smeech-unlock .smeech-mode {
  display: grid; justify-items: start; align-content: center; gap: 2px;
  min-width: 0; min-height: 62px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; text-align: left;
  transition: background-color .16s, color .16s, border-color .16s;
}
.smeech-mode strong { color: var(--text); font-size: 16px; line-height: 1.2; }
.smeech-mode span { color: var(--secondary); font-size: 12px; line-height: 1.35; }
.smeech-unlock .smeech-mode:hover { background: var(--smeech-rise); }
.smeech-unlock .smeech-mode[aria-pressed="true"] {
  background: var(--smeech-soft); border-color: var(--smeech-accent);
  box-shadow: inset 0 -2px var(--smeech-accent);
}
.smeech-mode[aria-pressed="true"] strong { color: var(--smeech-accent); }

.smeech-button, .smeech-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); font-size: 13px !important; font-weight: 720 !important;
  transition: background-color .16s, border-color .16s;
}
.smeech-button:hover, .smeech-chip:hover { background: var(--smeech-soft); border-color: var(--smeech-accent); }
.smeech-unlock .smeech-button.smeech-primary { background: var(--smeech-accent); color: var(--canvas, #fff); border-color: var(--smeech-accent); }
.smeech-unlock .smeech-button.smeech-primary:hover { background: color-mix(in srgb, var(--smeech-accent) 85%, var(--text)); }
.smeech-unlock .smeech-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px;
  padding: 3px 5px; border: 0; background: transparent; color: var(--smeech-accent);
  font-size: 13px; font-weight: 670; text-underline-offset: 3px;
}
.smeech-link:hover { text-decoration: underline; }
.smeech-unlock .smeech-jump { display: none; }
.smeech-unlock .smeech-jump-results {
  color: var(--smeech-accent); border-color: color-mix(in srgb,var(--smeech-accent) 48%,var(--line));
  background: var(--smeech-soft);
}

.smeech-board { min-width: 0; padding: 13px 16px 14px; border-bottom: 1px solid var(--line); }
.smeech-board-line, .smeech-board-label, .smeech-board-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
}
.smeech-board-line { justify-content: space-between; min-height: 34px; }
.smeech-board-line h2 { font-size: 16px; }
.smeech-board-help { margin-top: 3px !important; color: var(--secondary); font-size: 13px; }
.smeech-population {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 7px; border-radius: 6px;
  background: var(--smeech-rise); color: var(--secondary); font-size: 12px; white-space: nowrap;
}
.smeech-population strong { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.smeech-board-shelf { display: grid; grid-template-columns: repeat(auto-fill,minmax(58px,1fr)); gap: 10px 6px; margin-top: 7px; }
.smeech-board-unit { min-width: 0; max-width: 80px; }
.smeech-unlock .smeech-board-photo {
  display: block; position: relative; width: 100%; aspect-ratio: 1; padding: 0;
  border: 0; border-radius: 8px; background: var(--smeech-rise); text-align: center;
}
.smeech-board-photo .smeech-face { position: absolute; inset: 0; width: auto; height: auto; border-radius: inherit; }
.smeech-board-photo .smeech-lock { inset-block-start: 2px; inset-inline-end: 2px; }
.smeech-board-photo:is(:hover,[aria-pressed="true"]) .smeech-face { box-shadow: inset 0 0 0 2px var(--smeech-accent); }
.smeech-board-photo[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--smeech-accent);
  border-radius: inherit; pointer-events: none;
}
.smeech-board-caption { display: grid; grid-template-columns: minmax(0,1fr); gap: 2px; margin-top: 5px; text-align: center; }
.smeech-board-name { overflow-wrap: anywhere; color: var(--text); font-size: 12px; line-height: 1.25; font-weight: 700; }
.smeech-board-caption small { color: var(--secondary); font-size: 11px; line-height: 1.25; }
.smeech-board-caption .smeech-board-excluded { color: var(--smeech-warn); }
.smeech-board-mark {
  display: grid; place-items: center; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; border: 1px solid #ffffff55; background: #111827dc; color: #fff;
}
.smeech-board-mark svg { width: 11px; height: 11px; }
.smeech-board-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.smeech-board-items img { width: 14px; height: 14px; object-fit: cover; border-radius: 3px; }
.smeech-current-traits { margin-top: 7px; }
.smeech-current-traits summary { min-height: 32px; padding: 4px 1px; color: var(--smeech-accent); font-size: 13px; font-weight: 700; cursor: pointer; }
.smeech-current-traits summary span { margin-inline-start: 4px; color: var(--secondary); font-variant-numeric: tabular-nums; }
.smeech-current-traits > div { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

.smeech-market { display: grid; gap: 9px; min-width: 0; padding: 13px 16px; }
.smeech-market-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.smeech-market-heading h3 { font-size: 15px; }
.smeech-segments {
  display: inline-flex; flex-wrap: wrap; justify-self: start; gap: 2px;
  padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: var(--smeech-rise);
}
.smeech-unlock .smeech-segments button {
  min-height: 32px; padding: 3px 9px; border: 1px solid transparent; border-radius: 6px;
  background: transparent; color: var(--secondary); font-size: 13px; font-weight: 700;
}
.smeech-unlock .smeech-segments button:hover { color: var(--text); }
.smeech-unlock .smeech-segments button[aria-pressed="true"] {
  border-color: var(--line); background: var(--surface); color: var(--smeech-accent);
}
.smeech-costs, .smeech-restrict-costs, .smeech-banned-list { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.smeech-chip { min-width: 40px; min-height: 34px; padding: 3px 7px; border-radius: 7px; }
.smeech-chip[aria-pressed="true"] { border-color: var(--smeech-accent); color: var(--text); background: var(--smeech-soft); }
.smeech-picker-note { display: grid; gap: 4px; }
.smeech-picker-note:empty { display: none; }
.smeech-picker-note > div {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 8px;
  padding: 0 8px; border-radius: 6px; background: var(--smeech-soft); font-size: 12px;
}
.smeech-picker-note > .smeech-collab-picker {
  display: grid; gap: 7px; padding: 0; background: transparent; font-size: inherit;
}
.smeech-collab-summary, .smeech-collab-preset-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px;
  color: var(--secondary); font-size: 12px;
}
.smeech-collab-summary strong, .smeech-collab-preset-head strong { color: var(--text); }
.smeech-collab-preset-head { padding-top: 3px; border-top: 1px solid var(--line); }
.smeech-collab-presets {
  display: grid; grid-template-columns: minmax(0,1fr); grid-auto-rows: max-content; align-content: start; gap: 5px;
  container: smeech-presets / inline-size;
  max-height: clamp(245px,45dvh,390px); overflow: auto; overscroll-behavior: contain;
  scrollbar-gutter: stable; padding: 3px 4px 3px 3px;
}
.smeech-unlock .smeech-collab-preset {
  display: grid; grid-template-columns: 37px minmax(0,1fr); align-items: start; gap: 5px 8px;
  min-width: 0; min-height: 74px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); text-align: left; transition: background-color .15s,border-color .15s;
}
.smeech-unlock .smeech-collab-preset:hover,
.smeech-unlock .smeech-collab-preset[aria-pressed="true"] {
  border-color: var(--smeech-accent); background: var(--smeech-soft);
}
.smeech-collab-index { color: var(--smeech-accent); font-size: 15px; font-weight: 780; line-height: 1.25; font-variant-numeric: tabular-nums; }
.smeech-collab-index small { display: block; color: var(--secondary); font-size: 11px; font-weight: 600; }
.smeech-collab-preset-members { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: start; gap: 4px; min-width: 0; }
.smeech-collab-member { display: grid; grid-template-columns: minmax(0,1fr); justify-items: center; gap: 4px; }
.smeech-collab-member .smeech-face { width: min(100%,42px); height: auto; aspect-ratio: 1; border-radius: 6px; }
.smeech-collab-member .smeech-face > img { border-radius: 4px; }
.smeech-collab-name { width: 100%; overflow-wrap: anywhere; color: var(--text); text-align: center; font-size: 12px; line-height: 1.25; font-weight: 620; }
.smeech-collab-presets .smeech-empty-list { padding: 8px 5px; }
@container smeech-presets (max-width: 360px) {
  .smeech-unlock .smeech-collab-preset { grid-template-columns: minmax(0,1fr); }
  .smeech-collab-index { display: flex; align-items: baseline; gap: 6px; }
  .smeech-collab-name { font-size: 11px; }
}
.smeech-picker-note > .smeech-collab-members { justify-content: flex-start; gap: 4px; padding: 5px; }
.smeech-roster {
  max-height: 355px; min-height: 98px; overflow: auto; scrollbar-gutter: stable;
  padding: 2px 5px 6px 3px; border: 1px solid var(--line); border-radius: 9px;
}
.smeech-roster-group { padding: 4px 2px; }
.smeech-roster-group + .smeech-roster-group { border-top: 1px solid var(--line); margin-top: 4px; }
.smeech-cost-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 3px 4px; color: var(--secondary); font-size: 12px; font-weight: 680;
}
.smeech-unit-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(60px,1fr)); gap: 4px; }
.smeech-unit {
  display: grid; justify-items: center; align-content: start; gap: 4px; position: relative;
  width: 100%; min-width: 0; min-height: 62px; padding: 3px 2px;
  border: 1px solid transparent; border-radius: 8px;
  background: transparent; transition: background-color .15s,border-color .15s;
}
.smeech-unit:hover { background: var(--smeech-rise); }
.smeech-unit.is-picked { background: var(--smeech-soft); border-color: var(--smeech-accent); }
.smeech-unit.is-banned { background: color-mix(in srgb,var(--smeech-warn) 9%,var(--surface)); border-color: var(--smeech-warn); }
.smeech-unit.is-banned .smeech-face img { filter: grayscale(.65); opacity: .7; }
.smeech-unit-name { overflow-wrap: anywhere; color: var(--text); font-size: 11px; line-height: 1.22; font-weight: 680; text-align: center; }
.smeech-unit-mark {
  display: grid; place-items: center; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  border-radius: 50%; color: var(--canvas); background: var(--smeech-accent);
}
.smeech-unit.is-banned .smeech-unit-mark { color: var(--surface); background: var(--smeech-warn); }
.smeech-unit-mark svg { width: 11px; height: 11px; }
.smeech-face {
  --rank: #9b9da5;
  position: relative; display: inline-flex; width: 46px; height: 46px; flex: 0 0 auto; vertical-align: middle;
  border: 1.5px solid var(--rank); border-radius: 8px; background: var(--smeech-rise);
}
.smeech-face[data-rank="green"] { --rank: #459775; }
.smeech-face[data-rank="blue"] { --rank: #568fd1; }
.smeech-face[data-rank="purple"] { --rank: #986ec5; }
.smeech-face[data-rank="gold"] { --rank: #cb9a47; }
.smeech-face[data-rank="prism"] { --rank: #cf82a8; }
.smeech-face > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.smeech-lock { position: absolute; top: -3px; right: -3px; z-index: 1; display: block; width: 17px; height: 17px; }
.smeech-lock img { display: block; width: 100%; height: 100%; object-fit: contain; }
.smeech-empty-list { padding: 12px 5px; color: var(--secondary); font-size: 13px; }

.smeech-options { border-top: 1px solid var(--line); }
.smeech-option-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; padding: 4px 16px; }
.smeech-option-bar label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-size: 13px; font-weight: 740; cursor: pointer; }
.smeech-option-bar input { width: 17px; height: 17px; accent-color: var(--smeech-accent); }
.smeech-option-bar span, .smeech-restrict-costs > span { color: var(--secondary); font-size: 12px; }
.smeech-level select { padding: 5px 7px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.smeech-detail { border-top: 1px solid var(--line); }
.smeech-detail summary {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 16px;
  color: var(--text); font-size: 13px; font-weight: 690; cursor: pointer;
}
.smeech-detail summary::-webkit-details-marker { display: none; }
.smeech-detail summary::after {
  content: ""; width: 6px; height: 6px; margin-inline-start: auto;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.smeech-detail[open] summary::after { transform: rotate(225deg); }
.smeech-detail summary > span + span { margin-inline-start: auto; color: var(--secondary); font-size: 12px; }
.smeech-detail-content { padding: 1px 16px 12px; }
.smeech-detail-content h3 { margin: 12px 0 6px; font-size: 14px; }
.smeech-inline-help { margin-block: 4px 6px !important; color: var(--secondary); font-size: 12px; }
.smeech-banned-list { margin-top: 6px; }
.smeech-stock-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,150px),1fr)); gap: 5px; }
.smeech-stock-item { display: flex; justify-content: space-between; align-items: center; gap: 3px; min-width: 0; padding: 3px; border: 1px solid var(--line); border-radius: 7px; }
.smeech-stock-item > span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.smeech-stock-item small { color: var(--text); font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
.smeech-stock-item img { width: 24px; height: 24px; object-fit: cover; border-radius: 4px; flex: none; }
.smeech-stepper { display: flex; gap: 3px; align-items: center; flex: none; }
.smeech-stepper output { min-width: 14px; text-align: center; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.smeech-step { width: 24px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: var(--smeech-rise); font-weight: 740 !important; }

.smeech-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 5px 10px; padding: 15px 17px 12px; }
.smeech-route-context { margin-top: 4px !important; color: var(--secondary); font-size: 13px; font-variant-numeric: tabular-nums; }
.smeech-panel-actions, .smeech-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
.smeech-panel-actions > span:empty { display: none; }
.smeech-result-count { color: var(--secondary); font-size: 12px; white-space: nowrap; }
.smeech-start {
  display: grid; justify-items: center; align-content: center; gap: 6px;
  margin: 0 16px 16px; padding: 19px 13px; border: 1px dashed var(--line); border-radius: 12px;
  background: color-mix(in srgb,var(--smeech-rise) 48%,var(--surface)); text-align: center;
}
.smeech-start-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 3px;
  background: var(--smeech-soft); color: var(--smeech-accent); border: 1px solid var(--line); border-radius: 12px;
}
.smeech-start-icon svg { width: 22px; height: 22px; }
.smeech-start-actions { justify-content: center; margin-top: 4px; }
.smeech-start p, .smeech-result-message p { color: var(--secondary); font-size: 13px; }
.smeech-result-message { display: grid; justify-items: start; align-content: start; gap: 7px; min-height: 140px; padding: 12px 17px 16px; font-size: 14px; }

.smeech-result-list { display: grid; gap: 13px; padding: 0 16px 15px; }
.smeech-result {
  min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
}
.smeech-route-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; }
.smeech-route-cards { display: grid; gap: 10px; min-width: 0; }
.smeech-result.is-featured { border-color: color-mix(in srgb,var(--smeech-accent) 48%,var(--line)); background: var(--smeech-soft); }
.smeech-result > header { display: flex; justify-content: space-between; align-items: center; gap: 7px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.smeech-result h3 { min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.smeech-result.is-featured h3 { color: var(--smeech-accent); }
.smeech-result-metrics, .smeech-result-actions { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.smeech-result-metrics > span {
  display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 2px 7px;
  border-radius: 6px; background: var(--surface); color: var(--secondary); font-size: 12px; white-space: nowrap;
}
.smeech-result-metrics strong { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.smeech-negative { color: var(--smeech-warn) !important; }
.smeech-lineup {
  display: flex; flex-wrap: wrap; align-items: start; gap: 10px 6px;
  margin: 9px 0 0; padding: 0; list-style: none;
}
.smeech-lineup-unit {
  display: grid; justify-items: center; align-content: start; gap: 4px; flex: 0 0 60px; min-width: 0;
  color: var(--text); font-size: 12px; line-height: 1.25; text-align: center;
}
.smeech-lineup-name { max-width: 100%; overflow-wrap: anywhere; }
.smeech-lineup-status {
  display: block; padding: 2px 5px; border-radius: 5px; background: var(--smeech-rise);
  color: var(--secondary); font-size: 11px; font-weight: 700; white-space: nowrap;
}
.smeech-lineup-status[data-status="incoming"] {
  color: var(--smeech-safe); background: color-mix(in srgb,var(--smeech-safe) 12%,var(--surface));
}
.smeech-lineup-status[data-status="rare"] {
  color: var(--smeech-warn); background: color-mix(in srgb,var(--smeech-warn) 11%,var(--surface));
}
.smeech-lineup-unit .smeech-face { width: 44px; height: 44px; border-radius: 7px; }
.smeech-lineup-unit .smeech-face > img { border-radius: 5px; }
.smeech-lineup-notes, .smeech-removed { color: var(--secondary); font-size: 12px; }
.smeech-result .smeech-removed { margin-top: 8px; }
.smeech-route-traits { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.smeech-result > .smeech-route-traits { margin-top: 9px; }
.smeech-preview .smeech-route-traits { color: var(--secondary); font-size: 12px; }
.smeech-trait-chip {
  display: inline-flex; align-items: center; gap: 3px; min-height: 25px; padding: 0 5px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--surface); color: var(--text); font-size: 11px !important; white-space: nowrap;
}
.smeech-trait-chip img { width: 15px; height: 15px; object-fit: contain; }
:root[data-theme="launch-keynote"] .smeech-trait-chip img,
body[data-theme="launch-keynote"] .smeech-trait-chip img { filter: invert(1); }
.smeech-trait-chip b { margin-inline-start: 2px; font-variant-numeric: tabular-nums; }
.smeech-trait-shift { min-height: 29px; padding-inline: 7px; font-size: 12px !important; }
.smeech-trait-shift b { color: var(--smeech-accent); }
.smeech-near { min-height: 32px; border-style: dashed; color: var(--secondary); background: var(--smeech-rise); }
.smeech-near:is(:hover,[aria-pressed="true"]) { border-style: solid; border-color: var(--smeech-accent); }
.smeech-result-actions { margin-top: 10px; }
.smeech-gear, .smeech-preview { display: grid; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.smeech-gear-row, .smeech-gear-row > span { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--text); font-size: 12px; }
.smeech-gear-row img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.smeech-gear-row small { display: block; color: var(--secondary); }
.smeech-feedback {
  position: fixed; right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); z-index: 30;
  max-width: min(420px,calc(100vw - 32px)); padding: 9px 12px; border: 1px solid var(--smeech-accent); border-radius: 9px;
  background: var(--surface); color: var(--text); box-shadow: 0 4px 22px #0002; font-size: 14px;
}

@media (max-width: 850px) {
  .smeech-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "results" "picker"; gap: 12px; }
  .smeech-unlock .smeech-jump { display: inline-flex; }
  .smeech-roster { max-height: clamp(175px,42dvh,335px); }
}
@media (max-width: 500px) {
  .smeech-unlock { padding-inline: 10px; }
  .smeech-heading { align-items: start; gap: 9px; padding: 10px; }
  .smeech-heading-art { width: 43px; height: 43px; }
  .smeech-heading-tip { display: block; margin: 3px 0 0; }
  .smeech-modes { margin: 11px 10px 0; }
  .smeech-unlock .smeech-mode { padding-inline: 8px; }
  .smeech-mode span { font-size: 11px; }
  .smeech-board, .smeech-market, .smeech-option-bar, .smeech-detail summary, .smeech-detail-content,
  .smeech-panel-head, .smeech-result-list, .smeech-result-message { padding-inline: 10px; }
  .smeech-board-label { flex-wrap: nowrap; }
  .smeech-board-actions { gap: 2px; }
  .smeech-unlock .smeech-board-actions .smeech-link { padding-inline: 3px; font-size: 12px; }
  .smeech-unlock .smeech-jump-results { padding-inline: 6px; gap: 4px; font-size: 12px !important; }
  .smeech-board-shelf { grid-template-columns: repeat(auto-fill,minmax(48px,1fr)); }
  .smeech-unit-grid { grid-template-columns: repeat(auto-fill,minmax(49px,1fr)); }
  .smeech-unit .smeech-face { width: min(100%,43px); height: auto; aspect-ratio: 1; }
  .smeech-start { margin-inline: 10px; }
  .smeech-result { padding-inline: 8px; }
  .smeech-lineup { gap: 5px; }
  .smeech-lineup-unit { flex-basis: 48px; font-size: 11.5px; }
  .smeech-lineup-unit .smeech-face { width: 36px; height: 36px; }
}
@media (pointer: coarse) {
  .smeech-unlock :is(.smeech-link,.smeech-button,.smeech-chip,.smeech-near,.smeech-level select,.smeech-current-traits summary) { min-height: 44px; }
  .smeech-unlock .smeech-segments button { min-height: 44px; }
  .smeech-step { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .smeech-unlock *, .smeech-unlock *::before, .smeech-unlock *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

