:root { color-scheme:dark; --accent:#8edb44; --ink:#f5f6f7; --muted:#bbc0c8; --surface:rgba(23,27,33,.94); --line:rgba(255,255,255,.13); --wallpaper:none; }
* { box-sizing:border-box; }
html { min-height:100%; background:#101318; }
body { margin:0; min-height:100svh; color:var(--ink); font:15px/1.5 "Segoe UI",Inter,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; } button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { color:inherit; cursor:pointer; } a { color:inherit; text-decoration:none; } button { border:0; }
button:disabled { opacity:.45; cursor:not-allowed; } .hidden { display:none!important; }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.wallpaper,.wallpaper-shade { position:fixed; inset:0; z-index:-2; pointer-events:none; }
.wallpaper { background-image:var(--wallpaper); background-size:cover; background-position:center; background-color:#101318; }
.wallpaper-shade { background:rgba(4,7,13,.34); z-index:-1; }
.topbar { min-height:100px; max-width:1600px; margin:auto; padding:28px 5%; display:flex; align-items:center; gap:38px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:650; font-size:17px; letter-spacing:-.5px; white-space:nowrap; }
.brand-mark { display:inline-flex; position:relative; align-items:center; justify-content:center; width:36px; height:36px; border-radius:9px; color:#101b0c; background:var(--accent); font-size:25px; font-weight:800; letter-spacing:-3px; padding-right:4px; flex-shrink:0; }
.brand-mark span { font-size:20px; position:absolute; right:5px; bottom:-2px; }
.topbar nav { display:flex; align-items:center; gap:28px; }.nav-item { padding:8px 0; position:relative; background:none; font-weight:550; color:#b9bdc4; white-space:nowrap; }.nav-item:hover { color:white; }.nav-item.active { color:#fff; }.nav-item.active:after { content:''; position:absolute; bottom:0; height:3px; background:var(--accent); left:0; right:0; }
.header-tools { margin-left:auto; display:flex; align-items:center; gap:22px; }#dashboard-clock { font-variant-numeric:tabular-nums; color:#d7dbe1; white-space:nowrap; font-size:13px; }.profile-button { display:flex; align-items:center; gap:9px; background:none; padding:0; font-size:13px; }.avatar { width:32px; height:32px; display:grid; place-items:center; background:#dde4ec; color:#19232a; font-size:14px; font-weight:700; border-radius:50%; }
main { max-width:1600px; margin:0 auto; padding:0 5%; min-height:calc(100svh - 170px); }.page { padding:28px 0 44px; }.home-page { padding-top:58px; }.eyebrow { font-size:10px; font-weight:700; letter-spacing:2px; margin:0 0 12px; color:#d7dce2; }h1 { font-size:clamp(30px,3.4vw,48px); font-weight:450; line-height:1.15; letter-spacing:-1.8px; margin:0 0 15px; }h2 { font-size:18px; font-weight:550; margin:0; letter-spacing:-.3px; }.welcome>p:last-child { color:#c6cbd3; font-size:16px; margin:0; }.welcome { margin-bottom:52px; }.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }.text-button { color:#e7e9ec; background:none; padding:5px 0; text-align:left; font-size:13px; }.text-button:hover { color:var(--accent); }.muted { color:var(--muted); }.small { font-size:12px; }
.home-strip { display:grid; grid-template-columns:1.24fr 4fr; gap:14px; }.library-tile { min-height:222px; position:relative; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; padding:22px; border-radius:7px; background:var(--accent); color:#15210d; text-align:left; transition:transform .16s; }.library-tile strong { font-size:21px; font-weight:650; letter-spacing:-.6px; }.library-tile small { display:block; margin-top:4px; opacity:.75; font-size:12px; }.tile-symbol { font-size:43px; line-height:1; }.tile-arrow { position:absolute; top:18px; right:20px; font-size:23px; }.library-tile:hover { transform:translateY(-3px); }.featured-g8mes { min-width:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }.featured-card { padding:0; position:relative; overflow:hidden; border-radius:7px; background:#202830; height:100%; min-height:222px; min-width:0; text-align:left; transition:transform .16s; }.featured-card img { width:100%; height:100%; object-fit:cover; }.featured-card .featured-caption { position:absolute; left:0; right:0; bottom:0; padding:13px 12px; background:rgba(12,16,21,.88); font-size:13px; font-weight:550; }.featured-card:hover { transform:translateY(-3px); }.game-placeholder { grid-column:1/-1; display:grid; place-items:center; color:var(--muted); background:var(--surface); border:1px solid var(--line); border-radius:7px; min-height:222px; }
.shortcuts-heading { margin-top:34px; }.shortcuts-heading .muted { font-size:12px; }.shortcut-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.shortcut { display:flex; align-items:center; gap:15px; min-width:0; padding:21px 18px; border-radius:6px; border:1px solid var(--line); background:var(--surface); text-align:left; transition:border-color .16s; }.shortcut:hover { border-color:var(--accent); }.shortcut-icon { font-size:26px; line-height:1; color:var(--accent); }.shortcut strong { display:block; font-size:14px; font-weight:550; }.shortcut small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }.shortcut-arrow { margin-left:auto; color:#8a949f; }
.dashboard-footer { max-width:1600px; margin:auto; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:18px 5% 24px; color:#9ba6b3; font-size:10px; letter-spacing:1px; }.dashboard-footer>div { display:flex; gap:22px; letter-spacing:0; }.dashboard-footer button { padding:0; background:none; color:inherit; font-size:10px; }.footer-dot { margin:0 7px; }.dashboard-footer a:hover,.dashboard-footer button:hover { color:white; }
.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin:10px 0 30px; }.page-heading h1 { margin-bottom:0; }.provider-tabs { display:flex; align-items:center; gap:6px; padding:5px; border:1px solid var(--line); border-radius:7px; background:rgba(15,20,27,.9); }.provider-tabs button { background:none; padding:10px 22px; border-radius:4px; color:#b9c2cc; font-size:13px; }.provider-tabs button[aria-selected=true] { background:var(--accent); color:#12200b; font-weight:650; }
.library-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }.search-field { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:5px; padding:0 15px; background:var(--surface); width:min(430px,100%); }.search-field>span { color:#a8b3c1; font-size:25px; }.search-field input { border:0; background:none; padding:12px 0; width:100%; min-width:0; outline:none; }.search-field:focus-within { border-color:var(--accent); }#g8me-catalog-status { color:var(--muted); font-size:12px; text-align:right; }.game-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(152px,1fr)); gap:20px; }.gn-game-card { background:none; border:0; text-align:left; padding:0; min-width:0; }.gn-game-art { display:grid; place-items:center; position:relative; width:100%; aspect-ratio:1; border-radius:7px; overflow:hidden; color:#a1b1c2; background:#242e3b; border:1px solid var(--line); transition:transform .15s; }.gn-game-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }.gn-game-card:hover .gn-game-art { transform:translateY(-3px); outline:2px solid var(--accent); outline-offset:2px; }.gn-game-name { display:block; padding:10px 1px 2px; font-size:13px; line-height:1.3; overflow-wrap:anywhere; }.gn-empty { grid-column:1/-1; padding:50px 0; color:var(--muted); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 19px; min-height:42px; border:1px solid rgba(255,255,255,.17); border-radius:5px; background:#2c3440; color:#f4f5f7; font-size:13px; font-weight:550; }.button:hover { background:#3d4755; }.button.primary { background:var(--accent); border-color:var(--accent); color:#13200a; }.button.primary:hover { filter:brightness(1.08); }.button.quiet { background:transparent; border-color:transparent; color:var(--muted); }.more-button { display:flex; margin:30px auto 0; min-width:220px; }.panel { background:var(--surface); border:1px solid var(--line); border-radius:7px; padding:26px; }.panel h2 { margin-bottom:14px; }.panel p { line-height:1.7; }input,select { color:#f3f5f7; border:1px solid #475363; border-radius:4px; padding:11px 12px; background:#1a222c; width:100%; min-width:0; }input::placeholder { color:#8f9eae; }label { display:block; font-size:12px; color:#c9d0d9; }label>input,label>select { display:block; margin:8px 0 18px; font-size:14px; }.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; max-width:1040px; }.setting-row { display:flex; align-items:center; justify-content:space-between; padding-top:22px; gap:16px; font-size:14px; }.setting-row input { width:18px; height:18px; margin:0; accent-color:var(--accent); }.links-layout { display:grid; grid-template-columns:310px 1fr; gap:30px; margin-bottom:34px; }.subheading { margin:0 0 16px; }.saved-links,.website-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.website-grid { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:20px; }.website-link,.saved-link { display:flex; align-items:center; justify-content:space-between; gap:8px; background:var(--surface); padding:15px; border-radius:5px; border:1px solid var(--line); min-width:0; text-align:left; color:#e8edf2; font-size:13px; }.website-link:hover,.saved-link:hover { border-color:var(--accent); }.saved-link a { overflow-wrap:anywhere; }.delete-link { background:none; padding:4px; color:#e6a2a2; font-size:18px; }.credits-panel { max-width:700px; }dl { display:grid; grid-template-columns:150px 1fr; gap:15px; margin:25px 0; }dt { color:var(--muted); }dd { margin:0; }
.setup-dialog { width:min(850px,calc(100% - 36px)); max-height:calc(100svh - 36px); margin:auto; padding:34px 38px; background:#171d26; color:#f4f6f8; border:1px solid #3b4655; border-radius:12px; box-shadow:0 25px 100px #0008; }.setup-dialog::backdrop { background:rgba(5,9,16,.7); backdrop-filter:blur(12px); }.setup-heading { display:flex; align-items:center; gap:12px; margin-bottom:22px; }.setup-heading .eyebrow { margin:0; }.setup-dialog h1 { font-size:34px; letter-spacing:-1px; margin-bottom:8px; }.setup-description { font-size:13px; margin:0 0 26px; }.setup-fields { display:grid; grid-template-columns:1fr 1fr; gap:35px; }fieldset { border:0; margin:0 0 22px; padding:0; min-width:0; }legend { padding:0; margin-bottom:12px; font-size:12px; color:#c9d0d9; }.accent-choices { display:flex; gap:12px; margin-top:3px; flex-wrap:wrap; }.accent-choice { width:30px; height:30px; border-radius:50%; background:var(--choice); border:3px solid transparent; box-shadow:inset 0 0 0 2px #171d26; }.accent-choice[aria-pressed=true] { outline:2px solid white; outline-offset:2px; }.wallpaper-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.wallpaper-choice { padding:0; border:2px solid transparent; border-radius:6px; background:#222c38; text-align:left; overflow:hidden; }.wallpaper-choice img { width:100%; aspect-ratio:1.75; object-fit:cover; display:block; }.wallpaper-choice span { display:block; padding:9px 10px; color:#c7d0da; font-size:12px; }.wallpaper-choice[aria-pressed=true] { border-color:var(--accent); }.wallpaper-choice[aria-pressed=true] span { color:var(--accent); }.setup-bottom { border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:20px; }.setup-bottom>div { display:flex; gap:8px; }.setup-bottom p { margin:0; }
#gn-game-player { position:fixed; inset:0; z-index:100; background:#10151c; display:flex; flex-direction:column; }.gn-player-toolbar { display:flex; align-items:center; gap:10px; padding:10px 16px; background:#1b222c; border-bottom:1px solid var(--line); }.gn-player-toolbar h2 { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }.gn-player-toolbar .button { min-height:36px; padding:8px 14px; font-size:12px; }#gn-game-player:fullscreen .gn-player-toolbar { display:none; }.gn-player-stage { flex:1; min-height:0; position:relative; }#gn-frame-host { height:100%; width:100%; }#gn-frame-host iframe { display:block; height:100%; width:100%; border:0; background:#10151c; }.gn-player-message { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:15px; padding:30px; background:#10151c; text-align:center; }body:has(#gn-game-player:not(.hidden)) { overflow:hidden; }.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:#2d3b4c; color:white; padding:12px 22px; border:1px solid #5c6b7e; border-radius:6px; z-index:200; max-width:calc(100% - 32px); font-size:13px; }
@media (min-width:1500px) { .home-page { padding-top:85px; }.welcome { margin-bottom:70px; }.library-tile { min-height:260px; } }
@media (max-width:1050px) { .topbar { gap:25px; }.brand>span:last-child { display:none; }.topbar nav { gap:22px; }.header-tools { gap:14px; }.profile-button>span:last-child { display:none; }.home-strip { grid-template-columns:1.1fr 3fr; }.featured-g8mes { grid-template-columns:repeat(3,minmax(0,1fr)); }.featured-card:nth-child(4) { display:none; }.shortcut-grid { gap:10px; }.shortcut { padding:18px 12px; gap:10px; }.shortcut small { font-size:10px; }.website-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.saved-links { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { .topbar { flex-wrap:wrap; min-height:100px; padding:20px 5% 8px; gap:18px; }.brand>span:last-child { display:block; font-size:15px; }.header-tools { margin-left:auto; }#dashboard-clock { font-size:11px; }.topbar nav { order:3; width:100%; justify-content:space-between; gap:12px; }.nav-item { font-size:12px; }.home-page { padding-top:34px; }.welcome { margin-bottom:30px; }.welcome>p:last-child { font-size:13px; max-width:270px; }h1 { font-size:33px; letter-spacing:-1px; }.eyebrow { font-size:9px; }h2 { font-size:16px; }.text-button { font-size:11px; }.home-strip { display:flex; flex-direction:column; gap:14px; }.library-tile { min-height:125px; padding:18px; flex-direction:row; align-items:center; justify-content:flex-start; gap:20px; }.library-tile strong { font-size:20px; }.tile-symbol { font-size:38px; }.tile-arrow { top:14px; right:15px; font-size:20px; }.featured-g8mes { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }.featured-caption { padding:9px!important; font-size:11px!important; }.shortcuts-heading .muted { display:none; }.shortcut-grid { grid-template-columns:1fr; }.shortcut { padding:17px; }.shortcut small { font-size:11px; }.dashboard-footer { font-size:8px; padding-top:8px; }.dashboard-footer>div { gap:16px; }.page-heading { align-items:flex-start; flex-direction:column; gap:20px; }.provider-tabs { width:100%; }.provider-tabs button { flex:1; }.library-controls { flex-direction:column; gap:8px; align-items:stretch; }.search-field { width:100%; }#g8me-catalog-status { text-align:left; margin:4px 0 12px; }.game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 14px; }.gn-game-name { font-size:12px; }.settings-grid,.links-layout { grid-template-columns:1fr; gap:18px; }.saved-links,.website-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.panel { padding:22px; }.setup-dialog { padding:24px 22px; border-radius:9px; }.setup-dialog h1 { font-size:27px; }.setup-fields { grid-template-columns:1fr; gap:0; }.setup-fields label>input { margin-bottom:22px; }.accent-choices { gap:15px; }.wallpaper-choices { gap:8px; }.wallpaper-choice img { aspect-ratio:1.3; }.wallpaper-choice span { padding:8px 6px; font-size:10px; }.setup-bottom { flex-direction:column; align-items:stretch; gap:16px; }.setup-bottom>div { justify-content:flex-end; }.gn-player-toolbar { flex-wrap:wrap; padding:9px; gap:7px; }.gn-player-toolbar h2 { flex-basis:100%; }.gn-player-toolbar .button { flex:1; padding:8px; font-size:11px; }dl { grid-template-columns:1fr; gap:6px; }dd { margin-bottom:12px; } }
@media (prefers-reduced-motion:reduce) { *,*:before,*:after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }body.reduce-motion *,body.reduce-motion *:before { transition:none!important; animation:none!important; }

@media(max-width:650px){.featured-card{height:auto;min-height:150px;aspect-ratio:.78;}}
@media(max-width:650px){.featured-card{aspect-ratio:auto;height:150px;min-height:150px;}}
@media(max-height:800px) and (min-width:651px){.topbar{min-height:76px;padding-top:18px;padding-bottom:18px}.home-page{padding-top:20px}.welcome{margin-bottom:26px}.welcome h1{font-size:38px}.library-tile,.featured-card{min-height:180px}.shortcuts-heading{margin-top:25px}.shortcut{padding-top:17px;padding-bottom:17px}.page{padding-bottom:22px}.dashboard-footer{padding-top:12px;padding-bottom:16px}main{min-height:calc(100svh - 136px)}}

/* Dark Liquid Glass: shared material, with opaque fallbacks for older browsers. */
:root {
    --surface: rgba(18, 22, 30, .10);
    --line: rgba(255, 255, 255, .16);
    --muted: #c0c3ce;
    --glass-fill: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.002) 46%, rgba(255,255,255,.018));
    --glass-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(255,255,255,.035), 0 8px 24px rgba(0,0,0,.12);
}
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
.wallpaper-shade { background: rgba(5, 6, 10, .07); }
.topbar { gap: 30px; }
.brand { letter-spacing: -.6px; }
.brand-mark { border-radius: 12px; box-shadow: inset 0 1px 1px #ffffff70, 0 3px 10px #0003; }
.topbar nav, .profile-button, .provider-tabs, .shortcut, .panel,
.search-field, .website-link, .saved-link, .button, .library-tile,
.setup-dialog, .toast, .gn-player-toolbar {
    background-color: var(--surface);
    background-image: var(--glass-fill);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
    backdrop-filter: blur(10px) saturate(135%);
    box-shadow: var(--glass-shadow);
}
.topbar nav { gap: 4px; padding: 5px; border-radius: 25px; }
.nav-item { padding: 9px 16px; border-radius: 20px; color: #c4c6cf; font-size: 13px; }
.nav-item.active { background: rgba(255,255,255,.10); box-shadow: inset 0 1px 0 #ffffff1f, 0 2px 8px #0002; color: white; }
.nav-item.active:after { display: none; }
.nav-item:hover { background: rgba(255,255,255,.07); }
.nav-item.active:hover { background: rgba(255,255,255,.14); }
.header-tools { gap: 16px; }
.profile-button { padding: 5px 11px 5px 5px; border-radius: 25px; gap: 9px; }
.avatar { background: linear-gradient(145deg,#f3f4f9,#bbc2d0); box-shadow: inset 0 1px 1px #fff9; }
h1 { font-weight: 520; letter-spacing: -1.6px; }
.eyebrow { color: #c0c4d0; }
.library-tile { border-radius: 24px; color: #f7f8fa; background-color: rgba(28,36,26,.08); }
@supports (background: color-mix(in srgb, white, black)) {
    .library-tile { background-color: color-mix(in srgb, var(--accent) 4%, rgba(19,22,28,.10)); border-color: color-mix(in srgb, var(--accent) 22%, rgba(255,255,255,.19)); }
}
.library-tile .tile-symbol { color: var(--accent); text-shadow: 0 1px 0 #ffffff20; }
.library-tile strong { font-weight: 600; }
.library-tile small { opacity: 1; color: #c6ccd0; }
.tile-arrow { color: #dae2da; }
.library-tile:hover { background-color: rgba(66,77,58,.17); }
.featured-card, .gn-game-art { border-radius: 22px; border: 1px solid rgba(255,255,255,.24); box-shadow: inset 0 1px 1px #ffffff35, 0 10px 25px #0003; }
.featured-card:after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 1px rgba(255,255,255,.32); background: linear-gradient(145deg,rgba(255,255,255,.10),transparent 36%); }
.featured-card .featured-caption { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border: 1px solid #ffffff28; border-radius: 15px; background: rgba(18,20,26,.12); -webkit-backdrop-filter: blur(9px) saturate(145%) brightness(.52); backdrop-filter: blur(9px) saturate(145%) brightness(.52); box-shadow: inset 0 1px 0 #ffffff18, 0 3px 12px #0002; font-weight: 550; }
.shortcut, .panel { border-radius: 22px; }
.shortcut { transition: transform .2s, background-color .2s, border-color .2s; }
.shortcut:hover { background-color: rgba(55,58,67,.17); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.shortcut-icon { opacity: .95; }
.shortcut small { color: #bec3cd; }
.shortcut-arrow { color: #bac0cc; }
.game-placeholder { border-radius: 22px; }
.provider-tabs { border-radius: 24px; }
.provider-tabs button { border-radius: 19px; }
.provider-tabs button[aria-selected=true] { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 1px 0 #ffffff2c, 0 2px 8px #0002; }
.search-field { border-radius: 19px; }
.search-field:focus-within { border-color: rgba(255,255,255,.45); box-shadow: var(--glass-shadow), 0 0 0 2px color-mix(in srgb,var(--accent) 32%,transparent); }
input, select { border-radius: 13px; background: rgba(9,12,18,.09); border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 3px #0003; }
.search-field input { background: transparent; box-shadow: none; border-radius: 0; }
select option { background: #20232b; color: white; }
.button { border-radius: 18px; padding: 11px 20px; background-color: rgba(69,73,85,.10); }
.button:hover { background-color: rgba(101,106,120,.20); }
.button.primary { background-color: rgba(122,160,85,.20); color: #fff; border-color: #ffffff38; background-image: linear-gradient(160deg,#ffffff22,#ffffff04); }
@supports (background: color-mix(in srgb, white, black)) {
    .button.primary { background-color: color-mix(in srgb,var(--accent) 14%,rgba(29,39,27,.14)); }
}
.button.primary:hover { filter: brightness(1.15); }
.button.quiet { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.website-link, .saved-link { border-radius: 16px; }
.website-link:hover, .saved-link:hover { border-color: rgba(255,255,255,.35); background-color: rgba(56,60,71,.17); }
.setup-dialog { background-color: rgba(22,24,31,.12); border-radius: 30px; box-shadow: inset 0 1px 1px #ffffff35, inset 1px 0 1px #ffffff0a, 0 35px 110px #0008; -webkit-backdrop-filter: blur(18px) saturate(140%) brightness(.8); backdrop-filter: blur(18px) saturate(140%) brightness(.8); }
.setup-dialog::backdrop { background: rgba(3,5,10,.08); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.setup-dialog h1 { font-weight: 550; }
.setup-dialog .brand-mark { border-radius: 12px; }
.accent-choice { box-shadow: inset 0 0 0 2px rgba(17,20,27,.7), inset 0 2px 3px #ffffff45, 0 2px 8px #0003; }
.wallpaper-choice { border-radius: 16px; background: rgba(67,73,87,.10); box-shadow: inset 0 1px 0 #ffffff15; }
.wallpaper-choice[aria-pressed=true] { border-color: rgba(255,255,255,.75); box-shadow: 0 0 0 2px color-mix(in srgb,var(--accent) 40%,transparent); }
.wallpaper-choice[aria-pressed=true] span { color: white; }
.gn-player-toolbar { border-radius: 0; background-color: rgba(22,24,31,.26); }
.gn-player-toolbar .button { border-radius: 14px; }
.toast { border-radius: 22px; background-color: rgba(36,40,51,.24); }
.gn-game-card:hover .gn-game-art { outline-color: rgba(255,255,255,.7); }
.dashboard-footer { color: #aeb5c2; }
@media(max-width:1050px) {
    .topbar { gap: 20px; }
    .topbar nav { gap: 2px; }
    .nav-item { padding: 9px 13px; }
    .profile-button { padding: 5px; }
}
@media(max-width:650px) {
    .topbar { row-gap: 17px; }
    .topbar nav { padding: 4px; gap: 1px; border-radius: 23px; }
    .nav-item { padding: 9px 10px; font-size: 11px; }
    .library-tile, .featured-card, .panel, .shortcut { border-radius: 20px; }
    .featured-card .featured-caption { left: 5px; right: 5px; bottom: 5px; padding: 7px!important; border-radius: 12px; font-size: 10px!important; }
    .gn-game-art { border-radius: 19px; }
    .setup-dialog { border-radius: 27px; }
    .wallpaper-choice { border-radius: 13px; }
    .profile-button { padding: 4px; }
}
@media(prefers-contrast:more) {
    :root { --surface: rgba(18,20,27,.94); --line: rgba(255,255,255,.4); --muted: #d5d9e3; }
    .setup-dialog, .featured-card .featured-caption { background-color: rgba(15,17,24,.95); }
}

/* Clear glass keeps the wallpaper legible through every large surface. */
.shortcut, .panel, .library-tile, .topbar nav, .setup-dialog { text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.music-shortcut { display:grid; place-items:center; flex-shrink:0; width:38px; height:38px; padding:0; border-radius:50%; border:1px solid var(--line); color:#f2f5f8; background:var(--glass-fill),rgba(18,22,30,.10); box-shadow:var(--glass-shadow); -webkit-backdrop-filter:blur(10px) saturate(135%); backdrop-filter:blur(10px) saturate(135%); }
.music-shortcut:hover { background-color:rgba(255,255,255,.12); }
.music-shortcut[aria-pressed=false] { color:#aeb6c3; }
.music-volume-label { display:flex; align-items:center; justify-content:space-between; margin-top:18px; }
#music-volume { width:100%; height:22px; margin:10px 0 0; padding:0; accent-color:var(--accent); background:transparent; border:0; box-shadow:none; cursor:pointer; }
#music-status { margin:9px 0 0; }
@media(max-width:650px){.header-tools{gap:10px}.music-shortcut{width:34px;height:34px}}

/* One motion curve across glass controls; transform/opacity avoid layout jumps. */
:root { --motion-ease: cubic-bezier(.2,.75,.2,1); }
button, .button, .profile-button, .music-shortcut, .website-link, .saved-link,
.gn-game-art, .search-field, input, select {
    transition: transform 220ms var(--motion-ease), background-color 220ms var(--motion-ease),
        border-color 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease),
        color 180ms ease, filter 220ms var(--motion-ease);
}
.library-tile, .featured-card, .shortcut { transition: transform 280ms var(--motion-ease), background-color 220ms var(--motion-ease), border-color 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease); }
button:active:not(:disabled), .button:active:not(:disabled) { transform: scale(.97); transition-duration: 90ms; }
.library-tile:active, .featured-card:active, .shortcut:active { transform: translateY(0) scale(.982); }
.gn-game-card:active { transform: none; }
.gn-game-card:active .gn-game-art { transform: translateY(0) scale(.975); transition-duration: 100ms; }
.accent-choice { transition: transform 220ms var(--motion-ease), outline-color 180ms ease, box-shadow 220ms var(--motion-ease); }
.accent-choice[aria-pressed=true] { transform: scale(1.06); }
.accent-choice:active { transform: scale(.92); }
.wallpaper-choice { transition: transform 250ms var(--motion-ease), border-color 230ms var(--motion-ease), box-shadow 230ms var(--motion-ease); }
.wallpaper-choice span { transition: color 180ms ease; }
.wallpaper-choice:active { transform: scale(.98); }
.topbar nav, .provider-tabs { position: relative; isolation: isolate; }
.topbar nav:before, .provider-tabs:before {
    content: ''; position: absolute; top: 5px; bottom: 5px; left: 0;
    width: var(--indicator-width, 0px); transform: translateX(var(--indicator-x, 0px));
    border-radius: 20px; background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 #ffffff25, 0 2px 8px #0002;
    opacity: 0; pointer-events: none; z-index: -1;
    transition: transform 300ms var(--motion-ease), width 300ms var(--motion-ease), opacity 160ms ease;
}
.topbar nav.indicator-ready:before, .provider-tabs.indicator-ready:before { opacity: 1; }
.topbar nav.indicator-ready .nav-item.active,
.topbar nav.indicator-ready .nav-item.active:hover,
.provider-tabs.indicator-ready button[aria-selected=true] { background: transparent; box-shadow: none; }
.gn-game-card { animation: card-arrive 260ms var(--motion-ease) both; }
.gn-game-card:nth-child(2) { animation-delay: 12ms; }
.gn-game-card:nth-child(3) { animation-delay: 24ms; }
.gn-game-card:nth-child(4) { animation-delay: 36ms; }
.gn-game-card:nth-child(n+5) { animation-delay: 48ms; }
@keyframes card-arrive { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.setup-dialog[open]::backdrop { animation: backdrop-arrive 220ms ease-out both; }
@keyframes backdrop-arrive { from { opacity: 0; } to { opacity: 1; } }
@media (hover:hover) {
    .button:hover, .profile-button:hover, .music-shortcut:hover { transform: translateY(-1px); }
    .button:active, .profile-button:active, .music-shortcut:active { transform: translateY(0) scale(.97); }
}
@media(max-width:650px) { .topbar nav:before { top: 4px; bottom: 4px; } }
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { transition:none!important; animation:none!important; } }
body.reduce-motion *, body.reduce-motion *:before, body.reduce-motion *:after { transition:none!important; animation:none!important; }


/* Square console tiles: scale the tile, never reshape or crop the artwork. */
.home-controls { display:flex; align-items:center; gap:18px; margin-bottom:4px; }
.home-controls .search-field { width:300px; }
.home-controls>label:nth-child(2) { display:flex; align-items:center; gap:10px; font-size:13px; }
#home-game-count { margin-left:auto; font-size:12px; color:var(--muted); }
.home-strip { display:flex; flex-direction:column; gap:14px; }
.featured-g8mes { display:flex; gap:22px; overflow-x:auto; padding:24px 20px 20px; margin:0 -20px; scroll-padding-inline:20px; scroll-snap-type:x proximity; align-items:flex-start; }
.featured-card,.featured-card:nth-child(4) { display:flex; flex-direction:column; flex:0 0 172px; height:auto; min-height:0; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; transform:none; scroll-snap-align:start; transition:transform 240ms var(--motion-ease); }
.featured-card:after { display:none; }
.home-game-art { display:grid; place-items:center; width:100%; aspect-ratio:1; border:1px solid #ffffff35; background:#16191d; border-radius:6px; overflow:hidden; box-shadow:0 6px 16px #0004; }
.featured-card img { display:block; width:100%; height:100%; object-fit:contain; transform:none; }
.featured-card .featured-caption { position:static; display:block; width:100%; padding:12px 0 0; background:none; border:0; border-radius:0; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; font-size:13px; white-space:normal; line-height:1.3; }
.featured-card:focus-visible { transform:scale(1.1); outline:0; z-index:2; }
.featured-card:focus-visible .home-game-art { outline:3px solid var(--accent); outline-offset:3px; }
.home-strip .library-tile { min-height:0; padding:14px 18px; flex-direction:row; align-items:center; justify-content:flex-start; gap:14px; border-radius:14px; }
.home-strip .tile-symbol { font-size:26px; }
.home-strip .library-tile strong { font-size:16px; }
.home-strip .tile-arrow { top:18px; }
@media(hover:hover) {
 .featured-card:hover { transform:scale(1.1); z-index:2; }
 .featured-card:hover .home-game-art { outline:3px solid var(--accent); outline-offset:3px; }
 .featured-card:active { transform:scale(1.04); }
}
@media(max-width:650px) {
 .home-controls { flex-wrap:wrap; gap:10px; }
 .home-controls .search-field { width:100%; }
 .featured-card,.featured-card:nth-child(4) { flex-basis:136px; height:auto; min-height:0; aspect-ratio:auto; }
 .featured-card .featured-caption { padding:10px 0 0!important; font-size:12px!important; }
}

.home-row-arrows { display:flex; gap:8px; }.home-row-arrows button { width:36px; height:36px; border:1px solid #ffffff38; border-radius:6px; background:#ffffff0b; font-size:20px; }

/* Xbox Home reference: six game tiles, mixed-size utility tiles, then library rows. */
.topbar { padding:28px 5%; min-height:90px; }
.brand { display:none; }
.header-tools { display:contents; }
.profile-button { order:-1; margin-right:auto; background:none; border:0; box-shadow:none; }
.topbar nav { background:rgba(15,18,22,.2); border:0; border-radius:3px; box-shadow:none; }
.topbar nav:before { border-radius:2px; }
.home-page { padding-top:120px; }
.home-page .welcome { display:none; }
.home-page>.section-heading:first-of-type { margin-bottom:12px; }
.home-page .section-heading h2 { font-size:19px; font-weight:500; }
.home-strip { display:block; }
.recent-g8mes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; padding:8px 0; margin:0; overflow:visible; }
.featured-card,.featured-card:nth-child(4) { min-width:0; position:relative; }
.recent-g8mes .featured-card { width:100%; }
.home-game-art { border-radius:3px; }
.recent-g8mes .featured-caption { position:absolute; left:0; right:0; bottom:0; width:auto; padding:9px 10px; background:#111b; opacity:0; transition:opacity 180ms ease; }
.recent-g8mes .featured-card:first-child .featured-caption,.recent-g8mes .featured-card:hover .featured-caption,.recent-g8mes .featured-card:focus-visible .featured-caption { opacity:1; }
.featured-card:hover,.featured-card:focus-visible { transform:scale(1.045); }
.home-page .shortcuts-heading { display:none; }
.home-page .shortcut-grid { display:grid; grid-template-columns:1fr 1fr 1.75fr 1.75fr 1.75fr; gap:12px; margin-top:12px; }
.home-page .shortcut,.home-page .library-tile { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:16px; min-height:145px; padding:18px; border-radius:3px; background:rgba(22,32,36,.45); }
.home-page .library-tile { background:rgba(23,92,37,.65); }
.home-page .source-shortcut { background:rgba(72,57,102,.6); }
.home-page .shortcut strong,.home-page .library-tile strong { font-size:15px; font-weight:500; }
.home-page .shortcut small,.home-page .library-tile small { font-size:11px; }
.home-page .shortcut-icon,.home-page .tile-symbol { font-size:25px; color:#eee; }
.home-page .shortcut-arrow,.home-page .tile-arrow { display:none; }
.home-catalog-heading { margin-top:44px; }
.home-controls { margin-bottom:20px; }
.home-row-arrows { display:none; }
.home-catalog { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:28px 14px; }
.home-catalog .featured-card { width:100%; }
.home-catalog .featured-caption { font-size:12px; }
@media(min-width:1500px) { .home-page { padding-top:150px; } }
@media(max-height:800px) and (min-width:651px) { .home-page { padding-top:95px; } }
@media(max-width:1050px) { .home-page .shortcut-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }.home-page .shortcut,.home-page .library-tile { padding:12px; }.home-page .shortcut small { display:none; } }
@media(max-width:650px) {
 .home-page { padding-top:50px; }
 .topbar { padding:18px 5%; gap:12px; }
 .profile-button>span:last-child { display:block; }
 .topbar nav { order:5; }
 .recent-g8mes { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
 .home-page .shortcut-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-page .shortcut,.home-page .library-tile { min-height:105px; }
 .home-page .recent-shortcut { grid-column:1/-1; }
 .home-catalog { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px 12px; }
 .home-catalog .featured-caption { font-size:11px!important; }
}

/* One persistent console shell on every route, with clear liquid-glass surfaces. */
html { scrollbar-gutter:stable; }
.topbar { padding:28px 5%; min-height:90px; }
.brand { display:none; }
.header-tools { display:contents; }
.profile-button { order:-1; margin-right:auto; padding:5px 10px 5px 5px; border-radius:22px; background:rgba(24,28,34,.10); border:1px solid #ffffff26; box-shadow:inset 0 1px 0 #ffffff22; }
.topbar nav { border-radius:20px; background:rgba(24,28,34,.10); border:1px solid #ffffff2c; box-shadow:inset 0 1px 0 #ffffff24,0 6px 20px #0002; backdrop-filter:blur(10px) saturate(150%); -webkit-backdrop-filter:blur(10px) saturate(150%); }
.topbar nav:before { border-radius:15px; }
.page,.home-page { padding-top:120px; }
.home-page .shortcut,.home-page .library-tile { border-radius:14px; background:rgba(24,28,34,.10); border:1px solid #ffffff32; box-shadow:inset 0 1px 0 #ffffff30,0 8px 24px #0002; backdrop-filter:blur(10px) saturate(150%); -webkit-backdrop-filter:blur(10px) saturate(150%); }
.home-page .library-tile { background:color-mix(in srgb,var(--accent) 9%,transparent); }
.home-page .source-shortcut { background:rgba(118,100,160,.09); }
.home-game-art { border-radius:12px; box-shadow:inset 0 1px 0 #ffffff35,0 6px 18px #0003; }
.recent-g8mes .featured-caption { left:6px;right:6px;bottom:6px;border:1px solid #ffffff28;border-radius:8px;background:rgba(18,20,26,.12);backdrop-filter:blur(9px) saturate(145%) brightness(.52);-webkit-backdrop-filter:blur(9px) saturate(145%) brightness(.52); }
.home-page .shortcut:hover,.home-page .library-tile:hover { background-color:rgba(255,255,255,.14); }
@media(min-width:1500px) { .page,.home-page { padding-top:150px; } }
@media(max-height:800px) and (min-width:651px) { .page,.home-page { padding-top:95px; } }
@media(max-width:650px) {
 .topbar { padding:18px 5%; gap:12px; }
 .profile-button>span:last-child { display:block; }
 .topbar nav { order:5; }
 .page,.home-page { padding-top:50px; }
}




/* Geekfox: Firefox-style browser controls in the dashboard's clear glass. */
.geekfox-page-actions { display:flex; gap:10px; }
.geekfox-browser { border:1px solid #ffffff35; border-radius:20px; overflow:hidden; background:rgba(20,24,31,.10); backdrop-filter:blur(14px) saturate(150%); -webkit-backdrop-filter:blur(14px) saturate(150%); box-shadow:inset 0 1px 0 #ffffff35,0 14px 50px #0003; }
.geekfox-tabbar { display:flex; align-items:center; gap:8px; padding:10px 12px 0; min-height:52px; background:#ffffff04; }
.geekfox-brand { display:grid;place-items:center;width:28px;height:28px;border:1px solid #ffffff45;border-radius:9px;font-weight:700;color:var(--accent);flex-shrink:0; }
.geekfox-tabs { display:flex; flex:1; gap:6px; overflow-x:auto; scrollbar-width:thin; min-width:0; }
.geekfox-tab-wrap { display:flex; align-items:center; position:relative; min-width:110px; max-width:210px; flex:0 1 210px; }
.geekfox-tab { width:100%; border-radius:10px 10px 3px 3px; padding:12px 30px 12px 14px; background:rgba(255,255,255,.025); color:#c0c7cf; text-align:left; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border:1px solid transparent; }
.geekfox-tab[aria-selected=true] { background:rgba(255,255,255,.12); color:white; border-color:#ffffff25; box-shadow:inset 0 2px 0 var(--accent); }
.geekfox-tab-close { position:absolute;right:6px;width:22px;height:22px;border-radius:5px;font-size:17px;background:none;color:#c5cbd4; }
.geekfox-tab-close:hover { background:#ffffff22; }
.geekfox-toolbar { display:flex;align-items:center;gap:6px;padding:12px;border-bottom:1px solid #ffffff1c; }
.geekfox-icon { display:grid;place-items:center;width:34px;height:34px;padding:0;flex-shrink:0;background:transparent;border-radius:8px;font-size:21px;line-height:1; }
.geekfox-icon:hover:not(:disabled) { background:#ffffff15; }
.geekfox-icon:disabled { opacity:.3; }
#geekfox-address-form { flex:1;min-width:0;margin:0 4px; }
.geekfox-address-wrap { display:flex;align-items:center;gap:8px;margin:0;border-radius:10px;border:1px solid #ffffff25;padding:0 10px;background:rgba(9,13,20,.16);box-shadow:inset 0 1px 3px #0002;transition:border-color 220ms ease,box-shadow 220ms ease; }
.geekfox-address-wrap:focus-within { border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 16%,transparent); }
#geekfox-address { min-width:0;width:100%;padding:9px 0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;outline:none;font-size:13px; }
.geekfox-go { width:26px;height:26px;flex-shrink:0;background:transparent;font-size:18px;border-radius:5px; }
.geekfox-pages { height:64svh;min-height:400px;position:relative; }
.geekfox-tab-page { position:absolute;inset:0;overflow:auto; }
.geekfox-tab-page[hidden] { display:none; }
.geekfox-content { display:block;width:100%;height:100%;border:0;background:#fff; }
.geekfox-newtab { min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px 60px;text-align:center; }
.geekfox-mark { width:64px;height:64px;display:grid;place-items:center;font-size:39px;font-weight:700;border-radius:20px;color:var(--accent);background:rgba(255,255,255,.08);border:1px solid #ffffff45;box-shadow:inset 0 2px 1px #ffffff35,0 8px 24px #0002; }
.geekfox-newtab h2 { font-size:30px;letter-spacing:-1px;margin:14px 0 0;font-weight:550; }
.geekfox-newtab>p { margin:5px 0 30px;color:var(--muted);font-size:13px; }
.geekfox-shortcuts { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(100%,470px); }
.geekfox-site { background:rgba(255,255,255,.05);border:1px solid #ffffff20;border-radius:12px;padding:15px 8px;display:flex;flex-direction:column;gap:12px;align-items:center;font-size:11px;overflow:hidden; }
.geekfox-site>span:first-child { display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff25;border-radius:8px;font-size:17px; }
.geekfox-site:hover { background:#ffffff14;transform:translateY(-2px); }
.geekfox-site>span:last-child { width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.geekfox-statusbar { display:flex;align-items:center;gap:8px;padding:9px 14px;border-top:1px solid #ffffff18;color:var(--muted);font-size:11px;min-height:35px; }
.geekfox-connection { width:5px;height:5px;background:#b9c3cf;border-radius:50%;flex-shrink:0; }
#geekfox-status { overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
.geekfox-free { margin-left:auto;white-space:nowrap; }
.geekfox-error { height:100%;padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:650px;margin:auto; }
.geekfox-error p { color:var(--muted); }
.geekfox-fullscreen-exit { display:none; }
.geekfox-browser.geekfox-expanded { position:fixed;inset:0;z-index:2000;border:0;border-radius:0;display:flex;flex-direction:column;background:#131820; }
.geekfox-expanded .geekfox-pages { flex:1;min-height:0;height:auto; }
.geekfox-expanded .geekfox-fullscreen-exit { display:block;background:#ffffff12;border:1px solid #ffffff30;border-radius:6px;padding:7px 10px;font-size:11px; }
@media(max-width:650px) {
 .topbar nav { gap:0; }.topbar .nav-item { padding:9px 8px;font-size:11px; }
 .geekfox-browser { border-radius:14px; }
 .geekfox-page-actions { width:100%; }
 .geekfox-tabbar { padding:8px 8px 0;gap:5px; }
 .geekfox-tab { font-size:11px;padding-left:9px; }
 .geekfox-toolbar { gap:2px;padding:8px;flex-wrap:wrap; }
 .geekfox-icon { width:29px;height:29px; }
 #geekfox-address-form { flex-basis:calc(100% - 38px);order:1;margin:4px 0 0; }
 #geekfox-bookmark { order:2;margin-top:4px; }
 .geekfox-address-wrap { padding:0 8px; }
 #geekfox-address { font-size:12px; }
 .geekfox-pages { min-height:390px;height:60svh; }
 .geekfox-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .geekfox-newtab { padding:30px 20px; }
 .geekfox-free { display:none; }
}

.geekfox-brand { padding:0;border:0;box-shadow:none;background:none;overflow:visible; }.geekfox-brand img { display:block;width:30px;height:30px;object-fit:contain; }.geekfox-mark { width:100px;height:100px;object-fit:contain;border:0;border-radius:0;background:none;box-shadow:none; }
#gn-save-status { font-size:11px;color:var(--muted);max-width:220px;line-height:1.3; }
@media(max-width:650px){#gn-save-status{flex-basis:100%;max-width:none;}.geekfox-mark{width:88px;height:88px;}}

/* Personal artwork stays behind the existing glass surfaces. */
.wallpaper { background-image:var(--custom-wallpaper,var(--wallpaper)); }
.geekfox-newtab { background-image:var(--geekfox-wallpaper,none);background-size:cover;background-position:center; }
.geekfox-brand { display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;padding:3px;border:1px solid #ffffff38;border-radius:10px;background:#ffffff0a;box-shadow:inset 0 1px 0 #ffffff30;overflow:hidden; }
.geekfox-brand img { width:100%;height:100%;object-fit:contain;border-radius:6px; }
.geekfox-mark { width:112px;height:112px;padding:10px;object-fit:contain;border:1px solid #ffffff50;border-radius:26px;background:#ffffff12;box-shadow:inset 0 1px 0 #ffffff35,0 8px 25px #0003;backdrop-filter:blur(18px); }
.geekfox-customize { margin-top:24px; }
.custom-backgrounds { margin-top:24px; }
.custom-backgrounds>p { margin-top:0;line-height:1.6; }
.background-upload-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.background-upload { min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#ffffff06; }
.background-upload>label { display:block;margin-bottom:12px;font-size:13px; }
.background-upload input { width:100%;max-width:100%;font-size:11px; }
.background-upload input::file-selector-button { font:inherit;color:var(--ink);border:1px solid #ffffff30;border-radius:7px;background:#ffffff10;padding:9px 10px;margin-right:8px;cursor:pointer; }
.background-preview { display:block;width:100%;aspect-ratio:2;object-fit:cover;border-radius:8px;margin-bottom:12px; }
.background-preview[hidden] { display:none; }
.background-upload .button { font-size:11px;padding:8px 12px; }
.terms-dialog { width:min(800px,calc(100% - 32px));padding:0;overflow:hidden; }
.terms-dialog[open] { display:flex;flex-direction:column;max-height:calc(100svh - 32px); }
.terms-heading { padding:26px 30px 18px;border-bottom:1px solid var(--line);flex-shrink:0; }
.terms-heading .eyebrow { margin-bottom:10px; }
.terms-dialog .terms-heading h1 { font-size:25px;letter-spacing:-.6px;margin:0;line-height:1.3; }
.terms-copy { padding:8px 30px 20px;overflow-y:auto;overscroll-behavior:contain;min-height:0;font-size:14px;line-height:1.75; }
.terms-copy h2 { font-size:17px;margin:26px 0 10px; }
.terms-copy p { margin:14px 0; }
.terms-copy a { color:var(--accent);overflow-wrap:anywhere; }
.terms-copy hr { border:0;border-top:1px solid var(--line);margin:26px 0; }
.terms-footer { flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 30px;border-top:1px solid var(--line); }
@media(max-width:650px) {
 .background-upload-grid { grid-template-columns:1fr; }
 .geekfox-page-actions { flex-wrap:wrap;gap:8px; }
 .geekfox-mark { width:100px;height:100px;border-radius:23px; }
 .terms-heading { padding:22px 20px 16px; }
 .terms-dialog .terms-heading h1 { font-size:21px; }
 .terms-copy { padding:4px 20px 16px;font-size:13px; }
 .terms-footer { padding:14px 20px; }
 .terms-footer>span { max-width:140px; }
}

/* YourGeek: a compact glass workspace around the live Duck.ai connection. */
#view-ai { padding-top:44px; }
.yourgeek-heading { margin-bottom:28px;align-items:center; }
.yourgeek-identity { display:flex;gap:17px;align-items:center; }
.yourgeek-mark { display:grid;place-items:center;width:62px;height:72px;border:1px solid #ffffff38;border-radius:14px;background:#ffffff08;box-shadow:inset 0 1px 0 #ffffff26; }
.yourgeek-mark svg { width:36px;height:36px; }
.yourgeek-heading .eyebrow { margin-bottom:7px;font-size:9px;letter-spacing:2.2px; }
.yourgeek-heading h1 { font-size:36px;line-height:1;letter-spacing:-1.4px;margin:0 0 8px; }
.yourgeek-powered { font-size:11px;color:var(--muted);text-decoration:none; }
.yourgeek-powered:hover { color:white; }
.yourgeek-powered span { margin-left:4px; }
.ai-actions { display:flex;gap:8px;flex-wrap:wrap; }
.ai-actions .button { border-radius:9px;padding:11px 16px;font-size:12px; }
.ai-browser { border:1px solid #ffffff30;border-radius:16px;overflow:hidden;background:#0c111a12;backdrop-filter:blur(24px) saturate(140%);box-shadow:inset 0 1px 0 #ffffff20,0 16px 50px #0002; }
.ai-browser-bar { display:flex;align-items:center;gap:20px;padding:13px 18px;border-bottom:1px solid var(--line);min-height:46px; }
.yourgeek-workspace-label { display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:10px;letter-spacing:1.5px; }
.yourgeek-connection { width:5px;height:5px;border-radius:50%;background:var(--accent); }
.yourgeek-room { color:var(--muted);font-size:11px;letter-spacing:0;margin-left:5px; }
#ai-status { color:var(--muted);font-size:10px;margin:0 0 0 auto;line-height:1.5; }
.ai-stage { position:relative;height:max(620px,calc(100svh - 285px)); }
#ai-frame-host,.ai-content { width:100%;height:100%;border:0;display:block;background:transparent; }
.ai-loading { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:25px;text-align:center;background:rgba(12,16,23,.8);backdrop-filter:blur(20px); }
.ai-loading h2,.ai-loading p { margin:0; }
.ai-loading p { color:var(--muted);max-width:420px;font-size:13px;line-height:1.65; }
.ai-loading>a { text-decoration:none; }
.ai-footnote { line-height:1.7;margin-top:14px;max-width:950px;font-size:10px; }
#ai-exit-fullscreen { display:none;margin-left:auto;white-space:nowrap; }
.ai-expanded { position:fixed;inset:0;z-index:2000;border:0;border-radius:0;display:flex;flex-direction:column;background:#111; }
.ai-expanded .ai-stage { flex:1;min-height:0;height:auto; }
.ai-expanded #ai-exit-fullscreen { display:block; }
@media(max-width:850px) { .yourgeek-room { display:none; } }
@media(max-width:650px) {
 .topbar .nav-item { padding:9px 6px;font-size:10px; }
 #view-ai { padding-top:30px; }
 .yourgeek-heading { align-items:flex-start;gap:22px;margin-bottom:20px; }
 .yourgeek-mark { width:52px;height:64px;border-radius:12px; }
 .yourgeek-heading h1 { font-size:30px; }
 .ai-actions { width:100%; }
 .ai-actions .button { flex:1;padding:10px 12px; }
 .ai-browser { border-radius:12px; }
 .ai-stage { height:75svh;min-height:520px; }
 .ai-browser-bar { padding:10px 12px;gap:10px;flex-wrap:wrap; }
 .yourgeek-workspace-label { font-size:9px; }
 #ai-status { font-size:9px; }
}

.geekfox-profile-row { display:flex;align-items:center;gap:24px;margin:-8px 0 20px; }
.geekfox-profile-row>label { display:flex;align-items:center;gap:12px;flex-shrink:0;font-size:12px; }
#geekfox-profile { width:auto;min-width:190px;margin:0;padding:10px 32px 10px 12px;border-radius:9px;background-color:#151a2340; }
#geekfox-profile-help { color:var(--muted);font-size:11px;line-height:1.65;margin:0;max-width:470px; }
@media(max-width:650px) { .geekfox-profile-row { align-items:stretch;flex-direction:column;gap:9px; }.geekfox-profile-row>label { justify-content:space-between;gap:8px; }#geekfox-profile { min-width:0;max-width:59%;font-size:11px; } }

/* AudibleGeek and GeekMovie share the dashboard's translucent console surfaces. */
.topbar nav { max-width:100%; flex-shrink:1; overflow-x:auto; scrollbar-width:none; }
.topbar nav::-webkit-scrollbar { display:none; }
.topbar .nav-item { padding-left:11px; padding-right:11px; }
.media-attribution { margin:8px 0 0; color:var(--muted);font-size:12px; }
.glass-panel { background:rgba(24,28,34,.1);border:1px solid #ffffff2c;border-radius:16px;box-shadow:inset 0 1px 0 #ffffff22,0 8px 24px #0002;backdrop-filter:blur(12px) saturate(150%);-webkit-backdrop-filter:blur(12px) saturate(150%); }
.media-search { display:flex;gap:12px;max-width:760px;align-items:center;margin-bottom:24px; }
.media-search input { margin:0;min-width:0;flex:1;background:#ffffff08;border:1px solid #ffffff30;border-radius:11px;padding:15px 18px;color:inherit;font:inherit; }
.media-search input:focus {outline:2px solid var(--accent);outline-offset:2px;}
.media-status { font-size:13px;line-height:1.75;color:var(--muted);margin:18px 0; }
.media-layout {display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;min-height:320px;}
.media-sidebar {padding:12px;height:fit-content;display:flex;flex-direction:column;gap:6px;}
.media-filter {background:transparent;color:var(--muted);text-align:left;padding:14px;border-radius:9px;font-size:13px;}
.media-filter.active,.media-filter:hover {background:#ffffff13;color:white;}
.media-sidebar p {font-size:11px;color:var(--muted);line-height:1.8;padding:8px 14px;}
.media-file-label {cursor:pointer;position:relative;overflow:hidden;}
.media-file-label input {position:absolute;width:1px;height:1px;opacity:0;}
.media-file-label:focus-within {outline:2px solid var(--accent);outline-offset:3px;}
.track-list {display:flex;flex-direction:column;gap:4px;}
.track-row {display:flex;align-items:center;gap:15px;min-width:0;padding:10px 12px;border-bottom:1px solid #ffffff12;border-radius:9px;transition:background .2s ease;}
.track-row:hover {background:#ffffff0a;}
.track-play {background:transparent;color:var(--accent);padding:10px;}
.track-art {width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:8px;background:#ffffff0a;overflow:hidden;color:var(--muted);}
.track-art img {width:100%;height:100%;object-fit:cover;}
.track-info {display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;font-size:13px;}
.track-info strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;}
.track-info span,.track-duration {color:var(--muted);font-size:11px;}
.media-albums {display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px;margin-top:24px;}
.album-tile {background:transparent;text-align:left;display:flex;flex-direction:column;gap:8px;color:inherit;font-size:12px;}
.album-tile img {width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;}.album-tile span {font-size:11px;color:var(--muted);}
.audio-deck {display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,1.3fr) minmax(150px,.7fr);gap:22px;padding:20px 24px;margin-top:32px;position:sticky;bottom:14px;z-index:5;}
.audio-now {display:flex;align-items:center;gap:14px;min-width:0;}.audio-art {display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #ffffff26;border-radius:10px;font-size:24px;}.audio-now>div {min-width:0;flex:1;}.audio-now strong {display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.audio-now p {font-size:11px;color:var(--muted);margin:7px 0 0;}
.audio-buttons {display:flex;align-items:center;justify-content:center;gap:17px;}.audio-play {width:40px;height:40px;border-radius:50%;background:#ffffffdf;color:#141820;font-size:17px;}.audio-play:disabled {opacity:.4;}.audio-timeline {display:flex;align-items:center;gap:10px;margin-top:8px;}.audio-timeline time {font-size:10px;color:var(--muted);min-width:28px;}.audio-timeline input {min-width:0;flex:1;margin:0;height:4px;accent-color:var(--accent);}.audio-options {display:flex;flex-direction:column;gap:12px;justify-content:center;}.audio-options select {margin:0;width:100%;font-size:11px;padding:8px;background:#12182050;border-radius:8px;}.audio-options label {display:flex;align-items:center;gap:12px;font-size:10px;color:var(--muted);}.audio-options input {min-width:0;width:100%;margin:0;accent-color:var(--accent);}
[aria-pressed="true"]#ag-like,[aria-pressed="true"]#ag-repeat,[aria-pressed="true"]#ag-shuffle {color:var(--accent);}
.media-categories {display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px;}.media-categories .active {border-color:var(--accent);background:#ffffff16;}
.movie-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 18px;}
.movie-card {background:none;color:inherit;display:flex;flex-direction:column;gap:12px;padding:0;text-align:left;min-width:0;}
.movie-art {width:100%;aspect-ratio:2/3;display:grid;place-items:center;position:relative;border:1px solid #ffffff30;border-radius:12px;overflow:hidden;background:#ffffff08;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;}.movie-art img {width:100%;height:100%;object-fit:cover;}.movie-card-play {position:absolute;inset:0;display:grid;place-items:center;background:#03050b40;font-size:30px;opacity:0;transition:opacity .25s;}.movie-card:hover .movie-art,.movie-card:focus-visible .movie-art {transform:translateY(-5px);box-shadow:0 9px 24px #0005;}.movie-card:hover .movie-card-play,.movie-card:focus-visible .movie-card-play {opacity:1;}
.movie-card-caption {display:flex;flex-direction:column;gap:7px;}.movie-card-caption strong {font-size:13px;font-weight:500;line-height:1.5;}.movie-card-caption>span {font-size:11px;color:var(--muted);}
.movie-room {padding:24px;margin-top:28px;}.movie-room-heading {display:flex;justify-content:space-between;align-items:center;gap:20px;}.movie-room-heading h2 {font-size:25px;font-weight:500;}.media-room-actions {display:flex;gap:8px;flex-wrap:wrap;}.movie-room>p.muted {font-size:13px;line-height:1.8;max-width:800px;}.movie-source-bar {display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px;}.movie-source-bar label {font-size:12px;color:var(--muted);}.movie-source-bar select {width:auto;min-width:150px;margin:0;background:#12182050;border-radius:9px;}.movie-screen {position:relative;aspect-ratio:16/9;background:#03050b90;border:1px solid #ffffff20;border-radius:12px;overflow:hidden;}.movie-screen:empty {display:none;}#gm-frame-host,#gm-frame-host iframe {width:100%;height:100%;border:0;display:block;}.movie-exit {display:none;position:absolute;right:14px;top:14px;z-index:10;background:#151820b0;}.movie-screen:fullscreen {width:100%;height:100%;border:0;border-radius:0;}.movie-screen:fullscreen .movie-exit {display:block;}
@media(max-width:1150px){.topbar{gap:16px;}.topbar .nav-item {font-size:11px;padding-left:9px;padding-right:9px;}.movie-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.audio-deck {grid-template-columns:1fr 1.3fr;}.audio-options {grid-column:1/-1;flex-direction:row;align-items:center;}.audio-options select{width:150px;}.audio-options label{max-width:220px;}}
@media(max-width:650px){.topbar nav{justify-content:flex-start;}.topbar .nav-item {padding:9px 11px;font-size:11px;}.media-layout{grid-template-columns:1fr;gap:20px;}.media-sidebar{flex-direction:row;padding:6px;}.media-sidebar p{display:none;}.media-filter{flex:1;text-align:center;padding:12px 6px;font-size:12px;}.media-search{gap:8px;}.media-search input{font-size:12px;padding:13px 12px;}.media-search .button{padding:12px;}.audio-deck{position:relative;bottom:auto;grid-template-columns:1fr;padding:18px;gap:18px;}.audio-options{grid-column:auto;}.movie-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;}.movie-room{padding:16px;}.movie-room-heading{align-items:flex-start;flex-direction:column;}.movie-room-heading h2{font-size:22px;}.movie-source-bar{gap:10px;}.movie-source-bar .button{padding:10px;font-size:11px;}.track-row{padding:10px 0;gap:8px;}.track-art{width:34px;height:34px;}.track-duration{display:none;}.movie-card-caption strong{font-size:12px;}}
/* Keep transport controls in reach while browsing long music result lists. */
#view-music {padding-bottom:170px;}
#view-music .audio-deck {position:fixed;bottom:16px;left:5%;right:5%;margin:0;background:rgba(15,20,29,.46);}
.audio-stream-mode {color:var(--muted);font-size:11px;}
.audio-art img {width:100%;height:100%;object-fit:cover;border-radius:9px;}
@media(max-width:650px){#view-music{padding-bottom:280px;}#view-music .audio-deck{bottom:12px;gap:12px;padding:14px;}.audio-options{gap:14px;}.audio-options label{flex:1;}}
.media-content {min-width:0;}
@media(max-width:650px){.media-layout{grid-template-columns:minmax(0,1fr);}}

.geekfox-connection-row { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px; }
.geekfox-connection-row label { display:flex;align-items:center;gap:12px;font-size:12px; }
#geekfox-connection { width:auto;margin:0;padding:10px 32px 10px 12px;border-radius:9px;background-color:#151a2340; }
#geekfox-connection-state { font-size:11px;color:var(--muted);flex:1;min-width:160px; }
@media(max-width:650px) { .geekfox-connection-row label { flex:1;justify-content:space-between; } #geekfox-connection { min-width:0;max-width:65%;font-size:11px; } #geekfox-connection-state { flex-basis:100%; } }

.yourgeek-history-dialog { width:min(680px,calc(100% - 32px));max-height:80vh;overflow:auto;color:var(--text);background:#111722ee;backdrop-filter:blur(28px);border:1px solid #ffffff30;border-radius:16px;padding:24px; }
.yourgeek-history-dialog::backdrop { background:#0009;backdrop-filter:blur(5px); }
.yourgeek-history-row { display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff16;padding:8px 0; }
.yourgeek-history-open { flex:1;min-width:0;text-align:left;background:transparent;border:0;color:inherit;padding:12px;cursor:pointer;border-radius:8px; }
.yourgeek-history-open:hover,.yourgeek-history-open:focus-visible { background:#ffffff0e; }
.yourgeek-history-open strong,.yourgeek-history-open time { display:block;overflow-wrap:anywhere; }
.yourgeek-history-open time { font-size:11px;color:var(--muted);margin-top:6px; }
#ai-history-search { width:100%; }
@media(max-width:550px) { .yourgeek-history-row { flex-wrap:wrap; }.yourgeek-history-open { flex-basis:100%; }.yourgeek-history-dialog { padding:16px; } }

.geekfox-addons-dialog { width:min(640px,calc(100% - 28px)); max-height:85dvh; overflow:auto; color:var(--text,#f4f5f7); background:rgba(18,24,31,.88); border:1px solid var(--line); border-radius:14px; padding:24px; backdrop-filter:blur(28px); }
.geekfox-addons-dialog::backdrop { background:rgba(0,0,0,.45); backdrop-filter:blur(6px); }
.geekfox-addon-row { padding:18px 0; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:14px; }
.geekfox-addon-row label { flex:1; display:flex; align-items:center; gap:12px; font-size:14px; }
.geekfox-addon-row input { width:20px; height:20px; margin:0; flex:none; accent-color:var(--accent); }
.geekfox-addon-row small { display:block; color:var(--muted); margin-top:6px; line-height:1.5; overflow-wrap:anywhere; }
.geekfox-addon-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.geekfox-addon-actions label { cursor:pointer; }
.geekfox-addon-actions input[hidden] { display:none; }

.geekfox-addons-dialog input[hidden],.geekfox-xpi-review[hidden] { display:none; }
.geekfox-xpi-section { padding:20px 0; margin-bottom:20px; border-bottom:1px solid var(--line); }
.geekfox-xpi-section p { line-height:1.6; margin:12px 0; overflow-wrap:anywhere; }
.geekfox-xpi-review { padding:18px; margin-top:14px; border:1px solid var(--line); border-radius:8px; background:rgba(255,255,255,.04); }
.geekfox-xpi-review h4 { overflow-wrap:anywhere; }
.geekfox-xpi-review .setting-row { padding-top:8px; }
.geekfox-xpi-section>.button { margin-top:14px; }

.geekfox-native-tools { padding:20px 0; border-bottom:1px solid var(--line); }
.geekfox-native-tools small { display:block; font-size:12px; line-height:1.6; margin-top:7px; }
.geekfox-native-tools p { line-height:1.6; margin:12px 0; }
.geekfox-native-tools .setting-row>input { flex:none; }

#gn-frame-host { position:relative; overflow:hidden; background:#000; }

#gn-display-controls {display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;background:rgba(22,24,31,.65);border-bottom:1px solid var(--line);font-size:12px;}
#gn-display-controls label {display:flex;align-items:center;gap:7px;}
#gn-display-controls input[type=number] {width:85px;}
#gn-display-controls select,#gn-display-controls input {margin:0;padding:7px;}
#gn-display-controls span {color:var(--muted);}
#gn-game-player:fullscreen #gn-display-controls {display:none;}

#gn-clicker-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;background:rgba(22,24,31,.65);border-bottom:1px solid var(--line);font-size:12px;}
#gn-clicker-controls label{display:flex;align-items:center;gap:7px;}
#gn-clicker-controls input{width:90px;margin:0;padding:7px;}
#gn-clicker-controls p{margin:0;}#gn-clicker-controls small{flex-basis:100%;color:var(--muted);}
#gn-clicker-stop{position:absolute;right:12px;top:12px;z-index:5;background:rgba(20,25,32,.9);border:1px solid var(--accent);}
#gn-game-player:fullscreen #gn-clicker-controls{display:none;}

.gn-player-toolbar {flex-wrap:wrap;}

.web-g8me-art {display:flex;align-items:center;justify-content:center;font-size:72px;font-weight:600;color:var(--accent);background:rgba(22,24,31,.35);}

.gn-player-toolbar h2 {min-width:95px;}
#gn-adblock-status {font-size:11px;max-width:230px;line-height:1.4;color:var(--muted);}

#gn-developer-panel {background:rgba(15,18,24,.78);backdrop-filter:blur(24px);border-bottom:1px solid var(--line);padding:12px 16px;min-height:180px;max-height:45vh;overflow:auto;font-size:12px;}
.gn-dev-controls {display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.gn-dev-controls label {display:flex;gap:6px;align-items:center;}
.gn-dev-controls input,.gn-dev-controls select {margin:0;padding:6px;}
.gn-dev-controls input[type=search] {width:170px;}
.gn-dev-controls .button {padding:7px 10px;}
#gn-developer-panel p {margin:8px 0;}
.gn-dev-note {color:var(--muted);}
#gn-developer-panel pre {height:170px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:rgba(0,0,0,.3);padding:10px;font:12px/1.5 ui-monospace,monospace;user-select:text;}
#gn-game-player:has(#gn-developer-panel:not(.hidden)) .gn-player-stage {min-height:0;flex:1;}

.gf-settings{width:min(980px,94vw);height:min(760px,90vh);padding:0;color:#eef2f7;background:rgba(19,23,30,.94);backdrop-filter:blur(30px);border:1px solid #59616d;border-radius:16px}.gf-settings[open]{display:grid;grid-template-columns:220px 1fr}.gf-settings::backdrop{background:#0008}.gf-settings aside{padding:28px 20px;background:#ffffff06;border-right:1px solid #ffffff18}.gf-settings nav{display:grid;gap:6px;margin:32px 0}.gf-settings button{padding:10px 14px;border:1px solid #ffffff20;background:#ffffff08;color:inherit;border-radius:6px;text-align:left;cursor:pointer}.gf-settings button:hover,.gf-settings button:focus-visible{background:#ffffff18;outline:2px solid var(--gf-accent,#80bfff)}.gf-settings main{padding:32px;overflow:auto}.gf-settings main>input{width:100%;padding:12px;margin-bottom:20px}.gf-settings section{padding:10px 0 28px;border-bottom:1px solid #ffffff18}.gf-settings section[hidden]{display:none}.gf-settings label{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid #ffffff0c}.gf-settings select{padding:8px;max-width:240px}.gf-settings p{color:#bac2ce;line-height:1.6}.gf-settings input[type=checkbox]{accent-color:var(--gf-accent)}.gf-compact .geekfox-toolbar{padding:4px;gap:4px}.gf-still .geekfox-browser *{animation:none!important;transition:none!important}.gf-hide-shortcuts .geekfox-shortcuts{display:none!important}@media(max-width:600px){.gf-settings[open]{grid-template-columns:1fr}.gf-settings aside{padding:14px}.gf-settings nav{display:flex;flex-wrap:wrap;margin:12px 0}.gf-settings main{padding:18px}}

/* Internal preferences page occupies the selected Geekfox tab. */
.geekfox-tab-page>.gf-settings{display:grid;grid-template-columns:220px minmax(0,1fr);width:100%;height:100%;min-height:450px;max-height:none;border:0;border-radius:0;box-sizing:border-box}.gf-settings[hidden]{display:none!important}.gf-settings aside{overflow:auto}@media(max-width:600px){.geekfox-tab-page>.gf-settings{grid-template-columns:1fr;overflow:auto}}

.geekfox-toolbar-action{flex-shrink:0;white-space:nowrap;padding:8px 11px;font-size:13px;border:1px solid #ffffff30}.geekfox-browser:fullscreen{width:100vw;height:100vh;background:#131820}

.geekfox-page-only>.geekfox-tabbar,.geekfox-page-only>.geekfox-toolbar,.geekfox-page-only>.geekfox-statusbar{display:none!important}#geekfox-page-fullscreen-exit:not([hidden]){position:absolute;top:8px;right:12px;z-index:10;padding:8px 12px;background:#171b22;color:white;border:1px solid #ffffff50;border-radius:6px;opacity:.18}#geekfox-page-fullscreen-exit:hover,#geekfox-page-fullscreen-exit:focus-visible{opacity:1}

#geekfox-settings{display:flex!important;align-items:center;justify-content:center;gap:7px;flex:0 0 auto!important;width:auto!important;min-width:42px;min-height:36px;padding:6px 10px;border:1px solid #ffffff55;color:#fff;background:#ffffff12;font-size:13px}#geekfox-settings svg{display:block;flex-shrink:0}.geekfox-toolbar{flex-wrap:wrap}#geekfox-address-form{min-width:120px}@media(max-width:480px){.geekfox-menu-label{display:none}}

#converter-source{width:100%;box-sizing:border-box;font:13px/1.5 ui-monospace,monospace;resize:vertical;min-height:260px}#view-converter .panel{max-width:1000px;margin:auto}#view-converter label{display:grid;gap:8px;margin:18px 0}
