/* ================================================================
   HOSPITAL THEME — unified design system
   Noir · Crimson · Blood Red · Glass
   ================================================================ */

:root {
    --h-bg: #070505;
    --h-surface: #110e0e;
    --h-surface-2: #1a1414;
    --h-surface-elevated: #211818;
    --h-border: rgba(248, 113, 113, 0.28);
    --h-border-glow: rgba(248, 113, 113, 0.5);
    --h-crimson: #e11d2e;
    --h-crimson-soft: #f5b0b0;
    --h-crimson-deep: #4c1d1d;
    --h-gold: #e8b86d;
    --h-gold-soft: #f5d9a8;
    --h-blood: #1c1212;
    --h-blood-glow: #2e1a1a;
    --h-violet: #9a4a4a;
    --h-violet-soft: #d8a8a8;
    --h-text: #f7f1f1;
    --h-muted: rgba(210, 198, 198, 0.6);
    --h-dim: rgba(170, 155, 155, 0.32);
    --h-success: #22c55e;
    --h-success-soft: #86efac;
    --h-ice: #38bdf8;
    --h-radius: 16px;
    --h-radius-sm: 11px;
    --h-radius-lg: 20px;
    --h-shadow: 0 14px 42px rgba(0, 0, 0, 0.58);
    --h-shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.68);
    --h-glow: 0 0 48px rgba(180, 45, 45, 0.18);
    --h-btn-bg: linear-gradient(135deg, #7f1d1d 0%, #991b1b 40%, #b91c1c 100%);
    --h-btn-border: rgba(248, 113, 113, 0.4);
    --h-accent-glow: rgba(210, 70, 70, 0.22);
    --h-space-1: 8px;
    --h-space-2: 16px;
    --h-space-3: 24px;
    --h-space-4: 32px;
    --h-space-5: 40px;
    --h-modal-z: 10000;
    --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --nav-scroll-bg: rgba(7, 5, 5, 0.94);
}

#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none !important;
    opacity: 0.85;
}
.page-inner #particles-canvas { opacity: 0.72; }
.page-auth #particles-canvas { opacity: 0.55; }

.page-bg { z-index: 0 !important; pointer-events: none !important; }
.ambient-orbs { z-index: 0; opacity: 0.48; pointer-events: none; }
.page-inner .ambient-orbs { opacity: 0.4; }
.page-auth .ambient-orbs { opacity: 0.28; }
main.container, .site-nav, footer, .h-page, .top-page, .sub-page {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.h-btn, a, button, input, select, textarea {
    touch-action: manipulation;
}

.h-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 80px;
    position: relative;
    z-index: 1;
}

.h-page-narrow { max-width: 520px; }

.h-section { margin-bottom: 72px; }

.h-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.h-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--h-violet-soft);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(100, 45, 45, 0.3);
}

.h-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--h-text);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.h-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--h-muted);
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.65;
}

.h-card {
    background: linear-gradient(145deg, rgba(22, 16, 16, 0.85) 0%, rgba(14, 10, 10, 0.75) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: var(--h-shadow);
}

.h-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--h-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.h-card::after {
    display: none;
}

.h-card:hover {
    border-color: var(--h-border-glow);
    box-shadow: var(--h-shadow), var(--h-glow);
    transform: translateY(-3px);
}

.h-card:hover::before {
    opacity: 1;
}

.h-card-glow {
    box-shadow: var(--h-shadow);
    border-color: var(--h-border-red, var(--h-border-glow));
}

.h-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.h-bento-item {
    grid-column: span 3;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px;
}

.h-bento-item.span-6 { grid-column: span 6; }
.h-bento-item.span-4 { grid-column: span 4; }

.h-bento-item.featured {
    background: #1a1414;
    border-color: rgba(100, 45, 45, 0.35);
    border-left: 3px solid #8b4040;
}

.h-bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
    background: #1e1818;
    border: 1px solid rgba(100, 45, 45, 0.3);
    color: var(--h-violet-soft);
}

