/* Six-screen reference pass. Gameplay controls and narrow editor behavior stay intact. */
.stage-theme .lobby-duration label { display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 36px;align-items:center;gap:4px;font-size:12px;min-width:0; }
.stage-theme .lobby-duration :is(input,select) { grid-column:1;grid-row:2;width:100%;min-width:0;height:36px;min-height:36px;padding:3px 5px;font-size:16px;background:#fffaf1;border:1px solid #937c62;border-radius:3px; }
.stage-theme .lobby-duration select { grid-column:1/-1; }
.stage-theme .lobby-duration output { grid-column:1;grid-row:2;display:flex;align-items:center;justify-content:flex-end;min-height:36px;font-size:16px; }
.stage-theme .lobby-duration label>.lobby-duration-caption { display:block;grid-column:1/-1;grid-row:1;line-height:1.3; }
.stage-theme .lobby-duration label>.lobby-duration-unit { grid-column:2;grid-row:2;font-size:11px; }
.stage-theme .results-ranking-list { justify-content:center;grid-template-columns:repeat(4,minmax(0,290px)); }
.stage-theme .results-ranking-list:not(:has(>:nth-child(3))) { grid-template-columns:repeat(2,minmax(0,290px)); }
.stage-theme .results-ranking-list:has(>:nth-child(3)):not(:has(>:nth-child(4))) { grid-template-columns:repeat(3,minmax(0,290px)); }
.stage-theme .result-rank-number,.stage-theme .result-rank-row.is-first .result-rank-number { font-size:18px;height:40px;width:76px;align-items:center;gap:4px;line-height:1;background:url('/stage/title-name-paper.webp') center/100% 100% no-repeat; }
.stage-theme .result-rank-number small { margin:0;line-height:1; }
.stage-theme .result-rank-row.is-first .result-rank-number { color:#934321;font-weight:900; }
.stage-theme .result-score-breakdown { max-width:100%;font-size:11px;gap:2px 8px;opacity:.85; }
.stage-theme .result-score-breakdown small { font-size:11px; }
@media(min-width:901px) {
 /* Follow the floor boundary without moving the podiums or changing row spacing. */
 .stage-theme .results-ranking-list:not(:has(>:nth-child(5))) { overflow:visible; }
 .stage-theme .results-ranking-list:not(:has(>:nth-child(5))) .result-score-breakdown { position:relative;top:clamp(16px,calc(18dvh - 96px),100px); }
}
@media(max-width:700px) {
 .stage-theme .answer-player-list { grid-template-rows:none;grid-auto-rows:minmax(80px,max-content);align-items:start;align-content:start;padding-top:8px; }
 .stage-theme .results-ranking-list,.stage-theme .results-ranking-list:has(>:nth-child(3)):not(:has(>:nth-child(4))) { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.stage-theme .lobby-stage-header { display:grid;grid-template-columns:minmax(140px,1fr) minmax(260px,350px) minmax(240px,1fr);gap:24px;align-items:start; }
.stage-theme .lobby-stage-header #screenBack { width:140px;grid-area:auto;display:flex;align-items:center;justify-content:center;gap:8px; }
.stage-theme .lobby-stage-header .lobby-code-label { text-align:center; }
.stage-theme .lobby-stage-header .lobby-code-characters { justify-content:center; }
.stage-theme .lobby-stage-header .lobby-settings-sheet { justify-self:end;width:280px;max-width:100%;padding:36px 24px;gap:10px; }
.stage-theme .lobby-stage-header .lobby-duration { display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(0,1fr);width:100%;gap:12px;font-size:11px; }
.stage-theme .lobby-stage-header .lobby-room-options { width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px; }
.stage-theme .lobby-stage-header .lobby-room-options select,.stage-theme .lobby-stage-header .lobby-visibility-toggle { height:36px;min-height:36px;margin:0;padding:4px 8px;line-height:1.3; }
.stage-theme .lobby-stage-header .lobby-room-options label { min-height:36px; }
.stage-theme .lobby-stage-header .lobby-duration span { flex-direction:column;gap:2px; }
.stage-theme .lobby-player-title { margin-bottom:18px; }
.stage-theme .lobby-player-list { justify-content:center;grid-template-columns:repeat(4,minmax(0,270px)); }
.stage-theme .lobby-player-list:not(:has(>:nth-child(3))) { grid-template-columns:repeat(2,minmax(0,270px)); }
.stage-theme .lobby-player-list:has(>:nth-child(3)):not(:has(>:nth-child(4))) { grid-template-columns:repeat(3,minmax(0,270px)); }
.stage-theme .lobby-avatar { position:relative; }
.stage-theme .lobby-avatar::before { content:'';position:absolute;left:15%;right:15%;height:24px;bottom:0;background:url('/stage/podium.webp') center/100% 100% no-repeat;opacity:.55; }
.stage-theme .lobby-avatar img { position:relative;object-position:center bottom; }
.stage-theme .lobby-reference-screen .lobby-stage-footer { grid-template-columns:minmax(0,300px);grid-template-areas:'start' 'tip';justify-content:center;margin-top:0; }
@media(max-width:900px) {
 .stage-theme .lobby-stage-header { grid-template-columns:100px minmax(0,1fr);gap:10px; }
 .stage-theme .lobby-stage-header #screenBack { width:100px; }
 .stage-theme .lobby-stage-header .lobby-code-sign { justify-self:center; }
 .stage-theme .lobby-stage-header .lobby-settings-sheet { grid-column:1/-1;justify-self:center;align-items:center; }
 .stage-theme .lobby-stage-header .lobby-duration span { flex-direction:row; }
}
@media(max-width:700px) {
 .stage-theme .lobby-stage-header { grid-template-columns:80px minmax(0,1fr);gap:6px; }
 .stage-theme .lobby-stage-header #screenBack { width:80px;padding:8px;min-height:44px; }
 .stage-theme .lobby-stage-header .lobby-code-sign { width:100%;padding:8px 18px;grid-template-columns:1fr 30px; }
 .stage-theme .lobby-stage-header .lobby-code-characters { gap:4px; }
 .stage-theme .lobby-stage-header .lobby-code-char { font-size:22px; }
 .stage-theme .lobby-player-list,.stage-theme .lobby-player-list:has(>:nth-child(3)):not(:has(>:nth-child(4))) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .stage-theme .lobby-avatar::before { height:12px; }
 .stage-theme .lobby-player-title { margin-bottom:6px; }
 .stage-theme .lobby-reference-screen .lobby-stage-footer { grid-template-columns:minmax(0,250px); }
}
.stage-theme .builder-color-details summary,.stage-theme .builder-dimension-details summary { cursor:pointer;font-size:12px;font-weight:700;padding:10px 2px;min-height:40px; }
.stage-theme .builder-color-details[open] summary { margin-bottom:8px; }
.stage-theme .builder-dimension-details:not([open])>.viewport-slider { display:none!important; }
.stage-theme details>summary:focus-visible,.stage-theme .gallery-feature button:focus-visible { outline:3px solid #247a8c;outline-offset:3px; }
.stage-theme .crafting-screen .instruction-panel { display:block;position:relative;overflow:visible;min-height:0;padding:0;background:none;border:0;box-shadow:none;align-self:center;justify-self:center; }
.stage-theme .instruction-panel summary { display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;min-height:44px;padding:8px 16px;background:#fff6e5;border:1px solid #937c62;border-radius:5px; }
.stage-theme .instruction-panel summary svg { width:18px;height:18px; }
.stage-theme .instruction-panel>span { position:absolute;z-index:90;bottom:54px;left:50%;transform:translateX(-50%);width: min(440px,85vw);padding:16px;background:#fff6e5 url('/stage/paper-grain.webp');border:1px solid #937c62;border-radius:5px;font-size:13px;line-height:1.8; }
.stage-theme .instruction-panel:not([open])>span { display:none; }
.stage-theme .sculpt-lab-settings button { display:inline-flex;justify-content:center;align-items:center;height:36px;min-width:32px;padding:4px 8px;border:1px solid #937c62;border-radius:5px;background:#fff8ed;color:#392e29;box-shadow:none;font-size:13px; }
.stage-theme .sculpt-lab-settings button[aria-pressed=true] { background:#f58043; }
.stage-theme .sculpt-lab-settings button:disabled { opacity:.4; }
.stage-theme .sculpt-lab-settings button:focus-visible { outline:3px solid #247a8c;outline-offset:2px; }
.stage-theme .app-shell:has(.gallery-screen) { max-width:1500px;padding:18px 4%; }
.stage-theme .gallery-screen { padding:0;min-height:calc(100dvh - 36px);height:auto;grid-template-rows:88px minmax(420px,1fr) 64px;gap:20px; }
.stage-theme .gallery-header { min-height:0;grid-template-columns:130px minmax(0,1fr) 160px;gap:16px; }
.stage-theme .gallery-logo-image { width:125px;height:64px; }
.stage-theme .gallery-logo { width:100%;max-width:100%; }
.stage-theme .gallery-heading { min-width:0;padding:0;background:none!important;box-shadow:none;border:0; }
.stage-theme .gallery-heading strong { font-size:36px;line-height:1.25;white-space:normal;overflow-wrap:anywhere; }
.stage-theme .gallery-sort-control { min-width:0;padding:10px;font-size:12px;background:#fff6e5 url('/stage/paper-grain.webp'); }
.stage-theme .gallery-display { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr);gap:32px;align-items:start; }
.stage-theme .gallery-feature { display:flex;flex-direction:column;min-width:0;gap:16px; }
.stage-theme .gallery-feature[hidden] { display:none; }
.stage-theme .gallery-display:has(.gallery-feature[hidden]) { grid-template-columns:1fr; }
.stage-theme .gallery-feature-print,.stage-theme .gallery-card { background:#fff5e5 url('/stage/paper-grain.webp');border:1px solid #c6b9a4;border-radius:3px;box-shadow:2px 4px 2px #594b3038; }
.stage-theme .gallery-feature-print { padding:16px 16px 20px; }
.stage-theme .gallery-feature-image { height:clamp(260px,42dvh,430px);background:#f1eee5; }
.stage-theme .gallery-feature-image :is(img,canvas) { width:100%;height:100%;object-fit:contain;display:block; }
.stage-theme .gallery-feature-title { display:block;font-size:22px;line-height:1.3;margin:12px 0 8px;overflow-wrap:anywhere; }
.stage-theme .gallery-feature-image { position:relative; }
.stage-theme .gallery-feature-title-row { display:flex;align-items:center;gap:8px;justify-content:space-between; }
.stage-theme .gallery-feature-title-row strong { min-width:0; }
.stage-theme [data-feature-rename] { flex-shrink:0;min-height:44px;padding:6px 8px;background:#fff8ed;border:1px solid #937c62;border-radius:4px;font-size:11px;color:#392e29; }
.stage-theme .gallery-feature-image .gallery-favorite-button { position:absolute;top:8px;right:8px;width:44px;height:44px;font-size:24px; }
.stage-theme [data-feature-rename-form] { display:grid;grid-template-columns:1fr auto auto;gap:6px;margin:8px 0; }
.stage-theme [data-feature-rename-form][hidden] { display:none; }
.stage-theme [data-feature-title] { min-width:0;width:100%;height:44px;padding:6px 10px;border:1px solid #937c62;background:#fffaf1;font-size:16px; }
.stage-theme [data-feature-rename-form] button { min-width:44px;min-height:44px;padding:6px 10px;border:1px solid #937c62;border-radius:4px;background:#fff8ed;color:#392e29;font-size:12px; }
.stage-theme [data-feature-delete] { color:#a43524!important; }
.stage-theme .gallery-feature time { font-size:12px; }
.stage-theme .gallery-feature-actions { display:flex;flex-wrap:wrap;gap:8px; }
.stage-theme .gallery-feature-actions button { display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 12px;color:#392e29;font-size:12px;border:1px solid #76604a;border-radius:5px;background:#fff6e5 url('/stage/paper-grain.webp');box-shadow:0 3px 0 #624e3733; }
.stage-theme .gallery-feature-actions svg { width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.stage-theme :is(.gallery-feature-print,.gallery-card,.work-preview-reference-card,.work-info-reference-card) { background-blend-mode:multiply; }
.stage-theme .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:18px;align-content:start; }
.stage-theme .gallery-card { grid-template-rows:minmax(0,1fr) auto;padding:7px;overflow:visible; }
.stage-theme .gallery-card-thumbnail { aspect-ratio:1;margin:0;border-radius:1px;background:#f1eee5; }
.stage-theme .gallery-card.is-selected { outline:3px solid #bb713a;outline-offset:3px; }
.stage-theme .gallery-card:focus-visible { outline:3px solid #245f6a;outline-offset:3px; }
.stage-theme .gallery-card-meta { padding:8px 0 2px;gap:4px;min-width:0; }
.stage-theme .gallery-card-meta>div { display:block;min-width:0;text-align:center; }
.stage-theme .gallery-card-meta strong { font-size:13px;white-space:normal;overflow-wrap:anywhere;line-height:1.3; }
.stage-theme .gallery-card-meta :is(small,time) { display:none; }
.stage-theme .gallery-favorite-button { width:30px;height:30px;top:5px;right:5px;border:0;border-radius:4px;background:#fff9ed!important;box-shadow:0 2px 3px #594b3020;font-size:20px; }
.stage-theme .gallery-favorite-button.is-favorite { color:#d95c35; }
.stage-theme .gallery-footer { min-height:0;grid-template-columns:130px 1fr 180px;gap:16px;align-items:center; }
.stage-theme .gallery-back-button { min-height:48px;padding:8px 16px;background:url('/stage/title-button-cream.webp') center/100% 100% no-repeat!important;border:0;box-shadow:none;font-size:15px; }
.stage-theme .gallery-pagination button { width:36px;height:36px;min-height:36px;border-width:1px;border-radius:4px; }
.stage-theme .gallery-count { font-size:12px; }
.stage-theme .work-detail-reference-main { gap:24px; }
.stage-theme .work-preview-reference-card { background:#fff5e5 url('/stage/paper-grain.webp');padding:16px;border:1px solid #c6b9a4;border-radius:3px;box-shadow:2px 4px 2px #594b3038; }
.stage-theme .work-info-reference-card { background:url('/stage/paper-grain.webp') #fff5e5;border:0;border-radius:3px;box-shadow:2px 4px 2px #594b3038; }
.stage-theme .work-detail-side .reference-action-button { color:#392e29;background:#fff6e5 url('/stage/paper-grain.webp')!important;background-blend-mode:multiply;box-shadow:0 3px 0 #594b3038;border:1px solid #937c62;border-radius:5px;min-height:46px;padding:12px 18px;font-size:14px; }
.stage-theme .work-detail-side #favoriteWork.reference-action-orange { background-image:url('/stage/title-button-orange.webp')!important; }
.stage-theme .work-detail-side #deleteWork { color:#a43524; }
.stage-theme .results-screen-header .match-phase-heading { background:none!important;box-shadow:none; }
.stage-theme .results-screen-header .match-phase-heading strong { font-size:42px; }
.stage-theme .lobby-settings-sheet { padding:14px 22px;background:url('/stage/title-name-paper.webp') center/100% 100% no-repeat; }
.stage-theme :is(.crafting-screen .speech-bubble,.crafting-screen .craft-badge) { background:url('/stage/title-button-orange.webp') center/100% 100% no-repeat!important;border:0;border-radius:0;box-shadow:none;color:#302824; }
.stage-theme .crafting-screen .speech-bubble { padding:16px 30px;background:#f58043 url('/stage/clay-grain.webp')!important;background-blend-mode:multiply;border-radius:6px;box-shadow:0 3px 0 #70452e40; }
.stage-theme .crafting-screen .prompt-chip { background:none;color:#302824;padding:0 12px 0 0; }
.stage-theme .crafting-screen .craft-badge { padding:12px 18px; }
.stage-theme .match-answer-screen .answer-player-avatar { height:64px!important;width:64px!important;top:-30px!important; }
.stage-theme .answer-submit-form { background:#fff5e5 url('/stage/paper-grain.webp');padding:10px;border:1px solid #a79075;border-radius:5px;gap:10px; }
.stage-theme .answer-submit-form input { box-shadow:none;border:1px solid #d1c0a6;background:#fffaf1; }
.stage-theme .answer-submit-form button { height:68px;font-size:18px;padding:12px; }
@media(min-width:701px) {
 .stage-theme .match-answer-screen { grid-template-rows:78px minmax(0,1fr) 96px;gap:8px; }
 .stage-theme .answer-screen-header { grid-template-columns:120px minmax(0,1fr) 130px; }
 .stage-theme .answer-screen-header .match-phase-heading { height:76px;padding:12px 25px; }
 .stage-theme .answer-screen-header .match-phase-heading strong { font-size:22px; }
 .stage-theme .answer-time-box { height:76px;width:130px;padding:8px 10px 16px; }
 .stage-theme .answer-workspace { display:grid;grid-template-rows:126px minmax(0,1fr);gap:0; }
 .stage-theme .answer-work-area { grid-area:2/1;margin:0 16%;min-height:0; }
 .stage-theme .answer-status-heading { position:absolute;top:0;left:0;width:100%;justify-content:center;opacity:.8; }
 .stage-theme .answer-player-list { grid-area:1/1;position:static;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;grid-template-rows:1fr;margin:20px 0 0;padding:0 5%;gap:12px;overflow:visible; }
 .stage-theme .match-answer-screen .answer-player-entry,
 .stage-theme .match-answer-screen.is-reveal .answer-player-entry { display:flex;flex-direction:column;align-items:center;justify-content:start; }
 .stage-theme .match-answer-screen .answer-player-entry .answer-player-avatar { position:static;width:66px!important;height:54px!important; }
 .stage-theme .answer-player-entry .answer-player-content { width:100%; }
 .stage-theme .answer-player-entry .answer-player-name { display:block;text-align:center;font-size:13px;min-height:18px;line-height:1.2;margin:0; }
 .stage-theme .answer-bubble { min-height:24px;padding:3px;background:none; }
 .stage-theme .answer-player-entry .answer-player-status { font-size:11px; }
 .stage-theme .match-answer-screen.is-reveal .answer-workspace { grid-template-rows:180px minmax(0,1fr); }
 .stage-theme .match-answer-screen.is-reveal .answer-bubble { background:url('/stage/answer-paper.webp') center/100% 100% no-repeat;min-height:65px;padding:12px 14px 17px; }
 .stage-theme .answer-player-entry .answer-player-answer { font-size:16px!important; }
 .stage-theme .answer-player-entry .answer-player-result { font-size:11px; }
}
@media(min-width:1041px) and (orientation:landscape),(min-width:1367px) {
 .stage-theme .crafting-screen .main-workspace { grid-template-columns:110px minmax(0,1fr) 180px;gap:12px; }
 .stage-theme .crafting-screen .workspace-toolbar { background:#fff6e5 url('/stage/paper-grain.webp');padding:10px;border:1px solid #ad967e;border-radius:5px; }
 .stage-theme .crafting-screen .command-toolbar .palette-swatches { grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0; }
 .stage-theme .crafting-screen .palette-swatches button { width:100%;min-width:0;height:26px;min-height:26px;padding:0; }
 .stage-theme .crafting-screen .sculpt-lab-tools { background:none;border:0;box-shadow:none;top:auto;bottom:4px;left:50%;transform:translateX(-50%);width:100%;max-width:590px;padding:0;gap:5px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr)); }
 .stage-theme .sculpt-lab-divider { display:none; }
 .stage-theme .has-sculpt-lab #clayCanvas { top:0;height:calc(100% - 58px); }
 .stage-theme .crafting-screen .sculpt-lab-tools button { background:#fff8ea url('/stage/paper-grain.webp');min-width:64px;padding:8px; }
 .stage-theme .crafting-screen .sculpt-lab-tools button[aria-pressed=true] { background:#f58043 url('/stage/clay-grain.webp');background-blend-mode:multiply; }
 .stage-theme .crafting-screen .sculpt-lab-tools button { min-width:0;height:44px;white-space:normal;line-height:1.15; }
 .stage-theme .crafting-screen .sculpt-lab-settings { position:static;max-width:100%;margin:14px 0 0;background:none;box-shadow:none;border:0;display:flex;flex-direction:column;align-items:stretch;padding:0;gap:10px; }
 .stage-theme .sculpt-lab-settings label { min-width:0;flex:none;grid-template-columns:1fr 32px; }
 .stage-theme .sculpt-lab-settings label input { grid-area:2/1; }
 .stage-theme .sculpt-lab-settings label output { grid-area:2/2; }
 .stage-theme .sculpt-lab-settings :is(.sculpt-lab-sign,.sculpt-lab-symmetry) { justify-content:center; }
 .stage-theme .crafting-screen .builder-dimension-details { display:block;position:static;padding:0;margin:8px 0 0;background:none;border:0;box-shadow:none; }
 .stage-theme .builder-color-details { order:2; }
 .stage-theme .builder-color-details[open] { width:230px;background:#fff6e5 url('/stage/paper-grain.webp');padding:8px;position:relative;z-index:30;border:1px solid #937c62; }
 .stage-theme #builderToolbar:has(.builder-color-details[open]) { overflow:visible;position:relative;z-index:30; }
 .stage-theme .crafting-screen .color-section { display:flex;flex-direction:column;gap:8px; }
 .stage-theme .crafting-screen .command-toolbar .palette-swatches { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .stage-theme .crafting-screen .bottom-bar { grid-template-columns:160px minmax(0,1fr) 180px; }
}
@media(max-width:1040px),(max-width:1366px) and (orientation:portrait) {
 .stage-theme .has-sculpt-lab .workspace-toolbar:not(.is-mobile-open),.stage-theme .has-sculpt-lab .mobile-tools-backdrop:not(.is-open) { visibility:hidden; }
 .stage-theme .has-sculpt-lab .workspace-toolbar.is-mobile-open { visibility:visible; }
 .stage-theme .crafting-screen .bottom-bar { display:grid;grid-template-columns:1fr auto 1fr;gap:8px; }
 .stage-theme .crafting-screen .bottom-bar #submitCreation { grid-column:3;grid-row:1; }
 .stage-theme .crafting-screen .instruction-panel { display:block!important; }
 .stage-theme .instruction-panel summary { padding:5px 8px;font-size:11px; }
 .stage-theme .builder-color-details[open] { margin-bottom:8px; }
}
@media(min-width:701px) and (max-width:1000px) {
 .stage-theme .gallery-display { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px; }
 .stage-theme .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
 .stage-theme .gallery-heading strong { font-size:28px; }
 .stage-theme .gallery-feature-image { height:300px; }
 .stage-theme .answer-player-list:has(>:nth-child(5)) { grid-auto-flow:row;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr)); }
 .stage-theme .answer-workspace:has(.answer-player-entry:nth-child(5)) { grid-template-rows:230px minmax(220px,1fr); }
 .stage-theme .match-answer-screen.is-reveal .answer-workspace:has(.answer-player-entry:nth-child(5)) { grid-template-rows:310px minmax(220px,1fr); }
 .stage-theme .match-answer-screen:has(.answer-player-entry:nth-child(5)) { height:auto;min-height:calc(100dvh - 36px); }
}
@media(max-width:700px) {
 .stage-theme .app-shell:has(.gallery-screen) { padding:8px 12px; }
 .stage-theme .gallery-screen { min-height:calc(100dvh - 16px);grid-template-rows:auto 1fr auto;gap:14px; }
 .stage-theme .gallery-header { grid-template-columns:48px minmax(0,1fr) 88px;gap:8px;min-height:60px; }
 .stage-theme .gallery-logo-image { width:48px;height:44px; }
 .stage-theme .gallery-heading strong { font-size:19px;line-height:1.2; }
 .stage-theme .gallery-sort-control { width:88px;padding:8px 4px;grid-template-columns:1fr;gap:0; }
 .stage-theme .gallery-sort-control>span { display:none; }
 .stage-theme .gallery-sort-control select { font-size:11px; }
 .stage-theme .gallery-display { grid-template-columns:1fr;gap:18px; }
 .stage-theme .gallery-feature { gap:8px; }
 .stage-theme .gallery-feature-print { padding:10px 10px 12px; }
 .stage-theme .gallery-feature-image { height:210px; }
 .stage-theme .gallery-feature-title { font-size:18px;margin:8px 0 4px; }
 .stage-theme .gallery-feature-actions { gap:6px; }
 .stage-theme .gallery-feature-actions button { font-size:11px;min-height:44px;padding:7px 10px; }
 .stage-theme .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
 .stage-theme .gallery-card { padding:4px; }
 .stage-theme .gallery-card-meta strong { font-size:11px; }
 .stage-theme .gallery-favorite-button { width:44px;height:44px;font-size:18px;top:0;right:0; }
 .stage-theme .gallery-footer { grid-template-columns:90px 1fr;gap:8px; }
 .stage-theme .gallery-count { grid-column:1/-1;text-align:center;margin:0; }
 .stage-theme .gallery-back-button { min-height:40px;font-size:12px; }
 .stage-theme .gallery-pagination { justify-self:end;gap:8px; }
 .stage-theme .results-screen-header .match-phase-heading strong { font-size:24px; }
 .stage-theme .lobby-settings-sheet { padding:10px 16px; }
 .stage-theme .crafting-screen .speech-bubble { padding:12px 16px; }
 .stage-theme .match-answer-screen .answer-player-avatar { width:34px!important;height:34px!important;top:-8px!important; }
 .stage-theme .answer-submit-form { padding:5px;gap:6px; }
 .stage-theme .answer-submit-form input { height:48px; }
 .stage-theme .answer-submit-form button { height:56px;font-size:14px; }
}
