#panel-vns { padding: 0; min-height: 100vh; background: #04060a; }
.vns-screen { padding: 16px 18px 80px; max-width: 720px; margin: 0 auto; color: #e8e2d4; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.vns-header { display: flex; align-items: center; gap: 14px; padding: 14px 0 24px; border-bottom: 1px solid rgba(201,168,76,0.15); margin-bottom: 24px; }
.vns-back-btn { background: none; border: none; color: #c9a84c; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 10px; border-radius: 6px; transition: background 0.2s; }
.vns-back-btn:hover { background: rgba(201,168,76,0.08); }
.vns-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 400; color: #c9a84c; font-style: italic; }
.vns-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(201,168,76,0.7); margin-bottom: 12px; }
.vns-h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px; font-weight: 300; line-height: 1.1; color: #f5f0e8; margin: 0 0 18px; letter-spacing: -0.01em; }
.vns-h1 em { font-style: italic; color: #c9a84c; }
.vns-intro { font-size: 14px; line-height: 1.7; color: rgba(245,240,232,0.72); margin-bottom: 32px; max-width: 540px; }
.vns-rules { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
.vns-rule { display: flex; gap: 16px; padding: 16px 18px; background: #0d1018; border: 1px solid rgba(201,168,76,0.12); border-radius: 10px; }
.vns-rule-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: rgba(201,168,76,0.85); flex-shrink: 0; line-height: 1; }
.vns-rule-title { font-size: 13px; font-weight: 600; color: #f5f0e8; margin-bottom: 4px; letter-spacing: 0.01em; }
.vns-rule-text { font-size: 12.5px; line-height: 1.65; color: rgba(245,240,232,0.65); }
.vns-display { background: #0d1018; border: 1px solid rgba(201,168,76,0.85); border-radius: 12px; padding: 36px 18px; margin: 28px 0 18px; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.vns-idle { font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,240,232,0.4); }
.vns-code { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 56px; font-weight: 300; color: #c9a84c; letter-spacing: 0.12em; line-height: 1; animation: vnsCodeFlick 0.5s ease; }
.vns-code-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,232,0.5); margin-top: 12px; }
.vns-revealed-tag { position: absolute; top: 12px; right: 14px; font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(201,168,76,0.85); }
@keyframes vnsCodeFlick { 0% { opacity: 0; } 30% { opacity: 0.4; } 100% { opacity: 1; } }
.vns-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.vns-btn-primary, .vns-btn-secondary { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 10px; border: none; cursor: pointer; transition: all 0.25s; font-family: inherit; }
.vns-btn-primary { background: #c9a84c; color: #04060a; }
.vns-btn-primary:hover { background: #d9b95c; transform: translateY(-1px); }
.vns-btn-primary:active { transform: translateY(0); }
.vns-btn-secondary { background: transparent; color: rgba(245,240,232,0.78); border: 1px solid rgba(201,168,76,0.4); }
.vns-btn-secondary:hover { border-color: #c9a84c; color: #c9a84c; }
.vns-btn-icon { font-size: 14px; line-height: 1; }
.vns-counter { font-size: 11px; letter-spacing: 0.05em; color: rgba(245,240,232,0.45); text-align: center; margin-bottom: 32px; padding: 0 8px; }
.vns-reset { color: rgba(201,168,76,0.7); cursor: pointer; text-decoration: underline; }
.vns-reset:hover { color: #c9a84c; }
.vns-steps { background: #0d1018; border: 1px solid rgba(201,168,76,0.1); border-radius: 12px; padding: 22px 20px; margin-bottom: 28px; }
.vns-step-title { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(201,168,76,0.85); margin-bottom: 18px; }
.vns-step { display: flex; gap: 14px; align-items: start; margin-bottom: 14px; }
.vns-step:last-child { margin-bottom: 0; }
.vns-step-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: rgba(201,168,76,0.7); width: 24px; flex-shrink: 0; line-height: 1; }
.vns-step-h { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(201,168,76,0.85); margin-bottom: 4px; }
.vns-step-t { font-size: 12.5px; line-height: 1.65; color: rgba(245,240,232,0.62); }
.vns-citation { background: #0d1018; border-radius: 12px; padding: 28px 20px; text-align: center; margin-bottom: 24px; border: 1px solid rgba(201,168,76,0.08); }
.vns-citation-mark { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 48px; color: rgba(201,168,76,0.5); line-height: 0.4; margin-bottom: 14px; }
.vns-citation-text { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.5; color: rgba(245,240,232,0.85); margin-bottom: 16px; padding: 0 8px; }
.vns-citation-source { font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,240,232,0.4); }
@media (min-width: 600px) {
  .vns-actions { flex-direction: row; }
  .vns-actions button { flex: 1; }
}

/* === Player audio === */
.vns-audio { background: #0d1018; border: 1px solid rgba(201,168,76,0.18); border-radius: 12px; padding: 18px 18px; margin-bottom: 24px; }
.vns-audio-title { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(201,168,76,0.85); margin-bottom: 14px; }
.vns-audio-row { display: flex; align-items: center; gap: 14px; }
.vns-audio-btn { min-width: 44px; height: 36px; padding: 0 16px; border-radius: 18px; background: #c9a84c; color: #04060a; border: none; cursor: pointer; font-size: 13px; font-weight: 600; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.15s; }
.vns-audio-btn:hover { background: #d9b95c; }
.vns-audio-btn:active { transform: scale(0.95); }
.vns-audio-bars { flex: 1; min-width: 0; }
.vns-audio-progress { height: 6px; background: rgba(245,240,232,0.08); border-radius: 3px; cursor: pointer; position: relative; overflow: hidden; }
.vns-audio-progress-fill { height: 100%; background: #c9a84c; width: 0; border-radius: 3px; transition: width 0.15s linear; }
.vns-audio-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 10.5px; color: rgba(245,240,232,0.5); }
.vns-audio-meta span:last-child { font-family: 'DM Mono', monospace; font-size: 10px; }
.vns-audio-vol-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.vns-audio-vol-icon { font-size: 12px; color: rgba(245,240,232,0.5); flex-shrink: 0; }
.vns-audio-vol { flex: 1; height: 4px; background: rgba(245,240,232,0.08); border-radius: 2px; cursor: pointer; overflow: hidden; }
.vns-audio-vol-fill { height: 100%; background: rgba(201,168,76,0.7); width: 70%; border-radius: 2px; }

/* === Anti-débordement === */
#vns-overlay, #vns-content { box-sizing: border-box; }
#vns-content { width: 100%; max-width: 560px; margin: 0 auto; }
.vns-rule { box-sizing: border-box; max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
.vns-rule-body { min-width: 0; flex: 1; }
