
:root {
  --background: #f5faed; --surface: #fff; --paper: #f9fcf4;
  --pine: #315624; --pine-soft: #526057; --lime-soft: #e9f4dd;
  --ink: #202322; --muted: #68736b; --border: #dce9d0;
  --composer: #eef6e6; --on-accent: #fff; --error: #a04444;
  --tag-neutral-bg: #e9eeea; --tag-neutral: #34443a;
  --tag-brand-bg: #eee5f7; --tag-brand: #522d68;
  --tag-manufacturer-bg: #faead9; --tag-manufacturer: #68401f;
  --tag-character-bg: #f7e6ed; --tag-character: #702b4a;
  --tag-ip-bg: #e1ebfc; --tag-ip: #173e73;
  --radius-tag: 6px; --radius-card: 24px; --radius-control: 18px;
  --page: 1160px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--background); color: var(--ink);
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Hiragino Sans", sans-serif;
}
a { color: var(--pine); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 8px; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 0 0 8px; }
.topbar { border-bottom: 1px solid var(--border); background: var(--background); }
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.brand {
  display: flex; align-items: center; gap: 7px; min-height: 44px;
  color: var(--pine); font-size: 16px; font-weight: 700; text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 35px; height: 35px; border-radius: 50%; }
.search { flex: 3; display: flex; max-width: 620px; margin: 0 auto; min-width: 0; }
.search input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; font: inherit;
  font-size: 15px; color: var(--ink); background: var(--composer);
  border: 1px solid var(--border); border-right: 0;
  border-radius: 14px 0 0 14px;
}
.search button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 0 14px 14px 0;
  background: var(--pine); color: var(--on-accent); font: inherit; font-weight: 700;
  cursor: pointer;
}
.service-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.service-nav a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px;
  border-radius: 99px; color: var(--pine-soft); font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.service-nav a:hover, .service-nav a:focus-visible { background: var(--lime-soft); color: var(--pine); }