.h-bento-item.featured .h-bento-icon {
    background: #2a1c1c;
    border-color: rgba(100, 45, 45, 0.35);
    color: var(--h-crimson-soft);
}

.h-bento-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0 0 8px;
}

.h-bento-item p {
    font-size: 0.8rem;
    color: var(--h-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 900px) {
    .h-bento-item, .h-bento-item.span-6, .h-bento-item.span-4 { grid-column: span 6; }
}

@media (max-width: 580px) {
    .h-bento { grid-template-columns: 1fr; }
    .h-bento-item, .h-bento-item.span-6, .h-bento-item.span-4 { grid-column: span 1; min-height: auto; }
}

.h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--h-radius-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.25s ease, color 0.25s ease;
}

.h-btn:active {
    transform: translateY(1px) scale(0.98);
}

.h-btn-primary {
    background: var(--h-btn-bg);
    color: #f5ecec;
    border: 1px solid var(--h-btn-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.h-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.h-btn-primary:hover::after {
    transform: translateX(100%);
}

.h-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a3030 0%, #3a2222 50%, #4a2828 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 24px var(--h-accent-glow);
    border-color: rgba(180, 70, 70, 0.6);
}

.h-btn-ghost {
    background: var(--h-surface-2);
    border: 1px solid var(--h-border);
    color: var(--h-muted);
}

.h-btn-ghost:hover {
    color: var(--h-text);
    border-color: var(--h-border-glow);
    background: #201818;
}

.h-btn-block { width: 100%; }

.h-hero {
    text-align: center;
    padding: 56px 24px 40px;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-home .h-hero {
    padding-top: 40px;
    padding-bottom: 48px;
}

.h-hero-logo {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    object-fit: contain;
    transform-origin: 50% 58%;
    filter: drop-shadow(0 0 0 transparent);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.45s ease;
    cursor: pointer;
    will-change: transform;
}

.h-hero-logo:hover {
    transform: translateY(-8px) scale(1.14) rotate(-10deg);
    filter:
        drop-shadow(0 0 16px rgba(225, 60, 60, 0.6))
        drop-shadow(0 10px 32px rgba(127, 29, 29, 0.45))
        brightness(1.12);
}

@media (prefers-reduced-motion: reduce) {
    .h-hero-logo {
        transition: none;
        will-change: auto;
    }
    .h-hero-logo:hover {
        transform: none;
        filter: none;
    }
}

.h-hero-badge,
.hero-badge {
    display: none !important;
}

.h-hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.2rem, 6.5vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
    color: #fff;
    text-shadow: 0 2px 40px rgba(180, 60, 60, 0.2);
}

.h-hero-title em {
    font-style: normal;
    color: var(--h-crimson-soft);
    background: linear-gradient(135deg, #e8b0b0 0%, #c06060 50%, #e0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h-hero-lead {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: var(--h-muted);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 36px;
}

.h-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.h-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    max-width: 780px;
    margin: 0 auto 64px;
    padding: 0 20px;
}

.h-stat {
    flex: 1;
    min-width: 130px;
    max-width: 180px;
    padding: 24px 16px 20px;
    text-align: center;
    background:
        linear-gradient(165deg, rgba(36, 20, 20, 0.95) 0%, rgba(14, 10, 10, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.h-stat::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    top: 0;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.55), transparent);
    opacity: 0.7;
}

.h-stat:hover {
    border-color: rgba(248, 113, 113, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(127, 29, 29, 0.18);
    transform: translateY(-4px);
}

.h-stat-val.h-stat-online {
    color: #86efac;
    text-shadow: 0 0 22px rgba(34, 197, 94, 0.35);
}

.h-stat-val {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.85rem;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.h-stat-lbl {
    display: block;
    margin-top: 8px;
    font-size: 0.64rem;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.h-func-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.h-func-item {
    padding: 24px 16px;
    text-align: center;
    background: var(--h-surface);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.h-func-item::before {
    display: none;
}

.h-func-item:hover::before { opacity: 0; }

.h-func-item:hover {
    border-color: var(--h-border-glow);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.h-func-item i {
    font-size: 1.4rem;
    color: var(--h-violet-soft);
    margin-bottom: 10px;
    display: block;
}

.h-func-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--h-muted);
    font-family: var(--font-display);
}

@media (max-width: 768px) {
    .h-func-grid { grid-template-columns: repeat(2, 1fr); }
}

.h-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    background: #1e1818;
    border: 1px solid rgba(100, 45, 45, 0.3);
    color: var(--h-violet-soft);
}

.h-card-center { text-align: center; max-width: 480px; margin: 0 auto; }

.h-card-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    margin: 0 0 8px;
}

.h-card-desc {
    color: var(--h-muted);
    font-size: 0.88rem;
    margin: 0 0 24px;
    line-height: 1.55;
}

.h-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--h-border);
    border-radius: var(--h-radius-sm);
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.25s;
    margin-bottom: 16px;
}

