/* Gibbix public site. Geometry from the approved mockups (canvas "Gibbix — макеты сайта", Р-23):
   computer — Main, Category, Quiz, Result (1440, content 1200 + 40 px sides); phone — Home-mobile, Category-mobile,
   Quiz-mobile (390). Phone values apply below 768 px. Brand Plum & Peach (Р-13). */

@font-face{font-family:Fredoka;font-weight:500;font-display:swap;src:url("../core/fonts/fredoka-500.b7c38d9f0c5c.woff2") format("woff2")}
@font-face{font-family:Fredoka;font-weight:600;font-display:swap;src:url("../core/fonts/fredoka-600.37be95cae21a.woff2") format("woff2")}
@font-face{font-family:Fredoka;font-weight:700;font-display:swap;src:url("../core/fonts/fredoka-700.7f793a98dfc3.woff2") format("woff2")}
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url("../core/fonts/inter-400.f34b21ec255f.woff2") format("woff2")}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url("../core/fonts/inter-500.fa0d9de641bc.woff2") format("woff2")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url("../core/fonts/inter-600.497f868d563b.woff2") format("woff2")}

:root{--plum:#7A1F5C;--plum-d:#5A1543;--night:#2A0E22;--peach:#FF9E7A;--pink:#FFF4F7;--pink2:#FBE7EF;--line:#F0D9E3;
  --line2:#E6C3D3;--muted:#6B4A5E;--soft:#E6C3D3;--ok:#16775A}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--pink);font-family:Inter,system-ui,sans-serif;color:var(--night);min-height:100vh;display:flex;flex-direction:column}
body>main{flex-grow:1}
a{color:var(--plum);text-decoration:none}a:hover{color:var(--plum-d)}
img{display:block}
h1,h2{margin:0}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--peach);outline-offset:2px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:8px;z-index:50;padding:10px 16px;border-radius:12px;background:var(--night);color:#FFFFFF}
.skip:focus{left:8px;color:#FFFFFF}
.wrap{max-width:1280px;margin:0 auto;padding-left:40px;padding-right:40px;width:100%}
.kicker{font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--plum)}
.hid{color:#C0392B}
.preview-bar{background:var(--night);color:#FFFFFF;text-align:center;font-size:13px;font-weight:600;padding:8px 16px}

/* ---------- header ---------- */
.hdr{background:#FFFFFF;border-bottom:1px solid var(--line);position:relative;z-index:20}
.hdr>.wrap{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{font-family:Fredoka,sans-serif;font-weight:700;font-size:32px;line-height:1;color:var(--night);letter-spacing:-.5px}
.logo span{color:var(--plum)}
a.logo:hover{color:var(--night)}
.nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:500}
.nav a{color:var(--night)}
.nav a[aria-current="page"]{color:var(--plum);font-weight:600}
.nav a:hover{color:var(--plum)}
.menu-btn{display:none;width:44px;height:44px;border:0;border-radius:12px;background:var(--pink);align-items:center;justify-content:center;cursor:pointer;padding:0}
.menu-btn .i-close{display:none}
.menu-btn[aria-expanded="true"] .i-open{display:none}
.menu-btn[aria-expanded="true"] .i-close{display:inline}
.menu{position:absolute;left:0;right:0;top:100%;background:#FFFFFF;border-bottom:1px solid var(--line);box-shadow:0 18px 32px rgba(42,14,34,.12);padding:8px 12px 16px}
.menu ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.menu a,.menu .soon{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 8px;border-radius:14px;color:var(--night);font-weight:600;font-size:16px}
.menu a:hover{background:var(--pink)}
.menu .mi{flex:none;width:36px;height:36px;border-radius:11px;background:var(--pink2);display:inline-flex;align-items:center;justify-content:center}
.menu .soon .mi{background:var(--pink)}
.menu .mt{flex-grow:1;font-family:Fredoka,sans-serif;font-weight:600}
.menu .mc{font-size:13px;font-weight:500;color:var(--muted)}
.menu .soon{color:var(--muted)}
.menu .mx{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.hdr-bare>.wrap{height:64px;padding:0 24px}
.hdr-bare .logo{font-size:30px;letter-spacing:0}

/* ---------- footer ---------- */
.ftr{background:var(--night);color:#FFFFFF}
.ftr>.wrap{padding:40px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ftr-brand{display:flex;flex-direction:column;gap:8px}
.ftr .logo{color:#FFFFFF;font-size:28px;letter-spacing:0}
.ftr .logo span{color:var(--peach)}
.ftr .tag,.ftr .copy{font-size:14px;color:var(--soft)}
.ftr nav{display:flex;gap:28px;font-size:14px;flex-wrap:wrap;align-items:center}
.ftr nav a,.linkbtn{color:#FFFFFF}
.linkbtn{border:0;background:none;padding:0;font-size:14px;cursor:pointer;font-family:inherit}
.ftr nav a:hover,.linkbtn:hover{color:var(--peach)}
.ftr-bare{color:var(--soft);font-size:14px}
.ftr-bare>.wrap{padding:24px;gap:16px}
.ftr-bare .logo{font-size:22px}
.ftr-bare nav{gap:20px}

/* ---------- buttons ---------- */
.btn{height:56px;padding:0 28px;border-radius:16px;background:var(--plum);color:#FFFFFF;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:17px}
.btn:hover{color:#FFFFFF;background:var(--plum-d)}
.btn2{height:56px;padding:0 24px;border-radius:16px;background:#FFFFFF;border:2px solid var(--line2);color:var(--night);display:inline-flex;align-items:center;font-weight:600;font-size:17px}
.btn2:hover{color:var(--night);border-color:var(--plum)}
.mob,.share.mob{display:none}

/* ---------- cards ---------- */
.card{transition:box-shadow .15s}
.card:hover{box-shadow:0 10px 28px rgba(122,31,92,.14)}
.qc{display:flex;flex-direction:column;background:#FFFFFF;border-radius:22px;overflow:hidden;color:var(--night)}
.qc:hover{color:var(--night)}
.qc img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.qc-b{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.qc-t{font-family:Fredoka,sans-serif;font-weight:600;font-size:22px;line-height:1.2}
.qc-l{margin:0;font-size:15px;line-height:1.5;color:var(--muted);flex-grow:1}
.qc-m{font-size:13px;color:var(--muted);padding-top:6px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.more-soon{border-radius:22px;border:2px dashed var(--line2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px;text-align:center;color:var(--muted)}
.more-soon.span1{grid-column:span 1}.more-soon.span2{grid-column:span 2}.more-soon.span3{grid-column:1/-1}
.ms-t{font-family:Fredoka,sans-serif;font-weight:600;font-size:22px;line-height:1.2;color:var(--night)}
.ms-s{font-size:15px;line-height:1.5;max-width:420px}

/* ---------- home: hero ---------- */
.hero{padding-top:64px;padding-bottom:72px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.hero-t{display:flex;flex-direction:column;gap:24px}
.badge{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:#FFFFFF;border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--muted)}
.badge span{width:8px;height:8px;border-radius:4px;background:var(--peach)}
.hero h1{font-family:Fredoka,sans-serif;font-weight:700;font-size:60px;line-height:1.05;letter-spacing:-1px}
.hero-p{margin:0;font-size:19px;line-height:1.55;color:var(--muted);max-width:480px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}
.hero-c{display:block;background:#FFFFFF;border-radius:28px;overflow:hidden;color:var(--night);box-shadow:0 4px 18px rgba(122,31,92,.08)}
.hero-c:hover{color:var(--night)}
.hero-img{position:relative}
.hero-img img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.newb{position:absolute;top:16px;left:16px;padding:6px 12px;border-radius:999px;background:var(--night);color:#FFFFFF;font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}
.hero-b{padding:22px 26px 26px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.hero-tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.hero-b .kicker{font-size:13px}
.hero-n{font-family:Fredoka,sans-serif;font-weight:600;font-size:28px;line-height:1.15}
.meta{font-size:14px;color:var(--muted)}
.playc{flex:none;width:56px;height:56px;border-radius:28px;background:var(--plum);display:inline-flex;align-items:center;justify-content:center}
.playc svg{width:22px;height:22px}
.hero-soon{aspect-ratio:auto;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px;text-align:center;border:2px dashed var(--line2);background:transparent;box-shadow:none}
.soon-t{font-family:Fredoka,sans-serif;font-weight:600;font-size:26px}
.soon-s{font-size:15px;line-height:1.5;color:var(--muted);max-width:360px}

/* ---------- home: sections ---------- */
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:24px}
.sec-h h2,.pop-h h2,.cats h2,.abt h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:34px}
.sec-h a{font-weight:600;font-size:15px}

section.new{padding-bottom:72px}
.pop{background:#FFFFFF;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pop-in{padding-top:64px;padding-bottom:64px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.pop-h{display:flex;flex-direction:column;gap:12px}
.pop-h p{margin:0;font-size:15px;line-height:1.55;color:var(--muted);max-width:320px}
.pop-l{grid-column:span 2;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.pop-l a{display:flex;align-items:center;gap:20px;padding:12px;border-radius:18px;background:var(--pink);color:var(--night)}
.pop-l a:hover{color:var(--night);box-shadow:0 6px 18px rgba(122,31,92,.10)}
.pn{flex:none;width:40px;font-family:Fredoka,sans-serif;font-weight:700;font-size:30px;text-align:center;color:var(--plum)}
.pop-l img{flex:none;width:128px;height:72px;border-radius:12px;object-fit:cover}
.pt{display:flex;flex-direction:column;gap:4px;flex-grow:1;min-width:0}
.ptt{font-family:Fredoka,sans-serif;font-weight:600;font-size:20px}
.pts{font-size:13px;color:var(--muted)}
.pp{flex:none;padding:0 18px;height:44px;border-radius:14px;background:var(--plum);color:#FFFFFF;display:inline-flex;align-items:center;font-weight:600;font-size:15px}
.cats{padding-top:72px;padding-bottom:72px}
.cats h2{margin-bottom:24px}
.cat-g{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ct{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:20px;background:#FFFFFF;border:1px solid var(--line);color:var(--night);min-height:132px}
a.ct:hover{color:var(--night);box-shadow:0 8px 22px rgba(122,31,92,.12)}
.ct-i{width:44px;height:44px;border-radius:14px;background:var(--pink2);display:inline-flex;align-items:center;justify-content:center;stroke:var(--plum)}
.ct-i svg{width:24px;height:24px;stroke:inherit}
.ct-x{display:flex;flex-direction:column;gap:2px}
.ct-n{font-family:Fredoka,sans-serif;font-weight:600;font-size:19px}
.ct-c{font-size:13px;color:var(--muted)}
.ct-soon{background:var(--pink2)}
.ct-soon .ct-i{background:#FFFFFF;stroke:var(--muted)}
.abt{padding-bottom:80px}
.abt-box{background:#FFFFFF;border-radius:28px;padding:48px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px}
.abt-t{display:flex;flex-direction:column;gap:16px}
.abt-t p{margin:0;font-size:16px;line-height:1.65}
.steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px;align-self:start}
.steps li{display:flex;gap:18px;align-items:flex-start;padding:20px;border-radius:20px;background:var(--pink)}
.sn{flex:none;width:44px;height:44px;border-radius:22px;background:var(--plum);color:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;font-family:Fredoka,sans-serif;font-weight:700;font-size:20px}
.sn3{background:var(--peach);color:var(--night)}
.sx{display:flex;flex-direction:column;gap:4px}
.st{font-family:Fredoka,sans-serif;font-weight:600;font-size:20px}
.ss{font-size:15px;line-height:1.5;color:var(--muted)}

/* ---------- breadcrumbs ---------- */
.crumbs{padding:24px 0 20px;font-size:14px;color:var(--muted)}
.crumbs ol{margin:0;padding:0;list-style:none;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--plum)}
.crumbs [aria-current]{color:var(--night);font-weight:500}

/* ---------- quiz page ---------- */
.qz-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px;align-items:center;padding-bottom:56px}
.qz-img{grid-column:span 7;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:28px}
.qz-h{grid-column:span 5;display:flex;flex-direction:column;gap:18px}
.qz-h .kicker{font-size:14px;letter-spacing:1px}
.qz-h h1{font-family:Fredoka,sans-serif;font-weight:700;font-size:52px;line-height:1.05;letter-spacing:-.8px}
.qz-lead{margin:0;font-size:19px;line-height:1.5}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips span{padding:7px 14px;border-radius:999px;background:#FFFFFF;border:1px solid var(--line);font-size:14px;font-weight:500}
.btn-play{height:64px;border-radius:18px;background:var(--plum);color:#FFFFFF;display:flex;align-items:center;justify-content:center;gap:12px;font-family:Fredoka,sans-serif;font-weight:600;font-size:24px;margin-top:4px}
.btn-play svg{width:22px;height:22px}
.btn-play:hover,.btn-sm:hover,.pbb:hover,.res-go:hover{color:#FFFFFF;background:var(--plum-d)}
.share{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.share-l{font-size:14px;font-weight:500;color:var(--muted);margin-right:4px}
.sb{height:44px;padding:0 16px;border-radius:12px;background:#FFFFFF;border:1px solid var(--line2);display:inline-flex;align-items:center;gap:8px;font:500 14px Inter,sans-serif;color:var(--night);cursor:pointer}
.sb:hover{color:var(--night);border-color:var(--plum)}
.qz-body{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px;align-items:start;padding-bottom:72px}
.qz-main{grid-column:span 8;display:flex;flex-direction:column;gap:48px}
.qz-desc{margin:0;font-size:20px;line-height:1.6}
.inside{display:flex;flex-direction:column;gap:16px}
.inside h2,.about h2,.more h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:30px}
.inside ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.inside li{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:18px;background:#FFFFFF}
.inside li.fin{grid-column:1/-1;background:var(--night);color:#FFFFFF}
.rn{flex:none;width:40px;height:40px;border-radius:20px;background:var(--pink2);color:var(--plum);display:inline-flex;align-items:center;justify-content:center;font-family:Fredoka,sans-serif;font-weight:700;font-size:18px}
.fin .rn{background:var(--peach);color:var(--night)}
/* digits in circles (Sh-37): SVG text, centred on the circle's geometry. HTML text is put on whole CSS pixels while a
   circle can sit on a fraction, so a figure drifted by up to a pixel depending on the page. dominant-baseline central
   is the middle of Fredoka's ascent and descent; the figures' own middle is .024 em lower, hence dy. */
.rn>svg:not([data-star]),.sn>svg{width:100%;height:100%;overflow:visible}
.rn text,.sn text{fill:currentColor;text-anchor:middle;dominant-baseline:central;font-family:Fredoka,sans-serif;font-weight:700}
.rn text{font-size:45px}  /* 18 px on a 40 px circle */
.sn text{font-size:45.45px}  /* 20 px on 44 */
.rn svg[data-star]{display:block;width:20px;height:20px;fill:currentColor}  /* star by its geometry, not a font glyph (Sh-37) */
.rx{display:flex;flex-direction:column;gap:2px}
.rt{font-family:Fredoka,sans-serif;font-weight:600;font-size:19px}
.rs{font-size:14px;color:var(--muted)}
.fin .rs{color:var(--soft)}
.about h2{margin-bottom:20px}
.about p{margin:0 0 18px;font-size:17px;line-height:1.7}
.about p:last-child{margin-bottom:0}
.qz-aside{grid-column:span 4;display:flex;flex-direction:column;gap:20px;position:sticky;top:24px}
.ready{background:#FFFFFF;border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:14px}
.ready-t{font-family:Fredoka,sans-serif;font-weight:600;font-size:22px}
.ready p{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.btn-sm{height:52px;border-radius:16px;background:var(--plum);color:#FFFFFF;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:600;font-size:17px}
.more{padding-bottom:80px}
.more h2{margin-bottom:24px}
.more-l{display:none}
.playbar{display:none}

/* ---------- category, all quizzes ---------- */
.cat{padding-bottom:80px}
.cat-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px;align-items:center;padding-bottom:48px}
.cat-h{grid-column:span 7;display:flex;flex-direction:column;gap:18px}
.cat-hh{display:flex;align-items:center;gap:16px}
.cat-i{flex:none;width:64px;height:64px;border-radius:20px;background:var(--plum);display:inline-flex;align-items:center;justify-content:center}
.cat-i svg{width:34px;height:34px}
.cat-h h1{font-family:Fredoka,sans-serif;font-weight:700;font-size:52px;line-height:1.05;letter-spacing:-.8px}
.cat-h p{margin:0;font-size:18px;line-height:1.65}
.list{padding-bottom:64px}
.list-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:24px}
.list-h h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:30px}
.list-h h2 span{font-family:Inter,sans-serif;font-weight:500;font-size:18px;color:var(--muted)}
.list-s{font-size:14px;color:var(--muted)}
.others h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:24px;margin-bottom:16px}
.chipl{display:flex;flex-wrap:wrap;gap:10px}
.chipl a{height:44px;padding:0 18px;border-radius:999px;background:#FFFFFF;border:1px solid var(--line2);display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;color:var(--night)}
.chipl a:hover{border-color:var(--plum);color:var(--night)}
.chipl a span{font-weight:500;color:var(--muted)}
.top-chips{margin-top:4px}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:32px;font-size:15px;color:var(--muted)}
.pager a{height:44px;padding:0 18px;border-radius:14px;background:#FFFFFF;border:1px solid var(--line2);display:inline-flex;align-items:center;font-weight:600;color:var(--night)}

/* ---------- result page, 404 ---------- */
.res{width:100%;max-width:640px;margin:0 auto;padding:40px 20px 64px;display:flex;flex-direction:column;gap:28px}
.res-c{background:#FFFFFF;border-radius:28px;overflow:hidden;box-shadow:0 6px 24px rgba(122,31,92,.10)}
.res-c img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.res-b{padding:28px 28px 32px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.res-s{font-size:16px;color:var(--muted)}
.res-b h1{font-family:Fredoka,sans-serif;font-weight:700;font-size:52px;line-height:1;color:var(--plum)}
.res-q{font-family:Fredoka,sans-serif;font-weight:600;font-size:24px}
.res-tier{padding:7px 16px;border-radius:999px;background:var(--peach);font-family:Fredoka,sans-serif;font-weight:600;font-size:20px;margin-top:4px}
.res-b p{margin:0;font-size:16px;color:var(--muted)}
.res-go{margin-top:10px;width:100%;max-width:360px;height:60px;border-radius:18px;background:var(--plum);color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-family:Fredoka,sans-serif;font-weight:600;font-size:22px}
.res-m{font-size:14px;color:var(--muted)}
.res-o{display:flex;flex-direction:column;gap:12px}
.res-o h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:22px}
.res-o>a{display:flex;gap:14px;align-items:center;padding:10px;border-radius:18px;background:#FFFFFF;color:var(--night)}
.res-o>a:hover{color:var(--night);box-shadow:0 6px 18px rgba(122,31,92,.10)}
.res-o img{flex:none;width:128px;height:72px;border-radius:12px;object-fit:cover}
.res-o>a>span{display:flex;flex-direction:column;gap:3px;min-width:0}
.rot{font-family:Fredoka,sans-serif;font-weight:600;font-size:18px}
.ros{font-size:13px;color:var(--muted)}
.nf .res-b{padding:44px 28px 40px}
.nf-code{font-family:Fredoka,sans-serif;font-weight:700;font-size:20px;color:var(--peach);letter-spacing:2px}
.nf h1{font-size:40px;line-height:1.1;color:var(--night)}
.nf-l{font-weight:600;font-size:15px;padding:6px 0}

/* ---------- text pages ---------- */
.txt{padding-bottom:80px}
.txt .crumbs{max-width:760px;margin:0 auto}
.txt-box{max-width:760px;margin:0 auto;background:#FFFFFF;border-radius:28px;padding:48px}
.txt-box h1{font-family:Fredoka,sans-serif;font-weight:700;font-size:44px;line-height:1.08;letter-spacing:-.5px;margin-bottom:20px}
.txt-box h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:24px;line-height:1.25;margin:32px 0 12px}
.txt-box p,.txt-box li{font-size:16px;line-height:1.65}
.txt-box p{margin:0 0 14px}
.txt-box ul{margin:0 0 14px;padding-left:22px}
.txt-box li{margin-bottom:6px}
.txt-box .upd{color:var(--muted);font-size:14px;margin-bottom:24px}
.mail{white-space:nowrap;font-weight:600}

/* ---------- consent window (own; GIBBIX_CONSENT=own) ---------- */
.cb{position:fixed;left:24px;bottom:24px;z-index:40;width:440px;max-width:calc(100vw - 48px);background:#FFFFFF;border-radius:22px;box-shadow:0 16px 48px rgba(42,14,34,.22);border:1px solid var(--line)}
.cb-in{padding:20px 22px 22px;display:flex;flex-direction:column;gap:16px}
.cb-t{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.cb-t b{display:block;font-family:Fredoka,sans-serif;font-weight:600;font-size:20px;line-height:1.2;color:var(--night);margin-bottom:6px}
.cb-t a{font-weight:600;white-space:nowrap}
.cb-b,.cd-b{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cbtn{height:44px;padding:0 14px;border-radius:14px;border:2px solid var(--plum);background:var(--plum);color:#FFFFFF;font:600 15px Inter,sans-serif;cursor:pointer;white-space:nowrap}
.cbtn:hover{background:var(--plum-d);border-color:var(--plum-d)}
.cbtn-ghost{background:#FFFFFF;color:var(--plum);border-color:var(--line2)}
.cbtn-ghost:hover{background:var(--pink);border-color:var(--plum);color:var(--plum)}
.cd{border:0;padding:0;border-radius:24px;width:520px;max-width:calc(100vw - 32px);box-shadow:0 24px 64px rgba(42,14,34,.3);color:var(--night)}
.cd::backdrop{background:rgba(42,14,34,.45)}
.cd-in{padding:28px;display:flex;flex-direction:column;gap:14px}
.cd h2{font-family:Fredoka,sans-serif;font-weight:600;font-size:26px;margin-bottom:4px}
.cd-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:16px;background:var(--pink);cursor:pointer}
.cd-row b{font-family:Fredoka,sans-serif;font-weight:600;font-size:17px}
.cd-row p{margin:4px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}
.cd-on{flex:none;font-size:13px;font-weight:600;color:var(--ok);padding-top:2px}
.sw{flex:none;appearance:none;-webkit-appearance:none;width:48px;height:28px;border-radius:14px;background:var(--soft);position:relative;cursor:pointer;margin:0;transition:background .15s}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:11px;background:#FFFFFF;box-shadow:0 1px 3px rgba(42,14,34,.25);transition:left .15s}
.sw:checked{background:var(--plum)}
.sw:checked::after{left:23px}
.cd-f{margin:0;text-align:center;font-size:14px}
.cd-f a{font-weight:600}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:60;background:var(--night);color:#FFFFFF;padding:12px 18px;border-radius:14px;font-size:14px;font-weight:600}

/* ---------- tablet ---------- */
@media (max-width:1023px){
  .wrap{padding-left:28px;padding-right:28px}
  .nav{gap:20px}
  .hero{gap:32px}.hero h1{font-size:46px}
  .cat-g{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid3{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .more-soon.span2,.more-soon.span1{grid-column:1/-1}
  .qz-h h1,.cat-h h1{font-size:42px}
}

/* ---------- phone (Home-mobile, Category-mobile, Quiz-mobile) ---------- */
@media (max-width:767px){
  .wrap{padding-left:20px;padding-right:20px}
  .hdr>.wrap{height:60px;padding:0 12px 0 20px}
  .logo{font-size:28px;letter-spacing:0}
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .hdr-bare>.wrap{height:60px;padding:0 20px}
  .hdr-bare .logo{font-size:28px}
  .desk,.share.desk,.desk-i,.pp{display:none}
  .mob{display:flex}
  .share.mob{display:grid}
  /* footer */
  .ftr>.wrap{padding:28px 20px 32px;flex-direction:column;align-items:stretch;gap:18px}
  .ftr-brand{gap:6px}
  .ftr .logo{font-size:26px}
  .ftr .tag,.ftr .copy{font-size:13px}
  .ftr nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
  .ftr nav a,.ftr .linkbtn{padding:10px 0;text-align:left}
  .ftr-bare>.wrap{padding:24px 20px}
  /* hero */
  .hero{display:flex;flex-direction:column;gap:16px;padding-top:28px;padding-bottom:36px}
  .hero-t{gap:16px}
  .badge{padding:6px 12px;font-size:12px}
  .hero h1{font-size:38px;line-height:1.08;letter-spacing:-.5px}
  .hero-p{font-size:16px}
  .hero-btns{display:none}
  .hero-c{border-radius:22px;margin-top:6px}
  .newb{top:12px;left:12px;padding:5px 10px;font-size:11px}
  .hero-b{padding:16px 18px 18px;align-items:center;gap:14px}
  .hero-tx{gap:4px}
  .hero-b .kicker{font-size:12px}
  .hero-n{font-size:22px}
  .meta{font-size:13px}
  .playc{width:52px;height:52px;border-radius:26px}
  .playc svg{width:20px;height:20px}
  .btn2.mob{height:52px;justify-content:center;font-size:16px;width:100%}
  .hero-soon{min-height:220px;padding:28px}
  /* cards */
  .qc{border-radius:20px}
  .qc-b{padding:14px 16px 18px;gap:6px}
  .qc-t{font-size:21px}
  .qc-m{padding-top:4px}
  .grid3{display:flex;flex-direction:column;gap:16px}
  .more-soon{border-radius:20px;padding:20px;gap:6px}
  .ms-t{font-size:18px}
  .ms-s{font-size:14px}
  /* home sections */
  .sec-h{margin-bottom:16px}
  .sec-h h2,.pop-h h2,.cats h2,.abt h2{font-size:28px}
  section.new{padding-bottom:40px}
  .new .dup{display:none}
  .pop-in{display:block;padding-top:32px;padding-bottom:32px}
  .pop-h{gap:0}
  .pop-h h2{margin-bottom:4px}
  .pop-h p{font-size:14px;margin-bottom:16px}
  .pop-l{gap:10px}
  .pop-l a{gap:12px;padding:10px;border-radius:16px}
  .pn{width:24px;font-size:24px}
  .pop-l img{width:88px;height:50px;border-radius:10px}
  .pt{gap:2px;flex-grow:0}
  .ptt{font-size:16px;line-height:1.2}
  .pts{font-size:12px}
  .cats{padding-top:36px;padding-bottom:36px}
  .cats h2{margin-bottom:16px}
  .cat-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ct{flex-direction:row;align-items:center;gap:10px;padding:12px;min-height:64px;border-radius:16px}
  .ct-i{width:36px;height:36px;border-radius:11px}
  .ct-i svg{width:20px;height:20px}
  .ct-x{gap:1px;min-width:0}
  .ct-n{font-size:16px;line-height:1.15}
  .ct-c{font-size:12px}
  .abt{padding-bottom:40px}
  .abt-box{border-radius:22px;padding:24px 20px;display:flex;flex-direction:column;gap:14px}
  .abt-t{gap:14px}
  .abt-t p{font-size:15px;line-height:1.6}
  .steps{gap:10px;margin-top:6px;align-self:stretch}
  .steps li{gap:14px;align-items:center;padding:14px;border-radius:16px}
  .sn{width:36px;height:36px;border-radius:18px;font-size:17px}
  .sx{gap:2px}
  .st{font-size:17px}
  .ss{font-size:13px;line-height:1.5}
  /* breadcrumbs */
  .crumbs{padding:16px 0 14px;font-size:13px}
  .crumbs ol{gap:8px}
  /* quiz page */
  .qz-top{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-bottom:32px}
  .qz-img{border-radius:20px}
  .qz-h{display:contents}
  .qz-h .kicker{font-size:12px;margin-top:4px}
  .qz-h h1{font-size:36px;line-height:1.08;letter-spacing:-.4px}
  .qz-lead{font-size:17px}
  .chips{gap:6px}
  .chips span{padding:6px 12px;font-size:13px}
  .btn-play{height:60px;font-size:22px}
  .btn-play svg{width:20px;height:20px}
  .share.mob{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .share.mob .sb{height:48px;border-radius:14px;justify-content:center;font:600 15px Inter,sans-serif}
  .qz-body{display:block;padding-bottom:0}
  .qz-main{display:block}
  .qz-desc{font-size:17px;margin-bottom:32px}
  .inside{gap:12px;padding-bottom:32px}
  .inside h2,.more h2{font-size:26px}
  .inside ol{display:flex;flex-direction:column;gap:8px}
  .inside li{gap:14px;padding:12px 14px;border-radius:16px}
  .rn{width:36px;height:36px;border-radius:18px;font-size:16px}
  .rn text{font-size:44.44px}  /* 16 px on 36 */
  .sn text{font-size:47.22px}  /* 17 px on 36 */
  .rx{gap:1px}
  .rt{font-size:17px}
  .rs{font-size:13px}
  .about{padding-bottom:20px}
  .about h2{font-size:26px;line-height:1.2;margin-bottom:16px}
  .about p{font-size:16px;line-height:1.65;margin-bottom:16px}
  .about p:last-child{margin-bottom:16px}
  .qz-aside{display:none}
  .more{padding-bottom:40px}
  .more h2{margin-bottom:16px}
  .more-g{display:none}
  .more-l{display:flex;flex-direction:column;gap:12px}
  .more-l a{display:flex;gap:14px;align-items:center;padding:10px;border-radius:18px;background:#FFFFFF;color:var(--night)}
  .more-l img{flex:none;width:128px;height:72px;border-radius:12px;object-fit:cover}
  .ml{display:flex;flex-direction:column;gap:3px;min-width:0}
  .ml .kicker{font-size:11px}
  .mlt{font-family:Fredoka,sans-serif;font-weight:600;font-size:17px;line-height:1.2}
  .mlm{font-size:12px;color:var(--muted)}
  .playbar{display:flex;position:sticky;bottom:0;z-index:15;background:#FFFFFF;border-top:1px solid var(--line);padding:12px 20px;align-items:center;gap:12px}
  .pbx{display:flex;flex-direction:column;min-width:0;flex-grow:1}
  .pbt{font-family:Fredoka,sans-serif;font-weight:600;font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pbm{font-size:12px;color:var(--muted)}
  .pbb{flex:none;height:48px;padding:0 22px;border-radius:14px;background:var(--plum);color:#FFFFFF;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px}
  /* category */
  .cat{padding-bottom:40px}
  .cat-top{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-bottom:28px}
  .cat-h{gap:14px}
  .cat-hh{gap:12px}
  .cat-i{width:52px;height:52px;border-radius:16px}
  .cat-i svg{width:28px;height:28px}
  .cat-h h1{font-size:32px;line-height:1.08;letter-spacing:0}
  .cat-h p{font-size:16px;line-height:1.6}
  .list{padding-bottom:28px}
  .list-h{margin-bottom:14px}
  .list-h h2{font-size:24px}
  .list-h h2 span{font-size:16px}
  .list-s{display:none}
  .grid3{gap:14px}
  .others h2{font-size:22px;margin-bottom:12px}
  .chipl{gap:8px}
  .chipl a{padding:0 16px}
  /* result */
  .res{padding-top:28px;padding-bottom:40px;gap:24px}
  .res-c{border-radius:22px}
  .res-b{padding:22px 20px 26px}
  .res-b h1{font-size:44px}
  .res-q{font-size:21px}
  /* text */
  .txt{padding-bottom:40px}
  .txt-box{border-radius:22px;padding:24px 20px}
  .txt-box h1{font-size:32px;margin-bottom:16px}
  .txt-box h2{font-size:20px;margin:26px 0 10px}
  .txt-box p,.txt-box li{font-size:15px;line-height:1.6}
  /* consent: a sheet at the bottom, over the Play bar, never over the Play button (measured in the snapshots) */
  .cb{left:0;right:0;bottom:0;width:auto;max-width:none;border-radius:20px 20px 0 0;border-width:1px 0 0}
  .p-quiz .cb{bottom:73px}
  .cb-in{padding:14px 16px calc(14px + env(safe-area-inset-bottom));gap:10px}
  .cb-t{font-size:13px;line-height:1.45}
  .cb-t b{display:inline;font-size:15px;margin:0}
  .cbtn{height:42px;padding:0 10px;font-size:14px}
  .cd{width:100%;max-width:100%;margin:auto 0 0;border-radius:22px 22px 0 0;max-height:92vh}
  .cd-in{padding:22px 18px calc(18px + env(safe-area-inset-bottom))}
  .cd-b{grid-template-columns:1fr 1fr}
  .cd-b .cbtn-ghost{grid-column:1/-1;grid-row:2}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
