.game-lobby{display:flex;flex-direction:column;width:100%;margin:0 auto;gap:8px;font-family:var(--font-family-body);color:#fff;overflow:hidden;height:100%;box-sizing:border-box}.game-lobby__main-layout{display:flex;gap:12px;min-height:0;flex:1;flex-shrink:1}.game-lobby__character-sidebar{display:flex;flex-direction:column;align-items:center;gap:6px;flex-shrink:0;padding-top:4px;position:sticky;top:0;align-self:flex-start}.game-lobby__character-canvas{width:72px;height:144px;border-radius:10px;background:linear-gradient(180deg,rgba(var(--game-border-rgb),.15),rgba(var(--game-bg-dark-rgb),.4));border:2px solid rgba(var(--game-border-rgb),.3);image-rendering:pixelated;image-rendering:crisp-edges}.game-lobby__customize-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;font-family:var(--font-family-ui);font-size:11px;font-weight:600;color:var(--game-text-secondary);background:rgba(var(--game-border-rgb),.2);border:1px solid rgba(var(--game-border-rgb),.4);border-radius:8px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.game-lobby__customize-btn:hover{color:var(--game-accent-gold);background:rgba(var(--game-border-rgb),.35);border-color:rgba(var(--game-accent-gold-rgb),.4)}.game-lobby__character-buttons{display:flex;align-items:center;gap:4px}.game-lobby__randomize-btn,.game-lobby__history-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;color:var(--game-text-secondary);background:rgba(var(--game-border-rgb),.2);border:1px solid rgba(var(--game-border-rgb),.4);border-radius:8px;cursor:pointer;transition:all .2s ease}.game-lobby__randomize-btn:hover{color:var(--game-accent-gold);background:rgba(var(--game-border-rgb),.35);border-color:rgba(var(--game-accent-gold-rgb),.4)}.game-lobby__history-btn:hover{color:#c9a0dc;background:rgba(var(--game-border-rgb),.35);border-color:#6b4aa380}.game-lobby__history-panel{width:100%;max-height:200px;overflow-y:auto;background:rgba(var(--game-bg-dark-rgb),.6);border:1px solid rgba(var(--game-border-rgb),.4);border-radius:8px;padding:6px}.game-lobby__history-title{margin:0 0 4px;font-size:10px;font-weight:600;color:var(--game-text-secondary);text-align:center;text-transform:uppercase;letter-spacing:.5px}.game-lobby__history-empty{margin:0;padding:8px 4px;font-size:11px;color:var(--game-text-secondary);text-align:center;opacity:.7}.game-lobby__history-list{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.game-lobby__history-thumb{width:100%;aspect-ratio:1 / 2;border-radius:6px;background:rgba(var(--game-border-rgb),.15);border:1px solid rgba(var(--game-border-rgb),.3);cursor:pointer;transition:all .15s ease;image-rendering:pixelated;image-rendering:crisp-edges}.game-lobby__history-thumb:hover{border-color:var(--game-accent-gold);transform:scale(1.05)}.game-lobby__body{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;gap:8px}.game-lobby__selector{flex:1;min-height:150px;overflow-x:hidden;overflow-y:auto;border-radius:10px;background:rgba(var(--game-bg-dark-rgb),.3);border:1px solid rgba(var(--game-border-rgb),.2);display:flex;flex-direction:column}.game-lobby__selector-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:12px;color:var(--game-text-secondary);font-family:var(--font-family-ui);font-size:14px}.game-lobby__spinner{width:28px;height:28px;border:3px solid rgba(var(--game-border-rgb),.3);border-top-color:var(--game-accent-gold);border-radius:50%;animation:game-lobby-spin .8s linear infinite}@keyframes game-lobby-spin{to{transform:rotate(360deg)}}.game-lobby__bottom-bar{display:flex;align-items:center;gap:8px;flex-shrink:0}.game-lobby__action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 24px;font-family:var(--font-family-ui);font-size:15px;font-weight:700;letter-spacing:.5px;color:var(--game-bg-dark);background:linear-gradient(135deg,var(--game-accent-gold),#ffb300);border:2px solid var(--game-accent-gold);border-radius:10px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(var(--game-accent-gold-rgb),.3);flex:1}.game-lobby__action-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--game-accent-gold-hover),var(--game-accent-gold));box-shadow:0 4px 16px rgba(var(--game-accent-gold-rgb),.5);transform:translateY(-1px)}.game-lobby__action-btn:active:not(:disabled){transform:translateY(0)}.game-lobby__action-btn:disabled{background:rgba(var(--game-border-rgb),.3);border-color:rgba(var(--game-border-rgb),.4);color:var(--game-text-muted);cursor:not-allowed;box-shadow:none}@keyframes game-lobby-pulse{0%{box-shadow:0 2px 8px rgba(var(--game-accent-gold-rgb),.3)}50%{box-shadow:0 2px 20px rgba(var(--game-accent-gold-rgb),.6)}to{box-shadow:0 2px 8px rgba(var(--game-accent-gold-rgb),.3)}}.game-lobby__action-btn--pulse{animation:game-lobby-pulse .6s ease}.game-lobby__players-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:4px 0;color:var(--game-text-secondary);font-family:var(--font-family-ui);font-size:12px}.game-lobby__players-label{margin-right:4px;font-weight:600;white-space:nowrap}.game-lobby__player-chip{display:inline-flex;align-items:center;gap:3px;padding:3px 8px;background:rgba(var(--game-border-rgb),.2);border:1px solid rgba(var(--game-border-rgb),.3);border-radius:12px;font-size:11px;color:var(--game-text-secondary);white-space:nowrap;transition:all .2s ease}.game-lobby__player-chip--ready{background:#4ade8026;border-color:#4ade8066;color:#4ade80}.game-lobby__host-badge{font-size:9px;font-weight:700;letter-spacing:.5px;color:var(--game-accent-gold);background:rgba(var(--game-accent-gold-rgb),.15);padding:1px 4px;border-radius:4px;margin-left:2px}.game-lobby__hint{font-family:var(--font-family-ui);font-size:11px;color:var(--game-text-muted);text-align:center;margin:0;flex-shrink:0}.game-lobby__extra-below{flex-shrink:0}.game-lobby__right-sidebar{display:flex;flex-direction:column;flex-shrink:0;min-height:0;align-self:stretch}.game-lobby__right-sidebar [class$=-persistent-leaderboard]{max-height:100%;flex:1;min-height:0}.game-lobby__right-sidebar [class$=-persistent-leaderboard__list]{flex:1;min-height:60px;max-height:none}.game-lobby__selector [class$=-set-selection__header]{padding:8px 10px 4px}.game-lobby__selector [class$=-set-selection__header] h4{font-size:14px;margin:0 0 2px}.game-lobby__selector [class$=-set-selection__header] p{font-size:12px;margin:0 0 4px;opacity:.7}.game-lobby__selector [class$=-set-selection]{display:flex;flex-direction:column;height:100%;min-height:0}.game-lobby__selector [class$=-set-list--nested]{flex:1!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}@media (max-height: 768px){.game-lobby__character-canvas{width:60px;height:120px}.game-lobby__action-btn{padding:8px 16px;font-size:13px}}@media (max-height: 600px){.game-lobby__character-canvas{width:48px;height:96px}}@media (max-width: 480px){.game-lobby__main-layout{flex-direction:column}.game-lobby__character-sidebar{flex-direction:row;gap:12px;padding-top:0}.game-lobby__character-canvas{width:48px;height:96px}.game-lobby__action-btn{flex:1}.game-lobby__right-sidebar{max-height:160px;overflow-y:auto}}.game-lobby__slot:empty{display:none}.game-lobby__slot--above,.game-lobby__slot--below{width:100%}.game-lobby__slot--belowPreview{width:100%;margin-top:8px}.game-lobby__slot--aboveSelector{margin-bottom:10px}.game-lobby__slot--belowSelector{margin-top:10px}.game-lobby__slot--actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.game-lobby__slot--right{display:flex;flex-direction:column;gap:10px;min-width:0}:where(.cozy-question){display:flex;flex-direction:column;gap:12px}.cozy-question,.cozy-question__prompt,.cozy-question__term,.cozy-question__choices,.cozy-question__choice,.cozy-question__choice-text{min-width:0;max-width:100%;box-sizing:border-box}:where(.cozy-question__prompt){text-align:center}:where(.cozy-question__prompt--default){color:#fff;padding:12px;border-radius:10px;background:rgba(var(--game-border-rgb, 107, 74, 163),.3)}:where(.cozy-question__label--default){margin-bottom:6px;font-size:.78rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;opacity:.85}.cozy-question__term>p{margin:.45em 0}.cozy-question__term>:first-child{margin-top:0}.cozy-question__term>p:last-of-type{margin-bottom:0}.cozy-question__term .cozy-code{margin:.55em 0;grid-column:1 / -1}.cozy-question--has-code .cozy-question__term{font-size:clamp(1rem,2.4vmin,1.3rem);line-height:1.3}.cozy-question--modal.cozy-question--has-code .cozy-question__prompt{padding:14px 16px}.cozy-question--modal .cozy-question__term .cozy-code{--cozy-code-max-height: 34dvh}@media (min-width: 900px){.cozy-question--modal.cozy-question--has-code .cozy-question__choices{grid-template-columns:repeat(2,minmax(0,1fr))}}:where(.cozy-question__choices){display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.cozy-question__choice--code{grid-column:1 / -1}.cozy-question__choice--code .cozy-code{--cozy-code-max-height: min(19em, 34dvh)}:where(.cozy-question__choice--default){padding:10px 12px;border:2px solid transparent;border-radius:8px;background:linear-gradient(135deg,var(--game-border, #6b4aa3) 0%,#4a2c7a 100%);color:#fff;font:inherit;font-size:.9rem;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease}:where(.cozy-question__choice--default:hover:not(:disabled)){border-color:var(--game-accent-gold, #ffd700);transform:translateY(-1px)}:where(.cozy-question__choice--default:focus-visible){outline:2px solid var(--game-accent-gold, #ffd700);outline-offset:2px}:where(.cozy-question__choice--default.cozy-question__choice--disabled){cursor:default;opacity:.6}:where(.cozy-question__choice--default.cozy-question__choice--selected){border-color:var(--game-accent-gold, #ffd700);opacity:1}.cozy-question__choice--lettered{display:flex;align-items:flex-start;gap:10px}.cozy-question__choice--lettered .cozy-question__choice-text{flex:1 1 auto}:where(.cozy-question__choice-letter--default){flex-shrink:0;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:var(--game-border, #6b4aa3);color:#fff;font-family:var(--font-family-title, "Bungee", sans-serif);font-size:14px}.cozy-question__choice-text{display:block}.cozy-question__choice-text>p:only-child{margin:0}.cozy-question__result{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;border:2px solid;border-radius:10px;color:#fff;text-align:center;animation:cozy-question-pop .3s ease-out}.cozy-question__result--correct{border-color:#4ade80;background:#4ade8033}.cozy-question__result--wrong{border-color:#ff6b6b;background:#ff6b6b33}.cozy-question__result-icon .icon{display:inline-flex}.cozy-question__result--correct .cozy-question__result-icon{color:#4ade80}.cozy-question__result--wrong .cozy-question__result-icon{color:#ff6b6b}.cozy-question__result-message{font-family:var(--font-family-ui, "DM Sans", sans-serif);font-size:1rem;font-weight:700}.cozy-question__result-answer{width:100%;font-size:.85rem;color:var(--game-text-secondary, #c9a0dc)}@keyframes cozy-question-pop{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@media (prefers-reduced-motion: reduce){.cozy-question__result{animation:none}:where(.cozy-question__choice--default){transition:none}}[data-question-has-code]{width:min(460px,44vw)!important;max-width:min(460px,44vw)!important}.cozy-question--docked .cozy-code{--cozy-code-font-size: clamp(.74rem, 1.7vmin, .92rem);--cozy-code-max-height: 38dvh}@media (max-width: 600px){[data-question-has-code]{width:100%!important;max-width:100%!important;max-height:60dvh!important}}
