.gz-toolbar,.gz-tabs,.gz-address-actions,.gz-form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.gz-toolbar{justify-content:space-between;margin-bottom:10px}.gz-button{border:1px solid #bfd1c6;background:white;border-radius:8px;padding:9px 13px;font:inherit;font-size:12px;font-weight:600;color:#183137;cursor:pointer}.gz-button:hover{background:#edf6ed}.gz-button.selected,.gz-button.primary{background:#102b32;color:#bcf5ce;border-color:#102b32}.gz-button.subtle{background:transparent}.gz-games{display:grid;gap:18px}.gz-game{padding:20px;border:1px solid #ccdad2;border-radius:12px;background:white}.gz-game-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.gz-game h3{font-size:20px;margin:0 0 6px;letter-spacing:-.4px}.gz-game-heading span{font-size:11px;color:#65777a}.gz-notes{white-space:pre-wrap;font-size:13px;color:#526a60;line-height:1.6}.gz-game details{margin-top:14px}.gz-game summary{font-size:12px;cursor:pointer;font-weight:600;padding:7px 0}.gz-warning{padding:12px;border:1px solid #e1c781;background:#fff8e7;border-radius:8px;font-size:12px}.gz-empty{padding:32px;text-align:center;color:#65777a}#gz-message{font-size:13px;color:#176c59;margin:12px 0;min-height:18px}.gz-history li{font:11px monospace;margin:5px 0}.gz-dialog{max-width:650px;width:calc(100% - 32px);padding:25px;border:1px solid #c9d9cf;border-radius:16px;color:#183137}.gz-dialog::backdrop{background:#102b3299}.gz-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.gz-modal-head h2{font-size:22px}.gz-dialog p{font-size:13px;line-height:1.6}.gz-dialog label{display:block;font-size:12px;font-weight:600;margin:18px 0 7px}.gz-dialog input,.gz-dialog textarea,.gz-dialog select{font:inherit;width:100%;padding:10px;border:1px solid #b9cec0;border-radius:8px;box-sizing:border-box}.gz-form-actions{margin-top:18px}.gz-admin-list{margin-top:18px;display:grid;gap:8px}.gz-admin-list>div{display:flex;justify-content:space-between;align-items:center;border:1px solid #dfe5df;padding:12px;border-radius:8px}.gz-admin-list small{display:block;color:#65777a;margin-top:4px}#gz-form-message{color:#963a27}.current-game{background:#f0f5ef}.current-game-nav{flex-wrap:wrap}.gz-game .current-player .current-link{padding:5px;border:0;font-size:11px}@media(max-width:650px){.gz-game{padding:14px}.current-heading{align-items:flex-start}.current-heading h2{font-size:22px}.gz-game h3{font-size:18px}.gz-toolbar{align-items:flex-start}}

.gz-heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:650px){.current-heading{flex-direction:column}.gz-heading-actions{justify-content:flex-start}}

