/* Three style directions for the city page. Preview with ?t=1 | ?t=2 | ?t=3 */

/* ============ T1 · SHOP MINIMAL (white, square, uppercase, hairlines) ============ */
body.t1 .nav{top:0;left:0;right:0;transform:none;max-width:none;border-radius:0;box-shadow:none;border-bottom:1px solid #111;justify-content:space-between;padding:12px 16px}
body.t1 .c3{--line:#111;--soft:#fff;--mut:#666;font-size:14px;line-height:1.6}
body.t1 .c3 *{border-radius:0!important}
body.t1 .c3-hero{background:none!important;color:#111;padding:52px 0 0}
body.t1 .c3-hero::before{position:static;display:block;height:250px;background:#ddd var(--img) center/cover no-repeat}
body.t1 .c3-hero.night::before{background-image:var(--imgn)}
body.t1 .c3-hin{padding:14px 16px 4px}
body.t1 .c3-crumb{font-size:10px;letter-spacing:.16em;text-transform:uppercase;opacity:1;color:#666}
body.t1 .c3-crumb a{color:#666}
body.t1 .c3-hero h1{font:600 22px/1.2 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#111;margin:6px 0 8px;gap:10px}
body.t1 .c3-flag{width:22px}
body.t1 .c3-live{text-shadow:none;font-weight:500;gap:2px 14px}
body.t1 .c3-live b{font-size:14px;font-weight:600;letter-spacing:.06em}
body.t1 .c3-live>span{font-size:13px;letter-spacing:.04em}
body.t1 .c3-wx{background:none;padding:0;backdrop-filter:none;-webkit-backdrop-filter:none;font-size:13px!important;text-transform:uppercase;letter-spacing:.1em}
body.t1 .c3-wx i{display:none}
body.t1 .c3-wrap{padding:14px 16px 0}
body.t1 .c3-stats{gap:0;border-top:1px solid #111;border-left:1px solid #111}
body.t1 .c3-stat{border:0;border-right:1px solid #111;border-bottom:1px solid #111;height:96px}
body.t1 .c3-sl{font-size:9.5px;letter-spacing:.16em}
body.t1 .c3-stat>b{font-size:15px;font-weight:600}
body.t1 .c3-stat>small{font-size:11px}
body.t1 .c3-sel{border-color:#111;font-weight:500}
body.t1 .c3-bar{height:2px;background:#ddd}
body.t1 .c3-barf{height:2px;background:#111!important}
body.t1 .c3-nav{grid-template-columns:1fr 1fr;gap:0;margin-top:22px;border-top:1px solid #111}
body.t1 .c3-nav button{flex-direction:row;justify-content:space-between;height:48px;background:#fff!important;color:#111!important;border-bottom:1px solid #111;font:500 11px/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:0 2px;text-align:left}
body.t1 .c3-nav button:nth-child(odd){padding-right:12px;border-right:1px solid #111}
body.t1 .c3-nav button:nth-child(even){padding-left:12px}
body.t1 .c3-nav button i{display:none}
body.t1 .c3-nav button::after{content:"→";font-size:13px;letter-spacing:0}
body.t1 .c3-by{letter-spacing:.06em;font-size:10px;text-transform:uppercase}
body.t1 .c3-ph{border-bottom:1px solid #111}
body.t1 .c3-ph b{font:600 12px Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase}
body.t1 .c3-x{background:none;color:#111;text-decoration:underline;font:500 11px Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:8px 4px}
body.t1 .c3-pb h3,body.t1 .c3-pb h4,body.t1 .c3-sub>summary{font:600 11px/1.4 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase}
body.t1 .c3-sub{border:0;border-top:1px solid #111;margin:0}
body.t1 .c3-sub>summary{padding:14px 0}
body.t1 .c3-sb{padding:0 0 10px}
body.t1 .c3-fx{color:#666;font-weight:400}
body.t1 .c3-pb .traps{background:#fff;border:1px solid #111}
body.t1 .c3-pp{background:#fff;border:1px solid #111}
body.t1 .c3-pp b{font-size:18px;font-weight:600;letter-spacing:.02em}
body.t1 .c3-loc,body.t1 .c3-app div a:first-child{letter-spacing:.14em;text-transform:uppercase;font-size:11px}
body.t1 .c3-cats button,body.t1 .c3-p .acts button,body.t1 .c3-p .acts a,body.t1 .c3-app div a,body.t1 .c3-moreb{font:500 11px Inter,sans-serif;letter-spacing:.1em;text-transform:uppercase}
body.t1 .c3-p .tg span{background:#fff;border:1px solid #111;color:#111;font-weight:500;letter-spacing:.08em}
body.t1 .c3-wg>div{background:#fff;border:1px solid #111}
body.t1 .c3-tabbar{border-top:1px solid #111;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}
body.t1 .c3-tabbar a{font-size:0;padding:10px 0}
body.t1 .c3-tabbar a span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#111;font-weight:500}
html.c3-wide body.t1 .nav{padding:14px 32px}
html.c3-wide body.t1 .c3-hero{padding-top:56px}
html.c3-wide body.t1 .c3-hero::before{height:420px}
html.c3-wide body.t1 .c3-hin{padding:22px 32px 6px;align-items:flex-end}
html.c3-wide body.t1 .c3-hero h1{font-size:34px;letter-spacing:.2em}
html.c3-wide body.t1 .c3-live b{font-size:16px}
html.c3-wide body.t1 .c3-live>span{font-size:14px}
html.c3-wide body.t1 .c3-wrap{padding:22px 32px 0}
html.c3-wide body.t1 .c3-nav{display:flex;flex-wrap:wrap;gap:0 4px;margin:0 0 26px;padding:0;border-top:0;border-bottom:1px solid #111}
html.c3-wide body.t1 .c3-nav button{height:46px;padding:0 12px!important;border:0!important;border-bottom:2px solid transparent!important;margin-bottom:-1px}
html.c3-wide body.t1 .c3-nav button::after{content:none}
html.c3-wide body.t1 .c3-nav button.on{border-bottom-color:#111!important}
html.c3-wide body.t1 .c3-pt{font:600 20px/1.2 Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;margin-bottom:18px}
html.c3-wide body.t1 .c3-pt span{display:none}
html.c3-wide body.t1 .c3-curbar{margin:-46px 0 24px}
html.c3-wide body.t1 .c3-stat{height:100px}


/* ============ T2 · EDITORIAL (cream paper, big serif, numbered) ============ */
body.t2{background:#f4efe6}
body.t2 .nav{background:#f4efe6;box-shadow:none;border:1px solid #1c1a17;border-radius:999px}
body.t2 .foot{border-color:#d8cfbf}
body.t2 .c3{--line:#d8cfbf;--soft:#ebe4d6;--ink:#1c1a17;--mut:#7d7262;color:#1c1a17;font-size:16px;line-height:1.6}
body.t2 .c3-hero{padding:0 18px 22px;min-height:66vh;display:flex;align-items:flex-end}
body.t2 .c3-hero::before{background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,0) 35%,rgba(0,0,0,.78))}
body.t2 .c3-hin{width:100%}
body.t2 .c3-crumb{font:italic 400 17px "Instrument Serif",Georgia,serif;opacity:1}
body.t2 .c3-hero h1{font:italic 400 92px/.92 "Instrument Serif",Georgia,serif;margin:2px 0 14px;gap:0;letter-spacing:-.01em}
body.t2 .c3-flag{display:none}
body.t2 .c3-live{border-top:1px solid rgba(255,255,255,.6);padding-top:10px;font-weight:500;text-shadow:none;gap:2px 16px}
body.t2 .c3-live b{font:400 30px/1 "Instrument Serif",Georgia,serif}
body.t2 .c3-live>span{font-size:14px;letter-spacing:.04em}
body.t2 .c3-wx{background:none;padding:0;backdrop-filter:none;-webkit-backdrop-filter:none;font:italic 400 19px "Instrument Serif",Georgia,serif!important}
body.t2 .c3-wx i{display:none}
body.t2 .c3-wrap{padding:22px 18px 0}
body.t2 .c3-stats{gap:0 20px}
body.t2 .c3-stat{border:0;border-top:1px solid #1c1a17;border-radius:0;background:none;padding:8px 0 10px;height:108px}
body.t2 .c3-sl{font:italic 400 15px "Instrument Serif",Georgia,serif;letter-spacing:0;text-transform:none;color:#7d7262}
body.t2 .c3-sl a{font:400 10px Inter,sans-serif}
body.t2 .c3-stat>b{font:400 27px/1.15 "Instrument Serif",Georgia,serif;margin-top:6px}
body.t2 .c3-stat>b.long{font-size:20px;line-height:1.5}
body.t2 .c3-sel{background:#f4efe6;border-color:#1c1a17;border-radius:999px;font-weight:500;padding:2px 6px}
body.t2 .c3-bar{height:3px;background:#d8cfbf}
body.t2 .c3-barf{height:3px;background:#1c1a17!important}
body.t2 .c3-nav{counter-reset:n;grid-template-columns:1fr 1fr;gap:0 20px;margin-top:26px;border-top:1px solid #1c1a17}
body.t2 .c3-nav button{counter-increment:n;flex-direction:row;justify-content:flex-start;gap:10px;height:56px;background:none!important;color:#1c1a17!important;border-radius:0;border-bottom:1px solid #d8cfbf;font:400 22px/1 "Instrument Serif",Georgia,serif;padding:0;text-align:left}
body.t2 .c3-nav button::before{content:counter(n,decimal-leading-zero);font:500 10px Inter,sans-serif;letter-spacing:.08em;color:#7d7262;width:18px;flex:none}
body.t2 .c3-nav button i{display:none}
body.t2 .c3-by{font:italic 400 15px "Instrument Serif",Georgia,serif}
body.t2 .c3-panel,body.t2 .c3-ph{background:#f4efe6}
body.t2 .c3-ph b{font:italic 400 26px "Instrument Serif",Georgia,serif}
body.t2 .c3-x{background:none;color:#1c1a17;border:1px solid #1c1a17}
body.t2 .c3-pb{padding-top:16px}
body.t2 .c3-pb h3,body.t2 .c3-pb h4,body.t2 .c3-sub>summary{font:400 24px/1.2 "Instrument Serif",Georgia,serif}
body.t2 .c3-sub{background:none;border:0;border-top:1px solid #1c1a17;border-radius:0;margin:0}
body.t2 .c3-sub>summary{padding:14px 0}
body.t2 .c3-sb{padding:0 0 12px}
body.t2 .c3-fx{color:#8a5a2b;font-weight:500}
body.t2 .c3-pb .traps{background:#ebe4d6;border-radius:4px}
body.t2 .c3-pb figure img{border-radius:2px}
body.t2 .c3-pp{background:none;border:0;border-top:1px solid #1c1a17;border-bottom:1px solid #1c1a17;border-radius:0;padding:14px 0}
body.t2 .c3-pp b{font:400 40px/1.1 "Instrument Serif",Georgia,serif}
body.t2 .c3-app,body.t2 .c3-p,body.t2 .c3-cats button,body.t2 .c3-p .acts button,body.t2 .c3-p .acts a,body.t2 .c3-moreb,body.t2 .c3-unit button{background:#f4efe6}
body.t2 .c3-app,body.t2 .c3-p{border-radius:4px}
body.t2 .c3-app b,body.t2 .c3-p>b{font:400 21px/1.2 "Instrument Serif",Georgia,serif}
body.t2 .c3-loc{border-radius:999px}
body.t2 .c3-wg>div{border-radius:4px}
body.t2 .c3-tabbar{background:rgba(244,239,230,.96);border-top:1px solid #1c1a17}
body.t2 .c3-tabbar a{font-size:0;padding:9px 0}
body.t2 .c3-tabbar a span{font:italic 400 17px "Instrument Serif",Georgia,serif;color:#1c1a17}
html.c3-wide body.t2 .c3-hero{min-height:560px;padding:0 48px 36px}
html.c3-wide body.t2 .c3-hin{align-items:flex-end}
html.c3-wide body.t2 .c3-hero h1{font-size:190px;margin:0}
html.c3-wide body.t2 .c3-crumb{font-size:22px}
html.c3-wide body.t2 .c3-live{border-top:0;border-left:1px solid rgba(255,255,255,.6);padding:0 0 6px 22px;flex-direction:column;align-items:flex-start;gap:6px}
html.c3-wide body.t2 .c3-live b{font-size:64px}
html.c3-wide body.t2 .c3-live>span{font-size:17px}
html.c3-wide body.t2 .c3-wx{font-size:26px!important}
html.c3-wide body.t2 .c3-wrap{padding:34px 48px 0;grid-template-columns:230px minmax(0,1fr) 300px;grid-template-areas:"nav panels rail" "nav by rail";gap:0 48px}
html.c3-wide body.t2 .c3-nav{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;position:sticky;top:20px;background:none;padding:0;margin:0;border-bottom:0}
html.c3-wide body.t2 .c3-nav button{height:50px;font-size:24px;border:0!important;border-bottom:1px solid #d8cfbf!important;padding:0!important}
html.c3-wide body.t2 .c3-nav button.on{font-style:italic;border-bottom-color:#1c1a17!important}
html.c3-wide body.t2 .c3-nav button.on::after{content:"→";margin-left:auto;font:400 16px Inter,sans-serif}
html.c3-wide body.t2 .c3-pt{font:italic 400 76px/1 "Instrument Serif",Georgia,serif;margin-bottom:20px}
html.c3-wide body.t2 .c3-pt span{display:none}
html.c3-wide body.t2 .c3-curbar{margin:-58px 0 34px}
html.c3-wide body.t2 .c3-pb{font-size:17px}
html.c3-wide body.t2 .c3-stats{gap:0}
html.c3-wide body.t2 .c3-stat{height:112px}
html.c3-wide body.t2 .c3-stat>b{font-size:32px}
html.c3-wide body.t2 .c3-sub>summary{font-size:28px;padding:18px 0}


/* ============ T3 · DARK APP (night, glass cards, colour icons) ============ */
body.t3{background:#0b0d10;color:#f3f5f7}
body.t3 .nav{background:rgba(22,25,31,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:none;border:1px solid rgba(255,255,255,.08)}
body.t3 .nav a,body.t3 .nav .word{color:#f3f5f7}
body.t3 .nav nav a{color:#9aa3ad}
body.t3 .nav nav a.navred{color:#ff5a6e}
body.t3 .foot{border-color:rgba(255,255,255,.08);color:#7f8894}
body.t3 .foot strong,body.t3 .foot a{color:#c9d0d8}
body.t3 .c3{--line:rgba(255,255,255,.09);--soft:#161920;--ink:#f3f5f7;--mut:#8f99a5;--ok:#6ee7a1;color:#e6eaee}
body.t3 .c3-hero{padding:96px 16px 26px;border-radius:0 0 30px 30px;overflow:hidden;text-align:center}
body.t3 .c3-hero::before{background:linear-gradient(180deg,rgba(11,13,16,.55),rgba(11,13,16,.15) 40%,rgba(11,13,16,.92))}
body.t3 .c3-crumb{font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
body.t3 .c3-hero h1{font:800 34px/1.1 Inter,sans-serif;letter-spacing:-.02em;justify-content:center;margin:6px 0 2px}
body.t3 .c3-flag{width:26px;border-radius:5px}
body.t3 .c3-live{flex-direction:column;gap:6px;text-shadow:none}
body.t3 .c3-live b{font-size:68px;font-weight:200;letter-spacing:-.02em;line-height:1}
body.t3 .c3-live>span{font-size:17px;font-weight:600;color:#c9d0d8}
body.t3 .c3-wx{background:rgba(255,255,255,.12);color:#fff;font-size:14px!important;padding:6px 14px 6px 10px}
body.t3 .c3-wrap{padding:14px 12px 0}
body.t3 .c3-stats{gap:10px}
body.t3 .c3-stat{background:#161920;border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:12px 14px;height:112px}
body.t3 .c3-sl{font-size:10.5px;letter-spacing:.1em;color:#8f99a5}
body.t3 .c3-sl a{color:#8f99a5}
body.t3 .c3-stat>b{font-size:20px;font-weight:800;letter-spacing:-.01em;color:#fff}
body.t3 .c3-stat>b.long{font-size:15px}
body.t3 .c3-sel{background:#222630;border-color:rgba(255,255,255,.14);color:#fff;border-radius:10px}
body.t3 .c3-bar{background:rgba(255,255,255,.12);height:7px}
body.t3 .c3-barf{height:7px}
body.t3 .c3-barf.m{background:linear-gradient(90deg,#ffb020,#ffd76a)}
body.t3 .c3-barf.g{background:linear-gradient(90deg,#22c58b,#6ee7a1)}
body.t3 .c3-barf.l{background:linear-gradient(90deg,#ff4d5e,#ff8a70)}
body.t3 .c3-nav{grid-template-columns:repeat(4,1fr);gap:16px 6px;margin-top:20px}
body.t3 .c3-nav button{background:none!important;color:#dfe4e9!important;height:auto;padding:0;gap:7px;font:600 11.5px/1.2 Inter,sans-serif}
body.t3 .c3-nav button i{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:26px;background:linear-gradient(145deg,#2a2f3a,#1b1f27);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
body.t3 .c3-nav button:nth-child(1) i{background:linear-gradient(145deg,#ff5a6e,#c2182f)}
body.t3 .c3-nav button:nth-child(2) i{background:linear-gradient(145deg,#5b8cff,#2f4fd1)}
body.t3 .c3-nav button:nth-child(3) i{background:linear-gradient(145deg,#31c9e8,#0f7fb0)}
body.t3 .c3-nav button:nth-child(4) i{background:linear-gradient(145deg,#ffc24a,#e08a00)}
body.t3 .c3-nav button:nth-child(5) i{background:linear-gradient(145deg,#37d39a,#0c8f63)}
body.t3 .c3-nav button:nth-child(6) i{background:linear-gradient(145deg,#a07bff,#5b35d6)}
body.t3 .c3-nav button:nth-child(7) i{background:linear-gradient(145deg,#6b7686,#3a4250)}
body.t3 .c3-nav button:nth-child(8) i{background:linear-gradient(145deg,#ff8f5a,#d4551f)}
body.t3 .c3-nav button:nth-child(9) i{background:linear-gradient(145deg,#4fd6c4,#16907f)}
body.t3 .c3-nav button:nth-child(10) i{background:linear-gradient(145deg,#f472b6,#be2d82)}
body.t3 .c3-by{color:#6f7985}
body.t3 .c3-panel{background:#0b0d10}
body.t3 .c3-ph{background:rgba(11,13,16,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom-color:rgba(255,255,255,.08)}
body.t3 .c3-ph b{font-weight:800}
body.t3 .c3-back{color:#fff}
body.t3 .c3-x{background:#fff;color:#0b0d10}
body.t3 .c3-pb h3,body.t3 .c3-pb h4{color:#fff}
body.t3 .c3-sub{background:#161920;border-color:rgba(255,255,255,.06);border-radius:18px}
body.t3 .c3-sub>summary{color:#fff}
body.t3 .c3-pb .traps{background:#231f12;color:#f1e6c8;border-radius:18px}
body.t3 .c3-pp{background:linear-gradient(145deg,#1d2230,#161920);border-color:rgba(255,255,255,.08);border-radius:22px}
body.t3 .c3-pp b{font-size:28px;font-weight:800;color:#fff}
body.t3 .c3-pp p{color:#9aa3ad}
body.t3 .c3-app,body.t3 .c3-p{background:#161920;border-color:rgba(255,255,255,.06);border-radius:18px}
body.t3 .c3-app p{color:#a9b2bc}
body.t3 .c3-app div a{border-color:rgba(255,255,255,.16);color:#fff}
body.t3 .c3-app div a:first-child,body.t3 .c3-loc{background:#fff;color:#0b0d10;border-color:#fff}
body.t3 .c3-cats button,body.t3 .c3-p .acts button,body.t3 .c3-p .acts a,body.t3 .c3-moreb,body.t3 .c3-unit button{background:#161920;border-color:rgba(255,255,255,.12);color:#e6eaee}
body.t3 .c3-cats button.on,body.t3 .c3-unit button.on,body.t3 .c3-p .acts button.on{background:#fff!important;color:#0b0d10!important;border-color:#fff!important}
body.t3 .c3-p.x{border-color:#fff}
body.t3 .c3-p .tg span{background:rgba(110,231,161,.16);color:#6ee7a1}
body.t3 .c3-gm{color:#8ab4ff!important}
body.t3 .c3-wg>div{background:#161920;border-radius:14px}
body.t3 .c3 #c3srcs a{color:#b9c1ca}
body.t3 .c3-tabbar{background:rgba(16,18,23,.9);border-top-color:rgba(255,255,255,.08)}
body.t3 .c3-tabbar a span{color:#9aa3ad}
html.c3-wide body.t3 .c3-hero{padding:120px 32px 44px;border-radius:0 0 44px 44px}
html.c3-wide body.t3 .c3-hin{flex-direction:column;align-items:center;gap:6px}
html.c3-wide body.t3 .c3-hero h1{font-size:54px}
html.c3-wide body.t3 .c3-live{flex-direction:row;align-items:center;gap:22px}
html.c3-wide body.t3 .c3-live b{font-size:120px}
html.c3-wide body.t3 .c3-live>span{font-size:24px}
html.c3-wide body.t3 .c3-wrap{padding:28px 32px 0;grid-template-columns:96px minmax(0,1fr) 330px;grid-template-areas:"nav panels rail" "nav by rail";gap:0 36px}
html.c3-wide body.t3 .c3-nav{display:flex;flex-direction:column;flex-wrap:nowrap;gap:14px;position:sticky;top:20px;background:none;border:0;padding:0;margin:0}
html.c3-wide body.t3 .c3-nav button{border:0!important;height:auto!important;padding:0!important;flex-direction:column!important;border-radius:0!important;font-size:11px!important;opacity:.62}
html.c3-wide body.t3 .c3-nav button:hover,html.c3-wide body.t3 .c3-nav button.on{opacity:1}
html.c3-wide body.t3 .c3-nav button.on i{box-shadow:0 0 0 2px #0b0d10,0 0 0 4px #fff}
html.c3-wide body.t3 .c3-nav button i{width:50px;height:50px;border-radius:16px;font-size:22px}
html.c3-wide body.t3 .c3-panels{background:#12151b;border:1px solid rgba(255,255,255,.06);border-radius:28px;padding:30px 34px 26px}
html.c3-wide body.t3 .c3-pt{font:800 40px/1.1 Inter,sans-serif;letter-spacing:-.02em;color:#fff}
html.c3-wide body.t3 .c3-curbar{margin:-50px 0 26px}
html.c3-wide body.t3 .c3-sub{border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;background:none}
html.c3-wide body.t3 .c3-stat{height:112px}
html.c3-wide body.t3 .c3-stat>b{font-size:22px}

body.t3 .c3-hero h1{margin:8px 0 10px}
body.t3 .c3-live b{margin-bottom:4px}
body.t3 .c3-stat>b.long{font-size:16px;line-height:1.5}
body.t2 .c3-stat>b.long{font-size:22px;line-height:1.35}
.c3-stat>b#c3v.long{font-size:15px}
body.t1 .c3-stat>b#c3v.long{font-size:14px}
body.t2 .c3-stat>b#c3v.long{font-size:22px;line-height:1.35}
body.t3 .c3-stat>b#c3v.long{font-size:16px;line-height:1.5}
html.c3-wide body.t1 .c3-nav{border-bottom:0;box-shadow:0 1px 0 #111}
html.c3-wide body.t1 .c3-nav button{margin-bottom:0}
html.c3-wide body.t2 .c3-stat>b#c3v.long{font-size:28px}
html.c3-wide body.t3 .c3-stat>b#c3v.long{font-size:20px}


/* ============ T4 · SIMPLE (Cloudflare-like), light + dark, app-ready ============ */
body.t4{--bg:#fbfbfa;--card:#fff;--line4:#e8e7e3;--ink4:#1f1f1f;--mut4:#6e6e6a;--soft4:#f2f2ef;--acc:#E8112D;--glass:rgba(255,255,255,.78);background:var(--bg);color:var(--ink4);color-scheme:light}
html[data-mode="dark"] body.t4{--bg:#0f1012;--card:#17181b;--line4:#27292d;--ink4:#ededed;--mut4:#9a9da3;--soft4:#1e2024;--acc:#ff5468;--glass:rgba(23,24,27,.74);color-scheme:dark}
body.t4 .c3{--line:var(--line4);--soft:var(--soft4);--ink:var(--ink4);--mut:var(--mut4);--ok:#2e7d4f;color:var(--ink4);font-size:15px;line-height:1.55}
html[data-mode="dark"] body.t4 .c3{--ok:#63d695}
/* top bar */
body.t4 .nav{position:sticky;top:0;left:auto;right:auto;transform:none;max-width:none;width:100%;box-sizing:border-box;border-radius:0;box-shadow:none;background:var(--glass);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line4);padding:9px 14px;justify-content:space-between;gap:10px;z-index:40}
body.t4 .nav .word{font-size:0;gap:0;color:var(--ink4)}
body.t4 .nav .word img{width:26px;height:26px}
body.t4 .nav nav{display:flex;align-items:center;gap:14px}
body.t4 .nav nav a{color:var(--mut4);font-size:13.5px;font-weight:500}
body.t4 .nav nav a.navred{color:var(--ink4)}
.c3-mode{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line4);border-radius:9px;background:var(--card);color:var(--ink4);cursor:pointer;padding:0}
.c3-mode svg{width:17px;height:17px}
body.t4 .foot{border-color:var(--line4);color:var(--mut4)}
body.t4 .foot strong,body.t4 .foot a{color:var(--ink4)}
/* hero as a card */
body.t4 .c3-hero{margin:12px 12px 0;border-radius:16px;overflow:hidden;padding:84px 16px 14px}
body.t4 .c3-hero::before{background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.72))}
body.t4 .c3-crumb{font-size:12.5px}
body.t4 .c3-hero h1{font:650 30px/1.1 Inter,sans-serif;letter-spacing:-.02em;margin:2px 0 8px;gap:10px}
body.t4 .c3-flag{width:24px;border-radius:4px}
body.t4 .c3-live{gap:6px;text-shadow:none;font-weight:600}
body.t4 .c3-live b,body.t4 .c3-live>span{font-size:13px;line-height:1;background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 10px}
body.t4 .c3-wx{font-size:13px!important}
body.t4 .c3-wx i{display:none}
/* stats */
body.t4 .c3-wrap{padding:10px 12px 0}
body.t4 .c3-stats{gap:8px}
body.t4 .c3-stat{background:var(--card);border-color:var(--line4);border-radius:12px;height:98px;padding:10px 12px}
body.t4 .c3-sl{font-size:12px;letter-spacing:0;text-transform:none;color:var(--mut4)}
body.t4 .c3-sl a{color:var(--mut4)}
body.t4 .c3-stat>b{font-size:19px;font-weight:650;letter-spacing:-.01em;color:var(--ink4)}
body.t4 .c3-stat>b.long,body.t4 .c3-stat>b#c3v.long{font-size:15px;line-height:1.6}
body.t4 .c3-sel{background:var(--card);border-color:var(--line4);color:var(--ink4);border-radius:8px}
body.t4 .c3-bar{background:var(--soft4);height:5px}
body.t4 .c3-barf{height:5px}
/* menu */
body.t4 .c3-nav{grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
.c3-grp{display:none}
body.t4 .c3-grp{display:block;grid-column:1/-1;font-size:12px;color:var(--mut4);margin:12px 2px 0}
body.t4 .c3-nav button{flex-direction:row;justify-content:flex-start;gap:10px;height:50px;padding:0 10px 0 12px;background:var(--card)!important;color:var(--ink4)!important;border:1px solid var(--line4);border-radius:12px;font:550 14px/1.2 Inter,sans-serif;text-align:left}
body.t4 .c3-nav button i{display:grid;place-items:center;width:20px;height:20px;font-size:0;flex:none;color:var(--mut4)}
body.t4 .c3-nav button i svg{width:19px;height:19px}
body.t4 .c3-nav button span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.t4 .c3-nav button em{font-style:normal;color:var(--mut4);font-size:17px;line-height:1}
.c3-nav button em{display:none}
body.t4 .c3-nav button em{display:block}
body.t4 .c3-nav button.hot i{color:var(--acc)}
body.t4 .c3-by{color:var(--mut4);margin-bottom:76px}
/* sheets */
body.t4 .c3-panel{background:var(--bg)}
body.t4 .c3-ph{background:var(--glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom-color:var(--line4)}
body.t4 .c3-ph b{font-weight:650;font-size:16px;color:var(--ink4)}
body.t4 .c3-back{color:var(--ink4)}
body.t4 .c3-x{background:var(--card);color:var(--ink4);border:1px solid var(--line4);border-radius:9px;padding:7px 12px}
body.t4 .c3-pb h3,body.t4 .c3-pb h4,body.t4 .c3-sub>summary{color:var(--ink4);font-weight:650}
body.t4 .c3-sub{background:var(--card);border-color:var(--line4);border-radius:12px}
body.t4 .c3-pb .traps{background:var(--soft4);border:1px solid var(--line4);border-radius:12px}
body.t4 .c3-pp{background:var(--card);border-color:var(--line4);border-radius:12px}
body.t4 .c3-pp b{font-weight:650;letter-spacing:-.01em;color:var(--ink4)}
body.t4 .c3-pp p{color:var(--mut4)}
body.t4 .c3-app,body.t4 .c3-p{background:var(--card);border-color:var(--line4);border-radius:12px}
body.t4 .c3-app p{color:var(--mut4)}
body.t4 .c3-app div a,body.t4 .c3-cats button,body.t4 .c3-p .acts button,body.t4 .c3-p .acts a,body.t4 .c3-moreb,body.t4 .c3-unit button{background:var(--card);border-color:var(--line4);color:var(--ink4);border-radius:9px}
body.t4 .c3-unit{border-color:var(--line4)}
body.t4 .c3-app div a:first-child,body.t4 .c3-loc,body.t4 .c3-cats button.on,body.t4 .c3-unit button.on,body.t4 .c3-p .acts button.on{background:var(--ink4)!important;color:var(--bg)!important;border-color:var(--ink4)!important}
body.t4 .c3-loc{border-radius:10px}
body.t4 .c3-p.x{border-color:var(--ink4)}
body.t4 .c3-p .tg span{background:color-mix(in srgb,var(--ok) 16%,transparent);color:var(--ok)}
body.t4 .c3-gm{color:var(--ink4)!important;text-decoration:underline}
body.t4 .c3-wg>div{background:var(--card);border:1px solid var(--line4)}
body.t4 .c3 #c3srcs a,body.t4 .c3-pb a{color:var(--ink4)}
body.t4 .c3-pb figure img{border-radius:12px}
body.t4 .c3-pt span{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line4);border-radius:10px;background:var(--card);color:var(--mut4);font-size:0}
body.t4 .c3-pt span svg{width:20px;height:20px}
/* floating glass tab bar (navigation layer only) */
body.t4 .c3-tabbar{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));border:1px solid var(--line4);border-radius:999px;background:var(--glass);-webkit-backdrop-filter:saturate(1.5) blur(18px);backdrop-filter:saturate(1.5) blur(18px);box-shadow:0 8px 28px rgba(0,0,0,.14);padding:7px 8px}
body.t4 .c3-tabbar a{color:var(--mut4);gap:3px;padding:3px 0}
body.t4 .c3-tabbar a svg{width:21px;height:21px}
body.t4 .c3-tabbar a span{color:var(--mut4);font-size:10.5px}
body.t4 .c3-tabbar a:nth-child(2),body.t4 .c3-tabbar a:nth-child(2) span{color:var(--ink4)}
html.c3-wide body.t4 .nav{padding:10px 22px}
html.c3-wide body.t4 .nav .word{font-size:15px;gap:10px;font-weight:800;letter-spacing:.06em}
html.c3-wide body.t4 .nav nav{gap:22px}
html.c3-wide body.t4 .c3{display:grid;grid-template-columns:252px minmax(0,1fr);max-width:1360px;margin:0 auto}
html.c3-wide body.t4 .c3-hero{grid-column:2;grid-row:1;margin:20px 28px 0;padding:120px 26px 22px;border-radius:18px}
html.c3-wide body.t4 .c3-hin{align-items:flex-end}
html.c3-wide body.t4 .c3-hero h1{font-size:52px;margin:4px 0 0}
html.c3-wide body.t4 .c3-flag{width:36px}
html.c3-wide body.t4 .c3-live b,html.c3-wide body.t4 .c3-live>span,html.c3-wide body.t4 .c3-wx{font-size:15px!important;padding:8px 14px}
html.c3-wide body.t4 .c3-wrap{display:contents}
html.c3-wide body.t4 .c3-rail{grid-column:2;grid-row:2;position:static;margin:14px 28px 0;max-height:none;overflow:visible}
html.c3-wide body.t4 .c3-stats{grid-template-columns:repeat(4,1fr);gap:12px}
html.c3-wide body.t4 .c3-stat{height:104px;padding:12px 14px}
html.c3-wide body.t4 .c3-stat>b{font-size:22px}
html.c3-wide body.t4 .c3-stat>b.long,html.c3-wide body.t4 .c3-stat>b#c3v.long{font-size:17px;line-height:1.7}
html.c3-wide body.t4 .c3-nav{grid-column:1;grid-row:1 / span 6;display:flex;flex-direction:column;flex-wrap:nowrap;gap:2px;position:sticky;top:55px;align-self:start;height:calc(100vh - 55px);overflow-y:auto;margin:0;padding:8px 12px 20px;background:none;border:0;border-right:1px solid var(--line4)}
html.c3-wide body.t4 .c3-grp{margin:16px 10px 6px}
html.c3-wide body.t4 .c3-nav button{height:36px;border:0!important;border-radius:8px!important;background:none!important;font-size:13.5px!important;font-weight:500;padding:0 10px!important;gap:10px}
html.c3-wide body.t4 .c3-nav button i svg{width:17px;height:17px}
html.c3-wide body.t4 .c3-nav button em{display:none}
html.c3-wide body.t4 .c3-nav button:hover{background:var(--soft4)!important}
html.c3-wide body.t4 .c3-nav button.on{background:var(--soft4)!important;color:var(--ink4)!important;font-weight:650}
html.c3-wide body.t4 .c3-nav button.on i{color:var(--ink4)}
html.c3-wide body.t4 .c3-panels{grid-column:2;grid-row:3;margin:14px 28px 0;background:var(--card);border:1px solid var(--line4);border-radius:14px;padding:26px 30px 22px;min-height:50vh}
html.c3-wide body.t4 .c3-pb{max-width:860px}
html.c3-wide body.t4 .c3-pt{font:650 28px/1.2 Inter,sans-serif;letter-spacing:-.02em;color:var(--ink4);gap:14px;margin-bottom:16px}
html.c3-wide body.t4 .c3-curbar{margin:-52px 0 28px}
html.c3-wide body.t4 .c3-sub{border:0;border-top:1px solid var(--line4);border-radius:0;background:none}
html.c3-wide body.t4 .c3-by{grid-column:2;grid-row:4;margin:18px 28px 0}

html:not(.c3-wide) body.t4 .c3-pb td:not(:first-child)::before{text-transform:none;letter-spacing:0;font-size:12px;color:var(--mut4);padding-top:2px}

body.t4 .c3-pb th{text-transform:none;letter-spacing:0;font-size:12.5px;color:var(--mut4);border-color:var(--line4)}
body.t4 .c3-pb td{border-color:var(--line4)}
html.c3-wide body.t4 .c3-panel{background:none}
html.c3-wide body.t4 .c3-stat{height:112px}
html.c3-wide body.t4 .c3-pp{margin-top:4px}


/* ---- T4 on foldables: cover screens (short, compact) and inner screens (wide, low) ---- */
body.t4 .c3-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
html.c3-wide body.t4 .c3-nav{grid-template-columns:none}
/* the status column on the trailing edge (iPhone Duo) and any other inset */
body.t4 .nav{padding-right:calc(14px + var(--side,0px))}
body.t4 .c3{padding-right:var(--side,0px)}
body.t4 .c3-tabbar{right:calc(12px + var(--side,0px))}
html:not(.c3-wide) body.t4 .c3-panel{right:var(--side,0px)}
/* cover screens: little height, so tighten and drop the group labels */
@media(max-height:720px){
 html:not(.c3-wide) body.t4 .nav{padding-top:6px;padding-bottom:6px}
 html:not(.c3-wide) body.t4 .c3-hero{margin:8px 10px 0;padding:40px 14px 10px;border-radius:14px}
 html:not(.c3-wide) body.t4 .c3-hero h1{font-size:24px;margin:0 0 6px}
 html:not(.c3-wide) body.t4 .c3-live b,html:not(.c3-wide) body.t4 .c3-live>span{font-size:12px;padding:5px 9px}
 html:not(.c3-wide) body.t4 .c3-wx{font-size:12px!important}
 html:not(.c3-wide) body.t4 .c3-wrap{padding:8px 10px 0}
 html:not(.c3-wide) body.t4 .c3-stat{height:80px;padding:7px 10px 8px}
 html:not(.c3-wide) body.t4 .c3-sl{height:22px;font-size:11.5px}
 html:not(.c3-wide) body.t4 .c3-stat>b{font-size:16px;margin-top:2px}
 html:not(.c3-wide) body.t4 .c3-stat>b.long,html:not(.c3-wide) body.t4 .c3-stat>b#c3v.long{font-size:14px}
 html:not(.c3-wide) body.t4 .c3-stat>small{font-size:11px}
 html:not(.c3-wide) body.t4 .c3-sel{height:22px;font-size:11.5px}
 html:not(.c3-wide) body.t4 .c3-grp{display:none}
 html:not(.c3-wide) body.t4 .c3-nav{margin-top:8px}
 html:not(.c3-wide) body.t4 .c3-nav button{height:44px}
}
/* inner screens (700–1023 wide): menu rail + content, everything lower and denser */
@media(max-width:1023px){
 html.c3-wide body.t4 .nav{padding:7px calc(16px + var(--side,0px)) 7px 16px}
 html.c3-wide body.t4 .nav .word{font-size:14px}
 html.c3-wide body.t4 .c3{grid-template-columns:204px minmax(0,1fr)}
 html.c3-wide body.t4 .c3-hero{margin:10px 14px 0;padding:34px 16px 12px;border-radius:14px}
 html.c3-wide body.t4 .c3-hero h1{font-size:28px}
 html.c3-wide body.t4 .c3-flag{width:22px}
 html.c3-wide body.t4 .c3-live b,html.c3-wide body.t4 .c3-live>span,html.c3-wide body.t4 .c3-wx{font-size:12.5px!important;padding:6px 10px}
 html.c3-wide body.t4 .c3-rail{margin:8px 14px 0}
 html.c3-wide body.t4 .c3-stats{gap:8px}
 html.c3-wide body.t4 .c3-stat{height:82px;padding:7px 10px 8px}
 html.c3-wide body.t4 .c3-sl{height:22px;font-size:11.5px}
 html.c3-wide body.t4 .c3-sl a{display:none}
 html.c3-wide body.t4 .c3-stat>b{font-size:16px;margin-top:2px}
 html.c3-wide body.t4 .c3-stat>b.long,html.c3-wide body.t4 .c3-stat>b#c3v.long{font-size:13px;line-height:1.7}
 html.c3-wide body.t4 .c3-stat>small{font-size:11px}
 html.c3-wide body.t4 .c3-sel{height:22px;font-size:11.5px;max-width:66px}
 html.c3-wide body.t4 .c3-nav{top:49px;height:calc(100vh - 49px);padding:2px 8px 12px}
 html.c3-wide body.t4 .c3-grp{margin:10px 8px 3px;font-size:11.5px}
 html.c3-wide body.t4 .c3-nav button{height:33px;font-size:13px!important}
 html.c3-wide body.t4 .c3-panels{margin:8px 14px 0;padding:16px 18px 14px;border-radius:12px;min-height:0}
 html.c3-wide body.t4 .c3-pt{font-size:21px;margin-bottom:10px;gap:10px}
 html.c3-wide body.t4 .c3-pt span{width:32px;height:32px;border-radius:8px}
 html.c3-wide body.t4 .c3-pt span svg{width:17px;height:17px}
 html.c3-wide body.t4 .c3-curbar{margin:-40px 0 16px}
 html.c3-wide body.t4 .c3{font-size:14.5px}
 html.c3-wide body.t4 .c3-pb table{font-size:13px}
 html.c3-wide body.t4 .c3-pb td,html.c3-wide body.t4 .c3-pb th{padding:7px 6px}
 html.c3-wide body.t4 .c3-by{margin:12px 14px 0}
 html.c3-wide body.t4 .c3-pp b{font-size:19px}
}
/* ---- T4 in the half-folded book posture: left page = overview + menu, right page = the open section; nothing sits on the fold ---- */
html.c3-book.c3-wide body.t4 .c3{grid-template-columns:var(--segw,env(viewport-segment-width 0 0,50vw)) minmax(0,1fr);column-gap:calc(env(viewport-segment-left 1 0,0px) - env(viewport-segment-right 0 0,0px));max-width:none}
html.c3-book.c3-wide body.t4 .c3-hero{grid-column:1;grid-row:1;margin:10px 14px 0}
html.c3-book.c3-wide body.t4 .c3-rail{grid-column:1;grid-row:2;margin:8px 14px 0}
html.c3-book.c3-wide body.t4 .c3-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
html.c3-book.c3-wide body.t4 .c3-nav{grid-column:1;grid-row:3;position:static;height:auto;overflow:visible;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 14px;margin:8px 0 0}
html.c3-book.c3-wide body.t4 .c3-grp{display:none}
html.c3-book.c3-wide body.t4 .c3-nav button{height:40px;border:1px solid var(--line4)!important;border-radius:10px!important;background:var(--card)!important;padding:0 10px!important}
html.c3-book.c3-wide body.t4 .c3-nav button.on{background:var(--soft4)!important;border-color:var(--ink4)!important}
html.c3-book.c3-wide body.t4 .c3-panels{grid-column:2;grid-row:1 / span 5;margin:10px 14px 0}
html.c3-book.c3-wide body.t4 .c3-by{grid-column:1;grid-row:4;margin:10px 14px 0}

/* ---- iPhone Duo: controls move to the trailing column; top and bottom bars give their height back to content ---- */
.c3-siderail{display:none}
html.c3-side .c3-siderail{display:flex;flex-direction:column;justify-content:space-between;align-items:center;position:fixed;top:0;right:0;bottom:0;width:var(--side);z-index:95;box-sizing:border-box;padding:66px 0 42px;background:var(--glass);-webkit-backdrop-filter:saturate(1.5) blur(18px);backdrop-filter:saturate(1.5) blur(18px);border-left:1px solid var(--line4)}
.c3-siderail .sr-top{display:flex;flex-direction:column;gap:10px;align-items:center}
.c3-siderail .sr-top button{width:46px;height:46px;border-radius:14px;border:1px solid var(--line4);background:var(--card);color:var(--ink4);display:grid;place-items:center;padding:0;cursor:pointer}
.c3-siderail .sr-top button svg{width:20px;height:20px}
.c3-siderail .sr-back{display:none!important}
html.c3-lock .c3-siderail .sr-back{display:grid!important}
.c3-siderail .sr-tabs{display:flex;flex-direction:column;gap:4px;align-items:center}
.c3-siderail .sr-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;width:66px;padding:8px 0;border-radius:14px;color:var(--mut4);text-decoration:none;font:600 10px/1.2 Inter,sans-serif}
.c3-siderail .sr-tabs a svg{width:21px;height:21px}
.c3-siderail .sr-tabs a span{color:inherit}
.c3-siderail .sr-tabs a:nth-child(2){color:var(--ink4);background:var(--soft4)}
html.c3-side body.t4 .c3-tabbar,html.c3-side body.t4 .nav .c3-mode{display:none}
html.c3-side body.t4 .c3-by{margin-bottom:18px}
html.c3-side:not(.c3-wide) body.t4 .c3-ph{grid-template-columns:1fr;padding-left:14px}
html.c3-side:not(.c3-wide) body.t4 .c3-ph .c3-back,html.c3-side:not(.c3-wide) body.t4 .c3-ph .c3-x{display:none}
html.c3-side:not(.c3-wide) body.t4 .c3-ph b{text-align:left;font-size:17px}

/* ---- "Who are you?" switch (T4) ---- */
.c3-who,.c3-rstat,.c3-rt{display:none}
body.t4 .c3-hero{position:relative}
body.t4 .c3-who{display:flex;align-items:center;gap:2px;position:absolute;top:10px;right:10px;z-index:3;padding:3px;border-radius:999px;background:rgba(20,20,22,.46);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border:1px solid rgba(255,255,255,.22)}
body.t4 .c3-who span{font:500 11.5px/1 Inter,sans-serif;color:rgba(255,255,255,.82);padding:0 6px 0 9px}
body.t4 .c3-who button{font:600 12px/1 Inter,sans-serif;color:#fff;background:none;border:0;border-radius:999px;height:26px;padding:0 11px;cursor:pointer}
body.t4 .c3-who button[aria-pressed="true"]{background:#fff;color:#111}
html.who-retire body.t4 .c3-rstat{display:block}
html.who-retire body.t4 .c3-rstat>b{color:var(--ink4)}
html.who-retire body.t4 .c3-stats>.c3-stat:has(#c3n){display:none}
html.who-retire body.t4 .c3-rt{display:block;margin-bottom:12px}
body.t4 .c3-rt ul{margin:8px 0 8px;padding-left:18px}
body.t4 .c3-rt li{margin:3px 0;font-size:.94em;line-height:1.5}
html.who-retire body.t4 .c3-nav button[data-p="work"]{opacity:.62}
@media(max-height:720px){html:not(.c3-wide) body.t4 .c3-who{top:7px;right:7px}html:not(.c3-wide) body.t4 .c3-who span{display:none}}
html:not(.c3-wide) body.t4 .c3-nav button.solo{grid-column:1 / -1}
html.c3-book.c3-wide body.t4 .c3-nav button.solo{grid-column:1 / -1}
body.t4 .c3-rstat>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
body.t4 .c3-rt li b{display:inline;font-size:inherit;line-height:inherit;margin:0;font-weight:650;letter-spacing:0}
