/* Colour study 07 — a logo-led light world, with a stable colour per category.
   Solid label colours have white-text contrast >=4.5:1. Artwork stays at right.
   Home teal; fashion pink; puzzles violet; solitaire green; board olive;
   driving blue; sports turquoise; adventure leaf; arcade orange; simulation blue.
   This layer changes presentation only. Native ad reservations stay unchanged. */

html[data-theme=light] body.h6-preview{
  --world-colour:#007d88;--world-ink:#00636c;--world-page:#edf8f5;--world-soft:#d9efea;--world-line:#b8dad1;
  --h6-bg:var(--world-page);--h6-panel:#fff;--h6-ink:#173c3e;--h6-muted:#476265;
  --h6-accent:var(--world-ink);--h6-soft:var(--world-soft);--h6-line:var(--world-line);
  --bg:var(--world-page);--panel:#fff;--raised:var(--world-soft);--muted:#476265;
  --line:var(--world-line);--accent:var(--world-ink);--soft-accent:var(--world-soft);
  background:var(--world-page);color:var(--h6-ink);
}
html[data-theme=light] body.h6-preview[data-colour-world=dress-up]{--world-colour:#b6227c;--world-ink:#951b65;--world-page:#fcf0f7;--world-soft:#f9deee;--world-line:#ecc6dc}
html[data-theme=light] body.h6-preview[data-colour-world=puzzle]{--world-colour:#7548b8;--world-ink:#603996;--world-page:#f4f0fc;--world-soft:#eadef8;--world-line:#d8c8ec}
html[data-theme=light] body.h6-preview[data-colour-world=solitaire]{--world-colour:#24784c;--world-ink:#1b623c;--world-page:#eef8ef;--world-soft:#dcefdc;--world-line:#bedbc4}
html[data-theme=light] body.h6-preview[data-colour-world=board]{--world-colour:#567523;--world-ink:#425c19;--world-page:#f5f8ed;--world-soft:#e6edcf;--world-line:#cdd9af}
html[data-theme=light] body.h6-preview[data-colour-world=driving]{--world-colour:#2169b2;--world-ink:#1b5592;--world-page:#edf5fd;--world-soft:#dceaf9;--world-line:#bdd3ed}
html[data-theme=light] body.h6-preview[data-colour-world=sports]{--world-colour:#087c7b;--world-ink:#066361;--world-page:#edf8f7;--world-soft:#d5eeea;--world-line:#b4dcd6}
html[data-theme=light] body.h6-preview[data-colour-world=adventure]{--world-colour:#31833b;--world-ink:#24682d;--world-page:#f0f8ed;--world-soft:#dfefd5;--world-line:#c2dcb5}
html[data-theme=light] body.h6-preview[data-colour-world=arcade]{--world-colour:#ac561b;--world-ink:#8a4214;--world-page:#fff5eb;--world-soft:#fce5cd;--world-line:#eaccad}
html[data-theme=light] body.h6-preview[data-colour-world=simulation]{--world-colour:#4269b2;--world-ink:#345592;--world-page:#f0f4fc;--world-soft:#dfe7f9;--world-line:#c2d0ed}

/* The same category key colours navigation, collection tiles and card labels. */
html[data-theme=light] body.h6-preview [data-category]{--category:var(--world-colour);--category-ink:var(--world-ink);--category-soft:var(--world-soft);--category-line:var(--world-line)}
html[data-theme=light] body.h6-preview [data-category=dress-up]{--category:#b6227c;--category-soft:#f9deee;--category-line:#ecc6dc}
html[data-theme=light] body.h6-preview [data-category=puzzle]{--category:#7548b8;--category-soft:#eadef8;--category-line:#d8c8ec}
html[data-theme=light] body.h6-preview [data-category=solitaire]{--category:#24784c;--category-soft:#dcefdc;--category-line:#bedbc4}
html[data-theme=light] body.h6-preview [data-category=board]{--category:#567523;--category-soft:#e6edcf;--category-line:#cdd9af}
html[data-theme=light] body.h6-preview [data-category=driving]{--category:#2169b2;--category-soft:#dceaf9;--category-line:#bdd3ed}
html[data-theme=light] body.h6-preview [data-category=sports]{--category:#087c7b;--category-soft:#d5eeea;--category-line:#b4dcd6}
html[data-theme=light] body.h6-preview [data-category=adventure]{--category:#31833b;--category-soft:#dfefd5;--category-line:#c2dcb5}
html[data-theme=light] body.h6-preview [data-category=arcade]{--category:#ac561b;--category-soft:#fce5cd;--category-line:#eaccad}
html[data-theme=light] body.h6-preview [data-category=simulation]{--category:#4269b2;--category-soft:#dfe7f9;--category-line:#c2d0ed}
/* Deeper ink is used for small text on tinted panels; solid banners retain
   their brighter colours. White-card labels keep the banner colour. */
html[data-theme=light] body.h6-preview [data-category=dress-up]{--category-ink:#951b65}
html[data-theme=light] body.h6-preview [data-category=puzzle]{--category-ink:#603996}
html[data-theme=light] body.h6-preview [data-category=solitaire]{--category-ink:#1b623c}
html[data-theme=light] body.h6-preview [data-category=board]{--category-ink:#425c19}
html[data-theme=light] body.h6-preview [data-category=driving]{--category-ink:#1b5592}
html[data-theme=light] body.h6-preview [data-category=sports]{--category-ink:#066361}
html[data-theme=light] body.h6-preview [data-category=adventure]{--category-ink:#24682d}
html[data-theme=light] body.h6-preview [data-category=arcade]{--category-ink:#8a4214}
html[data-theme=light] body.h6-preview [data-category=simulation]{--category-ink:#345592}

html[data-theme=light] body.h6-preview>.header{border-bottom:3px solid var(--world-colour);background:#fff}
html[data-theme=light] body.h6-preview .header .brand>span:last-child>span{color:var(--world-colour)}
html[data-theme=light] body.h6-preview .header .search{background:var(--world-page);border-color:var(--world-line)}
html[data-theme=light] body.h6-preview .header .search:focus-within{border-color:var(--world-colour);box-shadow:0 0 0 3px var(--world-soft)}
html[data-theme=light] body.h6-preview :where(a,button,input,select,summary):focus-visible{outline-color:var(--world-colour)}
html[data-theme=light] body.h6-preview>.sidebar{background:#fff;border-right-color:var(--world-line)}
html[data-theme=light] body.h6-preview .sidebar [data-category] .nav-icon{color:var(--category)}
html[data-theme=light] body.h6-preview .sidebar .nav-link[data-category]:hover,
html[data-theme=light] body.h6-preview .sidebar .nav-link[data-category].active{color:var(--category-ink);background:var(--category-soft)}
html[data-theme=light] body.h6-preview .h6-chip[data-category]{background:var(--category-soft);color:var(--category-ink);border-color:var(--category-line)}
html[data-theme=light] body.h6-preview .h6-chip[data-category] .ui-icon{color:inherit}

/* Structural layout remains available in the optional dark comparison. */
body.h6-preview .h7-masthead{position:relative;min-width:0;margin-bottom:28px;padding:24px;border:1px solid var(--h6-line);border-radius:22px;background:var(--h6-soft)}
body.h6-preview .h7-masthead>.h6-intro{position:relative;align-items:center;gap:20px;margin-bottom:20px}
body.h6-preview .h7-masthead>.h6-intro h1{font-size:clamp(28px,2.1vw,37px);line-height:1.13;letter-spacing:-.85px}
body.h6-preview .h7-masthead>.h6-intro p{font-size:13px;line-height:1.65}
body.h6-preview .h7-masthead>.h6-intro .h6-all-link{padding:10px 14px;border:1px solid var(--h6-line);border-radius:10px;background:var(--h6-panel)}
body.h6-preview .h7-worlds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0;margin:0}
body.h6-preview .h7-world-card{position:relative;display:flex;align-items:center;isolation:isolate;min-width:0;min-height:112px;overflow:hidden;padding:16px 18px;border:1px solid #ffffff30;border-radius:16px;background:var(--category,var(--h6-accent));color:#fff;box-shadow:0 3px 0 #123b3b0a;transition:transform .16s ease,box-shadow .16s ease}
body.h6-preview .h7-world-card:hover{transform:translateY(-2px);box-shadow:0 5px 10px #173c3e1a}
body.h6-preview .h7-world-copy{position:relative;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:58%;min-width:0}
body.h6-preview .h7-world-copy small{display:block;max-width:100%;font-size:10px;font-weight:550;line-height:1.3;letter-spacing:.1px;color:#fff}
body.h6-preview .h7-world-copy strong{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font:650 23px/1.1 var(--h6-heading);letter-spacing:-.4px;overflow-wrap:anywhere;color:#fff}
body.h6-preview .h7-world-icon{position:absolute;z-index:4;top:10px;right:10px;display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffffff38;border-radius:9px;background:#ffffff15;color:#fff}
body.h6-preview .h7-world-icon .ui-icon{width:16px;height:16px}
body.h6-preview .h7-world-art{position:absolute;z-index:1;inset:0 0 0 auto;display:block;width:42%;min-width:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,transparent 0,#000 24%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 24%)}
body.h6-preview .h7-world-art>img{position:absolute;display:block;width:80%;height:118%;max-width:none;object-fit:cover;object-position:center;border:3px solid #ffffffcf;border-radius:12px;box-shadow:0 3px 12px #062b3929}
body.h6-preview .h7-world-art>img:first-child{top:-8%;right:29%;transform:rotate(-9deg)}
body.h6-preview .h7-world-art>img:nth-child(2){top:18%;right:-16%;transform:rotate(10deg)}
html[data-theme=light] body.h6-preview .h7-masthead{background:#d4eee5;border-color:#a9d5c6;box-shadow:0 2px 0 #ffffffa6 inset}
html[data-theme=light] body.h6-preview .h7-masthead>.h6-intro h1{color:#114c4c}
html[data-theme=light] body.h6-preview .h7-masthead>.h6-intro p{color:#3b6362}
html[data-theme=light] body.h6-preview .h7-masthead>.h6-intro .h6-all-link{border-color:#a5cfc4;background:#fff;color:#006a74}
html[data-theme=light] body.h6-preview .h7-world-card:focus-visible{outline-color:#173c3e;outline-offset:3px}

/* Category landing: the colour world continues after the first click. */
body.h6-preview .h7-collection-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-width:0;min-height:178px;overflow:hidden;margin:0 0 24px;padding:28px 30px;border-radius:20px;background:var(--category,var(--h6-accent));color:#fff}
body.h6-preview .h7-collection-hero>div:first-child{position:relative;z-index:3;max-width:65%;min-width:0}
body.h6-preview .h7-collection-hero h1{max-width:25ch;margin:0;font:650 clamp(28px,2.5vw,40px)/1.1 var(--h6-heading);letter-spacing:-.8px;color:#fff}
body.h6-preview .h7-collection-hero p{max-width:60ch;margin:10px 0 0;font-size:13px;line-height:1.7;color:#fff}
body.h6-preview .h7-collection-hero small{display:block;margin-top:10px;font-size:11px;line-height:1.5;color:#fff}
body.h6-preview .h7-collection-hero .h7-world-art{width:32%}
body.h6-preview .h7-collection-hero .h7-world-art>img{width:72%}
body.h6-preview .h7-collection-hero .h7-world-icon{position:static;width:36px;height:36px;margin-bottom:12px}
body.h6-preview .h7-collection-hero .h7-world-icon .ui-icon{width:22px;height:22px}
body.h6-preview .h7-collection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:22px}
body.h6-preview .h7-collection-toolbar .h6-chips{flex:1 1 600px;gap:7px;min-width:0;margin:0;padding:3px}
body.h6-preview .h7-collection-toolbar .sort-row{display:flex;align-items:center;gap:8px;flex:none;margin:0 0 0 auto;font-size:12px;color:var(--h6-muted)}
body.h6-preview .h7-collection-toolbar .sort-row select{min-width:0;max-width:190px;min-height:44px;padding:8px 10px;border:1px solid var(--h6-line);border-radius:9px;background:var(--h6-panel);color:var(--h6-ink);font-size:12px}

/* Category cues stay on white cards, separate from the reserved ad spaces. */
html[data-theme=light] body.h6-preview .h6-section[data-category]>.h6-section-head{padding:8px 12px 8px 16px;border-left:4px solid var(--category);border-radius:4px 12px 12px 4px;background:var(--category-soft)}
html[data-theme=light] body.h6-preview .h6-section[data-category]>.h6-section-head h2{color:var(--category-ink)}
html[data-theme=light] body.h6-preview .h6-section[data-category]>.h6-section-head>a{color:var(--category-ink)}
html[data-theme=light] body.h6-preview .h6-card{border-color:#d3e4df;background:#fff;box-shadow:0 2px 0 #17615905}
html[data-theme=light] body.h6-preview .h6-card:hover{border-color:var(--category,var(--world-colour));box-shadow:0 5px 14px #154b4512}
html[data-theme=light] body.h6-preview .h6-card-caption{border-top:3px solid var(--category-soft,var(--world-soft));padding-top:7px}
html[data-theme=light] body.h6-preview .h6-card-category{color:var(--category,var(--world-colour));font-weight:500}
html[data-theme=light] body.h6-preview .h6-card-category:before{content:'';display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:currentColor;vertical-align:1px}
html[data-theme=light] body.h6-preview .h6-collection-card[data-category]{border-color:var(--category-line);border-left:4px solid var(--category);background:#fff}
html[data-theme=light] body.h6-preview .h6-collection-card[data-category]:hover{background:var(--category-soft)}
html[data-theme=light] body.h6-preview .h6-collection-card[data-category] strong{color:var(--category)}
html[data-theme=light] body.h6-preview .h6-collection-card[data-category]:hover strong{color:var(--category-ink)}
html[data-theme=light] body.h6-preview .h6-house{border-color:var(--world-line);background:var(--world-soft)}
html[data-theme=light] body.h6-preview .h6-about{border-color:var(--world-line);background:#fff}
html[data-theme=light] body.h6-preview .h6-about>summary{color:var(--world-colour)}
html[data-theme=light] body.h6-preview .h6-footer{border-color:var(--world-line);border-top:5px solid var(--world-colour);background:#fff}
html[data-theme=light] body.h6-preview .h6-footer :where(h2,h3){color:#234f50}
html[data-theme=light] body.h6-preview .h6-footer :where(a,button){color:#3d6263}
html[data-theme=light] body.h6-preview .h6-footer :where(a,button):hover,
html[data-theme=light] body.h6-preview .h6-footer-languages [aria-pressed=true]{color:var(--world-colour)}
html[data-theme=light] body.h6-preview .h6-ad{color:#566d78}
html[data-theme=light] body.h6-preview .h6-ad-box{border-color:#bccbd2;background:#f3f6f8;color:#506672}
html[data-theme=light] body.h6-preview .h6-ad>span,
html[data-theme=light] body.h6-preview .h6-ad>p{color:#566d78}

@media(min-width:1680px){body.h6-preview .h7-world-card{min-height:116px}body.h6-preview .h7-world-copy strong{font-size:25px}}
@media(max-width:1199px){body.h6-preview .h7-masthead{padding:21px}body.h6-preview .h7-world-card{min-height:104px;padding:15px}body.h6-preview .h7-world-copy strong{font-size:21px}}
@media(max-width:899px){body.h6-preview .h7-masthead{padding:19px;margin-bottom:25px;border-radius:19px}body.h6-preview .h7-worlds{gap:10px}body.h6-preview .h7-world-card{min-height:100px;padding:14px}body.h6-preview .h7-world-copy strong{font-size:19px}body.h6-preview .h7-world-copy small{font-size:9px}body.h6-preview .h7-collection-hero{min-height:160px;padding:25px}.h7-collection-hero p{font-size:12px}}
@media(max-width:649px){
  body.h6-preview .h7-masthead{margin-bottom:24px;padding:16px 12px;border-radius:17px}
  body.h6-preview .h7-masthead>.h6-intro{align-items:flex-start;flex-wrap:wrap;gap:9px;margin-bottom:15px;padding-inline:2px}
  body.h6-preview .h7-masthead>.h6-intro>div{flex:1 1 100%}
  body.h6-preview .h7-masthead>.h6-intro h1{font-size:27px;line-height:1.13;letter-spacing:-.55px}
  body.h6-preview .h7-masthead>.h6-intro p{margin-top:7px;font-size:12px;line-height:1.65}
  body.h6-preview .h7-masthead>.h6-intro .h6-all-link{min-height:44px;padding:8px 11px;border-radius:8px;font-size:10px}
  body.h6-preview .h7-worlds{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.h6-preview .h7-world-card{min-height:88px;padding:12px 10px;border-radius:12px}
  body.h6-preview .h7-world-copy{gap:5px;max-width:70%}
  body.h6-preview .h7-world-copy strong{font-size:16px;line-height:1.1;letter-spacing:-.2px}
  body.h6-preview .h7-world-copy small{font-size:8px;line-height:1.25}
  body.h6-preview .h7-world-art{width:30%;mask-image:linear-gradient(to right,transparent 0,#000 22%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 22%)}
  body.h6-preview .h7-world-art>img{border-width:2px;border-radius:8px}
  body.h6-preview .h7-world-icon{top:6px;right:6px;width:20px;height:20px;border-radius:6px}
  body.h6-preview .h7-world-icon .ui-icon{width:12px;height:12px}
  body.h6-preview .h7-collection-hero{min-height:145px;margin-bottom:20px;padding:21px 18px;border-radius:16px}
  body.h6-preview .h7-collection-hero>div:first-child{max-width:72%}
  body.h6-preview .h7-collection-hero h1{font-size:28px;line-height:1.1;letter-spacing:-.5px}
  body.h6-preview .h7-collection-hero p{font-size:11px;line-height:1.6}
  body.h6-preview .h7-collection-hero .h7-world-art{width:27%}
  body.h6-preview .h7-collection-hero .h7-world-icon{top:10px;right:10px;width:26px;height:26px}
  body.h6-preview .h7-collection-hero .h7-world-icon .ui-icon{width:16px;height:16px}
  body.h6-preview .h7-collection-toolbar{gap:10px;margin-bottom:19px}
  body.h6-preview .h7-collection-toolbar .h6-chips{flex-basis:100%;max-width:100%;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 3px 6px;scrollbar-width:none}
  html[data-theme=light] body.h6-preview .h6-section[data-category]>.h6-section-head{padding:10px 9px 10px 11px;border-left-width:3px}
  html[data-theme=light] body.h6-preview .h6-section[data-category]>.h6-section-head h2{font-size:20px}
}
@media(max-width:359px){body.h6-preview .h7-masthead{padding:14px 10px}.h7-masthead>.h6-intro h1{font-size:25px}body.h6-preview .h7-world-card{min-height:84px;padding:10px 8px}body.h6-preview .h7-world-copy{max-width:70%}body.h6-preview .h7-world-copy strong{font-size:14px}body.h6-preview .h7-world-copy small{font-size:8px}body.h6-preview .h7-world-art{width:27%}}
@media(prefers-reduced-motion:reduce){body.h6-preview .h7-world-card{transition:none}}
