/* Shared native radio/checkbox appearance in polls and feed filters. */
.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter{--choice-color:var(--poll-accent,var(--active-mask-color,#275db2))}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input{appearance:none;box-sizing:border-box;flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;padding:0;border:1.5px solid color-mix(in srgb,var(--choice-color) 65%,#7f8ea2);background-color:white;cursor:pointer}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input[type=radio]{border-radius:50%}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input[type=checkbox]{border-radius:4px}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input:checked{border-color:var(--choice-color);background-color:var(--choice-color)}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input[type=radio]:checked{box-shadow:inset 0 0 0 3px white}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-size:14px;background-repeat:no-repeat}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input:focus-visible{outline:2px solid var(--choice-color);outline-offset:3px}
:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input:disabled{cursor:default;opacity:.55}
@media(forced-colors:active){:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input{appearance:auto}:is(.poll-panels,.feed-content-filters,.poll-result-levels,.poll-context-filter) input.choice-input:checked{box-shadow:none;background-image:none}}
.index-ui .feed-content-filters{display:flex;flex-direction:column;gap:0;border:1px solid color-mix(in srgb,var(--choice-color) 23%,white);border-radius:6px;overflow:hidden;background:white}
.index-ui .feed-content-filters .feed-filter-choice{display:flex;align-items:center;gap:12px;margin:0;padding:8px 10px;border:0;border-block-end:1px solid color-mix(in srgb,var(--choice-color) 20%,white);border-inline-start:3px solid transparent;line-height:1.4;font-size:12px;cursor:pointer}
.index-ui .feed-content-filters .feed-filter-choice:last-child{border-block-end:0}
.index-ui .feed-content-filters .feed-filter-choice:has(input:checked){background:color-mix(in srgb,var(--choice-color) 8%,white);border-inline-start-color:var(--choice-color)}
.index-ui .feed-content-filters .feed-filter-choice:focus-within{outline:2px solid var(--choice-color);outline-offset:-2px}
.index-ui .feed-content-filters input.choice-input{margin:0}
.feed-filter-content{display:flex;align-items:center;gap:6px;min-width:0}
.feed-filter-icon{width:18px;height:18px;flex:none;color:var(--choice-color);fill:currentColor}
.feed-filter-icon.bi-polls-mark{fill:none;stroke:currentColor;stroke-width:1;stroke-linejoin:round}
.feed-filter-icon.bi-link{transform:rotate(45deg)}
.stream-follow{display:inline-flex;align-items:center;gap:8px;max-width:100%;font-size:12px;cursor:pointer}.stream-follow[hidden]{display:none!important}.home-stream-subscription #subscriptionStatus:empty{display:none}
/* Compact selects share the 22px action rhythm, including standalone controls. */
:is(#homepageRoot,#contentReader) :is(.mask-level-controls,.stream-language-filter) select{box-sizing:border-box;display:block;width:auto;min-width:0;max-width:100%;min-height:22px;margin:0;padding:3px 8px;padding-inline-end:26px;border:1px solid color-mix(in srgb,var(--active-mask-color,#5b6574) 30%,white);border-radius:6px;appearance:none;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%235b6574' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");background-position:right 7px center;background-size:12px 9px;background-repeat:no-repeat;color:inherit;font:400 11px/1.25 var(--polls-font-family,system-ui,sans-serif)}
html[dir=rtl] :is(#homepageRoot,#contentReader) :is(.mask-level-controls,.stream-language-filter) select{background-position:left 7px center}
:is(#homepageRoot,#contentReader) :is(.mask-level-controls,.stream-language-filter) select:disabled{opacity:.55;cursor:default}
.stream-language-filter:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-block:8px 12px}
body :is(.homepage,.content-reader) .stream-language-filter>label{margin:0;font-size:12px;line-height:1.4}
