/* BO2 Emblem Tool — hand-tuned dark theme */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg: #09090b;
    --bg-raised: #131316;
    --bg-card: #16161a;
    --bg-inset: #0c0c0e;
    --border: #1f1f24;
    --border-h: #2a2a31;
    --border-active: #3a3a44;
    --text: #ececee;
    --text-2: #8e8e96;
    --text-3: #55555e;
    --accent: #ff6b35;
    --accent-h: #ff8555;
    --accent-soft: rgba(255, 107, 53, 0.08);
    --accent-glow: rgba(255, 107, 53, 0.15);
    --green: #34d399;
    --green-soft: rgba(52, 211, 153, 0.1);
    --red: #f87171;
    --red-soft: rgba(248, 113, 113, 0.08);
    --heading: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Instrument Sans', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --radius: 8px;
    --radius-lg: 12px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-h); }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ─── Reveal animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Nav ─── */
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 56px;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-brand {
    font-family: var(--heading); font-weight: 700; font-size: 1rem;
    color: var(--text); display: flex; align-items: center; gap: 10px;
    letter-spacing: -0.02em;
}
.nav-brand:hover { color: var(--text); }
.nav-logo {
    width: 22px; height: 22px; flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: var(--text-2); font-size: 0.875rem; font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--accent); color: #fff !important; padding: 7px 16px;
    border-radius: 6px; font-weight: 600; font-size: 0.82rem;
    font-family: var(--heading); letter-spacing: -0.01em;
    transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-h); color: #fff; transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
    padding: 100px 24px 80px;
    max-width: 740px; margin: 0 auto;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-status {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--mono); font-size: 0.75rem; color: var(--green);
    padding: 5px 12px 5px 10px;
    background: var(--green-soft);
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: 20px;
    margin-bottom: 24px;
}
.hero-status .dot {
    width: 6px; height: 6px; background: var(--green);
    border-radius: 50%; display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
    font-family: var(--heading); font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800; line-height: 1.08; letter-spacing: -0.04em;
    margin-bottom: 20px; text-wrap: balance;
}
.hero h1 em {
    font-style: normal; color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ff9966);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem; color: var(--text-2); max-width: 540px;
    line-height: 1.7; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border: none; border-radius: 7px;
    font-family: var(--heading); font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s var(--ease);
    text-decoration: none; letter-spacing: -0.01em;
    position: relative;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    background: var(--accent-h); color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
    background: var(--bg-card); color: var(--text-2);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--border-h); color: var(--text);
    transform: translateY(-1px);
}
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.85; }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-h); color: var(--text); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ─── Divider ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Trust strip ─── */
.trust-strip {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding: 40px 0; justify-content: center;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-3); font-size: 0.82rem; font-weight: 500;
}
.trust-icon {
    width: 32px; height: 32px; display: flex;
    align-items: center; justify-content: center;
    border-radius: 8px; font-size: 0.85rem;
    background: var(--bg-card); border: 1px solid var(--border);
}

/* ─── Section ─── */
.section { padding: 80px 0; }
.section-label {
    font-family: var(--mono); font-size: 0.72rem;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 10px;
}
.section-title {
    font-family: var(--heading); font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px;
    line-height: 1.15;
}
.section-sub { color: var(--text-2); margin-bottom: 48px; font-size: 1rem; line-height: 1.6; }

/* ─── How it works ─── */
.how-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.how-card {
    background: var(--bg-card); padding: 28px 24px;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: border-color 0.25s, transform 0.25s var(--ease);
}
.how-card:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
}
.how-num {
    font-family: var(--mono); font-size: 0.7rem; color: var(--accent);
    margin-bottom: 14px;
    width: 28px; height: 28px; display: flex;
    align-items: center; justify-content: center;
    background: var(--accent-soft); border-radius: 6px;
}
.how-card h3 {
    font-family: var(--heading); font-size: 1rem; font-weight: 600;
    margin-bottom: 8px; letter-spacing: -0.01em;
}
.how-card p { color: var(--text-2); font-size: 0.88rem; line-height: 1.6; }

