/* ============================================
   Windy 之天文台 - 專業版樣式
   設計系統：深藍星空 + 藍紫漸層 + 玻璃擬態
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 阿里巴巴普惠體 3.0 */
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('/font-regular.woff2?v=2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('/font-bold.woff2?v=2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('/font-heavy.woff2?v=2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
    /* 色彩系統 */
    --bg-deep: #050816;
    --bg: #0a0e1a;
    --bg2: #111830;
    --card: rgba(26, 35, 64, 0.6);
    --card-solid: #1a2340;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8edf7;
    --muted: #8a93a8;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --purple: #8b5cf6;
    --gold: #d4af37;
    --gold-light: #ffd700;
    --grad: linear-gradient(135deg, #3b82f6, #8b5cf6);

    /* 字體 */
    --font-display: 'Alibaba PuHuiTi', 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Alibaba PuHuiTi', 'Zen Kaku Gothic New', 'Segoe UI', 'Microsoft JhengHei', sans-serif;

    /* 陰影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --glow-blue: 0 0 20px rgba(59,130,246,0.4);
    --glow-purple: 0 0 20px rgba(139,92,246,0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(59,130,246,0.15), transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(139,92,246,0.12), transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(59,130,246,0.08), transparent 60%),
        linear-gradient(160deg, var(--bg-deep) 0%, var(--bg) 40%, var(--bg2) 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 星空粒子 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 35% 65%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 55% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 75% 45%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1.5px 1.5px at 90% 80%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 10% 85%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 65% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 45% 40%, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
    z-index: 0;
}

/* ============ 導航 ============ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
    background: rgba(5, 8, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(96,165,250,0.4)); }
.brand-wordmark { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(96,165,250,0.5)); }
.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.brand-sub { font-size: 13px; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
}
.nav-link:hover {
    background: rgba(59,130,246,0.15);
    color: var(--blue-light);
    transform: translateY(-1px);
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ============ 按鈕 ============ */
.btn {
    padding: 11px 24px;
    border-radius: 12px;
    border: none;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 9px; }
.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: white;
    border-radius: 10px;
    padding: 8px 14px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}
.lang-btn:hover {
    background: rgba(96,165,250,0.25);
    border-color: rgba(96,165,250,0.6);
}
.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: 0 4px 15px rgba(59,130,246,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.5);
}
.btn-outline {
    background: transparent;
    color: var(--blue-light);
    border: 1.5px solid rgba(59,130,246,0.5);
}
.btn-outline:hover {
    background: rgba(59,130,246,0.12);
    border-color: var(--blue-light);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ 容器 ============ */
.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 30px 80px;
    position: relative;
    z-index: 1;
}

/* ============ Hero ============ */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
    animation: fadeUp 0.8s ease-out;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 25px rgba(96,165,250,0.5));
    animation: float 4s ease-in-out infinite;
}
.hero h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 14px;
    background: linear-gradient(120deg, #ffffff, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.hero p {
    color: var(--muted);
    font-size: 18px;
}

/* ============ 區塊 ============ */
.section { margin-top: 60px; animation: fadeUp 0.7s ease-out; }
.section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(59,130,246,0.4), transparent);
}
.section-sub { color: var(--muted); margin-bottom: 24px; font-size: 15px; }

/* ============ 相片庫 ============ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.35s;
    background: var(--card-solid);
    box-shadow: var(--shadow-sm);
}
.gallery-item:hover {
    border-color: var(--blue-light);
    transform: translateY(-6px);
    box-shadow: var(--glow-blue), var(--shadow-lg);
}
.gallery-item img { width: 100%; display: block; aspect-ratio: 2/5; object-fit: cover; }
.gallery-item .photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    font-size: 13px;
    color: white;
    font-weight: 600;
}

/* ============ 功能卡片（玻璃擬態）============ */
.feature-card {
    background: var(--card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(59,130,246,0.3); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 14px; color: var(--muted); font-weight: 600; }
.form-row select, .form-row input, .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(5, 8, 22, 0.6);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s;
}
.form-row select:focus, .form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-row textarea { resize: vertical; }

/* ============ 結果框 ============ */
.result-box {
    margin-top: 22px;
    padding: 22px;
    background: rgba(5, 8, 22, 0.6);
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
    animation: fadeUp 0.4s ease-out;
}
.result-box img { max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-md); }
.result-box .download-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 11px 32px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(34,197,94,0.35);
    transition: all 0.3s;
}
.result-box .download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(34,197,94,0.5); }

