:root { color-scheme: dark; --survey-bg:#0c0d19; --survey-card:#151625; --survey-line:#303149; --survey-muted:#b4b3c9; --survey-accent:#af8aff; }
body.survey-page { margin:0; background:radial-gradient(ellipse at 50% 0, #292041 0, transparent 600px),var(--survey-bg); color:#f4f2fc; font-family:'Poppins',Arial,sans-serif; min-height:100vh; }
.survey-shell { width:min(880px, calc(100% - 32px)); margin:112px auto 64px; }
.survey-shell.survey-wide { width:min(1120px, calc(100% - 32px)); }
.survey-topline { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; margin-bottom:26px; }
.survey-back { color:var(--survey-muted); font-size:14px; text-decoration:none; }
.survey-back:hover { color:#fff; }
.survey-tag { padding:7px 12px; border:1px solid #574173; border-radius:50px; background:#241c34; color:#d4baff; font-size:11px; font-weight:600; letter-spacing:1.4px; }
.survey-hero { margin-bottom:30px; }
.survey-eyebrow { color:var(--survey-accent); letter-spacing:2px; font-size:12px; font-weight:600; margin:0 0 12px; }
.survey-hero h1 { font-size:clamp(30px,5vw,46px); font-weight:700; letter-spacing:-1.5px; line-height:1.15; margin:0 0 16px; }
.survey-hero p { color:var(--survey-muted); line-height:1.8; max-width:720px; }
.survey-meta { display:flex; gap:10px 24px; flex-wrap:wrap; font-size:13px; margin-top:22px; color:#d2c8e6; }
.survey-card { background:var(--survey-card); border:1px solid var(--survey-line); border-radius:18px; padding:28px; margin:0 0 18px; min-width:0; }
.survey-card h2, .survey-card legend { display:flex; align-items:flex-start; gap:14px; font-size:17px; line-height:1.6; font-weight:600; margin:0 0 22px; padding:0; float:none; width:100%; color:#f4f2fc; }
.survey-card legend { width:auto; max-width:100%; padding:0 8px; margin:0 0 12px; font-size:17px; }
fieldset.survey-card { padding-top:18px; }
.survey-number { display:inline-flex; justify-content:center; align-items:center; flex:0 0 30px; height:30px; border-radius:9px; background:#302342; color:#d0b1ff; font-size:13px; }
.survey-option { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid #39384f; border-radius:11px; margin-bottom:10px; cursor:pointer; font-size:14px; line-height:1.7; transition:border-color .15s,background .15s; }
.survey-option:hover { border-color:#a17ce2; background:#211b31; }
.survey-option:has(input:checked) { border-color:#b78fff; background:#2a203b; }
.survey-option:focus-within { outline:2px solid #c9a9ff; outline-offset:2px; }
.survey-option input { margin-top:5px; flex-shrink:0; width:17px; height:17px; accent-color:#b78fff; }
.survey-option-letter { color:var(--survey-accent); font-weight:600; }
.survey-text-label { display:block; font-size:13px; font-weight:500; margin:22px 0 10px; }
.survey-required { color:#e1c6ff; font-size:12px; font-weight:400; }
.survey-text { box-sizing:border-box; width:100%; min-height:125px; resize:vertical; border:1px solid #45415d; border-radius:10px; padding:14px 16px; background:#0f1020; color:#fff; font:inherit; font-size:14px; line-height:1.7; }
.survey-text:focus { outline:2px solid #b990ff; outline-offset:2px; }
.survey-text::placeholder { color:#918ca8; }
.survey-hint { display:block; color:#a6a0bb; font-size:12px; margin-top:8px; }
.survey-submit { margin-top:26px; text-align:right; }
.survey-submit p { color:var(--survey-muted); font-size:13px; }
.survey-button { display:inline-block; border:1px solid transparent; border-radius:10px; padding:13px 22px; background:#ad80f6; color:#130d20; font:inherit; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }
.survey-button:hover { background:#c49eff; color:#130d20; text-decoration:none; }
.survey-button:focus-visible, .survey-back:focus-visible { outline:3px solid #e3d1ff; outline-offset:4px; }
.survey-button.secondary { background:#222033; color:#e6d9ff; border-color:#4b3e64; }
.survey-alert { background:#33202d; border:1px solid #ae587b; color:#ffdfec; border-radius:12px; padding:20px; margin-bottom:24px; line-height:1.7; }
.survey-alert a { color:#ffdfec; text-decoration:underline; }
.survey-success { background:#152e2a; border:1px solid #387d69; color:#c4f6e5; border-radius:14px; padding:24px; margin-bottom:26px; }
.survey-success h2 { font-size:21px; margin:0 0 10px; }
.survey-success p { margin:0; line-height:1.7; }
.survey-error { color:#ffc0d3; font-size:13px; margin:10px 0 0; }
.survey-card.has-error { border-color:#ae587b; }
.survey-answer h3 { color:var(--survey-muted); font-size:12px; text-transform:uppercase; letter-spacing:1px; margin:22px 0 10px; }
.survey-selected { background:#2a203b; border-left:3px solid #b78fff; padding:14px 18px; border-radius:6px; font-size:14px; }
.survey-written { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; color:#e1ddeb; font-size:14px; margin-bottom:0; }
.survey-table-wrap { overflow-x:auto; }
.survey-table { border-collapse:collapse; width:100%; font-size:14px; }
.survey-table th { color:var(--survey-muted); font-size:11px; letter-spacing:1px; text-transform:uppercase; font-weight:500; padding:0 14px 16px; text-align:left; }
.survey-table td { border-top:1px solid var(--survey-line); padding:20px 14px; vertical-align:middle; }
.survey-table td:first-child { font-weight:500; }
.survey-table a { color:#d1acff; }
.survey-steamid { font-family:monospace; font-size:13px; color:var(--survey-muted); }
.survey-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:24px 0; font-size:13px; color:var(--survey-muted); }
.survey-identity { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; }
.survey-identity h2 { margin-bottom:8px; }
.survey-identity p { margin-bottom:8px; }
.survey-identity a { color:#d1acff; }
@media(max-width:600px) { .survey-shell { margin-top:100px; } .survey-card { padding:20px 16px; border-radius:14px; } .survey-option { padding:13px; } .survey-card legend { font-size:15px; } .survey-submit .survey-button { width:100%; text-align:center; } .survey-hero h1 { letter-spacing:-1px; } }

/* Mantener contraste con las reglas globales del sitio y su selector de tema. */
body.survey-page { --survey-text:#f4f2fc; }
.survey-shell h1, .survey-shell h2, .survey-shell legend { color:var(--survey-text); }
.survey-shell p, .survey-shell label { color:var(--survey-text) !important; }
.survey-shell .survey-hero p, .survey-shell .survey-hint, .survey-shell .survey-submit p { color:var(--survey-muted) !important; }
.survey-shell .survey-eyebrow { color:var(--survey-accent) !important; }
.survey-shell .survey-error { color:#ffc0d3 !important; }
.survey-shell .survey-alert, .survey-shell .survey-alert li { color:#ffdfec !important; }
.survey-shell .survey-success h2, .survey-shell .survey-success p { color:#c4f6e5 !important; }
body.light-mode.survey-page { color-scheme:light; --survey-bg:#f5f3fa; --survey-card:#fff; --survey-line:#ded8e9; --survey-muted:#625b75; --survey-accent:#6a36ac; --survey-text:#241b35; background:radial-gradient(ellipse at 50% 0, #e9ddfc 0, transparent 600px),var(--survey-bg); color:var(--survey-text); }
body.light-mode .survey-tag, body.light-mode .survey-number { background:#f0e7fc; border-color:#d6c1f2; color:#6331a6; }
body.light-mode .survey-meta { color:#625077; }
body.light-mode .survey-option { border-color:#d8d0e4; }
body.light-mode .survey-option:hover, body.light-mode .survey-option:has(input:checked), body.light-mode .survey-selected { background:#f3ecfc; }
body.light-mode .survey-text { background:#fcfbff; color:#241b35; border-color:#b8a9cb; }
body.light-mode .survey-button.secondary { background:#f2edf9; color:#593182; border-color:#d1c0e7; }
body.light-mode .survey-table a, body.light-mode .survey-identity a { color:#6a36ac; }
body.light-mode .survey-shell .survey-error { color:#a1254b !important; }
