/* us_jp_series.html 頁首的樣式（2026-09-29 從頁面搬出來：分享頁每按一個選項就重抓整頁，這一段 23 KB
   每次都一樣）。只給管理者的那一段（成本表）還留在頁面上。改了這個檔，記得改 us_jp_series.html 裡的 ?v=。 */
        .wrap { max-width: 1320px; margin: 0 auto; padding: 24px 18px 96px; }
        /* 這一頁不放主選單那顆 ☰（Edward 2026-10-09：這顆 menu button 拿掉, 回上首頁或首頁都可以找到其它入口）：
           640px 以下選單是收在 ☰ 裡的，連同那顆鈕一起不畫。這個檔只有工坊桿／日規內頁在用，別的頁不受影響。
           寬的螢幕上那一整排導覽列照舊。 */
        @media (max-width: 640px) {
            .sn-burger, .navpill { display: none !important; }
        }
        .crumb { font-size: 14px; margin: 0 0 12px; }
        .crumb a { color: var(--accent); text-decoration: none; font-weight: 600; }
        .crumb a:hover { text-decoration: underline; }
        h1 { font-size: 26px; margin: 0 0 4px; }
        .h1row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
        .h1row h1[contenteditable="plaintext-only"],
        .h1row h1[contenteditable="true"] { outline: 2px dashed #99f6e4; outline-offset: 4px;
                                           border-radius: 6px; }
        .n { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }

        .two { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
               align-items: start; }
        @media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

        .box { background: var(--card); border: 1px solid var(--line);
               border-radius: var(--radius); padding: 16px 18px; }
        .box h2 { font-size: 15px; font-weight: 700; letter-spacing: .06em;
                  color: var(--muted); margin: 0 0 12px; }
        .shot { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff;
                border-radius: var(--radius); border: 1px solid var(--line);
                padding: 8px; margin: 0 0 16px; }

        .gal { margin: 0 0 16px; }
        .gal > input { position: absolute; opacity: 0; pointer-events: none; }
        .galmain { position: relative; display: grid; }
        .galmain .shot { margin: 0; grid-area: 1 / 1; align-self: start; visibility: hidden; }
        .galthumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
        .galthumbs label { width: 72px; aspect-ratio: 4 / 3; border-radius: 8px;
                           border: 1px solid var(--line); background: #fff;
                           padding: 2px; cursor: pointer; }
        .galthumbs label img { width: 100%; height: 100%; object-fit: contain; }
        .galthumbs label:hover { border-color: var(--accent); }

        table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
        table.spec th { text-align: left; font-weight: 600; color: var(--muted);
                        padding: 7px 10px 7px 0; vertical-align: top;
                        white-space: nowrap; width: 1%; }
        table.spec td { padding: 7px 0; border-bottom: 1px solid var(--line);
                        line-height: 1.6; }
        table.spec th { border-bottom: 1px solid var(--line); }
        table.spec .jp { display: block; font-size: 11.5px; color: var(--muted);
                         font-weight: 400; letter-spacing: 0; }

        .models { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
        .models a { font-size: 14.5px; font-weight: 600; text-decoration: none;
                    color: var(--accent); border: 1px solid var(--line);
                    border-radius: 999px; padding: 6px 13px; background: #fff; }
        .models a:hover { border-color: var(--accent); }
        .models a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
        .models .fixed { font-size: 14.5px; font-weight: 600; color: #0b3d2e;
                         border: 1px solid #99f6e4; border-radius: 999px;
                         padding: 6px 13px; background: #ccfbf1; }
        .models a.add::before { content: "＋"; margin-right: 3px; opacity: .7; }
        /* 標配桿身的選擇是一個下拉（Edward 2026-10-04：標配桿身選擇, 用 combo）。 */
        .shaft-opts { margin: 0 0 6px; }
        /* 品牌那一格跟型號那一格同一個樣子（Edward 2026-11-30）。 */
        .shaft-opts .sopt-brand, .shaft-opts .sopt-sel { font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); background: #fff;
                                border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 260px;
                                max-width: 100%; cursor: pointer; }
        .shaft-opts .sopt-brand { min-width: 180px; margin-right: 6px; }
        .shaft-opts .sopt-pic { display: block; max-width: 100%; max-height: 160px; margin-top: 10px; }
        .shaft-opts .sopt-brand:hover, .shaft-opts .sopt-brand:focus,
        .shaft-opts .sopt-sel:hover, .shaft-opts .sopt-sel:focus { border-color: var(--accent); outline: none; }
        .models a.on.add::before { content: "×"; }
        /* 每一支的樣子（step387）：第一列「全部」，底下一支一列，「同上」就是跟第一列。 */
        .paintwrap { overflow-x: auto; margin: 4px 0 6px; border: 1px solid var(--line, #e5e7eb);
                     border-radius: 12px; }
        .ptab { border-collapse: collapse; font-size: 13.5px; min-width: 100%; }
        .ptab th, .ptab td { padding: 7px 8px; border-bottom: 1px solid var(--line, #e5e7eb);
                             text-align: left; white-space: nowrap; }
        .ptab thead th { font-weight: 600; color: var(--muted, #6b7280); font-size: 12.5px; }
        .ptab tr.all { background: #f0fdfa; }
        .ptab tbody tr:last-child th, .ptab tbody tr:last-child td { border-bottom: 0; }
        .ptab select { font: inherit; font-size: 13px; padding: 4px 6px; border-radius: 8px;
                       border: 1px solid var(--line, #d1d5db); background: #fff; max-width: 150px; }
        .ptab select.own { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
        /* 單支的部位顏色（step393）：一個零件一排，每一色是一張原廠的小圖。 */
        .psw-row { margin: 10px 0 0; }
        .psw-lbl { font-size: 13px; color: var(--muted, #6b7280); margin: 0 0 6px; }
        .psw-opts { display: flex; flex-wrap: wrap; gap: 8px; }
        .psw-hint { font-size: 13px; line-height: 1.6; color: var(--muted, #6b7280); margin: 6px 0 0; white-space: pre-line; }
        .psw { font: inherit; font-size: 12px; cursor: pointer; background: #fff; color: inherit;
               border: 1px solid var(--line, #d1d5db); border-radius: 10px; padding: 4px; width: 84px;
               display: flex; flex-direction: column; align-items: center; gap: 3px; }
        .psw img { width: 72px; height: 54px; object-fit: contain; display: block; }
        .psw .psw-std { width: 72px; height: 54px; display: flex; align-items: center; justify-content: center;
                        font-size: 12px; color: var(--muted, #6b7280); text-align: center; }
        .psw.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
        .psw-txt .psw-std { height: 40px; color: inherit; font-weight: 600; }
        .psw .psw-dot { width: 30px; height: 30px; border-radius: 50%; display: block;
                        border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 -3px 6px rgba(0,0,0,.15); }
        /* 桿底顏色配置（ITOBORI STRAIGHT FLUSH 推桿，Edward 2026-11-06：字樣做大一些、色塊小一些，像逐支表那顆小窗）：
           一色一個小圓點，名字在 title；原廠那一格是虛線空圈。 */
        #pswatch.psw-sole .psw-row { margin: 14px 0 0; }
        #pswatch.psw-sole .psw-lbl { font-size: 16px; font-weight: 600; color: var(--ink, #111827); margin: 0 0 8px; }
        #pswatch.psw-sole .psw-opts { gap: 6px; }
        #pswatch.psw-sole .psw { width: 36px; height: 36px; padding: 3px; border-radius: 50%; gap: 0; justify-content: center; }
        #pswatch.psw-sole .psw > span:not(.psw-std) { display: none; }
        #pswatch.psw-sole .psw .psw-std { width: 28px; height: 28px; font-size: 0; }
        #pswatch.psw-sole .psw .psw-dot { width: 28px; height: 28px; }
        #pswatch.psw-sole .psw:not(:has(.psw-dot)) .psw-std { border: 1.5px dashed #9ca3af; border-radius: 50%; box-sizing: border-box; }
        .psw-presets { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
        .psw-preset { font: inherit; cursor: pointer; background: #fff; border: 1px solid var(--line, #d1d5db); border-radius: 12px;
                      padding: 4px 4px 6px; flex: 1 1 0; min-width: 0; max-width: 300px; position: relative;
                      display: flex; flex-direction: column; align-items: center; gap: 4px; }
        .psw-preset img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; }
        .psw-zoom { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.6);
                    color: #fff; font-style: normal; font-size: 17px; line-height: 30px; text-align: center; cursor: zoom-in; }
        .psw-zoom-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.85); display: flex; align-items: center;
                       justify-content: center; cursor: zoom-out; padding: 16px; }
        .psw-zoom-ov img { max-width: 100%; max-height: 100%; border-radius: 10px; }
        .psw-preset span { font-size: 15px; font-weight: 600; }
        a.psw-preset { color: inherit; text-decoration: none; }
        .psw-preset.on, .psw-preset.cav-on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
        .sole-tool { margin: 10px 0 6px; }
        .sole-svg { width: 100%; max-width: 600px; display: block; user-select: none; }
        .sole-el { cursor: pointer; }
        text.sole-el.on { stroke: #34d399 !important; stroke-width: 4px !important; stroke-opacity: 1 !important; paint-order: stroke; }
        /* 照片描的那張（services/sole_art）：選到的部位外面一圈綠光；部位是 <g>，描邊會蓋到字裡面 */
        g.sole-el.on { filter: drop-shadow(0 0 2px #10b981) drop-shadow(0 0 3px #10b981); }
        .sole-svg { border-radius: 10px; }
        #pswatch .psw.sole-v { display: none !important; }
        .sole-grp { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
        .sole-grp button { font: inherit; font-size: 14px; cursor: pointer; background: #fff; border: 1px solid var(--line, #d1d5db);
                           border-radius: 999px; padding: 4px 12px; }
        .sole-sel { font-size: 15px; font-weight: 600; margin: 6px 0; min-height: 1.4em; }
        .sole-pal { display: flex; gap: 6px; flex-wrap: wrap; }
        .sole-pal[hidden] { display: none; }
        .sole-c { width: 36px; height: 36px; padding: 3px; border-radius: 50%; border: 1px solid var(--line, #d1d5db); background: #fff; cursor: pointer; }
        .sole-c i { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-sizing: border-box; }
        .sole-c i.dflt { border: 1.5px dashed #9ca3af; background: transparent; }
        /* 字比較長的選項（後蓋材質：鋁（Aluminum Hatch））：鈕跟著字寬，不擠成三行。 */
        .psw.psw-txt { width: auto; min-width: 84px; padding: 4px 10px; }
        .psw-txt .psw-std { width: auto; min-width: 64px; white-space: nowrap; }
        /* 配重螺絲的顏色：那一顆重量後面一個下拉，每一色前面一個色塊（step424）。 */
        .scpick { position: relative; align-self: center; margin-left: 6px; }
        .scpick .cp-btn, .scpick .cp-list button { display: flex; align-items: center; gap: 8px; width: 100%;
                   box-sizing: border-box; padding: 7px 10px; font: inherit; font-size: 14px; text-align: left;
                   background: #fff; border: 0; cursor: pointer; color: inherit; white-space: nowrap; }
        .scpick .cp-btn { border: 1px solid var(--line, #d1d5db); border-radius: 10px; min-width: 132px; }
        .scpick .cp-btn:disabled { background: #f3f4f6; color: #9ca3af; cursor: default; }
        .scpick .cp-btn:disabled i { opacity: .45; }
        .scpick .cp-btn b { margin-left: auto; font-weight: 400; color: var(--muted, #6b7280); }
        .scpick i { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
                    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
        .scpick .cp-list { position: absolute; z-index: 40; left: 0; min-width: 100%; top: calc(100% + 4px);
                   background: #fff; border: 1px solid var(--line, #d1d5db); border-radius: 10px; padding: 4px 0;
                   box-shadow: 0 8px 22px rgba(0, 0, 0, .14); max-height: 320px; overflow-y: auto; }
        .scpick .cp-list button:hover, .scpick .cp-list button.on { background: #f0fdf4; }
        /* 目前的配置和價格（Edward 2026-09-27）。 */
        #livebox { margin-top: 16px; border: 1px solid var(--line, #d1d5db); border-radius: 14px;
                   padding: 12px 14px; background: var(--card, #fff); font-size: 14px; }
        #livebox .lb-h { font-weight: 700; margin: 0 0 8px; }
        /* 行距拉開（Edward 2026-10-03：這邊的排版再改善一下, 行距不夠）：每一行之間一條淡線。 */
        #livebox .lb-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
        #livebox .lb-sum li { padding: 7px 0; line-height: 1.55; border-bottom: 1px dashed #e5e7eb; }
        #livebox .lb-sum li:last-child { border-bottom: 0; }
        /* 右邊的字向左靠（Edward 2026-10-03）：標籤一欄，內容接在後面。
           標籤欄以前固定 4.5em、不折行——「底板配重包」「Hosel 顏色」「配重螺絲・第 1 顆」比它長，字就疊到右邊的內容上
           （Edward 2026-10-13：圈起來的部分，字會重疊）。改成：短的標籤照舊 4.5em（那幾行的內容還是對齊的），
           長的標籤把自己那一行的內容往右推，最寬 11em，再長才折行。 */
        #livebox .lb-sum li { display: grid; grid-template-columns: fit-content(11em) minmax(0, 1fr); gap: 10px; align-items: baseline; }
        #livebox .lb-sum span { color: var(--muted, #6b7280); min-width: 4.5em; }
        #livebox .lb-sum b { font-weight: 600; text-align: left; }
        /* 一組每一支的膠環顏色（Edward 2026-10-13）：一支一格——號數、那一色的小圖、名字。圖跟右邊色票同一張，
           36px 高看得出花紋又不會把這一行撐太高；一行放不下就折到下一行。 */
        #livebox .lb-sum .lb-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; }
        #livebox .lb-sum .lb-chip { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 2px 8px 2px 4px;
                                    border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #fff;
                                    color: inherit; font-weight: 600; white-space: nowrap; }
        #livebox .lb-sum .lb-chip img { width: 30px; height: 36px; object-fit: contain; border-radius: 4px; display: block; }
        #livebox .lb-sum .lb-chip .no { font-style: normal; font-weight: 500; color: var(--muted, #6b7280); margin-left: 2px; }
        #livebox .lb-sum .lb-chip .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
        #livebox .lb-sum li.lb-col { align-items: center; }
        #livebox .lb-note { margin: 10px 0 0; font-size: 13px; color: var(--muted, #6b7280); }
        #livebox .lb-fee { margin-top: 10px; }
        /* 費用拆兩塊的標題列（.fee-block-h）搬到 _combo_fees.html：組合頁也用同一張表（2026-10-04）。 */
        #livebox .lb-h { color: var(--accent, #0f766e); }
        /* 放在照片底下、整個左欄跟著捲（Edward 2026-09-27，第一版釘在照片左邊的頁邊：它跑到
           照片左方——他指的空白是左欄照片底下那一大片）。右欄選項很長，左欄只有一張照片，
           所以桌機上左欄黏在上面：照片和目前的配置一直看得到。
           比螢幕高的時候以前是在自己裡面捲（max-height + overflow）——iPad 不畫捲軸，選配明細看起來就是被切掉
           （Edward 2026-10-13：看圈起來的地方）。現在不限高、不自己捲：跟著頁面捲到它的底碰到畫面底才停，
           停在哪裡是 --lb-top（web/_lb_sticky.html 量了寫的；沒有 script 時就是 12px，卡片照樣整張看得到）。 */
        @media (min-width: 821px) {
            .two.jp > .box:first-child { position: sticky; top: var(--lb-top, 12px); }
        }
        /* 手機（820px 以下）：以前這張卡整張不畫，客人一路選到最底按「規格與價格確認」的時候沒有看過帳
           （Edward 2026-10-09：手機在規格與價格確認 button 按下前, 没看到這張計帳明細；todo #613）。
           現在畫，而且就在那顆鈕的正上方。**還是同一張卡**（左欄那個 #livebox，換選項時跟著整個 .two 一起更新）：
           手機上兩欄的框拆掉（display: contents），照片、選項、這張卡、按鈕變成同一排由上往下的東西，用 order 把
           這張卡排到按鈕前面；框的樣子（底色、邊、留白）改畫在外面那一層，所以看起來是一張卡，照片在最上面。
           821px 以上這一段不作用。 */
        @media (max-width: 820px) {
            .two.jp { display: flex; flex-direction: column; gap: 0; background: var(--card); border: 1px solid var(--line);
                      border-radius: var(--radius); padding: 16px 18px; }
            .two.jp > .box { display: contents; }
            /* 框拆掉之後，裡面每一塊直接是這一排的一格：不設這一條，名字長的下拉（Roddio 握把）會把那一格撐得比螢幕寬，整頁可以橫向捲（以前是 .two > .box { min-width: 0 } 在擋）。 */
            .two.jp > .box > * { min-width: 0; max-width: 100%; }
            .two.jp > .box:nth-child(2) > :first-child { margin-top: 20px; }
            .two.jp #livebox { order: 2; margin: 18px 0 6px; }
            .two.jp #buyform { order: 3; }
        }
        /* 手機上這張卡比 PC 左欄窄：費用表兩欄數字各 82px 的話，中間寫型號的那一格只剩十幾 px、字會被金額壓到，再窄（360）整頁還會多出一截可以橫向捲。
           數字欄收窄一點；中間那一格有字的（桿頭那一列的型號）排到欄名的下一行、跟金額同一列。 */
        @media (max-width: 820px) {
            .two.jp #livebox { min-width: 0; }
            .two.jp #livebox .fee-rows { column-gap: 8px; }
            .two.jp #livebox .fee-amt2 { gap: 6px; }
            .two.jp #livebox .fee-amt2 > span { min-width: 62px; padding: 2px 4px; }
            /* 欄名長的（「膠環：Watanabe NI-12」）在窄手機上折行，不要把整張卡撐寬（360 寬的 EPON 鐵桿頁多出 6px 可以橫向捲）。 */
            .two.jp #livebox .fee-label { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
            .two.jp #livebox .fee-for:not(:empty) { grid-column: 1 / 3; min-width: 0; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
        }
        @media (max-width: 389px) { .two.jp #livebox { padding: 12px 10px; } .two.jp #livebox .fee-rows { font-size: 13.5px; } }
        /* 不重整換頁那一下：換的時候淡一點，知道有在動。 */
        .two.soft-busy { cursor: progress; }
        /* 握把（內頁選，Edward 2026-09-27）。 */
        #gripsel .grow, #shaftsel .grow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
        /* 桿身的照片跟握把一樣寬（Edward 2026-10-03）：撐滿那一欄，高度照比例。 */
        #shaftsel .gpic { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; margin: 10px 0 0; object-fit: contain; }
        #shaftsel .gpic.strip { width: 100%; max-height: none; height: auto; }
        #shaftsel select { font: inherit; padding: 6px 8px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; max-width: 100%; }
        #gripsel select { font: inherit; padding: 6px 8px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; max-width: 100%; }
        #gripsel .gclear { font: inherit; font-size: 13px; background: none; border: 0; color: var(--muted, #6b7280); text-decoration: underline; cursor: pointer; }
        #gripsel .gcols { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
        .psw-same { margin-top: 8px; }
        .same-dot, #gripsel .gsame .sw { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: -3px;
                    margin-right: 6px; background: conic-gradient(#2a357c, #b22a34, #86b251, #674c93, #bf3364, #039fbb, #c98c29, #2a357c); }
        #gripsel .gsame { margin-top: 8px; }
        #gripsel .gcols button { font: inherit; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
                                 background: #fff; color: inherit; border: 1px solid var(--line, #d1d5db); border-radius: 999px; padding: 4px 10px; }
        #gripsel .gcols button.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
        #gripsel .gsame-list { margin: 10px 0 0; display: grid; gap: 4px; }
        #gripsel .gs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 4px 8px;
                           border-radius: 8px; font-size: 14px; }
        #gripsel .gs-row.miss { background: #fffbeb; box-shadow: inset 0 0 0 1px #fcd34d; }
        #gripsel .gs-no { min-width: 34px; font-weight: 600; }
        #gripsel .gs-suit { display: inline-flex; align-items: center; gap: 6px; min-width: 92px; color: var(--muted, #6b7280); }
        #gripsel .gs-suit .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px dashed #9ca3af; display: inline-block; }
        #gripsel .gs-suit .sw[style] { border: none; }
        #gripsel .gs-arrow { color: #9ca3af; }
        /* 一支一列挑握把顏色（todo #702，Edward 2026-10-13：這邊要圖文並存）：自己畫的下拉，
           每一項是那一色的照片（沒照片的用色塊）＋名字，選好之後鈕上顯示的也是圖＋名字。
           樣子照這一頁本來就有的那一種（.cpick／.cp-btn／.cp-list，配重螺絲和逐支的顏色在用）。 */
        #gripsel .gs-cp { position: relative; flex: 1 1 320px; min-width: 150px; max-width: 460px; }
        #gripsel .gs-cp .cp-btn, #gripsel .gs-cp .cp-list button {
            display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box;
            padding: 5px 8px; font: inherit; font-size: 14px; text-align: left; background: #fff;
            border: 0; cursor: pointer; color: inherit; min-height: 40px; }
        #gripsel .gs-cp .cp-btn { border: 1px solid var(--line, #d1d5db); border-radius: 8px; }
        #gripsel .gs-cp .cp-btn b { margin-left: auto; font-weight: 400; color: var(--muted, #6b7280); }
        #gripsel .gs-cp .gc-ask { color: var(--muted, #6b7280); }
        #gripsel .gs-cp .cp-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px);
            background: #fff; border: 1px solid var(--line, #d1d5db); border-radius: 10px; padding: 4px 0;
            box-shadow: 0 8px 22px rgba(0, 0, 0, .14); max-height: 320px; overflow-y: auto; }
        #gripsel .gs-cp .cp-list button:hover, #gripsel .gs-cp .cp-list button:focus,
        #gripsel .gs-cp .cp-list button.on { background: #f0fdf4; outline: none; }
        #gripsel .gs-cp .cp-list button.on { font-weight: 600; }
        /* 原廠沒貨的那一色（todo #677）：變淺、不能選，跟色塊那一排同一個樣子。 */
        #gripsel .gs-cp .cp-list button.out { opacity: .45; cursor: not-allowed; }
        #gripsel .gs-cp .cp-list button.out:hover { background: #fff; }
        /* Edward 2026-11-02: grip pics too small to read. Colour photos are full-grip strips (1000x112), so show the whole strip at its own ratio instead of a 34x24 crop. */
        #gripsel .gc-pic { height: 26px; width: auto; max-width: 230px; flex: 0 1 auto; min-width: 0; object-fit: contain; border-radius: 4px;
            border: 1px solid rgba(0, 0, 0, .12); background: #fff; }
        #gripsel .gc-sw { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px;
            border: 1px solid rgba(0, 0, 0, .15); }
        #gripsel .gc-sw.gc-non { background: repeating-linear-gradient(45deg, #fff, #fff 4px, #e5e7eb 4px, #e5e7eb 8px); }
        /* 輪到這一支（第一支還沒選的）：跟品牌／型號那兩格同一個提示。 */
        #gripsel .gs-cp .cp-btn.fld-next { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .35); }
        @media (max-width: 480px) {
            #gripsel .gs-cp { flex: 1 1 100%; max-width: none; }
            #gripsel .gs-cp .cp-btn, #gripsel .gs-cp .cp-list button { min-height: 44px; font-size: 15px; }
            #gripsel .gc-pic { max-width: 58%; height: auto; max-height: 26px; }
        }
        #gripsel .gs-miss { color: #92400e; font-size: 13px; }
        #gripsel .sw { width: 16px; height: 16px; border-radius: 50%; background-size: cover; background-position: center; border: 1px solid rgba(0,0,0,.15); }
        #gripsel .gpic { display: block; max-width: 100%; max-height: 160px; margin: 10px 0 0; object-fit: contain; }
        /* 與桿頭同色：白底、黑底兩塊，按桿頭顏色排握把小圖（2026-10-03）。選了它，色塊和大圖收起來——
           .gcols／.gpic 自己有 display，[hidden] 要壓過去。 */
        #gripsel [hidden] { display: none !important; }
        #gripsel .gbases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 10px 0 0; }
        #gripsel .gbase { font: inherit; text-align: left; cursor: pointer; display: grid; gap: 8px; align-content: start;
                          background: #fff; color: inherit; border: 1px solid var(--line, #d1d5db); border-radius: 12px; padding: 10px 12px; }
        #gripsel .gbase.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
        #gripsel .gbase[disabled] { opacity: .55; cursor: default; }
        /* 原廠沒貨的握把顏色（todo #677）：變淺、不能按，跟握把商品頁沒貨的那一列同一個樣子。 */
        #gripsel .gcols button.out { opacity: .45; cursor: not-allowed; border-style: dashed; background: #f6f7f9; }
        #gripsel .gcols button.out.on { opacity: .7; }
        #gripsel .g-out { font-size: 12px; color: #b3261e; margin-left: 2px; white-space: nowrap; }
        #gripsel .gb-h { font-weight: 700; font-size: 14.5px; }
        #gripsel .gb-it { display: grid; gap: 3px; }
        #gripsel .gb-it img { display: block; width: 100%; height: 30px; object-fit: cover; object-position: center; border-radius: 6px; }
        #gripsel .gb-sw { display: block; height: 30px; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); }
        #gripsel .gb-c { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted, #6b7280); }
        #gripsel .gb-c .sw { width: 12px; height: 12px; }
        #gripsel .gb-c em { font-style: normal; margin-left: 4px; }
        .pname { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; flex-wrap: wrap; }
        .pname input { font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 8px;
                       border: 1px solid var(--line, #d1d5db); width: 13em; }
        .setline { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }

        .shafts { list-style: none; margin: 0; padding: 0; }
        .shafts li { display: flex; align-items: baseline; gap: 10px;
                     padding: 10px 2px; border-bottom: 1px solid var(--line); }
        .shafts .nm { flex: 1 1 auto; font-size: 14.5px; }
        .shafts .yen { color: var(--muted); font-size: 13px; white-space: nowrap;
                       font-variant-numeric: tabular-nums; }
        .shafts .tw { font-size: 15px; font-weight: 700; color: #dc2626;
                      white-space: nowrap; font-variant-numeric: tabular-nums;
                      min-width: 9ch; text-align: right; }
        .tag { display: inline-block; font-size: 12px; font-weight: 700;
               border-radius: 999px; padding: 1px 8px; margin-left: 6px;
               color: #0b3d2e; background: #99f6e4; }
        .sub { font-size: 13.5px; color: var(--muted); margin: 16px 0 8px; }
        .ask { margin: 24px 0 0; font-size: 15px; color: var(--muted); }
        .cta { display: block; margin-top: 18px; text-align: center;
               background: var(--accent); color: #fff; text-decoration: none;
               font-size: 15px; font-weight: 700; padding: 12px 16px;
               border-radius: 999px; border: 1px solid var(--accent);
               font-family: inherit; cursor: pointer; }
        .cta:hover { filter: brightness(1.06); }
        .buyrow { display: flex; gap: 10px; flex-wrap: wrap; }
        .buyrow .cta { flex: 1 1 160px; }
        .cta.quiet { background: #fff; color: var(--accent); }
        .colrow.off { opacity: .4; pointer-events: none; }
        .models .add.off { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
        .js-loftlock.on { border-color: #b45309; background: #fffbeb; }
        .copylink-row { gap: 6px; align-items: flex-start; }
        .draft-pick { position: relative; }
        .draft-pick > summary { list-style: none; cursor: pointer; background: #fffbeb; border-color: #fcd34d; }
        .draft-pick > summary::-webkit-details-marker { display: none; }
        .draft-pick .draft-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 50; min-width: 240px;
                                  background: #fff; border: 1px solid #d1d5db; border-radius: 10px; padding: 6px;
                                  box-shadow: 0 10px 28px rgba(0,0,0,.16); }
        .draft-pick .draft-list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 8px;
                                    border-radius: 8px; text-decoration: none; color: inherit; font-size: 14px; }
        .draft-pick .draft-list a:hover { background: #f3f4f6; }
        .draft-pick .draft-list a span { color: #9ca3af; font-size: 12px; }
        .draft-pick .draft-list a.draft-all { justify-content: flex-end; color: var(--accent, #0f766e); font-size: 13px;
                                              border-top: 1px solid #e5e7eb; border-radius: 0; margin-top: 4px; }
        #pchk.pchk-row { align-items: flex-start; text-align: left; }
        .ws-more { margin: 8px 0 2px; }
        .ws-more > summary { cursor: pointer; display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent);
                             border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: #fff;
                             list-style: none; }
        .ws-more > summary::-webkit-details-marker { display: none; }
        .ws-more > summary::after { content: " ▾"; }
        .ws-more[open] > summary::after { content: " ▴"; }
        .ws-more > summary:hover { border-color: var(--accent); }
        .ws-more > .psw-opts { margin-top: 10px; }
        /* 「膠環選配」大按鈕（EPON 的膠環那一格，原廠那一顆的右邊）：上面一張圖、下面那四個字，按了打開底下那一片。
           用了大按鈕的那幾頁，原來那顆膠囊（summary）不畫。 */
        .ws-big { flex: 1 1 130px; min-width: 0; max-width: 300px; font: inherit; cursor: pointer; background: #fff;
                  border: 1px solid var(--line, #d1d5db); border-radius: 10px; padding: 4px 6px 5px; display: flex;
                  flex-direction: column; align-items: center; justify-content: center; gap: 3px;
                  font-size: 14.5px; font-weight: 700; color: var(--accent); }
        .ws-big img { width: 100%; height: 66px; object-fit: contain; display: block; }
        .ws-big picture { display: block; width: 100%; }
        /* 原廠那一排有兩張卡的（Miura、Roddio）：手機上按鈕只有一張卡那麼寬，圖換成一顆的（<picture> 換的），字小一號。 */
        @media (max-width: 520px) {
            .ws-big.ws-one { flex: 1 1 84px; font-size: 13px; padding: 4px 4px 5px; }
            .ws-big.ws-one img { height: 54px; }
        }
        .ws-big b { color: var(--text, #1d2433); }
        .ws-big:hover, .ws-big[aria-expanded="true"] { border-color: var(--accent); }
        .ws-big.on { box-shadow: inset 0 0 0 2px var(--accent); }
        .ws-more.ws-nosum { margin: 0; }
        .ws-more.ws-nosum > summary { display: none; }
        .ws-more.ws-nosum[open] { margin: 8px 0 2px; }
        .ws-more.ws-nosum > .psw-opts { margin-top: 0; }

        /* 桿頭、桿身、握把、膠環四組（Edward 2026-10-03）。沒有內容的那一組不畫框。 */
        /* 五組分得更清楚（Edward 2026-10-03：五個 group 的分別應該更明顯一些）：每一組一張卡，頂上一條標題列，
           組和組之間拉開。加購（.addon-box）同一個樣子。 */
        .cfg-grp, .addon-box { border: 1.5px solid #cbd5e1 !important; border-radius: 14px !important; padding: 0 16px 16px !important;
                               margin: 22px 0 0 !important; background: #fff !important; box-shadow: 0 2px 6px rgba(15, 23, 42, .06); }
        /* 不用 overflow: hidden 裁圓角（Edward 2026-10-04：color 的選項變少了——卡片把往下展開的顏色選單裁掉了）：
           標題列自己做上面兩個圓角。 */
        .cfg-gt, .addon-box > h2 { border-radius: 12.5px 12.5px 0 0; }
        .cfg-grp:not(:has(h2.cfg-gt)) { display: none; }
        .cfg-gt, .addon-box > h2 { margin: 0 -16px 14px !important; padding: 10px 16px !important; font-size: 16px !important;
                                   font-weight: 700; letter-spacing: .08em; color: #065f46 !important;
                                   background: #ecfdf5; border-bottom: 1px solid #a7f3d0; }
        .cfg-grp > h2:not(.cfg-gt):first-of-type { margin-top: 4px !important; }
        .cfg-grp > .cfg-gt + * h2:first-child, .cfg-grp > .cfg-gt + h2 { margin-top: 4px !important; }
        /* 每一格上面的欄位名稱（Edward 2026-10-03）。 */
        #gripsel .grow, #shaftsel .grow { align-items: flex-end; }
        .fld { display: inline-flex; flex-direction: column; gap: 3px; min-width: 0; }
        .fld-k { font-size: 13px; color: var(--muted, #6b7280); margin-bottom: 3px; }
        .fld .fld-k { margin-bottom: 0; }
        #gripsel:has(#gr-c:empty) .gc-k { display: none; }
        #shaftsel select.flexsel { font: inherit; padding: 6px 8px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; max-width: 100%; }
        /* 五組各一個顏色（Edward 2026-10-03：Group 試看用不同顏色）：標題列和框線。 */
        .cfg-grp[data-g="head"] { border-color: #86efac !important; }
        .cfg-grp[data-g="head"] .cfg-gt { background: #ecfdf5; color: #065f46 !important; border-bottom-color: #a7f3d0; }
        .cfg-grp[data-g="shaft"] { border-color: #93c5fd !important; }
        .cfg-grp[data-g="shaft"] .cfg-gt { background: #eff6ff; color: #1e40af !important; border-bottom-color: #bfdbfe; }
        .cfg-grp[data-g="grip"] { border-color: #fcd34d !important; }
        .cfg-grp[data-g="grip"] .cfg-gt { background: #fffbeb; color: #92400e !important; border-bottom-color: #fde68a; }
        .cfg-grp[data-g="socket"] { border-color: #c4b5fd !important; }
        .cfg-grp[data-g="socket"] .cfg-gt { background: #f5f3ff; color: #5b21b6 !important; border-bottom-color: #ddd6fe; }
        .addon-box { border-color: #fda4af !important; }
        .addon-box > h2 { background: #fff1f2 !important; color: #9f1239 !important; border-bottom-color: #fecdd3 !important; }
        /* 塗裝標題旁的「說明」（2026-10-04，連到 /finish/itobori）。 */
        /* 純文字連結，不做膠囊（Edward 2026-10-04：說明 -> 工序說明和圖樣, 不要用 pill, 感覺是一個選項）。 */
        /* 收進視窗的殼（todo #648 號數那幾列、todo #649 膠環）。平常那一塊的控制項藏著，頁面上只有一顆按鈕（和摘要）；
           按了，同一批控制項以視窗的樣子出現——手機是整頁。控制項本身沒搬，只是換了外面的殼。開著的狀態在 <html> 上：
           .pc-open＝#pcdlg（裡面是 #colrows），.sock-open＝#sockdlg（裡面是 #sockpick）。腳本在 _usjp_shell_script.html。 */
        .pc-open-row { margin: -2px 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
        .pc-btn { font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 7px 16px;
                  background: #fff; border: 1px solid var(--accent); color: var(--accent); }
        .pc-btn:hover { background: #f0fdfa; }
        .pcdlg .pc-h, .pcdlg .pc-f { display: none; }
        .pcdlg .pc-x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: #6b7280; padding: 0 4px; }
        .pcdlg .pc-f button { font: inherit; font-weight: 700; border-radius: 999px; padding: 9px 22px; cursor: pointer; }
        .pcdlg .pc-cancel { background: #fff; border: 1px solid var(--line, #d1d5db); color: inherit; }
        .pcdlg .pc-ok { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
        html.pc-open, html.sock-open { overflow: hidden; }
        html.pc-open #pcdlg.pc-on, html.sock-open #sockdlg.pc-on {
            position: fixed; z-index: 95; left: 50%; top: 50%; transform: translate(-50%, -50%);
            width: min(760px, calc(100vw - 24px)); max-height: min(88vh, 860px); background: #fff; border-radius: 14px;
            box-shadow: 0 0 0 100vmax rgba(15, 23, 42, .45), 0 24px 60px rgba(15, 23, 42, .3); display: flex; flex-direction: column; }
        html.pc-open #pcdlg.pc-on .pc-h, html.sock-open #sockdlg.pc-on .pc-h {
            display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line, #e5e7eb); }
        html.pc-open #pcdlg.pc-on .pc-h b, html.sock-open #sockdlg.pc-on .pc-h b { flex: 1; font-size: 17px; }
        /* 電腦上按住標題列可以拖著移動（_usjp_shell_script.html，Edward 2026-10-27）。 */
        @media (min-width: 760px) {
            html.pc-open #pcdlg.pc-on .pc-h, html.sock-open #sockdlg.pc-on .pc-h { cursor: move; user-select: none; touch-action: none; } }
        html.pc-open #pcdlg.pc-on .pc-f, html.sock-open #sockdlg.pc-on .pc-f {
            display: flex; justify-content: flex-end; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line, #e5e7eb); }
        @media (max-width: 640px) {
          html.pc-open #pcdlg.pc-on, html.sock-open #sockdlg.pc-on {
              left: 0; top: 0; transform: none; width: 100vw; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
          html.pc-open #pcdlg.pc-on .pc-f button, html.sock-open #sockdlg.pc-on .pc-f button { flex: 1; }
        }
        /* —— 號數那幾列（#pcdlg）：平常一列只有勾、號數和一行摘要。 */
        html:not(.pc-open) #pcdlg.pc-on .colrow > :not(.colno):not(.colsum) { display: none !important; }
        html:not(.pc-open) #pcdlg.pc-on .colrows { max-width: none; gap: 6px; }
        html:not(.pc-open) #pcdlg.pc-on .colrow { flex-wrap: nowrap; gap: 10px; }
        html:not(.pc-open) #pcdlg.pc-on .colrow .colno-deg { display: inline; }
        .colsum { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 0; min-width: 0; font-size: 14px; color: #4b5563; }
        .colsum span + span::before { content: "・"; color: #c0c4cc; }
        .colsum .colsum-pic { display: inline-flex; margin-right: 6px; }
        .colsum .colsum-pic::before { content: none !important; }
        .colsum .colsum-pic + span::before { content: none; }
        .colsum .colsum-pic svg { width: 22px; height: 22px; display: block; }
        .colsum .colsum-pic i { width: 16px; height: 16px; border-radius: 50%; display: block; border: 1px solid rgba(0, 0, 0, .15); }
        html.pc-open #pcdlg.pc-on .colsum { display: none; }
        html.pc-open #pcdlg.pc-on .colrows { flex: 1; min-height: 0; overflow-y: auto; max-width: none; padding: 14px 16px; gap: 10px; }
        @media (max-width: 640px) {
          /* 手機：一支一塊往下排，不橫向捲；塊裡的格子放不下就換行。 */
          html.pc-open #pcdlg.pc-on .colrow { flex-wrap: wrap; gap: 8px; row-gap: 8px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: 10px 12px; }
          html.pc-open #pcdlg.pc-on .colrow .colno { flex: 0 0 100%; width: auto; min-width: 0; font-size: 16px; }
          html.pc-open #pcdlg.pc-on .colrow .colno-deg, html.pc-open #pcdlg.pc-on .colrow .sfp-name { display: inline; }
          html.pc-open #pcdlg.pc-on .colrow .txc { padding-left: 0; }
          html.pc-open #pcdlg.pc-on .colrow .hpick[data-k="len"] { width: 84px; font-size: 14px; }
          html.pc-open #pcdlg.pc-on .colrow .hpick[data-k="sw"] { width: 72px; font-size: 14px; }
          html.pc-open #pcdlg.pc-on .colrow .hpick-glit { width: 100px; font-size: 14px; -webkit-appearance: auto; appearance: auto; }
        }
        /* —— 逐支調整改版（John 2026-11-09，mockup per-club-adjust）：有圖的型號左邊一張大圖、右邊每一支；顏色直接攤成色塊；
           長度多一組 − ＋。控制項還是原本那一批，只換樣子，寫進網址的都一樣。腳本在 _usjp_shell_script.html。 */
        .cav-strip { margin: 0 0 10px; }
        .cav-big, .cav-cap { display: none; }
        .cav-ths { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
        .cav-th { border: 1px solid transparent; background: none; border-radius: 10px; padding: 4px 2px 2px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; color: inherit; text-align: center; }
        .cav-th:hover { border-color: var(--line, #e5e7eb); background: #fafbfc; }
        .cav-th img { display: block; width: 100%; height: auto; }
        .cav-th.ghost { display: none; }
        /* 顏色面板 G+B（2026-11-30）：一張大圖＋一排臉＋配色（色票樣式 5：凹槽色點，右下角一顆 ♣♠ 的色）。逐支調整視窗裡不畫這一塊。 */
        html.pc-open #sfx { display: none; }
        html:not(.pc-open) .cav-strip:has(#sfx) .cav-ths { display: none; }
        .colrow .cavp .swp-btn.cavp-btn { width: auto; height: 34px; padding: 0 10px 0 7px; gap: 6px; border-color: transparent; background: none; font-size: 14px; color: #374151; white-space: nowrap; }
        .colrow .cavp .swp-btn.cavp-btn:not(.own) span { color: var(--muted, #9ca3af); }
        .colrow .cavp .swp-btn.cavp-btn:hover:not(:disabled) { background: #f3f4f6; }
        .colrow .cavp .swp-btn.cavp-btn .sw { width: 16px; height: 16px; }
        .colrow .cavp .swp-btn.cavp-btn { min-width: 116px; justify-content: flex-start; }
        .colrow .cavp .swp-btn.cavp-btn span { overflow: hidden; text-overflow: ellipsis; }
        .colrow .cavp .swp-list { grid-template-columns: repeat(7, 30px); }
        .colrow .cavp .swp-list .cavp-same { grid-column: 1 / -1; width: auto; height: 28px; font: inherit; font-size: 13px; font-weight: 600;
                                             color: var(--accent); justify-content: flex-start; padding: 0 6px; }
        .pset { display: inline-flex; flex-wrap: wrap; }
        .pset-sw { width: 31px; height: 36px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
        .pset-sw i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
        .pset-sw.on i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
        .pset-sw:disabled { opacity: .45; cursor: default; }
        .pset-st { font-size: 13.5px; color: #374151; margin-right: auto; }
        .pset-note { margin: -2px 0 12px; padding: 7px 10px; font-size: 13px; line-height: 1.55; color: #7c4a03;
                     background: #fff8e6; border: 1px solid #f3d58b; border-radius: 8px; }
        .lenline, .wlabel, .pc-all { display: none; }
        .lstep { display: inline-flex; align-items: center; gap: 2px; }
        .sw-more { display: none; }
        html.pc-open body::before, html.sock-open body::before { content: ""; position: fixed; inset: 0; z-index: 94; }
        html.pc-anim #pcdlg.pc-on { animation: pcIn .22s cubic-bezier(.2, .85, .25, 1); }
        @keyframes pcIn { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
        @media (prefers-reduced-motion: reduce) { html.pc-anim #pcdlg.pc-on { animation: pcFade .15s ease; } }
        @keyframes pcFade { from { opacity: 0; } to { opacity: 1; } }
        #pcdlg:focus { outline: none; }
        html.pc-open #pcdlg.pc-on .pc-x { width: 44px; height: 44px; margin: -8px -8px -8px 0; border-radius: 10px; }
        html.pc-open #pcdlg.pc-on:has(.cpick), html.pc-open #pcdlg.pc-on:has(.cav-strip) { width: min(960px, calc(100vw - 24px)); }
        /* 日文的「推定 D3」比「估 D3」寬，多給一點，那一行才不會折下去。 */
        html.pc-open #pcdlg.pc-on:lang(ja):has(.cpick) { width: min(990px, calc(100vw - 24px)); }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) { display: grid; grid-template-columns: 310px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; }
        /* Roddio MC 每一列多一個桿頭選單：左邊的圖讓一點寬度給它，一支還是一行。 */
        html.pc-open #pcdlg.pc-on:has(.cav-strip):has(.hpick[data-k="head"]) { grid-template-columns: 244px minmax(0, 1fr); }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .colrow:has(.cpick):has(.hpick[data-k="head"]) .colno { width: 54px; gap: 6px; }
        html.pc-open #pcdlg.pc-on .colrow .colno input { flex: none; }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .colrow:has(.cpick) .hpick[data-k="head"] { width: 104px; }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-h, html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-f { grid-column: 1 / -1; }
        html.pc-open #pcdlg.pc-on .cav-strip { grid-column: 1; grid-row: 2; margin: 0; padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-all { grid-column: 1; grid-row: 3; }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .colrows { grid-column: 2; grid-row: 2 / 4; border-left: 1px solid var(--line, #e5e7eb); }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-f { grid-row: 4; }
        html.pc-open #pcdlg.pc-on .cav-big { display: block; position: relative; flex: none; height: min(300px, 36vh); }
        html.pc-open #pcdlg.pc-on .cav-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .14s ease; }
        html.pc-open #pcdlg.pc-on .cav-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-height: 24px; }
        html.pc-open #pcdlg.pc-on .cav-cap b { font-size: 16px; }
        html.pc-open #pcdlg.pc-on .cav-cap span { font-size: 14px; color: #4b5563; }
        html.pc-open #pcdlg.pc-on .cav-ths { grid-template-columns: repeat(5, 1fr); gap: 4px; }
        html.pc-open #pcdlg.pc-on .cav-th { font-size: 11px; line-height: 1.3; padding: 2px 1px 0; border-radius: 8px; }
        html.pc-open #pcdlg.pc-on .cav-th.ghost { display: block; color: #6b7280; font-weight: 500; }
        html.pc-open #pcdlg.pc-on .cav-th.ghost img { opacity: .28; filter: grayscale(1); }
        html.pc-open #pcdlg.pc-on .cav-th.act { border-color: var(--accent); background: #ecfdf8; }
        html.pc-open #pcdlg.pc-on .pc-all { display: block; font: inherit; font-weight: 600; min-height: 42px; padding: 6px 10px; margin: 10px 16px 0; color: var(--accent); background: #fff; border: 1px solid var(--accent); border-radius: 10px; cursor: pointer; }
        html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-all { margin: 0 16px 12px; }
        html.pc-open #pcdlg.pc-on .pc-all:hover:not(:disabled) { background: #ecfdf8; }
        html.pc-open #pcdlg.pc-on .pc-all:disabled { color: #4b5563; border-color: var(--line, #e5e7eb); background: none; cursor: default; font-weight: 500; }
        html.pc-open #pcdlg.pc-on .pc-all[hidden] { display: none; }
        .pc-msg { display: none; }
        html.pc-open #pcdlg.pc-on .pc-f { align-items: center; }
        html.pc-open #pcdlg.pc-on .pc-msg { display: block; flex: 1; min-width: 0; font-size: 14px; color: #374151; }
        html.pc-open #pcdlg.pc-on .pc-undo { border: 0; background: none; padding: 6px; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; cursor: pointer; }
        html.pc-open #pcdlg.pc-on .colrows { padding: 8px 8px; gap: 2px; }
        html.pc-open #pcdlg.pc-on .lenline { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 0 8px 4px; margin-bottom: 4px; font-size: 13.5px; color: #374151; border-bottom: 1px solid var(--line, #e5e7eb); }
        html.pc-open #pcdlg.pc-on .lenline[hidden] { display: none; }
        html.pc-open #pcdlg.pc-on .lreset { flex: none; border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; }
        html.pc-open #pcdlg.pc-on .wlabel { display: block; font-size: 13.5px; font-weight: 600; color: #4b5563; padding: 10px 8px 3px; margin-top: 6px; border-top: 1px solid var(--line, #e5e7eb); }
        html.pc-open #pcdlg.pc-on .colrow { flex: none; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 46px; padding: 2px 4px 2px 8px; border-radius: 10px; }
        html.pc-open #pcdlg.pc-on .colrow.act { background: #ecfdf8; }
        html.pc-open #pcdlg.pc-on .colrow:not(.on) > :not(.colno) { display: none !important; }
        html.pc-open #pcdlg.pc-on .colrow:not(.on)::after { content: attr(data-unsel); font-size: 13.5px; color: #6b7280; }
        html.pc-open #pcdlg.pc-on .colrow:not(.on) .colno { color: #4b5563; }
        html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .colno { flex: none; width: 90px; min-width: 0; white-space: nowrap; gap: 8px; }
        html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .cpick { flex: none; min-width: 0; position: static; order: 1; }
        html.pc-open #pcdlg.pc-on .colrow .cp-btn { display: none; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list { display: flex !important; position: static; padding: 0; border: 0; background: none; box-shadow: none; max-height: none; overflow: visible; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button { width: 28px; height: 36px; padding: 0; justify-content: center; background: none; border-radius: 8px; transition: transform .1s ease-out; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button:active { transform: scale(.9); }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button span { display: none; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button i { width: 23px; height: 23px; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button.on i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
        /* 標準那一格（R 標：鍍鉻鋼銀、DLC 霧黑）標一顆 ★，跟視窗上面「★ 標準」同一個記號（John 2026-11-11：how do i select standard again）。 */
        html.pc-open #pcdlg.pc-on .colrow .cp-list button[data-v=""], .pset-sw[data-v=""] { position: relative; }
        html.pc-open #pcdlg.pc-on .colrow .cp-list button[data-v=""]::after, .pset-sw[data-v=""]::after {
            content: "★"; position: absolute; top: -3px; right: -4px; font-size: 12px; line-height: 1; color: #b7791f;
            text-shadow: 0 0 2px #fff, 0 0 2px #fff; pointer-events: none; z-index: 1; }
        html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .lstep { order: 2; margin-left: auto; }
        html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .swest { order: 3; }
        html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .sw-more { order: 4; }
        html.pc-open #pcdlg.pc-on .lstep button { width: 28px; height: 36px; flex: none; border: 0; background: none; padding: 0; border-radius: 8px; font-size: 18px; line-height: 1; color: #374151; cursor: pointer; }
        html.pc-open #pcdlg.pc-on .lstep button:hover:not(:disabled) { background: rgba(0, 0, 0, .07); }
        html.pc-open #pcdlg.pc-on .lstep button:active:not(:disabled) { transform: scale(.9); }
        html.pc-open #pcdlg.pc-on .lstep button:disabled { opacity: .3; cursor: default; }
        html.pc-open #pcdlg.pc-on .colrow .hpick[data-k="len"] { width: 92px; }
        html.pc-open #pcdlg.pc-on .colrow .hpick.bump { animation: lenBump .7s ease-out; }
        @keyframes lenBump { from { background: #99f6e4; } to { background: #fff; } }
        html.pc-open #pcdlg.pc-on .sw-more { display: inline-grid; place-items: center; width: 24px; height: 36px; border: 0; background: none; padding: 0; border-radius: 8px; color: #4b5563; cursor: pointer; }
        html.pc-open #pcdlg.pc-on .sw-more:hover { background: rgba(0, 0, 0, .06); }
        html.pc-open #pcdlg.pc-on .sw-more svg { transition: transform .16s ease; }
        html.pc-open #pcdlg.pc-on .sw-more[aria-expanded="true"] svg { transform: rotate(180deg); }
        html.pc-open #pcdlg.pc-on .colrow:has(.sw-more) .hpick-free { display: none; }
        html.pc-open #pcdlg.pc-on .colrow.sw-open .hpick-free { display: block; order: 9; margin: 0 0 8px 26px; }
        html.pc-open #pcdlg.pc-on .colrow.sw-open::after { content: ""; flex-basis: 100%; order: 8; }
        @media (max-width: 640px) {
          html.pc-open #pcdlg.pc-on:has(.cav-strip), html.pc-open #pcdlg.pc-on:has(.cpick), html.pc-open #pcdlg.pc-on:lang(ja):has(.cpick) { width: 100vw; }
          html.pc-open #pcdlg.pc-on:has(.cav-strip) { display: flex; }
          html.pc-open #pcdlg.pc-on .cav-strip { display: grid; flex: none; grid-template-columns: 138px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 10px; padding: 8px 12px 4px; overflow: visible; }
          html.pc-open #pcdlg.pc-on .cav-big { grid-row: 1 / 3; height: 158px; }
          html.pc-open #pcdlg.pc-on .cav-cap { align-self: end; min-height: 0; }
          html.pc-open #pcdlg.pc-on .cav-cap b { font-size: 15px; }
          html.pc-open #pcdlg.pc-on .cav-cap span { font-size: 13px; }
          html.pc-open #pcdlg.pc-on .cav-ths { align-self: start; gap: 2px; }
          html.pc-open #pcdlg.pc-on .cav-th { font-size: 10px; }
          html.pc-open #pcdlg.pc-on .cavset { grid-column: 1 / -1; margin: 2px 0 4px; }
          /* 方案 B 的列：每一支一行（號數、顏色、吋數、估值），正在改的那一支也一樣高——點一下先把它變成正在改的那一支，
             它要是變高、上一支變矮，手指底下的鈕就跑掉了，第一下點不開。吋數直接點下拉，不放 − ＋。 */
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) { flex-wrap: nowrap; border: 0; padding: 2px 2px 2px 8px; gap: 4px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .colno { flex: none; width: 96px; font-size: 15px; white-space: nowrap; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp):not(.on)::after { margin-left: 6px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .cavp { flex: 1 1 auto; min-width: 0; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .cavp-btn { min-width: 0; max-width: 100%; padding: 0 4px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .lstep { margin-left: auto; flex: none; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .lstep button { display: none; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .hpick[data-k="len"] { width: 84px; padding: 4px 0 4px 6px; font-size: 14px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cavp) .swest { flex: none; font-size: 12.5px; }
          html.pc-open #pcdlg.pc-on:has(.cav-strip) .pc-all { margin: 2px 12px 8px; flex: none; }
          html.pc-open #pcdlg.pc-on:has(.cav-strip) .colrows { border-left: 0; border-top: 1px solid var(--line, #e5e7eb); }
          html.pc-open #pcdlg.pc-on .pc-f { flex-wrap: wrap; }
          html.pc-open #pcdlg.pc-on .pc-msg { flex: 1 0 100%; }
          /* 有色塊的那幾列：只有正在改的那一支攤開；其他一行（一點色、名字、吋數、估值），點了就換它。 */
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick) { flex-wrap: wrap; border: 0; padding: 2px 4px 2px 8px; gap: 2px 6px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .colno { flex: none; width: 88px; font-size: 15px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick) .colno .colno-deg { display: inline; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .cp-list { display: none !important; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .cp-btn { display: flex; width: auto; padding: 0; border: 0; background: none; font-size: 14px; gap: 7px; pointer-events: none; color: #374151; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .cp-btn b { display: none; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .cp-btn i { width: 14px; height: 14px; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .lstep button { display: none; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .hpick[data-k="len"] { width: auto; min-width: 0; border: 0; background: none; padding: 0; font-size: 13.5px; pointer-events: none; -webkit-appearance: none; appearance: none; color: #374151; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick):not(.act) .sw-more { pointer-events: none; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick).act .cpick { order: 5; flex: 1 0 100%; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick).act .cp-list { justify-content: space-between; }
          html.pc-open #pcdlg.pc-on .colrow:has(.cpick).act .cp-list button { width: 32px; height: 44px; }
          html.pc-open #pcdlg.pc-on .lstep button { width: 38px; height: 44px; }
        }
        /* —— 膠環（#sockdlg）：平常只有那一顆按鈕（現在選的那一顆：小圖、名字、加價）；那一片小卡只在視窗裡。 */
        html:not(.sock-open) #sockdlg.pc-on #sockpick { display: none; }
        .sock-btn { font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: 12px; padding: 6px 14px 6px 8px;
                    background: #fff; border: 1px solid var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: inherit;
                    display: inline-flex; align-items: center; gap: 10px; max-width: 100%; text-align: left; }
        .sock-btn:hover { background: #f0fdfa; }
        /* 跟右邊「膠環選配」那一顆的圖同高（66px），兩顆排在一起一樣大（Edward 2026-10-10：圖的大小不對）。 */
        .sock-btn .sock-btn-pic img { width: 88px; height: 66px; object-fit: contain; display: block; }
        .sock-btn .sock-btn-pic .psw-dot { width: 26px; height: 26px; border-radius: 50%; display: block; margin: 0 4px; }
        .sock-btn .sock-btn-t { min-width: 0; padding-left: 6px; }
        .sock-btn .sock-btn-pic + .sock-btn-t { padding-left: 0; }
        .sock-btn .fin-btn-go { color: var(--accent); }
        html.sock-open #sockdlg.pc-on #sockpick { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 16px 18px; }
        /* 頁面上那一格是兩顆（todo #662）：左邊現在選的那一顆（顯示，不長得像下拉），右邊「膠環選配」大按鈕。 */
        .sock-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: -2px 0 10px; }
        .sock-row .sock-btn { border: 1px solid var(--line, #d1d5db); box-shadow: none; flex: 0 1 auto; }
        .sock-row .sock-btn:hover { background: #fff; border-color: var(--accent); }
        .sock-row .sock-open { flex: 0 1 260px; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-weight: 700; }
        .sock-row .sock-open:hover { background: #f0fdfa; }
        /* 原廠膠環自己一顆入口（todo #663）：原廠那幾款各一顆的圖。 */
        .sock-row .sock-own { flex: 0 1 200px; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-weight: 700; }
        .sock-row .sock-own:hover { background: #f0fdfa; }
        .sock-row .sock-own .sock-own-pics { display: flex; justify-content: center; gap: 6px; }
        .sock-row .sock-own .sock-own-pics img { width: auto; max-width: 48%; height: 66px; object-fit: contain; }
        /* Edward 2026-10-11，看著 EPON 那一格：「這個畫面感覺選的是右邊的那三個／選到的反而圖片小, 不合常理, 選到的可以把文案,
           做成三行／膠環選配, 可以做成文字 overlay 在 button 上, 讓人一看, 就知那是個 button」。
           選著的那一顆：綠框、淡綠底、圖最大、字三行（款式／加價／顏色）。入口那幾顆：不再是綠框（綠框是「選著」的樣子），
           字疊在圖的下緣一條深色底上，後面帶 ›。沒有圖的入口照舊（:has 擋著）。 */
        /* 同一天再改（Edward：這邊框線只要框住圖, 文字放右邊／這邊圖可以和下方的選配圖一樣大）：綠框只框圖那一塊，
           那一塊跟底下「膠環選配」那一顆同寬同高（260×96）；字在框外的右邊，不再有底色。整列佔一排。 */
        .sock-row .sock-btn { flex: 1 1 100%; border: 0; background: none; box-shadow: none; padding: 0; gap: 14px; }
        .sock-row .sock-btn:hover { background: none; }
        .sock-row .sock-btn .sock-btn-pic { flex: 0 1 260px; min-width: 0; height: 100px; box-sizing: border-box; border: 2px solid var(--accent);
            border-radius: 10px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
        .sock-row .sock-btn:hover .sock-btn-pic { box-shadow: 0 2px 9px rgba(15, 23, 42, .22); }
        /* 單顆的照片上下留白多：放大到 122px 高、上下各裁掉一點，膠環本身才跟底下選配那張圖裡的三顆差不多大。 */
        .sock-row .sock-btn .sock-btn-pic img { width: auto; height: 122px; max-width: none; flex: none; background: #fff; border-radius: 0; }
        .sock-row .sock-btn .sock-btn-pic .psw-dot { width: 56px; height: 56px; margin: 0; }
        .sock-row .sock-btn .sock-btn-t { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
        .sock-row .sock-btn .sock-btn-t b { font-size: 16px; }
        .sock-row .sock-btn .sock-btn-t span { font-size: 14.5px; font-weight: 500; color: #374151; }
        .sock-row .sock-open:has(img), .sock-row .sock-own:has(img) { position: relative; padding: 0; overflow: hidden; background: #fff;
            border: 1px solid var(--line, #d1d5db); box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
        .sock-row .sock-open:has(img):hover, .sock-row .sock-own:has(img):hover { background: #fff; border-color: var(--accent); box-shadow: 0 2px 9px rgba(15, 23, 42, .28); }
        .sock-row .sock-open:has(img) img, .sock-row .sock-own:has(img) .sock-own-pics img { height: 96px; }
        .sock-row .sock-own:has(img) .sock-own-pics { width: 100%; }
        .sock-row .sock-open:has(img) > span:last-child, .sock-row .sock-own:has(img) > span:last-child { position: absolute; left: 0; right: 0; bottom: 0;
            padding: 5px 8px; background: rgba(15, 23, 42, .68); color: #fff; font-weight: 700; font-size: 14.5px; text-align: center; }
        .sock-row .sock-open:has(img) > span:last-child::after, .sock-row .sock-own:has(img) > span:last-child::after { content: " ›"; }
        /* 原廠那一頁（.sk-own）：最上面幾顆方格換款式，下面一顆「與桿頭同色」跟它們一樣寬，再來才是色票。 */
        html.sock-open.sk-hasown:not(.sk-p2) #sockdlg.pc-on .psw-row[data-kind="choice"] > .psw-opts { display: none; }
        html.sock-open.sk-own #sockdlg.pc-on .psw-same, html.sock-open.sk-own #sockdlg.pc-on .psw-row[data-kind="choice"] { display: none; }
        html.sock-open.sk-own.sk-own-none #sockdlg.pc-on .psw-row[data-kind="colour"] { display: none; }
        #sockdlg .sk-sqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
        #sockdlg .sk-sq { font: inherit; cursor: pointer; background: #fff; border: 1px solid var(--line, #d1d5db); border-radius: 12px; padding: 10px 8px;
            display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; color: inherit; }
        #sockdlg .sk-sq img { width: 100%; height: 84px; object-fit: contain; display: block; }
        #sockdlg .sk-sq b { font-size: 15px; text-align: center; }
        #sockdlg .sk-sq span { font-size: 13.5px; color: var(--accent); font-weight: 700; }
        #sockdlg .sk-sq.on, #sockdlg .sk-same.on { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
        #sockdlg .sk-same { display: block; width: 100%; margin-top: 10px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: #fff;
            border: 1px solid var(--line, #d1d5db); border-radius: 12px; padding: 11px 12px; color: inherit; }
        #sockdlg .sk-big img.sk-half { width: 46%; height: auto; max-height: 100%; }
        #sockdlg .sk-big .sk-clubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; align-content: center; }
        #sockdlg .sk-big .sk-club { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border-radius: 10px; padding: 6px 4px; }
        #sockdlg .sk-big .sk-club img { width: 100%; height: 74px; object-fit: contain; }
        #sockdlg .sk-big .sk-club .psw-dot { width: 46px; height: 46px; margin: 14px 0; }
        #sockdlg .sk-big .sk-club em { font-style: normal; font-weight: 700; font-size: 14px; }
        @media (max-width: 640px) {
          .sock-row .sock-own { flex: 1 1 120px; }
          #sockdlg .sk-big .sk-clubs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
          #sockdlg .sk-big .sk-club img { height: 52px; }
          #sockdlg .sk-sq img { height: 64px; }
        }
        /* 視窗分兩頁：.sk-p2 在 <html> 上＝第二頁（左大圖、右這一款的顏色小圖）；沒有＝第一頁（款式那一片）。 */
        html:not(.sock-open) #sockdlg.pc-on .sk-big, html:not(.sock-open) #sockdlg.pc-on .sk-info { display: none; }
        html.sock-open #sockdlg.pc-on .sk-body, html.sock-open #sockdlg.pc-on .sk-right { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; }
        html.sock-open:not(.sk-p2) #sockdlg.pc-on .sk-big, html.sock-open:not(.sk-p2) #sockdlg.pc-on .sk-info { display: none; }
        html.sock-open:not(.sk-p2) #sockdlg.pc-on .psw-row[data-kind="colour"] { display: none; }
        html.sock-open.sk-p2 #sockdlg.pc-on .psw-row[data-kind="choice"] { display: none; }
        html.sock-open.sk-p2 #sockdlg.pc-on .sk-body { flex-direction: row; }
        html.sock-open.sk-p2 #sockdlg.pc-on .sk-big { flex: 0 0 46%; min-width: 0; display: flex; align-items: center; justify-content: center;
            padding: 18px; background: #f6f7f9; border-right: 1px solid var(--line, #e5e7eb); }
        #sockdlg .sk-big img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; display: block; }
        #sockdlg .sk-big .psw-dot { width: 140px; height: 140px; border-radius: 50%; display: block; border: 1px solid rgba(0, 0, 0, .15); }
        #sockdlg .sk-big .sk-noimg { font-size: 18px; font-weight: 700; color: #6b7280; }
        #sockdlg .sk-info { padding: 14px 16px 4px; }
        #sockdlg .sk-name b { font-size: 18px; }
        #sockdlg .sk-add { margin-left: 10px; color: var(--accent); font-weight: 700; }
        #sockdlg .sk-col { margin-top: 2px; color: #4b5563; font-size: 15px; }
        #sockdlg .sk-back { margin-top: 10px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 6px 14px;
            background: #fff; border: 1px solid var(--accent); color: var(--accent); }
        #sockdlg .sk-solo { margin-top: 14px; }
        #sockdlg .sk-solo .psw { cursor: default; display: inline-flex; flex-direction: column; align-items: center; }
        @media (max-width: 640px) {
          html.sock-open.sk-p2 #sockdlg.pc-on .sk-body { flex-direction: column; }
          html.sock-open.sk-p2 #sockdlg.pc-on .sk-big { flex: none; height: 32vh; border-right: 0; border-bottom: 1px solid var(--line, #e5e7eb); padding: 12px; }
          .sock-row .sock-open { flex: 1 1 120px; }
        }
        /* 視窗裡小卡放大——圖看得清楚才好選。原本那顆「膠環選配」大按鈕在這裡用不到（那一片已經攤開了）。 */
        html.sock-open #sockdlg.pc-on .ws-big, html.sock-open #sockdlg.pc-on .ws-more > summary { display: none; }
        html.sock-open #sockdlg.pc-on .psw-opts { gap: 10px; }
        html.sock-open #sockdlg.pc-on .psw { font-size: 13.5px; padding: 6px; width: 134px; box-sizing: border-box; }
        html.sock-open #sockdlg.pc-on .psw.psw-txt { width: auto; }
        html.sock-open #sockdlg.pc-on .psw img, html.sock-open #sockdlg.pc-on .psw:not(.psw-txt) .psw-std { width: 100%; height: 90px; }
        @media (max-width: 640px) {
          html.sock-open #sockdlg.pc-on .psw-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
          html.sock-open #sockdlg.pc-on .psw { width: auto; min-width: 0; }
          html.sock-open #sockdlg.pc-on .psw img, html.sock-open #sockdlg.pc-on .psw:not(.psw-txt) .psw-std { width: 100%; height: 76px; }
        }
        /* 塗裝：一顆按鈕，點了開視窗——一邊清單、一邊那一種的說明和照片（todo #647）。 */
        .fin-btn { font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 7px 14px 7px 16px;
                   background: var(--accent); border: 1px solid var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 8px; }
        .fin-btn-go { font-size: 12px; opacity: .85; }
        /* 2026-10-11 拆成兩顆：左邊是選著的那一種（綠框淡綠底，跟膠環那一格選著的那顆同一個樣子），右邊才是按鈕。 */
        .fin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
        .fin-row .fin-cur { border: 2px solid var(--accent); background: #f0fdfa; border-radius: 12px; padding: 7px 14px;
                            font-size: 15px; font-weight: 700; }
        .fin-row .fin-btn .fin-btn-go { font-size: 16px; opacity: 1; line-height: 1; }
        .finpick { position: fixed; inset: 0; z-index: 90; background: rgba(15, 23, 42, .45); display: flex; align-items: center;
                   justify-content: center; padding: 16px; }
        .finpick[hidden] { display: none; }
        html.fp-open { overflow: hidden; }
        .fp-box { background: #fff; border-radius: 14px; width: min(940px, 100%); max-height: min(86vh, 760px); display: flex;
                  flex-direction: column; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); overflow: hidden; }
        .fp-h { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line, #e5e7eb); }
        .fp-h b { flex: 1; font-size: 17px; }
        .fp-x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: #6b7280; padding: 0 4px; }
        .fp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
        .fp-list { overflow-y: auto; border-right: 1px solid var(--line, #e5e7eb); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
        .fp-it { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; color: inherit;
                 text-decoration: none; border: 1px solid transparent; }
        .fp-it:hover { background: #f3f4f6; }
        .fp-it.on { background: var(--accent); color: #fff; }
        /* 塗裝的原文名，跟中文並列在同一格（放不下就折到下一行）。 */
        .fp-it .fp-en { margin-left: 8px; font-size: 13px; font-weight: 500; color: #6b7280; white-space: nowrap; }
        .fp-it.on .fp-en { color: rgba(255, 255, 255, .85); }
        .fp-detail { overflow-y: auto; padding: 14px 18px 18px; }
        .fp-sec h3 { margin: 0; font-size: 20px; }
        .fp-names { margin: 2px 0 10px; color: #6b7280; font-size: 14px; }
        .fp-names span + span::before { content: "／"; margin: 0 6px; color: #c0c4cc; }
        .fp-txt { margin: 0 0 12px; font-size: 15px; line-height: 1.7; white-space: pre-line; }
        .fp-none { margin: 10px 0; color: #6b7280; font-size: 15px; }
        .fp-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
        .fp-pics a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line, #e5e7eb); background: #111; }
        .fp-pics img { display: block; width: 100%; height: 160px; object-fit: cover; }
        .fp-f { padding: 10px 16px; border-top: 1px solid var(--line, #e5e7eb); display: flex; justify-content: flex-end; }
        .fp-ok { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 9px 22px; cursor: pointer;
                 background: var(--accent); color: #fff; }
        @media (max-width: 640px) {
          .finpick { padding: 0; align-items: flex-end; }
          .fp-box { width: 100%; max-height: 92vh; border-radius: 14px 14px 0 0; }
          .fp-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
          .fp-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--line, #e5e7eb);
                     padding: 8px 10px; gap: 6px; }
          .fp-it { white-space: nowrap; border: 1px solid var(--line, #e5e7eb); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; }
          .fp-pics { grid-template-columns: 1fr 1fr; gap: 6px; }
          .fp-pics img { height: 120px; }
          .fp-f .fp-ok { width: 100%; }
        }
        .fin-help { font-size: 14px; font-weight: 400; margin-left: 12px; color: var(--accent);
                    text-decoration: underline; text-underline-offset: 3px; }
        .fin-help:hover { text-decoration-thickness: 2px; }

/* 名字欄的提示字（「最多 6 個字，只能大寫」）不跟著輸入的字轉大寫 */
#pn::placeholder { text-transform: none; }
        /* Roddio Fairwaywood: the club's sole, face and crown under the configuration (services/roddio_fw_art) */
        #livebox .fw-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 4px; }
        #livebox .fw-art figure { margin: 0; text-align: center; }
        #livebox .fw-art img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: contain; }
        #livebox .fw-art figcaption { font-size: 11px; color: #8a8f98; margin-top: 2px; }

        /* SF CB LADIES (audit 2, John 2026-11-30) */
        /* 號數的清單排在大圖上面，緊接著「號數」標題（只在頁面上；逐支調整 視窗打開時照原樣） */
        html:not(.pc-open) #pcdlg.pc-on:has(#sfx) { display: flex; flex-direction: column; }
        html:not(.pc-open) #pcdlg.pc-on:has(#sfx) > #colrows { order: -1; margin-bottom: 14px; }
        /* 清單裡留色點、拿掉顏色名（名字在大圖說明和臉上已經有） */
        #pcdlg:has(#sfx) .colsum .colsum-pic + span { display: none; }
        #pcdlg:has(#sfx) .colsum .colsum-pic + span + span::before { content: none; }
