.clipboard-fallback { position: fixed; opacity: 0; pointer-events: none; }
  .goods-section { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
    .goods-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
    .goods-head h2 { margin: 0 0 7px; font: 700 26px Georgia, "Yu Mincho", serif; }
    .goods-head p { margin: 0; color: var(--muted); font-size: 13px; }
    .goods-controls { display: flex; gap: 8px; }
    .goods-controls input { min-width: 220px; padding: 9px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
    .goods-controls select { max-width: 190px; }
    .goods-list { display: grid; gap: 8px; }
    .goods-item { padding: 15px 17px; content-visibility: auto; contain-intrinsic-size: auto 150px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
    .goods-line {
      display: grid;
      grid-template-columns: minmax(220px, 1.6fr) minmax(120px, .8fr) minmax(100px, .6fr) 90px;
      align-items: center;
      gap: 18px;
    }
    .goods-title-row { min-width: 0; display: flex; align-items: start; gap: 7px; }
    .goods-name { min-width: 0; margin: 0 0 5px; overflow-wrap: anywhere; font-size: 15px; }
    .goods-name a { text-underline-offset: 4px; text-decoration-color: var(--line); }
    .goods-name a:hover { color: var(--cyan-dark); text-decoration-color: var(--cyan); }
    .goods-meta, .goods-category { color: var(--muted); font-size: 12px; }
    .goods-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
    .goods-personal-status-controls { margin-top: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
    .goods-personal-status-controls.variant { margin-top: 5px; }
    .goods-personal-status-control { min-height: 28px; padding: 4px 7px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); background: #f6f7f5; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; font-weight: 700; cursor: pointer; }
    .goods-personal-status-control input { width: 15px; height: 15px; margin: 0; accent-color: #24764f; cursor: pointer; }
    .goods-personal-status-control.purchased:has(input:checked) { color: #176344; background: #edf8f1; border-color: #add6bd; }
    .goods-personal-status-control.buyLater:has(input:checked) { color: #244f91; background: #eef4ff; border-color: #aec5eb; }
    .goods-personal-status-control.buyLater input { accent-color: #3566ad; }
    .goods-personal-status-control.hidden:has(input:checked) { color: #713b43; background: #fff0f1; border-color: #dfb1b7; }
    .goods-personal-status-control.hidden input { accent-color: #9b4b57; }
    .goods-category { display: flex; align-items: center; gap: 6px; }
    .goods-category code { color: var(--ink); font-family: Consolas, monospace; font-size: 11px; }
    .goods-status { width: max-content; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; font-size: 11px; }
    .goods-statuses { display: flex; flex-wrap: wrap; gap: 5px; }
    .goods-status.open { color: var(--cyan-dark); background: #e8f3f2; border-color: #bdd9d8; }
    .goods-status.pending, .goods-status.unknown { color: #675519; background: #fff8dc; border-color: #d9c878; }
    .goods-status.partial { color: #873d31; background: #fff0ec; border-color: #e8b9af; }
    .goods-status.sold-out, .variant-sold-out { color: #9e2418; background: #fff0ec; border-color: #e8b9af; font-weight: 700; }
    .goods-status.stale { color: #4f4b45; background: #f0eeea; border-color: #aaa39a; font-weight: 700; }
    .goods-status.review { color: #675519; background: #fff8dc; border-color: #d9c878; font-weight: 700; }
    .goods-updated { color: var(--muted); font-size: 11px; text-align: right; }
    .freshness-stale { color: #9e2418; font-weight: 700; }
    .goods-sales-period { margin: 10px 0 0; padding: 7px 9px; color: var(--cyan-dark); background: #eef7f6; border-left: 3px solid var(--cyan); font-size: 11px; font-weight: 700; }
    .copy-button { position: relative; width: 28px; height: 28px; flex: 0 0 28px; padding: 0; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 3px; }
    .copy-button:hover, .copy-button:focus-visible { color: var(--cyan-dark); background: #e8f3f2; border-color: #bdd9d8; outline: 0; }
    .copy-glyph::before, .copy-glyph::after { content: ""; position: absolute; width: 9px; height: 11px; border: 1.5px solid currentColor; border-radius: 1px; }
    .copy-glyph::before { top: 7px; left: 8px; }
    .copy-glyph::after { top: 10px; left: 11px; background: var(--surface); }
    .copy-button.copied { color: var(--surface); background: var(--cyan-dark); border-color: var(--cyan-dark); }
    .copy-button.copied .copy-glyph::before { width: 10px; height: 5px; top: 9px; left: 8px; border-width: 0 0 2px 2px; border-radius: 0; transform: rotate(-45deg); }
    .copy-button.copied .copy-glyph::after { display: none; }
    .goods-disclosure { margin-top: 12px; border-top: 1px solid var(--line); }
    .goods-disclosure summary { padding-top: 11px; display: flex; align-items: center; gap: 8px; color: var(--cyan-dark); cursor: pointer; font-size: 12px; font-weight: 700; }
    .goods-disclosure summary::marker { color: var(--cyan); }
    .goods-disclosure-count { color: var(--muted); font-size: 10px; font-weight: 400; }
    .goods-info { padding: 14px 0 2px; display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 18px 28px; }
    .goods-info-block { min-width: 0; }
    .goods-info-wide { grid-column: 1 / -1; }
    .goods-info h4 { margin: 0 0 9px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
    .goods-tags { display: flex; flex-wrap: wrap; gap: 5px; }
    .goods-tag { max-width: 100%; padding: 6px 10px; overflow-wrap: anywhere; color: var(--cyan-dark); background: #e8f3f2; border: 1px solid #bdd9d8; border-radius: 3px; font-size: 14px; }
    button.goods-tag { cursor: pointer; }
    button.goods-tag:hover, button.goods-tag:focus-visible { color: var(--surface); background: var(--cyan-dark); border-color: var(--cyan-dark); outline: 0; }
    .goods-inline-tag { max-width: 100%; padding: 5px 8px; overflow-wrap: anywhere; color: var(--cyan-dark); background: #e8f3f2; border: 1px solid #bdd9d8; border-radius: 3px; font-size: 13px; line-height: 1.25; }
    .goods-inline-tag:hover, .goods-inline-tag:focus-visible { color: var(--surface); background: var(--cyan-dark); border-color: var(--cyan-dark); outline: 0; }
    .goods-normalized-tag { max-width: 100%; padding: 6px 10px; overflow-wrap: anywhere; color: #873d31; background: #fff0ec; border: 1px solid #e8b9af; border-radius: 3px; font-size: 14px; }
    .goods-normalized-tag:hover, .goods-normalized-tag:focus-visible { color: var(--surface); background: var(--coral); border-color: var(--coral); outline: 0; }
    .goods-contents, .goods-set-lines { margin: 0; padding: 0; list-style: none; }
    .goods-variant-row { padding: 8px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
    .goods-variant-row:first-child { padding-top: 0; border-top: 0; }
    .goods-variant-name { display: flex; align-items: center; gap: 5px; overflow-wrap: anywhere; font-size: 12px; }
    .goods-variant-meta { margin-top: 2px; display: flex; align-items: center; flex-wrap: wrap; gap: 3px; color: var(--muted); font-size: 10px; }
    .variant-sold-out { margin-left: 4px; padding: 2px 5px; border: 1px solid #e8b9af; border-radius: 3px; font-size: 9px; }
    .goods-variant-price { color: var(--ink); font-family: Consolas, monospace; font-size: 11px; white-space: nowrap; }
    .goods-variant-specs { margin: 6px 0 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 8px; color: var(--muted); font-size: 10px; line-height: 1.55; }
    .goods-variant-specs dt { font-weight: 700; }
    .goods-variant-specs dd { margin: 0; overflow-wrap: anywhere; }
    .goods-set-lines li { margin: 4px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
    .goods-detail-line { display: block; }
    .goods-detail-credit-tags { margin: 4px 0 2px; display: flex; flex-wrap: wrap; gap: 4px; }
    .goods-detail-credit-tag { max-width: 100%; padding: 5px 8px; color: #873d31; background: #fff0ec; border: 1px solid #e8b9af; border-radius: 3px; font-size: 13px; }
    .goods-detail-credit-tag.company { color: #675519; background: #fff8dc; border-color: #d9c878; }
    .goods-detail-credit-tag:hover, .goods-detail-credit-tag:focus-visible { color: #fff; background: #9d493d; border-color: #9d493d; outline: 0; }
    .goods-detail-credit-tag.company:hover, .goods-detail-credit-tag.company:focus-visible { background: #78651f; border-color: #78651f; }
    .goods-spec-row { padding: 11px 0; border-top: 1px solid var(--line); }
    .goods-spec-head { display: flex; align-items: center; gap: 5px; }
    .goods-spec-head strong { overflow-wrap: anywhere; font-size: 12px; }
    .goods-specs { margin: 6px 0 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 3px 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
    .goods-specs dt { font-weight: 700; }
    .goods-specs dd { margin: 0; overflow-wrap: anywhere; }
    .goods-more { margin: 18px auto 0; padding: 10px 18px; display: none; color: var(--cyan-dark); background: var(--surface); border: 1px solid var(--cyan); border-radius: 4px; }
    .goods-more:hover { color: var(--surface); background: var(--cyan-dark); }
    .source-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.goods-active-filter-bar {
  position: sticky;
  top: 68px;
  z-index: 9;
  margin: 24px 0 16px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #edf3f1;
  border-block: 1px solid #cbd9d5;
  box-shadow: 0 5px 12px rgba(23, 32, 39, .08);
}
.goods-active-filter-bar[hidden] { display: none; }
.goods-active-filter-label { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.goods-active-filter-label h2 { margin: 0; font-size: 12px; }
.goods-active-filter-label span { color: var(--muted); font-size: 10px; }
.goods-active-filter-chips { min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.goods-active-filter-chip { max-width: 100%; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--cyan-dark); background: var(--surface); border: 1px solid #aac7c4; border-radius: 3px; font-size: 16px; }
.goods-active-filter-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-active-filter-chip b { color: var(--muted); font-size: 19px; line-height: 1; }
.goods-active-filter-chip:hover { color: #fff; background: var(--cyan-dark); border-color: var(--cyan-dark); }
.goods-active-filter-chip:hover b { color: inherit; }
.goods-filter-actions { display: flex; align-items: center; gap: 6px; }
.goods-filter-scroll-top { width: 32px; height: 32px; flex: 0 0 32px; padding: 0; display: grid; place-items: center; color: var(--cyan-dark); background: var(--surface); border: 1px solid #aac7c4; border-radius: 3px; font-size: 17px; font-weight: 700; line-height: 1; }
.goods-filter-scroll-top:hover, .goods-filter-scroll-top:focus-visible { color: #fff; background: var(--cyan-dark); border-color: var(--cyan-dark); outline: 0; }
.goods-filter-reset { min-height: 32px; padding: 6px 10px; color: #8f3e35; background: var(--surface); border: 1px solid #d9aaa3; border-radius: 3px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.goods-filter-reset:hover { color: #fff; background: #a8483c; border-color: #a8483c; }
.goods-filter-reset:disabled { cursor: default; opacity: .45; }
.floating-scroll-top { position: fixed; right: clamp(14px, 2vw, 28px); bottom: 20px; z-index: 20; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: #fff; background: rgba(18, 91, 100, .88); border: 1px solid rgba(255, 255, 255, .72); border-radius: 4px; box-shadow: 0 5px 16px rgba(23, 32, 39, .24); opacity: .58; font-size: 22px; font-weight: 700; line-height: 1; transition: opacity .16s ease, background-color .16s ease; }
.floating-scroll-top[hidden] { display: none; }
.floating-scroll-top:hover, .floating-scroll-top:focus-visible { background: var(--cyan-dark); opacity: 1; outline: 2px solid rgba(0, 127, 145, .28); outline-offset: 2px; }
.goods-search-panel { margin: 24px 0 12px; }
.goods-search-panel label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.goods-search-panel input { width: 100%; min-width: 0; height: 44px; padding: 10px 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.goods-search-panel input:focus { outline: 2px solid rgba(0, 127, 145, .22); border-color: var(--cyan); }
.goods-filter-panel { margin-bottom: 24px; padding: 18px; background: var(--surface); border: 1px solid var(--line); }
.goods-filter-toggle { display: none; }
.goods-filter-head { margin-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.goods-filter-head h2 { margin: 0; font: 700 20px Georgia, "Yu Mincho", serif; }
.goods-filter-head span { color: var(--muted); font-size: 11px; }
.goods-filter-controls { margin-bottom: 14px; display: grid; grid-template-columns: minmax(200px, 1.3fr) repeat(4, minmax(130px, .8fr)); align-items: end; gap: 12px; }
.goods-filter-controls label { min-width: 0; display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.goods-filter-controls input, .goods-filter-controls select { width: 100%; min-width: 0; height: 38px; padding: 8px 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.goods-filter-controls label[for="goodsTagSearch"] { grid-column: 1 / -2; }
.goods-filter-controls input:focus, .goods-filter-controls select:focus { outline: 2px solid rgba(0, 127, 145, .22); border-color: var(--cyan); }
.goods-tag-summary { align-self: center; color: var(--muted); font-size: 11px; }
.goods-tag-cloud { min-height: 32px; display: grid; gap: 14px; }
.goods-tag-category-section { display: grid; gap: 7px; }
.goods-tag-category-section > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.goods-tag-category-list { display: flex; flex-wrap: wrap; gap: 7px; }
.goods-tag-category-chip { min-height: 34px; padding: 7px 11px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); background: #eef0ee; border: 1px solid #cdd2cf; border-radius: 999px; font-size: 13px; font-weight: 700; }
.goods-tag-category-chip span { color: var(--muted); font-size: 10px; font-weight: 400; }
.goods-tag-category-chip.official { color: #675519; background: #fff8dc; border-color: #d9c878; }
.goods-tag-category-chip.unified { color: #873d31; background: #fff0ec; border-color: #e8b9af; }
.goods-tag-category-chip.talent { color: var(--cyan-dark); background: #e8f3f2; border-color: #bdd9d8; }
.goods-tag-category-chip.credit { color: #873d31; background: #fff0ec; border-color: #e8b9af; }
.goods-tag-category-chip.company { color: #675519; background: #fff8dc; border-color: #d9c878; }
.goods-tag-category-chip.media { color: #244f91; background: #eef4ff; border-color: #aec5eb; }
.goods-tag-category-chip:hover, .goods-tag-category-chip.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.goods-tag-category-chip:hover span, .goods-tag-category-chip.active span { color: rgba(255,255,255,.78); }
.goods-tag-discovery-menus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.goods-tag-discovery-menu summary { min-height: 48px; padding: 10px 42px 10px 14px; position: relative; display: grid; align-content: center; gap: 2px; color: #fff; background: var(--ink); cursor: pointer; list-style: none; }
.goods-random-tags-menu summary { background: var(--cyan-dark); }
.goods-tag-discovery-menu summary::-webkit-details-marker { display: none; }
.goods-tag-discovery-menu summary::after { content: "+"; position: absolute; right: 15px; top: 50%; font-size: 20px; font-weight: 700; transform: translateY(-50%); }
.goods-tag-discovery-menu[open] summary::after { content: "−"; }
.goods-tag-discovery-menu summary span { font-size: 13px; font-weight: 800; }
.goods-tag-discovery-menu summary small { color: rgba(255,255,255,.72); font-size: 10px; }
.goods-tag-discovery-options { padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-top: 0; }
.goods-random-tags-actions { width: 100%; display: flex; justify-content: flex-end; }
.goods-random-tags-refresh { min-height: 32px; padding: 5px 9px; display: inline-flex; align-items: center; gap: 6px; color: var(--cyan-dark); background: #edf6f5; border: 1px solid #aac7c4; border-radius: 3px; font-size: 18px; }
.goods-random-tags-refresh span { font-size: 10px; font-weight: 700; }
.goods-random-tags-refresh:hover { color: #fff; background: var(--cyan-dark); border-color: var(--cyan-dark); }
.goods-tag-section { display: grid; grid-template-columns: 1fr; gap: 7px; align-items: start; }
.goods-tag-section-head { padding-top: 5px; display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.goods-tag-section-head h3 { margin: 0; font-size: 11px; }
.goods-tag-section-head span { font-size: 9px; }
.goods-tag-section-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.goods-filter-tag { max-width: 100%; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; color: var(--cyan-dark); background: #e8f3f2; border: 1px solid #bdd9d8; border-radius: 3px; font-size: 14px; }
.goods-filter-tag .goods-tag-count { color: var(--muted); font-size: 13px; }
.goods-filter-tag:hover, .goods-filter-tag:focus-visible, .goods-filter-tag.active { color: #fff; background: var(--cyan-dark); border-color: var(--cyan-dark); outline: 0; }
.goods-filter-tag:hover .goods-tag-count, .goods-filter-tag.active .goods-tag-count { color: rgba(255,255,255,.76); }
.goods-filter-tag.official { color: #675519; background: #fff8dc; border-color: #d9c878; }
.goods-filter-tag.official:hover, .goods-filter-tag.official.active { color: #fff; background: #78651f; border-color: #78651f; }
.goods-filter-tag.credit { color: #873d31; background: #fff0ec; border-color: #e8b9af; }
.goods-filter-tag.credit:hover, .goods-filter-tag.credit.active { color: #fff; background: #9d493d; border-color: #9d493d; }
.goods-tag-empty { color: var(--muted); font-size: 11px; }
#goodsEmpty { display: none; }
.goods-results-head { margin: 28px 0 14px; }
.goods-results-head h2 { margin: 0 0 5px; font: 700 26px Georgia, "Yu Mincho", serif; }
.goods-results-head .summary { margin: 0; }
.goods-data-updated-at { margin-top: 5px; display: block; color: var(--cyan-dark); font-size: 11px; }
@media (max-width: 820px) {
  .goods-filter-controls { grid-template-columns: 1fr 1fr; }
  .goods-filter-controls label[for="goodsTagSearch"] { grid-column: 1 / -1; }
  .goods-line { grid-template-columns: 1fr 1fr; }
  .goods-updated { text-align: left; }
}
@media (max-width: 620px) {
  .goods-active-filter-bar { top: 49px; grid-template-columns: 1fr auto; }
  .goods-active-filter-chips { grid-column: 1 / -1; grid-row: 2; }
  .floating-scroll-top { left: 12px; right: auto; bottom: 14px; }
  .goods-search-panel { margin-top: 18px; }
  .goods-filter-panel { padding: 0; }
  .goods-filter-toggle { min-height: 52px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
  .goods-filter-toggle span { color: var(--ink); font-size: 13px; font-weight: 700; }
  .goods-filter-toggle small { color: var(--muted); font-size: 10px; text-align: right; }
  .goods-filter-panel[open] .goods-filter-toggle { border-bottom: 1px solid var(--line); }
  .goods-filter-body { padding: 16px; }
  .goods-filter-head { display: none; }
  .goods-filter-controls { grid-template-columns: 1fr; }
  .goods-filter-controls label[for="goodsTagSearch"] { grid-column: auto; }
  .goods-tag-discovery-menus { grid-template-columns: 1fr; }
  .goods-line { grid-template-columns: 1fr; gap: 8px; }
}
@media print {
  .goods-item { content-visibility: visible; contain-intrinsic-size: none; }
  .floating-scroll-top { display: none; }
}