.gz-players{margin-top:20px}.gz-players h4{font-size:14px;margin-bottom:6px}.gz-dot{display:inline-block;width:9px;height:9px;flex:none;border-radius:50%;background:#909b99}.gz-dot.online{background:#1b9b59;box-shadow:0 0 0 3px #1b9b5915}.gz-presence{display:flex;align-items:center;gap:7px;margin-top:5px}.gz-log{white-space:pre-wrap;overflow-wrap:anywhere;background:#102b32;color:#d7f1df;padding:14px;border-radius:8px;max-height:60vh;overflow:auto;font:11px/1.6 monospace}.gz-game .current-player-text small{display:block;margin-top:3px}

.gz-game .gz-log-button{font:inherit;font-size:11px;font-weight:600;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;background:#f3e9cf;border:1px solid #d5c391;color:#594417;cursor:pointer}.gz-game .gz-log-button:hover{background:#eaddb8}.gz-log-button span{display:block;font:inherit;margin-top:4px}.gz-game .current-player.gz-player-finished{background:#e5f5e8;border-color:#8bc69a}.gz-finished{color:#21613a;font-weight:600}
.gz-source-options{display:grid;gap:.8rem}.gz-source-options button{display:grid;gap:.35rem;text-align:left;white-space:normal;padding:1rem}.gz-source-options small{font-weight:normal;line-height:1.5}
.gz-dialog:has(.roomstudio){width:min(730px,calc(100% - 24px));max-width:730px;max-height:90dvh;padding:clamp(16px,3vw,30px);overflow:auto}
.roomstudio{--ink:#193939;--teal:#006b60;--line:#bfd4ca;--mint:#e8f4eb;color:var(--ink)}
.roomstudio svg{width:22px;height:22px;flex:none}
.gz-dialog .studio-kicker{display:block;font:700 10px/1.4 system-ui;letter-spacing:.16em;color:#42716b;margin:.5rem 0}
.gz-dialog .studio-lead{font-size:17px;margin:0 0 16px}
.studio-feature,.studio-import{display:flex;align-items:center;width:100%;gap:16px;text-align:left;font:inherit;cursor:pointer;border-radius:14px;padding:20px}
.studio-feature{color:#f4fff9;background:linear-gradient(120deg,#064e48,#08765f);border:1px solid #035d52;min-height:146px;box-shadow:0 5px 15px #073f301a}
.studio-feature:hover{background:linear-gradient(120deg,#064e48,#098269)}
.studio-feature strong,.studio-import strong,.studio-feature small,.studio-import small{display:block}
.studio-feature strong{font-size:clamp(23px,4vw,29px);letter-spacing:-.035em;line-height:1.16}
.studio-feature small{max-width:35ch;color:#d4f3e2;margin-top:7px;line-height:1.5;font-size:14px}
.studio-glyph,.drop-icon,.mod-icon{display:grid;place-items:center;flex:none;border-radius:12px}
.studio-glyph{width:52px;height:52px;background:#ffffff18;color:#abf1cb}
.studio-glyph svg{width:30px;height:30px}.studio-arrow,.studio-import>svg:last-child{margin-left:auto}
.studio-import{background:#f4f8f5;border:1px solid var(--line);color:var(--ink);margin-top:12px;padding:16px 20px}
.studio-import small{font-size:12px;color:#48635f;margin-top:4px}.studio-import:hover{border-color:var(--teal)}
.gz-dialog .studio-intro p{margin:4px 0 12px}.studio-body>input{margin-bottom:14px}
.studio-drop{padding:20px 14px;display:grid;justify-items:center;gap:5px;text-align:center;border:2px dashed #71a69a;border-radius:14px;background:#f1f8f3}
.studio-drop.over{border-style:solid;border-color:#00705c;background:#d8f4e3;box-shadow:inset 0 0 0 2px #00705c}
.studio-drop strong{font-size:19px}.studio-drop span:not(.drop-icon),.studio-quiet,.row-copy small{color:#47625b;font-size:12px}
.drop-icon{width:38px;height:38px;background:#d8ede1;color:#176850}.studio-drop .gz-button{margin-top:5px}
.studio-drop input[hidden]{display:none!important}.studio-section{padding:14px 0;border-top:1px solid var(--line)}
.studio-section h3{margin:0;font-size:17px}.studio-section h3 span{font-size:11px;background:#e0eee5;padding:3px 8px;border-radius:16px;margin-left:5px}
.gz-dialog .studio-quiet{margin:3px 0 9px}.studio-empty{padding:12px;border:1px solid #d1dfd7;border-radius:8px;color:#546660;font-size:13px}
.studio-row,.studio-missing{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border-bottom:1px solid #d8e2db;padding:9px 0}
.slot-number,.mod-icon{background:var(--mint);color:#176750;border-radius:7px;padding:6px 8px;font:700 12px system-ui}
.row-copy{flex:1;min-width:115px;overflow-wrap:anywhere}.row-copy strong,.row-copy small{display:block}
.studio-pill{border-radius:12px;background:#deefe3;color:#235e39;font:600 11px/1.4 system-ui;padding:3px 7px}.studio-pill.warn{background:#fff0cb;color:#794600}
.remove-file{font:22px/1 system-ui;color:#566e64;background:none;border:0;cursor:pointer;padding:6px}
.studio-request,.studio-footer{display:flex;align-items:center;gap:8px}.studio-request input{min-width:0;flex:1}.studio-footer{justify-content:space-between;padding:12px 0 0}
.studio-body details{margin:12px 0 0}.studio-body summary{cursor:pointer;font-size:13px;font-weight:650}.review-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.gz-dialog #room-notice{min-height:1em;margin:5px 0;color:#286653}.gz-dialog #room-notice.studio-error{color:#972c31}
.roomstudio button:focus-visible,.roomstudio summary:focus-visible{outline:3px solid #e5a329;outline-offset:2px}
@media(max-width:480px){.studio-feature,.studio-import{gap:10px;padding:15px}.studio-glyph{width:38px;height:38px}.studio-arrow{display:none}.studio-footer{flex-wrap:wrap}.studio-footer .primary{flex:1}.studio-row .row-copy{min-width:95px}}
:root .gz-dialog .roomstudio{--ink:#f2f1fa;--teal:#b8aaff;--line:#414250;--mint:#353247;color:var(--ink)}
:root .gz-dialog .roomstudio .studio-feature{background:linear-gradient(112deg,#514381 0%,#413761 68%,#303148 100%);border-color:#8377b4;color:#fff;box-shadow:0 6px 18px #100e231f}
:root .gz-dialog .roomstudio .studio-feature:hover{border-color:#c2b6ff;background:linear-gradient(112deg,#5b4c92,#38364f)}
:root .roomstudio .studio-feature small{color:#e0dceb}.studio-glyph{background:#b9a5fc24;color:#e6ddff}
:root .gz-dialog .roomstudio .studio-import{background:#292a34;color:#eeeef6;border-color:#4d4e5b}
:root .roomstudio .studio-import small,:root .roomstudio .row-copy small,:root .roomstudio .studio-quiet,:root .roomstudio .studio-empty,:root .roomstudio .studio-intro p{color:#c0c1ce}
:root .gz-dialog .roomstudio .studio-kicker{color:#c3b7ff}
:root .gz-dialog .roomstudio .studio-label{color:#dedde9}
:root .roomstudio .studio-drop{background:#2b293a;border-color:#8f82bb}
:root .roomstudio .studio-drop.over{background:#3b3452;border-color:#d1c4ff;box-shadow:inset 0 0 0 2px #bdaaff}
:root .roomstudio .studio-drop>span:not(.drop-icon){color:#c8c6d8}
:root .roomstudio .drop-icon,:root .roomstudio .slot-number,:root .roomstudio .mod-icon,:root .roomstudio .studio-section h3 span{background:#433b5d;color:#e5dcff}
:root .roomstudio .studio-empty,:root .roomstudio .studio-row,:root .roomstudio .studio-missing{border-color:#474854}
:root .roomstudio .studio-pill{background:#233e37;color:#abebcc}:root .roomstudio .studio-pill.warn{background:#473c2c;color:#ffe1a5}
:root .gz-dialog #room-notice{color:#a9e7c5}:root .gz-dialog #room-notice.studio-error{color:#ffb8b5}
:root .roomstudio .studio-footer{position:sticky;bottom:-1px;background:#25262f;border-top:1px solid #42434e;padding-bottom:5px;z-index:1}
:root .roomstudio .remove-file{color:#e8e5f0}
:root .gz-dialog .studio-help{font-size:12px;color:#d8cffa;margin:10px 0 0}.studio-body #room-name{font-weight:600}

.gz-start-help{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:22px 0;padding:20px;border:1px solid #555069;border-radius:16px;background:#242332}.gz-start-help span{flex:1;min-width:220px;color:#d0ccdf}.gz-start-help a{color:#c9baff;font-weight:650}.gz-game:focus-within{outline:2px solid #b9a4ff;outline-offset:3px}
