/* Closed polls are readable results rather than repeated voting forms. */
body .competition-result-panel[hidden]{display:none!important}
body .competition-result-panel{display:grid;gap:24px;min-width:0}
body .competition-tabs{display:flex;gap:26px;flex-wrap:nowrap;width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto;scrollbar-width:thin;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;margin-bottom:0}
body .competition-tabs>.btn{position:relative;flex-shrink:0;white-space:nowrap;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important;padding:15px 0!important;font-size:14px;font-weight:400;min-height:50px}
body .competition-tabs>.btn[aria-selected=true]{color:var(--primary)!important;font-weight:600}
body .competition-tabs>.btn[aria-selected=true]::after{content:'';position:absolute;inset:auto 0 0;height:3px;border-radius:3px 3px 0 0;background:var(--primary)}
body .competition-tabs>.btn:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
body .competition-week-subtabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;max-width:100%;box-sizing:border-box;padding:14px 0 20px;border:0;border-radius:0;margin:0;background:transparent}
body .competition-week-subtabs>.btn{display:inline-flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--muted);border-radius:22px;padding:9px 16px;min-height:38px;font-size:13px;font-weight:400;box-shadow:none}
body .competition-week-subtabs>.btn[aria-selected=true]{background:var(--primary2);color:var(--primary);font-weight:600}
body .competition-week-tab-count{font-size:11px;font-weight:600;line-height:1;opacity:.8;font-variant-numeric:tabular-nums}
body .competition-week-subtabs>.btn:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
body .competition-week-panel{min-width:0;width:100%}body .competition-week-panel[hidden]{display:none!important}
body .competition-week-panel>.competition-week-gallery{margin-top:0;padding:8px 0 0;border:0;background:transparent;box-shadow:none}
body .competition-week-panel>.competition-browse-form{margin-top:0}
@media(max-width:500px){body .competition-tabs{gap:22px}body .competition-week-subtabs>.btn{padding:9px 13px}}
body .theme-poll-history{margin-top:28px;padding:0;border:0;border-radius:0;background:transparent}
body .theme-poll-history>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:16px 0;border-top:1px solid var(--line);color:var(--ink)}
body .theme-poll-history>summary::-webkit-details-marker{display:none}
body .theme-poll-history-title{font:400 clamp(21px,2vw,26px)/1.2 var(--font-display,Georgia,serif)}
body .theme-poll-history-count{display:grid;place-items:center;min-width:26px;height:26px;padding:0 5px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;font-size:11px;color:var(--primary)}
body .theme-poll-history>summary::after{content:'';width:7px;height:7px;flex-shrink:0;margin-left:auto;margin-right:6px;border-right:1.5px solid var(--primary);border-bottom:1.5px solid var(--primary);transform:rotate(45deg)}
body .theme-poll-history[open]>summary::after{transform:rotate(225deg)}
body .theme-poll-history>summary:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:8px}
body .theme-poll-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:8px}
body .theme-poll-history-row{min-width:0;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 6px 20px rgba(115,55,78,.045)}
body .theme-poll-history-row[hidden]{display:none!important}
body .theme-poll-history-row>p{display:inline-block;margin:0;padding:5px 10px;border-radius:20px;border:1px solid var(--line);font-size:11px;color:var(--primary)}
body .theme-poll-history-row h3{font:400 23px/1.25 var(--font-display,Georgia,serif);margin:14px 0 18px;overflow-wrap:anywhere}
body .theme-poll-history-row ul{display:grid;gap:8px;list-style:none;padding:0;margin:0}
body .theme-poll-history-row li{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;padding:9px 11px;border-radius:9px;border:1px solid var(--line);font-size:12px;line-height:1.5}
body .theme-poll-history-row li::before{content:'';position:absolute;z-index:-1;inset:0 auto 0 0;width:var(--poll-percent);background:var(--primary);opacity:.045}
body .theme-poll-history-row li.is-winner{color:var(--primary);border-color:var(--primary)}
body .theme-poll-history-row li.is-winner::before{opacity:.09}
body .theme-poll-history-row li span{overflow-wrap:anywhere}
body .theme-poll-history-row li strong{font-size:11px;flex-shrink:0;font-weight:600}
@media(max-width:700px){body .theme-poll-history-grid{grid-template-columns:1fr;gap:14px}body .theme-poll-history-row{padding:18px}}
body .theme-poll-suggestion-footer{display:flex;justify-content:flex-start;padding-top:16px;margin-top:8px}
body .theme-poll-suggestion-footer>.theme-suggest-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin:0;min-height:42px;padding:8px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:none;color:var(--primary);font-size:12px;font-weight:600;text-decoration:none;white-space:normal;text-align:left}
body .theme-poll-suggestion-footer>.theme-suggest-action:hover{background:var(--surface2,var(--surface));border-color:var(--primary);transform:none}
body .theme-suggest-action>.dh-custom-icon{width:22px;height:22px;margin:0;flex:none}
body .theme-poll-suggestion-footer>.theme-suggest-action:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}
.theme-suggestions-picker { padding: 14px; border: 1px solid var(--border, #efd0da); border-radius: 14px; }
.theme-suggestions-picker > summary { cursor: pointer; font-weight: 600; }
.theme-suggestions-list { display: grid; gap: 12px; }
.theme-suggestion-row { border-top: 1px solid var(--border, #efd0da); padding-top: 12px; overflow-wrap: anywhere; }
.theme-suggestion-row .head-actions { flex-wrap: wrap; }
body .modal.theme-suggestion-modal{width:min(480px,calc(100vw - 24px));max-width:480px}
body .theme-suggestion-modal .modal-head{padding:22px 24px}
body .theme-suggestion-modal .modal-content{padding:22px 24px}
body .theme-suggestion-modal .theme-suggestion-form{gap:16px}
body .theme-suggestion-modal textarea{min-height:84px;resize:vertical}
body .theme-suggestion-modal .theme-suggestion-form>p{margin:0;font-size:12px;line-height:1.5}
