/* Matches .field-trigger's own background/border (styles.css) exactly -- this button used to
   carry its own duplicate styling with weaker tokens (--panel/--line instead of the semi-
   transparent dark + --line-strong every other lobby-settings field uses), which made it look
   lighter and less like a real, clickable control next to its siblings. */
.theme-picker-trigger{min-height:48px;width:100%;padding:11px 14px;border:1px solid var(--line-strong);border-radius:10px;background:rgba(6,10,22,.56);color:var(--text);font:inherit;font-size:16px;text-align:left;white-space:normal;cursor:pointer}
.theme-results{grid-auto-rows:max-content;flex:1 1 auto}
.theme-browser-head h2:focus{outline:none}
.theme-choice{height:max-content;min-height:max-content}
.theme-choice-head{display:flex;align-items:center;gap:10px}
.theme-search-wrap input{background:var(--ink-soft);color:var(--text);border:1px solid var(--line-strong);border-radius:10px;padding:12px}
.theme-search-wrap input:focus-visible{outline:2px solid var(--acid);outline-offset:2px}
body:has(#themeBrowser[open]){overflow:hidden}
.theme-filters{flex-wrap:wrap}
.theme-picker-trigger:hover,.theme-picker-trigger:focus-visible{border-color:var(--acid);outline:2px solid transparent}.theme-picker-trigger:disabled{opacity:.65;cursor:default}
.theme-browser{width:min(760px,calc(100vw - 24px));max-height:90dvh;padding:0;overflow:hidden}.theme-browser-shell{display:flex;flex-direction:column;max-height:90dvh;min-height:0}
.theme-browser-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px 12px}.theme-browser-head h2{font-size:1.65rem;margin:4px 0}.theme-browser-head .close-button{flex:none;min-width:48px;min-height:48px}
.theme-search-wrap{padding:0 24px 10px;border-bottom:1px solid var(--line)}.theme-search-wrap label{display:block;font-size:14px;font-weight:700;margin-bottom:6px}.theme-search-wrap input{font-size:16px;min-height:48px;width:100%;box-sizing:border-box}
.theme-filters{display:flex;gap:8px;overflow-x:auto;padding:12px 0 4px;scrollbar-width:thin}.theme-filters button{flex:none;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font:inherit;font-size:14px;cursor:pointer}.theme-filters button[aria-pressed=true]{background:var(--acid);color:#172009;border-color:var(--acid)}
.theme-results-count{font-size:13px;color:var(--muted);margin:8px 0 0}.theme-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;align-content:start}
.theme-choice{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--muted);text-align:left;font:inherit;font-size:14px;line-height:1.45;cursor:pointer;min-width:0}.theme-choice[aria-pressed=true],.theme-choice:hover{border-color:var(--acid)}.theme-choice:focus-visible{outline:2px solid var(--acid);outline-offset:2px}.theme-choice-title{display:flex;flex-wrap:wrap;gap:6px;font-size:17px;font-weight:800;color:var(--text)}.theme-choice-title small{font-size:12px;color:var(--acid)}.theme-preview-label{margin-top:auto;padding-top:10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.theme-preview{color:var(--violet-soft)}.theme-empty{grid-column:1/-1;text-align:center;padding:24px 4px}.theme-empty button{min-height:48px}
.theme-browser-footer{padding:12px 24px max(12px,env(safe-area-inset-bottom));font-size:13px;color:var(--muted);border-top:1px solid var(--line)}
@media(max-width:600px){.theme-browser{margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.theme-browser-shell{height:100dvh;max-height:100dvh}.theme-browser-head{padding:calc(16px + env(safe-area-inset-top)) 16px 10px}.theme-search-wrap{padding:0 16px 10px}.theme-results{grid-template-columns:1fr;padding:14px 16px}.theme-browser-footer{padding-left:16px;padding-right:16px}.theme-picker-trigger{max-width:100%}}
@media(max-height:560px){.theme-browser{overflow-y:auto;max-height:100dvh;height:auto}.theme-browser-shell{display:block;height:auto;max-height:none}.theme-results{overflow:visible}.theme-browser-head{padding-top:12px}.theme-browser-footer{position:static}}