.h-input:focus {
    border-color: rgba(100, 45, 45, 0.45);
    box-shadow: none;
}

.h-input-mono {
    font-family: Consolas, Monaco, monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.1rem;
}

.h-steps-list { list-style: none; padding: 0; margin: 0; }

.h-steps-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--h-muted);
    line-height: 1.5;
}

.h-steps-list li:last-child { border-bottom: none; }

.h-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(225, 29, 72, 0.12);
    color: var(--h-crimson-soft);
}

.h-steps-list strong { color: #fff; }

.h-progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 16px;
}

.h-progress-fill {
    height: 100%;
    background: #6b3030;
    transition: width 0.5s ease;
}

.h-error-inline {
    color: #c9a0a0;
    font-size: 0.82rem;
    padding: 10px 14px;
    background: #1e1818;
    border: 1px solid rgba(100, 45, 45, 0.3);
    border-radius: var(--h-radius-sm);
    margin-bottom: 16px;
}

.h-success-inline {
    color: #86efac;
    font-size: 0.82rem;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--h-radius-sm);
    margin-bottom: 16px;
}

/* ===== FX: particles burst + modals ===== */
.hfx-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.hfx-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.9;
    animation: hfxFly 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform: translate(-50%, -50%);
}

@keyframes hfxFly {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.2); }
}

.hfx-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.22s;
    pointer-events: auto;
}

.hfx-modal-overlay.open { opacity: 1; }

.hfx-modal {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(160deg, rgba(28, 4, 8, 0.98), rgba(13, 2, 3, 0.96));
    border: 1px solid rgba(127, 29, 29, 0.45);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 48px rgba(127, 29, 29, 0.25);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.22s;
}

.hfx-modal-overlay.open .hfx-modal {
    transform: translateY(0) scale(1);
}

.hfx-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fca5a5;
    background: rgba(69, 10, 10, 0.65);
    border: 1px solid rgba(185, 28, 28, 0.45);
}

.hfx-modal-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 10px;
}

.hfx-modal-text {
    color: var(--h-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 0 24px;
}

.hfx-modal-actions {
    display: flex;
    gap: 10px;
}

.hfx-modal-actions .h-btn { flex: 1; }

body.hfx-modal-open {
    overflow: hidden;
}

/* Ice / thaw modals */
.hfx-modal-overlay.hfx-modal-ice {
    background: rgba(4, 12, 28, 0.82);
}

.hfx-modal-ice .hfx-modal {
    background: linear-gradient(160deg, rgba(15, 30, 55, 0.98), rgba(8, 14, 28, 0.96));
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.hfx-modal-ice .hfx-modal-icon {
    color: #93c5fd;
    background: rgba(30, 58, 138, 0.45);
    border-color: rgba(96, 165, 250, 0.45);
}

.hfx-ice-frost {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.1), transparent 45%);
}

.hfx-modal-overlay.hfx-modal-thaw {
    background: rgba(20, 12, 8, 0.82);
}

