/* TicTagGo CI "X O" (chosen 23 Nov 2026, replaces World Explorer): primary blue #1858E8, playful orange #FF881B (GO, navigation), happy yellow #FFD23F, fresh mint #8BE4D2.
   Was: Tictaggo CI "World Explorer" (chosen 23 Nov 2026): sky ground, explorer blue for actions, sunny yellow for "go!!", the logo and highlights, green for navigation.
   blue #1858E8 (light #3D7BF0) · yellow #FFC531 · green #1F8A4C · deep ink #15296B · sky #F4F8FF.
   Logo: น้องนุ่มนิ่ม (the mascot) + "Tictag" in blue and "go!!" in yellow. App icon: a white # on a green globe with a yellow orbit, a pin and a plane.
   Turned on by html.ci-tt (CI switch at the top of index.html). */
html.ci-tt{--bg:#F4F8FF;--panel:#FFFFFF;--ink:#15296B;--muted:#5A6A8A;--line:#15296B;--soft:#EEF3FC;--bd:#DFE7F5;--bd-strong:#C6D3EA;
  --sakura:#1858E8;--sakura-soft:#E6EEFC;--sakura-ink:#1446BA;--pink:#1858E8;--tt-blue-l:#3D7BF0;--tt-yellow:#FFD23F;--tt-yellow-ink:#FF881B;--tt-yellow-soft:#FFF4D1;--tt-go:#FF881B;--tt-go-soft:#FFF0E0;--logo-hole:#FFFFFF}
html.ci-tt.dark{--bg:#0D1630;--panel:#152044;--ink:#EEF3FF;--muted:#A6B3D1;--line:#000;--soft:#1C2A55;--bd:#26366A;--bd-strong:#34468A;
  --sakura:#6EA2FF;--sakura-soft:#1C2E5E;--sakura-ink:#9BBEFF;--pink:#6EA2FF;--tt-yellow:#FFD23F;--tt-yellow-ink:#FFC531;--tt-yellow-soft:#3A3010;--tt-go:#FF9A3C;--tt-go-soft:#3A2614;--logo-hole:#152044}

html.ci-tt .btn.primary{background:var(--sakura);color:#fff;border-color:transparent;box-shadow:0 4px 14px rgba(24,88,232,.25)}
html.ci-tt.dark .btn.primary{color:#0D1630}
html.ci-tt .ai-fab{box-shadow:0 0 0 3px var(--tt-yellow),0 6px 16px rgba(21,41,107,.25)}
html.ci-tt .tc-me p{background:var(--sakura);color:#fff}
html.ci-tt .tc-send{background:var(--sakura);color:#fff}
html.ci-tt .ai-one{background:var(--sakura);color:#fff;box-shadow:none}
html.ci-tt .welcome{background:linear-gradient(180deg,#E6F0FF 0%,var(--bg) 320px)}
html.ci-tt.dark .welcome{background:var(--bg)}
html.ci-tt .w-ask{box-shadow:0 0 0 1px var(--bd),0 8px 24px -14px rgba(21,41,107,.3)}
html.ci-tt .w-ask:focus-within{box-shadow:0 0 0 2px var(--sakura)}
html.ci-tt .w-send{background:var(--sakura);color:#fff}
html.ci-tt .w-trip{background:linear-gradient(135deg,#3D7BF0,#1858E8) center/cover}
html.ci-tt .w-ph,html.ci-tt .w-slide{background:linear-gradient(135deg,#DCE9FF,#DDF6F0) center/cover}
/* go = green: navigation */
html.ci-tt #navGo,html.ci-tt .btn.go{background:var(--tt-go);color:#15296B;border-color:transparent;font-weight:700}
html.ci-tt .fill,html.ci-tt .w-mbar-bar i{background:var(--tt-go)}
html.ci-tt a{color:var(--sakura-ink)}
html.ci-tt .w-grid .w-gi .w-gi-ic{color:var(--sakura);background:var(--panel);box-shadow:0 0 0 1px var(--bd)}
html.ci-tt .chip[aria-pressed="true"],html.ci-tt .chip.on{background:var(--tt-yellow-soft);border-color:var(--tt-yellow);color:var(--ink)}

/* the logo: น้องนุ่มนิ่ม + "Tictag" in blue and "go!!" in yellow */
.brand-tt{display:none}
html.ci-tt .brand-tt{display:inline-flex;align-items:center;gap:8px;line-height:1;vertical-align:middle}
html.ci-tt svg.wordmark,html.ci-tt .brand-e-ic{display:none!important}
.brand-tt img:not(.tt-wm){width:38px;height:38px;border-radius:50%;box-shadow:0 0 0 2px var(--tt-yellow,#FFC531);flex:none;object-fit:cover}
.brand-tt .tt-w{font-family:'Fredoka','Poppins','Anuphan',system-ui,sans-serif;font-weight:700;font-size:23px;letter-spacing:-.01em;color:var(--sakura,#1858E8)}
.brand-tt .tt-w i{font-style:normal}
.brand-tt .tt-w i:nth-child(3){color:var(--tt-yellow-ink,#FF881B)}
html.ci-tt h1 .brand-tt img:not(.tt-wm){width:48px;height:48px}html.ci-tt h1 .brand-tt .tt-w{font-size:31px}
@media (max-width:420px){.brand-tt img:not(.tt-wm){width:32px;height:32px}.brand-tt .tt-w{font-size:21px}}
/* the wordmark is พี่นู's artwork itself (logo-tictaggo.png), next to น้องนุ่มนิ่ม */
.brand-tt .tt-wm{height:34px;width:auto;flex:none}
html.ci-tt h1 .brand-tt .tt-wm{height:46px}
@media (max-width:420px){.brand-tt .tt-wm{height:30px}}
/* home promo card: blue to deep navy instead of the old pink-to-plum */
html.ci-tt .w-promo2{background:radial-gradient(120% 140% at 100% 0%,color-mix(in srgb,var(--pb) 60%,#7FB4FF) 0%,var(--pb) 55%,color-mix(in srgb,var(--pb) 70%,#0B1F55) 100%)}

/* mint for soft surfaces (feature tiles), as on the board */
html.ci-tt{--tt-mint:#8BE4D2;--tt-mint-soft:#E4F8F3}
