/* ================================================================
   WIAMAPP — PREMIUM DESIGN SYSTEM
   "Quiet luxury. Focused reading. Creator respect."
   ================================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
    /* Brand */
    --wine: #722f37;
    --wine-dark: #4a1e24;
    --wine-light: #8e3a44;
    --wine-glow: rgba(114, 47, 55, 0.3);
    --gold: #d4a843;
    --gold-light: #f0d078;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --gold-glow: rgba(201, 168, 76, 0.08);

    /* Surfaces */
    --bg: #08081a;
    --bg-elevated: #111114;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c21;
    --bg-glass: rgba(22, 22, 26, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(201, 168, 76, 0.2);

    /* Text */
    --text: #e8e6e3;
    --text-secondary: #b5b5ba;
    --text-muted: #8e8e94;
    --text-accent: var(--gold);

    /* Typography */
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
}

/* F9: Light mode overrides */
[data-theme="light"] {
    --bg: #f8f7f4;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0eeeb;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(114, 47, 55, 0.25);
    --text: #1a1a1d;
    --text-secondary: #555560;
    --text-muted: #8a8a90;
    --gold-dim: rgba(201, 168, 76, 0.12);
    --gold-glow: rgba(201, 168, 76, 0.06);
    --wine-glow: rgba(114, 47, 55, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.01em;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: grayscale;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

::selection {
    background: var(--wine);
    color: var(--gold-light);
}

/* --- Splash Screen --- */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
.splash-logo {
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: splash-enter 0.8s var(--ease-out) both;
}
.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.splash-text {
    margin-top: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0;
    animation: splash-fade-in 0.6s var(--ease-out) 0.4s both;
}
.splash-tagline {
    margin-top: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0;
    animation: splash-fade-in 0.6s var(--ease-out) 0.7s both;
}
.splash-powered {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0;
    animation: splash-fade-in 0.6s var(--ease-out) 1s both;
    letter-spacing: 0.5px;
}

@keyframes splash-enter {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes splash-breathe {
    0%, 100% { box-shadow: 0 0 40px rgba(212,168,67,0.2); }
    50% { box-shadow: 0 0 80px rgba(212,168,67,0.3), 0 0 120px rgba(212,168,67,0.1); }
}
@keyframes splash-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PWA Standalone: safe-area + no double-tap zoom --- */
@media all and (display-mode: standalone) {
    html { padding-top: env(safe-area-inset-top, 0px); }
    .navbar-wiam { padding-top: env(safe-area-inset-top, 0px); }
    .splash-screen { padding-top: env(safe-area-inset-top, 0px); }
}

/* --- Navbar --- */
.navbar-wiam {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.7rem 0;
    transition: background var(--duration-normal);
}
.navbar-wiam .navbar-brand {
    font-family: var(--font-display);
    color: var(--gold) !important;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.navbar-wiam .navbar-brand svg {
    width: 28px;
    height: 28px;
    fill: var(--gold);
}
.navbar-wiam .nav-link {
    color: var(--text-secondary) !important;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.45rem 0.9rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
    letter-spacing: 0.2px;
}
.navbar-wiam .nav-link:hover,
.navbar-wiam .nav-link.active {
    color: var(--gold) !important;
    background: var(--gold-glow);
}
.navbar-wiam .nav-link i {
    font-size: 1rem;
    margin-right: 3px;
}

/* Search */
.search-minimal input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    border-radius: var(--radius-full);
    padding: 7px 18px;
    font-size: 0.88rem;
    transition: all var(--duration-normal) var(--ease-out);
    width: 220px;
}
.search-minimal input::placeholder { color: var(--text-muted); }
.search-minimal input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold-dim);
    color: var(--text);
    box-shadow: 0 0 0 3px var(--gold-glow);
    outline: none;
    width: 280px;
}

/* Dropdown */
.dropdown-menu-wiam {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.dropdown-menu-wiam .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.88rem;
    transition: all var(--duration-fast);
}
.dropdown-menu-wiam .dropdown-item:hover {
    background: var(--gold-glow);
    color: var(--gold);
}

/* --- Buttons --- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #b8953e);
    color: var(--bg);
    border: none;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    transition: all var(--duration-normal) var(--ease-out);
    letter-spacing: 0.3px;
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}
.btn-wine {
    background: linear-gradient(135deg, var(--wine), var(--wine-dark));
    color: var(--text);
    border: 1px solid rgba(142, 58, 68, 0.4);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    transition: all var(--duration-normal) var(--ease-out);
}
.btn-wine:hover {
    background: linear-gradient(135deg, var(--wine-light), var(--wine));
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--wine-glow);
}
.btn-outline-gold {
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--gold);
    background: transparent;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    transition: all var(--duration-normal) var(--ease-out);
}
.btn-outline-gold:hover {
    background: var(--gold-dim);
    color: var(--gold-light);
    border-color: var(--gold);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--duration-fast);
}
.btn-ghost:hover {
    color: var(--gold);
    background: var(--gold-glow);
}

/* --- Book Cards --- */
.book-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out);
    height: 100%;
    position: relative;
}
.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--border-hover);
}
.book-card .card-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}
.book-card .cover-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, var(--wine-dark), var(--wine));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dim);
    font-size: 2rem;
}
.book-card .card-body {
    padding: var(--space-md);
}
.book-card .card-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}
.book-card .card-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}
.book-card .card-stats {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.book-card .card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.book-card .card-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--font-ui);
}
.book-card .card-price .free-badge {
    background: var(--gold-dim);
    color: var(--gold);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Favorite heart */
.fav-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    font-size: 1rem;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.active {
    color: #e74c5e;
    animation: heart-pulse 0.4s var(--ease-out);
}
@keyframes heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- Book Scroll (Horizontal Carousel) --- */
.book-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.book-scroll::-webkit-scrollbar { display: none; }
.book-scroll .book-card {
    min-width: 155px;
    max-width: 155px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* --- Section Headers --- */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}
.section-header .see-all {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--duration-fast);
}
.section-header .see-all:hover { color: var(--gold); }