/* ============ 會員卡 ============ */
.member-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}
.member-card {
    background: var(--card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}
.member-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139,92,246,0.3);
}
.member-card h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; }
.member-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.member-card input {
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(5, 8, 22, 0.6);
    color: var(--text);
    margin-bottom: 12px;
    font-size: 14px;
}
.member-card .btn { width: 100%; }

/* ============ 點數套餐 ============ */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.plan-card {
    background: var(--card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.35s;
}
.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212,175,55,0.25), var(--shadow-lg);
}
.plan-card h3 { font-size: 18px; margin-bottom: 8px; }
.plan-card .price {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(120deg, var(--gold-light), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 12px 0;
}
.plan-card .points-info { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ============ 徽章 ============ */
.user-badge {
    background: var(--grad);
    color: white;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.vip-badge {
    background: linear-gradient(135deg, #b8860b, #ffd700);
    color: #1a1a1a;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(255,215,0,0.6);
    animation: glowPulse 2s ease-in-out infinite;
}
.points-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: var(--gold-light);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* ============ Modal ============ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; animation: fadeIn 0.25s ease-out; }
.modal-content {
    background: var(--card-solid);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    width: 90%;
    max-width: 430px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.3s ease-out;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
}
.modal-close:hover { color: white; transform: rotate(90deg); }
.modal-content h2 { margin-bottom: 22px; font-size: 24px; font-weight: 800; }
.form-group { margin-bottom: 16px; }
.forgot-row { margin-top: 14px; text-align: center; font-size: 13px; }
.forgot-row a { color: var(--blue-light); text-decoration: none; opacity: .85; }
.forgot-row a:hover { opacity: 1; text-decoration: underline; }
.modal-sub { font-size: 13px; color: var(--muted); line-height: 1.7; margin: -10px 0 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(5, 8, 22, 0.6);
    color: var(--text);
    font-size: 15px;
    transition: all 0.25s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* ============ Toast ============ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    z-index: 300;
    animation: toastIn 0.3s ease-out;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}
.toast.success { background: rgba(22,163,74,0.9); color: white; }
.toast.error { background: rgba(220,38,38,0.9); color: white; }

/* ============ 動畫 ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 14px rgba(255,215,0,0.6); } 50% { box-shadow: 0 0 28px rgba(255,215,0,0.9); } }

/* ============ 響應式 ============ */
@media (max-width: 768px) {
    .navbar { flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
    .brand-name { font-size: 18px; }
    .nav-links { order: 3; width: 100%; justify-content: center; gap: 4px; }
    .nav-link { font-size: 13px; padding: 6px 12px; }
    .hero h1 { font-size: 28px; }
    .hero-logo { height: 90px; }
    .container { padding: 15px 16px 60px; }
    .section-title { font-size: 22px; }
    .member-cards, .plans { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .brand-sub { display: none; }
    .hero h1 { font-size: 24px; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ============ 會員區兩級制 + 付款 ============ */
.member-banner { display: none; margin: 0 0 20px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: 14.5px; line-height: 1.6; }
.member-banner.ok { border-color: rgba(255,215,90,.45); background: rgba(255,215,90,.08); }
.member-banner.info { border-color: rgba(120,170,255,.5); background: rgba(120,170,255,.08); }
.member-banner.warn { border-color: rgba(255,150,90,.5); background: rgba(255,150,90,.08); }
.file-btn { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; margin-bottom: 10px; }
#card-element { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); margin-bottom: 12px; }
#pay-error { color: #ff8a8a; font-size: 13px; margin-bottom: 10px; min-height: 1em; }
.modal-sub { font-size: 13.5px; color: var(--muted, #8b93b8); margin: -6px 0 16px; }

/* ============ 售賣區 ============ */
.shop-hero { text-align: center; padding: 36px 20px 6px; }
.shop-hero h1 { font-size: 32px; margin-bottom: 8px; }
.shop-note-banner {
    max-width: 860px; margin: 20px auto 8px; text-align: center; color: #8a93a8; font-size: 14px;
    background: rgba(59,130,246,.08); border: 1px dashed rgba(59,130,246,.35); border-radius: 10px; padding: 10px 16px;
}
.shop-cat { margin: 30px auto 10px; max-width: 960px; }
.shop-cat-title {
    font-size: 21px; color: #e5e9f5; margin-bottom: 18px; padding-left: 12px;
    border-left: 3px solid #3b82f6; line-height: 1.4;
}
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.shop-card {
    background: #1a2340; border: 1px solid #2a3555; border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.shop-card:hover { border-color: #3b82f6; transform: translateY(-2px); }
.shop-card.sold-out { opacity: .62; }
.shop-ph { aspect-ratio: 1 / 1; background: #10172e; overflow: hidden; }
.shop-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-ph-none {
    background: radial-gradient(circle at 30% 22%, #1d2a4d 0%, #0f1630 72%);
}
.shop-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shop-name { font-size: 16px; color: #e5e9f5; margin: 0; line-height: 1.4; font-weight: 700; }
.shop-desc { font-size: 13px; color: #8a93a8; margin: 0; line-height: 1.55; }
.shop-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-price { font-weight: 700; color: #60a5fa; font-size: 18px; }
.shop-stock { font-size: 12px; padding: 3px 9px; border-radius: 12px; font-weight: 700; }
.shop-stock.low { background: rgba(251,146,60,.15); color: #fbbf24; }
.shop-stock.out { background: rgba(220,38,38,.15); color: #f87171; }
.shop-btn { margin-top: auto; width: 100%; }
.shop-btn[disabled] { cursor: not-allowed; opacity: .65; }
.shop-empty { text-align: center; color: #8a93a8; padding: 46px 0 60px; font-size: 15px; }

/* 結帳 modal */
.shop-buy-name { display: block; font-size: 16px; font-weight: 700; color: #e5e9f5; }
.shop-qty-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; color: #8a93a8; flex-wrap: wrap; }
.shop-qty-row input[type="number"] {
    width: 72px; background: #0f1630; border: 1px solid #2a3555; border-radius: 8px;
    color: #e5e9f5; padding: 7px 10px; font-size: 15px;
}
.shop-qty-row input[type="number"]:focus { outline: none; border-color: #3b82f6; }
.shop-buy-unit { color: #8a93a8; }
.shop-eq { color: #8a93a8; }
.shop-buy-total { color: #60a5fa; font-size: 17px; }
.ship-head {
    margin: 6px 0 12px; padding-top: 14px; border-top: 1px solid #2a3555;
    font-size: 14px; color: #8a93a8; font-weight: 700; letter-spacing: .5px;
}
#shop-pay-note { color: #c4cbe0; font-weight: 700; margin-bottom: 10px; }

/* ============ AI 卡片生成中提示 (2026-09-14) ============ */
.card-busy {
    padding: 16px 22px;
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-dim, #c3cee8);
    background: rgba(20, 30, 70, 0.5);
    border: 1px solid var(--border, rgba(120, 160, 255, 0.25));
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}


/* ===== 卡片款式選擇（8 選 1）2026-09-14 ===== */
.style-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.style-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px 7px 9px; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
    color: #dfe6ff; font-size: 13px; font-family: inherit; line-height: 1;
    transition: border-color .18s, background .18s, transform .18s;
}
.style-chip:hover { background: rgba(255, 255, 255, .13); transform: translateY(-1px); }
.style-chip.is-on { border-color: #8fb4ff; background: rgba(120, 160, 255, .22); color: #fff; box-shadow: 0 0 0 1px rgba(143, 180, 255, .35) inset; }
.style-sw { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; }
.sw-starry  { background: linear-gradient(135deg, #0b1236 30%, #3b5bb5 70%, #ffd75a); }
.sw-sakura  { background: linear-gradient(135deg, #fff2f6 20%, #f7b6cd 70%, #d9668f); }
.sw-ink     { background: linear-gradient(135deg, #f7f6f1 25%, #90a0a8 65%, #2b3a46); }
.sw-gold    { background: linear-gradient(135deg, #100d08 25%, #8a6a24 65%, #f2ce7a); }
.sw-neon    { background: linear-gradient(135deg, #1a0b2e 20%, #7c3aed 60%, #7ce3ff); }
.sw-ocean   { background: linear-gradient(135deg, #04182b 20%, #1f6f8f 65%, #a8e6ff); }
.sw-pastel  { background: linear-gradient(135deg, #fff8ec 20%, #ffd9a8 60%, #c2703a); }
.sw-festive { background: linear-gradient(135deg, #3d0a10 20%, #a3162a 60%, #ffd36e); }
.style-hint { font-size: 12px; color: #8f9bc4; margin: 8px 0 0; }
@media (max-width: 520px) { .style-chip { font-size: 12px; padding: 6px 10px 6px 8px; } .style-sw { width: 15px; height: 15px; flex-basis: 15px; } }

/* ============ Google 登入（Google Identity Services）============ */
.or-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: #8f9bc4; font-size: 12px; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.14); }
.gsi-holder { display: flex; justify-content: center; min-height: 44px; color-scheme: light; }
.gsi-holder > div { max-width: 100%; }
