:root {
  --ink: #0f172a;
  --muted: #64748b;
  --lime: #0f172a;
  --lime-hover: #1e293b;
  --lime-dim: rgba(15, 23, 42, 0.06);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --panel: #ffffff;
  --panel-card: #f8fafc;
  --panel-card-hover: #f1f5f9;
  --bg: #ffffff;
  --max: 1240px;
  --danger: #ef4444;
  --success: #10b981;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", sans-serif;
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* 頂部導覽 Header */
.site-header {
  height: 84px;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: relative;
  z-index: 50;
}
.site-header__left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: #0f172a;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.04em;
  font-weight: 900;
  border-radius: 4px;
}
.site-header__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #475569;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  color: #0f172a;
  font-weight: 700;
}
.nav-ext-link {
  color: var(--muted) !important;
  font-size: 13px;
}

/* 幣別切換按鈕 */
.header-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-currency-btn:hover {
  background: #f1f5f9;
  border-color: var(--line-strong);
}
.header-currency-btn__label {
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
}
.header-currency-btn__flag { font-size: 14px; }
.header-currency-btn__arrow { color: var(--muted); font-size: 10px; }

/* 運送區與區域切換按鈕 */
.header-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-region-btn:hover {
  background: #f1f5f9;
  border-color: var(--line-strong);
}
.header-region-btn__icon {
  color: var(--muted);
  flex-shrink: 0;
}
.header-region-btn__label {
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
}
.header-region-btn__flag { font-size: 14px; }
.header-region-btn__arrow { color: var(--muted); font-size: 10px; }

/* 語言切換選單 */
.lang-selector-wrap {
  position: relative;
}
.header-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.header-lang-btn:hover {
  background: #f1f5f9;
  border-color: var(--line-strong);
}
.header-lang-btn__flag { font-size: 14px; }
.header-lang-btn__arrow { color: var(--muted); font-size: 10px; }

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  z-index: 200;
  max-height: 380px;
  overflow-y: auto;
}
.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s ease;
}
.lang-dropdown-item:hover {
  background: #f1f5f9;
  color: #000;
}
.lang-dropdown-item.is-active {
  background: #f0fdf4;
  font-weight: 700;
  color: #166534;
}
.lang-dropdown-item .lang-flag { font-size: 15px; }
.lang-dropdown-item .lang-native { flex: 1; white-space: nowrap; }
.lang-dropdown-item .lang-check { color: #16a34a; font-weight: 800; margin-left: 6px; }

/* 購物車按鈕 & 徽章 */
.header-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header-cart-btn:hover {
  border-color: var(--line-strong);
  background: #f1f5f9;
}
.header-cart-btn__icon { width: 18px; height: 18px; }
.header-cart-btn__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* 會員選單與登入註冊按鈕 */
.header-guest-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-login-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
}
.header-login-link:hover { color: #000; text-decoration: underline; }
.header-register-btn { padding: 0 16px; }

.header-user-dropdown {
  position: relative;
}
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  border-radius: 4px;
}
.header-user-btn:hover {
  border-color: var(--line-strong);
}
.header-user-avatar {
  width: 24px;
  height: 24px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.header-user-name {
  font-size: 13px;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-user-arrow { font-size: 10px; color: var(--muted); }

.header-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 100;
}
.header-user-menu[hidden] { display: none; }
.header-user-menu__info {
  padding: 8px 16px 10px;
}
.header-user-menu__info strong { display: block; font-size: 14px; color: #0f172a; }
.header-user-menu__info small { color: var(--muted); font-size: 11px; }
.header-user-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #334155;
  transition: background 0.15s ease, color 0.15s ease;
}
.header-user-menu a:hover {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
}
.header-user-menu__divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 6px 0;
}

