/* ════════════════════════════════════════════════════════════════════
   TOKYO ANIME HUNTER — frontend.css (global storefront stylesheet)
   ────────────────────────────────────────────────────────────────────
   Themes
     • Dark  (default)  — Nocturnal & Glowing
     • Light ([data-theme="light"]) — Clean & Punchy
   Fonts: Orbitron (display) / Rajdhani (headings) / Exo 2 (body)
   Signature: neon-pink glow + katana-slash dividers
   ════════════════════════════════════════════════════════════════════ */

/* ─── 1. TOKENS ─────────────────────────────────────────────────── */
:root {
    /* Dark Mode — Nocturnal & Glowing */
    --tah-bg:          #09040D;   /* Abyss Black   */
    --tah-surface:     #1F0B30;   /* Forge Purple  */
    --tah-surface-2:   #2A1240;   /* raised card   */
    --tah-primary:     #F00078;   /* Neon Pink     */
    --tah-secondary:   #8A7B9B;   /* Katana Silver */
    --tah-text:        #FFFFFF;   /* Pure White    */
    --tah-muted:       #B4A5C4;   /* Ash Lilac     */
    --tah-border:      rgba(138, 123, 155, .22);
    --tah-glow:        0 0 8px rgba(240, 0, 120, .65), 0 0 24px rgba(240, 0, 120, .35);
    --tah-glow-soft:   0 0 18px rgba(240, 0, 120, .18);
    --tah-hero-grad:   radial-gradient(1200px 600px at 70% -10%, rgba(240,0,120,.16), transparent 60%),
                       radial-gradient(900px 500px at 10% 110%, rgba(107,47,160,.28), transparent 60%),
                       var(--tah-bg);
    --tah-card-grad:   linear-gradient(160deg, var(--tah-surface) 0%, #170824 100%);
    --tah-success:     #2BD98F;
    --tah-warning:     #FFB13D;
    --tah-danger:      #FF4D6D;
    --tah-live:        #FF3355;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --nav-h: 66px;
    --bottom-nav-h: 62px;
}

[data-theme="light"] {
    /* Light Mode — Clean & Punchy */
    --tah-bg:          #F8F6FA;   /* Ghost White    */
    --tah-surface:     #FFFFFF;   /* Pure White     */
    --tah-surface-2:   #FFFFFF;
    --tah-primary:     #E60073;   /* Deep Neon Pink */
    --tah-secondary:   #2A0A4A;   /* Deep Plum      */
    --tah-text:        #12091A;   /* Void Black     */
    --tah-muted:       #635773;   /* Steel Gray     */
    --tah-border:      rgba(42, 10, 74, .14);
    --tah-glow:        0 0 0 transparent;
    --tah-glow-soft:   0 8px 24px rgba(230, 0, 115, .14);
    --tah-hero-grad:   radial-gradient(1200px 600px at 70% -10%, rgba(230,0,115,.10), transparent 60%),
                       radial-gradient(900px 500px at 10% 110%, rgba(42,10,74,.08), transparent 60%),
                       var(--tah-bg);
    --tah-card-grad:   #FFFFFF;
}

/* ─── 2. BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body.tah-front {
    background: var(--tah-bg);
    color: var(--tah-text);
    font-family: 'Exo 2', system-ui, sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    padding-bottom: 0;
    transition: background .3s ease, color .3s ease;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--tah-text); }
a { color: var(--tah-primary); text-decoration: none; }
a:hover { color: var(--tah-primary); filter: brightness(1.15); }
::selection { background: var(--tah-primary); color: #fff; }
.text-muted-tah { color: var(--tah-muted) !important; }

.tah-display {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.glow { color: var(--tah-primary); text-shadow: var(--tah-glow); }

/* Katana slash divider — signature element */
.tah-slash {
    height: 3px; border: 0; opacity: 1; margin: 0;
    background: linear-gradient(90deg, transparent 0%, var(--tah-primary) 18%, #fff 50%, var(--tah-primary) 82%, transparent 100%);
    transform: skewY(-.6deg);
    box-shadow: var(--tah-glow-soft);
}
[data-theme="light"] .tah-slash {
    background: linear-gradient(90deg, transparent 0%, var(--tah-primary) 30%, var(--tah-secondary) 70%, transparent 100%);
}

/* Section shell */
.tah-section { padding: 64px 0; }
.tah-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.tah-kicker {
    font-family: 'Orbitron', sans-serif; font-size: .72rem; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase; color: var(--tah-primary);
}
.tah-section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 4px 0 0; }

/* ─── 3. BUTTONS / BADGES / FORMS ───────────────────────────────── */
.btn-tah {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; font-size: .88rem;
    padding: 10px 22px; border-radius: var(--radius-md);
    border: 1.5px solid transparent; transition: all .18s ease; cursor: pointer;
}
.btn-tah.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-tah.btn-lg { padding: 13px 30px; font-size: 1rem; }

.btn-tah-primary { background: var(--tah-primary); color: #fff; box-shadow: var(--tah-glow); }
.btn-tah-primary:hover { transform: translateY(-2px); filter: brightness(1.12); color: #fff; }

.btn-tah-ghost { background: transparent; color: var(--tah-text); border-color: var(--tah-secondary); }
.btn-tah-ghost:hover { border-color: var(--tah-primary); color: var(--tah-primary); box-shadow: var(--tah-glow-soft); }

.btn-tah-dark { background: var(--tah-surface-2); color: var(--tah-text); border-color: var(--tah-border); }
.btn-tah-dark:hover { border-color: var(--tah-primary); color: var(--tah-primary); }

.tah-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .68rem;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px;
    background: var(--tah-surface-2); color: var(--tah-muted); border: 1px solid var(--tah-border);
}
.tah-badge-pink   { background: rgba(240,0,120,.14); color: var(--tah-primary); border-color: rgba(240,0,120,.4); }
.tah-badge-green  { background: rgba(43,217,143,.12); color: var(--tah-success); border-color: rgba(43,217,143,.35); }
.tah-badge-amber  { background: rgba(255,177,61,.12); color: var(--tah-warning); border-color: rgba(255,177,61,.35); }
.tah-badge-red    { background: rgba(255,77,109,.12); color: var(--tah-danger);  border-color: rgba(255,77,109,.35); }
.tah-badge-live   { background: var(--tah-live); color: #fff; border-color: var(--tah-live); animation: tahPulse 1.4s infinite; }

@keyframes tahPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,51,85,.5);} 50% { box-shadow: 0 0 0 6px rgba(255,51,85,0);} }

