/* 顏色面板（G+B）的樣式：SF CB Ladies、STRAIGHT FLUSH CAVITY、WEDGE 共用（templates/web/_colour_panel.html）。
   John 2026-12-01：做成共用的元件，從 us_jp_series.css 搬過來（順序不變）。頁面怎麼放這一塊（逐支調整 視窗開著時藏起來、
   跟 #pcdlg 的排法）還在 us_jp_series.css。每一款的圖的尺寸是 #sfx 上的變數，預設是 Ladies 那一張。 */
        /* SF CB Ladies 方案 B（John 2026-11-28）：縮圖底下一條整組的凹槽顏色；每一支跟整組一樣就淡淡寫「同整組」。 */
        .cavset { margin-top: 4px; }
        .cavset-h { display: flex; align-items: baseline; gap: 2px; font-size: 13px; color: var(--muted, #6b7280); margin: 0 0 6px; }
        .cavset-h b { font-size: 14px; color: var(--ink, #111827); }
        .cavset-h em { font-style: normal; margin-left: auto; color: #374151; }
        .cavset-sw { display: flex; flex-wrap: wrap; gap: 6px; }
        /* 小花顏色（2026-11-30）：頁籤一朵一個，圓點是那一朵現在的色；底下那一排色票跟凹槽同一個畫法。 */
        .ssset { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f3; }
        .ss-tabs { display: flex; gap: 8px; margin: 0 0 8px; }
        .ss-tab { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1.5px solid #cfd6df;
                  background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: inherit; }
        .ss-tab.on { border-color: #13756b; background: #eaf6f3; font-weight: 700; }
        .ss-tab:focus-visible { outline: 2px solid #13756b; outline-offset: 2px; }
        .ss-tab .ss-sym { font-size: 17px; line-height: 1; }
        .ss-tab[data-g="ss_n"] .ss-sym { font-size: 13px; letter-spacing: .02em; }  /* 號數那一格是字，不是花（2026-12-04） */
        .ss-g[hidden] { display: none; }
        .sfx { display: grid; gap: 12px; margin: 0 0 6px; }
        .sfx-hero { background: #f4f6f8; border-radius: 16px; padding: 8px 10px 6px; }
        .sfx-cap { display: flex; align-items: baseline; gap: 8px; min-height: 22px; padding: 0 2px; }
        .sfx-note { margin: 6px 2px 0; font-size: 12px; line-height: 1.4; color: var(--muted, #6b7280); text-align: center; }
        .sfx-cap b { font-size: 16px; } .sfx-cap .sfx-txt { font-size: 13px; color: var(--muted, #6b7280); }
        .sfx-back { margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: #13756b; cursor: pointer; }
        .sfx-back[hidden] { display: none; }
        .sfx-art { position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: var(--sfx-box, 540 / 506); }
        .sfx-img { display: block; width: 100%; height: 100%; }
        .sfx-line { position: absolute; inset: 0; display: none; }
        .sfx.lineup .sfx-img { visibility: hidden; }
        .sfx.lineup .sfx-line { display: block; }
        .sfx-line { touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
        /* 看得到的那一層不裁（2026-12-01：裁了趾端的弧變成一段一段的直線）；點得到的是 .sfx-hz，輪廓照圖描（fan_outline.py） */
        .sfx-lc { position: absolute; width: 56%; aspect-ratio: var(--sfx-ar, 540 / 506); padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 0 0; }
        .sfx-lc img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 3px 6px rgba(15,23,42,.16)); }
        .sfx-lc:focus-visible { outline: none; }
        .sfx-lc:focus-visible img { filter: drop-shadow(0 0 1.5px #13756b) drop-shadow(0 0 1.5px #13756b) !important; }
        .sfx-tags { position: absolute; inset: 0; pointer-events: none; z-index: 60; }
        .sfx-hold { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; pointer-events: none; z-index: 70; opacity: 0;
                    background: conic-gradient(#13756b var(--p, 0turn), transparent 0); -webkit-mask: radial-gradient(circle, transparent 23px, #000 24px); mask: radial-gradient(circle, transparent 23px, #000 24px); }
        .sfx-ln { position: absolute; left: 0; top: 0; will-change: transform, opacity; font-size: 12px; font-weight: 800; color: #1b2733; background: rgba(255,255,255,.92); border-radius: 99px; padding: 1px 8px;
                  box-shadow: 0 1px 3px rgba(15,23,42,.18); display: inline-flex; align-items: center; }
        .sfx-ln .sfx-dot { margin: 0 4px 0 0; }
        .sfx-pile { display: flex; flex-wrap: wrap; row-gap: 24px; align-items: center; padding: 4px 2px 18px; }
        .sfx-set { flex: none; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px 0 6px; border-radius: 999px; border: 2px solid #cfd6df; background: #fff;
                   cursor: pointer; font: inherit; color: inherit; transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
        .sfx-set.sel { border-color: #13756b; background: #eaf6f3; }
        .sfx-stk { position: relative; width: 44px; height: 34px; flex: none; }
        .sfx-stk span { position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: #eef1f5; box-shadow: 0 1px 3px rgba(15,23,42,.2); }
        .sfx-stk span:nth-child(1) { left: 10px; opacity: .55; } .sfx-stk span:nth-child(2) { left: 5px; opacity: .8; } .sfx-stk span:nth-child(3) { left: 0; }
        .sfx-stk img, .sfx-cr img { position: absolute; max-width: none; height: auto; }
        .sfx-stk img { width: var(--sfx-sw, 92px); left: var(--sfx-sl, -16px); top: var(--sfx-st, -10px); }
        .sfx-sl b { display: block; font-size: 14px; line-height: 1.1; } .sfx-sl small { display: block; font-size: 12px; color: var(--muted, #6b7280); line-height: 1.1; }
        .sfx-bar { width: 1px; align-self: stretch; margin: 6px 12px 6px 10px; background: #dfe4ea; flex: none; }
        .sfx-av { width: var(--fs); height: var(--fs); border-radius: 50%; border: 3px solid #fff; background: #eef1f5; position: relative; flex: none; cursor: pointer; padding: 0; margin-left: -2px;
                  box-shadow: 0 1px 4px rgba(15,23,42,.18); transition: transform .25s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
        .sfx-bar + .sfx-av { margin-left: 0; }
        .sfx-cr { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
        .sfx-av { --fs: 46px; }
        .sfx-cr img { width: calc(var(--fs) * var(--sfx-cw, 2.717)); left: calc(var(--fs) * var(--sfx-cl, -.4565)); top: calc(var(--fs) * var(--sfx-ct, -.3043)); }
        .sfx-av::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
        .sfx-x { position: absolute; top: -5px; left: 50%; margin-left: -4.5px; width: 9px; height: 9px; border-radius: 50%; background: #e07b00; box-shadow: 0 0 0 2px #fff; z-index: 2; }
        .sfx-av em { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: #4b5563; white-space: nowrap; }
        .sfx-av.sel { z-index: 4; box-shadow: 0 0 0 2.5px #13756b, 0 2px 6px rgba(15,23,42,.22); }
        /* 沒選的不變淡（John 2026-12-01）：.sfx.focus 不再把其他臉和整組膠囊調到 .78。 */
        .sfx.focus .sfx-av.hi { opacity: 1; transform: scale(1.12); z-index: 5; box-shadow: 0 4px 10px rgba(15,23,42,.22); }
        .sfx.focus .sfx-set.hi { opacity: 1; transform: translateY(-3px); }
        .sfx.focus .sfx-av.hi em, .sfx-av.sel em { color: #13756b; font-weight: 800; }
        .sfx-set:focus-visible, .sfx-av:focus-visible { outline: 2px solid #13756b; outline-offset: 3px; }
        @media (max-width: 420px) {
          .sfx-set { padding: 0 10px 0 5px; gap: 6px; } .sfx-stk { width: 40px; } .sfx-bar { margin: 6px 10px 6px 8px; } }
        @media (prefers-reduced-motion: reduce) { .sfx-av, .sfx-set { transition: none; } .sfx.focus .sfx-av.hi, .sfx.focus .sfx-set.hi { transform: none; } }
        /* 配色：凹槽色點＋右下角 ♣♠ 的色、底下小字名字（樣式 5） */
        .cavset-sw:has(.sfx-bdg) { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 12px 4px; }
        /* 名字太小（John 2026-11-30：the text here is too small）：10 → 12.5px；一排放得下幾個就排幾個（電腦 7 個、手機 5 個）。 */
        #cavset:has(.sfx-bdg) .cavset-h { font-size: 14px; }
        #cavset:has(.sfx-bdg) .cavset-h .sfx-cn { display: none; } #cavset:has(.sfx-bdg) .cavset-h b { font-size: 16px; } #cavset:has(.sfx-bdg) .cavset-h em { font-size: 14px; }
        #cavset > .cavset-sw .psw:has(.sfx-bdg) { width: auto; height: auto; display: grid; justify-items: center; gap: 3px; border-radius: 10px; }
        #cavset > .cavset-sw .psw:has(.sfx-bdg) i { width: 36px; height: 36px; }
        #cavset > .cavset-sw .psw .sfx-bdg { position: absolute; top: 22px; left: calc(50% + 7px); width: 17px; height: 17px; overflow: visible; }
        .sfx-bdg use.o { fill: #fff; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round; }
        .sfx-bdg use:not(.o) { fill: currentColor; stroke: rgba(15,23,42,.28); stroke-width: .5px; }
        #cavset > .cavset-sw .psw .sfx-nm { font-size: 12.5px; line-height: 1.15; color: var(--muted, #6b7280); white-space: nowrap; }
        #cavset > .cavset-sw .psw.on:has(.sfx-bdg), #cavset > .cavset-sw .psw.cur { box-shadow: none; }
        #cavset > .cavset-sw .psw.on:has(.sfx-bdg) i, #cavset > .cavset-sw .psw.cur i { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #13756b; }
        #cavset > .cavset-sw .psw.on .sfx-nm, #cavset > .cavset-sw .psw.cur .sfx-nm { color: inherit; font-weight: 700; }
        #cavset.sfx-club > .cavset-sw .psw.on:not(.cur) i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
        #cavset.sfx-club > .cavset-sw .psw.on:not(.cur) .sfx-nm { font-weight: 400; color: var(--muted, #6b7280); }
        #cavset > .cavset-sw .psw.std:has(.sfx-bdg)::after { top: -4px; right: calc(50% - 22px); }
        .sfx-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e07b00; margin: 0 4px 0 2px; vertical-align: 1px; }
        .ssd { margin-top: 12px; border: 1px solid #e3e6ea; border-radius: 12px; padding: 0 12px; }
        .ssd > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; font-size: 15px; }
        .ssd > summary::-webkit-details-marker { display: none; }
        .ssd > summary::after { content: "›"; color: var(--muted, #6b7280); transition: transform .2s ease; }
        .ssd[open] > summary::after { transform: rotate(90deg); }
        .ssd > summary b { flex: none; white-space: nowrap; }
        .ssd-sum { margin-left: auto; min-width: 0; text-align: right; text-wrap: balance; font-size: 14px; color: var(--muted, #6b7280); }
        .ssd .ssset { margin-top: 0; padding: 0 0 12px; border-top: 0; }
        .ss-tab { white-space: nowrap; }
        .ss-tab i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); display: inline-block; }
        #cavset .psw { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; display: grid; place-items: center;
                       position: relative; transition: transform .1s ease-out; }
        #cavset .psw i { width: 26px; height: 26px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
        #cavset .psw:active { transform: scale(.9); }
        #cavset .psw.on { box-shadow: 0 0 0 2px var(--accent); }
        /* 號數「跟配色」：一格寬的，半邊配色、半邊米白，旁邊寫字。 */
        #cavset #ssset .psw.fol { width: auto; height: 30px; border-radius: 15px; padding: 0 10px 0 2px; display: inline-flex; flex-direction: row; align-items: center;
                                  gap: 5px; white-space: nowrap; font-size: 12.5px; color: inherit; box-shadow: inset 0 0 0 1px #d8dde3; }
        #cavset #ssset .psw.fol.on, #cavset.sfx-club #ssset .psw.fol.cur { box-shadow: 0 0 0 2px var(--accent); }
        #cavset.sfx-club #ssset .psw.fol.on:not(.cur) { box-shadow: inset 0 0 0 1px #d8dde3; }
        #cavset #ssset .psw.fol i { width: 24px; height: 24px; flex: none; background: conic-gradient(var(--fc, #f4f0e8) 0 50%, #f4f0e8 0); }
        #cavset #ssset .psw.fol small { font-size: inherit; line-height: 1; }
        #cavset .psw.std::after { content: "★"; position: absolute; top: -7px; right: -4px; font-size: 10px; color: #b45309; }
        /* 手機一排五個（13 = 5 + 5 + 3），長的名字斷成二行 */
        @media (max-width: 520px) {
          #cavset > .cavset-sw:has(.sfx-bdg) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 2px; }
          #cavset > .cavset-sw .psw .sfx-nm { white-space: normal; text-align: center; line-height: 1.15; font-size: 12px; }
        }
        .sfx-vend { display: flex; justify-content: flex-end; margin-top: 12px; }
        .sfx-vbtn { font: inherit; font-size: 14px; font-weight: 700; color: #13756b; background: #fff; border: 1.5px solid #13756b; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
        .sfx-vbtn:hover { background: #eaf6f3; } .sfx-vbtn:active { transform: scale(.97); } .sfx-vbtn:disabled { opacity: .6; cursor: progress; }
        .sfx-vbtn:focus-visible { outline: 2px solid #13756b; outline-offset: 2px; }
        /* Send to Vendor 的預覽是共用的 CardPop（_card_pop.html），樣子在那裡。 */
        /* line-up（animation audit，選 A）：點得到的是原位的輪廓（.sfx-hz），看得到的那一層不接指標 */
        .sfx-line .sfx-lc { pointer-events: none; }
        .sfx-hits { position: absolute; inset: 0; z-index: 55; }
        .sfx-hz { position: absolute; aspect-ratio: var(--sfx-ar, 540 / 506); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
                  clip-path: var(--sfx-hit, polygon(24.81% 2.37%, 30.51% 2.87%, 35.81% 4.35%, 40.97% 6.23%, 46.01% 8.40%, 50.85% 11.08%, 55.93% 13.15%, 61.01% 15.21%,
                             65.97% 17.59%, 71.01% 19.76%, 75.91% 22.31%, 80.72% 25.07%, 85.48% 27.96%, 89.90% 31.72%, 93.02% 36.62%, 95.46% 41.82%,
                             96.85% 47.48%, 97.41% 53.51%, 97.50% 59.75%, 97.50% 66.03%, 97.50% 72.31%, 97.41% 78.54%, 97.41% 84.82%, 97.41% 91.10%,
                             95.35% 96.34%, 90.08% 97.92%, 84.73% 96.55%, 83.52% 90.81%, 83.52% 84.53%, 83.61% 78.30%, 83.61% 72.02%, 83.61% 65.74%,
                             81.35% 61.26%, 75.54% 61.46%, 69.70% 61.56%, 63.81% 61.56%, 57.93% 61.56%, 52.09% 61.46%, 46.24% 61.36%, 40.43% 61.17%,
                             34.67% 60.87%, 28.94% 60.47%, 23.21% 60.08%, 17.55% 59.49%, 12.24% 58.02%, 7.40% 55.33%, 4.07% 50.58%, 2.96% 44.79%,
                             2.87% 38.56%, 3.33% 32.48%, 4.30% 26.63%, 5.84% 21.04%, 7.87% 15.65%, 10.63% 10.59%, 14.52% 6.15%, 19.35% 3.46%)); }
        .sfx-hz:focus-visible { outline: none; background: rgba(19,117,107,.12); }
        .sfx-ln { transition: background .2s ease, color .2s ease; }
        .sfx-ln.hi { background: #13756b; color: #fff; }
        .sfx-cap.roll .sfx-no, .sfx-cap.roll .sfx-txt { animation: sfxroll .22s cubic-bezier(.2,.8,.2,1); }
        @keyframes sfxroll { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
        @media (prefers-reduced-motion: reduce) { .sfx-cap.roll .sfx-no, .sfx-cap.roll .sfx-txt { animation: none; } }
        /* 每一款的圖的大小、框、號數牌子、臉和那一疊的裁法、點得到的輪廓是 #sfx 上的變數（services/colour_panel._style，照那一款的
           *_art.PANEL["geom"]）；沒寫的是上面的預設（Ladies 那一張）。框比頭矮（.sfx-crop）：頭塞滿，桿身出框，一支的大圖從上面裁。 */
        .sfx-crop .sfx-hero { padding-bottom: 0; overflow: hidden; }
        .sfx-crop .sfx-art { overflow: hidden; }
        .sfx-crop .sfx-img { object-fit: cover; object-position: 50% 0; }
        /* 看得到的那一層不裁（John 2026-12-01：the edges look off）：圖自己的透明就是桿頭的輪廓，裁了趾端的弧會變成一段一段的直線。
           點得到的範圍（.sfx-hz）是照圖的透明描出來的輪廓（scripts/svg_tracing/fan_outline.py，56 點，往外 1px）。 */
        /* 42／461 的配色和摺起來那幾排：色點底下寫名字（跟 Ladies 的樣式 5 同一個排法，沒有角上的小花）。 */
        #cavset.sfg > .cavset-sw, #ssset.sfg .cavset-sw:not([hidden]), #glset .cavset-sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 12px 4px; }
        #cavset.sfg .cavset-h { font-size: 14px; } #cavset.sfg > .cavset-h .sfx-cn { display: none; } #cavset.sfg > .cavset-h b { font-size: 16px; } #cavset.sfg .cavset-h em { font-size: 14px; }
        #cavset.sfg .cavset-sw .psw { width: auto; height: auto; display: grid; justify-items: center; gap: 3px; border-radius: 10px; }
        #cavset.sfg .cavset-sw .psw i { width: 36px; height: 36px; }
        #cavset.sfg .cavset-sw .psw .sfx-nm { font-size: 12.5px; line-height: 1.15; color: var(--muted, #6b7280); white-space: nowrap; }
        #cavset.sfg .cavset-sw .psw.on, #cavset.sfg > .cavset-sw .psw.cur { box-shadow: none; }
        #cavset.sfg .cavset-sw .psw.on i, #cavset.sfg > .cavset-sw .psw.cur i { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #13756b; }
        #cavset.sfg .cavset-sw .psw.on .sfx-nm, #cavset.sfg > .cavset-sw .psw.cur .sfx-nm { color: inherit; font-weight: 700; }
        #cavset.sfg.sfx-club > .cavset-sw .psw.on:not(.cur) i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
        #cavset.sfg.sfx-club > .cavset-sw .psw.on:not(.cur) .sfx-nm { font-weight: 400; color: var(--muted, #6b7280); }
        #cavset.sfg .cavset-sw .psw.std::after { top: -4px; right: calc(50% - 22px); }
        #ssset.sfg .ss-tabs { flex-wrap: wrap; }
        #ssset.sfg .ss-tab .ss-sym { font-size: 13px; letter-spacing: .02em; }
        @media (max-width: 520px) {
          #cavset.sfg > .cavset-sw, #ssset.sfg .cavset-sw:not([hidden]), #glset .cavset-sw { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 2px; }
          #cavset.sfg .cavset-sw .psw .sfx-nm { white-space: normal; text-align: center; font-size: 12px; }
          #ssset.sfg .ss-tab { padding: 5px 10px; }
        }
        /* 換圖（fix 4）：新圖載好之前舊的一直在，大圖上緣一條細的進度條，好了淡入（.sfx-nx 是疊在上面淡入的那一張） */
        .sfx-hero { position: relative; }
        .sfx-load { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: #13756b; border-radius: 0 3px 3px 0; opacity: 0; z-index: 80; pointer-events: none; }
        .sfx-hero.busy .sfx-load { opacity: 1; animation: sfxld .45s ease-out forwards; }
        @keyframes sfxld { to { width: 85%; } }
        .sfx-nx { position: absolute; left: 0; top: 0; pointer-events: none; }
        @media (prefers-reduced-motion: reduce) { .sfx-hero.busy .sfx-load { animation: none; width: 85%; } }
        /* 選了某一支：配色旁邊那一顆「只改 56 ×」（fix 5） */
        .sfx-scope .sfx-chip { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; border: 0; background: #13756b; color: #fff; border-radius: 999px;
                               padding: 4px 6px 4px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 32px; vertical-align: middle; }
        .sfx-scope .sfx-chip i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.22); font-style: normal; font-size: 13px; }
        .sfx-scope .sfx-chip:focus-visible { outline: 2px solid #13756b; outline-offset: 2px; }
        .sfx-scope .sfx-chip:active { transform: scale(.96); }
        /* 摺起來那一格：第一行寫改的是誰（fix 1）；選了某一支時那幾排照那一支亮（.cur），整組的那一格淡下去 */
        .ss-scope { margin: 0 0 8px; font-size: 13px; color: var(--muted, #6b7280); }
        #cavset.sfx-club #ssset .psw.on:not(.cur), #cavset.sfx-club #glset .psw.on:not(.cur) { box-shadow: none; }
        #cavset.sfx-club #ssset .psw.cur, #cavset.sfx-club #glset .psw.cur { box-shadow: 0 0 0 2px var(--accent); }
        #cavset.sfg.sfx-club #ssset .psw.on:not(.cur) i, #cavset.sfg.sfx-club #glset .psw.on:not(.cur) i { box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
        #cavset.sfg.sfx-club #ssset .psw.on:not(.cur) .sfx-nm, #cavset.sfg.sfx-club #glset .psw.on:not(.cur) .sfx-nm { font-weight: 400; color: var(--muted, #6b7280); }
        #cavset.sfg.sfx-club #ssset .psw.cur, #cavset.sfg.sfx-club #glset .psw.cur { box-shadow: none; }
        #cavset.sfg.sfx-club #ssset .psw.cur i, #cavset.sfg.sfx-club #glset .psw.cur i { box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px #13756b; }
        #cavset.sfg.sfx-club #ssset .psw.cur .sfx-nm, #cavset.sfg.sfx-club #glset .psw.cur .sfx-nm { color: inherit; font-weight: 700; }
        /* 摘要短（fix 7）：一行，不斷行 */
        .ssd-sum { white-space: nowrap; }
        /* 手機（fix 2，框 ≤ 430px）：整組那一顆只留疊起來的圖和一個支數的角標，每一支的臉排一排（最多 7 支），放不下就把臉縮小，不換行 */
        .sfx { container-type: inline-size; }
        .sfx-n { display: none; }
        @container (max-width: 430px) {
          .sfx-pile { flex-wrap: nowrap; }
          .sfx-set { position: relative; padding: 0 6px; gap: 0; }
          .sfx-set .sfx-sl { display: none; }
          .sfx-set .sfx-n { display: grid; place-items: center; position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px;
                            background: #13756b; color: #fff; font-size: 11px; font-weight: 800; border: 2px solid #fff; box-sizing: border-box; }
          .sfx-bar { margin: 6px 8px; }
          .sfx-av { --fs: clamp(28px, calc((100cqw - 80px) / var(--n, 4)), 42px); margin-left: 0; }
        }
        /* 號數牌子（fix 4）：白底不淡掉，指到的、選了的那一支 teal */
        .sfx-ln { white-space: nowrap; }
        /* 一排的每一支是點陣圖（canvas，畫一次；John 2026-12-01 fps）：SVG 藏在後面只當來源；淡色那張用 opacity 疊上去；只有動的時候給 will-change */
        .sfx-line.anim .sfx-lc, .sfx-line.anim .sfx-ln { will-change: transform, opacity; }
        .sfx-line.anim .sfx-bt { will-change: opacity; }
        .sfx-lc .sfx-bm { position: absolute; pointer-events: none; }
        .sfx-lc .sfx-bt { opacity: 0; }
        .sfx-lc.bm img { visibility: hidden; }
        /* 選了某一支的時候，摺起來那一格改的是那一支（John 2026-12-01）：teal 的框線和標題，跟「只改 56 ×」同一個顏色 */
        #ssd.club { border-color: #13756b; box-shadow: inset 3px 0 0 #13756b; }
        #ssd.club > summary b { color: #13756b; }
        /* 亮片那一排（John 2026-12-02：從摺起來那一格搬到配色底下）；選了某一支，標題換 teal 寫那一支。 */
        .glset { margin-top: 14px; }
        #glset.club .cavset-h b, #glset.club .cavset-h > span { color: #13756b; }
        /* 只勾一支（.solo，John 2026-12-02）：沒有整組可言——整組那顆和那一排臉不畫，大圖就是那一支。 */
        #sfx.solo .sfx-pile { display: none; }
