/* Homepage 06: local design prototype. Loaded last; shared shell plus h6 content.
   Advertising regions are labelled reservations, never advertising loaders. */
:root{--side:76px;--header-height:64px;--h6-pad:24px;--h6-bg:#f2f5fa;--h6-panel:#fff;--h6-ink:#20314d;--h6-muted:#65758d;--h6-line:#dde5ef;--h6-accent:#2463eb;--h6-soft:#eaf1ff;--h6-heading:Outfit,Inter,Arial,sans-serif;--h6-font:Inter,Arial,sans-serif}
html[data-theme=light]{background:#f2f5fa;color:#20314d;--bg:#f2f5fa;--panel:#fff;--raised:#eaf1ff;--muted:#65758d;--line:#dde5ef;--accent:#2463eb;--ink:#fff;--soft-accent:#eaf1ff}
html[data-theme=dark]{--h6-bg:#101927;--h6-panel:#182438;--h6-ink:#edf2ff;--h6-muted:#a5b5ce;--h6-line:#2c3c55;--h6-accent:#a3bfff;--h6-soft:#233956}
body.h6-preview{min-width:0;background:var(--h6-bg);color:var(--h6-ink);font:400 15px/1.6 var(--h6-font);text-rendering:optimizeLegibility}
body.h6-preview :where(button,input,select){font:inherit}
body.h6-preview :where(button,a,summary){touch-action:manipulation}
body.h6-preview :where(a,button,input,select,summary):focus-visible{outline:3px solid #5587e6;outline-offset:3px}
body.h6-preview :where(h1,h2,h3){font-family:var(--h6-heading);color:var(--h6-ink)}
body.h6-preview :where(img,svg){max-width:100%}
body.h6-preview [hidden]{display:none!important}
body.h6-preview>.skip{z-index:300;left:12px;top:-90px;border-radius:9px;background:var(--h6-panel);color:var(--h6-accent);font-size:13px}
body.h6-preview>.skip:focus{top:8px}

/* Compact shell: expansion overlays the catalogue instead of shifting it. */
body.h6-preview>.header{position:sticky;top:0;z-index:90;display:flex;align-items:center;flex-wrap:nowrap;gap:18px;width:100%;height:auto;min-height:64px;padding:10px 24px 10px 16px;border-bottom:1px solid var(--h6-line);background:var(--h6-panel);color:var(--h6-ink);backdrop-filter:blur(12px)}
body.h6-preview .header .menu,body.h6-preview #search-toggle,body.h6-preview #nav-close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;border:0;border-radius:10px;background:transparent;color:#5c7090}
body.h6-preview .header .menu:hover,body.h6-preview #search-toggle:hover,body.h6-preview #nav-close:hover{background:var(--h6-soft);color:var(--h6-accent)}
body.h6-preview .header .menu[aria-expanded=true],body.h6-preview #search-toggle[aria-expanded=true]{background:var(--h6-soft);color:var(--h6-accent)}
body.h6-preview .header .brand{display:inline-flex;align-items:center;gap:9px;flex:none;min-width:0;margin:0;color:var(--h6-ink);font:650 27px/.9 var(--h6-heading);letter-spacing:-1px;white-space:nowrap}
body.h6-preview .header .brand-mark{display:block;flex:none;width:38px;height:38px;padding:0;border:0;border-radius:10px;background:transparent}
body.h6-preview .header .brand-mark img{display:block;width:38px;height:38px;border-radius:10px;object-fit:contain}
body.h6-preview .header .brand small{display:block;margin-top:7px;color:var(--h6-muted);font:650 8px/1 var(--h6-font);letter-spacing:2.2px}
body.h6-preview .header .brand>span:last-child>span{color:var(--h6-accent)}
body.h6-preview .header .snilld-word{font-size:29px;letter-spacing:-1.1px}
body.h6-preview .header .search{display:flex;align-items:center;gap:10px;flex:1 1 400px;width:auto;min-width:100px;max-width:640px;min-height:44px;height:auto;margin-inline:auto;padding:0 10px 0 14px;border:1px solid var(--h6-line);border-radius:12px;background:var(--h6-bg);color:var(--h6-muted)}
body.h6-preview .header .search:focus-within{border-color:#8eafea;box-shadow:0 0 0 3px #2463eb0d}
body.h6-preview .header .search>.ui-icon,body.h6-preview .header .search>[data-icon]{display:inline-flex;width:18px;flex:none;font-size:18px}
body.h6-preview .header .search input{width:100%;min-width:0;min-height:42px;padding:6px 0;border:0;outline:0;background:transparent;color:var(--h6-ink);font-size:14px;line-height:1.5}
body.h6-preview .header .search input::placeholder{color:var(--h6-muted);opacity:1}
body.h6-preview .header .search input:focus-visible{outline:0}
body.h6-preview .header .search kbd{display:inline-block;padding:0 5px;border:1px solid var(--h6-line);border-radius:4px;background:var(--h6-panel);color:var(--h6-muted);font:10px/19px var(--h6-font)}
body.h6-preview #search-submit{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:42px;min-width:50px;margin:0;padding:8px 4px 8px 12px;border:0;border-left:1px solid var(--h6-line);border-radius:0;background:transparent;color:var(--h6-accent);font-size:12px;font-weight:600}
body.h6-preview #search-toggle{display:none}
body.h6-preview .header .brand-switch{display:flex;align-items:center;gap:4px;flex:none;margin:0}
body.h6-preview .header .brand-switch button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:44px;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--h6-muted);font-size:11px;font-weight:650;letter-spacing:.1px}
body.h6-preview .header .brand-switch button:hover{background:var(--h6-bg);color:var(--h6-ink)}
body.h6-preview .header .brand-switch button[aria-pressed=true]{background:var(--h6-soft);color:var(--h6-accent);box-shadow:none}
body.h6-preview>.sidebar{position:fixed;inset:var(--header-height) auto 0 0;z-index:80;display:block;width:var(--side);padding:16px 10px 24px;border-right:1px solid var(--h6-line);background:var(--h6-panel);color:var(--h6-muted);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transition:width .16s ease,transform .16s ease}
body.h6-preview .sidebar nav{display:grid;gap:6px}
body.h6-preview .sidebar .nav-link{display:flex;align-items:center;justify-content:center;gap:13px;min-width:0;min-height:48px;padding:11px 12px;border-radius:11px;color:var(--h6-muted);font-size:13px;font-weight:500;line-height:1.4;white-space:normal}
body.h6-preview .sidebar .nav-link.active,body.h6-preview .sidebar .nav-link:hover{background:var(--h6-soft);color:var(--h6-accent)}
body.h6-preview .sidebar .nav-link.active:before{display:none}
body.h6-preview .sidebar .nav-icon{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;font-size:21px}
body.h6-preview .sidebar .nav-icon .ui-icon{width:21px;height:21px}
body.h6-preview .sidebar .nav-text,body.h6-preview .sidebar .nav-label,body.h6-preview .sidebar-foot,body.h6-preview .h6-nav-top{display:none}
body.h6-preview .sidebar .nav-separator{height:1px;margin:12px 9px;background:var(--h6-line)}
body.h6-preview>.sidebar.open{width:224px;box-shadow:12px 0 30px #20314d15}
body.h6-preview .sidebar.open .nav-link{justify-content:flex-start}
body.h6-preview .sidebar.open .nav-text{display:block;min-width:0;overflow-wrap:anywhere}
body.h6-preview .sidebar.open .nav-label{display:block;margin:7px 12px 2px;padding:0;color:var(--h6-muted);font-size:10px;letter-spacing:1.1px}
body.h6-preview .sidebar.open .sidebar-foot{display:block;margin:24px 12px 0;padding-top:18px;border-top:1px solid var(--h6-line);color:var(--h6-muted)}
body.h6-preview .sidebar-foot .tiny-mark{width:30px;height:30px;object-fit:contain;border-radius:8px}
body.h6-preview .sidebar-foot strong{display:block;margin:12px 0 6px;color:var(--h6-ink);font:500 16px/1.4 var(--h6-heading)}
body.h6-preview .sidebar-foot p{margin:0;font-size:11px;line-height:1.7}
body.h6-preview .sidebar.open .h6-nav-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px 12px}
body.h6-preview .h6-nav-title{color:var(--h6-muted);font-size:11px;font-weight:600}
body.h6-preview #nav-backdrop{position:fixed;inset:var(--header-height) 0 0;z-index:75;width:100%;margin:0;padding:0;border:0;border-radius:0;background:#172c4b38;backdrop-filter:blur(2px)}
body.h6-preview #nav-backdrop:not([hidden]){display:block}
body.h6-preview>main#main{width:calc(100% - var(--side));max-width:none;min-width:0;min-height:calc(100svh - var(--header-height));margin-left:var(--side);padding:24px var(--h6-pad) 32px}

/* A game-first discovery grid with deliberately modest headings. */
.h6-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;min-width:0;margin-bottom:18px}
.h6-intro>div{min-width:0}
.h6-intro h1{margin:0;color:var(--h6-ink);font:600 clamp(26px,2vw,34px)/1.12 var(--h6-heading);letter-spacing:-.75px}
.h6-intro p{max-width:72ch;margin:8px 0 0;color:var(--h6-muted);font-size:13px;line-height:1.65}
.h6-all-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:7px 0 7px 8px;color:var(--h6-accent);font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.h6-all-link .ui-icon{width:15px;height:15px;flex:none}
.h6-count{flex:none;padding-bottom:3px;color:var(--h6-muted);font-size:11px;line-height:1.5}
.h6-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;margin:0 0 24px;padding:3px}
.h6-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:40px;padding:9px 13px;border:1px solid var(--h6-line);border-radius:10px;background:var(--h6-panel);color:#536986;font-size:12px;font-weight:550;line-height:1.4;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.h6-chip .ui-icon{width:17px;height:17px;color:var(--h6-accent)}
.h6-chip:hover,.h6-chip[aria-current=page]{border-color:#9ab8ef;background:var(--h6-soft);color:var(--h6-accent)}
.h6-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:28px 24px;min-width:0}
.h6-content,.h6-rail{min-width:0}
.h6-content{display:grid;align-content:start;gap:30px}
.h6-section{min-width:0;margin:0}
.h6-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;min-width:0}
.h6-section-head>div{min-width:0}
.h6-section-head h2{margin:0;color:var(--h6-ink);font:600 21px/1.2 var(--h6-heading);letter-spacing:-.3px}
.h6-section-head p{max-width:66ch;margin:5px 0 0;color:var(--h6-muted);font-size:12px;line-height:1.6}
.h6-section-head>a,.h6-section-head .viewall{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:7px 0 7px 8px;color:var(--h6-accent);font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap}
.h6-section-head>a .ui-icon{width:15px;height:15px}
.h6-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,164px),1fr));align-items:start;gap:14px;min-width:0}
.h6-grid.h6-featured-grid,.h6-grid.h6-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}
.h6-card{display:block;position:relative;min-width:0;overflow:hidden;border:1px solid var(--h6-line);border-radius:12px;background:var(--h6-panel);color:var(--h6-ink);box-shadow:0 2px 8px #233d6c04;transition:transform .16s ease,border-color .16s,box-shadow .16s}
.h6-card:hover{transform:translateY(-2px);border-color:#8dace9;box-shadow:0 6px 16px #233d6c13}
.h6-card>img,.h6-card>picture,.h6-card>picture>img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;background:var(--h6-bg)}
.h6-card-caption{display:block;min-width:0;padding:8px 10px 9px}
.h6-card-caption strong{display:-webkit-box;min-height:28px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--h6-ink);font-size:12px;font-weight:600;line-height:1.3;letter-spacing:-.1px;overflow-wrap:anywhere}
.h6-card-category{display:block;margin-top:2px;color:var(--h6-muted);font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h6-feature-card{border-color:#b6c9ec;box-shadow:0 3px 12px #2463eb09}
.h6-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.h6-featured .h6-card-caption strong{min-height:0;font-size:14px}
.h6-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:22px}
.h6-rail:empty{display:none}

/* Native creative dimensions are reserved explicitly. No delivery code here. */
.h6-ad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;width:100%;max-width:100%;margin:0;padding:14px 0;color:var(--h6-muted);text-align:center}
.h6-ad>span{color:var(--h6-muted);font-size:9px;font-weight:600;line-height:1.4;letter-spacing:1.4px;text-transform:uppercase}
.h6-ad-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:none;width:var(--ad-width,300px);height:var(--ad-height,250px);border:1px dashed #c9d5e6;border-radius:10px;background:linear-gradient(140deg,#eaf0f7,#f7f9fc);color:#536781;font-size:12px;line-height:1.6}
.h6-ad>p{max-width:45ch;margin:0;color:var(--h6-muted);font-size:10px;line-height:1.6}
.h6-ad-rail,.h6-ad-mobile{display:none}
.h6-ad-leader .h6-ad-box{--ad-width:728px;--ad-height:90px}
.h6-house{min-width:0;padding:22px;border:1px solid #d9e4f5;border-radius:14px;background:linear-gradient(135deg,var(--h6-soft),var(--h6-panel));color:var(--h6-ink)}
.h6-house h3{margin:0 0 9px;font:600 21px/1.2 var(--h6-heading);letter-spacing:-.3px}
.h6-house p{margin:0 0 18px;color:var(--h6-muted);font-size:12px;line-height:1.7}
.h6-house-links{display:grid;gap:9px}
.h6-house-links>a{display:flex;align-items:center;gap:11px;min-width:0;min-height:48px;padding:11px 12px;border:1px solid var(--h6-line);border-radius:10px;background:var(--h6-panel);color:var(--h6-accent);font-size:12px;font-weight:550;line-height:1.5}
.h6-house-links>a:hover{border-color:#91afe6;box-shadow:0 2px 7px #233d6c08}
.h6-house-links img{flex:none;width:42px;height:42px;border-radius:8px;object-fit:cover}
.h6-house-links .ui-icon{width:19px;height:19px;flex:none}
.h6-house-links strong{display:block;color:var(--h6-ink);font-size:12px}
.h6-house-links small{display:block;margin-top:3px;color:var(--h6-muted);font-size:10px;font-weight:400}
.h6-house-inline .h6-house-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.h6-house-inline .h6-house-links>a{align-items:center;flex-wrap:nowrap;min-height:76px;padding:12px}
.h6-collections{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:12px;min-width:0}
.h6-collection-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:98px;padding:17px;border:1px solid var(--h6-line);border-radius:13px;background:var(--h6-panel);color:var(--h6-ink);transition:border-color .16s,background .16s}
.h6-collection-card:hover{border-color:#9ab8ef;background:var(--h6-soft)}
.h6-collection-card>img{display:block;flex:none;width:58px;height:58px;border-radius:11px;object-fit:cover}
.h6-collection-card>.ui-icon:first-child,.h6-collection-icon{display:flex;align-items:center;justify-content:center;flex:none;width:39px;height:39px;border-radius:11px;background:var(--h6-soft);color:var(--h6-accent)}
.h6-collection-card>div,.h6-collection-card>span{min-width:0}
.h6-collection-card strong,.h6-collection-card h3{display:block;margin:0;color:var(--h6-ink);font-size:13px;font-weight:600;line-height:1.4}
.h6-collection-card p,.h6-collection-card small{display:block;margin:5px 0 0;color:var(--h6-muted);font-size:11px;line-height:1.55}
.h6-collection-card>.ui-icon:last-child{width:16px;height:16px;flex:none;margin-left:auto;color:var(--h6-muted)}
.h6-about{max-width:100%;margin-top:28px;padding:6px 20px;border:1px solid var(--h6-line);border-radius:13px;background:var(--h6-panel);color:var(--h6-muted)}
.h6-about>summary{min-height:48px;padding:13px 0;cursor:pointer;color:#4f688c;font-size:13px;font-weight:550;line-height:1.7}
.h6-about>summary::marker{color:var(--h6-accent)}
.h6-about p{max-width:85ch;margin:0 0 16px;font-size:13px;line-height:1.8}

/* Honest game-page preview: contained artwork and a clear link-to-play action. */
.h6-game-preview{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:26px;min-width:0}
.h6-game-preview>article,.h6-game-preview>aside{min-width:0}
.h6-game-preview>article>h1{margin:0 0 16px;font:600 clamp(25px,2vw,32px)/1.16 var(--h6-heading);letter-spacing:-.6px}
.h6-preview-stage{position:relative;display:grid;place-items:center;width:100%;min-height:240px;max-height:650px;aspect-ratio:16/10;overflow:hidden;border:1px solid #d2deed;border-radius:16px;background:radial-gradient(ellipse at 78% 6%,#1e6c8175,transparent 60%),linear-gradient(130deg,#12243a,#163d50);box-shadow:0 7px 24px #203c640b}
.h6-preview-stage>img{position:absolute;inset:0;display:block;width:100%;height:100%;padding:20px;object-fit:contain;opacity:.53}
.h6-preview-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#10243c08,#0b1a2d5c);pointer-events:none}
.h6-preview-stage>div{position:relative;z-index:1;max-width:80%;padding:24px;text-align:center}
.h6-preview-stage .primary-button{min-height:48px;padding:12px 26px;border-radius:11px;background:#2463eb;color:#fff;font-size:14px;box-shadow:0 5px 18px #00132b42}
.h6-preview-stage .primary-button:hover{background:#174ac2}
.h6-preview-stage p{max-width:40ch;margin:12px 0 0;color:#e1eaf6;font-size:12px;line-height:1.6}
.h6-game-preview>aside>h2{margin:2px 0 14px;font:600 21px/1.3 var(--h6-heading);letter-spacing:-.2px}
.h6-game-preview>aside>.h6-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.h6-game-preview #instructions{margin-top:24px;padding:23px 25px;border:1px solid var(--h6-line);border-radius:14px;background:var(--h6-panel);scroll-margin-top:calc(var(--header-height) + 20px)}
.h6-game-preview #instructions h2{margin:0 0 9px;font:600 22px/1.3 var(--h6-heading);letter-spacing:-.2px}
.h6-game-preview #instructions p{max-width:80ch;margin:0;color:var(--h6-muted);font-size:14px;line-height:1.8}

/* The same real navigation and readable footer language as the game-page pilot. */
.h6-footer{min-width:0;margin-top:36px;padding:30px 32px 16px;border:1px solid var(--h6-line);border-radius:17px;background:var(--h6-panel);color:var(--h6-muted);font-size:13px;line-height:1.7}
.h6-footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.8fr);gap:28px 44px;align-items:start;padding-bottom:26px}
.h6-footer-grid>*{min-width:0}
.h6-footer a,.h6-footer button{color:#4c6382;text-decoration:none;text-underline-offset:4px;overflow-wrap:anywhere}
.h6-footer a:hover,.h6-footer button:hover{color:var(--h6-accent);text-decoration:underline}
.h6-footer-brand>a,.h6-footer-brand .brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;min-width:0;margin:0 0 14px;color:var(--h6-ink);font:650 28px/1 var(--h6-heading);letter-spacing:-1px}
.h6-footer-brand img{display:block;flex:none;width:38px;height:38px;border-radius:10px;object-fit:contain}
.h6-footer-brand .brand small,.h6-footer-wordmark small{display:block;margin-top:6px;color:var(--h6-muted);font:600 8px/1 var(--h6-font);letter-spacing:2.1px}
.h6-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.h6-footer-nav>h2{grid-column:1/-1}
.h6-footer-brand p{max-width:40ch;margin:0;color:var(--h6-muted);font-size:13px;line-height:1.8}
.h6-footer h3,.h6-footer h2{margin:7px 0 13px;color:#314d70;font:600 17px/1.35 var(--h6-heading);letter-spacing:-.15px}
.h6-footer-nav a,.h6-footer-info a{display:flex;align-items:center;min-height:44px;padding:7px 0;color:#4c6382;font-size:13px;line-height:1.5}
.h6-footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding-top:16px;border-top:1px solid var(--h6-line)}
.h6-footer-bottom>p,.h6-footer-bottom>span{margin:0;color:var(--h6-muted);font-size:11px;line-height:1.7}
.h6-footer-languages{display:flex;align-items:center;flex-wrap:wrap;gap:0 16px;min-width:0}
.h6-footer-languages>span{color:var(--h6-muted);font-size:11px}
.h6-footer-languages :where(a,button){display:inline-flex;align-items:center;min-width:44px;min-height:44px;padding:7px 0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.5}
.h6-footer-languages [aria-pressed=true],.h6-footer-languages [aria-current=page]{color:var(--h6-accent);font-weight:600}

/* Design controls belong after the product content, not in the first screen. */
body.h6-preview>.prototype-bar.h6-review{position:static;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;width:calc(100% - var(--side));height:auto;min-height:66px;margin-left:var(--side);padding:14px var(--h6-pad) 24px;border:0;border-top:1px solid var(--h6-line);background:transparent;color:var(--h6-muted);font-size:10px;line-height:1.6;letter-spacing:.1px}
body.h6-preview .h6-review .prototype-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
body.h6-preview .h6-review .theme-switch{display:flex;align-items:center;gap:4px;margin:0;padding:0;border:0}
body.h6-preview .h6-review .theme-switch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:8px;color:var(--h6-muted);font-size:11px}
body.h6-preview .h6-review .theme-switch button[aria-pressed=true]{border-color:var(--h6-line);background:var(--h6-panel);color:var(--h6-accent);box-shadow:none}
body.h6-preview .h6-review .header-action{display:inline-flex;gap:8px;min-height:44px;margin:0;padding:8px 0;background:transparent;color:var(--h6-accent);font-size:11px}
body.h6-preview .h6-review .header-action .ui-icon{width:14px;height:14px}

@media(min-width:1680px){
  .h6-layout{grid-template-columns:minmax(0,1fr) 300px}
  .h6-rail{position:sticky;top:calc(var(--header-height) + 22px);grid-template-columns:minmax(0,1fr);gap:24px}
  .h6-ad-rail{display:flex;padding:0}
  .h6-ad-leader{display:none}
  body.h6-preview[data-brand=snilld] .h6-house-inline{display:none}
}
@media(min-width:1200px){.h6-grid.h6-featured-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1400px){.h6-grid.h6-shelf{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1679px){
  body.h6-preview[data-brand=snilld] .h6-rail{display:none}
  .h6-rail>.h6-house{grid-column:1/-1}
  .h6-rail>.h6-house .h6-house-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1800px){:root{--side:80px;--h6-pad:30px}body.h6-preview>.header{gap:24px;padding-right:30px}.h6-grid{gap:15px}.h6-content{gap:34px}}
@media(max-width:1199px){:root{--h6-pad:20px}body.h6-preview>.header{gap:14px;padding-right:20px}.h6-intro h1{font-size:29px}.h6-footer-grid{gap:24px 30px}.h6-footer{padding:27px 26px 14px}.h6-game-preview{grid-template-columns:minmax(0,1fr) 280px;gap:22px}}
@media(max-width:899px){
  :root{--side:0px;--h6-pad:16px}
  body.h6-preview>.header{gap:12px;padding-inline:10px 16px}
  body.h6-preview>.sidebar{width:224px;padding-inline:10px;transform:translateX(-100%);visibility:hidden}
  body.h6-preview>.sidebar.open{transform:translateX(0);visibility:visible}
  body.h6-preview .header .brand{font-size:25px}.h6-count{display:none}
  body.h6-preview .header .search input{font-size:16px}
  body.h6-preview .header .search kbd{display:none}
  body.h6-preview .header .brand-switch{gap:2px}
  body.h6-preview .header .brand-switch button{min-width:34px;padding-inline:8px;font-size:10px}
  body.h6-preview>main#main{padding-top:20px}
  .h6-intro h1{font-size:28px}.h6-grid{gap:12px}.h6-content{gap:28px}
  .h6-section-head h2{font-size:21px}
  .h6-ad-leader{display:none}.h6-ad-mobile{display:flex}
  .h6-footer-grid{gap:22px}.h6-footer{padding:25px 24px 14px}
  .h6-game-preview{grid-template-columns:minmax(0,1fr);gap:26px}
  .h6-game-preview>aside>.h6-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:649px){
  :root{--h6-pad:12px}
  body.h6-preview>.header{gap:7px;flex-wrap:wrap;padding:8px 12px 8px 8px}
  body.h6-preview .header .menu,body.h6-preview #search-toggle{width:40px;height:44px;min-width:40px;padding:10px}
  body.h6-preview .header .brand{gap:7px;margin-right:auto;font-size:24px;letter-spacing:-.9px}
  body.h6-preview .header .brand-mark,body.h6-preview .header .brand-mark img{width:33px;height:33px;border-radius:9px}
  body.h6-preview .header .snilld-word{font-size:26px}
  body.h6-preview .header .brand small{margin-top:6px;font-size:7px;letter-spacing:2px}
  body.h6-preview #search-toggle{display:inline-flex}
  body.h6-preview .header .search{display:none;order:5;flex-basis:100%;width:100%;max-width:none;margin:2px 0 1px}
  body.h6-preview .header.search-open .search{display:flex}
  body.h6-preview .header .brand-switch button{min-width:32px;padding:7px 8px;font-size:10px}
  body.h6-preview .header .brand-switch{gap:0}
  body.h6-preview>main#main{padding-top:17px;padding-bottom:24px}
  .h6-intro{gap:10px;margin-bottom:14px}.h6-intro h1{font-size:26px;line-height:1.15;letter-spacing:-.5px}.h6-intro p{margin-top:7px;font-size:12px;line-height:1.7}
  .h6-chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:7px;margin-inline:-3px;margin-bottom:20px;padding:3px 3px 7px;scrollbar-width:none}
  .h6-chips::-webkit-scrollbar{display:none}
  .h6-chip{min-height:44px;padding:10px 12px;font-size:11px}.h6-chip .ui-icon{width:16px;height:16px}
  .h6-layout{gap:26px}.h6-content{gap:26px}
  .h6-section-head{align-items:start;gap:10px;margin-bottom:12px}.h6-section-head h2{font-size:21px;line-height:1.2}.h6-section-head p{font-size:11px;margin-top:5px}.h6-section-head>a,.h6-section-head .viewall{padding-top:1px;min-height:44px;font-size:10px}
  .h6-grid,.h6-grid.h6-featured-grid,.h6-grid.h6-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .h6-card{border-radius:11px}.h6-card-caption{padding:8px 10px 9px}.h6-card-caption strong{min-height:28px;font-size:12px}.h6-card-category{font-size:10px;margin-top:2px}
  .h6-featured{gap:12px}.h6-featured .h6-card-caption strong{font-size:12px;min-height:34px}
  .h6-rail{grid-template-columns:minmax(0,1fr);gap:20px}
  .h6-house{padding:20px}.h6-house h3{font-size:21px}.h6-house p{font-size:12px}
  .h6-house-inline .h6-house-links,.h6-rail>.h6-house .h6-house-links{grid-template-columns:minmax(0,1fr)}
  .h6-house-links .h6-collection-compact{align-items:center;flex-wrap:nowrap}
  .h6-ad-mobile{width:calc(100% + var(--h6-pad)*2);max-width:calc(100% + var(--h6-pad)*2);margin-inline:calc(var(--h6-pad)*-1);padding-inline:10px}
  .h6-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .h6-collection-card{align-items:start;flex-wrap:wrap;gap:10px;min-height:0;padding:15px 13px}
  .h6-collection-card>img{width:46px;height:46px;border-radius:10px}
  .h6-collection-card>.ui-icon:last-child{display:none}.h6-collection-card strong,.h6-collection-card h3{font-size:12px}.h6-collection-card p,.h6-collection-card small{font-size:10px;line-height:1.6}
  .h6-about{margin-top:24px;padding-inline:17px}.h6-about>summary{font-size:12px}.h6-about p{font-size:12px}
  .h6-footer{margin-top:28px;padding:24px 20px 12px;border-radius:14px}
  .h6-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px;padding-bottom:22px}
  .h6-footer-brand{grid-column:1/-1}.h6-footer-brand>a,.h6-footer-brand .brand{font-size:28px;margin-bottom:12px}.h6-footer-brand p{font-size:13px}
  .h6-footer-nav{grid-template-columns:minmax(0,1fr)}
  .h6-footer h3,.h6-footer h2{margin-top:0;font-size:16px}.h6-footer-nav a,.h6-footer-info a{font-size:12px}
  .h6-footer-bottom{gap:8px}.h6-footer-languages{width:100%;gap:0 18px}.h6-footer-languages>span{width:100%;margin-top:4px}
  .h6-all-link{gap:5px;font-size:11px}
  .h6-game-preview>article>h1{font-size:25px;margin-bottom:14px}
  .h6-preview-stage{min-height:230px;border-radius:13px}
  .h6-preview-stage>img{padding:12px}
  .h6-preview-stage>div{max-width:100%;padding:20px}
  .h6-preview-stage p{font-size:11px}
  .h6-game-preview>aside>.h6-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .h6-game-preview #instructions{padding:20px;margin-top:20px}
  body.h6-preview>.prototype-bar.h6-review{align-items:start;gap:8px;padding-top:14px;padding-bottom:20px;font-size:9px}
  body.h6-preview .h6-review .prototype-tools{width:100%;justify-content:space-between;gap:10px}
  body.h6-preview .h6-review .prototype-note{display:inline}.h6-review .theme-switch button{font-size:10px}
}
@media(max-width:359px){
  body.h6-preview>.header{gap:4px;padding-right:7px;padding-left:5px}
  body.h6-preview .header .menu,body.h6-preview #search-toggle{min-width:36px;width:36px;padding:8px}
  body.h6-preview .header .brand{font-size:21px;gap:5px}.h6-intro h1{font-size:24px}
  body.h6-preview .header .brand-mark,body.h6-preview .header .brand-mark img{width:29px;height:29px}
  body.h6-preview .header .brand small{font-size:6px;letter-spacing:1.8px}
  body.h6-preview .header .brand-switch button{min-width:30px;padding-inline:6px;font-size:9px}
  .h6-grid,.h6-shelf{gap:10px}.h6-card-caption{padding:8px}.h6-card-caption strong{font-size:11px;min-height:26px}
}
@media(max-width:319px){.h6-ad-mobile{display:none}}
@media(max-height:500px) and (orientation:landscape){
  body.h6-preview>.header{min-height:56px;padding-block:6px;gap:12px}
  body.h6-preview .header .brand-mark,body.h6-preview .header .brand-mark img{width:32px;height:32px}
  body.h6-preview .header .brand{font-size:24px}.h6-intro{margin-bottom:12px}
  body.h6-preview .header .search input{font-size:16px}
  .h6-preview-stage{min-height:160px;max-height:calc(100svh - var(--header-height) - 110px)}
}
html[data-theme=dark] .h6-chip,html[data-theme=dark] .h6-footer a,html[data-theme=dark] .h6-footer button,html[data-theme=dark] .h6-footer h2,html[data-theme=dark] .h6-footer h3,html[data-theme=dark] .h6-about>summary{color:var(--h6-ink)}
html[data-theme=dark] .h6-ad-box{border-color:#3b4c64;background:#1b2b43;color:#a6b8d3}
html[data-theme=dark] .h6-footer-languages [aria-pressed=true]{color:var(--h6-accent)}
@media(prefers-reduced-motion:reduce){body.h6-preview *,body.h6-preview *::before,body.h6-preview *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
