/* Phony SMS — uses same visual language as id.phony.cam */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #000000;
    --bg-soft: #050505;
    --bg-elevated: #0a0a0a;
    --glass-1: rgba(255, 255, 255, 0.045);
    --glass-2: rgba(255, 255, 255, 0.07);
    --glass-3: rgba(255, 255, 255, 0.10);
    --glass-4: rgba(255, 255, 255, 0.14);
    --rim: rgba(255, 255, 255, 0.10);
    --rim-strong: rgba(255, 255, 255, 0.18);
    --rim-bright: rgba(255, 255, 255, 0.32);
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    --success: #00d96b;
    --warning: #ffaa00;
    --error: #ff4444;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, 0.8);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Background animation */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 25s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent); }
.orb-2 { width: 360px; height: 360px; top: 30%; right: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent); animation-delay: -8s; }
.orb-3 { width: 480px; height: 480px; bottom: -180px; left: 20%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent); animation-delay: -16s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 1;
    pointer-events: none;
}

/* Auth screen */
.screen { position: relative; z-index: 2; }
#login-screen.active {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.auth-container {
    background: var(--glass-2);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid var(--rim);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.auth-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.logo-section { text-align: center; margin-bottom: 36px; }
.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--glass-3);
    border: 1px solid var(--rim-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-sm);
}
.logo-icon svg { width: 32px; height: 32px; }
.logo-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: #ffffff;
}
.logo-subtitle { font-size: 13px; color: var(--text-secondary); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}
.auth-footer a { color: var(--text); text-decoration: none; font-weight: 600; }

/* Header */
.header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rim);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.2px;
}
.logo-icon-small {
    width: 32px;
    height: 32px;
    background: var(--glass-3);
    border: 1px solid var(--rim-strong);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon-small svg { width: 16px; height: 16px; }
.header-right { display: flex; align-items: center; gap: 12px; }
.balance-badge {
    background: var(--glass-2);
    border: 1px solid var(--rim);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.balance-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.balance-value { font-size: 13px; font-weight: 700; color: var(--text); font-family: 'SF Mono', Monaco, monospace; }
.btn-icon {
    width: 36px;
    height: 36px;
    background: var(--glass-2);
    border: 1px solid var(--rim);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.btn-icon:hover { background: var(--glass-3); }
.btn-icon svg { width: 16px; height: 16px; }

/* Main */
.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

/* Tabs */
.tabs-wrapper {
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tabs-wrapper::-webkit-scrollbar { display: none; }
.tabs {
    display: inline-flex;
    gap: 6px;
    background: var(--glass-1);
    border: 1px solid var(--rim);
    border-radius: var(--radius-pill);
    padding: 4px;
    width: max-content;
    min-width: 100%;
}
.tab {
    flex: 0 0 auto;
    padding: 10px 22px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    white-space: nowrap;
}
.tab.active {
    background: var(--glass-3);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--rim-strong);
}

.tab-content { display: none; animation: fadeIn 0.2s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card */
.card {
    background: var(--glass-2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--rim);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.card-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--rim);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.card-header h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; }
.card-hint { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.card-body { padding: 22px; }

/* Form */
.inline-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
    background: var(--glass-1);
    border: 1px solid var(--rim);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    resize: vertical;
}
.form-group textarea { min-height: 80px; line-height: 1.5; }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rim-bright);
    background: var(--glass-2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-hint {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}
.form-status {
    font-size: 13px;
    text-align: center;
    min-height: 18px;
    padding: 6px;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* Buttons */
.btn {
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #e5e5e7; }
.btn-secondary {
    background: var(--glass-2);
    color: var(--text);
    border: 1px solid var(--rim);
}
.btn-secondary:hover { background: var(--glass-3); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.error-message {
    color: var(--error);
    font-size: 13px;
    text-align: center;
    min-height: 18px;
    margin-top: 8px;
}

/* List items (history, scheduled, campaigns) */
.list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rim);
}
.list-item:last-child { border-bottom: none; padding-bottom: 0; }
.list-item:first-child { padding-top: 0; }

.list-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--glass-2);
    border: 1px solid var(--rim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text);
}
.list-icon.success { background: rgba(0, 217, 107, 0.12); border-color: rgba(0, 217, 107, 0.35); color: var(--success); }
.list-icon.warning { background: rgba(255, 170, 0, 0.12); border-color: rgba(255, 170, 0, 0.35); color: var(--warning); }
.list-icon.error { background: rgba(255, 68, 68, 0.12); border-color: rgba(255, 68, 68, 0.35); color: var(--error); }
.list-icon svg { width: 18px; height: 18px; }

.list-info { flex: 1; min-width: 0; }
.list-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.list-title {
    font-size: 14px;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-time {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.list-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    word-break: break-word;
}
.list-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
}
.list-meta span { display: inline-flex; align-items: center; gap: 4px; }

.list-action {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: var(--error);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 11px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
}
.list-action:hover { background: rgba(255, 68, 68, 0.15); }

.empty-state {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    background: var(--glass-3);
    backdrop-filter: blur(20px);
    border: 1px solid var(--rim);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text);
    box-shadow: var(--shadow-md);
    animation: toast-in 0.3s ease;
    pointer-events: auto;
    transition: opacity 0.3s ease;
    max-width: 320px;
}
.toast.success { border-color: rgba(0, 217, 107, 0.35); }
.toast.error { border-color: rgba(255, 68, 68, 0.35); }
@keyframes toast-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 600px) {
    .header { padding: 12px 16px; }
    .main { padding: 16px; }
    .card-body { padding: 16px; }
    .header-logo span { display: none; }
    .balance-badge { padding: 5px 10px; }
    .toast-container { top: 12px; right: 12px; left: 12px; }
    .toast { max-width: none; }
}


