/* gioco.css — look of the three «Il Gioco» pages (v133).
   body.gc--main  = the POIGiochiamo look (dark home colours) with the two doors in the colours of the games
   body.gc--wormy = the colours and fonts of the Wormy game (css/tokens.css of the game: meadow, leaf, sun, sky; Baloo 2 + Nunito)
   body.gc--teens = the colours and fonts of the Teens game (css/medie.css look D: near-black, lime, orange; Sora + DM Sans)
   The top bar (.poi-bar) is the POIGiochiamo home menu, same look as assets/home.css. Phones first; ≥900px = computer. */

:root{--poi-ink:#0c0f0e;--poi-panel:#141815;--poi-line:rgba(246,239,225,.14);--poi-cream:#f6efe1;--poi-ember:#ff6b35;--poi-ember2:#ffb347}
.gc{--bg:#0c0f0e;--bg2:#141815;--card:#1a1f1c;--line:rgba(246,239,225,.14);--ink:#f6efe1;--soft:#cfc6b4;--accent:#ffb347;--on-accent:#190c04;
  --display:"Shrikhand",Georgia,serif;--body:"Libre Franklin",system-ui,sans-serif;--r:22px}
.gc--wormy{--bg:#EEF3E4;--bg2:#FBFDF6;--card:#FBFDF6;--line:#D3DEC2;--ink:#1E2A1F;--soft:#4B5A48;--accent:#3E8E4E;--accent-d:#2C6B39;--on-accent:#fff;
  --sun:#F2B632;--sun-pale:#FFF4D6;--sun-d:#8a6400;--sky:#3F7FBF;--sky-pale:#E6F0FA;--leaf-pale:#E7F5DC;--meadow:#DDEFC4;
  --display:"Baloo 2","Trebuchet MS",system-ui,sans-serif;--body:Nunito,"Segoe UI",system-ui,sans-serif}
.gc--teens{--bg:#0E1117;--bg2:#0B0E14;--card:#171C26;--line:#2A3550;--ink:#E8ECF4;--soft:#C9D0DD;--accent:#C6FF3D;--accent-d:#A5D92F;--on-accent:#0E1117;
  --sun:#FFB020;--sun-pale:#33280F;--muted:#8C97AB;
  --display:Sora,"DM Sans",system-ui,sans-serif;--body:"DM Sans","Segoe UI",system-ui,sans-serif}

*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:170px;overflow-x:clip}
body.gc{margin:0;background:var(--bg);color:var(--ink);font:17px/1.5 var(--body);overflow-x:clip;-webkit-text-size-adjust:100%}
.gc img{max-width:100%}
.gc a{color:inherit}
.gc h1,.gc h2,.gc h3{font-family:var(--display);line-height:1.1;margin:0}
.gc p{margin:0}
.gc-skip{position:absolute;left:-999px;top:0;z-index:200;background:#fff;color:#000;padding:10px 14px}
.gc-skip:focus{left:8px}
.gc-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.gc :focus-visible{outline:3px solid var(--accent);outline-offset:3px}

/* ---------- top: POIGiochiamo menu (like the home) ---------- */
.gc-top{position:sticky;top:0;z-index:50}
.poi-bar{background:rgba(12,15,14,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--poi-line);color:var(--poi-cream);font-family:"Libre Franklin",system-ui,sans-serif}
.poi-bar__in{max-width:1200px;margin:0 auto;padding:6px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.poi-logo img{display:block;height:64px;width:auto}
.poi-links{display:none;align-items:center;gap:26px;font-size:14px;font-weight:700}
.poi-links>a,.poi-dd summary{color:var(--poi-cream);text-decoration:none;min-height:44px;display:flex;align-items:center}
.poi-links>a:hover,.poi-links>a[aria-current="page"]{color:var(--poi-ember2)}
.poi-links>a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.poi-dd{position:relative}
.poi-dd summary{list-style:none;cursor:pointer;gap:6px}
.poi-dd summary::-webkit-details-marker{display:none}
.poi-dd summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.poi-dd[open] summary,.poi-dd summary:hover{color:var(--poi-ember2)}
.poi-dd__panel{position:absolute;left:50%;transform:translateX(-50%);top:46px;min-width:220px;max-height:70vh;overflow:auto;background:var(--poi-panel);border:1px solid var(--poi-line);border-radius:14px;padding:6px;box-shadow:0 20px 40px -12px rgba(0,0,0,.6);z-index:70}
.poi-dd__panel a{display:flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:10px;white-space:nowrap;color:var(--poi-cream);text-decoration:none}
.poi-dd__panel a:hover,.poi-dd__panel a[aria-current="page"]{background:rgba(246,239,225,.08);color:var(--poi-ember2)}
.poi-end{display:flex;align-items:center;gap:12px}
.poi-m{position:relative}
.poi-m>summary{list-style:none;cursor:pointer;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(246,239,225,.4);border-radius:999px;color:var(--poi-cream)}
.poi-m>summary::-webkit-details-marker{display:none}
.poi-m__panel{position:absolute;right:0;top:54px;width:min(280px,calc(100vw - 32px));max-height:calc(100vh - 150px);overflow-y:auto;background:var(--poi-panel);border:1px solid var(--poi-line);border-radius:16px;padding:8px;display:flex;flex-direction:column;box-shadow:0 20px 40px -12px rgba(0,0,0,.6)}
.poi-m__panel a,.poi-m__grp>summary{padding:12px 16px;min-height:44px;display:flex;align-items:center;font-weight:700;border-radius:10px;color:var(--poi-cream);text-decoration:none}
.poi-m__panel a:hover,.poi-m__grp>summary:hover{background:rgba(246,239,225,.08)}
.poi-m__panel a[aria-current="page"]{color:var(--poi-ember2)}
.poi-m__grp>summary{list-style:none;cursor:pointer;justify-content:space-between}
.poi-m__grp>summary::-webkit-details-marker{display:none}
.poi-m__grp>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.poi-m__grp[open]>summary::after{transform:rotate(-135deg);margin-top:4px}
.poi-m__panel a.poi-m__sub{padding-left:28px;font-weight:600}
.bs-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#e8b84a;color:#1a1206}
@media (min-width:900px){
  .poi-bar__in{padding:10px 28px}
  .poi-logo img{height:96px}
  .poi-links{display:flex}
  .poi-m{display:none}
}

/* ---------- second bar: the game pages ---------- */
.gc-bar{background:var(--bg2);border-bottom:1px solid var(--line)}
.gc--wormy .gc-bar{background:#2C6B39;border-color:#2C6B39}
.gc-bar__in{max-width:1200px;margin:0 auto;padding:6px 16px;display:flex;align-items:center;gap:12px}
.gc-tabs{flex:1;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.gc-tabs::-webkit-scrollbar{display:none}
.gc-tabs a{flex:none;display:flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;text-decoration:none;font-weight:700;font-size:15px;color:var(--ink)}
.gc--wormy .gc-tabs a{color:#fff}
.gc-tabs a[aria-current="page"]{background:var(--accent);color:var(--on-accent)}
.gc--main .gc-tabs a[aria-current="page"]{background:var(--poi-ember2);color:#190c04}
.gc--wormy .gc-tabs a[aria-current="page"]{background:#F2B632;color:#1E2A1F}
@media (min-width:900px){.gc-bar__in{padding:6px 28px}}

/* ---------- buttons, small parts ---------- */
.gc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border-radius:999px;font-weight:800;font-size:16px;text-decoration:none;border:2px solid transparent;text-align:center}
.gc-btn--sm{min-height:40px;padding:6px 18px;font-size:15px}
.gc-btn--big{min-height:60px;padding:12px 40px;font-size:24px;font-family:var(--display)}
.gc .gc-btn--play{background:var(--accent);color:var(--on-accent)}
.gc--wormy .gc-btn--play{box-shadow:0 5px 0 var(--accent-d)}
.gc--wormy .gc-bar .gc-btn--play{background:#F2B632;color:#1E2A1F;box-shadow:none}
.gc--teens .gc-btn--play.gc-btn--big{box-shadow:0 0 28px rgba(198,255,61,.3)}
.gc .gc-btn--line{background:transparent;color:var(--ink);border-color:currentColor}
.gc .gc-btn--blue{background:#3F7FBF;color:#fff}
.gc-btns{display:flex;flex-wrap:wrap;gap:10px}
.gc-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.gc-cta__note{font-weight:800;font-size:16px;color:var(--accent-d,var(--accent))}
.gc--teens .gc-cta__note{color:var(--sun)}
.gc-eyebrow{font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-d,var(--accent))}
.gc--main .gc-eyebrow{color:var(--poi-ember2)}
.gc--teens .gc-eyebrow{color:var(--sun)}
.gc-eyebrow--blue{color:#3F7FBF!important}
.gc-lead{font-size:clamp(18px,4.6vw,21px);max-width:620px}
.gc--teens .gc-lead,.gc--teens .gc-sub{color:var(--soft)}
.gc-small{font-size:14px;color:var(--soft)}
.gc-sub{color:var(--soft);margin:6px 0 24px!important}
.gc-sec{padding-top:48px;padding-bottom:48px}
.gc-sec>h2,.gc-split__txt h2{font-size:clamp(30px,7vw,42px)}
.gc-sec>h2+:not(.gc-sub){margin-top:24px}
.gc-list{margin:0;padding-left:22px;line-height:1.7}
.gc-split{display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.gc-split__txt{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:12px}
.gc-split__pic{flex:1 1 360px;min-width:0}
.gc-split__pic img{width:100%;border-radius:20px;display:block}
.gc-ph{aspect-ratio:16/10;border-radius:20px;border:2px dashed var(--line);display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;color:var(--soft);font-weight:700}
.gc--wormy .gc-ph{background:var(--sky-pale);border-color:#6f9ccb;color:#2b5a8a}
.gc--teens .gc-ph{background:var(--card);border-color:#3A4A70;color:var(--muted)}
@media (min-width:900px){.gc-wrap{padding:0 24px}.gc-sec{padding-top:64px;padding-bottom:64px}}

/* ---------- «30 giorni gratis» box ---------- */
.gc-free{border-radius:26px;padding:32px 20px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.gc-free h2{font-size:clamp(32px,8vw,46px)}
.gc-free p{max-width:520px}
.gc--wormy .gc-free{background:var(--meadow);border:3px solid var(--accent)}
.gc--teens .gc-free{background:var(--card);border:2px solid var(--accent)}
.gc--teens .gc-free p{color:var(--soft)}

/* ---------- opinions ---------- */
.gc-voices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}
.gc-voice{margin:0;border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:12px}
.gc-voice svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gc-voice blockquote{margin:0;font-size:18px}
.gc-voice figcaption{font-weight:800;font-size:15px}
.gc--wormy .gc-voice--0{background:var(--sun-pale);color:var(--ink)}
.gc--wormy .gc-voice--0 svg,.gc--wormy .gc-voice--0 figcaption{color:#7A5234}
.gc--wormy .gc-voice--1{background:var(--leaf-pale)}
.gc--wormy .gc-voice--1 svg,.gc--wormy .gc-voice--1 figcaption{color:var(--accent-d)}

/* ---------- footer, WhatsApp, IT/EN ---------- */
.gc-foot{background:#0c0f0e;color:#efe4cf;margin-top:24px;padding-bottom:84px}
.gc-foot__in{padding-top:24px!important;padding-bottom:24px;display:flex;flex-direction:column;gap:6px;font-size:15px}
.gc-foot a{color:#ffb347}
.gc-wa{position:fixed;left:16px;bottom:16px;z-index:60;display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border-radius:999px;background:#25d366;color:#08240f;font-weight:800;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.gc-wa svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
#lang-pill.gc-lang{position:fixed;right:16px;bottom:16px;z-index:1000;display:flex;gap:2px;padding:4px;border-radius:999px;background:#141815;border:1px solid rgba(246,239,225,.18);box-shadow:0 6px 20px rgba(0,0,0,.45)}
#lang-pill.gc-lang a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:999px;color:#f6efe1;font:700 13px/1 "Libre Franklin",system-ui,sans-serif;text-decoration:none}
#lang-pill.gc-lang a[aria-current="true"]{background:#ffb347;color:#190c04}
@media (min-width:900px){.gc-foot__in{flex-direction:row;justify-content:space-between;flex-wrap:wrap}}

/* ================= PAGE 1 · Il Gioco ================= */
.gc-intro{padding-top:40px;display:flex;flex-direction:column;gap:10px}
.gc-main-title{font-size:clamp(48px,13vw,84px);color:var(--poi-cream);font-weight:400}
.gc--main .gc-lead{color:var(--poi-cream)}
.gc-doors{margin-top:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:20px}
.gc-door{border-radius:26px;padding:22px;display:flex;flex-direction:column;gap:14px}
.gc-door__head{display:flex;align-items:center;gap:16px}
.gc-door__head>div{min-width:0}
.gc-door__pic{width:96px;height:96px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gc-door__pic img{width:76%;height:auto}
.gc-door__pic--round img{width:100%;height:100%;object-fit:cover}
.gc-door h2{font-size:clamp(34px,9vw,48px);font-weight:800}
.gc-door__for{margin-top:4px!important;font-size:17px;font-weight:700}
.gc-door .gc-btns{margin-top:auto}
.gc-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.gc-tags li{padding:4px 12px;border-radius:999px;font-size:14px;font-weight:800}
.gc-door--wormy{background:#DDEFC4;border:3px solid #3E8E4E;color:#1E2A1F;font-family:Nunito,sans-serif}
.gc-door--wormy h2{font-family:"Baloo 2",sans-serif}
.gc-door--wormy .gc-door__pic{background:#FBFDF6;border:4px solid #F2B632}
.gc-door--wormy .gc-door__for{color:#2C6B39}
.gc-door--wormy .gc-tags li{background:#FBFDF6;color:#2C6B39}
.gc-door--wormy .gc-tags li:first-child{background:#F2B632;color:#1E2A1F}
.gc-door--wormy .gc-btn--play{background:#3E8E4E;color:#fff}
.gc-door--wormy .gc-btn--line{color:#1E2A1F}
.gc-door--teens{background:#0E1117;border:3px solid #C6FF3D;color:#E8ECF4;font-family:"DM Sans",sans-serif}
.gc-door--teens h2{font-family:Sora,sans-serif}
.gc-door--teens>p{color:#C9D0DD}
.gc-door--teens .gc-door__pic{box-shadow:0 0 0 3px #C6FF3D}
.gc-door--teens .gc-door__for{color:#C6FF3D}
.gc-door--teens .gc-tags li{background:#33280F;color:#FFB020}
.gc-door--teens .gc-tags li:first-child{background:#C6FF3D;color:#0E1117}
.gc-door--teens .gc-btn--play{background:#C6FF3D;color:#0E1117}
.gc-door--teens .gc-btn--line{color:#E8ECF4}
.gc-points{margin-top:28px;margin-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}
.gc-point{background:#fffaf0;color:#20241f;border-radius:18px;padding:18px;display:flex;gap:14px;align-items:flex-start}
.gc-point svg{width:30px;height:30px;flex:none;fill:none;stroke:#1c3a2c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gc-point h3{font-family:"Libre Franklin",sans-serif;font-weight:800;font-size:19px;color:#1c3a2c;margin-bottom:2px}
.gc-point p{font-size:16px}

/* ================= PAGE 2 · Wormy ================= */
.gw-hero{background:var(--meadow)}
.gw-hero__in{padding-top:40px!important;padding-bottom:40px;display:flex;flex-direction:column;gap:28px}
.gw-hero__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px}
.gw-hero h1{font-size:clamp(38px,9vw,64px);font-weight:800}
.gw-hero__pic{align-self:center;width:100%;max-width:280px;aspect-ratio:1;border-radius:50%;background:var(--bg2);border:6px solid var(--sun);display:flex;align-items:center;justify-content:center}
.gw-hero__pic img{width:78%;height:auto}
.gw-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.gw-card{background:var(--card);border:2px solid var(--line);border-radius:20px;padding:20px;display:flex;gap:16px;align-items:flex-start}
.gw-card h3{font-size:24px;margin-bottom:4px}
.gw-card p{font-size:16px}
.gw-ico{width:52px;height:52px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center}
.gw-ico svg{width:28px;height:28px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gw-ico--0{background:var(--sky-pale)}.gw-ico--0 svg{stroke:var(--sky)}
.gw-ico--1{background:var(--leaf-pale)}.gw-ico--1 svg{stroke:var(--accent-d)}
.gw-ico--2{background:var(--sun-pale)}.gw-ico--2 svg{stroke:#C8901B}
.gw-band{background:var(--bg2);border-top:2px solid var(--line);border-bottom:2px solid var(--line)}
.gw-years{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px}
.gw-year{background:var(--bg);border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.gw-year__k{font-size:13px;font-weight:800;color:var(--accent-d);text-transform:uppercase;letter-spacing:.08em}
.gw-year h3{font-size:20px}
.gw-year p:last-child{font-size:15px;color:var(--soft)}
.gw-invalsi{margin-top:16px;background:var(--sun-pale);border:2px solid var(--sun);border-radius:18px;padding:18px 20px}
.gw-invalsi h3{font-size:24px;margin-bottom:4px}
.gw-parents{background:var(--accent-d);color:#fff}
.gw-parents .gc-sub{color:#E7F5DC}
.gw-par{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}
.gw-par__card{background:var(--accent);border-radius:18px;padding:20px;display:flex;gap:14px;align-items:flex-start}
.gw-par__card svg{width:30px;height:30px;flex:none;fill:none;stroke:#FFF4D6;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gw-par__card h3{font-size:21px;margin-bottom:2px}
.gw-par__card p{font-size:16px}
.gw-par__card a{color:#FFF4D6;font-weight:800}
@media (min-width:900px){
  .gw-hero__in{flex-direction:row;align-items:center;padding-top:64px!important;padding-bottom:64px}
  .gw-hero__pic{max-width:340px;flex:none}
}

/* ================= PAGE 3 · Teens ================= */
.gt-hero{padding-top:40px;padding-bottom:40px;display:flex;flex-direction:column;gap:28px}
.gt-hero__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px}
.gt-hero h1{font-size:clamp(36px,8.5vw,62px);font-weight:800}
.gt-hero h1 span{color:var(--accent)}
.gt-hero__pics{align-self:center;width:100%;max-width:300px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gt-hero__pics img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:18px;border:2px solid var(--line)}
.gt-band{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.gt-team{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}
.gt-bot{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;gap:16px;align-items:center}
.gt-bot img{width:96px;height:96px;flex:none;border-radius:16px;object-fit:cover}
.gt-bot h3{font-size:22px;margin-bottom:2px}
.gt-bot p{font-size:16px;color:var(--soft)}
.gt-lime{color:var(--accent)}.gt-sun{color:var(--sun)}
.gt-creatures{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(30%,120px),1fr));gap:10px}
.gt-creatures li{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;font-size:13px;font-weight:700;color:var(--soft)}
.gt-creatures img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:16px;border:1px solid var(--line)}
.gt-years{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
.gt-year{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:6px}
.gt-year--on{border:2px solid var(--accent)}
.gt-year h3{font-size:24px;margin-top:4px}
.gt-year p{color:var(--muted);font-weight:700}
.gt-year--on p{color:var(--accent)}
.gt-pill{align-self:flex-start;background:#1A2030;color:var(--soft);font-weight:700;padding:4px 12px;border-radius:999px;font-size:14px}
.gt-year--on .gt-pill{background:var(--accent);color:var(--on-accent)}
.gt-year:nth-child(2) .gt-pill{background:var(--sun-pale);color:var(--sun)}
.gt-year:nth-child(2) p{color:var(--sun)}
@media (min-width:900px){
  .gt-hero{flex-direction:row;align-items:center;padding-top:64px;padding-bottom:64px}
  .gt-hero__pics{max-width:380px;flex:none}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* ================= PAGE 4 · Teens seconda media «Time Agents» (v134) ================= */
.gc--seconda{--bg:#0E1117;--bg2:#0B0E14;--card:#171C26;--line:#2A3550;--ink:#E8ECF4;--soft:#C9D0DD;--accent:#35D0D6;--accent-d:#35D0D6;--on-accent:#0E1117;
  --sun:#FFC24B;--sun-pale:#33280F;--muted:#8C97AB;--display:Sora,"DM Sans",system-ui,sans-serif;--body:"DM Sans","Segoe UI",system-ui,sans-serif}
.gc--seconda .gc-eyebrow{color:var(--sun)}
.gc--seconda .gc-lead,.gc--seconda .gc-sub{color:var(--soft)}
.gc--seconda .gc-free{background:var(--card);border:2px solid var(--accent)}
.gc--seconda .gc-free p{color:var(--soft)}
.gt-pill--soon{background:var(--sun-pale);color:var(--sun);font-size:15px;padding:8px 14px}
.gs-agents img{aspect-ratio:200/260;object-fit:contain;background:radial-gradient(circle at 50% 40%,#1D2D52,#121827);padding:8px 4px 0}
.gs-roles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(46%,170px),1fr));gap:12px}
.gs-role{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--rc);border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.gs-role__pics{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:6px}
.gs-role__pics img{width:100%;height:auto;aspect-ratio:200/260;border-radius:12px;background:#121827}
.gs-role h3{font-size:19px;color:var(--rc)}
.gs-role__names{font-weight:700;font-size:15px}
.gs-role__line{font-size:14px;color:var(--soft);font-style:italic}
.gs-duo{margin-top:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.gs-bots{display:flex;flex:none}
.gs-bots img{width:64px!important;height:64px!important;border-radius:14px;object-fit:cover}
.gs-bots img+img{margin-left:-14px;box-shadow:0 0 0 3px var(--card)}
.gs-glitch{border-color:#5B3A8A;background:linear-gradient(135deg,#1F1530,#171C26)}
.gs-glitch h3{color:#C9A3FF}
.gs-glitch__mark{width:64px;height:64px;flex:none;border-radius:14px;display:flex;align-items:center;justify-content:center;font:800 38px/1 Sora,sans-serif;color:#C9A3FF;background:#2A1D44;border:2px dashed #7A55B8}
.gs-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:14px}
.gs-steps li{position:relative;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px 18px 18px 18px;display:flex;gap:14px;align-items:flex-start}
.gs-steps__n{position:absolute;top:-10px;left:14px;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--on-accent);font:800 15px/28px Sora,sans-serif;text-align:center}
.gs-steps__ico{width:44px;height:44px;flex:none;border-radius:12px;background:#12313A;display:flex;align-items:center;justify-content:center}
.gs-steps__ico svg{width:24px;height:24px;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gs-steps h3{font-size:19px;margin-bottom:4px}
.gs-steps p{font-size:15px;color:var(--soft)}
.gs-h3{font-size:24px;margin:32px 0 14px!important}
.gs-eras{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:8px}
.gs-eras li{display:flex;gap:12px;align-items:center;background:var(--bg2);border:1px solid var(--line);border-radius:14px;padding:10px 14px}
.gs-eras__n{width:30px;height:30px;flex:none;border-radius:8px;background:#1A2030;color:var(--accent);font:800 14px/30px Sora,sans-serif;text-align:center}
.gs-eras div{display:flex;flex-direction:column;min-width:0}
.gs-eras b{font-size:15px}
.gs-eras span{font-size:14px;color:var(--muted)}
.gs-ranks{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gs-ranks li{padding:6px 14px;border-radius:999px;background:#1A2030;color:var(--soft);font-weight:700;font-size:14px}
.gs-ranks li+li::before{content:"→";margin-right:8px;color:var(--muted)}
.gs-ranks li:last-child{background:var(--sun-pale);color:var(--sun)}
.gs-looks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(30%,120px),1fr));gap:10px}
.gs-looks li{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:14px;font-weight:700;color:var(--soft)}
.gs-looks img{width:100%;height:auto;aspect-ratio:200/260;border-radius:14px;background:#121827;border:1px solid var(--line)}
.gs-map{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#0B0E14}
.gs-map img{display:block;width:100%;height:auto}
.gs-cap{margin-top:8px!important}
.gt-more{margin-top:8px;font-weight:800;color:var(--sun);text-decoration:none}
.gt-more:hover{text-decoration:underline}
@media (max-width:480px){.gc-tabs{gap:2px}.gc-tabs a{padding:0 10px;font-size:14px}.gc-bar .gc-btn--sm{padding:6px 14px}}

/* v135 (Alberto): the POIGiochiamo menu a little smaller, less space between the words; long lists scroll inside themselves to the very bottom */
.poi-bar__in{padding-top:4px;padding-bottom:4px}
.poi-logo img{height:56px}
.poi-links{gap:20px;font-size:13.5px}
.poi-links>a,.poi-dd summary{min-height:40px}
.poi-dd__panel{top:42px;min-width:190px;padding:4px;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);overscroll-behavior:contain}
.poi-dd__panel a{min-height:36px;padding:6px 14px;font-size:13.5px}
.poi-m>summary{width:40px;height:40px}
.poi-m__panel{top:48px;padding:6px;max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overscroll-behavior:contain}
.poi-m__panel a,.poi-m__grp>summary{min-height:38px;padding:8px 14px;font-size:14px}
.poi-m__panel a.poi-m__sub{min-height:36px;padding:6px 14px 6px 24px;font-size:13.5px}
.bs-icon{width:40px;height:40px}
@media (min-width:900px){.poi-bar__in{padding-top:6px;padding-bottom:6px}.poi-logo img{height:80px}}
html{scroll-padding-top:150px}
body:has(.poi-m[open]) #lang-pill,body:has(.poi-m[open]) .gc-wa{display:none!important}

/* ---------- v136: the Gioco pages have their OWN top bar (like DrumScapeIT / NovaRuna), not the home menu ---------- */
.gc-head{max-width:1200px;margin:0 auto;padding:6px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.gc-top{background:rgba(12,15,14,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--poi-line)}
.gc--wormy .gc-top{background:#2C6B39;border-color:#2C6B39}
.gc--teens .gc-top,.gc--seconda .gc-top{background:rgba(11,14,20,.95);border-color:#2A3550}
.gc-logo{margin-right:auto;display:flex}
.gc-logo img{display:block;height:56px;width:auto}
.gc-head .gc-tabs{order:3;flex:1 1 100%;min-width:0;padding-bottom:2px}
.gc-head .gc-tabs a{color:#f6efe1}
.gc-head__r{display:flex;align-items:center;gap:10px}
.gc-home{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:#f6efe1;color:#141815;font:800 14px/1 "Libre Franklin",system-ui,sans-serif;text-decoration:none}
.gc--wormy .gc-head__play{background:#F2B632!important;color:#1E2A1F!important;box-shadow:none!important}
@media (min-width:900px){
  .gc-head{padding:8px 28px;flex-wrap:nowrap;gap:18px}
  .gc-logo{margin-right:0}
  .gc-logo img{height:80px}
  .gc-head .gc-tabs{order:0;flex:1 1 auto;justify-content:center}
}
.gc .gc-home{color:#141815}
.gc .gc-head .gc-tabs a[aria-current="page"]{background:var(--accent);color:var(--on-accent)}
.gc--main .gc-head .gc-tabs a[aria-current="page"]{background:var(--poi-ember2);color:#190c04}
.gc--wormy .gc-head .gc-tabs a[aria-current="page"]{background:#F2B632;color:#1E2A1F}

/* ---------- v142 (Alberto, Nov 1 2026, approved mockup «Let’s...English»): «Il Gioco» = the blue-and-white page,
   like the game's own front page (wormy.poigiochiamo.it/gioca/): navy band, red-white-red stripe, three round logos. ---------- */
.gc--main{--bg:#F4F6FC;--ink:#012169;--soft:#3a4a7a;--navy:#012169;--yellow:#FFD23F;--red:#C8102E;--accent:#FFD23F;--on-accent:#012169;--body:Fredoka,"Libre Franklin",system-ui,sans-serif}
.gc--main .gc-top{background:#012169;border-color:#012169}
.gc--main .gc-head .gc-tabs a[aria-current="page"]{background:#FFD23F;color:#012169}
.gc--main .gc-home{background:#fff}
.gc-hero{background:#012169;color:#fff;text-align:center;padding:26px 0 26px}
.gc-hero__in{max-width:1200px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-left,0px))}
.gc-le{font-family:'Baloo 2',Fredoka,sans-serif;font-weight:800;font-size:clamp(40px,11.4vw,104px);line-height:.95;color:#fff;display:flex;align-items:baseline;justify-content:center;text-shadow:0 6px 0 rgba(0,0,0,.35);letter-spacing:-.5px}
.gc-dots{display:inline-flex;gap:.06em;margin:0 .06em}
.gc-dots i{display:inline-block;width:.17em;height:.17em;border-radius:50%;box-shadow:0 0 0 3px #fff}
.gc-dots i:nth-child(1){background:#FF4D5A}.gc-dots i:nth-child(2){background:#FFD23F}.gc-dots i:nth-child(3){background:#5AB8FF}
.gc-en{color:#FFD23F}
.gc .gc-tag{font-family:'Kaushan Script',cursive;font-weight:400;font-size:clamp(30px,8.2vw,54px);line-height:1.1;margin-top:8px;color:#fff}
.gc-tag .y{color:#FFD23F}.gc-tag .r{color:#FF4D5A}
.gc-brand{font-size:clamp(16px,4.2vw,22px);font-weight:500;margin-top:12px!important;opacity:.95}
.gc-stripe{height:6px;background:linear-gradient(90deg,#C8102E 0 33.3%,#fff 33.3% 66.6%,#C8102E 66.6%)}
.gc-pick{text-align:center;padding-top:18px;display:flex;flex-direction:column;align-items:center;gap:10px}
.gc-pick__t{font-size:clamp(19px,5vw,24px);font-weight:600;color:#012169}
.gc-trial{background:#fff;color:#1E2A1F;border-radius:14px;padding:8px 14px;font-size:clamp(15px,4vw,18px);font-weight:500;box-shadow:0 4px 12px rgba(1,33,105,.10)}
.gc--main .gc-doors--3{display:grid;grid-template-columns:1fr;gap:16px;padding-top:22px;max-width:1180px}
@media (min-width:700px){.gc--main .gc-doors--3{grid-template-columns:1fr 1fr}}
@media (min-width:1021px){.gc--main .gc-doors--3{grid-template-columns:repeat(3,1fr)}}
.gc--main .gc-doors--3 .gc-door{background:#fff;color:#012169;border:3px solid transparent;border-radius:24px;padding:22px 18px 24px;box-shadow:0 6px 18px rgba(1,33,105,.12);display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.gc-door__badge{display:block;transition:transform .2s}

.gc-badge{width:min(270px,76vw);height:auto;display:block;overflow:visible}
.gc-badge .bn{font-family:'Baloo 2',Fredoka,sans-serif;font-weight:800;font-size:56px;letter-spacing:4px;stroke:#012169;stroke-width:3px;paint-order:stroke fill}
.gc-badge .bn-s{font-size:40px;letter-spacing:1px}
.gc-badge .bb{font-family:'Baloo 2',Fredoka,sans-serif;font-weight:800;font-size:27px;letter-spacing:1px;stroke:#012169;stroke-width:1.6px;paint-order:stroke fill}
.gc-badge .bb .by{fill:#012169;stroke:none;font-weight:700}
.gc-badge .chalk{font-family:'Kaushan Script',cursive;font-size:30px;fill:#F4F1E8;opacity:.9}
.gc-badge .tn{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:48px;letter-spacing:12px;fill:#C6F432;filter:drop-shadow(0 0 6px rgba(198,244,50,.7))}
.gc-badge .tb{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:21px;letter-spacing:3px}
.gc-badge .tb .by{fill:#8E99C9}.gc-badge .tb .poi{fill:#fff}
.gc--main .gc-door__for{font-size:17px;font-weight:500;color:#3a4a7a}
.gc-door__soon{font-size:14px;font-weight:600;border-radius:10px;padding:2px 8px}
.gc--main .gc-btn--enter{font-family:Fredoka,sans-serif;font-weight:700;font-size:17px;min-height:44px;padding:9px 20px;color:#fff;background:#3d9150}
.gc-door__more{font-size:15px;font-weight:600;color:#3a4a7a!important;text-decoration:none;opacity:.85}
.gc-door__more:hover{text-decoration:underline}
.gc--main .gc-doors--3 .gc-door--teens{background:#0E1430;border-color:#C6F432;box-shadow:0 0 0 1px rgba(198,244,50,.25),0 10px 28px rgba(5,10,42,.35)}
.gc--main .gc-door--teens .gc-door__for{color:#C9D2F0}
.gc--main .gc-door--teens .gc-door__soon{background:rgba(198,244,50,.12);color:#C6F432}
.gc--main .gc-door--teens .gc-btn--enter{background:#C6F432;color:#0E1430;font-family:'Space Grotesk',sans-serif}
.gc--main .gc-door--teens .gc-door__more{color:#C9D2F0!important}
.gc--main .gc-door--school .gc-btn--enter{background:#F28C28}
.gc--main .gc-point{background:#fff;color:#012169;box-shadow:0 6px 18px rgba(1,33,105,.08)}
.gc--main .gc-point svg{stroke:#012169}
.gc--main .gc-point h3{color:#012169;font-family:Fredoka,sans-serif}
.gc--main .gc-foot{background:#012169;color:#fff}
.gc--main .gc-foot a{color:#FFD23F}

/* v146 (Alberto, 2 Nov 2026: «make Gioca Inglese smaller and the game bubbles a little smaller, so all three games are on the
   first screen»): a compact top and compact doors; on phones the three doors sit side by side. */
.gc--main .gc-hero{padding:12px 0 14px}
.gc--main .gc-le{font-size:clamp(34px,6.2vw,66px)}
.gc--main .gc-tag{font-size:clamp(20px,3.6vw,34px);margin-top:2px}
.gc--main .gc-brand{font-size:clamp(13px,1.6vw,16px);margin-top:4px!important}
.gc--main .gc-pick{padding-top:10px;gap:4px}
.gc--main .gc-pick__t{font-size:clamp(16px,2vw,20px)}
.gc--main .gc-doors--3{padding-top:10px;gap:14px}
.gc--main .gc-doors--3 .gc-door{padding:12px 12px 14px;gap:7px;border-radius:20px}
.gc--main .gc-badge{width:min(196px,76vw)}
.gc--main .gc-door__for{font-size:15px}
.gc--main .gc-btn--enter,.gc--main .gc-who{min-height:38px;padding:6px 16px;font-size:15px}
@media (min-width:700px) and (max-width:1020px){.gc--main .gc-doors--3{grid-template-columns:repeat(3,1fr)}}
@media (max-width:699px){
  .gc--main .gc-hero{padding:8px 0 10px}
  .gc--main .gc-le{font-size:clamp(30px,10vw,44px)}
  .gc--main .gc-tag{font-size:clamp(18px,5.6vw,24px)}
  .gc--main .gc-brand{font-size:12px}
  .gc--main .gc-pick{padding-top:8px}
  .gc--main .gc-pick__t{font-size:15px}
  .gc--main .gc-doors--3{grid-template-columns:repeat(3,1fr);gap:6px;padding-top:8px;padding-inline:6px}
  .gc--main .gc-doors--3 .gc-door{padding:6px 4px 8px;gap:5px;border-radius:14px;border-width:2px;min-width:0}
  .gc--main .gc-badge{width:100%}
  .gc--main .gc-door__for{font-size:10.5px;line-height:1.2}
  .gc--main .gc-door__soon{font-size:9.5px;padding:2px 4px;line-height:1.2}
  .gc--main .gc-btn--enter,.gc--main .gc-who{min-height:30px;padding:4px 6px;font-size:11.5px;line-height:1.15;width:100%;white-space:normal;border-radius:999px}
}
.gc--main .gc-le{font-size:clamp(34px,5vw,56px)}
.gc--main .gc-tag{font-size:clamp(20px,2.8vw,28px)}
.gc--main .gc-brand{font-size:14px}
.gc--main .gc-pick{margin:0;padding-bottom:0}
.gc--main .gc-doors--3{margin-top:0}
.gc--main .gc-badge{width:min(176px,76vw)}
.gc-door__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:auto}
@media (max-width:699px){.gc-door__btns{flex-direction:column;gap:5px;width:100%}}
@media (max-width:699px){.gc--main .gc-badge{width:84%;margin:4px auto 0}.gc--main .gc-doors--3 .gc-door{overflow:hidden}}

/* v147 (Alberto, 2 Nov 2026: «hide the POIGiochiamo menu, keep Giochiamo Inglese at the top; when I move the mouse to the top
   the POIGiochiamo menu comes down, like autohide on the taskbar»). Front page only. Phones/tablets: a small tab at the top opens it. */
.gc--main .gc-top{position:fixed;left:0;right:0;top:0;z-index:100;transform:translateY(-100%);transition:transform .28s ease;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.gc--main .gc-top.show,.gc--main .gc-top:focus-within{transform:none}
.gc--main .gc-hero{position:sticky;top:0;z-index:40;transition:padding .25s}
.gc--main .gc-hero .gc-le,.gc--main .gc-hero .gc-tag{transition:font-size .25s}
.gc--main.gc-slim .gc-hero{position:fixed;left:0;right:0;top:0;padding:6px 0;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.gc--main.gc-slim .gc-le{font-size:clamp(24px,3.4vw,34px)}
.gc--main.gc-slim .gc-tag,.gc--main.gc-slim .gc-brand{display:none}
.gc-pull{position:fixed;top:0;left:0;z-index:101;border:0;border-radius:0 0 12px 0;background:#FFD23F;color:#012169;
  font:700 12px/1 Fredoka,system-ui,sans-serif;padding:6px 10px 7px;cursor:pointer;min-height:28px;box-shadow:0 3px 10px rgba(0,0,0,.3);transition:top .28s ease}
.gc-top.show ~ .gc-pull{display:none}
@media (hover:hover) and (pointer:fine){.gc-pull{opacity:.75}.gc-pull:hover{opacity:1}}
@media (prefers-reduced-motion:reduce){.gc--main .gc-top{transition:none}}
/* v150b: the moving POI Giochiamo logo in the top bar */
.gc-logo img.luci{height:68px;width:auto}
@media (min-width:900px){.gc-logo img.luci{height:94px}}

/* v78: the site bar is on top now: the «Giochiamo Inglese» band stays just under it */
body:has(.sh-top).gc--main .gc-hero{top:var(--sh-h,64px)}
