:root {
    --bg-deep: #1a1210;
    --bg-surface: #261815;
    --bg-surface-alt: #2e1a12;
    --accent-orange: #e0602a;
    --accent-gold: #e8a33d;
    --text-cream: #f5e9dd;
    --text-muted: #c9a98f;
    --danger: #e05252;
    --danger-bg: #3a1a17;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg-deep);
    color: var(--text-cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

.topbar {
    background: var(--accent-orange);
    padding: 16px;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar a { color: var(--text-cream); text-decoration: none; font-size: 14px; font-weight: 400; }

.card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.card-alt { background: var(--bg-surface-alt); }

.card h2 { margin: 0 0 8px; font-size: 16px; }
.card p.muted { color: var(--text-muted); font-size: 13px; margin: 4px 0 0; }

.muted { color: var(--text-muted); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-orange);
    color: var(--text-cream);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

.btn:hover { filter: brightness(1.08); }

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-cream);
}

.btn-danger { background: var(--danger); }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-trial { background: #3a2013; color: var(--accent-gold); }
.badge-active { background: #163a1c; color: #6fd68a; }
.badge-expired { background: var(--danger-bg); color: var(--danger); }

.field {
    width: 100%;
    background: var(--bg-deep);
    border: 1px solid #4a352a;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-cream);
    font-size: 14px;
    margin-top: 6px;
}

label { font-size: 13px; color: var(--text-muted); }

code, pre {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 12.5px;
}

pre {
    background: var(--bg-deep);
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; }

hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 16px 0; }

.center { text-align: center; }

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #1f1f1f;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.qr-box {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

.qr-box img { max-width: 220px; width: 100%; }

.copy-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.copy-row .field { flex: 1; font-family: monospace; font-size: 12.5px; }