/* --- Genre Chips --- */
.genre-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
}
.genre-chip:hover {
    background: var(--gold-dim);
    color: var(--gold);
    border-color: var(--border-hover);
}
.genre-chip.active {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

/* --- Greeting Section --- */
.greeting {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: var(--space-xs);
}
.greeting-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* --- Landing Page --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: var(--space-3xl) var(--space-md);
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--wine-glow), transparent 60%),
        radial-gradient(ellipse at 80% 50%, var(--gold-glow), transparent 50%);
    pointer-events: none;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: var(--space-lg);
    position: relative;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text);
    max-width: 480px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.4rem;
    color: var(--gold);
}
.feature-card h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Steps */
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto var(--space-md);
    border: 1px solid var(--border-hover);
}

/* --- Login Page --- */
.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}
.login-card h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
}
.login-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Flash Messages --- */
.flash-toast {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 8000;
    animation: toast-in 0.4s var(--ease-out) both;
}
.flash-toast .alert {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 0.88rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.flash-toast .alert-success { border-left: 3px solid #4caf50; }
.flash-toast .alert-danger { border-left: 3px solid #e74c5e; }
.flash-toast .alert-info { border-left: 3px solid var(--gold); }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    text-align: center;
    padding: 10px 16px;
    font-size: 0.72rem;
    flex-shrink: 0;
    margin-top: auto;
    line-height: 1.5;
}
.site-footer .footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.site-footer .brand {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
}
.site-footer .sep {
    color: var(--border-subtle);
}

/* --- Empty States --- */
.empty-state {
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
}
.empty-state .icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    opacity: 0.5;
}
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-sm);
}
.empty-state p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* --- Skeleton Loaders --- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
.skeleton-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
.skeleton-text {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    margin-bottom: 6px;
}
.skeleton-text.short { width: 60%; }
.skeleton-text.tiny { width: 35%; height: 10px; }
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Lazy image fade-in */
.book-card .card-cover,
.book-cover-large {
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}
.book-card .card-cover.loaded,
.book-cover-large.loaded {
    opacity: 1;
}

/* Button loading spinner */
.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}
.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* --- Mobile Bottom Nav --- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-subtle);
    padding: 4px 0 env(safe-area-inset-bottom, 4px);
    z-index: 1000;
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 10px;
    color: var(--text-secondary);
    font-size: 0.62rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--duration-fast);
    border-radius: var(--radius-sm);
    min-width: 48px;
    height: 46px;
}
.bottom-nav-item i { font-size: 1.25rem; line-height: 1; }
.bottom-nav-item img { display: block; }
.bottom-nav-avatar {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--gold); color: #000; font-size: 0.65rem;
    font-weight: 700; line-height: 1; flex-shrink: 0;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--gold);
}

@media (max-width: 991px) {
    .bottom-nav { display: block; }
    .navbar-wiam .d-none.d-lg-flex { display: none !important; }
    body { padding-bottom: 52px; }
    .site-footer { margin-bottom: 0; padding: 8px 12px; }
    .hero-section { min-height: 60vh; padding: var(--space-2xl) var(--space-md); }
    .navbar-wiam { padding: 0.45rem 0; }
    .navbar-wiam .navbar-brand { font-size: 1.1rem; }
    .navbar-wiam .navbar-brand svg { width: 22px; height: 22px; }
}

/* --- Page Layout (sticky footer) --- */
.page-content {
    flex: 1 0 auto;
    animation: page-in 0.4s var(--ease-out) both;
}
@keyframes page-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Utilities --- */
.text-gold { color: var(--gold) !important; }
.text-wine { color: var(--wine-light) !important; }
.bg-card { background: var(--bg-card); }
.border-subtle { border: 1px solid var(--border-subtle); }
.rounded-wiam { border-radius: var(--radius-md); }
.font-display { font-family: var(--font-display); }
.font-ui { font-family: var(--font-ui); }

/* --- Disable double-tap zoom globally --- */
* { touch-action: manipulation; }