/* ─── Setup guide ─── */
.guide-section {
    padding: 80px 0;
    background: var(--bg-inset);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.step {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-header {
    display: flex; align-items: baseline; gap: 14px;
    margin-bottom: 10px;
}
.step-n {
    font-family: var(--mono); font-size: 0.7rem;
    color: var(--accent); flex-shrink: 0;
    width: 28px; height: 28px; display: flex;
    align-items: center; justify-content: center;
    background: var(--accent-soft); border-radius: 6px;
}
.step h3 {
    font-family: var(--heading); font-size: 1.05rem; font-weight: 600;
    letter-spacing: -0.01em;
}
.step p {
    color: var(--text-2); font-size: 0.9rem; line-height: 1.7;
    margin-left: 42px; margin-top: 4px;
}
.step ol {
    color: var(--text-2); font-size: 0.9rem; line-height: 1.9;
    margin-left: 42px; margin-top: 8px; padding-left: 18px;
}
.step ol li::marker { color: var(--text-3); }

/* PS5 settings mockup */
.ps5-box {
    margin: 14px 0 0 42px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px 18px;
    font-family: var(--mono); font-size: 0.78rem; color: var(--text-3);
    line-height: 1.9; overflow-x: auto;
}
.ps5-path {
    display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px;
    font-size: 0.72rem;
}
.ps5-crumb {
    background: var(--bg-card); padding: 2px 10px;
    border-radius: 4px; color: var(--text-2);
}
.ps5-crumb.here { background: var(--accent-soft); color: var(--accent); }
.ps5-sep { color: var(--text-3); }
.v { color: var(--green); }
.h { color: var(--accent); }

/* ─── Pricing ─── */
.pricing-section { padding: 80px 0; }
.price-box {
    max-width: 400px; margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
}
.price-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff9966, var(--accent));
}
.price-tag {
    font-family: var(--mono); font-size: 0.72rem; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.price-amount {
    font-family: var(--heading); font-size: 3.2rem; font-weight: 800;
    letter-spacing: -0.05em; line-height: 1;
    margin-bottom: 4px;
}
.price-amount small {
    font-size: 0.5em; color: var(--text-2); font-weight: 600;
    vertical-align: baseline; position: relative; top: -0.55em;
}
.price-period { color: var(--text-3); font-size: 0.85rem; margin-bottom: 24px; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
    padding: 9px 0; font-size: 0.88rem; color: var(--text-2);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border);
}
.price-list li:last-child { border-bottom: none; }
.price-list .ck {
    width: 18px; height: 18px; display: inline-flex;
    align-items: center; justify-content: center;
    flex-shrink: 0;
}
.price-list .ck::before {
    content: '';
    width: 10px; height: 5px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
    margin-top: -2px;
}
.checkout-form { display: flex; flex-direction: column; gap: 10px; }
.form-input {
    padding: 11px 14px; border-radius: 7px;
    border: 1px solid var(--border); background: var(--bg);
    color: var(--text); font-family: var(--body); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-input::placeholder { color: var(--text-3); }
.price-fine {
    margin-top: 14px; color: var(--text-3); font-size: 0.75rem;
    text-align: center; display: flex; align-items: center;
    justify-content: center; gap: 6px;
}
.lock-icon { font-size: 0.7rem; }

/* ─── FAQ ─── */
.faq-section { padding: 80px 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; cursor: pointer; user-select: none;
    font-family: var(--heading); font-size: 0.95rem; font-weight: 600;
    letter-spacing: -0.01em; transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
    font-size: 0.6rem; color: var(--text-3);
    transition: transform 0.3s var(--ease), color 0.15s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease);
    color: var(--text-2); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 18px; }

/* ─── Support CTA ─── */
.support-cta {
    text-align: center; padding: 60px 24px;
    border-top: 1px solid var(--border);
}
.support-cta p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 14px; }

/* ─── Footer ─── */
.footer {
    padding: 28px 24px; text-align: center;
    color: var(--text-3); font-size: 0.75rem;
    border-top: 1px solid var(--border);
}
.footer a { color: var(--text-3); }
.footer a:hover { color: var(--text-2); }

/* ─── Login ─── */
.login-wrap {
    min-height: calc(100vh - 56px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.login-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
    width: 100%; max-width: 380px;
}
.login-card h2 {
    font-family: var(--heading); font-size: 1.4rem; font-weight: 700;
    margin-bottom: 6px; letter-spacing: -0.02em;
}
.login-card .sub { color: var(--text-3); font-size: 0.88rem; margin-bottom: 24px; }
.login-card form { display: flex; flex-direction: column; gap: 10px; }
.login-note { margin-top: 18px; font-size: 0.82rem; color: var(--text-3); }
.login-note a { font-weight: 500; }
.error-text {
    color: var(--red); font-size: 0.85rem; margin-top: 10px;
    padding: 10px 12px; background: var(--red-soft);
    border-radius: var(--radius); border: 1px solid rgba(248,113,113,0.12);
}

/* ─── Dashboard ─── */
.nav-email {
    font-family: var(--mono); font-size: 0.78rem; color: var(--text-3);
    background: var(--bg-card); padding: 4px 12px;
    border-radius: 5px; border: 1px solid var(--border);
}
.mono { font-family: var(--mono); font-size: 0.82rem; }
.dash-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
}
.dash-card h2 {
    font-family: var(--heading); font-size: 0.95rem; font-weight: 600;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
    letter-spacing: -0.01em;
}
.dash-card-full { width: 100%; }
.badge {
    font-family: var(--mono); font-size: 0.72rem;
    color: var(--accent); background: var(--accent-soft);
    padding: 2px 8px; border-radius: 4px;
}

