/* Live results. Needs ahg.css first. Everything is scoped to .ahgsy-sonuc. */
.ahgsy-sonuc {
    --gap: 12px;
    max-width: 1240px; margin: 0 auto; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.ahgsy-sonuc p { margin: 0; }
.ahgsy-sonuc__wait { padding: 48px 16px; text-align: center; color: var(--muted); }
.ahgsy-sonuc__brand { display: none; }

/* Title row */
.ahgsy-sonuc__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 22px; }
.ahgsy-sonuc__heading { min-width: 0; }
.ahgsy-sonuc .ahgsy-sonuc__title { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.ahgsy-sonuc__state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 13.5px; }
.ahgsy-sonuc__badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 650; letter-spacing: .01em; }
.ahgsy-sonuc__badge--run { border-color: rgba(240, 86, 106, .45); background: rgba(240, 86, 106, .08); }
.ahgsy-sonuc__time { font-variant-numeric: tabular-nums; }

.ahgsy-sonuc__flag { margin: 0 0 18px !important; padding: 10px 16px; border: 1px solid rgba(109, 156, 255, .38); border-radius: 12px; background: rgba(109, 156, 255, .09); color: #c3d4ff; font-size: 14px; font-weight: 650; letter-spacing: .02em; text-align: center; }

/* Panels */
.ahgsy-sonuc__kpi, .ahgsy-sonuc__progress, .ahgsy-sonuc__group, .ahgsy-sonuc__other, .ahgsy-sonuc__boxes, .ahgsy-sonuc__lockcard, .ahgsy-sonuc__unit {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .7);
}

