/* V2: own mint brand + image-led discovery. No delivery/measurement code. */
:root{--side:76px;--h6-pad:22px}
body.h6-preview.v2-shell>.header{min-height:64px;gap:16px;padding-block:8px}
body.h6-preview.v2-shell>main#main{padding-top:18px}
body.h6-preview.v2-shell>.sidebar{padding:12px 9px 22px}
body.h6-preview.v2-shell .sidebar:not(.open) .nav-link{justify-content:center;gap:0;min-height:44px;padding:11px}
body.h6-preview.v2-shell .sidebar:not(.open) :is(.nav-text,.nav-label,.sidebar-foot,.h6-nav-top){display:none}
body.h6-preview.v2-shell .sidebar .nav-link .nav-icon{width:22px;height:22px;flex-basis:22px}
body.h6-preview.v2-shell .sidebar:not(.open) .nav-separator{margin:9px 7px}
body.h6-preview.v2-shell .sidebar.open :is(.nav-text,.sidebar-foot){display:block}
body.h6-preview.v2-shell .sidebar.open .h6-nav-top{display:flex}
body.h6-preview.v2-shell .sidebar.open .nav-link{justify-content:flex-start;gap:12px}
.v2-home{min-width:0}
.v2-home-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;margin:0 0 10px}
.v2-home-heading h1{margin:0;font:650 clamp(22px,1.7vw,28px)/1.2 var(--h6-heading);letter-spacing:-.55px;color:var(--h6-ink)}
body.h6-preview .v2-home-heading h1>.h8-heading-icon{display:none}
.v2-home-heading>a{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #ddcd9f;border-radius:12px;background:#fff7dd;color:#70500b;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.v2-home-heading>a .ui-icon{width:17px;height:17px;flex:none}
.v2-category-strip{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0 0 18px;padding:3px 2px 7px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b6d7ce transparent}
.v2-category-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;max-width:100%;padding:9px 13px;border:1px solid var(--category-line,var(--h6-line));border-radius:13px;background:#fff;color:var(--category,var(--h6-accent));font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background .14s,border-color .14s}
.v2-category-chip>.ui-icon{width:18px;height:18px;flex:none}
.v2-category-chip:hover{background:var(--category-soft,var(--h6-soft));border-color:var(--category,var(--h6-accent))}
.v2-category-chip.v2-tags-chip{background:#e2f1ee;color:#00636c;border-color:#b8d8cf}
.v2-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;min-width:0}
.v2-home-content{display:grid;align-content:start;gap:28px;min-width:0}
.v2-home-rail{display:none;min-width:0}
.v2-section{min-width:0}
.v2-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-bottom:12px}
.v2-section-head>div{min-width:0}
.v2-section-head h2{display:flex;align-items:center;gap:8px;margin:0;font:600 21px/1.2 var(--h6-heading);letter-spacing:-.3px;color:var(--h6-ink)}
.v2-section-head h2>.ui-icon{width:20px;height:20px;flex:none;color:var(--h6-accent)}
.v2-section-head p{margin:5px 0 0;color:var(--h6-muted);font-size:12px;line-height:1.5}
.v2-section-head>a{display:inline-flex;align-items:center;justify-content:center;gap:5px;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}
.v2-section-head>a>.ui-icon{width:16px;height:16px;flex:none}
.v2-game-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;min-width:0;align-items:stretch}
.v2-tile{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #bad8d0;border-radius:15px;background:var(--h6-panel);color:var(--h6-ink);box-shadow:0 2px 0 #114c4c0a;text-decoration:none;transition:transform .16s ease,border-color .16s,box-shadow .16s}
.v2-tile-art{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;aspect-ratio:1.48;background:var(--category-soft,var(--h6-soft))}
.v2-tile-art>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.v2-tile-caption{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:53px;padding:8px 10px}
.v2-tile-caption>strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--h6-ink);font-size:12px;font-weight:600;line-height:1.35;letter-spacing:-.1px;overflow-wrap:anywhere}
.v2-tile-category{display:block;overflow:hidden;margin-top:3px;color:var(--h6-muted);font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.v2-tile:hover{transform:translateY(-3px);border-color:var(--category,var(--h6-accent));box-shadow:0 7px 16px #114c4c16}
.v2-tile:hover .v2-tile-art>img{transform:scale(1.025)}
.v2-tile:focus-visible{outline-color:#00636c;outline-offset:3px}
.v2-mosaic{grid-auto-flow:row dense}
.v2-mosaic .v2-tile-large{grid-column:span 2;grid-row:span 2}
.v2-mosaic .v2-tile-large .v2-tile-art{flex:1;aspect-ratio:auto}
.v2-mosaic .v2-tile-large .v2-tile-art>img{position:absolute;inset:0}
.v2-mosaic .v2-tile-large .v2-tile-caption{min-height:64px;padding:11px 15px}
.v2-mosaic .v2-tile-large .v2-tile-caption>strong{font-size:19px;line-height:1.2}
.v2-mosaic .v2-tile-large .v2-tile-category{font-size:11px;margin-top:5px}
.v2-play-label{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #ffffffbf;border-radius:10px;background:#fff;color:#00636c;box-shadow:0 2px 8px #123b3e24;font-size:12px;font-weight:650;line-height:1.4}
.v2-play-label>.ui-icon{width:15px;height:15px;fill:currentColor;stroke-width:1.3}
/* History keeps its explicit sample label, while leaving room for new choices. */
body.h6-preview .v2-home .h9-continue{position:relative;margin:0;padding:13px 15px;border:1px solid #c7ddd4;border-radius:16px;background:#e2f1eb}
body.h6-preview .v2-home .h9-continue-head{align-items:center;gap:12px;margin:0 0 7px}
body.h6-preview .v2-home .h9-continue-head h2{font-size:18px;line-height:1.2;letter-spacing:-.2px}
body.h6-preview .v2-home .h9-continue-head .h8-heading-icon{display:none}
body.h6-preview .v2-home .h9-view-history{min-height:30px;padding:4px 0 4px 8px;font-size:11px;color:#603996}
body.h6-preview .v2-home .h9-demo-note,body.h6-preview .v2-home .h9-history-note{position:absolute;top:13px;left:240px;max-width:calc(100% - 430px);margin:0;padding:3px 7px;border-color:#d8c8ec;border-radius:7px;font-size:10px;line-height:1.5;white-space:normal}
body.h6-preview .v2-home .h9-continue-list{gap:12px;padding-top:2px;padding-bottom:4px}
body.h6-preview .v2-home .h9-continue-card{display:flex;align-items:center;gap:9px;flex:0 0 204px;width:204px;min-height:58px}
body.h6-preview .v2-home .h9-continue-card>img{width:54px;height:54px;aspect-ratio:1;flex:none;border-radius:12px}
body.h6-preview .v2-home .h9-continue-card>span:not(.h9-resume-icon){min-width:0;width:auto;max-width:141px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.45}
body.h6-preview .v2-home .h9-resume-icon{left:36px;right:auto;top:35px;width:19px;height:19px;border-radius:7px}
body.h6-preview .v2-home .h9-resume-icon>.ui-icon{width:10px;height:10px}
.v2-ad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;width:100%;max-width:100%;padding:10px 0;text-align:center;color:var(--h6-muted)}
.v2-ad>span{font-size:9px;font-weight:600;line-height:1.4;letter-spacing:1.5px;text-transform:uppercase}
.v2-ad-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:none;width:var(--ad-width);height:var(--ad-height);border:1px dashed #b6c8c6;border-radius:13px;background:#e8f0ee;color:#476265;font-size:12px;line-height:1.5}
.v2-ad-box>strong{font-size:15px;font-weight:600}
.v2-ad>p{max-width:45ch;margin:0;font-size:10px;line-height:1.5}
.v2-ad-mobile,.v2-ad-rail{display:none}
.v2-collection-panel{min-width:0;padding:20px;border:1px solid #b6d6ca;border-radius:17px;background:#d9ede3}
.v2-collection-panel h2{margin:0;color:#175d43;font:600 21px/1.2 var(--h6-heading);letter-spacing:-.25px}
.v2-collection-panel p{margin:7px 0 15px;color:#3a6253;font-size:12px;line-height:1.6}
.v2-collection-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
.v2-collection-links>a{display:flex;align-items:center;gap:11px;min-width:0;min-height:76px;padding:10px;border:1px solid var(--category-line,#bdd7cd);border-radius:13px;background:#fff;color:var(--h6-ink)}
.v2-collection-links>a>img{display:block;width:52px;height:52px;flex:none;object-fit:cover;border-radius:10px}
.v2-collection-links>a>span{min-width:0}
.v2-collection-links strong{display:block;color:var(--category,var(--h6-accent));font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.v2-collection-links small{display:block;margin-top:3px;color:#476265;font-size:10px;line-height:1.4}
.v2-collection-links .ui-icon{width:17px;height:17px;flex:none;margin-left:auto;color:var(--category,var(--h6-accent))}
.v2-collection-links>a:hover{border-color:var(--category,var(--h6-accent));box-shadow:0 3px 8px #124c3e0c}
.v2-about{min-width:0;padding:0 18px;border:1px solid var(--h6-line);border-radius:13px;background:var(--h6-panel);color:var(--h6-muted)}
.v2-about>summary{min-height:48px;padding:12px 0;color:var(--h6-accent);font-size:13px;font-weight:600;cursor:pointer}
.v2-about>p{max-width:85ch;margin:0 0 17px;font-size:13px;line-height:1.75}
@media(min-width:1680px){
  .v2-layout{grid-template-columns:minmax(0,1fr) 300px}
  .v2-home-rail{position:sticky;top:calc(var(--header-height) + 20px);display:grid;align-content:start;gap:24px}
  .v2-ad-rail{display:flex;padding:0}
  .v2-ad-leader,.v2-collection-inline{display:none}
  .v2-collection-rail{padding:18px}
  .v2-collection-rail .v2-collection-links{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:1200px){:root{--side:76px}body.h6-preview.v2-shell>.sidebar:not(.open){width:76px}}
@media(max-width:1199px){
  .v2-game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .v2-mosaic .v2-tile-large{grid-row:span 2}
  .v2-home-heading h1{font-size:25px}
  body.h6-preview .v2-home .h9-demo-note,body.h6-preview .v2-home .h9-history-note{position:static;max-width:100%;width:fit-content;margin:0 0 7px}
}
@media(max-width:899px){
  :root{--side:0px;--h6-pad:15px}
  body.h6-preview.v2-shell>.sidebar:not(.open){width:224px}
  body.h6-preview.v2-shell>.header{gap:10px}
  body.h6-preview.v2-shell>main#main{padding-top:13px}
  .v2-home-heading{margin-bottom:6px}
  .v2-home-heading h1{font-size:23px}
  .v2-category-strip{margin-bottom:13px;gap:7px;padding-bottom:5px;scrollbar-width:none}
  .v2-category-strip::-webkit-scrollbar{display:none}
  .v2-category-chip{padding:8px 11px;font-size:11px}
  .v2-home-content{gap:23px}
  .v2-section-head{margin-bottom:9px}
  .v2-section-head h2{font-size:20px}
  .v2-ad-leader{display:none}
  .v2-ad-mobile{display:flex}
  .v2-collection-links{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v2-collection-links>a{flex-wrap:wrap}
  .v2-collection-links>a>.ui-icon{display:none}
  body.h6-preview .v2-home .h9-continue{padding:10px 12px}
  body.h6-preview .v2-home .h9-continue-card{flex-basis:175px;width:175px}
}
@media(max-width:649px){
  :root{--h6-pad:12px}
  body.h6-preview.v2-shell>.header{gap:5px;padding-block:6px}
  .v2-home-heading{align-items:center;gap:9px}
  .v2-home-heading h1{font-size:21px;line-height:1.15;letter-spacing:-.4px}
  .v2-home-heading>a{gap:4px;min-height:44px;padding:7px 9px;border-radius:10px;font-size:10px}
  .v2-home-heading>a>.ui-icon{width:14px;height:14px}
  .v2-home-heading>a>.ui-icon:last-child{display:none}
  .v2-category-strip{margin-bottom:12px}
  .v2-category-chip{min-height:44px;border-radius:11px;padding:8px 10px;font-size:11px}
  .v2-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .v2-mosaic .v2-tile-large{grid-column:auto;grid-row:auto}
  .v2-mosaic .v2-tile-large .v2-tile-art{flex:none;aspect-ratio:1.35}
  .v2-mosaic .v2-tile-large .v2-tile-art>img{position:static}
  .v2-tile-art{aspect-ratio:1.35}
  .v2-tile{border-radius:13px}
  .v2-tile-caption,.v2-mosaic .v2-tile-large .v2-tile-caption{min-height:57px;padding:8px 9px}
  .v2-tile-caption>strong,.v2-mosaic .v2-tile-large .v2-tile-caption>strong{font-size:11px;line-height:1.35}
  .v2-tile-category,.v2-mosaic .v2-tile-large .v2-tile-category{margin-top:3px;font-size:10px;line-height:1.3}
  .v2-play-label{left:7px;bottom:7px;gap:5px;padding:4px 7px;border-radius:7px;font-size:9px}
  .v2-play-label>.ui-icon{width:11px;height:11px}
  .v2-home-content{gap:21px}
  .v2-section-head{gap:9px;margin-bottom:8px}
  .v2-section-head h2{gap:6px;font-size:19px;line-height:1.25;letter-spacing:-.25px}
  .v2-section-head h2>.ui-icon{width:18px;height:18px}
  .v2-section-head>a{font-size:10px;min-height:44px}
  .v2-section-head p{font-size:11px}
  body.h6-preview .v2-home .h9-continue{padding:10px 11px}
  body.h6-preview .v2-home .h9-continue-head{gap:8px;margin-bottom:6px}
  body.h6-preview .v2-home .h9-continue-head h2{font-size:17px;line-height:1.25}
  body.h6-preview .v2-home .h9-view-history{min-height:44px;padding:5px 0 5px 5px;font-size:9px}
  body.h6-preview .v2-home .h9-demo-note,body.h6-preview .v2-home .h9-history-note{font-size:10px;margin:-2px 0 7px;padding:2px 6px}
  body.h6-preview .v2-home .h9-continue-list{gap:9px}
  body.h6-preview .v2-home .h9-continue-card{flex-basis:64px;width:64px;min-height:71px;display:block}
  body.h6-preview .v2-home .h9-continue-card>img{width:57px;height:57px;border-radius:11px}
  body.h6-preview .v2-home .h9-continue-card>span:not(.h9-resume-icon){display:block;width:64px;max-width:64px;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;font-size:9px;line-height:1.4}
  body.h6-preview .v2-home .h9-resume-icon{left:39px;top:39px}
  .v2-ad-mobile{width:100%;padding:13px 0}
  .v2-collection-panel{padding:17px}
  .v2-collection-panel h2{font-size:20px}
  .v2-collection-links{grid-template-columns:minmax(0,1fr);gap:9px}
  .v2-collection-links>a{flex-wrap:nowrap;min-height:70px;padding:9px 11px}
  .v2-collection-links>a>.ui-icon{display:block}
  .v2-collection-links strong{font-size:13px}
  .v2-collection-links small{font-size:11px}
}
@media(max-width:359px){
  :root{--h6-pad:10px}
  .v2-home-heading h1{font-size:19px}
  .v2-home-heading>a{font-size:9px;padding-inline:7px}
  .v2-game-grid{gap:9px}
  .v2-tile-caption,.v2-mosaic .v2-tile-large .v2-tile-caption{padding-inline:8px}
  .v2-section-head h2{font-size:18px}
  body.h6-preview .v2-home .h9-continue-head h2{font-size:16px}
  .v2-ad-mobile{margin-inline:-10px;width:calc(100% + 20px);max-width:calc(100% + 20px)}
}
@media(max-height:500px) and (orientation:landscape){
  body.h6-preview.v2-shell>.header{min-height:56px;padding-block:5px}
  .v2-home-heading{margin-bottom:3px}
  .v2-home-heading h1{font-size:21px}
  .v2-category-strip{margin-bottom:11px}
}
html[data-theme=dark] .v2-category-chip{background:var(--h6-panel);color:var(--h6-ink);border-color:var(--h6-line)}
html[data-theme=dark] :is(.v2-tile,.v2-collection-panel,.v2-collection-links>a){background:var(--h6-panel);border-color:var(--h6-line)}
html[data-theme=dark] .v2-collection-panel :is(h2,p,strong,small){color:var(--h6-ink)}
html[data-theme=dark] body.h6-preview .v2-home .h9-continue{background:var(--h6-panel);border-color:var(--h6-line)}
html[data-theme=dark] .v2-ad-box{background:var(--h6-panel);border-color:var(--h6-line);color:var(--h6-muted)}
@media(prefers-reduced-motion:reduce){.v2-tile,.v2-tile-art>img,.v2-category-chip{transition:none}}
