.translation-poll{margin:0 0 32px;padding:28px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(135deg,#edf0f2,#f7f8f8)}.translation-poll h2{font:400 clamp(24px,3vw,34px)/1.2 Georgia,serif;margin:0 0 12px}.poll-columns{display:grid;grid-template-columns:3fr 2fr;gap:28px;margin-top:20px}.poll-results{max-height:280px;overflow-y:auto;display:grid;gap:8px;margin:12px 0}.poll-game{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid #d3dce0;background:#fff;border-radius:8px;color:#26343a;cursor:pointer;width:100%;min-width:0}.poll-game img{width:42px;height:58px;object-fit:cover}.poll-game[aria-pressed=true]{background:#e1e9ed;border-color:#8199a6}.poll-game span{overflow-wrap:anywhere}.poll-game small{display:block;color:#718089;margin-top:4px}.poll-vote{background:#26343a;color:white;padding:11px 20px;border:0;border-radius:6px;cursor:pointer}.poll-vote:disabled{opacity:.5;cursor:default}.poll-favorites{padding:20px;background:#e9eef0;border-radius:10px}.poll-favorites h3{font:400 24px Georgia,serif;margin:0 0 14px}.poll-favorites article{margin-bottom:12px;padding:12px;background:#fff;border:1px solid #d3dce0;border-radius:8px}.poll-count{border:0;background:transparent;color:#58656c;cursor:pointer;margin-top:8px;padding:0;text-decoration:underline}.poll-search-input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d3dce0;border-radius:8px;font:inherit}.poll-status{font-size:12px;color:#58656c}.poll-voters-dialog{width:min(390px,90vw);max-height:70dvh;overflow:auto;padding:22px;border:1px solid #d3dce0;border-radius:12px;color:#26343a}.poll-voters-dialog ul{padding:0;list-style:none}.poll-voters-dialog li{display:flex;align-items:center;gap:10px;padding:10px 0}.poll-voter-avatar{border-radius:50%;background:#e9eef0;width:34px;height:34px;display:grid;place-items:center}@media(max-width:700px){.poll-columns{grid-template-columns:1fr}.translation-poll{padding:18px}}
.translation-poll{height:500px;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;margin-bottom:20px}
.translation-poll>h2,.translation-poll>p{flex-shrink:0}
.poll-columns{flex:1;min-height:0}
.poll-columns>div{display:flex;flex-direction:column;min-width:0;min-height:0}
.poll-columns>div>label,.poll-search-input,.poll-vote{flex-shrink:0}
.poll-results{flex:1;min-height:0;max-height:none;grid-auto-rows:max-content;align-content:start}
.poll-status[role=status]{height:18px;flex-shrink:0;margin:6px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.poll-selection{height:22px;flex-shrink:0;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.poll-vote{align-self:flex-start}
.poll-columns>div>.poll-status:last-child{flex-shrink:0;margin:6px 0 0;line-height:1.4}
.poll-favorites{display:flex;flex-direction:column;min-height:0;min-width:0}
.poll-favorites h3{flex-shrink:0}
.poll-ranking{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
.poll-favorites article{overflow-wrap:anywhere}
@media(max-width:700px){.translation-poll{height:820px}.poll-columns{grid-template-rows:minmax(0,1fr) 230px;gap:18px}}
.translation-poll{padding:18px 20px}
.translation-poll h2{font-size:clamp(24px,2.6vw,30px);margin:0 0 6px}
.translation-poll>p{margin:0;line-height:1.4}
.poll-columns{margin-top:12px;gap:20px}
.poll-columns>div>label{font-size:13px;line-height:1.3;margin-bottom:4px}
.poll-search-input{padding:9px 12px;height:40px}
.poll-status[role=status]{height:16px;margin:4px 0;font-size:11px}
.poll-results{margin:4px 0;gap:6px}
.poll-game{padding:7px 9px;gap:10px;min-height:64px}
.poll-game img{width:34px;height:46px}
.poll-game small{margin-top:2px;font-size:11px}
.poll-selection{height:18px;line-height:18px;margin:2px 0}
.poll-vote{padding:9px 16px}
.poll-columns>div>.poll-status:last-child{margin:4px 0 0;font-size:11px}
.poll-favorites{padding:14px}
.poll-favorites h3{font-size:22px;margin-bottom:10px}
.poll-favorites article{display:flex;align-items:center;gap:10px}
.poll-favorite-cover{width:34px;height:46px;object-fit:cover;border-radius:3px;flex:0 0 auto}
.poll-favorite-details{min-width:0;overflow-wrap:anywhere}
.poll-favorite-details{flex:1}
.poll-join{flex:0 0 auto;border:1px solid #bcc9cf;border-radius:6px;background:#edf2f4;color:#26343a;padding:7px 10px;font-size:12px;cursor:pointer}
.poll-join:hover{background:#e0e9ed}
.poll-join:disabled{opacity:.65;cursor:default}
@media(max-width:1000px){.poll-favorites article{flex-wrap:wrap}.poll-join{margin-left:44px}}
.poll-right{display:flex;flex-direction:column;min-width:0;min-height:0;gap:12px;container-type:inline-size}
.poll-next{flex:0 0 auto;padding:14px;background:#e1e9ed;border:1px solid #c5d1d7;border-radius:10px}
.poll-next h3{font:400 22px Georgia,serif;margin:0 0 10px}
.poll-next-card{display:flex;align-items:center;gap:10px;font-size:14px;min-height:46px;overflow-wrap:anywhere}
.poll-right>.poll-favorites{flex:1}
.poll-ownership{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px;}
.poll-ownership-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid;border-radius:999px;font-size:11px;line-height:1.35;font-weight:600;}
.poll-ownership-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;}
.poll-ownership-badge.is-owned{color:#2b6a40;background:#edf8ef;border-color:#bad9c3;}
.poll-ownership-badge.is-missing{color:#886024;background:#fff7e8;border-color:#e6d2a7;}
.poll-ownership-select{max-width:100%;padding:4px 6px;border:1px solid #c5d1d7;border-radius:6px;color:#3d505a;background:#f7f9f9;font-size:11px;}
.poll-ownership-select:disabled{opacity:.6;}
.poll-ownership-note{flex-basis:100%;font-size:10px;line-height:1.35;color:#6f6655;}
.poll-platform-badges{display:flex;flex-wrap:wrap;gap:5px;flex-basis:100%}
.poll-platform-edit{padding:4px 8px;border:1px solid #c5d1d7;border-radius:6px;background:#f7f9f9;color:#3d505a;font-size:11px}
.poll-platform-dialog{width:min(480px,calc(100vw - 28px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid #c5d1d7;border-radius:14px;padding:22px;background:#f7f9f9;color:#26343a}
.poll-platform-dialog::backdrop{background:#15252e66}
.poll-platform-dialog h3{margin:0 0 10px;font-size:20px;overflow-wrap:anywhere}
.poll-platform-dialog p{font-size:12px;line-height:1.5}
.poll-platform-form{display:grid;gap:10px}
.poll-platform-form label{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;gap:10px;font-size:13px}
.poll-platform-form select{min-width:0;width:100%;padding:7px 5px;border:1px solid #c5d1d7;border-radius:6px;background:white;color:#26343a}
.poll-platform-actions{display:flex;justify-content:flex-end;gap:8px}
.poll-platform-actions button{border:1px solid #c5d1d7;border-radius:7px;padding:8px 16px;background:white;color:#26343a}
.poll-platform-actions button[type=submit]{background:#26343a;color:white}
.poll-platform-actions button:disabled{opacity:.5;cursor:wait}
/* Use the full card width for status and controls instead of a narrow stack. */
.poll-right .poll-favorite-details{display:contents}
.poll-right .poll-favorite-details>br{display:none}
.poll-right .poll-ownership{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0}
.poll-right .poll-platform-badges{display:contents}
.poll-right .poll-ownership-note{display:none}
.poll-right .has-platform-details>.poll-ownership-select{display:none}
.poll-right .poll-ownership-badge{white-space:normal}
.poll-next-card{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:6px 10px}
.poll-next-card>.poll-favorite-cover{grid-column:1;grid-row:1/3;align-self:start}
.poll-next-card .poll-favorite-details>strong{grid-column:2;grid-row:1;min-width:0}
.poll-next-card .poll-ownership{grid-column:2;grid-row:2}
.poll-next-card:not(:has(>.poll-favorite-cover)){grid-template-columns:0 minmax(0,1fr);column-gap:0}
.poll-next-empty{grid-column:1/-1;min-width:0;margin:0;line-height:1.5}
.poll-next-note{grid-column:1/-1;min-width:0;margin:0;font-size:12px;line-height:1.5;color:#58656c}
.poll-next h3{display:flex;align-items:center;justify-content:space-between;gap:10px}
.poll-next-remove{flex-shrink:0;padding:4px 8px;border:1px solid #dfc0b8;border-radius:6px;background:#fff7f5;color:#914536;font:12px Arial,sans-serif;cursor:pointer}
.poll-next-remove:disabled{opacity:.5;cursor:wait}
.poll-ranking>article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:6px 10px;padding:10px;margin-bottom:8px}
.poll-ranking>article>.poll-favorite-cover{grid-column:1;grid-row:1/4;align-self:start;margin-top:2px}
.poll-ranking .poll-favorite-details>strong{grid-column:2;grid-row:1;min-width:0}
.poll-ranking .poll-count{grid-column:2;grid-row:2;justify-self:start;margin:0;text-align:left}
.poll-ranking .poll-ownership{grid-column:2/-1;grid-row:3}
.poll-ranking .poll-join{grid-column:3;grid-row:1/3;align-self:center;margin:0;padding:6px 9px}
.poll-ranking>article:not(:has(>.poll-favorite-cover)){grid-template-columns:0 minmax(0,1fr) auto;column-gap:0}
@container(max-width:330px){
 .poll-ranking .poll-favorite-details>strong{grid-column:2/-1}
 .poll-ranking .poll-join{grid-row:2;font-size:11px;padding:5px 7px}
 .poll-ranking .poll-count{font-size:12px}
 .poll-right .poll-ownership-select{font-size:10px;padding:3px 4px}
}
@media(max-width:700px){.translation-poll{height:920px}.poll-columns{grid-template-rows:minmax(0,1fr) 340px}}
@media(max-width:700px){.translation-poll:has(.poll-next-card .poll-platform-badges){height:1100px}.translation-poll:has(.poll-next-card .poll-platform-badges) .poll-columns{grid-template-rows:minmax(0,1fr) 520px}}
@media(min-width:701px){
 .translation-poll{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:auto auto minmax(0,1fr);column-gap:20px;row-gap:6px}
 .translation-poll>h2,.translation-poll>p{grid-column:1;margin:0}
 .poll-columns{display:contents}
 .poll-columns>div:first-child{grid-column:1;grid-row:3;padding-top:6px}
 .poll-right{grid-column:2;grid-row:1/4}
}
@media(max-width:700px){
 .translation-poll,.translation-poll:has(.poll-next-card .poll-platform-badges){height:auto}
 .poll-columns,.translation-poll:has(.poll-next-card .poll-platform-badges) .poll-columns{grid-template-rows:auto auto}
 .poll-columns>div:first-child{min-height:260px}
 .poll-results{max-height:240px}
 .poll-right{min-height:0}
 .poll-right>.poll-favorites{flex:0 0 auto;min-height:140px}
 .poll-ranking{max-height:340px;min-height:70px}
}