/* Figures above the chart */
.ahgsy-sonuc__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: var(--gap); margin-bottom: var(--gap); }
.ahgsy-sonuc__kpi { min-width: 0; padding: 14px 18px; border-radius: 16px; }
.ahgsy-sonuc__kpi > span, .ahgsy-sonuc__grouphead h3 { display: block; color: var(--muted); font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.ahgsy-sonuc__kpi p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 6px; }
.ahgsy-sonuc__kpi strong { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.ahgsy-sonuc__kpi small { min-width: 0; overflow: hidden; color: var(--faint); font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ahgsy-sonuc__progress { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; padding: 14px 18px; border-radius: 16px; color: var(--muted); font-size: 13px; }
.ahgsy-sonuc__progress strong { color: var(--text); }
.ahgsy-sonuc__track { display: flex; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ahgsy-sonuc__track span { height: 100%; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.ahgsy-sonuc__track span:first-child { background: linear-gradient(90deg, #1f8a52, var(--ok)); box-shadow: 0 0 14px rgba(52, 184, 116, .5); }
.ahgsy-sonuc__track span:last-child { background: var(--run); opacity: .85; }

/* The candidates as columns */
.ahgsy-sonuc__group { border-radius: 22px; }
.ahgsy-sonuc__group--cols { container-type: inline-size; padding: 20px 22px 22px; }
.ahgsy-sonuc__grouphead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.ahgsy-sonuc__grouphead h3 { margin: 0; }
.ahgsy-sonuc__sum { color: var(--faint); font-size: 12.5px; }

.ahgsy-sonuc__group--cols ol {
    --k: 8;
    display: grid; grid-template-columns: repeat(var(--k), minmax(0, 1fr)); gap: 30px var(--gap);
    margin: 18px 0 0; padding: 0; list-style: none;
}
.ahgsy-sonuc__group--cols li {
    --col: calc((100cqi - (var(--k) - 1) * var(--gap)) / var(--k));
    --vs: clamp(17px, calc(var(--col) * .2), 68px);
    --ps: clamp(11px, calc(var(--col) * .085), 26px);
    --ns: clamp(12px, calc(var(--col) * .105), 26px);
    --rs: clamp(12px, calc(var(--col) * .085), 26px);
    --vn: clamp(11px, calc(var(--col) * .11), 24px);
    --s: clamp(24px, calc(var(--col) * .3), 64px);
    --h: 0%;
    position: relative; display: flex; flex-direction: column; min-width: 0;
    transition: transform .95s cubic-bezier(.22, .9, .25, 1);
}
.ahgsy-sonuc__group--cols li.is-moving { z-index: 2; }
.ahgsy-sonuc__plot { position: relative; height: clamp(230px, 38vh, 440px); border-bottom: 1px solid var(--line-2); }
.ahgsy-sonuc__group--cols ol.is-rows .ahgsy-sonuc__plot { height: clamp(170px, 27vh, 300px); }
.ahgsy-sonuc__group--cols ol.is-rows3 .ahgsy-sonuc__plot { height: clamp(150px, 22vh, 230px); }
.ahgsy-sonuc__bar {
    position: absolute; left: 7%; right: 7%; bottom: 0; top: calc(var(--vs) * 1.05 + var(--ps) * 1.35 + 14px);
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .05));
}
.ahgsy-sonuc__fill {
    position: absolute; left: 0; right: 0; bottom: 0; height: var(--h);
    border-radius: 12px 12px 2px 2px;
    background: var(--c);
    background: linear-gradient(180deg, color-mix(in srgb, var(--c), #fff 14%), color-mix(in srgb, var(--c), #000 38%));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 -10px 46px -14px var(--c);
    transition: height 1s cubic-bezier(.22, .9, .25, 1);
}
.ahgsy-sonuc__fill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .16), transparent 45%, rgba(0, 0, 0, .12)); }
.ahgsy-sonuc__fill::after { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .7); opacity: .8; }
li.is-zero .ahgsy-sonuc__fill::after { display: none; }
.ahgsy-sonuc__group--cols .ahgsy-sonuc__votes {
    position: absolute; left: -6%; right: -6%; bottom: max(var(--h), var(--nh, 0px)); padding-bottom: 10px; text-align: center;
    transition: bottom 1s cubic-bezier(.22, .9, .25, 1);
}
.ahgsy-sonuc__group--cols .ahgsy-sonuc__votes strong { display: block; font-size: var(--vs); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; }
.ahgsy-sonuc__group--cols .ahgsy-sonuc__votes em { display: block; margin-top: 3px; color: var(--muted); font-size: var(--ps); font-style: normal; font-weight: 600; line-height: 1.3; }
li.is-zero .ahgsy-sonuc__votes strong { color: var(--faint); }

/*
 * The group's name written up the column from its foot, in the column's font size (set on the bar: container
 * units would measure the wrong way inside upright text). When it stands taller than the colour, the figures
 * go up above it.
 */
.ahgsy-sonuc__bar { font-size: var(--vn); }
.ahgsy-sonuc__vname {
    position: absolute; left: 50%; bottom: 12px; z-index: 1;
    max-width: calc(100% - 8px);
    color: #fff; font-size: 1em; font-weight: 700; line-height: 1.3; letter-spacing: .01em; text-wrap: balance;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 0 12px rgba(0, 0, 0, .4);
    writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
    pointer-events: none;
}
.ahgsy-sonuc__vname:empty, li.is-nameless .ahgsy-sonuc__vname { visibility: hidden; }

/* Under each column the same few lines, so every column stands on the same line. */
.ahgsy-sonuc__who { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; text-align: center; }
.ahgsy-sonuc__tag { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--s); }
.ahgsy-sonuc__rank { display: inline-grid; place-items: center; min-width: 2em; height: 2em; padding: 0 .4em; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: var(--rs); font-weight: 700; line-height: 1; }
.ahgsy-sonuc__rank:empty { display: none; }
.ahgsy-sonuc__group--cols .ahgsy-sonuc__name { display: block; width: 100%; height: 2.4em; font-size: var(--ns); line-height: 1.2; text-wrap: balance; overflow-wrap: break-word; }
.ahgsy-sonuc__name b, .ahgsy-sonuc__name small { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.ahgsy-sonuc__name b { -webkit-line-clamp: 3; font-weight: 750; }
.ahgsy-sonuc__group--cols .ahgsy-sonuc__name b { -webkit-line-clamp: 2; font-weight: 700; }
.ahgsy-sonuc__name small { -webkit-line-clamp: 2; color: var(--muted); font-size: .86em; font-weight: 400; }
.ahgsy-sonuc__face:empty { display: none; }
.ahgsy-sonuc__group--cols .ahgsy-sonuc__logo { width: var(--s); height: var(--s); border-radius: calc(var(--s) * .24); }

/* A group's logo, wherever it stands */
.ahgsy-sonuc__logo { display: block; flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .06) center / cover no-repeat; box-shadow: 0 0 0 1px var(--line) inset, 0 6px 18px -8px rgba(0, 0, 0, .8); }
.ahgsy-sonuc__logo:not(.is-set) { visibility: hidden; }
li.is-first .ahgsy-sonuc__rank { border-color: var(--bordo-hi); background: var(--bordo); color: #fff; box-shadow: 0 0 22px rgba(201, 65, 90, .55); }
li.is-first .ahgsy-sonuc__bar { background: linear-gradient(180deg, rgba(201, 65, 90, .03), rgba(201, 65, 90, .12)); }

/* Block votes and the rest */
.ahgsy-sonuc__side { display: flex; flex-wrap: wrap; gap: var(--gap); margin-top: var(--gap); }
.ahgsy-sonuc__group--chips { flex: 1 1 360px; padding: 16px 18px; }
.ahgsy-sonuc__group--chips ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.ahgsy-sonuc__group--chips li { display: flex; flex: 1 1 240px; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 12px; background: rgba(255, 255, 255, .03); transition: transform .95s cubic-bezier(.22, .9, .25, 1); }
.ahgsy-sonuc__group--chips .ahgsy-sonuc__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ahgsy-sonuc__group--chips .ahgsy-sonuc__name b { -webkit-line-clamp: 2; }
.ahgsy-sonuc__group--chips .ahgsy-sonuc__votes { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.ahgsy-sonuc__group--chips strong { font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.ahgsy-sonuc__group--chips em { color: var(--muted); font-size: 13px; font-style: normal; font-weight: 600; }
.ahgsy-sonuc__other { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 16px 20px; border-radius: 22px; color: var(--muted); font-size: 14px; }
.ahgsy-sonuc__other strong { margin-left: 4px; color: var(--text); font-size: 20px; font-weight: 700; }

/* ---------- The boxes: one tile each, a tile opens its numbers ---------- */
.ahgsy-sonuc__ballot { margin-top: calc(var(--gap) * 2.5); scroll-margin-top: 16px; }
.ahgsy-sonuc__ballothead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.ahgsy-sonuc__ballothead > div { min-width: 0; max-width: 720px; }
.ahgsy-sonuc .ahgsy-sonuc__ballothead h2 { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.01em; }
.ahgsy-sonuc__ballothead p { margin-top: 6px !important; color: var(--muted); font-size: 14px; }

.ahgsy-sonuc__find { display: flex; align-items: center; gap: 8px; }
.ahgsy-sonuc__find label { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ahgsy-sonuc__find input { width: 104px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; font-size: 16px; -moz-appearance: textfield; }
.ahgsy-sonuc__find input::-webkit-inner-spin-button, .ahgsy-sonuc__find input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.ahgsy-sonuc__find input:focus { outline: none; border-color: var(--bordo-hi); box-shadow: 0 0 0 3px rgba(201, 65, 90, .22); }
.ahgsy-sonuc__find button, .ahgsy-sonuc__sheetnav button { height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; }
.ahgsy-sonuc__find button:hover, .ahgsy-sonuc__sheetnav button:hover:not(:disabled) { border-color: var(--bordo-hi); background: rgba(201, 65, 90, .14); }

.ahgsy-sonuc__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.ahgsy-sonuc__filters button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ahgsy-sonuc__filters button:hover { color: var(--text); border-color: var(--line-2); }
.ahgsy-sonuc__filters button[aria-pressed=true] { border-color: var(--bordo-hi); background: rgba(201, 65, 90, .14); color: var(--text); }
.ahgsy-sonuc__filters b { color: var(--text); font-weight: 750; }
.ahgsy-sonuc__filters i { width: 12px; height: 12px; border-radius: 4px; }
.ahgsy-sonuc__filters i.is-s0 { border: 1px solid var(--line-2); }
.ahgsy-sonuc__filters i.is-s1 { background: rgba(233, 170, 28, .25); box-shadow: 0 0 0 1px var(--run) inset; }
.ahgsy-sonuc__filters i.is-s2 { background: rgba(52, 184, 116, .3); box-shadow: 0 0 0 1px var(--ok) inset; }

.ahgsy-sonuc__recent { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.ahgsy-sonuc__recent[hidden] { display: none; }
.ahgsy-sonuc__recent > span { flex: none; color: var(--faint); font-size: 11.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.ahgsy-sonuc__recent > div { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.ahgsy-sonuc__recent > div::-webkit-scrollbar { display: none; }
.ahgsy-sonuc__recent button { display: inline-flex; flex: none; align-items: baseline; gap: 6px; height: 32px; padding: 0 11px; border: 1px solid rgba(52, 184, 116, .35); border-radius: 10px; background: rgba(52, 184, 116, .08); box-shadow: inset 0 -3px 0 var(--c); color: var(--text); font: inherit; font-size: 13.5px; line-height: 30px; cursor: pointer; }
.ahgsy-sonuc__recent button:first-child { animation: ahgsy-pop .5s ease-out; }
.ahgsy-sonuc__recent button:hover { border-color: var(--ok); }
.ahgsy-sonuc__recent button:focus-visible { outline: 2px solid var(--bordo-hi); outline-offset: 2px; }
.ahgsy-sonuc__recent b { font-weight: 750; }
.ahgsy-sonuc__recent small { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
@keyframes ahgsy-pop { from { transform: scale(.85); opacity: 0; } }
.ahgsy-sonuc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.ahgsy-sonuc__cell {
    position: relative; height: 46px; overflow: hidden; padding: 0 0 3px;
    border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02);
    color: var(--faint); font: inherit; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer;
    transition: border-color .2s, background-color .2s, transform .15s;
}
.ahgsy-sonuc__cell[hidden] { display: none; }
.ahgsy-sonuc__cell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c, transparent); }
.ahgsy-sonuc__cell:hover { transform: translateY(-1px); border-color: var(--line-2); color: var(--text); }
.ahgsy-sonuc__cell:focus-visible { outline: 2px solid var(--bordo-hi); outline-offset: 2px; }
.ahgsy-sonuc__cell.is-s1 { border-color: rgba(233, 170, 28, .55); background: rgba(233, 170, 28, .1); color: var(--text); }
.ahgsy-sonuc__cell.is-s1::before { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--run); animation: ahgsy-blink 1.6s ease-in-out infinite; }
.ahgsy-sonuc__cell.is-s2 { border-color: rgba(52, 184, 116, .45); background: rgba(52, 184, 116, .13); color: var(--text); }
@keyframes ahgsy-blink { 50% { opacity: .25; } }
.ahgsy-sonuc__gridnote { margin-top: 10px !important; color: var(--faint); font-size: 12.5px; }

/* The window of one box: a card in the middle, a sheet from the bottom on phones */
.ahgsy-sonuc__sheet {
    width: min(620px, calc(100vw - 32px)); max-height: min(86vh, 860px); margin: auto; padding: 0; overflow: auto;
    border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); color: var(--text);
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); overscroll-behavior: contain;
}
.ahgsy-sonuc__sheet::backdrop { background: rgba(5, 6, 9, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ahgsy-sonuc__sheet[open] { animation: ahgsy-rise .22s ease-out; }
@keyframes ahgsy-rise { from { opacity: 0; transform: translateY(14px); } }
.ahgsy-sonuc__sheetin { padding: 22px 24px 20px; }
.ahgsy-sonuc__sheethead { display: flex; align-items: center; gap: 14px; }
.ahgsy-sonuc__sheethead > div { flex: 1; min-width: 0; }
.ahgsy-sonuc__sheethead h2 { margin: 2px 0 0; font-size: 44px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.ahgsy-sonuc__sheethead .ahgsy-sonuc__badge { font-size: 13.5px; }
.ahgsy-sonuc__badge--s1 { border-color: rgba(233, 170, 28, .5); background: rgba(233, 170, 28, .1); }
.ahgsy-sonuc__badge--s2 { border-color: rgba(52, 184, 116, .5); background: rgba(52, 184, 116, .1); }
.ahgsy-sonuc__close { flex: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .04); color: var(--muted); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.ahgsy-sonuc__close:hover { color: var(--text); border-color: var(--bordo-hi); }
.ahgsy-sonuc__sheetmeta, .ahgsy-sonuc__sheetnote { margin-top: 14px !important; color: var(--muted); font-size: 14px; }
.ahgsy-sonuc__sheetmeta strong { color: var(--text); }
.ahgsy-sonuc__sheetmeta .is-run { color: var(--run); }
.ahgsy-sonuc__sheetnote { padding: 26px 0 10px; text-align: center; font-size: 15px; }
.ahgsy-sonuc__lines { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ahgsy-sonuc__lines li {
    display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; grid-template-areas: "no logo name votes" "no logo bar bar";
    align-items: center; column-gap: 12px; row-gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025);
}
.ahgsy-sonuc__lines li.is-first { border-color: color-mix(in srgb, var(--c), transparent 40%); background: color-mix(in srgb, var(--c), transparent 88%); }
.ahgsy-sonuc__lineno { grid-area: no; color: var(--faint); font-size: 13px; font-weight: 700; text-align: center; }
.ahgsy-sonuc__lines .ahgsy-sonuc__logo { grid-area: logo; width: 40px; height: 40px; border-radius: 10px; }
.ahgsy-sonuc__linename { grid-area: name; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; line-height: 1.25; }
.ahgsy-sonuc__linename b { font-weight: 750; overflow-wrap: anywhere; }
.ahgsy-sonuc__linename small { color: var(--muted); font-size: 13px; font-weight: 400; }
.ahgsy-sonuc__linevotes { grid-area: votes; text-align: right; white-space: nowrap; }
.ahgsy-sonuc__linevotes strong { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.05; }
.ahgsy-sonuc__linevotes em { color: var(--muted); font-size: 12.5px; font-style: normal; font-weight: 600; }
.ahgsy-sonuc__linebar { grid-area: bar; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.ahgsy-sonuc__linebar span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--c); transition: width .6s cubic-bezier(.22, .9, .25, 1); }
.ahgsy-sonuc__sheetrest { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px !important; color: var(--muted); font-size: 14px; }
.ahgsy-sonuc__sheetrest strong { margin-left: 4px; color: var(--text); }
.ahgsy-sonuc__sheetnav { position: sticky; bottom: -20px; display: flex; justify-content: space-between; gap: 10px; margin: 18px -24px -20px; padding: 14px 24px 18px; border-top: 1px solid var(--line); background: var(--panel); }
.ahgsy-sonuc__sheetnav button { flex: 1; }
.ahgsy-sonuc__sheetnav button:disabled { opacity: .4; cursor: default; }

/* The strip at the bottom of a phone once the chart has scrolled away */
.ahgsy-sonuc__ticker {
    position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20;
    display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px); padding: 7px 18px 7px 7px; overflow: hidden;
    transform: translateX(-50%); border: 1px solid var(--line-2); border-radius: 999px;
    background: rgba(20, 21, 28, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); font-size: 13.5px; white-space: nowrap;
}
.ahgsy-sonuc__ticker[hidden] { display: none; }
.ahgsy-sonuc__ticker > span { display: inline-flex; align-items: center; min-width: 0; }
.ahgsy-sonuc__tickface { flex: none; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.ahgsy-sonuc__tickface > b { font-size: 16px; }
.ahgsy-sonuc__tickface .ahgsy-sonuc__logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 2px var(--c); }
.ahgsy-sonuc__tickmain { flex: 1 1 auto; flex-direction: column; align-items: flex-start !important; gap: 2px; }
.ahgsy-sonuc__tickmain b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.ahgsy-sonuc__tickmain small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.ahgsy-sonuc__tickmain small strong { color: var(--text); }
.ahgsy-sonuc__tickvote { flex: none; flex-direction: column; align-items: flex-end !important; gap: 1px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.ahgsy-sonuc__tickvote b { font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ahgsy-sonuc__tickvote em { color: var(--muted); font-size: 11.5px; font-style: normal; }

/* Per-box table */
.ahgsy-sonuc__boxes { margin-top: var(--gap); border-radius: 16px; }
.ahgsy-sonuc__boxes summary { padding: 14px 18px; color: var(--muted); font-weight: 650; cursor: pointer; }
.ahgsy-sonuc__boxes summary:hover, .ahgsy-sonuc__boxes[open] summary { color: var(--text); }
.ahgsy-sonuc__scroll { max-height: 460px; overflow: auto; padding: 0 18px 16px; }
.ahgsy-sonuc__scroll > p { color: var(--muted); }
.ahgsy-sonuc__scroll table { width: 100%; border-collapse: collapse; font-size: 13.5px; white-space: nowrap; }
.ahgsy-sonuc__scroll th, .ahgsy-sonuc__scroll td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.ahgsy-sonuc__scroll th:first-child, .ahgsy-sonuc__scroll td:nth-child(2) { text-align: left; }
.ahgsy-sonuc__scroll thead th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; white-space: normal; vertical-align: bottom; }
.ahgsy-sonuc__scroll td .ahg-dot { margin-right: 4px; }
.ahgsy-sonuc__scroll thead th b, .ahgsy-sonuc__scroll thead th small { display: block; max-width: 150px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; }
.ahgsy-sonuc__scroll thead th small { color: var(--faint); font-size: 10.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ahgsy-sonuc__scroll tbody th button { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.ahgsy-sonuc__scroll tbody th button:hover { border-color: var(--bordo-hi); }

@media (min-width: 761px) and (max-width: 1100px) {
    .ahgsy-sonuc__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ahgsy-sonuc__progress { grid-column: 1 / -1; }
}

.ahgsy-sonuc__note { margin-top: 18px !important; color: var(--faint); font-size: 12.5px; }
.ahgsy-sonuc__offline { margin-top: 10px !important; color: var(--run); font-size: 13px; font-weight: 600; }

/* Locked: the viewing password */
.ahgsy-sonuc__lock { display: grid; place-items: center; min-height: 52vh; padding: 20px 0; }
.ahgsy-sonuc__lockcard { width: min(420px, 100%); padding: 34px 28px 30px; border-radius: 24px; text-align: center; }
.ahgsy-sonuc__lockmark svg { width: 54px; height: 54px; color: var(--bordo); filter: drop-shadow(0 8px 24px rgba(148, 40, 57, .55)); }
.ahgsy-sonuc__lockcard .ahg-eyebrow { margin-top: 16px; }
.ahgsy-sonuc__locktext { margin-top: 8px !important; color: var(--muted); font-size: 15px; }
.ahgsy-sonuc__lock form { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.ahgsy-sonuc__lock label { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .04em; }
.ahgsy-sonuc__lock input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; font-size: 18px; }
.ahgsy-sonuc__lock input:focus { outline: none; border-color: var(--bordo-hi); box-shadow: 0 0 0 4px rgba(201, 65, 90, .22); }
.ahgsy-sonuc__lock button { height: 52px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #a92f43, var(--bordo)); box-shadow: 0 10px 30px -10px rgba(148, 40, 57, .9), 0 1px 0 rgba(255, 255, 255, .18) inset; color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; }
.ahgsy-sonuc__lock button:hover { filter: brightness(1.08); }
.ahgsy-sonuc__lock button:disabled { opacity: .6; cursor: default; }
.ahgsy-sonuc__error { color: var(--bad); font-size: 14px; font-weight: 600; }

/* Before the opening: the countdown */
.ahgsy-sonuc__count { padding: 26px 0; text-align: center; }
.ahgsy-sonuc__count > p { max-width: 640px; margin: 0 auto 22px !important; color: var(--muted); font-size: 16px; }
.ahgsy-sonuc__units { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.ahgsy-sonuc__unit { display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 18px 12px 14px; border-radius: 18px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.ahgsy-sonuc__unit strong { margin-bottom: 6px; color: var(--text); font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }

/* Phones */
@media (max-width: 760px) {
    .ahgsy-sonuc { --gap: 10px; }
    .ahgsy-sonuc__top { margin-bottom: 16px; }
    .ahgsy-sonuc__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ahgsy-sonuc__progress { grid-column: 1 / -1; }
    .ahgsy-sonuc__kpi { padding: 12px 12px; border-radius: 14px; }
    .ahgsy-sonuc__kpi > span { font-size: 10px; letter-spacing: .1em; }
    .ahgsy-sonuc__kpi strong { font-size: 22px; }
    .ahgsy-sonuc__kpi small { font-size: 12px; }
    .ahgsy-sonuc__group--cols { padding: 16px 12px 16px; border-radius: 18px; }
    .ahgsy-sonuc__group--cols ol { gap: 24px var(--gap); }
    .ahgsy-sonuc__bar { left: 4%; right: 4%; }
    .ahgsy-sonuc__unit { min-width: 72px; }
    .ahgsy-sonuc__unit strong { font-size: 34px; }
    .ahgsy-sonuc__ballothead { align-items: stretch; flex-direction: column; }
    .ahgsy-sonuc__find input { flex: 1; width: auto; }
    .ahgsy-sonuc__filters { gap: 6px; }
    .ahgsy-sonuc__filters button { gap: 6px; height: 34px; padding: 0 11px; font-size: 12.5px; }
    .ahgsy-sonuc__grid { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 5px; }
    .ahgsy-sonuc__cell { height: 44px; font-size: 13.5px; }
    .ahgsy-sonuc__sheet { width: 100%; max-width: none; max-height: 88vh; max-height: 88dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
    .ahgsy-sonuc__sheet[open] { animation-name: ahgsy-up; }
    .ahgsy-sonuc__sheetin { padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
    .ahgsy-sonuc__sheethead h2 { font-size: 36px; }
    .ahgsy-sonuc__lines li { column-gap: 10px; padding: 9px 11px; }
    .ahgsy-sonuc__lines .ahgsy-sonuc__logo { width: 34px; height: 34px; }
    .ahgsy-sonuc__linename { font-size: 14px; }
    .ahgsy-sonuc__linevotes strong { font-size: 19px; }
    .ahgsy-sonuc__sheetnav { bottom: calc(-16px - env(safe-area-inset-bottom)); margin: 16px -16px calc(-16px - env(safe-area-inset-bottom)); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
    .ahgsy-sonuc__recent { flex-direction: column; align-items: stretch; gap: 8px; }
    .ahgsy-sonuc__ticker { left: 10px; right: 10px; gap: 10px; max-width: none; padding: 8px 14px 8px 8px; border-radius: 16px; transform: none; }
}
@keyframes ahgsy-up { from { transform: translateY(40%); } }

/* ---------- Broadcast views: a fixed stage scaled to the window ---------- */
html.ahgsy-yayin { background: #000; }
.ahgsy-yayin .ahgsy-sonuc {
    --gap: 18px;
    position: fixed; left: 50%; top: 50%; z-index: 1;
    display: flex; flex-direction: column;
    width: var(--stage-w); height: var(--stage-h); max-width: none; margin: 0; padding: 54px 64px 46px; overflow: hidden;
    transform: translate(-50%, -50%) scale(var(--fit, 1));
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 700px at 8% -12%, rgba(148, 40, 57, .42), transparent 62%),
        radial-gradient(900px 600px at 105% 112%, rgba(148, 40, 57, .2), transparent 60%),
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: auto, auto, 60px 60px, 60px 60px;
}
.ahgsy-yayin .ahgsy-sonuc__brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; font-size: 40px; }
.ahgsy-yayin .ahgsy-sonuc__site { color: var(--muted); font-size: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ahgsy-yayin .ahgsy-sonuc__top { margin-bottom: 26px; }
.ahgsy-yayin .ahg-eyebrow { font-size: 17px; }
.ahgsy-yayin .ahgsy-sonuc .ahgsy-sonuc__title { font-size: 58px; }
.ahgsy-yayin .ahgsy-sonuc__state { font-size: 19px; }
.ahgsy-yayin .ahgsy-sonuc__badge { padding: 10px 20px; gap: 12px; }
.ahgsy-yayin .ahg-dot { width: 12px; height: 12px; }
.ahgsy-yayin .ahgsy-sonuc__flag { font-size: 20px; padding: 12px 20px; }
.ahgsy-yayin .ahgsy-sonuc__body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ahgsy-yayin .ahgsy-sonuc__charts { order: 1; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.ahgsy-yayin .ahgsy-sonuc__side { order: 2; }
.ahgsy-yayin .ahgsy-sonuc__kpis { order: 3; margin: var(--gap) 0 0; }
.ahgsy-yayin .ahgsy-sonuc__boxes, .ahgsy-yayin .ahgsy-sonuc__ballot, .ahgsy-yayin .ahgsy-sonuc__ticker, .ahgsy-yayin .ahgsy-sonuc__sheet { display: none; }
html.ahgsy-yayin, .ahgsy-yayin body { cursor: none; }
.ahgsy-yayin .ahgsy-sonuc__group--cols { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 26px 30px 28px; border-radius: 28px; }
.ahgsy-yayin .ahgsy-sonuc__group--cols ol { flex: 1; min-height: 0; grid-auto-rows: minmax(0, 1fr); gap: 34px var(--gap); margin-top: 20px; }
.ahgsy-yayin .ahgsy-sonuc__group--cols li { min-height: 0; }
.ahgsy-yayin .ahgsy-sonuc__plot, .ahgsy-yayin .ahgsy-sonuc__group--cols ol.is-rows .ahgsy-sonuc__plot { flex: 1; height: auto; min-height: 0; }
.ahgsy-yayin .ahgsy-sonuc__grouphead h3, .ahgsy-yayin .ahgsy-sonuc__kpi > span { font-size: 16px; }
.ahgsy-yayin .ahgsy-sonuc__sum { font-size: 17px; }
.ahgsy-yayin .ahgsy-sonuc__kpi, .ahgsy-yayin .ahgsy-sonuc__progress { padding: 18px 24px; border-radius: 20px; }
.ahgsy-yayin .ahgsy-sonuc__kpi strong { font-size: 44px; }
.ahgsy-yayin .ahgsy-sonuc__kpi small { font-size: 20px; }
.ahgsy-yayin .ahgsy-sonuc__progress { font-size: 18px; }
.ahgsy-yayin .ahgsy-sonuc__track { height: 12px; }
.ahgsy-yayin .ahgsy-sonuc__group--chips { padding: 18px 24px; border-radius: 24px; }
.ahgsy-yayin .ahgsy-sonuc__group--chips .ahgsy-sonuc__name { font-size: 22px; }
.ahgsy-yayin .ahgsy-sonuc__group--chips strong { font-size: 36px; }
.ahgsy-yayin .ahgsy-sonuc__group--chips em { font-size: 18px; }
.ahgsy-yayin .ahgsy-sonuc__other { font-size: 19px; border-radius: 24px; padding: 18px 26px; }
.ahgsy-yayin .ahgsy-sonuc__other strong { font-size: 30px; }
.ahgsy-yayin .ahgsy-sonuc__note { margin-top: 16px !important; font-size: 16px; }
.ahgsy-yayin .ahgsy-sonuc__offline { font-size: 18px; }
.ahgsy-yayin .ahgsy-sonuc__lock { flex: 1; min-height: 0; }
.ahgsy-yayin .ahgsy-sonuc__count { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.ahgsy-yayin .ahgsy-sonuc__count > p { max-width: none; font-size: 26px; }
.ahgsy-yayin .ahgsy-sonuc__unit { min-width: 170px; padding: 28px 16px 20px; font-size: 17px; }
.ahgsy-yayin .ahgsy-sonuc__unit strong { font-size: 84px; }

/* Tall and square stages: two rows of columns, the figures in two lines. */
.ahgsy-yayin--dikey .ahgsy-sonuc, .ahgsy-yayin--portre .ahgsy-sonuc { padding: 64px 56px 52px; }
.ahgsy-yayin--dikey .ahgsy-sonuc .ahgsy-sonuc__title { font-size: 64px; }
.ahgsy-yayin--dikey .ahgsy-sonuc__brand { margin-bottom: 48px; font-size: 46px; }
.ahgsy-yayin--dikey .ahgsy-sonuc__top { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
.ahgsy-yayin--dikey .ahgsy-sonuc__kpis, .ahgsy-yayin--portre .ahgsy-sonuc__kpis, .ahgsy-yayin--kare .ahgsy-sonuc__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ahgsy-yayin--dikey .ahgsy-sonuc__progress, .ahgsy-yayin--portre .ahgsy-sonuc__progress, .ahgsy-yayin--kare .ahgsy-sonuc__progress { grid-column: 1 / -1; }
.ahgsy-yayin--kare .ahgsy-sonuc, .ahgsy-yayin--portre .ahgsy-sonuc { --gap: 14px; }
.ahgsy-yayin--kare .ahgsy-sonuc { padding: 40px 46px 34px; }
.ahgsy-yayin--kare .ahgsy-sonuc__brand, .ahgsy-yayin--portre .ahgsy-sonuc__brand { margin-bottom: 22px; font-size: 32px; }
.ahgsy-yayin--kare .ahgsy-sonuc .ahgsy-sonuc__title, .ahgsy-yayin--portre .ahgsy-sonuc .ahgsy-sonuc__title { font-size: 44px; }
.ahgsy-yayin--kare .ahgsy-sonuc__top, .ahgsy-yayin--portre .ahgsy-sonuc__top { margin-bottom: 18px; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi strong { font-size: 34px; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi, .ahgsy-yayin--kare .ahgsy-sonuc__progress { padding: 12px 20px; }
.ahgsy-yayin--kare .ahgsy-sonuc__group--cols { padding: 18px 22px 20px; }
.ahgsy-yayin--kare .ahgsy-sonuc__note { display: none; }
/* The square has the least room: the bar of boxes gives way to the columns. */
.ahgsy-yayin--kare .ahgsy-sonuc__progress { display: none; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi { padding: 10px 18px; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi > span { font-size: 13px; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi strong { font-size: 30px; }
.ahgsy-yayin--kare .ahgsy-sonuc__kpi small { font-size: 16px; }
.ahgsy-yayin--kare .ahgsy-sonuc__other { padding: 12px 22px; }
.ahgsy-yayin--kare .ahgsy-sonuc__top { margin-bottom: 14px; }
.ahgsy-yayin--kare .ahgsy-sonuc__flag { margin-bottom: 12px !important; padding: 8px 16px; font-size: 17px; }
.ahgsy-yayin .ahgsy-sonuc__plot { min-height: 110px; }
/* Square and portrait stages: one row of narrow columns, so the figures and names are sized up to stay legible. */
.ahgsy-yayin--kare .ahgsy-sonuc__group--cols li, .ahgsy-yayin--portre .ahgsy-sonuc__group--cols li {
    --vs: clamp(17px, calc(var(--col) * .26), 68px);
    --ps: clamp(11px, calc(var(--col) * .15), 26px);
    --ns: clamp(12px, calc(var(--col) * .16), 26px);
    --rs: clamp(12px, calc(var(--col) * .13), 26px);
    --vn: clamp(11px, calc(var(--col) * .17), 24px);
    --s: clamp(24px, calc(var(--col) * .5), 64px);
}
.ahgsy-yayin--kare .ahgsy-sonuc__group--cols .ahgsy-sonuc__name, .ahgsy-yayin--portre .ahgsy-sonuc__group--cols .ahgsy-sonuc__name { height: 3.6em; }
.ahgsy-yayin--kare .ahgsy-sonuc__group--cols .ahgsy-sonuc__name b, .ahgsy-yayin--portre .ahgsy-sonuc__group--cols .ahgsy-sonuc__name b { -webkit-line-clamp: 3; }

/* The strip under a live picture: always on a see-through stage. */
html.ahgsy-yayin--bant, html.ahgsy-yayin--bant body, .ahgsy-yayin--bant .ahgsy-sonuc { background: transparent !important; }
.ahgsy-yayin--bant .ahgsy-sonuc > :not(.ahgsy-sonuc__band):not(.ahgsy-sonuc__lock) { display: none !important; }
.ahgsy-yayin--bant .ahgsy-sonuc__lock { position: absolute; left: 48px; right: 48px; bottom: 48px; min-height: 0; }
.ahgsy-sonuc__band { display: none; }
.ahgsy-yayin--bant .ahgsy-sonuc__band:not(:empty) {
    position: absolute; left: 48px; right: 48px; bottom: 44px;
    display: flex; height: 140px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px;
    background: rgba(12, 13, 18, .9); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .85);
}
.ahgsy-sonuc__bandhead { display: flex; flex: none; align-items: center; gap: 12px; width: 260px; padding: 0 18px; background: linear-gradient(135deg, #a92f43, var(--bordo-lo)); }
.ahgsy-sonuc__bandmark svg { display: block; width: 38px; height: 38px; color: #fff; }
.ahgsy-sonuc__bandhead > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ahgsy-sonuc__bandhead b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 18px; font-weight: 750; line-height: 1.12; }
.ahgsy-sonuc__bandhead small { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .82); font-size: 13px; line-height: 1.25; font-weight: 600; }
.ahgsy-sonuc__bandhead .ahg-dot { width: 10px; height: 10px; }
.ahgsy-sonuc__bandlist { display: flex; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ahgsy-sonuc__bandlist li {
    position: relative; display: grid; flex: 1 1 0; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "name name" "logo votes"; align-content: center; align-items: center; column-gap: 10px; row-gap: 9px;
    min-width: 0; padding: 0 12px 4px; border-left: 1px solid rgba(255, 255, 255, .08);
    transition: transform .95s cubic-bezier(.22, .9, .25, 1);
}
.ahgsy-sonuc__bandlist li:first-child { flex-grow: 1.2; background: color-mix(in srgb, var(--c), transparent 82%); }
.ahgsy-sonuc__bandlist .ahgsy-sonuc__logo { grid-area: logo; width: 46px; height: 46px; border-radius: 10px; }
.ahgsy-sonuc__bandlist .ahgsy-sonuc__logo:not(.is-set) { display: none; }
.ahgsy-sonuc__bandname { grid-area: name; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.24em; font-size: 15px; line-height: 1.12; }
.ahgsy-sonuc__bandvotes { grid-area: votes; display: flex; flex-direction: column; gap: 3px; min-width: 0; white-space: nowrap; }
.ahgsy-sonuc__bandvotes strong { font-size: 29px; font-weight: 750; letter-spacing: -.02em; line-height: 1; }
.ahgsy-sonuc__bandvotes em { color: var(--muted); font-size: 14px; line-height: 1; font-style: normal; font-weight: 600; }
.ahgsy-sonuc__bandbar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, .05); }
.ahgsy-sonuc__bandbar span { display: block; width: var(--w); height: 100%; background: var(--c); transition: width 1s cubic-bezier(.22, .9, .25, 1); }

/* A transparent background, to lay the results over a camera picture. */
html.ahgsy-seffaf, html.ahgsy-seffaf body, .ahgsy-seffaf .ahgsy-sonuc { background: transparent !important; }
/* Plain black, edge to edge: a stream with a black background shows no edge around the page. */
html.ahgsy-siyah, html.ahgsy-siyah body, .ahgsy-siyah .ahgsy-sonuc { background: #000 !important; }
/* The glow and the grid stay, but fade to black before every edge, so the bars a stream adds above and below read as part of the page. */
.ahgsy-siyah .ahgsy-sonuc::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        radial-gradient(1000px 640px at 16% 22%, rgba(148, 40, 57, .38), transparent 64%),
        radial-gradient(900px 560px at 88% 84%, rgba(148, 40, 57, .2), transparent 62%),
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: auto, auto, 60px 60px, 60px 60px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent), linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent), linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    mask-composite: intersect;
}
/* A dark colour scheme makes the browser paint the empty page dark; see-through pages must not. */
html.ahgsy-seffaf, html.ahgsy-yayin--bant { color-scheme: normal; }

@media (prefers-reduced-motion: reduce) {
    .ahgsy-sonuc__group--cols li, .ahgsy-sonuc__group--chips li, .ahgsy-sonuc__fill, .ahgsy-sonuc__votes, .ahgsy-sonuc__track span { transition: none !important; }
    .ahgsy-sonuc *, .ahgsy-sonuc *::before, .ahgsy-sonuc *::after, .ahgsy-sonuc__sheet, .ahgsy-sonuc__ticker { animation: none !important; }
}
