.records {
  --r-bg: #171923;
  --r-face: #252737;
  --r-border: #4b4658;
  --r-text: #f8ead7;
  --r-muted: #c0b8c4;
  --r-primary: #ffad85;
  --r-aqua: #9ddbd5;
  display: grid;
  gap: 14px;
  color: var(--r-text);
}
.records * { min-width: 0; }
.records [hidden] { display: none !important; }
.records p { margin: 0; }
.records button { font: inherit; }
.r-sprite { display: block; object-fit: contain; image-rendering: pixelated; }
.r-topline, .r-tags, .r-controls, .r-filters { display: flex; align-items: center; gap: 8px; }
.r-topline { justify-content: space-between; font-size: 16px; font-weight: 750; }
.r-label { display: inline-block; font-size: 12px; font-weight: 650; color: #e4dce8; border: 1px solid #5e556a; background: #2d2b3a; padding: 3px 7px; border-radius: 3px; line-height: 1.3; }
.r-label.gold { color: #ffdeaa; border-color: #8a6a4c; background: #3a2f29; }
.r-label.cyan { color: #bcf4e9; border-color: #427970; background: #223a39; }
.records .r-primary, .records .r-secondary, .records .r-back {
  border: 1px solid #696071; border-bottom-width: 3px; border-radius: 4px; background: #30303e; color: var(--r-text);
  padding: 9px 13px; min-height: 42px; font-size: 15px; font-weight: 700;
}
.records .r-primary { background: #f5a17c; color: #342229; border-color: #ffc3a1 #cd8c74 #ad715f; }
.records button:hover:enabled { filter: brightness(1.12); }
.records button:disabled { cursor: not-allowed; }
.r-back { width: fit-content; }
.r-controls > * { flex: 1; }
.r-filters [aria-pressed=true] { background: #314144; border-color: #91cec8; color: #bde8e3; }

.r-era { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; }
.r-era span { font-size:14px; font-weight:700; color:var(--r-muted); }
.r-era select { width:100%; min-height:44px; padding:6px 8px; border:1px solid #6f7188; border-radius:4px; background:#252c3d; color:var(--r-text); font:650 16px var(--sans,sans-serif); }
.r-era select:focus-visible { outline:2px solid var(--r-aqua); outline-offset:2px; }
.records .r-era-toggle {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  min-height:44px; padding:7px 10px; border:1px solid #6f7188; border-radius:4px;
  background:#252c3d; color:var(--r-text); font-size:16px; line-height:1.3; text-align:left;
}
.r-era-toggle::after {
  content:""; width:7px; height:7px; flex:none; margin:0 2px;
  border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg);
}
.r-era-toggle[aria-expanded=true]::after { transform:rotate(225deg); }
.r-era-toggle small { white-space:nowrap; font-size:14px; }
.r-era-options {
  position:relative; grid-column:1 / -1; max-height:min(300px,36dvh);
  overflow-y:auto; overscroll-behavior:contain; border:1px solid #6f7188;
  border-radius:4px; background:var(--r-bg); padding:4px;
}
.r-era-group { padding:6px 8px 2px; font-size:13px; font-weight:700; color:var(--r-muted); }
.records .r-era-option {
  display:grid; grid-template-columns:14px 1fr auto; align-items:center; gap:7px;
  width:100%; min-height:44px; padding:6px 8px; border:1px solid transparent; border-radius:2px;
  background:none; color:var(--r-text); font-size:15px; line-height:1.35; text-align:left;
}
.r-era-option::before { content:""; }
.r-era-option small { font-size:13px; color:var(--r-muted); white-space:nowrap; }
.r-era-option[aria-current=true] { background:#283c40; border-color:#507d7b; }
.r-era-option[aria-current=true]::before { content:"✓"; color:var(--r-aqua); }
.r-era-toggle:focus-visible,.r-era-option:focus-visible { outline:2px solid var(--r-aqua); outline-offset:-2px; }
.r-lab-window {
  overflow:hidden; border:1px solid #756479; border-radius:4px;
  background:linear-gradient(180deg,#151226a6 0%,#231d3ac2 53%,#211d30 83%),
    #211e33 url("art/hatchery-interior.png") center 57% / cover no-repeat;
}
.r-showcase-head {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 9px;
  margin:0; padding:9px 12px; color:#ffe5bd; background:#1a1729b8; border-bottom:1px solid #bba1b632;
}
.r-showcase-head b { border-left:3px solid #efad75; padding-left:7px; font-size:14px; line-height:1.35; }
.r-showcase-head span { font-size:12px; color:#e9dac7; }
.r-showcase-lineup {
  display:grid; grid-auto-columns:minmax(0,1fr); grid-auto-flow:column; gap:4px;
  padding:9px 8px 11px;
}
.records .r-showcase-partner {
  display:grid; grid-template-rows:auto 1fr auto; justify-items:center; align-content:start; gap:3px;
  border:0; border-radius:3px; margin:0; padding:2px 3px 4px; background:transparent; color:#fff4dc;
}
.r-showcase-partner:focus-visible { outline:2px solid var(--r-aqua); outline-offset:-1px; }
.r-showcase-partner:hover, .r-showcase-partner:focus-visible { background-color:#a8dddb16; }
.r-showcase-perch {
  position:relative; display:grid; justify-items:center; align-items:end; padding:0 3px 5px; margin-bottom:3px;
}
.r-showcase-perch::before {
  content:""; position:absolute; bottom:0; width:100%; height:6px; border:1px solid #7dbfbd;
  border-bottom:3px solid #465564; background:#566f7d; border-radius:50%;
  box-shadow:0 2px 0 #151627,0 0 9px #92ecd74d;
}
.r-showcase-perch img {
  position:relative; width:64px; height:64px; object-fit:contain;
  filter:drop-shadow(0 2px 1px #171522);
}
.r-showcase-partner b { align-self:center; font-size:14px; line-height:1.3; overflow-wrap:anywhere; }
.r-showcase-partner small { color:#ffd299; font-size:12px; font-variant-numeric:tabular-nums; }
@media (max-width:480px) {
  .r-showcase-perch img { width:48px; height:48px; }
  .r-showcase-lineup { padding-inline:4px; gap:2px; }
  .r-showcase-partner b { font-size:13px; }
}
.r-footnote, .r-info, .r-result-note, .r-empty { font-size: 14px; color: var(--r-muted); line-height: 1.55; }
.r-exchange { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--r-border); padding-top: 10px; font-size: 14px; color: var(--r-muted); }
.r-exchange b { color: #e8c6a3; font-family: var(--mono,monospace); }
.r-exchange .r-secondary { font-size: 13px; min-height: 36px; padding: 6px 8px; }
.r-pity { display: grid; gap: 4px; }
.r-pity div { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.r-pity b { color: var(--r-aqua); font: 700 13px var(--mono,monospace); }
.r-pity p { font-size: 13px; color: var(--r-muted); }
.r-pity progress { display: block; width: 100%; height: 8px; border: 0; appearance: none; background: #121921; color: var(--r-aqua); }
.r-pity progress::-webkit-progress-bar { background: #121921; }
.r-pity progress::-webkit-progress-value { background: var(--r-aqua); }
.r-pity progress::-moz-progress-bar { background: var(--r-aqua); }
.r-odds, .r-inset { border: 1px solid var(--r-border); border-radius: 4px; background: var(--r-bg); padding: 12px; }
.r-odds summary { cursor: pointer; color: var(--r-aqua); font-size: 14px; font-weight: 650; }
.r-rate { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid #ffffff13; }
.r-rate:last-child { border-bottom: 0; }
.r-rate button { border: 0; background: none; padding: 2px 0; color: var(--r-aqua); text-decoration: underline; text-underline-offset: 3px; }
.r-odds .r-search { margin:10px 0 4px; }
.r-rate-scroll { max-height:min(300px,38dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
.r-rate button { display:flex; gap:7px; align-items:center; min-height:38px; text-align:left; }
.r-rate img { width:32px; height:32px; }

.r-rate small { margin-left: auto; color: var(--r-muted); font-size: 12px; }
.r-rate b { min-width: 45px; text-align: right; color: #ffcf9f; font: 650 14px var(--mono,monospace); }
.r-inset { display: grid; gap: 8px; }
.r-inset p { font-size: 14px; line-height: 1.55; color: var(--r-muted); }
.r-inset p:empty { display: none; }
.r-inset h3 { color: var(--r-text); font-size: 16px; }
.r-reveal { display: grid; justify-items: center; gap: 10px; text-align: center; }
.r-hatch-frame { position: relative; width: 100%; height: 160px; display: grid; place-items: center; overflow: hidden; border: 1px solid #78665e; border-radius: 3px;
  background-color: #282537; background-image: radial-gradient(#f5c6a455 1px,transparent 1px); background-size: 8px 8px; }
.r-flare { position: absolute; width: 125px; height: 100%; opacity: .68; background: radial-gradient(ellipse at center,#f9c0868f,transparent 69%); }
.r-hatch-frame img { position: absolute; width: 96px; height: 96px; }
.r-shell { animation: r-shell .72s steps(2,end) forwards; }
.r-born { animation: r-born 1.04s steps(5,end) both; }
.r-skip { padding: 4px 12px; font-size: 13px!important; border: 1px solid var(--r-border); border-radius: 2px; color: var(--r-muted); background: var(--r-face); }
.r-revealed { display: grid; justify-items: center; gap: 5px; animation: r-copy 1.04s steps(1,end) both; }
.r-revealed h3 { font-size: 26px; }
.r-revealed p { font-size: 14px; }
@keyframes r-shell { 0%,30% { transform: rotate(-8deg); } 18%,42% { transform: rotate(8deg); } 60% { transform: scale(1.07); filter: brightness(1.6); } 85%,100% { opacity: 0; } }
@keyframes r-born { 0%,65% { opacity: 0; transform: translateY(6px); } 71% { opacity: 1; filter: brightness(3); } 88% { transform: translateY(-4px); } 100% { opacity: 1; transform: none; } }
@keyframes r-copy { 0% { opacity: 0; } 100% { opacity: 1; } }
.is-skipped .r-shell { animation: none; opacity: 0; }
.is-skipped .r-revealed, .is-skipped .r-born { animation: none; opacity: 1; }
.r-team { display: grid; gap: 7px; }
.records .r-partner { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--r-border); border-radius: 4px; text-align: left; background: var(--r-bg); }
.r-partner[aria-pressed=true] { background: #263a39; border-color: #75aaa3; }
.r-partner img { width: 48px; height: 48px; }
.r-partner b, .r-partner small { display: block; }
.r-partner small { font-size: 13px; color: var(--r-muted); }
.r-partner em { margin-left: auto; color: var(--r-aqua); font-style: normal; font-size: 13px; white-space: nowrap; }
.r-search { font: inherit; font-size: 16px; width: 100%; border: 1px solid #666177; padding: 9px 10px; color: var(--r-text); background: var(--r-bg); border-radius: 4px; }
.r-search::placeholder { color: #b1aabb; }
.r-filters { flex-wrap: wrap; gap: 5px; }
.r-filters button { flex: auto; min-height: 34px; border: 1px solid var(--r-border); background: var(--r-bg); border-radius: 3px; padding: 4px 6px; font-size: 13px; }
.r-dex { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.records .r-entry {
  display:grid; grid-template-rows:64px auto auto; gap:4px; justify-items:center; align-content:start;
  border:1px solid #505764; border-radius:4px; background:#232b35; padding:7px 4px 6px;
}
.r-entry.owned { border-color:#719e8d; background:#243535; }
.r-entry.field { border-color:#897399; }
.r-entry.unknown img { filter:saturate(.22) brightness(.72); }
.r-entry img { width:64px; height:64px; }
.r-entry b { align-self:start; font-size:14px; line-height:1.35; }
.r-entry small { align-self:end; color:var(--r-muted); font-size:12px; }
.r-entry.owned small { color:#a6dbca; }
/* The specimen screen and its three reference pages. */
.r-dossier { display:grid; gap:10px; }
.dex-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dex-top .r-back { min-height:40px; padding:4px 0; border:0; color:var(--r-aqua); background:transparent; }
.dex-counter { color:#cfc4cd; font:700 14px var(--mono); font-variant-numeric:tabular-nums; }
.dex-device {
  border:2px solid #515768; border-radius:8px; padding:5px; color:#eee9d7;
  background:#555468; box-shadow:inset 0 2px #93939b,0 3px #1a1726;
}
.r-screen {
  position:relative; display:grid; grid-template-columns:48px minmax(0,1fr) 48px; place-items:center;
  min-height:174px; padding:18px 5px 8px; border:2px solid #273342; border-radius:4px 4px 0 0;
  background-color:#a7ccc0;
  background-image:radial-gradient(#587f773b 1px,transparent 1px),linear-gradient(160deg,#bdd7bb 0%,#9ac3b7 66%,#80aca6 100%);
  background-size:4px 4px,100% 100%; box-shadow:inset 0 2px #769990;
}
.dex-subject { display:grid; position:relative; place-items:center; }
.dex-subject::before {
  content:""; position:absolute; width:98px; height:6px; bottom:1px;
  border-inline:6px solid #809f91; box-shadow:0 2px #9ebeb1; background:#7f9d90;
}
.dex-subject img { position:relative; display:block; width:128px; height:128px; image-rendering:pixelated; }
.dex-status {
  position:absolute; inset:6px auto auto 7px; display:flex; align-items:center; gap:5px;
  padding:2px 7px; border:1px solid #53766d; background:#c7dcca; color:#243f3a; font-size:12px; font-weight:750;
}
.dex-status::before { content:""; width:5px; height:5px; background:currentColor; }
.dex-status.unknown::before { background:transparent; outline:1px solid currentColor; }
.records .dex-pager {
  align-self:center; width:44px; min-height:46px; padding:5px 1px; display:grid; gap:4px; place-content:center; justify-items:center;
  color:#314d46; font-size:12px; font-weight:750; background:#c4d9c8; border:1px solid #70968b; border-radius:3px; box-shadow:0 2px #81a99b;
}
.dex-pager:before { content:""; border-block:5px solid transparent; }
.dex-pager.prev:before { border-right:7px solid currentColor; }
.dex-pager.next:before { border-left:7px solid currentColor; }
.dex-pager:disabled { opacity:.35; }
.dex-identity {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 8px; align-items:center;
  padding:10px 12px; background:#262e3a; border-inline:2px solid #353e49; border-bottom:2px solid #353e49;
}
.dex-identity h3 { margin:0; color:#f9ead4; font-size:clamp(21px,5vw,28px); line-height:1.2; overflow-wrap:anywhere; }
.dex-identity h3:focus { outline:none; }
.dex-identity small { grid-column:1; overflow-wrap:anywhere; color:#b0c9c1; font:600 12px var(--mono); letter-spacing:.035em; }
.dex-identity p { grid-column:2; grid-row:1 / 3; display:grid; gap:2px; justify-items:end; }
.dex-identity p b { font-size:14px; color:#f6c6a3; }
.dex-identity p span { color:#acf0e0; font-size:13px; }
.records .dex-signature {
  width:100%; display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1.06fr); align-items:center; gap:9px; min-height:54px;
  border:1px solid #986955; border-left:4px solid #e9a278; border-radius:4px; background:#403139; color:#ffdbaf; padding:7px 10px; text-align:left;
}
.dex-play { width:22px; height:22px; display:grid; place-items:center; background:#ffbd89; color:#53343b; border-radius:3px; }
.dex-play:before { content:""; margin-left:2px; border-block:4px solid transparent; border-left:6px solid currentColor; }
.dex-signature small,.dex-signature strong { display:block; }
.dex-signature small { color:#d6b6ac; font-size:12px; }
.dex-signature strong { line-height:1.3; font-size:16px; }
.dex-signature em { text-align:right; text-wrap:balance; font-style:normal; font-size:13px; line-height:1.4; color:#e6cfc3; }
.dex-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid var(--r-border); }
.records .dex-tab { min-height:41px; border:0; border-bottom:3px solid transparent; color:var(--r-muted); background:transparent; font-size:15px; font-weight:700; }
.records .dex-tab[aria-pressed="true"] { border-bottom-color:#9edacb; background:#303c43; color:#c0f5e6; }
.dex-page { display:grid; gap:10px; }
.dex-caption,.dex-page h4 small { color:#c4bfbf; font-size:13px; }
.dex-stats { display:grid; grid-template-columns:1fr 1fr 1.15fr; margin:0; border:1px solid #54616b; border-radius:3px; background:#202933; }
.dex-stats div { padding:6px 9px; text-align:center; }
.dex-stats div+div { border-left:1px solid #4b525f; }
.dex-stats dt { font-size:13px; color:var(--r-muted); }
.dex-stats dd { margin:3px 0 0; font:750 19px var(--mono); color:#b1e9d9; }
.dex-more { border-top:1px solid var(--r-border); }
.dex-more summary { cursor:pointer; padding:9px 2px; font-size:14px; color:#cfc4cf; }
.dex-page h4 { margin:0; color:var(--r-text); font-size:15px; }
.dex-sources { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.records .dex-source,.records .dex-key {
  display:flex; align-items:center; gap:7px; min-height:40px; padding:5px 8px; text-align:left;
  border:1px solid #55606b; border-radius:3px; background:#28303a; color:#d0e6df; font-size:13px; font-weight:650;
}
.dex-source img { width:24px; height:24px; flex:none; }
.dex-motions { display:flex; flex-wrap:wrap; gap:5px; }
.r-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.r-table caption { font-weight: 700; font-size: 16px; text-align: left; margin-bottom: 6px; }
.r-table th, .r-table td { padding: 5px 7px; border-bottom: 1px solid var(--r-border); }
.r-table thead th { color: var(--r-muted); font-size: 13px; }
.r-table td { color: var(--r-aqua); font: 600 13px var(--mono,monospace); }
.r-lineage { display:grid; grid-template-columns:46px 1fr; align-items:start; gap:6px; }
.r-lineage>small { color:#c1cfc7; font-size:13px; padding-top:12px; }
.r-lineage>div { display:grid; gap:6px; position:relative; }
.r-lineage>div::before { content:""; position:absolute; inset:0 auto 50% 0; width:2px; background:#78988b; }
.r-lineage>div::after { content:""; position:absolute; inset:50% auto 0 0; width:2px; background:#78988b; }
.r-lineage button {
  position:relative; margin-left:12px; display:flex; align-items:center; gap:7px; min-height:42px; padding:4px 8px;
  border:1px solid #52615f; border-radius:3px; background:#293238; color:#d3e9db; font-size:14px;
}
.r-lineage button::before { content:""; position:absolute; top:50%; left:-13px; width:12px; height:2px; background:#78988b; }
.r-lineage img { width:32px; height:32px; }
.r-lineage button span { text-align:left; }
.r-lineage button small { display:block; font-size:12px; color:var(--r-muted); }
@media (max-width:380px) {
  .r-dex { gap: 5px; }
  .r-entry b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-shell { opacity: 0; animation: none; }
  .r-born, .r-revealed { opacity: 1; animation: none; }
  .r-skip { display: none; }
}

.r-choice { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid #ffffff15; padding-top: 6px; }
.r-choice-preview { display: flex; flex: 1; align-items: center; gap: 8px; min-height: 44px; color: var(--r-aqua); text-align: left; background: none; border: 0; padding: 2px; }
.r-choice-preview img { width: 32px; height: 32px; }
.r-choice-preview b, .r-choice-preview small { display: block; }
.r-choice-preview b { font-size: 14px; }
.r-choice-preview small { font-size: 12px; color: var(--r-muted); }
.r-choice .r-secondary { font-size: 13px; white-space: nowrap; }
.r-tags .r-label { font-size: 12px; min-height: 30px; color: var(--r-aqua); }

.r-scope { font-size: 13px; color: var(--r-muted); }
.r-scope summary { cursor: pointer; width: fit-content; }
.r-scope p { margin-top: 5px; line-height: 1.5; }

/* Field supply counter */
.wallet-coin i { color:#a37423; }
.market { gap:12px; }
.market-wallet {
  display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 14px;
  border:1px solid #a07d51; border-left:4px solid #efbe78; border-radius:3px;
  background:linear-gradient(110deg,#443438,#332b36 68%,#302936);
}
.market-wallet>div {display:grid; gap:2px;}
.market-wallet span,.market-wallet p {color:#e6cdb3; font-size:13px; line-height:1.5;}
.market-wallet p {text-align:right;}
.market-wallet strong {display:flex; align-items:center; gap:7px; color:#ffda98; font:800 25px/1.15 var(--mono,monospace);}
.market-wallet i svg {width:23px;height:23px;}
.market-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid #6b5f75;}
.records .market-tabs button {
  min-height:44px;padding:8px 2px;border:0;border-bottom:3px solid transparent;background:transparent;
  color:#cfc6d5;font-size:15px;font-weight:700;
}
.market-tabs button[aria-pressed=true] {color:#ffe0aa;border-bottom-color:#f3ba83;background:#383041;}
.market-stock {display:grid;gap:0;border:1px solid #5e526a;border-radius:4px;background:#222131;}
.market-stock h3,.market-period {margin:0;padding:12px 11px 0;}
.market-stock h3 {line-height:1.35;}
.market-period {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.market-period h3 {padding:0;}
.market-period small {font-size:12px;color:#c5d9d6;}
.market .market-note,.market .market-empty {padding:5px 11px 10px;font-size:13px;line-height:1.5;color:#c4bdcc;}
.market .market-partner {padding:0 11px 10px;margin:0;color:#bbdbd5;font-size:13px;}
.market .market-empty {border-top:1px solid #473e54;padding-block:12px;}
.market-row {
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;
  padding:11px 10px;border-top:1px solid #494155;
}
.market-art {width:32px;height:32px;display:block;justify-self:center;image-rendering:pixelated;object-fit:contain;}
.market-product h4 {margin:0;font-size:16px;line-height:1.35;color:#fff0d8;overflow-wrap:anywhere;}
.market-product small {display:block;color:#b5d5d0;font-size:12px;margin:1px 0 2px;}
.market-product p,.market-index li p {color:#d7cfdb;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.records .market-action {
  min-height:40px;padding:5px 8px;border:1px solid #be9b76;border-bottom:3px solid #a17759;
  background:#583e3b;color:#ffe1b9;border-radius:3px;font-size:13px;font-weight:750;white-space:nowrap;
}
.records .market-action:disabled {color:#c0b6c1;border-color:#5f5562;background:#36313c;opacity:1;}
.market-owned {color:#9dded4;font-size:13px;}
.market-action:focus-visible,.market-tabs button:focus-visible,.market-select select:focus-visible {outline:2px solid var(--r-aqua);outline-offset:1px;}
.market-index {border:1px solid #5e526a;border-radius:4px;padding:8px 11px;background:#222131;}
.market-index summary {cursor:pointer;min-height:36px;align-content:center;font-weight:700;font-size:14px;color:#e7d4ba;}
.market-index details {border-top:1px solid #494155;padding-block:2px;}
.market-index details summary {color:#bfd8d4;font-size:13px;}
.market-index ul {list-style:none;padding:0 2px;margin:0;}
.market-index li {display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:8px 0;border-top:1px solid #403b49;}
.market-index li strong {font-size:14px;}
.market-index li b {font-size:12px;color:#e8ca9f;}
.market-index li small,.market-index li p {grid-column:1/-1;}
.market-index li small {font-size:12px;color:#add3ce;}
.market-select {display:grid;gap:6px;margin:8px 11px 3px;font-size:13px;color:#d8ccdb;}
.market-select select {width:100%;min-height:42px;font:inherit;font-size:16px;padding:5px 8px;color:#ffe8c9;background:#2c2a3c;border:1px solid #75697d;border-radius:3px;}
.market .market-feedback {position:sticky;top:3px;z-index:2;margin:0;padding:8px 10px;font-size:14px;background:#2e413f;color:#d4fcf1;border:1px solid #739d94;border-radius:3px;}
.r-shop-access {margin-top:2px;}
@media (max-width:400px) {
  .mastrow .brandwords span {display:none;}
  .mastrow .brandwords canvas {width:64px;height:9px;}
  .mastrow .brand {gap:4px;}
  .market-row {grid-template-columns:32px minmax(0,1fr) auto;gap:5px;padding-inline:7px;}
  .market-product h4 {font-size:15px;}
}
@media (max-width:350px) {
  .mastrow .brand>img {display:none;}
  .pagetitle {flex-wrap:wrap;row-gap:6px;}
}
