:root{color-scheme:dark;--bg:#0b0e14;--surface:#151a23;--surface2:#1d2430;--line:#303846;--text:#f1f2f4;--muted:#a8b0bf;--accent:#a78bfa;--accent2:#d2c3ff;--good:#78d7ad;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse 70% 35% at 50% -8%,#272047 0,transparent 70%),var(--bg);color:var(--text);line-height:1.5}
a{color:var(--accent2);text-decoration:none}a:hover{text-decoration:underline}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent2);outline-offset:3px}
.shell{width:min(1080px,100% - 40px);margin:auto;min-height:100vh;display:flex;flex-direction:column}
.site-header{display:flex;justify-content:space-between;align-items:center;padding:28px 0 24px;border-bottom:1px solid #ffffff18}
.brand{display:inline-flex;gap:10px;align-items:center;color:var(--text);font-size:17px;font-weight:600;letter-spacing:-.02em}.brand:hover{text-decoration:none}.brand b{color:var(--accent2)}.brand-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#322849;color:var(--accent2);font-size:24px}
.status{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:99px;padding:7px 11px;color:var(--muted);font-size:12px}.status-dot{width:7px;height:7px;background:var(--good);border-radius:50%;box-shadow:0 0 9px var(--good)}
main{flex:1;padding:30px 0 60px}.intro{max-width:650px;padding:40px 0 45px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:var(--accent2);font-weight:750;font-size:11px;margin:0 0 12px}.intro h1{font-size:clamp(36px,5.8vw,65px);line-height:1.06;letter-spacing:-.055em;margin:0 0 22px}.intro>p:last-child{font-size:18px;color:var(--muted);max-width:510px;margin:0}
.home-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(285px,.8fr);gap:20px;align-items:start}.card{background:linear-gradient(150deg,#1a1f2b,#131821);border:1px solid var(--line);border-radius:19px;box-shadow:0 20px 50px #0003;padding:28px}.card h2{font-size:23px;letter-spacing:-.03em;line-height:1.2;margin:0 0 24px}.create-card h2{margin-bottom:30px}.field{display:block;color:var(--text);font-size:13px;font-weight:650;margin:0 0 19px}.optional{color:var(--muted);font-weight:400}.field input,.field textarea,.field select,.share-row input{display:block;width:100%;margin-top:8px;border:1px solid #3a4352;border-radius:10px;background:#0d1119;color:var(--text);padding:12px 13px;min-height:47px}.field input::placeholder,.field textarea::placeholder{color:#788294}.field textarea{resize:vertical}.field select{appearance:auto}.options,.vote-form fieldset{border:0;margin:0;padding:0}.options legend,.vote-form legend{font-size:13px;font-weight:650;margin-bottom:8px}.options .field{margin-bottom:11px}.add-option{border:1px dashed #655586;background:#211b31;color:var(--accent2);border-radius:10px;padding:10px 14px;margin:7px 0 23px;width:100%;text-align:left}.add-option:hover{background:#2a213e}.primary{border:0;border-radius:11px;background:var(--accent);color:#171225;font-weight:750;padding:13px 18px;min-height:48px;width:100%;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#bea8ff}.secondary{border:1px solid #655586;border-radius:9px;background:#271f38;color:var(--accent2);font-weight:700;padding:11px 14px;min-height:44px}.secondary:hover{background:#342a48}.list-card h2{margin-bottom:10px}.poll-list-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);color:var(--text)}.poll-list-item:hover{text-decoration:none;color:var(--accent2)}.poll-list-item strong{font-size:14px;display:block}.poll-list-item small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.empty,.visitor-card p{color:var(--muted)}.visitor-card{max-width:600px;margin:40px auto}.visitor-card h2{margin-bottom:8px}
.topline{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;max-width:760px;margin:0 auto 18px}.poll-card,.share-card,.owner-card{max-width:760px;margin:0 auto 18px}.poll-card{padding:clamp(24px,5vw,48px)}.poll-card h1{font-size:clamp(30px,4.7vw,48px);letter-spacing:-.045em;line-height:1.15;margin:0 0 16px;overflow-wrap:anywhere}.description{color:var(--muted);margin:0 0 25px;white-space:normal}.choice{display:flex;align-items:center;gap:13px;cursor:pointer;border:1px solid var(--line);background:#111620;border-radius:11px;padding:14px 16px;margin:0 0 10px;min-height:53px;font-weight:550}.choice:hover,.choice:has(input:checked){border-color:var(--accent);background:#201a30}.choice input{accent-color:var(--accent);width:17px;height:17px;flex:none}.vote-form fieldset{margin:22px 0 25px}.vote-form legend{margin-bottom:15px}.vote-form .field{margin-bottom:20px}.fine,.count{color:var(--muted);font-size:12px;margin:14px 0 0}.success{border:1px solid #39725a;background:#173227;color:#b8f0d3;border-radius:10px;padding:11px 14px}.alert{max-width:760px;margin:0 auto 18px;border:1px solid #8e4d5b;background:#42222b;color:#ffd8de;border-radius:10px;padding:12px 14px}
.results{margin-top:30px}.result-row{margin:0 0 21px}.result-label{display:flex;justify-content:space-between;gap:15px;margin-bottom:8px;font-size:14px}.result-label strong{overflow-wrap:anywhere}.result-label span{color:var(--muted);white-space:nowrap}.bar{height:9px;border-radius:99px;background:#333342;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,#8265d9,#b698fc);border-radius:99px}.share-card,.owner-card{padding:25px 28px}.share-card h2,.owner-card h2{font-size:20px;margin-bottom:15px}.share-row{display:flex;gap:10px}.share-row input{margin:0;min-width:0;font-size:13px}.share-row button{flex:none}.owner-card form{margin-bottom:12px}.owner-card details{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.owner-card summary{cursor:pointer;color:var(--accent2);font-weight:650}.table-wrap{overflow:auto;margin-top:14px}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;vertical-align:top;padding:10px;border-bottom:1px solid var(--line)}th{color:var(--muted)}td{overflow-wrap:anywhere}
footer{padding:24px 0 30px;border-top:1px solid #ffffff18;color:var(--muted);font-size:12px}footer a{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){.shell{width:min(100% - 28px,560px)}.site-header{padding:18px 0}.status{font-size:11px}.intro{padding:42px 0 34px}.home-grid{grid-template-columns:1fr}.card{padding:22px}.poll-card{padding:25px}.share-row{flex-direction:column}.share-row button{width:100%}}
.option-editor{border:1px solid var(--line);padding:12px;border-radius:12px;margin:0 0 12px;background:#10151f}.option-editor .field{margin-bottom:8px}.option-editor .image-field{font-weight:500;color:var(--muted);font-size:12px}.option-editor .image-field input{margin-top:5px;min-height:41px}
.choice-image{width:96px;height:96px;object-fit:cover;border-radius:8px;flex:none}.result-label{align-items:center}.result-label strong{display:flex;align-items:center;gap:12px}.result-image{width:48px;height:48px;object-fit:cover;border-radius:7px;flex:none}
progress.bar{appearance:none;display:block;width:100%;height:9px;border:0;border-radius:99px;background:#333342;overflow:hidden}progress.bar::-webkit-progress-bar{background:#333342;border-radius:99px}progress.bar::-webkit-progress-value{background:linear-gradient(90deg,#8265d9,#b698fc);border-radius:99px}progress.bar::-moz-progress-bar{background:linear-gradient(90deg,#8265d9,#b698fc);border-radius:99px}
.preview-toggle{display:inline-block;margin:4px 0 10px;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.choice-grid.with-images{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.choice-grid.with-images .choice{flex:0 0 calc((100% - 24px)/3);min-width:0;margin:0;padding:9px;display:flex;flex-direction:column;align-items:stretch;gap:9px;text-align:center}.choice-grid.with-images .choice-image{order:0;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.choice-grid.with-images .choice span{order:1;overflow-wrap:anywhere;font-size:13px;line-height:1.35}.choice-grid.with-images .choice input{order:2;align-self:center;margin-top:auto}
@media(max-width:720px){.choice-grid.with-images{gap:10px}.choice-grid.with-images .choice{flex-basis:calc((100% - 10px)/2);padding:8px}.choice-grid.with-images .choice span{font-size:12px}}