/* ── Setup banner ── */
.setup-banner {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 28px 24px;
    margin-bottom: 16px; animation: fadeIn 0.4s var(--ease);
}
.setup-banner-header { margin-bottom: 24px; }
.setup-banner-header h2 {
    font-family: var(--heading); font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 4px;
}
.setup-banner-header p { font-size: 0.85rem; color: var(--text-3); }
.setup-steps { display: flex; flex-direction: column; gap: 20px; }
.setup-step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); transition: all 0.3s var(--ease);
}
.setup-step.done {
    border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.04);
}
.setup-step.done .setup-step-num {
    background: var(--green); color: #fff;
}
.setup-step-num {
    flex-shrink: 0; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--accent-soft);
    font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
    color: var(--accent);
}
.setup-step-body h4 {
    font-family: var(--heading); font-size: 0.9rem; font-weight: 600;
    margin-bottom: 4px; letter-spacing: -0.01em;
}
.setup-step-body p { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* Proxy box in setup */
.setup-proxy-box {
    display: flex; align-items: center; gap: 0;
    margin-top: 10px; border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; background: var(--bg-card);
}
.setup-proxy-field {
    display: flex; flex-direction: column; padding: 10px 16px;
    border-right: 1px solid var(--border);
}
.setup-proxy-label {
    font-size: 0.65rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 2px;
}
.setup-proxy-value {
    font-family: var(--mono); font-size: 1rem; font-weight: 600;
    color: var(--accent);
}
.setup-proxy-box .btn { border-radius: 0; border: none; margin: 0; height: 100%; padding: 10px 18px; }

/* IP binding */
.setup-ip-result { margin-top: 8px; font-size: 0.82rem; }
.setup-ip-result.success { color: var(--green); }
.setup-ip-result.error { color: var(--red); }
.setup-details { margin-top: 10px; }
.setup-details summary {
    font-size: 0.8rem; color: var(--text-3); cursor: pointer;
    user-select: none;
}
.setup-details summary:hover { color: var(--text-2); }
.setup-details p { font-size: 0.8rem; color: var(--text-3); margin-top: 6px; }
.ip-row { display: flex; gap: 6px; }
.ip-row input {
    flex: 1; padding: 9px 12px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--bg);
    color: var(--text); font-family: var(--mono); font-size: 0.85rem;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.ip-row input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Status strip ── */
.status-strip {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 10px 0; border-bottom: 1px solid var(--border);
    font-size: 0.82rem; color: var(--text-3);
}
.status-chip {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 12px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 20px;
    font-size: 0.78rem;
}
.status-chip-live {
    color: var(--green); border-color: rgba(52,211,153,0.25);
    background: rgba(52,211,153,0.06);
}
.status-chip-label {
    color: var(--text-3); font-size: 0.72rem;
}
.status-pulse {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px rgba(52,211,153,0.5);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Inject banner ── */
.inject-banner {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 14px 18px; margin-top: 12px;
    background: var(--accent-soft); border: 1px solid rgba(255,107,53,0.2);
    border-radius: var(--radius-lg);
    animation: fadeIn 0.3s var(--ease);
}
.inject-banner-left {
    display: flex; align-items: center; gap: 12px;
}
.inject-banner-left img {
    width: 44px; height: 44px; border-radius: 6px;
    background: var(--bg-inset); border: 1px solid var(--border);
}
.inject-banner-left strong {
    display: block; font-size: 0.88rem; font-family: var(--heading);
    letter-spacing: -0.01em;
}
.inject-banner-status {
    display: block; font-size: 0.75rem; color: var(--accent);
    font-weight: 500;
}
.inject-banner-right {
    display: flex; align-items: center; gap: 14px;
    margin-left: auto;
}
.inject-banner-steps {
    font-size: 0.8rem; color: var(--text-2); line-height: 1.5;
}
.inject-banner-steps small {
    display: block; font-size: 0.72rem; color: var(--text-3); margin-top: 2px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── Capture indicator ── */
.capture-indicator {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.78rem; color: var(--green); font-weight: 500;
}
.capture-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); animation: pulse 2s infinite;
}
.gallery-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.gallery-header h2 { margin-bottom: 0; }

/* ── Gallery ── */
.gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
}
.gallery-empty {
    grid-column: 1 / -1; text-align: center;
    color: var(--text-3); padding: 48px 20px;
}
.gallery-empty h3 {
    font-family: var(--heading); font-size: 1rem; font-weight: 600;
    color: var(--text-2); margin-bottom: 8px; letter-spacing: -0.01em;
}
.gallery-empty p { font-size: 0.85rem; line-height: 1.6; }
.gallery-empty .empty-sub {
    font-size: 0.78rem; margin-top: 12px; color: var(--text-3);
    opacity: 0.7;
}

