/* GBS V.23 任務頁介面升級（規格 v4.1）：深藍 #140C46、金 #FFC53D（立體陰影 #E8A33D）、頁底 #F2F4FA、次要文字 #5B6178、連結 #1F5A99、
   卡圓角 22px、陰影 0 6px 18px rgba(18,12,69,.08)；狀態只用細圓點＋灰字；可按元素最少 44×44px */

/* ---------- 頁頭 ---------- */
#screen-gx .header-navy:has(.tk4){background:#140C46;border-radius:0}
#screen-gx .header-top:has(.tk4){align-items:center}
.tk4 b{font-size:26px;font-weight:900;letter-spacing:.5px}
.tk4 small{color:#C9C6EE;font-size:13px}
.tu-streak{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;background:#FFC53D;color:#140C46;font-weight:900;font-size:13px;padding:7px 13px;border-radius:999px;white-space:nowrap}
.tu-streak svg{color:#E8590C}
#screen-gx .header-top:has(.tk4) .tk-shopsel{background:#2F6FB5;color:#fff;border:0;border-radius:999px;padding:8px 14px;font-weight:900;max-width:44%;min-height:40px}
.tk4t.tk-tiles{gap:6px;margin:14px 0 0;padding:5px;border-radius:18px;background:rgba(255,255,255,.08);border:0}
.tk4t.tk-tiles button{position:relative;padding:10px 4px;border-radius:14px;min-height:56px;color:#fff}
.tk4t.tk-tiles button b{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:700}
.tk4t.tk-tiles button small{color:#C9C6EE}
.tk4t.tk-tiles button.on{background:#fff;color:#140C46;box-shadow:none}
.tk4t.tk-tiles button.on b{font-weight:900}
.tk4t.tk-tiles button.on small{color:#5B6178}
.tk4t.tk-tiles button.dev.on,.tk4t.tk-tiles button.shop.on,.tk4t.tk-tiles button.duty.on{color:#140C46}
.tk4t.tk-tiles button.lk{color:#9C97C8}.tk4t.tk-tiles button.lk small{color:#9C97C8}
.tk4t.tk-tiles button.lk.on{color:#140C46}
.tk-dot{position:absolute;top:8px;right:10px;width:9px;height:9px;border-radius:50%;background:#FFC53D}
.tu-slim{display:none!important}
.tu-star .tu-gold+.tu-dsub{margin-top:14px}
.tu-cap{height:66px;margin:-14px -14px -52px;background:#140C46;border-radius:0 0 28px 28px}
#screen-gx .screen-body:has(> .tu-cap),#screen-gx .screen-body:has(> .tu-pg){background:#F2F4FA}

/* ---------- 共用元件 ---------- */
.tu-card{position:relative;background:#fff;border-radius:22px;padding:18px;margin:0 0 16px;box-shadow:0 6px 18px rgba(18,12,69,.08);color:#140C46}
.tu-dark{position:relative;background:#140C46;color:#fff;border-radius:22px;padding:18px;margin:0 0 16px;box-shadow:0 6px 18px rgba(18,12,69,.12);overflow:hidden}
.tu-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.tu-hd h3{margin:0;font-size:18px;font-weight:900}
.tu-hd.mt{margin-top:18px}
.tu-cnt{font-size:17px;font-weight:900;color:#1F5A99}
.tu-chip{font-size:12px;font-weight:700;color:#5B6178;background:#F2F4FA;padding:5px 10px;border-radius:999px;white-space:nowrap}
.tu-sub{margin:0 0 10px;font-size:13px;color:#5B6178;line-height:1.5}
.tu-sub.c,.tu-link.c{text-align:center;display:block;width:100%}
.tu-xp{display:inline-block;font-size:12px;font-weight:900;color:#8A5A00;background:#FFF1C9;padding:3px 9px;border-radius:999px;white-space:nowrap;flex-shrink:0}
.tu-next{display:flex;align-items:center;gap:8px;width:100%;margin-top:12px;padding:12px 14px;min-height:48px;border:0;border-radius:14px;background:#FFFAEE;color:#140C46;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}
.tu-next svg{color:#B5762A;flex-shrink:0}.tu-next span{flex:1}.tu-next b{color:#B5762A}.tu-next i{font-style:normal;color:#140C46}
.tu-cheer{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#FFFAEE;color:#B5762A;font-size:13px;font-weight:700;line-height:1.5}
.tu-foot{margin:10px 0 0;font-size:11.5px;color:#5B6178}.tu-foot.c{text-align:center}
.tu-link{border:0;background:none;color:#1F5A99;font:inherit;font-size:14px;font-weight:700;cursor:pointer;min-height:44px;padding:0 4px}
.tu-rowlink{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:10px;padding:10px 4px;min-height:44px;border:0;background:none;color:#1F5A99;font:inherit;font-size:14px;font-weight:700;text-align:left;cursor:pointer}
.tu-rowlink i{font-style:normal}
.tu-gold{display:block;width:100%;margin-top:14px;padding:14px;min-height:52px;border:0;border-radius:18px;background:#FFC53D;color:#140C46;font:inherit;font-size:16px;font-weight:900;box-shadow:0 5px 0 #E8A33D;cursor:pointer;transition:transform .1s}
.tu-gold:active{transform:translateY(3px);box-shadow:0 2px 0 #E8A33D}
.tu-gold:disabled{opacity:.5;cursor:default}
.tu-gold.sm{display:inline-block;width:auto;margin-top:10px;padding:10px 16px;min-height:44px;font-size:14px;border-radius:14px;box-shadow:0 4px 0 #E8A33D}
.tu-ghost{border:1.5px solid #E1E5EF;background:#fff;color:#140C46;border-radius:14px;padding:10px 12px;min-height:44px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.tu-ghost.wide{display:block;width:100%;margin-top:10px}
.tu-ghost:disabled{opacity:.55}
.tu-navy{border:0;background:#140C46;color:#fff;border-radius:14px;padding:10px 18px;min-height:44px;font:inherit;font-size:15px;font-weight:900;cursor:pointer;flex-shrink:0}
.tu-2b,.tu-3b{display:grid;gap:8px;margin-top:12px}.tu-2b{grid-template-columns:1fr 1fr}.tu-3b{grid-template-columns:1fr 1fr 1fr}
.tu-2b .tu-gold.sm,.tu-3b .tu-gold.sm{width:100%;margin:0}
.tu-sec{margin:16px 4px 8px;font-size:14px;font-weight:900;color:#140C46}
.tu-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.tu-chips.c{justify-content:center}
.tu-chips button{border:1.5px solid #E1E5EF;background:#fff;color:#140C46;border-radius:999px;padding:8px 14px;min-height:40px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.tu-chips button.on{background:#140C46;border-color:#140C46;color:#fff}
.tu-pill{display:inline-block;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff}
.tu-skel{display:grid;gap:10px;padding:6px 0}
.tu-skel i{display:block;height:16px;border-radius:8px;background:linear-gradient(90deg,#EEF0F6 0,#F7F8FB 50%,#EEF0F6 100%);background-size:200% 100%;animation:tuSk 1.2s linear infinite}
.tu-skel i:nth-child(2){width:80%}.tu-skel i:nth-child(3){width:60%}
.tu-dark .tu-skel i{background:rgba(255,255,255,.1)}
@keyframes tuSk{to{background-position:-200% 0}}
.tu-54321-sheet{padding:4px 2px 10px;color:#140C46}
.tu-54321-sheet label{display:block;margin:12px 0 6px;font-size:13px;font-weight:800;color:#5B6178}
.tu-54321-sheet input{display:block;width:100%;box-sizing:border-box;min-height:50px;padding:12px 14px;border:1.5px solid #DCE5F0;border-radius:14px;background:#fff;color:#140C46;font:inherit;font-size:16px}
.tu-54321-sheet input:focus{outline:2px solid #2F6FB5;outline-offset:1px}
.tu-54321-sheet p{margin:12px 0;color:#5B6178;font-size:13px;line-height:1.5}
.tu-54321-results{max-height:36vh;overflow:auto;margin-top:12px}
.tu-54321-customer{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;padding:10px 12px;border:0;border-bottom:1px solid #E5EAF2;background:#fff;color:#140C46;text-align:left;font:inherit;cursor:pointer}
.tu-54321-customer b{font-size:14px}.tu-54321-customer small{margin-left:auto;color:#5B6178}.tu-54321-customer span{color:#2F6FB5;font-weight:800}
.tu-54321-empty{padding:10px 2px}
.tu-sale-choices{display:grid;gap:9px;margin:8px 0 16px}
.tu-sale-choices button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:60px;padding:14px 18px;border:1px solid #E1E5EF;border-radius:16px;background:#fff;color:#140C46;font:inherit;font-size:16px;text-align:left;cursor:pointer}
.tu-sale-choices button:focus-visible,.tu-sale-choices button:hover{border-color:#2F6FB5;box-shadow:0 2px 0 #2F6FB5}
.tu-sale-choices span{font-size:22px;color:#2F6FB5}
.tu-sale-form select{display:block;width:100%;box-sizing:border-box;min-height:50px;padding:12px 14px;border:1.5px solid #DCE5F0;border-radius:14px;background:#fff;color:#140C46;font:inherit;font-size:16px}
.tu-sale-form select:focus{outline:2px solid #2F6FB5;outline-offset:1px}
.tu-sale-person{padding:13px 15px;border-radius:14px;background:#F4F7FB;color:#140C46!important;font-weight:800}
.tu-sale-person small{display:block;color:#5B6178;font-weight:500}
.tu-sale-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tu-sale-form :disabled{opacity:.65}
.tu-bar{position:relative;height:10px;border-radius:5px;background:#E6ECF4;margin-top:8px}
.tu-bar i{display:block;height:100%;border-radius:5px;background:#140C46;animation:tuFill .6s ease-out;max-width:100%}
.tu-bar.gold i{background:#FFC53D}
.tu-bar.sm{height:7px;background:#EEF0F6}
.tu-bar.lg{height:14px;border-radius:7px}
.tu-bar.grad i{background:linear-gradient(90deg,#2F6FB5,#E8A33D)}
.tu-bar.dk{background:rgba(255,255,255,.15)}
.tu-bar.dk i.climb{background:linear-gradient(90deg,#2F6FB5,#FFC53D)}
.tu-bar .pace,.tu-bar .tk{position:absolute;top:-4px;bottom:-4px;width:2px;background:#140C46;opacity:.45}
.tu-bar.dk .pace{background:#fff;opacity:1}
@keyframes tuFill{from{width:0}}
.tu-st3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tu-st3>span{background:#F4F7FB;border-radius:16px;padding:12px 6px;text-align:center;display:flex;flex-direction:column;gap:2px}
.tu-st3 b{font-size:24px;font-weight:900;color:#140C46}.tu-st3 small{font-size:12px;color:#5B6178}
.tu-st3 .g b{color:#0B7A58}.tu-st3 .bl b{color:#1F5A99}
.tu-st3.dk{margin:12px 0}
.tu-st3.dk>span{background:rgba(255,255,255,.08)}.tu-st3.dk b{color:#fff;font-size:22px}.tu-st3.dk b.g{color:#FFC53D}.tu-st3.dk small{color:#C9C6EE}
.tu-more{margin-top:8px;font-size:13px;color:#5B6178}
.tu-more summary{cursor:pointer;padding:8px 2px;min-height:36px;font-weight:700;color:#1F5A99}

/* ---------- 今日寶箱 ---------- */
.tu-chestc{display:flex;align-items:center;gap:14px;margin:14px;padding:14px 16px;border-radius:18px;background:#FFF4D6}
.tu-chestc>span{flex:1;min-width:0}
.tu-chestc b{display:block;font-size:16px;font-weight:900;color:#140C46}
.tu-chestc small{display:block;margin-top:6px;font-size:13px;color:#5B6178}
.tu-chestc .tu-bar{height:9px;background:#fff;margin-top:8px}.tu-chestc .tu-bar i{background:#FFC53D}
.tu-chest{width:58px;height:52px;flex-shrink:0}
.tu-chestc.near .tu-chest{animation:tuShake 1.6s ease-in-out infinite}
.tu-chestc.open{background:#F0FBF6}
@keyframes tuShake{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(-6deg)}90%{transform:rotate(6deg)}95%{transform:rotate(-3deg)}}
.tu-pg .tu-chestc{margin:14px 0}

/* ---------- 彈出視窗深藍標題卡 ---------- */
.tu-pg{padding-bottom:6px}
.tu-pcard{position:relative;display:flex;align-items:center;gap:12px;background:#140C46;color:#fff;border-radius:22px;padding:16px;margin:0 0 12px;overflow:hidden}
.tu-pcard::after{content:'';position:absolute;right:-30px;top:-40px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.06)}
.tu-pico{width:48px;height:48px;border-radius:14px;background:#FFC53D;color:#140C46;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-pt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tu-pt b{font-size:18px;font-weight:900}.tu-pt small{font-size:12px;color:#C9C6EE;line-height:1.45}
.tu-pxp{position:relative;z-index:1;font-size:12px;font-weight:900;background:#FFC53D;color:#140C46;padding:4px 10px;border-radius:999px;white-space:nowrap}
.tu-pcard+.tu-bar{margin:-4px 0 12px}
.tu-pbar{margin:-2px 0 12px!important}
.tu-bbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 2px 12px;font-size:12px;color:#5B6178}
.tu-bbar span{font-weight:900;color:#140C46;margin-right:2px}
.tu-bbar i{width:20px;height:20px;border-radius:50%;border:1.5px solid #C9D2E2;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:900;color:#5B6178}
.tu-bbar i.ok{background:#12B886;border-color:#12B886;color:#fff}.tu-bbar i.cur{background:#FFC53D;border-color:#FFC53D;color:#140C46}
.tu-bbar em{margin-left:auto;font-style:normal;font-weight:900;color:#8A5A00;background:#FFF1C9;padding:2px 8px;border-radius:999px}
.tu-stat3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tu-stat3.tu-stat2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tu-stat3>span{background:rgba(255,255,255,.08);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:2px}
.tu-stat3 small{font-size:11px;color:#C9C6EE}.tu-stat3 b{font-size:20px;font-weight:900;color:#FFC53D}.tu-stat3 b.r{color:#FF9A9E}
.tu-app{padding:14px}
.tu-ah{display:flex;align-items:center;gap:10px}
.tu-ah>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}
.tu-ah b{font-size:15px;font-weight:900}.tu-ah small{font-size:12px;color:#5B6178}
.av{width:42px;height:42px;border-radius:50%;background:#E8F1FA;color:#1F5A99;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2px solid #3FBF9A}
.tu-app .tu-sub{margin:10px 0 0}

/* ---------- 落舖：店長溫馨提示 ---------- */
.tu-notice{display:flex;gap:14px;align-items:flex-start}
.tu-nico{width:46px;height:46px;border-radius:14px;background:#FFF4D6;color:#B5762A;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-nw{flex:1;min-width:0}
.tu-ntc{padding:10px 0;border-top:1px dashed #E3E8F2}
.tu-ntc.top{padding-top:0;border-top:0}
.tu-nh{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:700;color:#5B6178}
.tu-nh small{font-size:12px;font-weight:500;white-space:nowrap}
.tu-nb{margin-top:4px;font-size:15px;font-weight:700;color:#140C46;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.tu-ntc.top .tu-nb{font-size:17px;font-weight:900}
.tu-nb.mute{font-size:14px!important;font-weight:500!important;color:#5B6178}
.tu-notice .gx-ni-act{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.tu-notice .gx-ni-act button{width:auto;min-height:36px;padding:6px 10px;font-size:12px}

/* ---------- 落舖：我的更表 ---------- */
.tu-wk{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.tu-wkc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;border:0;border-radius:14px;background:#F4F5F9;color:#9AA1B6;font:inherit;cursor:pointer;padding:6px 0}
.tu-wkc b{font-size:13px;font-weight:900}.tu-wkc small{font-size:12px;font-weight:700}
.tu-wkc.k-o{background:#FFF4D6;color:#8A5A00}.tu-wkc.k-c{background:#E8F1FA;color:#1F5A99}.tu-wkc.k-s{background:#EFEDFB;color:#6B5BD2}
.tu-wkc.pend{outline:1.5px dashed currentColor;outline-offset:-3px}
.tu-wkc.td{box-shadow:inset 0 0 0 2px #2F6FB5}
.tu-wkc.miss{box-shadow:inset 0 0 0 2px #E0434A;color:#C8322A;background:#fff}
.tu-today{display:flex;align-items:center;gap:10px;margin-top:12px;padding:14px;border-radius:16px;background:#F4F7FB}
.tu-today>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tu-today b{font-size:15px;font-weight:900}.tu-today small{font-size:13px;color:#5B6178}
.tu-links{display:flex;gap:8px;margin-top:10px}
.tu-links button{flex:1;border:0;background:#F4F7FB;border-radius:12px;min-height:44px;font:inherit;font-size:13px;font-weight:700;color:#1F5A99;cursor:pointer}

/* ---------- 落舖：印章卡 ---------- */
.tu-stamps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.tu-stamps i{aspect-ratio:1;border-radius:50%;border:2px dashed #D7DCE8;color:#E3E7F0;display:flex;align-items:center;justify-content:center}
.tu-stamps i.on{border:0;background:#FFC53D;color:#fff}
.tu-stamps i.last{animation:tuStamp .45s ease-out}
@keyframes tuStamp{0%{transform:scale(1.3);opacity:.4}70%{transform:scale(.95)}100%{transform:scale(1)}}

/* ---------- 落舖：本店戰況 ---------- */
.tu-bigv{margin:4px 0 0;line-height:1.1}
.tu-bigv b{font-size:30px;font-weight:900}.tu-bigv span{font-size:14px;color:#5B6178}
.tu-ticks{position:relative;height:18px;margin-top:6px;font-size:12px;color:#5B6178}
.tu-ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.tu-ticks span:first-child{left:0;transform:none}.tu-ticks span:last-child{right:0;transform:none}
.tu-line{margin:10px 0 0;font-size:15px;line-height:1.5}
.tu-line b.b{color:#1F5A99}.tu-line b.r{color:#140C46}
.tu-mine{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:12px 14px;border-radius:16px;background:#FFF4D6}
.tu-mine b{font-size:14px;font-weight:900}.tu-mine span{font-size:20px;font-weight:900;color:#B5762A;text-align:right}
.tu-mine small{display:block;font-size:11px;font-weight:500;color:#5B6178}

/* ---------- 店長關卡、出戰陣容 ---------- */
.tu-boss{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.tu-boss button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 4px;min-height:96px;border:2px solid #E6E9F2;border-radius:18px;background:#fff;color:#140C46;font:inherit;cursor:pointer}
.tu-boss .i{width:42px;height:42px;border-radius:14px;background:#E8F1FA;color:#2F6FB5;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 1px 0 #fff,0 5px 12px rgba(31,90,153,.10)}
.tu-boss button:nth-child(3n+2) .i{background:#E5F7F1;color:#0E9A70}
.tu-boss button:nth-child(3n) .i{background:#FFF3D7;color:#B5762A}
.tu-boss button{transition:transform .12s ease,border-color .18s ease,box-shadow .18s ease}
.tu-boss button:active{transform:scale(.97)}
.tu-boss b{font-size:14px;font-weight:900}
.tu-boss small{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:900}
.tu-boss small.ok{color:#0B7A58}.tu-boss small.due{color:#5B6178}
.tu-boss small i{width:8px;height:8px;border-radius:50%;background:#E0434A}
.tu-lus{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 2px}
.tu-lu{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:68px;text-align:center}
.tu-lu>span{width:56px;height:56px;border-radius:18px;background:#F4F5F9;color:#5B6178;border:3px solid #E1E5EF;font-size:20px;font-weight:900;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.tu-lu.in>span{background:#140C46;color:#FFC53D;border-color:#140C46}
.tu-lu b{font-size:13px;font-weight:900;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tu-lu small{font-size:11px;font-weight:700;color:#5B6178}
.tu-lu.in small{color:#0B7A58}.tu-lu.no small{color:#C8322A}

/* ---------- 店舖 KPI 一覽 ---------- */
.tu-seg{display:flex;background:#F2F4FA;border-radius:999px;padding:3px}
.tu-seg button{border:0;background:none;font:inherit;font-size:12px;color:#5B6178;padding:6px 10px;border-radius:999px;min-height:32px;cursor:pointer;white-space:nowrap}
.tu-seg button.on{background:#140C46;color:#fff;font-weight:900}
.tu-kbig{position:relative;background:#140C46;color:#fff;border-radius:20px;padding:14px 16px;overflow:hidden}
.tu-kbig::after{content:'';position:absolute;right:-30px;top:-40px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.05)}
.tu-kbig>small{display:block;font-size:12px;color:#C9C6EE}
.tu-kbig p{margin:2px 0 0;line-height:1.1}.tu-kbig p b{font-size:32px;font-weight:900}.tu-kbig p span{font-size:14px;color:#C9C6EE}
.tu-kbig .tu-bar{margin-top:10px}
.tu-kbig .r{display:flex;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px}
.tu-kbig .r span:last-child{color:#C9C6EE}.tu-kbig .r b{color:#fff}.tu-kbig b.g{color:#FFC53D!important;font-size:15px}
.tu-kbig>small:last-child{margin-top:6px}.tu-kbig small b{color:#fff}
.tu-kts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.tu-kt{border:1.5px solid #E6E9F2;border-radius:18px;padding:11px 12px;min-width:0}
.tu-kt small{display:block;font-size:12px;font-weight:900;color:#5B6178}
.tu-kt p{margin:3px 0 0;line-height:1.15}.tu-kt p b{font-size:22px;font-weight:900;color:#140C46}.tu-kt p span{font-size:12px;color:#5B6178}
.tu-kt .tu-bar{margin-top:7px}
.tu-kt .st{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:11.5px;font-weight:700;color:#5B6178;line-height:1.35}
.tu-kt .st i,.tu-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:#B7BDCF}
.tu-kt .st i.ok{background:#12B886}.tu-kt .st i.b{background:#2F6FB5}.tu-kt .st i.o{background:#E8A33D}.tu-kt .st i.r{background:#E0434A}
.tu-rk{display:flex;align-items:center;gap:10px;margin-top:8px;padding:10px 12px;border-radius:16px;background:#F4F7FB}
.tu-rk i{width:32px;height:32px;border-radius:50%;background:#E1E5EF;color:#5B6178;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-rk i.top{background:#FFC53D;color:#140C46}
.tu-rk b{flex:1;min-width:0;font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tu-rk{flex-wrap:wrap}.tu-rk span{display:flex;flex-wrap:wrap;gap:4px;width:100%;padding-left:42px}
.tu-rk em{font-style:normal;font-size:11.5px;font-weight:900;background:#fff;padding:3px 7px;border-radius:999px}

/* ---------- Leader 戰、頒獎台 ---------- */
.tu-left{font-size:12px;font-weight:900;background:#E0434A;color:#fff;padding:4px 10px;border-radius:999px}
.tu-dsub{margin:0 0 10px;font-size:13px;color:#C9C6EE;line-height:1.5}
.tu-dnote{margin:10px 0 0;font-size:12px;color:#9C97C8}
.tu-lrow{display:flex;gap:12px;align-items:center}
.tu-lrow>div{flex:1;min-width:0}
.tu-lrow .r{display:flex;justify-content:space-between;font-size:14px}.tu-lrow .r span{color:#FFC53D;font-weight:900}
.tu-lrow small{display:block;margin-top:8px;font-size:12.5px;color:#C9C6EE;line-height:1.5}
.tu-mount{width:110px;height:78px;flex-shrink:0}
.tu-pod{display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:end;gap:8px;margin-top:6px}
.tu-pod span{display:flex;align-items:center;justify-content:center;border-radius:14px 14px 0 0;font-size:26px;font-weight:900}
.tu-pod .p1{height:84px;background:#140C46;color:#FFC53D}.tu-pod .p2{height:58px;background:#E6ECF4;color:#5B6178}.tu-pod .p3{height:44px;background:#F7E7D8;color:#8A5A00}
.tu-wait{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#F4F5F9;font-size:12.5px;color:#5B6178;line-height:1.5}

/* ---------- 公職 ---------- */
.tu-aprow{display:flex;align-items:center;gap:12px;width:100%;margin-top:14px;padding:4px 0;min-height:52px;border:0;background:none;font:inherit;color:#140C46;text-align:left;cursor:pointer}
.tu-aprow .i{width:48px;height:48px;border-radius:14px;background:#F0FBF6;color:#0E9A70;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-aprow>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tu-aprow b{font-size:15px;font-weight:900}.tu-aprow small{font-size:12.5px;color:#5B6178}.tu-aprow>i{font-style:normal;color:#5B6178}
.tu-dws{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tu-dws>button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 4px;min-height:96px;border:0;border-radius:18px;background:#F4F7FB;font:inherit;color:#140C46;cursor:pointer}
.tu-dws>button>b{font-size:13px;font-weight:900;text-align:center}.tu-dws>button>small{font-size:12px;color:#5B6178}
.tu-shd{position:relative;display:inline-flex;align-items:center;justify-content:center;color:#B7BDCF}
.tu-shd svg{width:46px;height:52px;fill:#F4F5F9}
.tu-shd b{position:absolute;font-size:11px;font-weight:900;color:#9AA1B6}
.tu-shd.on{color:#B5762A}.tu-shd.on svg{fill:#FFF1C9}.tu-shd.on b{color:#8A5A00}
.tu-shds{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;justify-items:center}
.tu-edit{display:flex;align-items:center;justify-content:center;gap:6px}
.tu-hidden{text-align:center;padding:22px 18px 20px}
.tu-glow{position:relative;width:150px;height:130px;margin:0 auto 6px;display:flex;align-items:center;justify-content:center}
.tu-glow::before{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,rgba(255,197,61,.35),rgba(255,197,61,0) 70%);animation:tuGlow 2.4s ease-in-out infinite}
.tu-glow .tu-chest{width:110px;height:96px;position:relative}
.tu-glow>svg:last-child{position:absolute;color:#FFC53D;top:58px}
@keyframes tuGlow{50%{transform:scale(1.08);opacity:.7}}
.tu-kick{margin:0;font-size:13px;font-weight:900;letter-spacing:4px;color:#FFC53D}
.tu-hidden h2{margin:6px 0 8px;font-size:24px;font-weight:900}
.tu-hp{margin:0 0 16px;font-size:14px;color:#C9C6EE;line-height:1.6}
.tu-path{background:rgba(255,255,255,.07);border-radius:18px;padding:14px;text-align:left}
.tu-path>p{margin:0 0 6px;font-size:14px;font-weight:900;color:#FFC53D}
.tu-hs{display:flex;align-items:center;gap:12px;padding:8px 0}
.tu-hs i{width:32px;height:32px;border-radius:50%;border:2px solid #5D5895;color:#9C97C8;font-style:normal;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-hs b{flex:1;font-size:15px;color:#9C97C8}.tu-hs em{font-style:normal;font-size:13px;font-weight:900;color:#FFC53D}
.tu-hs.cur i{background:#FFC53D;border-color:#FFC53D;color:#140C46}.tu-hs.cur b{color:#fff}
.tu-hs.ok i{background:#12B886;border-color:#12B886;color:#fff}.tu-hs.ok b{color:#fff}
.tu-bz{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tu-bz button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px;min-height:140px;border:1.5px solid #E6E9F2;border-radius:18px;background:#fff;font:inherit;color:#140C46;text-align:left;cursor:pointer}
.tu-bz .i{width:40px;height:40px;border-radius:12px;background:#EEF0F8;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.tu-bz .lk{position:absolute;top:10px;right:10px;width:24px;height:24px;border-radius:50%;background:#140C46;color:#FFC53D;display:flex;align-items:center;justify-content:center}
.tu-bz b{font-size:16px;font-weight:900;display:flex;align-items:center;gap:6px}
.tu-bz b em{font-style:normal;font-size:11px;color:#5B6178;background:#F2F4FA;padding:1px 6px;border-radius:6px}
.tu-bz strong{font-size:13px;color:#B5762A}.tu-bz small{font-size:12px;color:#5B6178;line-height:1.45}
.tu-gcard{background:#FFFAEE;border-radius:22px;padding:18px;margin:0 0 16px}
.tu-gcard h3{margin:0 0 10px;font-size:18px;font-weight:900;color:#B5762A}
.tu-gain{display:flex;gap:12px;align-items:center;padding:6px 0}
.tu-gain>span{width:44px;height:44px;border-radius:50%;background:#fff;color:#E8A33D;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.tu-gain img{width:38px;height:38px;object-fit:contain}
.tu-gain p{margin:0;display:flex;flex-direction:column;gap:2px}.tu-gain b{font-size:15px;color:#140C46}.tu-gain small{font-size:13px;color:#5B6178;line-height:1.45}
.tu-irow{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px dashed #E3E8F2}
.tu-irow .i{width:36px;height:36px;border-radius:10px;background:#EEF0F8;color:#140C46;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tu-irow p{margin:0;display:flex;flex-direction:column;gap:2px}.tu-irow b{font-size:14px;color:#140C46}.tu-irow small{font-size:12.5px;color:#5B6178}

/* ---------- 每週彈出頁 ---------- */
.tu-wnav{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px;font-size:14px;font-weight:700;color:#5B6178}
.tu-wnav button{width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#140C46;font-size:18px;box-shadow:0 2px 8px rgba(18,12,69,.06);cursor:pointer}
.tu-plist{display:grid;gap:8px}
.tu-pl{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:18px;background:#fff;box-shadow:0 4px 12px rgba(18,12,69,.06)}
.tu-pl textarea,.tu-pl .ro{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:15px;color:#140C46;resize:none;padding:4px 0;line-height:1.45}
.tu-pl.done textarea,.tu-pl.done .ro{color:#5B6178;text-decoration:line-through}
.tu-ck{width:30px;height:30px;border-radius:9px;border:2px solid #C9D2E2;background:#fff;color:#fff;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tu-ck.on{background:#12B886;border-color:#12B886}
.tu-cats{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.tu-cats button{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #E1E5EF;background:#fff;color:#140C46;border-radius:999px;padding:7px 12px;min-height:40px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.tu-cats button.on{background:#140C46;color:#fff;border-color:#140C46}
.tu-cats i{width:10px;height:10px;border-radius:3px}
.tu-cal{display:grid;gap:4px;align-items:center}
.tu-cal>b{text-align:center;font-size:12px;color:#5B6178;padding:2px 0}
.tu-cal>b.td{color:#1F5A99;font-weight:900}
.tu-cal .sl{font-size:11px;color:#5B6178;text-align:right;padding-right:4px}
.tu-cal button{min-height:38px;border:0;border-radius:8px;background:#F4F5F9;font:inherit;font-size:10px;color:#140C46;overflow:hidden;cursor:pointer;padding:2px;line-height:1.2;word-break:break-all}
.tu-nt{background:#fff;border-radius:18px;padding:14px;margin:0 0 10px;border-left:4px solid #B7BDCF;box-shadow:0 4px 12px rgba(18,12,69,.06)}
.tu-nt small{font-size:12px;font-weight:900}.tu-nt b{display:block;margin:2px 0 8px;font-size:16px;font-weight:900;color:#140C46}
.tu-nt textarea{background:#F4F7FB;border:0}.tu-nt p{margin:0;font-size:14px;white-space:pre-wrap}
.tu-nt.g{border-color:#0E9A70}.tu-nt.g small{color:#0E9A70}.tu-nt.b{border-color:#2F6FB5}.tu-nt.b small{color:#2F6FB5}.tu-nt.o{border-color:#E8A33D}.tu-nt.o small{color:#B5762A}

/* ---------- 挑戰書 ---------- */
.tu-ch{gap:12px;background:#F2F4FA}
.tu-ch.dark{background:#140C46;color:#fff}
.tu-ch .gx-st-body{max-height:78vh}
.tu-chh{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.tu-chh .tu-mount{width:52px;height:38px}
.tu-chh>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tu-chh b{font-size:19px;font-weight:900;color:#140C46}.tu-chh small{font-size:12px;color:#5B6178;line-height:1.5}
.tu-x{width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#140C46;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.tu-tier{position:relative;display:block;width:100%;margin:0 0 10px;padding:14px;border:0;border-radius:20px;background:#fff;color:#140C46;font:inherit;text-align:left;cursor:pointer;box-shadow:0 4px 12px rgba(18,12,69,.06)}
.tu-tier.on{background:#140C46;color:#fff}
.tu-tier em{position:absolute;top:-8px;right:14px;font-style:normal;font-size:11px;font-weight:900;background:#FFC53D;color:#140C46;padding:2px 8px;border-radius:999px}
.tu-tier .h{display:flex;align-items:center;gap:8px}
.tu-tier .h b{font-size:17px;font-weight:900}.tu-tier .h small{flex:1;font-size:12px;color:#5B6178}.tu-tier.on .h small{color:#C9C6EE}
.tu-tier .h i{width:26px;height:26px;border-radius:50%;border:2px solid #C9D2E2;display:flex;align-items:center;justify-content:center}
.tu-tier.on .h i{background:#FFC53D;border-color:#FFC53D;color:#140C46}
.tu-tier .v{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.tu-tier .v>span{background:#F4F7FB;border-radius:12px;padding:8px 4px;text-align:center;display:flex;flex-direction:column}
.tu-tier.on .v>span{background:rgba(255,255,255,.1)}
.tu-tier .v b{font-size:18px;font-weight:900}.tu-tier .v small{font-size:11px;color:#5B6178}.tu-tier.on .v small{color:#C9C6EE}
.tu-adj{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:12px;border-radius:18px;background:#fff;border-left:4px solid var(--c)}
.tu-adj>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tu-adj>span b{font-size:14px;font-weight:900;color:#140C46}.tu-adj>span small{font-size:11.5px;color:#5B6178}.tu-adj i{font-style:normal;color:#0B7A58;font-weight:700}
.tu-adj button{width:40px;height:40px;border-radius:50%;border:0;background:#EEF0F6;color:#140C46;font-size:20px;font-weight:900;cursor:pointer;flex-shrink:0}
.tu-adj button.p{background:#140C46;color:#fff}
.tu-adj .n{min-width:64px;text-align:center;font-size:20px;font-weight:900;color:#140C46}.tu-adj .n small{font-size:11px;color:#5B6178;margin-left:2px}
.tu-gnote{margin:8px 0;padding:12px;border-radius:14px;background:#FFFAEE;font-size:13px;color:#140C46;display:flex;flex-direction:column;gap:2px}.tu-gnote b{color:#B5762A}
.tu-sign{position:relative;margin:4px 0 14px;padding:16px;border:2px dashed #E8A33D;border-radius:20px;background:#FFFAEE;color:#140C46;text-align:center}
.tu-sign .k{margin:0;font-size:12px;font-weight:900;letter-spacing:6px;color:#B5762A}
.tu-sign h3{margin:4px 0 2px;font-size:22px;font-weight:900}
.tu-sgl{display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px 12px;border-radius:12px;background:#fff;text-align:left}
.tu-sgl i{width:9px;height:9px;border-radius:50%}.tu-sgl b{flex:1;font-size:14px}.tu-sgl span{font-size:18px;font-weight:900}.tu-sgl small{font-size:11px;color:#5B6178}
.tu-oath{margin:12px 0 0;font-size:13px;line-height:1.6}
.tu-stamp{position:absolute;right:10px;bottom:10px;width:64px;height:64px;border-radius:50%;border:3px solid #E0434A;color:#E0434A;font-size:11px;font-weight:900;line-height:1.2;display:flex;align-items:center;justify-content:center;text-align:center;transform:rotate(-14deg) scale(1.3);opacity:0}
.tu-stamp.on{animation:tuStampOn .4s ease-out forwards}
@keyframes tuStampOn{0%{opacity:0;transform:rotate(-14deg) scale(1.3)}70%{opacity:1;transform:rotate(-14deg) scale(.95)}100%{opacity:1;transform:rotate(-14deg) scale(1)}}
.tu-hold{position:relative;display:block;width:96px;height:96px;margin:0 auto;border:0;border-radius:50%;background:#140C46;color:#FFC53D;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}
.tu-hold svg:first-child{position:absolute;inset:0;width:96px;height:96px}
.tu-hold circle{fill:none;stroke-width:6}.tu-hold .bg{stroke:rgba(255,197,61,.2)}.tu-hold .fg{stroke:#FFC53D;stroke-dasharray:213.6;stroke-dashoffset:213.6;stroke-linecap:round}
.tu-hold.on .fg{transition:stroke-dashoffset 1s linear;stroke-dashoffset:0}
.tu-hold>svg:last-child{position:relative}
.tu-hint{margin:10px 0 0;text-align:center;display:flex;flex-direction:column;gap:2px}.tu-hint b{font-size:15px;color:#140C46}.tu-hint small{font-size:12px;color:#5B6178}
.tu-done{text-align:center;padding:10px 4px}
.tu-done .tu-mount{width:160px;height:112px}
.tu-done h2{margin:10px 0 6px;font-size:26px;font-weight:900}
.tu-done p{margin:0 0 12px;font-size:14px;color:#C9C6EE;line-height:1.6}
.tu-first{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px;border-radius:18px;background:#fff;color:#140C46;text-align:left}
.tu-first>i{width:40px;height:40px;border-radius:12px;background:#2F6FB5;color:#fff;font-style:normal;font-size:20px;font-weight:900;display:flex;align-items:center;justify-content:center}
.tu-first>span{flex:1;display:flex;flex-direction:column}.tu-first small{font-size:12px;color:#B5762A;font-weight:700}.tu-first b{font-size:15px}
.tu-first .tu-xp{flex:none}
.tu-link.lt{color:#C9C6EE}

/* ---------- 人脈星空 ---------- */
.tu-star .tu-hd h3{color:#fff}
.tu-sky{display:block;width:100%;height:auto;border-radius:18px;border:1px solid rgba(255,255,255,.08)}
.tu-sky .tw{animation:tuTw 3s ease-in-out infinite}
@keyframes tuTw{50%{opacity:.9}}
.tu-skyb{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer}
.tu-lite{display:flex;align-items:center;gap:10px;margin-top:4px;padding:12px 14px;border-radius:18px;background:#FFFAEE;color:#140C46;font-size:14px}
.tu-lite>span{flex:1;min-width:0}.tu-lite b{color:#B5762A}
.tu-lite button{border:0;background:#2F6FB5;color:#fff;border-radius:12px;padding:8px 14px;min-height:44px;font:inherit;font-weight:900;cursor:pointer}
.tu-legend{display:flex;gap:12px;flex-wrap:wrap;margin:10px 2px;font-size:12px;color:#C9C6EE}
.tu-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px;vertical-align:-1px}
.tu-legend i.d{border:1.5px solid #9C97C8}.tu-legend i.l{background:#BFD6F5}.tu-legend i.g{background:#FFC53D}.tu-legend i.dia{background:#FFE29A;border-radius:2px;transform:rotate(45deg)}
.tu-dash{margin:10px 0 0;padding:10px 12px;border:1.5px dashed rgba(255,197,61,.6);border-radius:14px;font-size:13px;color:#FFC53D}
.tu-ccf .tu-fl{margin:12px 0 6px;font-size:13px;font-weight:900;color:#140C46}
.tu-2i{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tu-ccf .tu-chips{margin:0 0 6px}
.tu-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tu-trust button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;min-height:56px;border:1.5px solid #E1E5EF;border-radius:14px;background:#fff;color:#140C46;font:inherit;cursor:pointer}
.tu-trust button b{font-size:14px}.tu-trust button small{font-size:12px;color:#5B6178}
.tu-trust button.on{background:#140C46;border-color:#140C46;color:#fff}.tu-trust button.on small{color:#C9C6EE}
.tu-bands>div{display:flex;gap:8px;align-items:flex-start;margin-bottom:4px}
.tu-bands>div>span{width:38px;flex-shrink:0;padding-top:10px;font-size:12px;font-weight:900;color:#5B6178}
.tu-bands .tu-chips{margin:0}
.tu-bands .tu-chips button{padding:6px 10px;font-size:12px;min-height:36px}
.tu-trait{display:inline-flex!important;align-items:center;gap:6px;margin:4px 6px 0 0;padding:6px 10px;border-radius:999px;background:#FFF4D6;color:#8A5A00;font-size:13px;font-weight:700}

@media (max-width:360px){.tu-boss b{font-size:13px}.tu-kt p b{font-size:19px}.tu-st3 b{font-size:20px}.tk4 b{font-size:23px}}
/* 微動畫（規格 v4.1 §2.5）：連勝火焰閃動、攀山小人、星星點亮、印章「啪」 */
.tu-streak svg{transform-origin:50% 90%;animation:tuFlame 1.3s ease-in-out infinite}
@keyframes tuFlame{0%,100%{transform:scale(1) rotate(0);opacity:1}30%{transform:scale(1.12,1.18) rotate(-4deg);opacity:.85}60%{transform:scale(.94,1.04) rotate(3deg);opacity:1}}
.tu-climber{transform:translate(var(--cx),var(--cy));animation:tuClimb 1.1s cubic-bezier(.3,.7,.3,1) .15s both}
@keyframes tuClimb{from{transform:translate(var(--sx),var(--sy))}}
.tu-sky .nlit{transform-box:fill-box;transform-origin:center;animation:tuLit 1.5s ease-out .2s both}
@keyframes tuLit{0%{opacity:.15;transform:scale(.6)}45%{opacity:1;transform:scale(1.6);filter:drop-shadow(0 0 6px #FFE29A)}100%{opacity:1;transform:scale(1);filter:drop-shadow(0 0 3px rgba(255,226,154,.7))}}
.tu-stamps i.last{animation:tuStamp .42s cubic-bezier(.3,1.4,.5,1)}
/* 減少動態效果（設定頁開關，body.gbs-rm）：全部改為淡入 */
body.gbs-rm .tu-climber{transform:translate(var(--cx),var(--cy))}
body.gbs-rm .tu-stamp.on{opacity:1;transform:rotate(-14deg)}
body.gbs-rm .tu-bar i,body.gbs-rm .tu-skel i,body.gbs-rm .tu-chestc.near .tu-chest,body.gbs-rm .tu-sky .tw,body.gbs-rm .tu-streak svg,body.gbs-rm .tu-stamps i.last,body.gbs-rm .tu-sky .nlit{animation:tuRmFade .3s ease both!important}
@keyframes tuRmFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .tu-streak svg,.tu-sky .nlit,.tu-climber{animation:none!important}
  .tu-bar i,.tu-skel i,.tu-chestc.near .tu-chest,.tu-glow::before,.tu-sky .tw,.tu-stamps i.last{animation:none!important}
  .tu-stamp.on{animation:none;opacity:1;transform:rotate(-14deg)}
  .tu-hold.on .fg{transition:none}
}
/* V.22.8 本店戰況：深藍戰況卡（Meiko 2026-10-18） */
.tu-card.tu-bt{background:#140C46;color:#fff;position:relative;overflow:hidden}
.tu-card.tu-bt::before{content:"";position:absolute;right:-50px;top:-60px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.05)}
.tu-bthd{display:flex;justify-content:space-between;align-items:center;gap:8px;position:relative}
.tu-bthd h3{margin:0;font-size:16px;font-weight:900;color:#fff}
.tu-bthd span{font-size:11px;font-weight:700;color:#C9C6EE;background:rgba(255,255,255,.1);border-radius:999px;padding:3px 10px;white-space:nowrap}
.tu-btv{margin:10px 0 0;position:relative}.tu-btv b{font-size:32px;font-weight:900;color:#fff;letter-spacing:-.5px}.tu-btv span{font-size:13px;color:#C9C6EE}
.tu-btbar{position:relative;height:12px;border-radius:6px;background:rgba(255,255,255,.14);margin:14px 0 34px}
.tu-btbar em{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:linear-gradient(90deg,#FFD66B,#FFC53D);box-shadow:0 0 12px rgba(255,197,61,.45);animation:tuFill 1s ease-out both}
.tu-bms{position:absolute;top:-4px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center}
.tu-bms i{width:20px;height:20px;border-radius:50%;background:#140C46;border:2px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;color:#C9C6EE;box-sizing:border-box}
.tu-bms.ok i{background:#FFC53D;border-color:#FFC53D;color:#140C46}
.tu-bms small{margin-top:4px;font-size:10px;font-weight:700;color:#C9C6EE;white-space:nowrap}
.tu-bms.ok small{color:#FFC53D}
.tu-bms[style*="left:100%"]{transform:translateX(-90%)}.tu-bms[style*="left:100%"] small{margin-right:-4px}
.tu-btrow{display:flex;justify-content:space-between;font-size:13px;color:#C9C6EE}.tu-btrow b{color:#fff;font-weight:900}.tu-btrow span:first-child b{color:#FFC53D}
.tu-btcheer{margin:8px 0 0;font-size:12px;font-weight:700;color:#FFC53D;background:rgba(255,197,61,.12);border-radius:12px;padding:7px 11px}
.tu-bt .tu-mine{background:rgba(255,255,255,.08)!important;color:#fff}.tu-bt .tu-mine span{color:#FFC53D}.tu-bt .tu-mine small{color:#C9C6EE}
.tu-bt .tu-foot{color:#8F8AC0}
.gbs-rm .tu-btbar em{animation:none}
.tu-bt .tu-mine b{color:#fff}

/* V23.3 · 已確認表單規則：手機優先、淺藍選項、挑戰書深藍確認 */
.tu-ch .tu-adj{min-height:82px;border-radius:26px;padding:10px 12px;background:#fff;box-shadow:0 7px 18px rgba(20,12,70,.07);border-left:5px solid var(--c)}
.tu-ch .tu-adj>span{min-width:0}.tu-ch .tu-adj>span b{font-size:15px}.tu-ch .tu-adj>span small{line-height:1.35}
.tu-ch .tu-adj>button{width:44px;height:44px;border-radius:50%;background:#EEF2FA;color:#140C46;font-size:25px}
.tu-ch .tu-adj>button.p{background:#140C46;color:#fff}
.tu-ch .tu-adj .n{min-width:84px;text-align:center;font-size:27px}
.tu-confirm-navy{margin:-8px -4px -2px;padding:15px 12px 10px;border-radius:24px;background:#140C46;color:#fff}
.tu-confirm-navy>.tu-sub,.tu-confirm-navy .tu-sign>.tu-sub,.tu-confirm-navy .tu-hint small{color:#C9C6EE}
.tu-confirm-navy .tu-sign{background:transparent;border:0;padding:4px 0 10px}
.tu-confirm-navy .tu-sign h3,.tu-confirm-navy .tu-hint b{color:#fff}
.tu-confirm-navy .tu-sgl{border:0;border-radius:14px;margin:7px 0;padding:10px 12px;background:#FFF5D8;color:#140C46}
.tu-confirm-navy .tu-sgl:nth-of-type(3n+2){background:#EFEAFD}.tu-confirm-navy .tu-sgl:nth-of-type(3n){background:#E7F1FB}
.tu-confirm-navy .tu-oath{color:#E9E7F8}
.tu-confirm-navy .tu-link{color:#D7D3F4}
.tu-confirm-navy .tu-hold{background:#0E0738}
@media(max-width:380px){.tu-ch .tu-adj{padding:9px 9px}.tu-ch .tu-adj .n{min-width:68px;font-size:23px}.tu-ch .tu-adj>button{width:40px;height:40px}}

.tu-statlinks>button{border:0;border-radius:16px;background:#F4F7FB;padding:14px 4px;min-height:102px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font:inherit;cursor:pointer;color:#140C46}
.tu-statlinks>button:last-child b{color:#1F5A99}.tu-statlinks em{font-size:11px;font-style:normal;color:#1F5A99}.tu-statlinks>button:focus-visible{outline:3px solid #2F6FB5;outline-offset:3px}
.tu-detailhero{background:#140C46;border-radius:22px;padding:24px;color:white;margin:0 0 16px}.tu-detailhero>span{font-size:14px;color:#C9C6EE}.tu-detailhero strong{display:flex;align-items:baseline;gap:12px;font-size:52px;line-height:1.4}.tu-detailhero strong small{font-size:15px;font-weight:500}.tu-detailhero p{font-size:12px;color:#C9C6EE;margin:8px 0 0}
.tu-pg h3{font-size:17px;margin:0 0 10px}.tu-detailrow{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-top:1px solid #EDF0F6}.tu-detailrow b{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15px}.tu-detailrow small{font-size:13px;color:#5B6178}.tu-detail-empty{text-align:center;padding:26px 18px}.tu-detail-empty p{margin:10px 0 0}
.tu-detailsearch{display:block;font-size:13px;font-weight:700;margin-bottom:12px}.tu-detailsearch input{display:block;box-sizing:border-box;width:100%;min-height:48px;margin-top:8px;border:1px solid #D6DDEA;border-radius:14px;background:white;padding:12px 14px;font:inherit;font-size:16px;color:#140C46}.tu-detailfilters{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 12px;margin:0 0 8px}.tu-detailfilters button{flex-shrink:0;min-height:44px;border:1px solid #DEE4EF;border-radius:999px;padding:8px 15px;font:inherit;font-size:13px;background:white;color:#140C46}.tu-detailfilters button.on{background:#140C46;color:white;border-color:#140C46}.tu-detailgroup[hidden],.tu-detail-empty[hidden],[data-tool][hidden]{display:none!important}

.tk4t.tk-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tk4t.tk-tiles button{padding:12px 4px}.tk4t.tk-tiles button b{font-size:15px}.tk4t.tk-tiles button small{font-size:11px}

.tk-quote-row{height:42px;display:flex;align-items:center;min-width:0;margin-top:3px}.tk-quote-row #tk-q{font-size:13px;color:#C9C6EE;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left;cursor:default}.header-top:has(.tk4){min-height:44px}.tk-actions{flex-shrink:0}.tk4t.tk-tiles button small{display:block;min-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.tk-actions .tk-shopsel{max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:36px;font-size:12px}.tk-actions{flex-shrink:0;gap:6px}.tk-actions .tk-data{min-height:36px;padding:7px 9px}@media(max-width:350px){.tk-actions .tk-shopsel{max-width:85px;font-size:11px}.tk-actions .tk-data{font-size:11px;padding:7px}.tk4 .tk-hr b{font-size:18px}}

/* 今日落舖：沿用既有深藍、白卡與金色狀態 */
/* Shop shift status sits above the shared five-colour task card. */
.tu-shopfocus .tu-hd{align-items:center}
.tu-shopfocus .tu-cnt{font-size:12px}
.tu-sf-status{display:flex;align-items:center;gap:12px;background:#F4F7FB;border-radius:16px;padding:13px;margin-top:12px}
.tu-sf-status>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.tu-sf-status b{font-size:15px}
.tu-sf-status small{font-size:12px;color:#5B6178}
.tu-sf-status .tu-navy{flex:none}
.tu-sf-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}
.tu-sf-actions .tu-navy{padding-inline:12px;white-space:nowrap}
.tu-sf-note{font-size:11px;line-height:1.5;color:#5B6178;margin:9px 2px 0}
@media(max-width:430px){.tu-sf-status{align-items:flex-start;flex-direction:column}.tu-sf-actions{align-self:flex-end}}

/* Standard task card: share the development 54321 markup, colours and progress dots. */
.tu-sf-board .dm-tr{min-height:78px}
.tu-sf-board .dm-tm small{line-height:1.35}
.tu-sf-board .dm-tr.gold .dm-dots{color:#D99A1E}
.tu-sf-foot{padding:0 18px 14px}
.tu-sf-foot .tu-rowlink{margin-top:2px}
@media(max-width:365px){.tu-sf-board .dm-tr{gap:9px;margin:0 10px;padding:12px 4px}.tu-sf-board .dm-ic{width:42px;height:42px;border-radius:13px}.tu-sf-board .dm-plus{width:42px;height:42px}.tu-sf-board .dm-tl b{font-size:13px}.tu-sf-board .dm-tm small{font-size:11px}}

/* V.26.1 · Primary page headers: one approved deep-navy surface across task, customer, organisation and events. */
#screen-gx:has(.header-navy .tk4) > #gbs-topbar,
#screen-gx:has(#att-org) > #gbs-topbar,
#screen-customers > #gbs-topbar,
#screen-gbs-events > #gbs-topbar {
  background:#140C46!important;
  border-bottom-color:rgba(255,255,255,.08);
}
body:has(#screen-gx:not(.hidden) .header-navy .tk4)::after,
body:has(#screen-gx:not(.hidden) #att-org)::after,
body:has(#screen-customers:not(.hidden))::after,
body:has(#screen-gbs-events:not(.hidden))::after {background:#140C46}
#screen-gx #att-org .hdr{background:#140C46}

/* Same large three-way tab treatment as the approved task header. */
#screen-customers.cm-hd #gx-cust-sub .gx-seg2,
#screen-gbs-events #gev-top-filters .gev-chips {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;
  margin:14px 0 0;
  padding:5px;
  border:0;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  box-shadow:none;
  overflow:visible;
}
#screen-customers.cm-hd #gx-cust-sub .gx-seg2 button,
#screen-gbs-events #gev-top-filters .gev-chip {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:56px;
  width:100%;
  padding:8px 4px;
  border:0;
  border-radius:14px;
  background:transparent;
  box-shadow:none;
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  white-space:normal;
}
#screen-customers.cm-hd #gx-cust-sub .gx-seg2 button.on,
#screen-gbs-events #gev-top-filters .gev-chip.on {
  background:#fff;
  color:#140C46;
  font-weight:900;
  box-shadow:none;
}
#screen-customers.cm-hd #gx-cust-sub .gx-seg2 button:focus-visible,
#screen-gbs-events #gev-top-filters .gev-chip:focus-visible {
  outline:2px solid #FFC53D;
  outline-offset:2px;
}

/* V.26.2 · Events module applies a later header rule; pin it to the same approved navy. */
#screen-gbs-events > .header-navy.gev-hd{background:#140C46!important}


#screen-gx .header-top:has(.tk4) .tk-actions{min-width:0;max-width:58%;flex-shrink:1}
#screen-gx .header-top:has(.tk4) .tk-shopsel{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:auto;max-width:100%;height:36px;min-height:36px;padding:6px 10px;border-radius:10px;overflow:hidden;white-space:nowrap;text-align:left;margin-left:0;line-height:1.3}
#screen-gx .tk-shopsel strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#screen-gx .tk-shopsel:focus-visible{outline:3px solid #97CADB;outline-offset:3px}
@media(max-width:350px){#screen-gx .tk-shopsel strong{font-size:12px}#screen-gx .header-top:has(.tk4) .tk-shopsel{padding:8px}}

#screen-gbs-events #gev-top-filters .gev-chip[data-category="learning"]{background:#2F83CF;color:#fff}
#screen-gbs-events #gev-top-filters .gev-chip[data-category="development"]{background:#C78516;color:#fff}
#screen-gbs-events #gev-top-filters .gev-chip[data-category="learning"].on,#screen-gbs-events #gev-top-filters .gev-chip[data-category="development"].on{color:#fff;box-shadow:inset 0 0 0 3px #fff}

.gx-shop-menu-mask{position:fixed;inset:0;z-index:10050;background:rgba(20,12,70,.18)}.gx-shop-menu{position:fixed;box-sizing:border-box;max-height:70dvh;overflow:auto;background:#fff;color:#140c46;padding:12px;border:1px solid #dbe6f2;border-radius:16px;box-shadow:0 12px 36px #140c4633;display:grid;gap:8px}.gx-shop-menu .gx-shopopt{width:100%;min-height:48px;text-align:left;padding:12px;border-radius:10px;background:#edf5fc;color:#184f88;border:0;font-weight:700}.gx-shop-menu-close{justify-self:end;background:none;border:0;padding:8px;color:#315f8c}#screen-gx .header-top:has(.tk4) .tk-actions{max-width:65%;gap:5px}#screen-gx .tk-actions .tk-data{font-size:11px;white-space:nowrap}#screen-gx .tk-shopsel strong{font-size:12px}

#screen-gx .header-top:has(.tk4){flex-wrap:wrap;gap:8px}#screen-gx .header-top:has(.tk4) .tk-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;max-width:100%;margin-left:auto}#screen-gx .header-top:has(.tk4) .tk4{flex:1;min-width:100px}#screen-gx .tk-actions .tk-data{border-radius:10px;min-height:40px}#screen-gx .tk-actions .tk-shopsel{min-height:40px}
@media(max-width:430px){#screen-gx .header-top:has(.tk4) .tk-actions{width:100%;justify-content:space-between}#screen-gx .tk-actions .tk-data{flex:1}#screen-gx .tk-actions .tk-shopsel{flex:1}}

.tu-pcard-action{width:100%;border:0;font:inherit;text-align:left;cursor:pointer;appearance:none}
.tu-pcard-action:focus-visible{outline:3px solid #FFC53D;outline-offset:3px}
.tu-pcard-action:active{transform:translateY(1px)}