.tah-input, .tah-front .form-control, .tah-front .form-select {
    background: var(--tah-surface-2); border: 1.5px solid var(--tah-border);
    color: var(--tah-text); border-radius: var(--radius-md);
}
.tah-front .form-control:focus, .tah-front .form-select:focus {
    background: var(--tah-surface-2); color: var(--tah-text);
    border-color: var(--tah-primary); box-shadow: var(--tah-glow-soft);
}
.tah-front .form-control::placeholder { color: var(--tah-muted); opacity: .75; }
.tah-front .form-check-input:checked { background-color: var(--tah-primary); border-color: var(--tah-primary); }

/* Price display */
.tah-price { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--tah-primary); }
.tah-price-was { font-size: .82rem; color: var(--tah-muted); text-decoration: line-through; }

/* ─── 4. NAVBAR ─────────────────────────────────────────────────── */
.tah-nav {
    position: sticky; top: 0; z-index: 1030; height: var(--nav-h);
    display: flex; align-items: center;
    background: color-mix(in srgb, var(--tah-bg) 82%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--tah-border);
}
.tah-brand { display: flex; align-items: center; gap: 10px; }
.tah-brand-mark {
    font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.3rem;
    color: var(--tah-text); letter-spacing: .05em;
}
.tah-brand-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: .18em; font-size: .82rem; color: var(--tah-muted); }

.tah-nav-links { gap: 4px; }
.tah-nav-links a {
    font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: .95rem;
    letter-spacing: .05em; color: var(--tah-muted);
    padding: 8px 14px; border-radius: var(--radius-md);
}
.tah-nav-links a:hover { color: var(--tah-text); background: var(--tah-surface); }
.tah-nav-links a.active { color: var(--tah-primary); text-shadow: var(--tah-glow-soft); }
.tah-nav-links a.fire { color: var(--tah-warning); }