/* 提示訊息 Toast & Flash */
.flash-toast {
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 0 28px;
}
.flash-toast__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 6px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 13px;
}
.flash-toast--error .flash-toast__inner {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.flash-toast--info .flash-toast__inner {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}
.flash-toast__inner p { margin: 0; flex: 1; }
.flash-toast__close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.app-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.app-toast.app-toast--show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 通用按鈕 & 標籤 */
.eyebrow {
  color: #64748b;
  font: 700 11px/1 Inter, sans-serif;
  letter-spacing: 0.2em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #0f172a;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.button:hover { background: #1e293b; color: #ffffff; }
.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.button--ghost:hover {
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
}
.button--full { width: 100%; }
.button--small { min-height: 36px; padding: 0 16px; font-size: 12px; }
.button--checkout {
  background: #0f172a;
  color: #ffffff;
  font-size: 15px;
  min-height: 52px;
}
.button--cart {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #ffffff;
  font-weight: 700;
}
.button--cart:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}
.button--buynow {
  background: #16a34a;
  border: 1px solid #16a34a;
  color: #ffffff;
  font-weight: 700;
}
.button--buynow:hover {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
.button--preview {
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #ffffff;
  font-weight: 700;
}
.button--preview:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}
.button--unboxing {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-weight: 700;
}
.button--unboxing:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.text-lime { color: #0f172a !important; font-weight: 700; }
.text-danger { color: var(--danger) !important; }
.text-right { text-align: right; }
.muted { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid var(--line);
}
.badge--lime {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.badge--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
}
.badge--warning {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.badge--digital {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.badge--nfc {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.badge--usb {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.badge--info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.badge--secondary {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.badge--danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.tag-promo {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
}

/* 價格標籤與卡片覆蓋層 */
.cover__price-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  background: rgba(220, 38, 38, 0.92);
  border: 1px solid #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.album-card__submeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.album-card__submeta a { font-size: 12px; color: var(--muted); }
.album-card__price { font-size: 12px; font-weight: 700; color: #dc2626; }

.explore-card__pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 8px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  gap: 8px;
}
.explore-card__price-badge { flex: 1; width: 100%; min-width: 0; }
.explore-card__price-badge small { display: block; font-size: 9px; color: var(--muted); margin-bottom: 4px; }
.explore-card__price-badge strong { font-size: 16px; color: #dc2626; font-weight: 800; }
.explore-card__specs-pricing {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-price-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.spec-price-item .btn-quick-cart {
  margin-left: auto;
}
.spec-label {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 800;
  border-radius: 3px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.spec-label--nfc {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.spec-label--usb {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.spec-amount {
  font-size: 13px;
  color: #dc2626;
  font-weight: 800;
}
.spec-stock {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
}
.spec-stock--in {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.spec-stock--out {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.explore-card__quick-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.btn-quick-cart {
  padding: 4px 8px;
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-quick-cart:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.btn-quick-cart--usb {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}
.btn-quick-cart--usb:hover {
  background: #b45309;
  color: #ffffff;
  border-color: #b45309;
}
.product-card__icon--usb {
  background: #f59e0b !important;
  color: #ffffff !important;
}

/* 專輯頁面商品卡與購買區塊 */
.album-products__region-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.region-pill {
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  border-radius: 20px;
}
.region-pill span { color: var(--muted); margin-left: 4px; }

.product-card__pricing {
  margin: 20px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-card__orig-price { color: #94a3b8; font-size: 14px; text-decoration: line-through; }
.product-card__price { font-size: 26px; font-weight: 900; color: #dc2626; }
.product-card__currency { font-size: 12px; color: var(--muted); }

.product-card__form { margin-top: auto; border-top: 1px solid var(--line); padding-top: 18px; }
.product-card__form-controls { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: end; }
.qty-control label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.qty-select {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0 8px;
  font-size: 14px;
  border-radius: 4px;
}
.product-card__btn-group { display: flex; gap: 8px; }
.product-card__btn-group .button { flex: 1; min-height: 44px; padding: 0 12px; font-size: 12px; }

/* 購物車側欄抽屜 Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  transition: opacity 0.3s ease;
}
.cart-drawer-overlay[hidden] { display: none; }
.cart-drawer {
  width: min(100vw, 440px);
  height: 100%;
  background: #ffffff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.cart-drawer__header {
  height: 70px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-drawer__title h3 { margin: 0; font-size: 17px; }
.cart-drawer__close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}
.cart-drawer__close:hover { color: var(--ink); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.cart-drawer__empty {
  text-align: center;
  padding: 60px 20px;
}
.cart-empty-icon { font-size: 48px; margin-bottom: 16px; }
.cart-drawer__empty h4 { font-size: 18px; margin: 0 0 8px; }
.cart-drawer__empty p { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

.cart-drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-item__cover {
  width: 64px;
  height: 64px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.cart-drawer-item__cover img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer-item__info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.3;
}
.cart-drawer-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cart-drawer-item__meta small { color: var(--muted); font-size: 11px; }
.cart-drawer-item__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cart-drawer-item__price { font-size: 14px; color: #dc2626; font-weight: 700; }

.quantity-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  border-radius: 4px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.qty-btn:hover { background: #f1f5f9; color: #0f172a; }
.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.cart-drawer-item__remove {
  background: none;
  border: 0;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
}
.cart-drawer-item__remove:hover { color: var(--danger); }

.cart-drawer__footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}
.summary-row--muted { color: var(--muted); }
.summary-row--total {
  font-size: 17px;
  font-weight: 800;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cart-drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

/* 區域切換 Modal */
.modal__panel--wide {
  width: min(94vw, 760px) !important;
  max-height: 88vh;
  overflow-y: auto;
  text-align: left !important;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.region-card-form { margin: 0; }
.region-card {
  width: 100%;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  transition: all 0.2s ease;
}
.region-card:hover {
  background: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.region-card--active {
  border-color: #0f172a;
  background: #f1f5f9;
}
.region-card__flag { font-size: 24px; }
.region-card__info { flex: 1; }
.region-card__info strong { display: block; font-size: 15px; color: #0f172a; }
.region-card__info small { color: var(--muted); font-size: 12px; }
.region-card__symbol { text-align: right; }
.region-card__symbol span { font-size: 16px; font-weight: 700; color: #dc2626; }
.region-card__check { display: block; font-size: 10px; color: #0f172a; font-weight: 700; }

/* 幣別切換 Modal */
.currency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.currency-card-form { margin: 0; }
.currency-card {
  width: 100%;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  transition: all 0.2s ease;
}
.currency-card:hover {
  background: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.currency-card--active {
  border-color: #0f172a;
  background: #f1f5f9;
}
.currency-card__flag { font-size: 24px; }
.currency-card__info { flex: 1; }
.currency-card__info strong { display: block; font-size: 15px; color: #0f172a; }
.currency-card__info small { color: var(--muted); font-size: 12px; }
.currency-card__symbol { text-align: right; }
.currency-card__symbol span { font-size: 16px; font-weight: 700; color: #dc2626; }
.currency-card__check { display: block; font-size: 10px; color: #0f172a; font-weight: 700; }

/* 登入與註冊頁面 */
.auth-page {
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
}
.auth-page--simple {
  display: flex;
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 100px;
}
.auth-page--simple .auth-card {
  width: min(100%, 460px);
}
.auth-page--simple .auth-card__header {
  text-align: center;
  margin-bottom: 24px;
}
.auth-page--simple .auth-card__header h1 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 6px;
}

.auth-card-wrap {
  width: 100%;
}
.auth-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.auth-card__header {
  margin-bottom: 24px;
  text-align: left;
}
.auth-card__header h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}
.auth-card__header p { color: var(--muted); font-size: 13px; margin: 0; }
.auth-error-alert {
  background: #fef2f2;
  border: 1px solid var(--danger);
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
}
.auth-form .form-group { margin-bottom: 18px; }
.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}
.form-group label small { color: var(--muted); font-weight: normal; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}
.input-disabled { opacity: 0.6; cursor: not-allowed; background: #f8fafc; }
.form-actions { margin-top: 26px; }
.auth-card__footer {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-card__tip { margin-top: 10px; font-size: 11px; }

/* 會員中心 Account Dashboard */
.account-page {
  max-width: var(--max);
  margin: auto;
  padding: 60px 28px 100px;
}
.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.account-header__main {
  display: flex;
  align-items: center;
  gap: 20px;
}
.account-avatar {
  width: 68px;
  height: 68px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
}
.account-info h1 { margin: 6px 0 8px; font-size: 32px; letter-spacing: -0.04em; }
.account-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.account-header__actions { display: flex; gap: 12px; }

.account-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
}
.account-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.account-card__head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.head-with-badge { display: flex; align-items: center; justify-content: space-between; }
.account-card__head h2 { margin: 0 0 4px; font-size: 20px; }
.account-card__head p { margin: 0; color: var(--muted); font-size: 12px; }

.empty-box {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.order-list { display: grid; gap: 16px; }
.order-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}
.order-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.order-card__no { display: block; font-size: 14px; font-weight: 700; }
.order-card__time { color: var(--muted); font-size: 11px; }
.order-card__items {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 4px 0;
}
.order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.order-card__total strong { color: #dc2626; font-size: 15px; font-weight: 800; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.collection-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.collection-card__info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.collection-card__info small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 8px; }

/* 購物車完整頁面 Full Cart Page */
.cart-page {
  max-width: var(--max);
  margin: auto;
  padding: 50px 28px 100px;
}
.cart-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cart-page__head h1 { margin: 10px 0 0; font-size: 38px; letter-spacing: -0.05em; }

.cart-empty-state {
  text-align: center;
  padding: 100px 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cart-empty-state h2 { font-size: 26px; margin: 12px 0 8px; }
.cart-empty-state p { color: var(--muted); margin-bottom: 28px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.cart-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  text-align: left;
  padding: 0 12px 14px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cart-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}
.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-product-media {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}
.cart-product-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-title strong { display: block; font-size: 14px; }
.cart-product-title small { color: var(--muted); font-size: 11px; }

.btn-remove {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.btn-remove:hover { border-color: var(--danger); color: var(--danger); }

.cart-actions-row {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
}

.cart-summary-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.cart-summary-card h2 { margin: 0 0 20px; font-size: 20px; }
.summary-list { margin-bottom: 24px; }
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
}
.summary-item--total {
  font-size: 18px;
  font-weight: 800;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.summary-currency-note { display: block; color: var(--muted); font-size: 11px; margin-top: 6px; }
.summary-divider { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.summary-login-tip { color: #b45309; font-size: 11px; margin-top: 10px; text-align: center; }

/* 購物車目的地國家與運費評估計算器 */
.cart-shipping-calculator {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.calc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.calc-icon { font-size: 20px; line-height: 1; }
.calc-title strong { display: block; font-size: 13px; color: #0f172a; font-weight: 700; }
.calc-title small { display: block; font-size: 11px; color: #64748b; margin-top: 1px; }
.calc-select-wrap { margin-bottom: 12px; }
.calc-select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.calc-shipping-info {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: #475569;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}
.calc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-meta-label { color: #64748b; }
.calc-meta-val { font-weight: 600; color: #1e293b; }
.calc-free-badge {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.calc-free-badge.notice {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.calc-free-badge.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* 結帳頁面 Checkout Page */
.checkout-page {
  max-width: var(--max);
  margin: auto;
  padding: 50px 28px 100px;
}
.checkout-page__head {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.checkout-page__head h1 { margin: 10px 0 6px; font-size: 38px; letter-spacing: -0.05em; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.checkout-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.step-badge {
  width: 28px;
  height: 28px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}
.checkout-card__head h2 { margin: 0; font-size: 19px; }

.section-note {
  background: #f8fafc;
  border-left: 3px solid #0f172a;
  padding: 10px 14px;
  font-size: 12px;
  color: #334155;
  margin-bottom: 18px;
}

.payment-options { display: grid; gap: 12px; }
.payment-option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.payment-option-card:hover { border-color: #0f172a; background: #ffffff; }
.payment-option-card input[type="radio"]:checked ~ .payment-option-info strong { color: #0f172a; }
.payment-option-card input[type="radio"] { margin-top: 4px; accent-color: #0f172a; }
.payment-option-title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.payment-option-title strong { font-size: 14px; }
.payment-option-info p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }

.checkout-items-list {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item__cover { width: 48px; height: 48px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.checkout-item__cover img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item__info strong { display: block; font-size: 13px; line-height: 1.3; }
.checkout-item__meta { display: flex; gap: 8px; margin: 3px 0; }
.checkout-item__meta small { color: var(--muted); }
.checkout-item__price { font-size: 12px; color: #dc2626; font-weight: 700; }
.checkout-submit-wrap { display: grid; gap: 10px; margin-top: 24px; }

/* 訂單成功、等待與明細頁面 */
.order-success-page,
.order-detail-page,
.order-waiting-page {
  max-width: 820px;
  margin: 50px auto 100px;
  padding: 0 24px;
}
.order-success-card,
.order-detail-card,
.order-waiting-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* LINE Pay 等待頁專屬樣式 */
.linepay-logo-badge {
  display: inline-block;
  background: #06c755;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.button--linepay {
  background: #06c755;
  border: 1px solid #06c755;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}
.button--linepay:hover {
  background: #05b04b;
  border-color: #05b04b;
  color: #ffffff;
}
.order-waiting-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0 32px;
}
.status-indicator-dot {
  width: 12px;
  height: 12px;
  background: #16a34a;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.order-waiting-status-banner strong {
  display: block;
  font-size: 15px;
  color: #166534;
}
.order-waiting-status-banner small {
  display: block;
  font-size: 11px;
  color: #15803d;
  margin-top: 2px;
}
.order-waiting-content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.order-qr-panel {
  text-align: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px;
}
.order-qr-panel h3 {
  margin: 0 0 14px;
  font-size: 14px;
  color: #0f172a;
}
.qr-canvas-box {
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  min-width: 244px;
  min-height: 244px;
}
.qr-canvas-box img,
.qr-canvas-box canvas {
  display: block;
  margin: auto;
}
.qr-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.order-mini-summary {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.order-mini-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}
.order-mini-summary .summary-row:last-child {
  margin-bottom: 0;
}
.order-amount-highlight {
  font-size: 18px;
  color: #dc2626 !important;
  font-weight: 900;
}
.summary-address {
  max-width: 260px;
  text-align: right;
  font-size: 12px;
  color: #334155;
}
.order-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-actions-stack .button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.poll-debug-log {
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
  font-family: monospace;
}
.order-sandbox-note {
  margin-top: 20px;
  background: #f8fafc;
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}
.order-sandbox-note strong {
  color: #0f172a;
  display: block;
  margin-bottom: 6px;
}
.order-sandbox-note ol {
  margin: 0;
  padding-left: 18px;
}
.order-sandbox-note li {
  margin-bottom: 4px;
}
@media (max-width: 760px) {
  .order-waiting-content-grid {
    grid-template-columns: 1fr;
  }
}
.order-success-icon {
  width: 60px;
  height: 60px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
}
.order-success-card h1,
.order-detail-card h1 {
  font-size: 34px;
  letter-spacing: -0.04em;
  margin: 10px 0 6px;
}
.order-details-box {
  margin: 28px 0;
  padding: 24px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-detail-header small,
.order-detail-meta-grid small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; }
.order-number { font-size: 18px; letter-spacing: 0.05em; font-weight: 700; }

.order-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.order-shipping-box {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 16px 0;
  font-size: 13px;
}
.order-items-heading { font-size: 16px; margin: 20px 0 12px; }
.order-items-table {
  width: 100%;
  border-collapse: collapse;
}
.order-items-table th,
.order-items-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}
.order-items-table th { font-size: 11px; color: var(--muted); }
.order-items-table td strong { display: block; font-size: 13px; }
.order-items-table td small { color: var(--muted); font-size: 11px; }
.tfoot-total td {
  border-top: 1px solid var(--line-strong);
  font-size: 15px;
  padding-top: 14px;
  font-weight: 700;
}
.item-title-flex { display: flex; align-items: center; gap: 10px; }
.item-mini-cover { width: 36px; height: 36px; object-fit: cover; border-radius: 2px; }
.order-success-actions,
.order-detail-actions { display: flex; gap: 14px; margin-top: 28px; }

/* 頁腳 Footer */
.site-footer {
  max-width: var(--max);
  margin: auto;
  padding: 70px 28px 50px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 60px;
  margin-bottom: 40px;
}
.site-footer__brand p { color: var(--muted); font-size: 13px; max-width: 380px; margin: 14px 0; }
.site-footer__domain code { background: #f1f5f9; padding: 2px 6px; border-radius: 3px; font-size: 11px; color: #0f172a; border: 1px solid var(--line); }
.site-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.site-footer__links-grid h4 { font-size: 13px; margin: 0 0 16px; color: var(--ink); letter-spacing: 0.05em; font-weight: 700; }
.site-footer__links-grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links-grid li { margin-bottom: 10px; }
.site-footer__links-grid a { color: var(--muted); font-size: 12px; }
.site-footer__links-grid a:hover { color: #0f172a; text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer-region-btn {
  background: none;
  border: 0;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* 頁面主要區塊與通用版面樣式 */
.hero { max-width: var(--max); min-height: 620px; margin: auto; padding: 72px 28px 60px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; overflow: hidden; background: #ffffff; }
.hero:before { content: "ALBUM KING"; position: absolute; left: -12px; top: 12px; font-size: 12vw; line-height: 1; font-weight: 900; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.035); white-space: nowrap; z-index: 0; pointer-events: none; }
.hero__copy { position: relative; z-index: 1; }
.hero__copy h1, .page-hero h1, .album-hero h1, .artist-hero h1 { font-size: clamp(48px, 6.5vw, 84px); line-height: 1.04; letter-spacing: -0.07em; margin: 20px 0; color: #0f172a; }
.hero__copy h1 em, .manifesto h2 em { font-family: Georgia, serif; font-weight: 400; color: #0f172a; font-style: italic; }
.hero__copy p { max-width: 500px; color: #64748b; font-size: 16px; margin: 0; }
.hero__actions { display: flex; gap: 28px; align-items: center; margin-top: 38px; }
.hero__album { width: min(100%, 430px); justify-self: end; position: relative; z-index: 1; }
.hero__now { position: absolute; right: -18px; bottom: -38px; width: 210px; padding: 19px 20px; background: #ffffff; color: #0f172a; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); border-radius: 4px; }
.hero__now > span { font-size: 8px; font-weight: 800; letter-spacing: 0.16em; color: #64748b; }
.hero__now i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; margin-right: 6px; }
.hero__now strong, .hero__now small { display: block; }
.hero__now strong { margin-top: 10px; font-size: 17px; }
.hero__now small { color: #64748b; }
.hero__scroll { position: absolute; left: 28px; bottom: 42px; writing-mode: vertical-rl; font-size: 8px; letter-spacing: 0.16em; color: #94a3b8; }
.hero__scroll span { height: 55px; border-left: 1px solid #0f172a; margin-top: 12px; }

.cover { aspect-ratio: 1; display: block; position: relative; overflow: hidden; background: #e2e8f0; border-radius: 4px; }
.cover:after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 50%, rgba(0, 0, 0, 0.45)); mix-blend-mode: multiply; }
.cover__grain { position: absolute; inset: 0; opacity: 0.2; background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px); background-size: 7px 7px; }
.cover__code { position: absolute; top: 8%; left: 8%; z-index: 2; font-weight: 800; letter-spacing: 0.15em; font-size: 12px; color: #ffffff; }
.cover__title { position: absolute; left: 8%; bottom: 7%; z-index: 2; font-weight: 800; font-size: clamp(21px, 2.2vw, 35px); letter-spacing: -0.05em; color: #ffffff; }
.cover--hero { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); }
.cover__media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cover--media { background: #e2e8f0; }
.cover--fallback { background: linear-gradient(135deg, #334155, #1e293b 52%, #475569); }

.section { max-width: var(--max); margin: auto; padding: 80px 28px; background: #ffffff; }
.section--tint { max-width: none; background: #f8fafc; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-left: max(28px, calc((100vw - 1240px)/2 + 28px)); padding-right: max(28px, calc((100vw - 1240px)/2 + 28px)); }
.section__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 42px; }
.section__head h2 { font-size: 38px; letter-spacing: -0.05em; margin: 12px 0 0; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.album-grid--four { grid-template-columns: repeat(4, 1fr); }
.album-card__meta { display: flex; justify-content: space-between; align-items: start; padding-top: 16px; }
.album-card h3 { font-size: 16px; margin: 0 0 2px; }
.album-card .arrow { color: #0f172a; }
.album-card:hover .cover { transform: translateY(-4px); }
.album-card .cover { transition: transform 0.25s ease; }

.manifesto { max-width: var(--max); margin: auto; padding: 100px 28px; display: grid; grid-template-columns: 70px 1fr 0.8fr; gap: 40px; align-items: end; border-bottom: 1px solid var(--line); background: #ffffff; }
.manifesto__number { font-family: Georgia, serif; color: #94a3b8; font-size: 24px; }
.manifesto h2 { font-size: 55px; line-height: 1.1; letter-spacing: -0.05em; margin: 18px 0 0; color: #0f172a; }
.manifesto p { color: #64748b; }

.page-hero { max-width: var(--max); margin: auto; padding: 64px 28px 36px; background: #ffffff; }
.explore-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: end; gap: 72px; position: relative; overflow: hidden; min-height: 320px; background: #ffffff; }
.explore-hero:before { content: "DISCOVER"; position: absolute; right: -18px; top: 12px; font-size: clamp(90px, 15vw, 205px); font-weight: 900; line-height: 1; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.04); pointer-events: none; }
.explore-hero__copy { position: relative; z-index: 1; }
.explore-hero__copy p { max-width: 560px; font-size: 16px; line-height: 1.8; color: #64748b; margin: 12px 0 0; }
.explore-hero__summary { position: relative; z-index: 1; padding: 25px 0 4px; border-top: 2px solid #0f172a; text-align: right; }
.explore-hero__summary span, .explore-hero__summary small { display: block; color: #64748b; font-size: 9px; letter-spacing: 0.15em; }
.explore-hero__summary strong { display: block; margin: 5px 0; color: #0f172a; font-size: 74px; line-height: 1; font-weight: 800; letter-spacing: -0.08em; }
.explore-section { max-width: var(--max); margin: auto; padding: 36px 28px 110px; background: #ffffff; }
.explore-toolbar { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.explore-toolbar h2 { margin: 11px 0 0; font-size: 29px; letter-spacing: -0.04em; }
.explore-toolbar p { margin: 0; color: #64748b; font-size: 11px; letter-spacing: 0.06em; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.explore-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.explore-card:hover, .explore-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--line-strong);
}
.explore-card__cover { transition: transform 0.25s ease; border-radius: 4px; }
.explore-card__open { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #0f172a; color: #ffffff; font-size: 8px; font-weight: 800; letter-spacing: 0.16em; opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; border-radius: 2px; }
.explore-card__open b { font-size: 15px; }
.explore-card:hover .explore-card__open, .explore-card:focus-within .explore-card__open { opacity: 1; transform: none; }
.explore-card__body { padding-top: 14px; }
.explore-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.explore-card h3 { margin: 0 0 3px; font-size: 16px; line-height: 1.35; letter-spacing: -0.02em; }
.explore-card__artist { color: #64748b; font-size: 12px; }
.explore-card__artist:hover, .explore-card h3 a:hover { color: #0f172a; text-decoration: underline; }
.explore-card__number { color: #94a3b8; font: 500 10px/1 Inter, sans-serif; letter-spacing: 0.1em; }
.explore-card__facts { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); color: #64748b; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; }
.explore-card__facts span + span:before { content: "·"; margin-right: 12px; color: #cbd5e1; }
.explore-endnote { margin-top: 88px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.explore-endnote span { color: #94a3b8; font-size: 8px; letter-spacing: 0.2em; }
.explore-endnote p { margin: 5px 0; color: #64748b; font-size: 12px; }

.detail-breadcrumb { max-width: var(--max); margin: 0 auto; padding: 30px 28px 0; display: flex; align-items: center; gap: 10px; color: #64748b; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: #ffffff; }
.detail-breadcrumb a { color: #0f172a; }
.detail-breadcrumb a:hover { text-decoration: underline; }
.detail-breadcrumb span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #94a3b8; }
.album-detail { max-width: var(--max); margin: auto; padding: 48px 28px 96px; display: grid; grid-template-columns: minmax(320px, 480px) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 96px); position: relative; background: #ffffff; }
.album-detail:before { content: "ALBUM"; position: absolute; right: 10px; top: 14px; font-size: 13vw; font-weight: 900; line-height: 1; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.035); z-index: 0; pointer-events: none; }
.album-detail__visual { position: relative; z-index: 1; }
.album-detail__edition { position: absolute; left: -18px; bottom: -27px; width: 188px; padding: 15px 18px; background: #0f172a; color: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); border-radius: 4px; }
.album-detail__edition span, .album-detail__edition strong { display: block; }
.album-detail__edition span { font-size: 8px; letter-spacing: 0.18em; color: #94a3b8; }
.album-detail__edition strong { margin-top: 2px; font-size: 12px; }
.album-detail__copy { position: relative; z-index: 1; }
.album-detail__copy h1 { margin: 22px 0 6px; font-size: clamp(58px, 7vw, 94px); line-height: 0.98; letter-spacing: -0.075em; color: #0f172a; }
.album-detail__description { max-width: 600px; margin: 4px 0 32px; color: #475569; font-size: 15px; line-height: 1.9; }
.album-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.album-metadata div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.album-metadata div:nth-child(odd) { padding-right: 20px; }
.album-metadata dt { color: #64748b; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.album-metadata dd { margin: 3px 0 0; color: #0f172a; font-size: 12px; font-weight: 600; }
.album-detail__actions { display: flex; gap: 16px; margin-top: 30px; }

.artist-profile { max-width: var(--max); margin: auto; padding: 48px 28px 72px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; background: #ffffff; }
.artist-portrait { aspect-ratio: 1; position: relative; overflow: hidden; background: #f1f5f9; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 4px; }
.artist-portrait__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.artist-portrait span { position: relative; z-index: 2; font-size: 48px; font-weight: 900; color: #0f172a; line-height: 1; }
.artist-portrait small { position: relative; z-index: 2; font-size: 8px; color: #64748b; letter-spacing: 0.14em; margin-top: 6px; }
.artist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-stats dt { font-size: 10px; color: #64748b; letter-spacing: 0.1em; text-transform: uppercase; }
.artist-stats dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.artist-social-chip { display: inline-flex; align-items: center; gap: 6px; }
.artist-social-chip svg { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.artist-social-chip:hover { background: #0f172a !important; color: #ffffff !important; border-color: #0f172a !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15,23,42,0.12); }
.artist-social-chip:hover span:last-child { color: #94a3b8 !important; }
.artist-card { transition: all 0.2s ease; }
.artist-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,0.08); border-color: #cbd5e1 !important; }
.artist-discography { max-width: var(--max); margin: auto; padding: 0 28px 110px; background: #ffffff; }

.track-catalog { max-width: var(--max); margin: auto; padding: 80px 28px 100px; background: #ffffff; }
.track-catalog__header, .album-products__header, .artist-discography__header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 37px; }
.track-catalog__header h2, .album-products__header h2, .artist-discography__header h2 { margin: 11px 0 0; font-size: 38px; letter-spacing: -0.05em; color: #0f172a; }
.track-catalog__header p, .album-products__header p, .artist-discography__header p { max-width: 360px; margin: 0; color: #64748b; font-size: 11px; text-align: right; }
.track-table__labels, .track-table li { 
  display: grid; 
  grid-template-columns: 48px minmax(0, 1fr) 130px 115px; 
  align-items: center; 
  gap: 24px; 
}
.track-table__labels { 
  padding: 0 14px 12px; 
  color: #64748b; 
  font-size: 9px; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  font-weight: 600;
}
.track-table__labels span:nth-child(3) { 
  text-align: right; 
  padding-right: 4px;
}
.track-table__labels span:nth-child(4) { 
  text-align: right; 
}
.track-table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track-table li { min-height: 84px; padding: 12px 14px; border-bottom: 1px solid var(--line); transition: background 0.2s ease; }
.track-table li:hover { background: #f8fafc; }
.track-table__number { color: #64748b; font: 500 11px Inter, sans-serif; }
.track-table__title strong, .track-table__title small, .track-table__plays small { display: block; }
.track-table__title strong { font-size: 16px; color: #0f172a; }
.track-table__title small { color: #64748b; font-size: 10px; margin-top: 2px; }
.track-table__plays { 
  text-align: right; 
  padding-right: 4px;
  white-space: nowrap;
}
.track-table__plays b { font-size: 12px; font-weight: 600; color: #0f172a; }
.track-table__plays small { color: #64748b; font-size: 9px; margin-top: 1px; }
.track-table .preview-button {
  justify-self: end;
  width: 100%;
  max-width: 115px;
  min-width: 90px;
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.track-table .preview-button span {
  color: #ffffff;
}
.track-table .preview-button:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.album-products { max-width: none; padding: 90px max(28px, calc((100vw - 1240px)/2 + 28px)) 110px; background: #f8fafc; border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { min-height: 390px; padding: 32px; display: flex; flex-direction: column; gap: 0; background: #ffffff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #0f172a; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); }
.product-card--physical { background: #ffffff; }
.product-card__top { display: flex; align-items: start; justify-content: space-between; }
.product-card__icon { width: 54px; height: 54px; display: grid; place-items: center; background: #0f172a; color: #ffffff; font-weight: 900; font-size: 12px; border-radius: 4px; }
.product-card__serial { color: #64748b; font-size: 8px; letter-spacing: 0.12em; }
.product-card__copy { margin-top: 24px; }
.product-card__copy h3 { margin: 8px 0 10px; font-size: 28px; letter-spacing: -0.04em; color: #0f172a; }
.product-card__copy p { max-width: 430px; margin: 0; color: #64748b; font-size: 13px; line-height: 1.8; }
.product-card__tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.product-card__tags span { padding: 5px 8px; border: 1px solid var(--line); color: #64748b; background: #f8fafc; font-size: 8px; letter-spacing: 0.08em; border-radius: 2px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); border: 0; }
.modal__panel { position: relative; width: min(92vw, 450px); padding: 40px; background: #ffffff; border: 1px solid var(--line); text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); border-radius: 8px; color: #0f172a; }
.modal__panel h2 { font-size: 25px; margin: 14px 0 2px; }
.modal__close { position: absolute; right: 14px; top: 12px; background: none; border: 0; color: #64748b; font-size: 28px; cursor: pointer; }
.modal__close:hover { color: #0f172a; }
.qr { display: grid; place-items: center; width: 216px; height: 216px; background: #ffffff; margin: 24px auto; padding: 16px; border: 1px solid var(--line); border-radius: 6px; }

/* ==========================================================================
   Compilation Tracklist Styles (合輯收錄專輯與可摺疊曲目樣式)
   ========================================================================== */
.compilation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.compilation-toolbar__info {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.compilation-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-compilation-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-compilation-action:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.compilation-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.compilation-disc-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compilation-disc-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.compilation-disc-card.is-expanded {
  border-color: #64748b;
}

.compilation-disc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #f8fafc;
  border-bottom: 1px solid transparent;
  gap: 16px;
  flex-wrap: wrap;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.compilation-disc-header:hover {
  background: #f1f5f9;
}

.compilation-disc-card.is-expanded .compilation-disc-header {
  border-bottom-color: var(--line);
  background: #f8fafc;
}

.compilation-disc-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.compilation-disc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 6px;
  flex-shrink: 0;
}

.compilation-disc-cover {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
}

.compilation-disc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compilation-disc-info {
  min-width: 0;
  flex: 1;
}

.compilation-disc-title {
  margin: 0 0 2px 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.compilation-disc-artist {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.compilation-disc-artist small {
  color: #94a3b8;
  font-size: 12px;
  margin-left: 4px;
}

.compilation-disc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.compilation-disc-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.compilation-disc-pill--code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f1f5f9;
  color: #475569;
}

.compilation-disc-pill--draft {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
  font-weight: 700;
}

.compilation-disc-extlink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.compilation-disc-extlink:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

.compilation-disc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.compilation-disc-toggle-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.toggle-chevron {
  display: inline-block;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.compilation-disc-card.is-expanded .toggle-chevron {
  transform: rotate(180deg);
}

.compilation-disc-body {
  border-top: 0;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.compilation-disc-card .track-table {
  border-top: 0;
}

.compilation-disc-card .track-table li:last-child {
  border-bottom: 0;
}

/* Responsive 響應式佈局 */
@media (max-width: 1000px) {
  .site-footer__main { grid-template-columns: 1fr; gap: 40px; }
  .account-grid, .cart-layout, .checkout-layout, .auth-page__layout { grid-template-columns: 1fr; gap: 40px; }
  .album-detail, .artist-profile { grid-template-columns: 1fr; gap: 40px; }
  .track-catalog, .album-products, .explore-hero, .explore-section, .hero, .section, .manifesto, .artist-profile, .artist-discography { padding-left: 20px; padding-right: 20px; }
  .region-grid, .currency-grid { grid-template-columns: 1fr; }
  .order-detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .site-header { height: 68px; padding: 0 16px; }
  .site-header__nav { display: none; }
  .brand__text { display: none; }
  .header-currency-btn__label { display: none; }
  .header-currency-btn__text { display: none; }
  .header-region-btn__label { display: none; }
  .header-region-btn__text { display: none; }
  .header-user-name { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .explore-hero { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding-top: 36px; padding-bottom: 20px; }
  .explore-hero__summary { text-align: left; }
  .explore-section { padding-top: 20px; padding-bottom: 70px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .album-grid, .album-grid--four { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: 1fr; }
  .track-table__labels { display: none; }
  .track-table li { grid-template-columns: 35px 1fr auto; }
  .track-table__plays { display: none; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .hero { padding: 40px 16px; grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .product-card__form-controls { grid-template-columns: 1fr; }
  .detail-breadcrumb { padding: 20px 16px 0; }
  .auth-page { padding: 0 16px; }
  .auth-page--simple { padding-top: 20px; padding-bottom: 70px; }
  .form-grid.two { grid-template-columns: 1fr; gap: 0; }
  .auth-card { padding: 26px 20px; }
  .compilation-disc-header { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .compilation-disc-meta { width: 100%; justify-content: flex-start; }
}

/* ==========================================================================
   Compilation Trial 入口（Phase T1）
   只新增樣式，不覆寫任何既有 class。
   - 屬於 Tracklist 工具列，刻意做得比「立即購買」低調
   - 手機版換行時仍與展開/收合全部同一列，維持既有 flex-wrap 行為
   ========================================================================== */
.btn-compilation-action--trial {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.btn-compilation-action--trial:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

.btn-compilation-action--trial:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

/* QR 容器：沿用 #preview-modal 的 .qr 呈現尺寸，這裡只補置中與留白 */
#compilation-trial-qr {
  display: flex;
  justify-content: center;
  margin: 16px auto 4px;
  min-height: 184px;
}

#compilation-trial-qr img,
#compilation-trial-qr canvas {
  display: block;
  width: 184px;
  height: 184px;
}

@media (max-width: 480px) {
  .compilation-toolbar__actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .btn-compilation-action--trial {
    flex: 1 1 100%;
    justify-content: center;
  }
  #compilation-trial-qr,
  #compilation-trial-qr img,
  #compilation-trial-qr canvas {
    width: 160px;
    height: 160px;
    min-height: 160px;
  }
}
