body.vote { min-height: 100vh; min-height: 100dvh; background: var(--cream); }
.phone { max-width: 520px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.ph-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 2px 18px; }
.ph-head .logo { height: 26px; width: auto; display: block; }
.ph-head .kurs { font-size: 14px; color: var(--ink); }

.card { background: var(--card); border-radius: 24px; padding: 24px 20px 22px; box-shadow: 0 1px 0 rgba(20,20,20,.04), 0 12px 32px -18px rgba(224,0,24,.25); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.ph-title { font-family: var(--head); font-weight: 600; font-size: 21px; line-height: 1.28; margin: 0 0 20px; letter-spacing: -.005em; }
.muted { color: var(--muted); margin: 0; line-height: 1.45; }

.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; text-align: left; font-size: 18px; cursor: pointer; transition: border-color .2s, background .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.opt:active { transform: scale(.985); }
.opt .rad { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--pink); flex: none; display: grid; place-items: center; transition: border-color .2s; }
.opt .rad::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.opt.sel { border-color: var(--red); background: #FFF6F5; }
.opt.sel .rad { border-color: var(--red); }
.opt.sel .rad::after { transform: scale(1); }
.opt[disabled] { opacity: .55; cursor: default; }

.field { position: relative; }
.inp { width: 100%; height: 60px; border: 2px solid var(--line); border-radius: 16px; padding: 0 16px; font-size: 20px; background: #fff; outline: none; transition: border-color .2s; }
.inp:focus { border-color: var(--red); }
.cnt { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 8px 2px 14px; }
.cnt .bad { color: var(--red); }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--red); color: #fff; font-size: 18px; cursor: pointer; transition: opacity .2s, transform .12s; -webkit-tap-highlight-color: transparent; text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .45; }
.btn.ghost { background: transparent; color: var(--red); border: 2px solid var(--pink); }
.btn svg { width: 20px; height: 20px; }

.thanks { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #FFF3F1; margin-top: 16px; animation: pop .45s cubic-bezier(.3,1.5,.5,1); }
.thanks svg { width: 28px; height: 28px; flex: none; color: var(--red); }
.thanks b { display: block; font-family: var(--head); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.thanks span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.mine { font-family: var(--head); font-size: 24px; color: var(--red); margin: 4px 0 16px; word-break: break-word; }
.err { color: var(--red); font-size: 15px; margin: 10px 2px 0; min-height: 1em; }
.closed-box { padding: 18px; border-radius: 16px; background: #F4EEE8; color: var(--muted); line-height: 1.45; }
.closed-box b { color: var(--ink); display: block; margin-bottom: 4px; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

#next .btn { margin-top: 14px; }
.anon { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.anon svg { width: 16px; height: 16px; }

.qlist { display: grid; gap: 10px; margin-top: 16px; }
.qlink { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); line-height: 1.35; }
.qlink .qn { font-family: var(--head); color: var(--red); font-size: 18px; min-width: 22px; }
.qlink .qt { flex: 1; }
.qlink.closed { opacity: .55; }
.qbadge { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 2px 6px; }