.tah-icon-btn {
    position: relative; width: 40px; height: 40px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 50%;
    background: var(--tah-surface); border: 1px solid var(--tah-border);
    color: var(--tah-text); transition: all .15s ease;
}
.tah-icon-btn:hover { border-color: var(--tah-primary); color: var(--tah-primary); box-shadow: var(--tah-glow-soft); }
.tah-pip {
    position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px;
    background: var(--tah-primary); color: #fff; font-size: .62rem; font-weight: 700;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--tah-glow);
}

.tah-user-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--tah-surface); border: 1px solid var(--tah-border);
    color: var(--tah-text); font-family: 'Rajdhani', sans-serif; font-weight: 600;
    padding: 5px 12px 5px 6px; border-radius: 999px;
}
.tah-avatar {
    width: 28px; height: 28px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--tah-primary), #6B2FA0);
    color: #fff; font-weight: 700; font-size: .8rem;
}
.tah-dropdown {
    background: var(--tah-surface-2); border: 1px solid var(--tah-border);
    border-radius: var(--radius-md); overflow: hidden; min-width: 230px;
}
.tah-dropdown .dropdown-item { color: var(--tah-text); font-size: .9rem; display: flex; gap: 10px; align-items: center; padding: 9px 16px; }
.tah-dropdown .dropdown-item:hover { background: var(--tah-surface); color: var(--tah-primary); }
.tah-dropdown-header { padding: 10px 16px; display: flex; flex-direction: column; border-bottom: 1px solid var(--tah-border); }
.tah-dropdown-header small { color: var(--tah-muted); }
.tah-dropdown .dropdown-divider { border-color: var(--tah-border); }

/* ─── 5. MOBILE BOTTOM NAV ──────────────────────────────────────── */
.tah-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
    height: var(--bottom-nav-h);
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: color-mix(in srgb, var(--tah-surface) 92%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--tah-border);
}
.tah-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; color: var(--tah-muted); font-size: .64rem; font-weight: 600;
}
.tah-bottom-nav a i { font-size: 1.15rem; }
.tah-bottom-nav a.active { color: var(--tah-primary); text-shadow: var(--tah-glow-soft); }
.tah-bottom-kuji i { color: var(--tah-primary); text-shadow: var(--tah-glow); }
@media (max-width: 991px) { body.tah-front { padding-bottom: var(--bottom-nav-h); } }

/* ─── 6. CARDS ──────────────────────────────────────────────────── */
.tah-card {
    background: var(--tah-card-grad);
    border: 1px solid var(--tah-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tah-card:hover { transform: translateY(-4px); border-color: rgba(240,0,120,.5); box-shadow: var(--tah-glow-soft); }
[data-theme="light"] .tah-card { box-shadow: 0 4px 14px rgba(18,9,26,.06); }

.tah-card-img { position: relative; aspect-ratio: 1/1; background: var(--tah-surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tah-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tah-card:hover .tah-card-img img { transform: scale(1.06); }
.tah-card-img .fallback { font-size: 2.6rem; opacity: .5; }
.tah-card-body { padding: 14px; }
.tah-card-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.25; margin: 0 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.tah-card-title a { color: var(--tah-text); }
.tah-card-title a:hover { color: var(--tah-primary); }
.tah-card-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tah-muted); }
.tah-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }

/* ─── 7. HERO ───────────────────────────────────────────────────── */
.tah-hero {
    background: var(--tah-hero-grad);
    padding: 84px 0 72px;
    position: relative; overflow: hidden;
}
.tah-hero::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--tah-primary), transparent);
    box-shadow: var(--tah-glow);
}
.tah-hero-eyebrow { font-family: 'Orbitron', sans-serif; letter-spacing: .32em; font-size: .74rem; color: var(--tah-muted); text-transform: uppercase; }
.tah-hero-title { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.02; margin: 14px 0 18px; }
.tah-hero-copy { color: var(--tah-muted); max-width: 520px; font-size: 1.05rem; }
.tah-hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.tah-hero-stat b { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; color: var(--tah-text); display: block; }
.tah-hero-stat span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tah-muted); }

.tah-hero-panel {
    background: var(--tah-card-grad); border: 1px solid var(--tah-border);
    border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--tah-glow-soft);
}

