/* Version C: the bottom bar. Story and Places at the sides, Ask AI in the middle as the main action. */
.tab{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #E1E8EE;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.tab>a,.tab>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;color:#5A6B78;text-decoration:none;font:600 12.5px/1.1 Figtree,system-ui,sans-serif;border-radius:14px;background:none;border:0}
.tab>a svg,.tab>button:not(.tai) svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tab [aria-current]{color:#0F7887}.tab [aria-current] svg{stroke-width:2.2}
.tab .tai{flex-direction:row;gap:9px;min-height:54px;padding:0 28px;border-radius:999px;background:linear-gradient(90deg,#13304A,#0F7887);color:#fff;font-size:16.5px;box-shadow:0 8px 22px rgba(15,120,135,.32)}
.tab .tai svg{width:21px;height:21px;color:#FFB27E;stroke:#FFB27E;fill:none;stroke-width:1.9}
.tab>a:active,.tab>button:active{transform:scale(.97)}
.tab.dk{background:rgba(7,24,43,.88);border-top-color:rgba(255,255,255,.1)}
.tab.dk>a,.tab.dk>button:not(.tai){color:rgba(255,255,255,.72)}.tab.dk [aria-current]{color:#fff}
.tab.dk .tai{background:linear-gradient(90deg,#0F7887,#18A3B3);box-shadow:0 8px 24px rgba(0,0,0,.35)}
/* the globe landing makes room for the bar */
.tlx .pn{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.tlx .top .hab{display:flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.36);border-radius:999px;background:rgba(7,24,43,.45);color:#fff;font-weight:600;font-size:15px;text-decoration:none;margin-right:4px}
.tlx .wd .pt{display:inline-block;margin-right:8px;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:13px;font-weight:600;vertical-align:1px}
.tlx .wd .voice{margin-top:10px}
/* the story: one idea per screen, a small chart against the world */
.tlx.mid .rd{opacity:0!important;pointer-events:none}
.tlx .wd .k{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.tlx .wd .k .pt{margin:0}
.tlx .wd .dg{font-size:14px;font-weight:600;color:#8FDCE2}
.tlx .wd h2{margin-top:8px}
.tlx .fg{margin-top:12px}
.tlx .fr{display:grid;grid-template-columns:64px 1fr 52px;align-items:center;gap:10px;min-height:26px}
.tlx .fr span{font-size:14px;font-weight:600;opacity:.9}
.tlx .fr i{position:relative;height:12px;border-radius:999px;background:rgba(255,255,255,.12)}
.tlx .fr b{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:#EE7B30;transition:width .6s cubic-bezier(.2,.8,.2,1)}
.tlx .fr.w b{background:#8FDCE2}
.tlx .fr strong{font:500 17px/1 Sora,sans-serif;text-align:right}
.tlx .fr em{position:absolute;top:-6px;bottom:-6px;width:2px;background:#fff;z-index:1}
.tlx .fr em small{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11.5px;font-style:normal;opacity:.85;margin-bottom:2px}
.tlx .fr:has(em){margin-top:16px}
.tlx .fd{display:flex;align-items:center;gap:6px}.tlx .fd i{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.35)}.tlx .fd i.on{background:#EE7B30;border-color:#EE7B30}.tlx .fd strong{margin-left:auto;font:500 17px/1 Sora,sans-serif}
.tlx .fn{font-size:13px;opacity:.72;margin-top:6px;line-height:1.35}
.tlx .cmp{font-size:15.5px;line-height:1.4;margin-top:10px;opacity:.95}
.tlx .wd .voice{margin-top:10px;font-size:15px}
.tlx .wd section .s{margin-top:8px}
@media (max-height:700px){.tlx .wd .voice{display:none}.tlx .fn{display:none}}
.tlx .fr.m b{background:rgba(255,255,255,.42)}
.tlx.s0 .wd h1{font-size:clamp(36px,10.5vw,52px);line-height:1.06}
