:root {
    color-scheme: light;
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    font-synthesis: none;
    color: #24213a;
    background: #f4f3fa;
    --ink: #24213a;
    --muted: #656179;
    --surface: #fff;
    --line: #e7e4f0;
    --accent: #5740c6;
    --accent-hover: #4632a7;
    --soft: #f0ecff;
    --shadow: 0 10px 38px #25185809;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
h1, h2, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 1.2rem + 2.5vw, 3.2rem); line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: 1.2rem; line-height: 1.24; letter-spacing: -.025em; }
p { color: var(--muted); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #8a73ef; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    max-width: 77rem;
    min-height: 4.1rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.brand { display: flex; align-items: center; gap: .65rem; font-size: 1.13rem; font-weight: 760; letter-spacing: -.035em; white-space: nowrap; }
.brand-icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    flex: none;
    width: 2rem;
    height: 2rem;
    padding-bottom: .48rem;
    border-radius: .65rem;
    background: var(--accent);
    box-shadow: 0 3px 8px #5740c633;
}
.brand-icon i { width: 3px; height: 8px; background: #fff; border-radius: 2px; }
.brand-icon i:nth-child(2) { height: 15px; }
.brand-icon i:nth-child(3) { height: 11px; }
.connection {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .66rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--muted);
    text-align: right;
    font-size: .79rem;
    font-weight: 650;
}
.connection::before { content: ""; flex: none; width: .43rem; height: .43rem; border-radius: 50%; background: #bc731b; }
.connection[data-online="true"]::before { background: #17976d; box-shadow: 0 0 0 3px #17976d22; }

main { display: grid; gap: 1.15rem; width: min(calc(100% - 2rem), 41rem); margin: clamp(1.6rem, 4.5vw, 3.1rem) auto 3rem; }
.page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.15rem; }
.page-header p { margin-top: .6rem; }
.page-actions, .dialog-actions, .archive-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.page-actions button, .page-actions .button { font-size: .88rem; }
.page-actions #display-picker, .theme-picker select {
    max-width: 100%;
    min-height: 2.65rem;
    padding: .45rem .7rem;
    border: 1px solid var(--line);
    border-radius: .67rem;
    background: var(--surface);
    color: var(--ink);
    font-size: .88rem;
}
.theme-picker {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 650;
}
.card { min-width: 0; padding: clamp(1.1rem, 2.45vw, 1.55rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow); }
button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: .55rem;
    min-height: 2.65rem;
    padding: .55rem .95rem;
    border: 1px solid transparent;
    border-radius: .67rem;
    background: var(--accent);
    color: #fff;
    font-weight: 680;
    text-decoration: none;
    cursor: pointer;
}
button:hover:not(:disabled), .button:hover { background: var(--accent-hover); }
.secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.secondary:hover:not(:disabled), .button.secondary:hover { border-color: #c8bdf5; background: var(--soft); }
button:disabled { opacity: .58; cursor: default; }
.display-icon { position: relative; width: 1rem; height: .72rem; border: 1.5px solid currentColor; border-radius: 2px; }
.display-icon::after { content: ""; position: absolute; bottom: -.27rem; left: 25%; width: 50%; border-bottom: 1.5px solid currentColor; }
.notice:empty { display: none; }
.notice { color: #10674c; font-size: .88rem; }
.notice.error { color: #a1294a; }
.muted { margin-top: .7rem; }
.waiting-icon { display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; margin-bottom: .9rem; border-radius: .85rem; background: var(--soft); color: var(--accent); font-size: 1.45rem; line-height: 1; }
.waiting-icon ~ p { margin-top: .55rem; }

[data-mode="host"] main { width: min(calc(100% - clamp(2rem, 6.8vw, 5rem)), 72rem); margin-block: 2.2rem 1.7rem; }
.join {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .8rem 1.2rem;
    background: linear-gradient(110deg, #ede8fe, #f8f6ff);
    border-color: #e3dcfb;
}
.join p { margin-top: .25rem; font-size: .93rem; }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; max-width: 100%; }
.join-actions #join-network-name {
    max-width: 100%;
    padding: .62rem .75rem;
    border: 1px solid #e6dff9;
    border-radius: .6rem;
    background: #ffffffc9;
    color: #49359f;
    font-weight: 650;
    font-size: .86rem;
    overflow-wrap: anywhere;
    user-select: all;
}
.copy-link { min-height: 2.4rem; font-size: .85rem; }
.join-settings { display: flex; flex: 1 0 100%; flex-wrap: wrap; align-items: center; gap: .55rem 1.1rem; }
.join-settings .notice { flex: 1 0 100%; }
.network-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; }
.network-picker label { font-size: .83rem; font-weight: 650; color: var(--muted); }
.network-picker select { max-width: 100%; min-height: 2rem; padding: .24rem .55rem; border: 1px solid #dcd3f5; border-radius: .55rem; background: #fff; color: var(--ink); font-size: .84rem; }
.host-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 1.15rem; }
.host-grid.session-ended { grid-template-columns: minmax(0, 1fr); }
.host-polls { display: grid; gap: 1.15rem; min-width: 0; }
form { display: grid; gap: .65rem; margin-top: 1.05rem; }
form > label { font-size: .9rem; font-weight: 680; }
form > label:not(:first-child) { margin-top: .28rem; }
input:not([type="radio"]), textarea {
    width: 100%;
    padding: .74rem .8rem;
    border: 1px solid #ddd8eb;
    border-radius: .64rem;
    background: #fcfbff;
    color: var(--ink);
}
input::placeholder, textarea::placeholder { opacity: 1; color: #706a84; }
textarea { min-height: 6rem; resize: vertical; }
.form-hint { font-size: .82rem; }
.add-question { margin-top: .35rem; }
.add-question span { font-size: 1.25rem; line-height: 1; }
.poll-list, .bars { display: grid; gap: .65rem; padding: 0; margin: .95rem 0 0; list-style: none; }
.poll-list li {
    display: flex;
    gap: .7rem;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    padding: .72rem .8rem;
    border: 1px solid var(--line);
    border-radius: .75rem;
}
.poll-list li.active { background: #f7f4ff; border-color: #e2dbfb; }
.poll-list strong { overflow-wrap: anywhere; font-size: .93rem; font-weight: 680; }
.poll-list button { flex-shrink: 0; min-height: 2.1rem; padding: .35rem .62rem; font-size: .79rem; }
.poll-list .close-poll { color: #49329e; border-color: #d7cdf8; }
.poll-list .reset-votes { color: #a12741; }
.poll-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
#reset-votes-question { color: var(--ink); font-weight: 680; }
.list-status { display: block; margin-top: .17rem; color: var(--muted); font-size: .8rem; }
.active .list-status { color: #6045be; }
.archive { scroll-margin-top: 1rem; }
.archive-list li { flex-wrap: wrap; }
.archive-detail { display: grid; gap: .85rem; margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.archive-detail article { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; background: #fcfbff; }
.archive-detail h3 { margin: 0; overflow-wrap: anywhere; font-size: 1rem; }
.archive-detail button { min-height: 2rem; font-size: .82rem; }
.archive-design summary { cursor: pointer; color: var(--accent); font-weight: 650; }
.archive-design iframe { display: block; width: 100%; height: 34rem; margin-top: .75rem; border: 0; border-radius: .75rem; background: #161326; }
.archive .delete-archive { color: #9c3150; }
.archive .notice:not(:empty) { margin-top: .7rem; }
dialog {
    width: min(calc(100vw - 2rem), 29rem);
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 20px 70px #17102938;
}
dialog::backdrop { background: #17132675; }
dialog > p { margin-top: .55rem; }
.dialog-actions { justify-content: flex-end; margin-top: .4rem; }
.danger { background: #a22d51; }
.danger:hover:not(:disabled) { background: #84203f; }

.ballot h2 { font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.35rem); }
.poll-status {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .8rem;
    padding: .34rem .62rem;
    border-radius: 2rem;
    background: #edebf2;
    color: #555068;
    font-size: .79rem;
    font-weight: 680;
}
.poll-status.live { background: #e6f5ed; color: #166448; }
.poll-status.live::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; }
fieldset { display: grid; gap: .55rem; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .65rem .72rem;
    border: 1px solid var(--line);
    border-radius: .73rem;
    cursor: pointer;
    overflow-wrap: anywhere;
}
fieldset:enabled .choice:hover { border-color: #b7a8ef; }
fieldset:disabled .choice { cursor: default; }
.choice:has(:checked) { background: #f2edff; border-color: #a590ee; }
.choice:has(:focus-visible) { outline: 3px solid #8a73ef; outline-offset: 2px; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-mark { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: .48rem; background: #f1eef8; }
.choice-mark::after { content: ""; width: .68rem; height: .68rem; border: 1.5px solid #8c81a3; border-radius: 50%; }
.choice:has(:checked) .choice-mark { background: var(--accent); }
.choice:has(:checked) .choice-mark::after { width: .45rem; height: .75rem; border: solid #fff; border-width: 0 2px 2px 0; border-radius: 0; transform: translateY(-1px) rotate(45deg); }
[data-mode="vote"] .masthead-inner { max-width: 45rem; }
[data-mode="vote"] .ballot button { justify-self: stretch; min-height: 2.8rem; margin-top: .2rem; }
[data-mode="vote"] h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }

.results-head, .bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem .8rem; }
.results-head { flex-wrap: wrap; }
.results-head > span { flex: none; color: var(--muted); font-size: .82rem; font-weight: 650; }
.results-question { margin-top: .35rem; font-size: .89rem; }
.bar-label > span { min-width: 0; overflow-wrap: anywhere; }
.bar-label strong { display: flex; flex-wrap: wrap; justify-content: end; align-items: baseline; gap: .1rem .5rem; flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.bar-label small { font-size: .75em; font-weight: 500; color: var(--muted); }
.bar-item { --bar: #7053e2; }
.bar-item.option-1 { --bar: #388c9a; }
.bar-item.option-2 { --bar: #be5486; }
.bar-item.option-3 { --bar: #a06939; }
progress {
    display: block;
    appearance: none;
    width: 100%;
    height: .43rem;
    margin-top: .45rem;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: var(--line);
}
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--bar); border-radius: 1rem; }
progress::-moz-progress-bar { background: var(--bar); border-radius: 1rem; }

body[data-mode="screen"] {
    color-scheme: dark;
    color: #f7f4ff;
    background: radial-gradient(ellipse at 82% 10%, #33235b 0, transparent 53%), #161326;
    --ink: #f7f4ff;
    --muted: #c8c0db;
    --surface: #241e39;
    --line: #443957;
    --soft: #392e55;
    --accent: #e3d8ff;
}
[data-mode="screen"] .masthead { background: #19152ad9; }
[data-mode="screen"] .brand-icon { background: #ab91ff; }
[data-mode="screen"] .brand-icon i { background: #251942; }
[data-mode="screen"] .masthead-inner { max-width: 96rem; }
[data-mode="screen"] main { width: min(calc(100% - clamp(2rem, 6.8vw, 5rem)), 91rem); margin-block: clamp(1.15rem, 3vw, 2.5rem) 1.35rem; }
[data-mode="screen"] h1 { color: #d7cde8; font-size: clamp(1.1rem, 1rem + .6vw, 1.55rem); font-weight: 650; letter-spacing: -.02em; }
[data-mode="screen"] .fullscreen { min-height: 2.15rem; font-size: .81rem; }
[data-mode="screen"] .fullscreen:hover { border-color: #80709c; }
[data-mode="screen"] .card { padding: clamp(1.1rem, 2.55vw, 2.55rem); box-shadow: none; }
[data-mode="screen"] .ballot { background: linear-gradient(115deg, #382a56, #26203b); }
[data-mode="screen"] .ballot h2 { font-size: clamp(2rem, 1.2rem + 3.25vw, 4.5rem); line-height: 1.03; letter-spacing: -.05em; text-wrap: balance; }
[data-mode="screen"] .poll-status { background: #4a3e62; color: #f0e9fb; }
[data-mode="screen"] .poll-status.live { background: #234c46; color: #b1f1d8; }
[data-mode="screen"] .results-head h2 { font-size: clamp(1.2rem, .9rem + .75vw, 1.65rem); }
[data-mode="screen"] .results-head > span { font-size: .91rem; }
[data-mode="screen"] .bar-label { font-size: clamp(1.05rem, .82rem + 1vw, 1.65rem); }
[data-mode="screen"] .bar-item { --bar: #b598ff; }
[data-mode="screen"] .bar-item.option-1 { --bar: #64d5d9; }
[data-mode="screen"] .bar-item.option-2 { --bar: #f096c6; }
[data-mode="screen"] .bar-item.option-3 { --bar: #89a9ff; }
[data-mode="screen"] progress { height: clamp(.55rem, 1.05vw, .95rem); }
[data-mode="screen"] .bars { gap: clamp(.95rem, 1.5vw, 1.45rem); }
.screen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 44%); gap: 1.15rem; align-items: start; }
[data-archive="true"] .screen-grid { grid-template-columns: minmax(0, 1fr); }
.screen-polls { display: grid; gap: 1.15rem; min-width: 0; }
.join-qr { position: sticky; top: 1rem; text-align: center; }
.join-qr h2 { font-size: clamp(1.23rem, .93rem + 1vw, 1.75rem); }
.join-qr p { margin-top: .5rem; }
.qr-target { display: grid; place-items: center; margin-top: 1.15rem; }
.join-qr img { display: block; width: min(100%, 34rem, 62vh); height: auto; aspect-ratio: 1; border-radius: .7rem; background: #fff; }

@media (max-width: 45rem) {
    .host-grid, .screen-grid { grid-template-columns: 1fr; }
    .join-qr { position: static; grid-row: 1; }
}

@media (max-width: 28rem) {
    [data-mode="vote"] main { gap: .8rem; }
    [data-mode="vote"] .bar-label strong { display: grid; }
    [data-mode="vote"] .masthead-inner { min-height: 3.6rem; }
    .poll-list li { flex-wrap: wrap; }
    .poll-actions { justify-content: start; }
}

/* Новогодняя тема */
:root[data-theme="new-year"] {
    color: #142f29;
    background: #eff7f3;
    --ink: #142f29;
    --muted: #4b645c;
    --line: #d7e8df;
    --accent: #ad1f3b;
    --accent-hover: #8d1730;
    --soft: #e2f2e9;
    --shadow: 0 10px 38px #133d2e0d;
}
:where(:root[data-theme="new-year"]) body[data-mode="host"], :where(:root[data-theme="new-year"]) body[data-mode="vote"] {
    background: radial-gradient(ellipse at 92% 6%, #dbefe4, transparent 47rem),
            radial-gradient(ellipse at 0% 40%, #fae7e9, transparent 32rem), #f2f8f4;
}
:where(:root[data-theme="new-year"]) :focus-visible { outline: 3px solid #378d79; }
:where(:root[data-theme="new-year"]) .masthead {
    background: #12392e;
    color: #f8fffc;
    border-bottom: 1px solid #42785e;
}
:where(:root[data-theme="new-year"]) .brand-icon { box-shadow: 0 3px 8px #071d1690; }
:where(:root[data-theme="new-year"]) .brand-icon i { display: none; }
:where(:root[data-theme="new-year"]) .brand-icon::before {
    content: "";
        width: 1.18rem;
        height: 1.22rem;
        background: #fff;
        clip-path: polygon(50% 0, 76% 34%, 66% 34%, 88% 61%, 73% 61%, 100% 89%, 59% 89%, 59% 100%, 41% 100%, 41% 89%, 0 89%, 27% 61%, 12% 61%, 34% 34%, 24% 34%);
}
:where(:root[data-theme="new-year"]) .connection {
    border: 1px solid #477763;
    color: #e1f4eb;
}
:where(:root[data-theme="new-year"]) .connection::before { background: #ff91a4; }
:where(:root[data-theme="new-year"]) .connection[data-online="true"]::before {
    background: #79e7b6;
    box-shadow: 0 0 0 3px #79e7b62b;
}
:where(:root[data-theme="new-year"]) .secondary:hover:not(:disabled), :where(:root[data-theme="new-year"]) .button.secondary:hover { border-color: #7eac97; }
:where(:root[data-theme="new-year"]) .join {
    background: linear-gradient(112deg, #e1f3e8, #f5faf7 68%, #faedf0);
    border-color: #c6e1d3;
}
:where(:root[data-theme="new-year"]) .join-actions #join-network-name {
    border: 1px solid var(--line);
    color: #185742;
}
:where(:root[data-theme="new-year"]) .network-picker select { border: 1px solid #c6e1d3; }
:where(:root[data-theme="new-year"]) input:not([type="radio"]), :where(:root[data-theme="new-year"]) textarea {
    border: 1px solid #d0e3d9;
    background: #f8fcf9;
}
:where(:root[data-theme="new-year"]) input::placeholder, :where(:root[data-theme="new-year"]) textarea::placeholder { color: #5c7067; }
:where(:root[data-theme="new-year"]) .poll-list li.active {
    background: #eff8f2;
    border-color: #cbe7d7;
}
:where(:root[data-theme="new-year"]) .poll-list .close-poll {
    color: #185742;
    border-color: #a9d2bc;
}
:where(:root[data-theme="new-year"]) .active .list-status { color: #21634e; }
:where(:root[data-theme="new-year"]) .archive-detail article { background: #f8fcf9; }
:where(:root[data-theme="new-year"]) fieldset:enabled .choice:hover { border-color: #6ea991; }
:where(:root[data-theme="new-year"]) .choice:has(:checked) {
    background: #fcebf0;
    border-color: #c7536d;
}
:where(:root[data-theme="new-year"]) .choice:has(:focus-visible) { outline: 3px solid #378d79; }
:where(:root[data-theme="new-year"]) .choice-mark { background: #e8f4ed; }
:where(:root[data-theme="new-year"]) .choice-mark::after { border: 1.5px solid #567d6d; }
:where(:root[data-theme="new-year"]) .bar-item { --bar: #b9274a; }
:where(:root[data-theme="new-year"]) .bar-item.option-1 { --bar: #22846a; }
:where(:root[data-theme="new-year"]) .bar-item.option-2 { --bar: #427c9a; }
:where(:root[data-theme="new-year"]) .bar-item.option-3 { --bar: #995184; }
:where(:root[data-theme="new-year"]) body[data-mode="screen"] {
    color: #f3fcf7;
    background: radial-gradient(circle at 23px 34px, #d5fff065 1px, transparent 2px) 0 0 / 113px 139px,
            radial-gradient(circle at 85px 65px, #e6fff247 1px, transparent 2px) 0 0 / 179px 157px,
            radial-gradient(circle at 151px 48px, #eefff55c 1.5px, transparent 2.7px) 0 0 / 263px 221px,
            radial-gradient(ellipse at 86% 9%, #1d5e4d, transparent 61%),
            radial-gradient(ellipse at 8% 95%, #381e2b, transparent 52%), #0b241e;
    --ink: #f3fcf7;
    --muted: #c4ddd0;
    --surface: #12372f;
    --line: #376457;
    --soft: #245548;
    --accent: #9af4c9;
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .masthead { background: #0b241eea; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .brand-icon { background: #ba2d4d; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] h1 { color: #def7e9; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .fullscreen:hover { border-color: #79ac99; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .ballot {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(114deg, #4f2036, #522333 24%, #164738 81%, #206448);
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .ballot::after {
    position: absolute;
        z-index: -1;
        inset: 0;
        content: "";
        pointer-events: none;
        background:
            radial-gradient(circle at 90% 31%, #fff6f1 0 2px, transparent 3px),
            radial-gradient(circle at 95% 51%, #ff8da8 0 5px, transparent 6px),
            radial-gradient(circle at 87% 68%, #b2ffe5 0 3px, transparent 4px),
            radial-gradient(circle at 98% 20%, #b2ffe5 0 3px, transparent 4px),
            radial-gradient(circle at 79% 16%, #fff7ee 0 2px, transparent 3px),
            radial-gradient(ellipse at 101% 105%, #49ba8b5e, transparent 40%);
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .ballot::before {
    position: absolute;
        z-index: -1;
        right: 3.5%;
        bottom: -14%;
        width: clamp(5rem, 14vw, 14rem);
        height: 112%;
        content: "";
        opacity: .63;
        background: linear-gradient(135deg, #84e2a689, #177956 59%, #31684d);
        clip-path: polygon(50% 0, 72% 28%, 65% 28%, 85% 50%, 75% 50%, 100% 78%, 80% 78%, 100% 92%, 60% 92%, 60% 100%, 40% 100%, 40% 92%, 0 92%, 20% 78%, 0 78%, 25% 50%, 15% 50%, 35% 28%, 28% 28%);
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .ballot h2 {
    max-width: 92%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 1.3rem + 3.4vw, 4.65rem);
    line-height: 1.05;
    letter-spacing: -.036em;
    text-shadow: 0 3px 18px #091c13a6;
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .poll-status {
    background: #563149;
    color: #ffe4ef;
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .poll-status.live {
    background: #104b39;
    color: #c0ffe0;
}
:where(:root[data-theme="new-year"]) [data-mode="screen"] .bar-item { --bar: #ff7b99; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .bar-item.option-1 { --bar: #69e3af; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .bar-item.option-2 { --bar: #9bddff; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .bar-item.option-3 { --bar: #e6aef1; }
:where(:root[data-theme="new-year"]) [data-mode="screen"] .join-qr { background: linear-gradient(155deg, #1d5645, #122e27 68%, #3b2637); }