/* ─── 8. COUNTDOWN ──────────────────────────────────────────────── */
.tah-countdown { display: flex; gap: 8px; }
.tah-countdown .unit {
    background: var(--tah-bg); border: 1px solid var(--tah-border);
    border-radius: var(--radius-sm); min-width: 54px; padding: 7px 6px; text-align: center;
}
[data-theme="light"] .tah-countdown .unit { background: var(--tah-surface); }
.tah-countdown b { font-family: 'Orbitron', sans-serif; font-size: 1.15rem; color: var(--tah-primary); text-shadow: var(--tah-glow-soft); display: block; }
.tah-countdown span { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tah-muted); }

/* ─── 9. KUJI ELEMENTS ──────────────────────────────────────────── */
.tah-phase-track { display: flex; flex-wrap: wrap; gap: 6px; }
.tah-phase {
    font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .7rem;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px;
    background: var(--tah-surface-2); color: var(--tah-muted); border: 1px solid var(--tah-border);
}
.tah-phase.done { color: var(--tah-success); border-color: rgba(43,217,143,.35); }
.tah-phase.now  { color: #fff; background: var(--tah-primary); border-color: var(--tah-primary); box-shadow: var(--tah-glow); }

.tah-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.tah-slot {
    aspect-ratio: 1/1; border-radius: var(--radius-sm);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: .95rem;
    background: var(--tah-surface-2); border: 1.5px solid var(--tah-border); color: var(--tah-muted);
    transition: all .15s ease; cursor: pointer; user-select: none;
}
.tah-slot small { font-size: .55rem; letter-spacing: .06em; font-family: 'Exo 2', sans-serif; }
.tah-slot.open:hover { border-color: var(--tah-primary); color: var(--tah-primary); box-shadow: var(--tah-glow-soft); }
.tah-slot.selected { background: var(--tah-primary); color: #fff; border-color: var(--tah-primary); box-shadow: var(--tah-glow); }
.tah-slot.taken { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.tah-tier {
    font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: .8rem;
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(240,0,120,.14); color: var(--tah-primary); border: 1px solid rgba(240,0,120,.4);
}

.tah-progress { height: 9px; border-radius: 999px; background: var(--tah-surface-2); overflow: hidden; border: 1px solid var(--tah-border); }
.tah-progress > div { height: 100%; background: linear-gradient(90deg, #6B2FA0, var(--tah-primary)); box-shadow: var(--tah-glow-soft); transition: width .4s ease; }

/* ─── 10. FIRE SALE ─────────────────────────────────────────────── */
.tah-fire-band {
    background: linear-gradient(120deg, rgba(240,0,120,.12), rgba(255,177,61,.07)), var(--tah-surface);
    border: 1px solid rgba(255,177,61,.28); border-radius: var(--radius-lg);
    padding: 20px 24px;
}
.tah-fire-band .bi-fire { color: var(--tah-warning); filter: drop-shadow(0 0 6px rgba(255,177,61,.7)); }
.tah-discount-flag {
    background: var(--tah-danger); color: #fff; font-family: 'Rajdhani', sans-serif;
    font-weight: 700; font-size: .74rem; padding: 3px 9px; border-radius: var(--radius-sm);
}

/* ─── 11. TABLES / MISC ─────────────────────────────────────────── */
.tah-front .table { color: var(--tah-text); border-color: var(--tah-border); }
.tah-front .table > :not(caption) > * > * { background: transparent; color: inherit; border-color: var(--tah-border); }

.tah-toast {
    position: fixed; top: calc(var(--nav-h) + 14px); left: 50%; transform: translateX(-50%);
    z-index: 2000; background: var(--tah-surface-2); border: 1px solid var(--tah-primary);
    color: var(--tah-text); padding: 10px 22px; border-radius: 999px;
    box-shadow: var(--tah-glow-soft); font-weight: 600; font-size: .9rem;
}

.tah-empty {
    border: 2px dashed var(--tah-border); border-radius: var(--radius-lg);
    padding: 56px 20px; text-align: center; color: var(--tah-muted);
}
.tah-empty i { font-size: 2.6rem; display: block; margin-bottom: 10px; }

/* Footer */
.tah-footer { background: var(--tah-surface); border-top: 1px solid var(--tah-border); padding: 48px 0 0; margin-top: 72px; }
[data-theme="light"] .tah-footer { background: #fff; }
.tah-footer h6 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tah-text); margin-bottom: 12px; }
.tah-footer a { display: block; color: var(--tah-muted); font-size: .9rem; padding: 3px 0; }
.tah-footer a:hover { color: var(--tah-primary); }
.tah-footer-bottom { border-top: 1px solid var(--tah-border); margin-top: 36px; padding: 16px 0; font-size: .78rem; color: var(--tah-muted); text-align: center; }

/* Auth card */
.tah-auth-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 48px 16px; background: var(--tah-hero-grad); }
.tah-auth-card { width: 100%; max-width: 420px; background: var(--tah-card-grad); border: 1px solid var(--tah-border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--tah-glow-soft); }

/* Pagination (Bootstrap override) */
.tah-front .pagination { --bs-pagination-bg: var(--tah-surface-2); --bs-pagination-color: var(--tah-muted);
    --bs-pagination-border-color: var(--tah-border); --bs-pagination-hover-bg: var(--tah-surface);
    --bs-pagination-hover-color: var(--tah-primary); --bs-pagination-active-bg: var(--tah-primary);
    --bs-pagination-active-border-color: var(--tah-primary); --bs-pagination-disabled-bg: var(--tah-surface-2);
    --bs-pagination-disabled-color: var(--tah-border); --bs-pagination-focus-box-shadow: var(--tah-glow-soft);
    --bs-pagination-focus-bg: var(--tah-surface); --bs-pagination-focus-color: var(--tah-primary); }

/* Focus visibility + reduced motion */
.tah-front :focus-visible { outline: 2px solid var(--tah-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .tah-front *, .tah-front *::before, .tah-front *::after { animation: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PHASE 2 ADDITIONS — Hunter HQ (My Account dashboard)
   ═══════════════════════════════════════════════════════════════════ */

/* Unpaid / attention banner */
.tah-alert-band { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; border: 1px solid rgba(255, 45, 120, .55); border-radius: 14px; padding: .9rem 1.2rem; background: linear-gradient(90deg, rgba(255, 45, 120, .12), rgba(107, 47, 160, .08)); box-shadow: 0 0 22px rgba(255, 45, 120, .12); }

/* Account layout: sticky side nav + content */
.tah-acc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.25rem; align-items: start; }
@media (max-width: 991px) { .tah-acc-layout { grid-template-columns: 1fr; } }
.tah-acc-nav { display: flex; flex-direction: column; gap: .4rem; position: sticky; top: 86px; background: var(--tah-surface); border: 1px solid var(--tah-border); border-radius: 14px; padding: .6rem; }
@media (max-width: 991px) { .tah-acc-nav { position: static; flex-direction: row; overflow-x: auto; } }
.tah-acc-nav button { display: flex; align-items: center; gap: .6rem; border: 1px solid transparent; background: transparent; color: var(--tah-text); border-radius: 10px; padding: .6rem .8rem; font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: .95rem; text-align: left; white-space: nowrap; transition: background .15s, border-color .15s; }
.tah-acc-nav button:hover { background: rgba(255, 45, 120, .07); }
.tah-acc-nav button.active { border-color: var(--tah-primary); background: rgba(255, 45, 120, .1); color: var(--tah-primary); box-shadow: 0 0 14px rgba(255, 45, 120, .18); }
.tah-acc-content { min-width: 0; }

/* Support chat thread */
.tah-thread { display: flex; flex-direction: column; gap: .5rem; max-height: 320px; overflow-y: auto; padding-right: .3rem; }
.tah-thread-msg { border: 1px solid var(--tah-border); border-radius: 12px; padding: .6rem .85rem; font-size: .86rem; background: var(--tah-surface-2, rgba(255,255,255,.03)); max-width: 86%; }
.tah-thread-msg.staff { align-self: flex-start; border-color: rgba(255, 45, 120, .45); background: rgba(255, 45, 120, .07); }
.tah-thread-msg.mine { align-self: flex-end; border-color: rgba(107, 47, 160, .55); background: rgba(107, 47, 160, .12); }
.tah-thread-meta { display: flex; gap: .5rem; align-items: center; font-size: .68rem; margin-bottom: .2rem; }