/* Pulsing rings animation for empty state */
.empty-visual {
    position: relative; width: 80px; height: 80px;
    margin: 0 auto 20px;
}
.empty-ring {
    position: absolute; inset: 0;
    border: 2px solid rgba(255,107,53,0.15);
    border-radius: 50%;
    animation: ringPulse 3s ease-out infinite;
}
.empty-ring.r2 { animation-delay: 1s; }
.empty-ring.r3 { animation-delay: 2s; }
@keyframes ringPulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ── Emblem cards ── */
.emblem-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.emblem-card:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.emblem-card.selected { border-color: var(--accent); }
.emblem-card.injecting {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft), 0 6px 20px rgba(255,107,53,0.15);
}
.emblem-img-wrap { position: relative; }
.emblem-img-wrap img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    background: var(--bg-inset); display: block;
}
.injecting-badge {
    position: absolute; top: 8px; right: 8px;
    padding: 3px 8px; font-size: 0.62rem; font-weight: 700;
    font-family: var(--mono); letter-spacing: 0.06em;
    color: #fff; background: var(--accent);
    border-radius: 4px;
}
.emblem-bottom { padding: 8px 0 0; }
.emblem-label {
    padding: 2px 12px 6px; font-size: 0.82rem;
    color: var(--text); cursor: text; min-height: 1.2em;
    font-weight: 500;
}
.emblem-label:focus {
    outline: none; color: var(--text); background: var(--bg);
    border-radius: 3px;
}
.emblem-actions { display: flex; }
.btn-card {
    flex: 1; border: none; padding: 10px 4px;
    font-size: 0.78rem; font-weight: 600; font-family: var(--body);
    cursor: pointer; transition: all 0.15s;
    border-top: 1px solid var(--border);
    background: var(--bg); color: var(--text-2);
}
.btn-card:hover { color: var(--text); background: var(--bg-raised); }
.btn-card-use { color: var(--accent); }
.btn-card-use:hover { background: var(--accent-soft); color: var(--accent); }
.btn-card-ready { color: var(--green); }
.btn-card-active {
    color: var(--accent); cursor: default;
    background: var(--accent-soft);
}
.btn-card-del {
    flex: 0 0 42px; color: var(--text-3);
    border-left: 1px solid var(--border);
}
.btn-card-del:hover { color: var(--red); background: var(--red-soft); }

/* ── Toast ── */
.toast {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px);
    padding: 12px 22px; border-radius: var(--radius);
    font-size: 0.85rem; font-weight: 600; z-index: 9999;
    max-width: 90vw; text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    opacity: 0; transition: all 0.3s var(--ease);
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-default { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.toast-success { background: #166534; color: #dcfce7; }
.toast-accent { background: #7c2d12; color: #ffedd5; border: 1px solid rgba(255,107,53,0.3); }
.toast-error { background: #7f1d1d; color: #fecaca; border: 1px solid rgba(239,68,68,0.3); }

/* ── New emblem toast ── */
.new-toast {
    position: fixed; top: 20px; right: 20px;
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: var(--radius);
    background: #166534; color: #dcfce7;
    font-size: 0.85rem; font-weight: 600;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    opacity: 0; transform: translateX(20px);
    transition: all 0.3s var(--ease);
    z-index: 9999;
}
.new-toast.show { opacity: 1; transform: translateX(0); }
.new-toast-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; animation: pulse 1.5s infinite;
}

/* ── Button utility ── */
.btn-success {
    background: var(--green) !important;
    color: #fff !important; border-color: var(--green) !important;
}
code {
    font-family: var(--mono); background: var(--bg-card);
    padding: 2px 7px; border-radius: 4px; font-size: 0.84em;
    color: var(--accent); border: 1px solid var(--border);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .hero { padding: 60px 20px 48px; }
    .hero h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .how-grid { grid-template-columns: 1fr; }
    .nav-links a:not(.nav-cta) { display: none; }
    .step p, .step ol, .ps5-box { margin-left: 0; }
    .trust-strip { gap: 20px; }
    .section { padding: 60px 0; }
    .guide-section { padding: 60px 0; }
    .pricing-section { padding: 60px 0; }
    .faq-section { padding: 60px 0; }
    .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .setup-step { flex-direction: column; gap: 10px; }
    .setup-proxy-box { flex-wrap: wrap; }
    .inject-banner { flex-direction: column; }
    .inject-banner-right { margin-left: 0; width: 100%; }
    .status-strip { gap: 8px; }
}
