/* Year collections are separate views with direct year navigation. */
:root { --paper: #f5f5f5; --paper2: #fff; --ink: #252525; --muted: #737373; --red: #d71920; --red2: #efaaaa; --line: #dedede; --green: #39714b; --gold: #d5a12a; --shadow: 0 8px 24px #00000012; }
body { font-family: Arial, 'Noto Sans TC', sans-serif; }
.topbar { background: #fff; }
.brand-mark { border-radius: 8px; background: var(--red); }
.hero { background: #fff; }
.hero:after { color: #eeeeee; }
.hero h1 em { color: var(--red); }
.year-card { background: #fff; border-top: 3px solid var(--red); box-shadow: 0 2px 8px #0000000c; }
.year-card:hover, .year-card.active { box-shadow: 0 8px 22px #00000016; }
.collection { background: transparent; }
.year-tab { background: #fff; }
.prize-board { background: #f1f1f1; border-color: #d5d5d5; box-shadow: inset 0 0 0 7px #fafafa; }
.prize { background: #fff; border-color: #d7d7d7; }
.draw-panel { background: #fff; border-color: #ddd; }
.draw-box { background: linear-gradient(145deg, #ef494e, #c71019); border-color: #ffcccc; box-shadow: inset 0 0 0 2px #a80810, 0 8px 16px #00000018; }
.draw-box:before { background: #fff; border-color: #ad1018; }
.primary-btn { background: var(--red); box-shadow: 0 4px 0 #a40e15; }
.primary-btn:hover { background: #b71118; box-shadow: 0 3px 0 #a40e15; }
.box-art { background: #fff1f1; border-color: #f0c4c5; }
.blind-box.opened .box-art { background: #fff6df; border-color: #e2ca94; }
body.showing-year .hero,
body.showing-year .year-section { display: none; }
body.showing-year .collection { display: block; max-width: 1120px; margin: auto; border-top: 0; padding-top: 25px; }
.year-tabs { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 0 0 15px; margin-bottom: 28px; }
.back-home { border: 0; background: none; padding: 8px 12px 8px 0; color: var(--red); font-size: 12px; white-space: nowrap; }
.year-tab-list { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; flex: 1; }
.year-tab { border: 1px solid var(--line); background: #fbf6ec; padding: 7px 12px; color: var(--muted); font-size: 11px; white-space: nowrap; min-width: 84px; }
.year-tab small { font: 10px 'DM Mono', monospace; color: var(--red); margin-right: 7px; }
.year-tab.active { background: var(--red); border-color: var(--red); color: white; }
.year-tab.active small { color: #f3d9c9; }
.year-tab:hover:not(.active) { border-color: var(--red); color: var(--ink); }
.year-settings { display: grid; gap: 12px; }
.year-setting-row { display: grid; grid-template-columns: 1.3fr 1fr .55fr; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); }
.text-label-setting { margin-top: 16px; }
.year-setting-row .field input, .year-setting-row .field select { min-width: 0; }
.last-prize-card { grid-column: 1 / -1; min-height: 120px; display: flex; align-items: center; gap: 12px; border: 2px solid #d7a13a; background: #fff9e9; }
.last-prize-card .prize-label { color: #9b6b12; font-weight: 700; }
.last-prize-card img { width: 68px; height: 68px; object-fit: cover; border-radius: 4px; }
.surprise-box .box-art img { width: 74%; height: 74%; object-fit: contain; z-index: 1; }
.last-prize-question { display: grid; place-items: center; width: 68px; height: 68px; background: #f3e2bb; color: #a87918; font-size: 32px; }
.last-prize-image { display: block; max-width: 100%; max-height: 420px; object-fit: contain; margin: 18px auto; background: #f5f1e8; }
.last-prize-preview { display: block; max-width: min(260px, 100%); max-height: 260px; object-fit: contain; margin: 16px 0 9px; border: 1px solid var(--line); }
.primary-btn:disabled { background: #999; box-shadow: none; cursor: default; transform: none; }
@media (max-width: 560px) {
  .year-tabs { display: block; margin-bottom: 23px; }
  .back-home { margin-bottom: 7px; }
  .year-tab-list { margin-right: -17px; padding-bottom: 5px; }
  .year-tab { min-width: 75px; padding: 7px 9px; }
  .year-setting-row { grid-template-columns: 1fr 1fr; }
  .year-setting-row .field:first-child { grid-column: 1 / -1; }
}
