/* ==========================================================================
   Masterwork Flagship Audiobook App - Core Aesthetics & Native App Layout
   Color Palette: Deep Ink Lacquer (#08090d) + Warm Imperial Gold (#d4a373)
   ========================================================================== */

:root {
  --bg-primary: #08090d;
  --bg-surface: #11141c;
  --bg-card: #171b26;
  --bg-card-hover: #1f2535;
  --border-subtle: #242a3a;
  --border-focus: #d4a373;
  
  --gold-primary: #d4a373;
  --gold-light: #f5e4ba;
  --gold-dark: #8c633a;
  --gold-glow: rgba(212, 163, 115, 0.25);
  
  --text-primary: #f0f3f8;
  --text-secondary: #9aa5b8;
  --text-muted: #5e687a;
  
  --app-bar-height: 56px;
  --bottom-nav-height: 64px;
  --mini-player-height: 58px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Light / Paper Theme Support */
body.theme-paper {
  --bg-primary: #f5efe1;
  --bg-surface: #ede4d1;
  --bg-card: #ffffff;
  --border-subtle: #dcd0ba;
  --text-primary: #2b251f;
  --text-secondary: #6e6255;
  --text-muted: #9e8e7a;
  --gold-primary: #945d25;
  --gold-light: #52300b;
}

body.theme-parchment {
  --bg-primary: #1c1a17;
  --bg-surface: #26231e;
  --bg-card: #302c25;
  --border-subtle: #453e34;
  --text-primary: #eeddc5;
  --text-secondary: #ad9e88;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Serif SC", "Source Han Serif CN", serif;
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Top App Bar
   ========================================================================== */
.app-topbar {
  height: var(--app-bar-height);
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-seal {
  background: linear-gradient(135deg, #c53030, #9b1c1c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(197, 48, 48, 0.4);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.icon-btn:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-primary);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.timer-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold-primary);
  color: #08090d;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
}

/* ==========================================================================
   Primary Viewport Container
   ========================================================================== */
.app-views {
  flex: 1;
  overflow-y: auto;
  position: relative;
  padding-bottom: calc(var(--bottom-nav-height) + var(--mini-player-height) + var(--safe-bottom) + 12px);
  -webkit-overflow-scrolling: touch;
}

.view-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.view-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TAB 1: 文库全卷 (Library)
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip.active {
  background: var(--gold-glow);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
}

.stats-card {
  margin: 4px 16px 16px;
  background: linear-gradient(135deg, #131722, #0d1017);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stats-metric {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-light);
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.library-container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.volume-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.volume-card.active-vol {
  border-color: var(--gold-primary);
}

.volume-card-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.vol-title-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.vol-meta-text {
  font-size: 12px;
  color: var(--text-muted);
}

.volume-chapter-list {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  max-height: 380px;
  overflow-y: auto;
}

.volume-card.expanded .volume-chapter-list {
  display: block;
}

.chapter-row-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
}

.chapter-row-item:active {
  background: rgba(212, 163, 115, 0.1);
}

.chapter-row-item.current-playing {
  background: rgba(212, 163, 115, 0.15);
  border-left: 3px solid var(--gold-primary);
}

.chapter-row-title {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 78%;
}

.chapter-row-badge {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   TAB 2: 沉浸演播厅 (Studio Player)
   ========================================================================== */
.studio-container {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.turntable-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 12px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acoustic-halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  animation: pulseHalo 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes pulseHalo {
  0%, 100% { transform: scale(0.95); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.vinyl-disc {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #333;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateDisc 20s linear infinite;
  animation-play-state: paused;
}

.vinyl-disc.playing {
  animation-play-state: running;
}

@keyframes rotateDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-grooves {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.vinyl-cover-center {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-primary);
  z-index: 2;
}

.cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-track-info {
  margin-bottom: 16px;
  width: 100%;
}

.track-volume-tag {
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.track-chapter-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.track-performer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.badge-gold {
  font-size: 11px;
  background: var(--gold-glow);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 2px 8px;
  border-radius: 12px;
}

.performer-name {
  font-size: 12px;
  color: var(--text-secondary);
}

.teleprompter-box {
  width: 100%;
  min-height: 72px;
  background: rgba(17, 20, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teleprompter-text {
  font-size: 14px;
  color: var(--gold-light);
  line-height: 1.7;
  font-style: italic;
}

/* Scrubber */
.player-scrubber {
  width: 100%;
  margin-bottom: 24px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  padding: 8px 0;
}

.scrub-times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.scrub-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

/* Touch Hit Area Expander for Mobile Fingers */
.scrub-track::before {
  content: '';
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 0;
  right: 0;
}

.scrub-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 3px;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.scrub-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: transform 0.1s ease;
}

.scrub-track.dragging .scrub-thumb,
.scrub-track:active .scrub-thumb {
  transform: translate(-50%, -50%) scale(1.35);
  background: var(--gold-light);
}

/* Hero Deck */
.hero-control-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 340px;
  margin-bottom: 24px;
}

.deck-btn-secondary {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 11px;
}

.deck-btn-secondary svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.deck-btn-hero {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  border: none;
  color: #08090d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--gold-glow);
  transition: transform 0.15s;
}

.deck-btn-hero:active {
  transform: scale(0.94);
}

.deck-btn-hero svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.deck-chapter-stepper {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.step-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.step-link.highlight {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   TAB 3: 学者精读 (Reader Mode)
   ========================================================================== */
.reader-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.theme-switchers {
  display: flex;
  gap: 6px;
}

.theme-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.theme-btn.active {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
}

.font-size-adjuster {
  display: flex;
  gap: 6px;
}

.font-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.reader-article {
  padding: 24px 20px 40px;
  line-height: 1.9;
  user-select: text;
}

.reader-meta-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.reader-hero-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 24px;
  line-height: 1.4;
}

.reader-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reader-p {
  font-size: 16px;
  color: var(--text-primary);
  text-align: justify;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}

.reader-p:first-of-type::first-letter {
  font-size: 32px;
  font-weight: 800;
  float: left;
  line-height: 1;
  padding-right: 6px;
  color: var(--gold-primary);
}

.reader-p.active-playing {
  background: rgba(212, 163, 115, 0.14);
  box-shadow: inset 3px 0 0 var(--gold-primary);
  color: #fff;
}

/* ==========================================================================
   TAB 4: 金句与离线管理 (Notes & Offline)
   ========================================================================== */
.notes-page-container {
  padding: 16px;
}

.cache-widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.cache-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cache-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
}

.cache-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-gold-sm {
  background: var(--gold-glow);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
}

.cache-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.cache-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.text-link-sm {
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.quotes-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  border-radius: 8px;
  padding: 14px 16px;
}

.quote-item-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.quote-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.btn-card-gen {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  font-weight: 600;
  cursor: pointer;
}

.quotes-empty-placeholder {
  text-align: center;
  padding: 40px 20px;
}

/* ==========================================================================
   Mini Floating Player Dock (Glassmorphism)
   ========================================================================== */
.mini-player-dock {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 8px);
  left: 12px;
  right: 12px;
  height: var(--mini-player-height);
  background: rgba(18, 21, 30, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 90;
  cursor: pointer;
}

.mini-cover-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  margin-right: 12px;
  border: 1px solid var(--gold-primary);
}

.mini-cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-info-wrap {
  flex: 1;
  overflow: hidden;
}

.mini-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-sub {
  font-size: 11px;
  color: var(--gold-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mini-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-control-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mini-control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Bottom Native Navigation Bar
   ========================================================================== */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  background: rgba(8, 9, 13, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  padding-bottom: var(--safe-bottom);
  z-index: 100;
}

.nav-tab {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.nav-tab svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-tab span {
  font-size: 11px;
  font-weight: 500;
}

.nav-tab.active {
  color: var(--gold-primary);
}

.nav-tab.active svg {
  fill: var(--gold-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modals & Bottom Sheets
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
}

.modal-bottom-sheet {
  width: 100%;
  max-width: 500px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(20px + var(--safe-bottom));
}

.sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
  text-align: center;
}

.sheet-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.sheet-opt-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

.sheet-opt-btn.active {
  border-color: var(--gold-primary);
  background: var(--gold-glow);
  color: var(--gold-light);
  font-weight: 700;
}

.btn-sheet-done {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  border: none;
  color: #08090d;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
}

/* Search Sheet */
.modal-search-sheet {
  width: 100%;
  height: 85vh;
  background: var(--bg-surface);
  border-radius: 20px 20px 0 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.search-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  margin-right: 8px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  height: 38px;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  font-size: 14px;
  cursor: pointer;
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Quote Card Modal */
.quote-card-sheet {
  width: 90%;
  max-width: 380px;
  margin-bottom: calc(40px + var(--safe-bottom));
}

.quote-card-render {
  background: #f6eedb;
  color: #2b251f;
  border: 4px double #8c633a;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  position: relative;
}

.card-seal-top {
  font-size: 12px;
  letter-spacing: 2px;
  color: #8c633a;
  text-align: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-quote-text {
  font-size: 16px;
  line-height: 1.8;
  font-family: "Noto Serif SC", serif;
  text-align: justify;
  margin-bottom: 24px;
}

.card-source-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-source-chapter {
  font-size: 12px;
  color: #6e6255;
}

.card-stamp {
  border: 2px solid #b91c1c;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  transform: rotate(-8deg);
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-card-action {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}

.btn-card-action.highlight {
  background: var(--gold-primary);
  color: #08090d;
  font-weight: 700;
}