/* Markup info bar */
.markup-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 170, 0, 0.06);
    border: 1px solid rgba(255, 170, 0, 0.22);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}
.markup-info b { color: #ffc451; font-weight: 700; }
.markup-icon {
    font-size: 16px;
    flex-shrink: 0;
}


/* Sender warning */
.sender-warning {
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #ff8888;
    line-height: 1.45;
}
.sender-warning.hidden { display: none; }


/* === SMS lint result === */
.lint-result {
    margin: 10px 0;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--rim, rgba(255,255,255,0.10));
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    animation: fade-in .2s ease;
}
.lint-result.hidden { display: none; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.lint-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
}
.lint-badge {
    width: 24px; height: 24px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px;
    background: rgba(255,255,255,0.10);
    color: var(--text, #fff);
}
.lint-title { flex: 1; font-size: 14px; }
.lint-stats { font-size: 11px; color: var(--text-muted, #888); font-weight: 500; }

.lint-findings { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.lint-findings li {
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid transparent;
    font-size: 12.5px;
    line-height: 1.4;
}
.lint-findings li b { color: var(--text, #fff); }
.lint-findings .lf-block  { border-left-color: #f87171; background: rgba(248,113,113,0.10); }
.lint-findings .lf-high   { border-left-color: #fbbf24; background: rgba(251,191,36,0.10); }
.lint-findings .lf-medium { border-left-color: #94a3b8; background: rgba(255,255,255,0.04); }
.lint-findings .lf-ok     { border-left-color: rgba(74,222,128,0.5); }

.lint-clean { font-size: 12.5px; color: var(--text-muted, #888); }

.lint-result.lint-ok     .lint-badge { background: rgba(74,222,128,0.20); color: #4ade80; }
.lint-result.lint-medium .lint-badge { background: rgba(251,191,36,0.20); color: #fbbf24; }
.lint-result.lint-high   .lint-badge { background: rgba(251,146,60,0.20); color: #fb923c; }
.lint-result.lint-block  .lint-badge { background: rgba(248,113,113,0.25); color: #f87171; }
.lint-result.lint-error  { border-color: rgba(248,113,113,0.4); }


/* === SMS send animation === */
.sms-anim-overlay {
    position: fixed; inset: 0; z-index: 9998;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8,8,12,0.85);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    animation: sms-fade-in .25s ease;
}
.sms-anim-overlay[hidden] { display: none; }
@keyframes sms-fade-in { from { opacity: 0; } to { opacity: 1; } }

.sms-anim-stage {
    position: relative;
    width: min(440px, 92vw);
    height: 200px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 50px;
}

.sms-anim-bubble {
    width: 64px; height: 64px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px rgba(99,102,241,0.45);
    color: #fff;
    transform: translateX(0);
    animation: sms-bubble-fly 1.6s cubic-bezier(.4, 0, .2, 1) forwards;
}
.sms-anim-bubble.success {
    animation: sms-bubble-fly 1.6s cubic-bezier(.4, 0, .2, 1) forwards, sms-bubble-pop .35s ease-out 1.55s forwards;
}
.sms-anim-bubble.error {
    animation: sms-bubble-shake .5s ease-in-out 1.6s forwards;
    background: linear-gradient(135deg, #f87171, #ec4899);
}
.sms-anim-icon { width: 32px; height: 32px; }

@keyframes sms-bubble-fly {
    0%   { transform: translateX(0) scale(1); }
    35%  { transform: translateX(120px) scale(1.05) rotate(-4deg); }
    70%  { transform: translateX(245px) scale(1) rotate(4deg); }
    100% { transform: translateX(290px) scale(0.7) rotate(0deg); opacity: 0; }
}
@keyframes sms-bubble-pop {
    to { opacity: 0; transform: translateX(290px) scale(0); }
}
@keyframes sms-bubble-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-8px); }
    50%      { transform: translateX(8px);  }
    75%      { transform: translateX(-4px); }
}

.sms-anim-trail {
    position: absolute;
    left: 100px; top: 50%;
    transform: translateY(-50%);
    width: 200px; height: 4px;
    display: flex; gap: 8px;
    pointer-events: none;
}
.sms-anim-trail span {
    flex: 1; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(168,85,247,0.6), transparent);
    opacity: 0;
    animation: sms-trail .9s ease-in forwards;
}
.sms-anim-trail span:nth-child(1) { animation-delay: 0.05s; }
.sms-anim-trail span:nth-child(2) { animation-delay: 0.18s; }
.sms-anim-trail span:nth-child(3) { animation-delay: 0.30s; }
.sms-anim-trail span:nth-child(4) { animation-delay: 0.42s; }
.sms-anim-trail span:nth-child(5) { animation-delay: 0.55s; }
.sms-anim-trail span:nth-child(6) { animation-delay: 0.68s; }
@keyframes sms-trail {
    0%   { opacity: 0; transform: scaleX(0.3); }
    50%  { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}

.sms-anim-target {
    width: 56px; height: 56px;
    color: rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.12);
}
.sms-anim-target svg { width: 28px; height: 28px; }

.sms-anim-check, .sms-anim-error {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 96px; height: 96px;
    pointer-events: none;
    opacity: 0;
}
.sms-anim-check svg, .sms-anim-error svg { width: 100%; height: 100%; }
.sms-anim-check { color: #4ade80; }
.sms-anim-error { color: #f87171; }
.sms-anim-overlay.done .sms-anim-check {
    animation: sms-check-pop .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.sms-anim-overlay.failed .sms-anim-error {
    animation: sms-check-pop .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
@keyframes sms-check-pop {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(-90deg); }
    60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(0); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}

.sms-anim-label {
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.85);
    font-weight: 600; font-size: 14px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.sms-anim-overlay.done .sms-anim-label {
    color: #4ade80;
}
.sms-anim-overlay.failed .sms-anim-label {
    color: #f87171;
}

/* ===== Rules panel (что запрещено) — SMS-ANTIFRAUD-V1 ===== */
.rules-banner {
    background: linear-gradient(135deg, rgba(255,170,0,0.10), rgba(255,68,68,0.08));
    border: 1px solid rgba(255,170,0,0.28);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 22px;
}
.rules-section { margin-bottom: 26px; }
.rules-h {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rules-h::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffaa00, #ff4444);
}
.rules-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 14px;
}
.rules-group { margin-bottom: 14px; }
.rules-group-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.rules-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rules-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,68,68,0.08);
    border: 1px solid rgba(255,68,68,0.22);
    color: #ffb3b3;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
}
.rules-note {
    background: rgba(0,217,107,0.08);
    border: 1px solid rgba(0,217,107,0.25);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #9be8c0;
    margin-top: 8px;
}
.rules-updated {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 14px;
    text-align: right;
}
