/* Design G "Crazy Moderne" : white, indigo #4f46e5, ink #1c1a3a, lemon #facc15 */
:root{--ink:#1c1a3a;--ink2:#3a3953;--mut:#5b5a70;--mut2:#45445e;--ind:#4f46e5;--ind-d:#4338ca;--ind-l:#eef0ff;--lem:#facc15;--bg2:#f3f3f9;--line:#e8e8f1;--line2:#d9d8e6;--r:12px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.G{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.55}
.G a{color:inherit;text-decoration:none}
.G img{max-width:100%;height:auto}
.G h1,.G h2,.G h3,.G h4,.G p{margin:0}
.G button{font:inherit}
.H,.G h1,.G h2,.G h3{font-family:"Schibsted Grotesk",Inter,sans-serif;letter-spacing:-.025em}
.wr{max-width:1240px;margin:0 auto;padding:0 32px;width:100%}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--ink);color:#fff;padding:10px 14px;border-radius:10px}
.skip:focus{left:8px}
.G :focus-visible{outline:3px solid var(--ind);outline-offset:2px;border-radius:6px}
.ic{width:20px;height:20px;flex:none}
.kick{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ind)}
.lab{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}
.mut{color:var(--mut)}

/* Buttons and chips */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r);background:var(--ind);color:#fff!important;border:0;font-weight:700;font-size:15px;cursor:pointer;white-space:nowrap;text-decoration:none!important}
.btn:hover{background:var(--ind-d)}
.btn.ink{background:var(--ink)}
.btn.wh{background:#fff;color:var(--ink)!important}
.btn.gh{background:transparent;color:var(--ink)!important;border:1px solid #d4d3e3}
.btn.gh:hover{background:var(--bg2)}
.btn.lg{min-height:54px;padding:0 26px;font-size:16px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line2);background:#fff;font-weight:600;font-size:14.5px}
.chip:hover{border-color:var(--ink)}
.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.chip small{color:var(--mut);font-weight:500}
.chip.on small{color:#c9c8e0}

/* Header */
.hd{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
.hd .wr{display:flex;align-items:center;gap:20px;min-height:76px}
.logo img{height:56px;width:auto;display:block}
.nv{display:flex;gap:2px;background:var(--bg2);border-radius:14px;padding:4px}
.nv a{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:10px;font-weight:600;font-size:15px;color:var(--ink2)}
.nv a:hover,.nv a.open{background:#fff;color:var(--ink)}
.nv a.on{background:var(--ink);color:#fff}
.sp{margin-left:auto;display:flex;align-items:center;gap:10px}
.sb{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:var(--r);border:1px solid #dddcea;color:var(--mut);width:190px;background:#fff}
.sb:focus-within{border-color:var(--ind)}
.sb input{border:0;outline:0;font:inherit;font-size:15px;width:100%;min-width:0;color:var(--ink);background:transparent}
.flg{display:flex;gap:2px}
.flg a{display:flex;align-items:center;justify-content:center;width:38px;height:44px;border-radius:10px;opacity:.5}
.flg a:hover,.flg a.on{opacity:1}
.flg a.on{background:var(--bg2)}
.flg img{width:22px;height:15px;border-radius:3px;display:block;box-shadow:0 0 0 1px rgba(28,26,58,.12)}

/* Mega menus */
.mms{position:relative;z-index:39}
.mm{position:absolute;left:0;right:0;top:0;background:#fff;box-shadow:0 40px 60px -30px rgba(28,26,58,.55);border-radius:0 0 20px 20px;max-height:calc(100vh - 80px);overflow:auto}
.mm[hidden]{display:none}
body.mm-open::after{content:"";position:fixed;inset:77px 0 0;background:rgba(28,26,58,.45);z-index:38}
.mm-cols{display:grid;grid-template-columns:250px minmax(0,1fr) 290px;gap:36px;padding:32px 0 34px}
.mm-intro{display:flex;flex-direction:column;gap:12px}
.mm-h{font-size:44px;line-height:1;font-weight:800}
.mm-intro p:not(.mm-h){color:var(--mut2)}
.mm-mid{display:flex;flex-direction:column;gap:14px;min-width:0}
.mm-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.mm-rows a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:42px;border-bottom:1px solid var(--line);font-weight:600}
.mm-rows a:hover{color:var(--ind)}
.mm-rows span{color:var(--mut);font-weight:500;font-size:14px}
.mm-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mm-thumbs a{display:flex;flex-direction:column;gap:6px}
.mm-thumbs .th{display:flex;align-items:flex-end;aspect-ratio:3/2;border-radius:14px;overflow:hidden;background:var(--ind-l);position:relative}
.mm-thumbs .th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.th-t{padding:10px 12px;font-size:13px;line-height:1.35;font-weight:600}
.mm-thumbs b{font-size:14px;line-height:1.3}
.mm-feat{position:relative;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-height:380px;padding:24px}
.mm-feat .kick{font-size:12px}
.mm-ft{font-size:18px;line-height:1.4;font-weight:600}
.mm-feat.yellow{background:var(--lem);color:var(--ink)}
.mm-feat.yellow .kick{color:var(--ink)}
.mm-feat.ink{background:var(--ink);color:#fff}
.mm-feat.ink .kick{color:var(--lem)}
.mm-feat .btn{align-self:flex-start}
.mm-feat.photo{padding:0;background:var(--ink)}
.mm-feat.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mm-card{position:absolute;left:12px;right:12px;bottom:12px;background:#fff;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.mm-card .H{font-weight:800;font-size:20px;line-height:1.2}
.mm-play{display:flex;flex-direction:column;gap:18px;padding:22px 0 26px}
.mm-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.mm-tabs{display:flex;flex-wrap:wrap;gap:4px}
.mm-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:10px;font-weight:600}
.mm-tabs a:hover{background:var(--bg2);color:var(--ind)}
.mm-tabs small{color:var(--mut);font-weight:500}
.mm-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;grid-template-rows:190px 190px;gap:14px}
.tile{position:relative;border-radius:14px;overflow:hidden;background:var(--ink);display:block}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tile.big{grid-row:span 2}
.tile .cap{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 12px;background:linear-gradient(transparent,rgba(18,17,42,.88));color:#fff;display:flex;flex-direction:column}
.tile .cap b{font-size:15px;line-height:1.25}
.tile.big .cap b{font-family:"Schibsted Grotesk",Inter,sans-serif;font-size:24px}
.cap-k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fde047}
.mm-cats{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;padding-top:12px;border-top:1px solid var(--line)}
.mm-cats a{display:inline-flex;align-items:center;min-height:36px;font-weight:500;color:var(--ink2)}
.mm-cats a:hover{color:var(--ind)}

/* Ads */
.ad{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fafafb;border-radius:12px;overflow:hidden}
.ad-l{position:absolute;top:4px;left:8px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8a899c}
.ad ins{width:100%}
.lbw{padding-top:16px}
.ad-lb{min-height:100px;max-width:970px;margin:0 auto;padding-top:18px}
.ad-sq{min-height:270px;width:300px;padding-top:18px}
.ad-in{min-height:268px;max-width:728px;margin:8px auto;padding-top:18px;width:100%}
.ad ins.g-ad-fix{width:300px;height:250px}
@media (min-width:768px){.ad-in{min-height:298px}.ad-in ins.g-ad-fix{width:336px;height:280px}}

/* Page grid */
.g-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start;padding-top:24px}
.g-grid.full{grid-template-columns:minmax(0,1fr)}
.g-content{min-width:0;display:flex;flex-direction:column;gap:28px}
.g-aside{position:sticky;top:96px;display:flex;flex-direction:column;gap:20px}
.aside-rnd{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:16px;background:var(--bg2)}
.aside-rnd b{font-size:20px;line-height:1.2}
.aside-rnd .btn{align-self:flex-start}
.g-head{display:flex;flex-direction:column;gap:10px}
.g-head h1{font-size:44px;line-height:1.05;font-weight:800}
.bc{display:flex;flex-wrap:wrap;gap:6px 8px;font-size:14px;color:var(--mut)}
.bc a{text-decoration:underline;text-underline-offset:2px}
.bc a:hover{color:var(--ind)}
.bc [aria-current]{color:var(--ink)}

/* Shared blocks for templates */
.sec{display:flex;flex-direction:column;gap:16px}
.sec-h{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.sec-h h2{font-size:30px;line-height:1.05;font-weight:800}
.more{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:600;color:var(--ind)}
.more:hover{text-decoration:underline}
.lead{font-size:18px;color:var(--mut2)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cards.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{display:flex;flex-direction:column;gap:10px;min-width:0}
.card .th{display:block;aspect-ratio:5/3;border-radius:var(--r);overflow:hidden;background:var(--line)}
.card .th img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.card:hover .th img{transform:scale(1.04)}
.card b,.card h3{font-size:17px;line-height:1.3;font-weight:700;font-family:Inter,sans-serif;letter-spacing:0}
.card:hover b,.card:hover h3{color:var(--ind)}
.card .meta{font-size:13.5px;color:var(--mut)}
.box{border-radius:16px;background:var(--bg2);padding:24px}
.box.yellow{background:var(--lem)}
.box.ink{background:var(--ink);color:#fff}
.box.line{background:#fff;border:1px solid var(--line)}
.fun{background:var(--lem);color:var(--ink);border-radius:20px;padding:36px 40px;display:flex;flex-direction:column;gap:18px}
.fun .H{font-size:26px;line-height:1.45;font-weight:500;letter-spacing:-.01em}
.answer{border-radius:14px;background:#fff;padding:18px 20px;font-weight:600}
.rows{display:flex;flex-direction:column}
.rows>a,.rows>div{display:flex;flex-direction:column;gap:4px;padding:16px 0;border-top:1px solid var(--line)}
.rows>a:hover b{color:var(--ind)}
.rows b{font-size:17px}
.pn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pn a{display:flex;flex-direction:column;gap:4px;padding:18px 22px;border-radius:14px;background:var(--bg2)}
.pn a:hover{background:var(--ind-l)}
.pn a:last-child{text-align:right;align-items:flex-end}
.pn b{font-family:"Schibsted Grotesk",Inter,sans-serif;font-size:18px}
.acts{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tags a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:var(--bg2);font-size:13.5px;font-weight:600;color:var(--ink2)}
.tags a:hover{background:var(--ind-l);color:var(--ind)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.facts>div{background:var(--bg2);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.facts span{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.facts b{font-size:16px}
.player{position:relative;border-radius:16px;overflow:hidden;background:var(--ink)}
.player iframe,.player video,.player object,.player embed,.player ruffle-player{display:block;width:100%;border:0}
.ratio{position:relative;aspect-ratio:16/9}
.ratio>*{position:absolute;inset:0;width:100%;height:100%}

/* Long text coming from the database */
.prose{font-size:17px;line-height:1.7;color:#2a2945}
.prose>*+*{margin-top:1em}
.prose h2{font-size:28px;line-height:1.15;margin-top:1.4em}
.prose h3{font-size:22px;line-height:1.2;margin-top:1.2em}
.prose a{color:var(--ind);text-decoration:underline;text-underline-offset:2px}
.prose img{border-radius:12px}
.prose ul,.prose ol{padding-left:1.3em}
.prose blockquote{margin:0;padding:6px 0 6px 20px;border-left:4px solid var(--ind);font-size:19px;color:var(--ink)}
.prose table,.G table.table{border-collapse:collapse;width:100%;font-size:15px}
.prose td,.prose th,.G table.table td,.G table.table th{border-bottom:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.prose iframe{max-width:100%;border:0;border-radius:12px}

/* Pagination */
.pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding-top:8px}
.pager a,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--line2);font-weight:600}
.pager a:hover{border-color:var(--ink)}
.pager .on,.pager .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Forms */
.form{display:flex;flex-direction:column;gap:16px;max-width:620px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:14.5px}
.G input[type=text],.G input[type=email],.G input[type=password],.G input[type=search]:not(#g-q),.G select,.G textarea{font:inherit;font-size:16px;min-height:48px;padding:10px 14px;border-radius:var(--r);border:1px solid var(--line2);background:#fff;color:var(--ink);width:100%}
.G textarea{min-height:160px;resize:vertical}
.G input:focus,.G select:focus,.G textarea:focus{outline:0;border-color:var(--ind);box-shadow:0 0 0 3px var(--ind-l)}
.G input[type=submit],.G button[type=submit]{font:inherit;font-weight:700;min-height:48px;padding:0 22px;border-radius:var(--r);background:var(--ind);color:#fff;border:0;cursor:pointer}
.msg{border-radius:12px;padding:14px 16px;font-weight:600}
.msg.ok{background:#e7f6ec;color:#11703f}
.msg.err{background:#fdecea;color:#b42318}

/* Home */
.home-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:stretch}
.home-hero h1{font-size:54px;line-height:1;font-weight:800}
.home-hero h1 span{color:var(--ind)}
.tiles4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.utile{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:14px;background:var(--bg2);min-height:140px}
.utile:hover{background:var(--ind-l)}
.utile .ib{width:44px;height:44px;border-radius:14px;background:#fff;color:var(--ind);display:flex;align-items:center;justify-content:center}
.utile b{font-size:19px;font-family:"Schibsted Grotesk",Inter,sans-serif}
.utile small{display:block;color:var(--mut);font-size:14px}
.hero-img{position:relative;border-radius:20px;overflow:hidden;background:var(--ink);min-height:420px;display:block}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.trio>*{border-radius:16px;padding:26px;display:flex;flex-direction:column;gap:14px}
.arc{background:var(--ink);color:#fff;border-radius:20px;padding:36px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px}
.arc .kick{color:#fde047}
.arc p{color:#c9c8e0}

/* Footer */
.sft{margin-top:96px;background:var(--ink);color:#bdbcd6;font-size:14.5px;line-height:1.5}
.sft .top{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(5,minmax(0,1fr));gap:28px;padding:56px 0 36px}
.sft .brand{display:flex;flex-direction:column;gap:14px;padding-right:16px}
.sft .brand img{height:72px;width:auto}
.sft .fh{margin:0 0 10px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.sft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sft li a,.sft .lnk a{display:inline-flex;align-items:center;min-height:32px}
.sft a:hover{color:#fff;text-decoration:underline}
.sft .bot{display:flex;flex-wrap:wrap;gap:14px 28px;justify-content:space-between;align-items:center;padding:18px 0 28px;border-top:1px solid rgba(255,255,255,.12);font-size:13.5px}
.sft .lnk{display:flex;gap:4px 18px;flex-wrap:wrap}
.sft .lnk a.on{color:#fff;font-weight:700}

/* Mobile tab bar */
.tabbar{display:none}

/* Legacy templates (not yet converted): keep them readable */
.legacy{font-size:16px}
.legacy .panel{margin-bottom:24px}
.legacy .p-title h2,.legacy h2{font-size:26px;line-height:1.15;margin:0 0 12px}
.legacy ul{padding-left:1.2em}
.legacy .paragraph-row{display:flex;flex-wrap:wrap;gap:20px}
.legacy .item{margin-bottom:12px}
.legacy .clear-float{clear:both}
.legacy a{color:var(--ind)}
.legacy .fa{display:none}

@media (max-width:1100px){
	.sb{width:44px;padding:0;justify-content:center}
	.sb input{position:absolute;opacity:0;width:1px}
	.sb:focus-within{width:220px;padding:0 12px}
	.sb:focus-within input{position:static;opacity:1;width:100%}
	.rnd span{display:none}
	.mm-cols{grid-template-columns:220px minmax(0,1fr)}
	.mm-feat{display:none}
}
@media (max-width:1000px){
	.hd .wr{flex-wrap:wrap;gap:10px 14px;padding-top:8px;padding-bottom:8px}
	.nv{order:3;width:100%;overflow-x:auto}
	.nv a{flex:1;justify-content:center;padding:0 10px}
	.flg{display:none}
	.mms{display:none}
	.g-grid{grid-template-columns:minmax(0,1fr)}
	.g-aside{position:static;align-items:center}
	.home-hero,.arc{grid-template-columns:1fr}
	.trio{grid-template-columns:1fr}
	.sft .top{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sft .brand{grid-column:1/-1}
	body.G{padding-bottom:72px}
	.tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);height:68px;padding:0 6px env(safe-area-inset-bottom)}
	.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11.5px;font-weight:600;color:var(--mut)}
	.tabbar a.on{color:var(--ind)}
	.tb-b{width:48px;height:48px;margin-top:-22px;border-radius:999px;background:var(--ind);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(79,70,229,.4)}
	.tb-rnd{color:var(--ind)!important}
}
@media (max-width:760px){
	.wr{padding:0 16px}
	.logo img{height:44px}
	.nv{display:none}
	.g-head h1{font-size:32px}
	.home-hero h1{font-size:38px}
	.cards,.cards.c4{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.cards.c2,.pn{grid-template-columns:1fr}
	.fun{padding:26px 22px}
	.fun .H{font-size:21px}
	.ad-lb{min-height:60px}
	.mm-grid{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){.card .th img{transition:none}}

/* Language selector: round flag + code, opens the other languages */
.flag{display:block;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px rgba(28,26,58,.14);flex:none}
.lng{position:relative}
.lng summary{list-style:none;display:flex;align-items:center;gap:8px;height:44px;padding:0 10px 0 8px;border-radius:var(--r);border:1px solid #dddcea;font-weight:700;font-size:14px;cursor:pointer;user-select:none}
.lng summary::-webkit-details-marker{display:none}
.lng summary:hover{border-color:var(--ink)}
.lng .chv{width:16px;height:16px;color:var(--mut);transition:transform .15s}
.lng[open] .chv{transform:rotate(180deg)}
.lng-m{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px -12px rgba(28,26,58,.35);padding:6px;display:flex;flex-direction:column}
.lng-m a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:10px;font-weight:600}
.lng-m a:hover{background:var(--bg2)}
.lng-m a.on{background:var(--ind-l);color:var(--ind)}
@media (max-width:1000px){.lng summary span{display:none}}

/* Phones: filter chips on a single row that scrolls sideways */
@media (max-width:760px){
	.chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.chips::-webkit-scrollbar{display:none}
	.chips .chip,.chips>a{flex:none}
}

/* Account / log in button in the header */
.acc{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:var(--r);border:1px solid #dddcea;font-weight:600;font-size:14.5px;white-space:nowrap}
.acc:hover{border-color:var(--ink)}
.acc.on{background:var(--ind-l);border-color:var(--ind-l);color:var(--ind)}
@media (max-width:1100px){.acc{width:44px;padding:0;justify-content:center}.acc span{display:none}}

/* Phones: logo + 4 buttons on a single header row */
@media (max-width:760px){
	.hd .wr{flex-wrap:nowrap;gap:8px;min-height:64px;padding-top:6px;padding-bottom:6px}
	.logo img{height:40px}
	.sp{gap:6px}
	.sb,.acc,.rnd,.lng summary{height:40px}
	.sb,.acc{width:40px}
	.rnd{width:40px;padding:0;min-height:40px}
	.lng summary{padding:0 6px;gap:0}
	.lng .chv{display:none}
	.sb:focus-within{position:absolute;left:16px;right:16px;width:auto;z-index:2;background:#fff}
}

/* Never scroll sideways (ad frames can be a few pixels wider than the screen); clip keeps the sticky header working */
html,body.G{overflow-x:clip}

/* Phones and tablets: menu button in the header + drawer with every universe and its sections */
.brg{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:var(--r);border:0;background:var(--ink);color:#fff;cursor:pointer;flex:none}
.drw{position:fixed;inset:0;z-index:2147483647;background:rgba(28,26,58,.5);display:flex;justify-content:flex-end}
.drw[hidden]{display:none}
.drw-in{width:min(380px,88vw);height:100%;background:#fff;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;padding-bottom:28px;animation:drw-in .2s ease-out}
@keyframes drw-in{from{transform:translateX(100%)}}
.drw-hd{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:0 16px;background:#fff;border-bottom:1px solid var(--line)}
.drw-hd .H{font-size:22px;font-weight:800}
.drw-x{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:var(--r);background:var(--bg2);color:var(--ink);cursor:pointer}
.drw-u{border-bottom:1px solid var(--line)}
.drw-u summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:58px;padding:0 16px;font-weight:700;font-size:18px;cursor:pointer;user-select:none}
.drw-u summary::-webkit-details-marker{display:none}
.drw-u summary .ic{width:22px;height:22px;color:var(--ind)}
.drw-u summary .chv{width:18px;height:18px;margin-left:auto;color:var(--mut);transition:transform .15s}
.drw-u[open] summary .chv{transform:rotate(180deg)}
.drw-u ul{list-style:none;margin:0;padding:0 16px 10px 50px}
.drw-u li a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;font-weight:500;color:var(--ink2)}
.drw-u li a:hover{color:var(--ind)}
.drw-u li a span{color:var(--mut);font-size:14px}
.drw-u li.all a{justify-content:flex-start;gap:8px;font-weight:700;color:var(--ind)}
.drw-u li.all .ic{width:16px;height:16px}
.drw-ft{padding:22px 16px 0}
.drw-ft .btn{width:100%}
@media (max-width:1000px){body.drw-open{overflow:hidden}}
@media (max-width:1000px){.brg{display:inline-flex}}
@media (min-width:1001px){.drw{display:none!important}}
@media (max-width:760px){.brg{width:40px;height:40px}.hd .rnd{display:none}}
@media (prefers-reduced-motion:reduce){.drw-in{animation:none}}

/* Facebook and X share links (added by g.js next to [data-share]) */
.btn.g-soc{width:44px;padding:0}
.btn.g-soc-fb:hover{color:#1877f2!important;border-color:#1877f2}
.btn.g-soc-x:hover{color:#000!important;border-color:#000}

/* 2026-11-22: bottom AdSense anchor shown -> tab bar and snow button sit on top of it (see g.js) */
.tabbar,.g-snow-btn{transition:transform .2s ease}
html.g-anc .tabbar,html.g-anc .g-snow-btn{transform:translateY(calc(-1 * var(--g-anc,0px)))}
@media (max-width:1000px){html.g-anc body.G{padding-bottom:calc(72px + var(--g-anc,0px))}}

/* Footer language links: space between flag and name */
.sft .lngs{gap:6px 26px}
.sft .lngs a{gap:9px}

/* Comments block */
.g-com{margin-top:48px;display:flex;flex-direction:column;gap:18px;max-width:820px}
.g-com-hd{display:flex;align-items:center;gap:12px}
.g-com-hd h2{font-size:26px;line-height:1.2}
.g-com-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--ind-l);color:var(--ind);flex:none}
.g-com-ic svg{width:22px;height:22px}
.g-com-n{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 9px;border-radius:999px;background:var(--ink);color:#fff;font-weight:700;font-size:14px}
.g-com-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.g-com-list li{display:flex;gap:14px;padding:18px 0;border-top:1px solid var(--line)}
.g-com-list li:first-child{border-top:0;padding-top:4px}
.g-com-av{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--ind);color:#fff;font-weight:700;font-size:17px;flex:none}
.g-com-av.gh{background:var(--bg2);color:var(--mut)}
.g-com-av svg{width:20px;height:20px}
.g-com-b{min-width:0;display:flex;flex-direction:column;gap:4px}
.g-com-m{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.g-com-m a:hover{color:var(--ind)}
.g-com-m time{color:var(--mut);font-size:13.5px}
.g-com-t{overflow-wrap:anywhere}
.g-com-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px;display:flex;flex-direction:column;gap:16px;box-shadow:0 10px 30px -22px rgba(28,26,58,.45)}
.g-com-fake{display:flex;align-items:center;gap:12px}
.g-com-ph{flex:1;min-width:0;display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:999px;background:var(--bg2);color:var(--mut);font-size:15.5px;transition:background .15s}
.g-com-fake:hover .g-com-ph{background:#ebebf5}
.g-com-lk{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:var(--mut);flex:none}
.g-com-lk svg{width:18px;height:18px}
.g-com-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding-top:16px;border-top:1px dashed var(--line2)}
.g-com-row p:first-child{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 280px}
.g-com-row p:first-child span{color:var(--mut);font-size:14.5px}
.g-com-btns{display:flex;flex-wrap:wrap;gap:10px}
.g-com-lead{font-weight:700}
.g-com-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.G .g-com-f textarea{min-height:120px}
.g-com-act{display:flex;justify-content:flex-end}
.g-com-off{font-size:15px}
@media (max-width:600px){
	.g-com-hd h2{font-size:22px}
	.g-com-card{padding:14px;border-radius:16px}
	.g-com-2{grid-template-columns:1fr}
	.g-com-btns{width:100%}
	.g-com-btns .btn{flex:1}
}

/* Chips, 2026-11-22 redesign: softer filled pills; long lists become a column index */
.chip{min-height:38px;padding:0 15px;gap:7px;border:1px solid transparent;background:var(--bg2);color:var(--ink2);font-size:14.5px;transition:background .15s,color .15s}
.chip:hover{border-color:transparent;background:#e7e7f3;color:var(--ink)}
.chip.on,.chip.on:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.chip small{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#fff;color:var(--mut);font-size:12px;font-weight:700}
.chip.on small{background:rgba(255,255,255,.16);color:#fff}
.box .chip{background:#fff}
.box .chip:hover{background:#ebebf6}
/* Index: lists of 13 links or more that are not a filter bar (no active chip) */
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13)){display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:0 28px;margin:0;padding:0;overflow:visible}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip{justify-content:space-between;min-height:42px;padding:0 10px;margin:0 -10px;border-radius:10px;background:none;border:0;font-weight:500;font-size:15px;color:var(--ink2);position:relative}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip::after{content:"";position:absolute;left:10px;right:10px;bottom:0;border-bottom:1px solid var(--line)}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip:hover{background:var(--bg2);color:var(--ind)}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip:hover::after{opacity:0}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13)) small{background:var(--bg2)}
.chips.cut>.x{display:none}
.chips-more{display:inline-flex;align-items:center;gap:8px;margin-top:14px;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line2);background:#fff;color:var(--ink);font-weight:700;font-size:14.5px;cursor:pointer}
.chips-more:hover{border-color:var(--ink)}
.chips-more svg{width:16px;height:16px;transition:transform .15s}
.chips-more[aria-expanded=true] svg{transform:rotate(180deg)}
@media (max-width:760px){
	/* filter bars keep the single sideways row, with a fade on the right edge */
	.chips:has(>.chip){-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
	.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13)){grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;-webkit-mask-image:none;mask-image:none}
	.chips:not(.gb-chips):not(:has(.on)):has(>.chip:nth-child(13))>.chip{font-size:14.5px}
}
.chips-more{align-self:flex-start;justify-self:start;width:auto;max-width:100%}

/* Chip rails, 2026-11-22: every chip bar that is not an index sits on ONE line that scrolls sideways (arrows on desktop, swipe on phones) */
.chips:has(>.chip){flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;scroll-behavior:smooth}
.chips:has(>.chip)::-webkit-scrollbar{display:none}
.chips:has(>.chip)>.chip{flex:none}
.g-rail{position:relative;min-width:0}
.g-rail>.chips{-webkit-mask-image:none;mask-image:none}
.g-rail.can-r>.chips{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 72px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 72px),transparent)}
.g-rail.can-l>.chips{-webkit-mask-image:linear-gradient(90deg,transparent,#000 72px);mask-image:linear-gradient(90deg,transparent,#000 72px)}
.g-rail.can-l.can-r>.chips{-webkit-mask-image:linear-gradient(90deg,transparent,#000 72px,#000 calc(100% - 72px),transparent);mask-image:linear-gradient(90deg,transparent,#000 72px,#000 calc(100% - 72px),transparent)}
.rl-b{position:absolute;top:50%;z-index:2;display:none;place-items:center;width:36px;height:36px;margin-top:-18px;padding:0;border-radius:50%;border:1px solid var(--line2);background:#fff;color:var(--ink);box-shadow:0 4px 14px -6px rgba(28,26,58,.35);cursor:pointer}
.rl-b:hover{border-color:var(--ink)}
.rl-b svg{width:18px;height:18px}
.rl-l{left:-4px}.rl-r{right:-4px}
.g-rail.can-l .rl-l,.g-rail.can-r .rl-r{display:grid}
@media (hover:none),(max-width:760px){.g-rail .rl-b{display:none!important}}

/* Category pages: intro text moved to the bottom (g_about() in lang.php), 2026-11-22 */
.g-about{display:flex;flex-direction:column;gap:10px;max-width:760px;padding-top:22px;border-top:1px solid var(--line)}
.g-about h2{font-size:22px;font-weight:700}
.g-about .prose{font-size:16px;color:var(--mut2)}