.service-nav a[aria-current="page"] { background: var(--pine); color: var(--on-accent); }
@media (max-width: 740px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 6px; }
  .service-nav {
    flex-basis: 100%; flex-wrap: nowrap; justify-content: center;
    overflow-x: auto; scrollbar-width: none;
  }
  .service-nav::-webkit-scrollbar { display: none; }
  .service-nav a { min-height: 32px; padding: 0 12px; }
}
.home-hero { max-width: 680px; margin: 24px auto 40px; text-align: center; }
.home-hero .home-mascot { width: 72px; height: 72px; border-radius: 50%; }
.home-hero h1 { font-size: 30px; margin: 10px 0 6px; }
.home-lead { font-size: 16px; color: var(--pine-soft); margin: 0 0 20px; }
.home-search { display: flex; max-width: 640px; margin: 0 auto; }
.home-search input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 20px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-right: 0;
  border-radius: 27px 0 0 27px; box-shadow: 0 1px 6px rgba(32, 35, 34, .08);
}
.home-search button {
  min-height: 54px; padding: 0 22px; border: 0; border-radius: 0 27px 27px 0;
  background: var(--pine); color: var(--on-accent); font: inherit; font-weight: 700; cursor: pointer;
}
.home-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.home-examples a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--composer);
  color: var(--ink); text-decoration: none; font-size: 13px;
}
.home-examples a:hover, .home-examples a:focus-visible { background: var(--lime-soft); color: var(--pine); }
.home-features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: left; }
.home-features li { font-size: 13px; color: var(--muted); }
.home-features strong { display: block; color: var(--pine); font-size: 14px; }
.home-section { margin: 0 0 28px; }
.home-section h2 { font-size: 18px; margin: 0 0 12px; }
.home-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 18px 0 0; font-weight: 700; }
@media (max-width: 640px) {
  .home-hero { margin: 8px auto 28px; }
  .home-hero h1 { font-size: 24px; }
  .home-features { grid-template-columns: 1fr; text-align: center; }
}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.catalog-grid .card-link, .catalog-grid .product-row {
  display: grid; gap: 3px; height: 100%; align-content: start;
  color: inherit; text-decoration: none;
}
.catalog-grid .card-link:hover strong, .catalog-grid .card-link:focus-visible strong,
.catalog-grid .product-row:hover strong, .catalog-grid .product-row:focus-visible strong {
  text-decoration: underline;
}
.catalog-grid .row-thumbnail { margin-bottom: 6px; }
@media (max-width: 520px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .catalog-grid > li.card, .catalog-grid > li > .card { padding: 10px; border-radius: var(--radius-control); }
  .catalog-grid .card-tile { font-size: 40px; }
  .catalog-grid strong { font-size: 13px; }
}
.card-label, .card-detail { font-size: 13px; }
.card-tile {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1; border-radius: 10px;
  font-size: 56px; font-weight: 700; line-height: 1;
  background: var(--tag-neutral-bg); color: var(--tag-neutral);
}
.card-tile[data-kind="character"] { background: var(--tag-character-bg); color: var(--tag-character); }
.card-tile[data-kind="ip"] { background: var(--tag-ip-bg); color: var(--tag-ip); }
.card-tile[data-kind="brand"] { background: var(--tag-brand-bg); color: var(--tag-brand); }
.card-tile[data-kind="manufacturer"] { background: var(--tag-manufacturer-bg); color: var(--tag-manufacturer); }
.card-tile[data-kind="song"], .card-tile[data-kind="artist"] { background: var(--lime-soft); color: var(--pine); }
.catalog-grid a { overflow-wrap: anywhere; }
.row-thumbnail { display: block; width: 100%; }
.row-thumbnail img, img.row-thumbnail {
  display: block; width: 100%; aspect-ratio: 1; object-fit: contain;
  border-radius: 10px; background: var(--background);
}
/* Figures on a character, IP, brand or maker page: a card grid like the home page. */
.grid.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.product-grid > li.card {
  display: flex; flex-direction: column; gap: 8px; padding: 12px;
  border-radius: var(--radius-control);
}
.product-grid .product-row { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.product-grid .product-row:hover strong, .product-grid .product-row:focus-visible strong { text-decoration: underline; }
.product-grid .product-row strong { color: var(--pine); }
.product-grid .product-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.product-grid .product-text .muted:empty { display: none; }
.product-grid > li > a { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-grid > li.card { padding: 10px; }
  .product-grid .product-row strong { font-size: 13px; }
}
.grid.related-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 8px; }
.related-grid > li.card { padding: 10px 14px; border-radius: var(--radius-control); background: var(--composer); }
.related-grid p { margin: 2px 0 0; font-size: 13px; }
.music-artwork { width: 112px; flex-shrink: 0; }
.music-artwork img { display: block; border-radius: 12px; }
.music-artwork a { font-size: 12px; }
.music-bio { white-space: pre-wrap; }
.study h2 { margin-top: 0; }
.study-credit { font-weight: 700; }
.study-terms { font-size: 13px; }
.study-controls { display: flex; gap: 16px; margin: 8px 0; }
.study-lines { list-style: none; padding: 0; margin: 0; }
.study-section { color: var(--muted); font-size: 12px; font-weight: 700; margin: 16px 0 4px; }
.study-line { border-top: 1px solid var(--border); }
.study-line summary { cursor: pointer; padding: 8px 0; list-style: none; }
.study-line summary::-webkit-details-marker { display: none; }
.study-ja { display: block; font-size: 18px; line-height: 2; }
.study-ja rt { font-size: 10px; color: var(--muted); }
.study-ko { display: block; color: var(--pine-soft); }
.study.hide-furigana rt { visibility: hidden; }
.study.hide-translation .study-ko { display: none; }
.study-detail { padding: 0 0 12px; }
.study-words { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.study-words li { display: grid; grid-template-columns: minmax(64px, auto) 1fr auto; gap: 2px 12px; align-items: baseline;
  background: var(--paper); border-radius: var(--radius-control); padding: 6px 10px; }
.study-word { font-size: 17px; grid-row: span 2; }
.study-meta { font-size: 12px; color: var(--muted); }
.study-gloss { grid-column: 2; }
.study-save { grid-column: 3; grid-row: 1 / span 2; background: none; border: 0; font-size: 20px; color: var(--pine); cursor: pointer; }
.study-note { background: var(--lime-soft); border-radius: var(--radius-control); padding: 10px 12px; }
.study-note small { display: block; margin-top: 4px; }
.study-vocab { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 12px; }
.words-review { background: var(--paper); border-radius: var(--radius-control); padding: 12px 16px; margin: 16px 0; }
.words-review-word { font-size: 28px; margin: 0; }
.words-review-line { margin: 4px 0 8px; }
.words-review-actions { display: flex; gap: 8px; margin-top: 8px; }
.words-list { list-style: none; padding: 0; }
.words-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.words-word { font-weight: 600; }
.words-line { flex-basis: 100%; }
main { flex: 1; width: min(100%, var(--page)); margin: 0 auto; padding: 16px; }
.muted { color: var(--muted); }
.section { margin: 24px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 16px;
}
.grid {
  display: grid; gap: 12px; padding: 0; margin: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.list { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: var(--radius-tag);
  font-size: 12px; text-decoration: none;
  background: var(--tag-neutral-bg); color: var(--tag-neutral);
}
.tag-brand { background: var(--tag-brand-bg); color: var(--tag-brand); }
.tag-manufacturer { background: var(--tag-manufacturer-bg); color: var(--tag-manufacturer); }
.tag-character { background: var(--tag-character-bg); color: var(--tag-character); }
.tag-ip { background: var(--tag-ip-bg); color: var(--tag-ip); }
.narrow { max-width: 800px; margin: 0 auto; }
.narrow.element-page { max-width: 1000px; }
.narrow.product { max-width: 960px; }
.card-link .card-label { display: block; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover h2, .card-link:focus-visible h2 { text-decoration: underline; }
.card-link h2 { color: var(--pine); font-size: 16px; }
.list > li.card, .list > li > .card { background: var(--composer); border-radius: var(--radius-control); }
.detail-header {
  display: flex; gap: 16px; align-items: center; margin-bottom: 16px;
}
.detail-label { color: var(--muted); font-weight: 700; margin: 0; }
.identifier { font-family: ui-monospace, monospace; color: var(--muted); }
.relationship { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; }
details > summary { cursor: pointer; color: var(--pine); }
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 16px; min-height: 44px; padding: 10px 16px;
  font-size: 13px; color: var(--pine);
}
.footer-inner a { white-space: nowrap; }
@media (max-width: 520px) {
  .footer-inner { gap: 2px 12px; padding: 8px 12px; font-size: 12px; }
}
.footer a { color: inherit; }
.policy-notice {
  background: var(--lime-soft); border-bottom: 1px solid var(--border);
  padding: 10px 16px; text-align: center;
}
.policy-notice ul {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px;
}
.policy-document { overflow-wrap: anywhere; line-height: 1.7; }
.policy-document h2 { margin-top: 1.5rem; }
.policy-document li + li { margin-top: 0.75rem; }
.policy-dates { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 8px; }
.policy-dates div { display: flex; align-items: baseline; gap: 6px; }
.policy-dates dt { font-weight: 600; }
.policy-dates dd { margin: 0; }
.policy-history { border-top: 1px solid var(--border); margin-top: 24px; }
/* Product facts */
.metadata { display: grid; gap: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-label { opacity: 0.8; }
.tag-featured {
  display: inline-flex; flex-direction: column; padding: 6px 10px;
  border-radius: 10px; font-size: 13px; line-height: 1.3;
}
.tag-featured .tag-label { font-size: 11px; font-weight: 600; }
.tag-featured .tag-value { font-weight: 700; }
a.tag-featured { flex-direction: row; align-items: center; gap: 6px; }
a.tag-featured > .tag-label { display: none; }
.tag-heading { color: var(--pine-soft); font-size: 12px; font-weight: 600; margin: 8px 0 4px; }
.thumbnail { flex: 0 0 82px; border-radius: 9px; overflow: hidden; background: var(--paper); }
.thumbnail img { display: block; width: 82px; height: 104px; object-fit: contain; }
.image-source { font-size: 12px; margin: -8px 0 8px; }
/* Product page: a large photo beside the name and classification. */
.product-top { display: grid; gap: 16px; margin-bottom: 8px; }
.product-photo { margin: 0; display: grid; gap: 6px; justify-items: center; }
.product-photo img {
  display: block; width: 100%; max-height: 240px; aspect-ratio: 1; object-fit: contain;
  border-radius: var(--radius-control); background: var(--surface); border: 1px solid var(--border);
}
.product-photo .image-source { margin: 0; }
.product-summary .detail-header { margin-bottom: 8px; }
.product-summary .section { margin: 16px 0; }
@media (min-width: 760px) {
  .product-top { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
  .product-top.no-photo { grid-template-columns: minmax(0, 1fr); }
  .product-photo img { max-height: none; }
  .product-summary .detail-header h1 { font-size: 26px; }
}
.facts p { margin: 0; }
.archive { font-size: 12px; line-height: 20px; color: var(--muted); }
/* Offer comparison */
.offers { margin: 24px 0; display: grid; gap: 8px; }
.offers-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.offers-heading h2 { margin: 0; }
.link-like { color: var(--pine); font-weight: 700; }
.quote {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 12px 16px; border-radius: var(--radius-control); background: var(--lime-soft);
}
.quote p { margin: 0; }
.quote-label { color: var(--pine-soft); font-size: 12px; font-weight: 700; margin: 0; }
.quote-price { font-size: 22px; font-weight: 800; color: var(--pine); }
.recommended {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-control);
  background: var(--surface);
}
.recommended p { margin: 0 0 4px; }
.recommended-head { display: flex; justify-content: space-between; gap: 8px; }
.recommended-price { font-size: 18px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 2px 8px; border-radius: 99px; font-size: 12px; background: var(--tag-neutral-bg); color: var(--tag-neutral); }
.chip.good { background: var(--lime-soft); color: var(--pine); }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.choice {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 99px; text-decoration: none; font-weight: 700;
}
.choice.selected { background: var(--lime-soft); border-color: var(--pine); }
/* One row of choices that scrolls sideways on a narrow screen. */
.choices-scroll {
  position: relative; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
}
.choices-scroll::-webkit-scrollbar { display: none; }
.choices-scroll .choice { flex-shrink: 0; white-space: nowrap; }
.offer-table { border-top: 1px solid var(--border); }
.offer { border-bottom: 1px solid var(--border); }
.offer-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px;
  align-items: start; padding: 12px 0; list-style: none; color: var(--ink);
}
.offer-row::-webkit-details-marker { display: none; }
.offer-seller, .offer-amount { display: flex; flex-direction: column; min-width: 0; }
.offer-amount { text-align: right; }
.offer-head { color: var(--muted); font-size: 12px; padding: 8px 0; }
.offer-toggle { color: var(--pine); font-weight: 700; white-space: nowrap; }
.offer-toggle::after { content: " ▾"; }
.offer[open] .offer-toggle::after { content: " ▴"; }
.trend.down { color: var(--pine); }
.trend.up { color: var(--error); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--composer); font-size: 12px; }
.record-details { padding: 0 0 12px; }
.record-details p { margin: 0 0 4px; }
.history-heading { margin-top: 8px !important; font-weight: 700; }
.detail-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.wide-only { display: none; }
@media (min-width: 660px) {
  .offer-row { grid-template-columns: minmax(0, 2fr) minmax(90px, 1fr) minmax(90px, 1fr) 96px auto; }
  .wide-only { display: block; }
  .narrow-only { display: none; }
}
/* Music recommendations */
.cross { border-top: 1px solid var(--border); padding-top: 12px; margin: 24px 0; display: grid; gap: 8px; }
.cross-boxed { border: 1px solid var(--border); border-radius: 16px; background: var(--composer); padding: 16px; }
.work-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  color: var(--ink); text-decoration: none;
}
.work-card:hover strong, .work-card:focus-visible strong { text-decoration: underline; }
.work-card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.work-mark { color: var(--pine); font-size: 18px; }
.music-link { font-weight: 700; }
/* Accounts and collections */
.account-page { max-width: 760px; margin: 8px auto; }
.account-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.account-form { display: grid; gap: 12px; margin: 16px 0; }
.account-form label { display: grid; gap: 4px; }
.account-form input[type="text"], .account-form input[type="number"],
.account-form input[type="date"], .account-form select, .account-form textarea {
  font: inherit; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface); color: var(--ink);
}
.account-form label:has(> input[type="checkbox"]) { display: inline; }
.consent { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin: 0; background: var(--surface); }
.consent ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: 13px; }
.account-hint { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.account-identity { font-weight: 700; }
.account-actions { display: flex; gap: 16px; align-items: center; }
.account-primary, .add-to-collection button {
  font: inherit; font-weight: 700; padding: 10px 16px; border: 0; border-radius: var(--radius-control);
  background: var(--pine); color: var(--on-accent); cursor: pointer; justify-self: start;
}
.account-danger { font: inherit; padding: 8px 14px; border: 1px solid var(--error); border-radius: var(--radius-control); background: none; color: var(--error); cursor: pointer; justify-self: start; }
.account-notice { padding: 10px 14px; border-radius: 12px; background: var(--lime-soft); }
.account-notice.error { background: #fbebeb; color: var(--error); }
.account-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.artist-song { border-top: 1px solid var(--line, #e4e1d8); padding: 8px 0; }
.artist-song h3 { margin: 4px 0 8px; font-size: 16px; }
.artist-pending { color: var(--error); font-weight: 600; }
.artist-changes { padding-left: 18px; }
.account-facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form { display: inline; }
.listening-tracks { display: grid; gap: 6px; padding-left: 18px; }
.add-to-collection { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.add-to-collection select { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.collection-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.collection-tabs a { padding: 4px 12px; border-radius: 99px; border: 1px solid var(--border); text-decoration: none; }
.collection-tabs a[aria-current="page"] { background: var(--pine); color: var(--on-accent); border-color: var(--pine); }
.collection-totals { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; padding: 12px 14px; border-radius: 14px; background: var(--composer); }
.collection-totals dd { margin: 0; font-weight: 700; }
.collection-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.collection-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
}
.collection-list li > span:empty { display: none; }
.collection-product { display: flex; gap: 10px; align-items: center; min-width: 0; color: var(--ink); grid-column: 1 / -1; }
.collection-thumb { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.collection-thumb img { width: 100%; height: 100%; object-fit: cover; }
h1 .collection-product { font-size: 20px; }
h1 .collection-thumb { width: 72px; height: 72px; }
.collection-status { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--tag-neutral-bg); color: var(--tag-neutral); justify-self: start; }
.collection-status.owned { background: var(--lime-soft); color: var(--pine); }
.collection-status.preordered { background: var(--tag-ip-bg); color: var(--tag-ip); }
.collection-status.wishlist { background: var(--tag-character-bg); color: var(--tag-character); }
.price-input { display: flex; gap: 8px; }
.price-input input { flex: 1; min-width: 0; }
@media (min-width: 660px) {
  .collection-list li { grid-template-columns: minmax(0, 3fr) auto 72px 110px 96px auto; }
  .collection-product { grid-column: auto; }
  .collection-list li > span:empty { display: block; }
}
@media (max-width: 619px) {
  .brand span { display: none; }
}
.guide-disclaimer {
  padding: 10px 12px; border-radius: var(--radius-control);
  background: var(--lime-soft); color: var(--pine-soft); font-size: 13px;
}
.guide { display: grid; gap: 8px; margin-top: 8px; }
.guide > * { margin: 0; }
.guide-terms { margin-top: 8px; }
.guide-terms > li { padding: 8px 0; border-top: 1px solid var(--border); }
.guide-terms .tags { margin: 4px 0; }
.guide-allowed { background: var(--lime-soft); color: var(--pine); }
.guide-conditional { background: var(--tag-manufacturer-bg); color: var(--tag-manufacturer); }
.guide-prohibited { background: var(--tag-character-bg); color: var(--tag-character); }
.guide-separate_permission { background: var(--tag-brand-bg); color: var(--tag-brand); }