.hfx-modal-thaw .hfx-modal {
    background: linear-gradient(160deg, rgba(40, 20, 12, 0.98), rgba(12, 10, 10, 0.96));
    border-color: rgba(251, 191, 36, 0.35);
}

.hfx-modal-thaw .hfx-modal-icon {
    color: #fcd34d;
    background: rgba(120, 53, 15, 0.4);
    border-color: rgba(251, 191, 36, 0.4);
}

.hfx-modal-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin: -12px 0 20px;
    line-height: 1.45;
}

.hfx-ice-layer {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    overflow: hidden;
}

.hfx-ice-flake {
    position: absolute;
    animation: hfxIceFall linear forwards;
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.6);
}

@keyframes hfxIceFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.9; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.hfx-ice-wind {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.06), transparent);
    animation: hfxWind 1.8s ease-in-out infinite;
}

@keyframes hfxWind {
    0%, 100% { transform: translateX(-30%); opacity: 0; }
    50% { transform: translateX(30%); opacity: 1; }
}

.hfx-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.hfx-overlay.open { opacity: 1; }

.hfx-overlay-inner { text-align: center; padding: 24px; }

.hfx-overlay-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid rgba(100, 45, 45, 0.2);
    border-top-color: #8b4040;
    animation: hfxSpin 0.8s linear infinite;
}

.hfx-overlay-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #a06060;
    background: #1e1818;
    border: 1px solid rgba(100, 45, 45, 0.3);
}

@keyframes hfxSpin { to { transform: rotate(360deg); } }

.hfx-overlay-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.hfx-overlay-sub {
    font-size: 0.85rem;
    color: var(--h-muted);
}

/* ── One sub · 3 platforms (ImGui login marks) ── */
.plat-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(28, 32, 42, 0.96), rgba(13, 15, 20, 0.98));
    border: 1px solid rgba(237, 68, 82, 0.42);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 28px rgba(0, 0, 0, 0.35);
    margin: 0 auto 22px;
    max-width: 100%;
}
.plat-pill-kicker {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fecaca;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(237, 68, 82, 0.16);
    border: 1px solid rgba(237, 68, 82, 0.35);
    white-space: nowrap;
}
.plat-pill-stack {
    display: inline-flex;
    align-items: center;
}
.plat-pill-stack img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    background: #0b0d12;
    border: 2px solid #141820;
    margin-left: -8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.plat-pill-stack img:first-child { margin-left: 0; }
.plat-pill-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e8ecf5;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.plat-imgui {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 8px;
    text-align: left;
}
.plat-imgui-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 4px 10px;
}
.plat-imgui-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(224, 228, 239, 0.72);
}
.plat-imgui-note {
    font-size: 0.72rem;
    color: rgba(237, 68, 82, 0.9);
    font-weight: 700;
}
.plat-imgui-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}
.plat-imgui-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 12px 6px 6px;
    border-radius: 10px;
    background: rgba(20, 23, 30, 0.94);
    border: 1px solid rgba(48, 54, 70, 0.95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.plat-imgui-card:hover {
    border-color: rgba(237, 68, 82, 0.85);
    background: rgba(28, 32, 42, 1);
    transform: translateY(-1px);
}
.plat-imgui-card img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #08090c;
}
.plat-imgui-card strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}
.plat-imgui-card span {
    display: block;
    font-size: 0.68rem;
    color: rgba(143, 149, 168, 0.95);
    margin-top: 1px;
}
.plat-hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
}
.h-hero .plat-pill { margin-bottom: 0; }
.sub-product-hero .plat-pill {
    margin: 10px 0 0;
    display: inline-flex;
}
@media (max-width: 640px) {
    .plat-pill {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 18px;
        padding: 10px 12px;
        gap: 8px 10px;
    }
    .plat-pill-text { white-space: normal; text-align: center; }
    .plat-imgui-row { grid-template-columns: 1fr; }
    .plat-imgui-head { flex-direction: column; gap: 2px; }
}
