/* 天下大勢：商城（萬寶閣；功能包 tianxia/features/mall/，開發規範手冊 3.7 第 1 階從 style.css 切出來，規則一個字不改；只有電腦寬那一欄的底色多寫一次，見那一段）。
   index.html 排在 style.css 後面；原本在 style.css 裡的先後照舊（購買確認、管理者區、那一層、電腦寬 ×1.3、購買確認的電腦寬、易名帖、月卡小卡）。
   狀態列的錠子鈕（.mall-btn）、第六格（.tab-mall）、電腦寬店面的底色（跟別的店同一條）是殼的狀態列、分頁與店面的框，留在 style.css。
   顏色照 style.css 的變數；那一層的顏色寫死（同三間店：店面不分深淺色）。電腦寬的字級規矩同店面（tests/core/test_desktop_type.py 照 style.css 那一段）。 */

/* 商城的購買確認（商城第二批，草圖子的「點了十顆」）：同一個小抽屜（紙底，跟著深淺色），多一張花多少、元寶剩多少、丹或月卡變成多少的小表 */
.mall-ask h4 { margin: 0 0 8px; font: 700 17px var(--serif); }
/* 購買確認的數量（Joy 2026-10-22 一次買好幾件）：− 數字 ＋ 最多，一排 */
.mall-qty { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.mall-qty .btn { min-width: 44px; min-height: 40px; padding: 0 10px; font-size: 18px; }
.mall-qty .btn.ghost { margin-left: auto; font-size: 14px; }
.mall-qty b { min-width: 2ch; text-align: center; font-size: 20px; }
.mall-qty span { color: var(--ink-2); font-size: 14px; }
.mall-sum { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.mall-sum dt { color: var(--ink-2); }
.mall-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.mall-sum dd s { color: var(--ink-2); text-decoration: none; }
.ask p.mall-ask-note { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-2); }
/* 上一筆沒等到回音、再送同一筆（FB-491）：標題底下一句，講清楚這不是新的一筆 */
.ask p.mall-ask-again { margin: 0 0 10px; padding: 6px 10px; border-left: 3px solid var(--gold); border-radius: 4px; background: var(--card-2); font-size: 13.5px; }
.mall-ask .row .btn { flex: 1; font-size: 15px; }
/* （電腦寬的字在「電腦上的店面」那一段後面：這份檔第一個 641px 的 media 以前都算手機那一半，tests/ranger/test_bounty_tags.py 照它切） */
/* 管理者區商城那一組查到的帳 */
.mall-ad { margin: 2px 0 6px; font-size: 13px; }
.mall-ad p { margin: 4px 0; }
.mall-ad-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.mall-ad-buy .btn { margin-left: auto; }
.mall-ad-log { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.mall-ad-log b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── 商城那一層（商城第二批，企劃者 2026-10-20 從對比圖挑「子」：沿用店面的框，萬寶閣紫檀底）：貨架上面兩張小卡、消耗品一格一件
   （三欄）、月卡一張寬卡；紀錄一列一筆。顏色寫死在這一層（同三間店：店面不分深淺色），購買確認是紙底的 .ask（跟著深淺色）。
   選擇器一律從 .shop-layer.shop-mall 起：電腦寬那一段的字級 ×1.3 照同一個選擇器寫（tests/core/test_desktop_type.py） ── */
.shop-layer.shop-mall { color: #f2e5c6; background: radial-gradient(ellipse at 50% 18%, #3d2326 0%, #24141a 60%, #140a0d 100%); }
.shop-layer.shop-mall .shop-sign { background: #2b1414; }
.shop-layer.shop-mall .shop-silver { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-layer.shop-mall .ingot { width: 18px; height: 12px; flex: none; fill: #f2c46a; }
.shop-layer.shop-mall .ingot .shine { fill: #fff; opacity: 0.35; }
.shop-layer.shop-mall > .shop-line { border: 0; border-radius: 12px; background: #f3e6cc; color: #3a1d08; }
.shop-layer.shop-mall .shop-line.said.ok { background: #e2f1e0; } /* 買成了的那一句 */
.shop-layer.shop-mall .shop-line.said.no { background: #f6d9cc; color: #5a1c0c; } /* 買不了的原因 */
.shop-layer.shop-mall .mall-status { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 4px; }
.shop-layer.shop-mall .mall-status > div { padding: 6px 10px; border-radius: 10px; border: 1px solid #6b4a2e; background: rgba(0, 0, 0, 0.22);
  font-size: 12px; line-height: 1.45; color: #c9b28a; }
.shop-layer.shop-mall .mall-status b { display: block; font: 600 14px var(--serif); color: #f2e5c6; }
.shop-layer.shop-mall .mall-sub { display: flex; align-items: baseline; gap: 8px; margin: 18px 2px 10px; font: 900 18px var(--serif); color: #f0cf7a; letter-spacing: 0.25em; }
.shop-layer.shop-mall .mall-sub small { font: 400 12px var(--sans); color: #c9b28a; letter-spacing: 0; }
.shop-layer.shop-mall .mall-sub::after { content: ""; flex: 1; align-self: center; height: 1px; background: linear-gradient(90deg, #8a6526, transparent); }
/* 貨架（Joy 2026-11-03「很陽春沒有萬寶閣的感覺」，示意稿「新・貨架」）：招牌（燈籠、匾額、一句）、分類一排、兩件一排的商品卡（上面一格圖、
   底下名字與給什麼、最底一條金色價錢）、月卡一張金框大卡（好處兩欄一格一條）、最底一張連到「形象」那一頁 */
.shop-layer.shop-mall:has(.mall-hero) .shop-sign { visibility: hidden; } /* 貨架上有大招牌：頂上那一塊小的讓位 */
.shop-layer.shop-mall .mall-hero { position: relative; display: grid; justify-items: center; gap: 4px; margin: 2px 0 10px; padding: 12px 40px 2px; }
.shop-layer.shop-mall .mall-hero .plaque { padding: 6px 18px 6px 28px; border: 3px double #d9a441; border-radius: 6px; background: linear-gradient(180deg, #2a120c, #160907);
  box-shadow: 0 0 0 4px #3b1a10, 0 10px 24px rgba(0, 0, 0, 0.5); color: #f6d77f; font: 900 32px var(--serif); letter-spacing: 0.35em;
  text-shadow: 0 2px 0 #6b3b0c, 0 0 18px rgba(246, 215, 127, 0.35); }
.shop-layer.shop-mall .mall-hero .motto { margin: 6px 0 0; color: #d9a441; font: 13px var(--serif); letter-spacing: 0.4em; }
.shop-layer.shop-mall .mall-hero .lantern { position: absolute; top: 0; width: 26px; height: 38px; border-radius: 50% / 46%;
  background: radial-gradient(circle at 42% 38%, #f07a4a, #b8261a 62%, #7a140c); box-shadow: 0 0 16px rgba(232, 85, 58, 0.45); }
.shop-layer.shop-mall .mall-hero .lantern:first-child { left: 2px; }
.shop-layer.shop-mall .mall-hero .lantern:nth-child(3) { right: 2px; }
.shop-layer.shop-mall .mall-cats { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0 0; padding: 2px 0; scrollbar-width: none; }
.shop-layer.shop-mall .mall-cat { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #6b4a2e; background: #24140f; color: #e6d3b0;
  font: 14px var(--sans); cursor: pointer; }
.shop-layer.shop-mall .mall-cat.on { background: #f0cf7a; border-color: #f0cf7a; color: #3a1d08; font-weight: 700; }
.shop-layer.shop-mall .mall-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop-layer.shop-mall .mall-item { display: flex; flex-direction: column; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid #6b4a2e;
  background: linear-gradient(180deg, #3a2219, #24140f); box-shadow: inset 0 1px 0 rgba(240, 207, 122, 0.18), 0 6px 14px rgba(0, 0, 0, 0.35);
  color: #d6c3a2; text-align: left; font: 12px/1.45 var(--sans); cursor: pointer; }
.shop-layer.shop-mall .mall-pic { display: flex; align-items: center; justify-content: center; height: 108px; border-bottom: 1px solid #6b4a2e;
  background: radial-gradient(circle at 50% 55%, rgba(240, 190, 90, 0.3), rgba(120, 40, 20, 0) 62%), linear-gradient(180deg, #4a2a1c, #2b1811); }
.shop-layer.shop-mall .mall-pic svg { width: 78px; height: 78px; }
.shop-layer.shop-mall .mall-pic img { width: 100%; height: 100%; object-fit: cover; }
.shop-layer.shop-mall .mall-pic.has-img { height: auto; aspect-ratio: 4 / 3; overflow: hidden; } /* 畫好的方圖：格子改 4:3、上下裁一點 */
.shop-layer.shop-mall .mall-card .mall-pic.has-img { height: 84px; aspect-ratio: auto; }
.shop-layer.shop-mall .mall-item .mi { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 9px 10px 0; }
.shop-layer.shop-mall .mall-item b { font: 900 16px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .mall-item .gain { color: #e5c98e; }
.shop-layer.shop-mall .mall-item .price, .shop-layer.shop-mall .mall-card .price { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px;
  margin: 8px 10px 10px; border-radius: 10px; border: 1px solid #e3b55a; background: linear-gradient(180deg, #f2cf7c, #c9932f); color: #3a1d08;
  font: 700 15px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-layer.shop-mall .price .ingot { width: 16px; height: 11px; fill: #7a4a0c; }
.shop-layer.shop-mall .price .ingot .shine { opacity: 0.2; }
.shop-layer.shop-mall .mall-item small { color: #bfa57d; font-size: 11px; }
.shop-layer.shop-mall .mall-item.on, .shop-layer.shop-mall .mall-card.on { border-color: #f2c46a; box-shadow: 0 0 0 3px rgba(242, 196, 106, 0.35); }
.shop-layer.shop-mall .mall-item.off, .shop-layer.shop-mall .mall-card.off { opacity: 0.55; } /* 買不了的畫淡，照樣點得到：點了掌櫃講原因 */
.shop-layer.shop-mall .mall-to-look { display: block; width: 100%; margin: 18px 0 0; min-height: 48px; border-radius: 14px; border: 1px dashed #8a6526;
  background: transparent; color: #f0cf7a; font: 700 15px var(--serif); cursor: pointer; }
.shop-layer.shop-mall .look-stage-bar small { display: block; font-size: 11px; color: #e5c98e; }
.shop-layer.shop-mall .look-stage-bar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 900 18px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .look-segs button { flex: 1; min-height: 44px; border: 0; background: #24140f; color: #d6c3a2; font: 14px var(--sans); cursor: pointer; }
.shop-layer.shop-mall .look-tile b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; font: 700 14px var(--serif); }
.shop-layer.shop-mall .look-make .plus { color: #f0cf7a; font: 700 34px var(--sans); }
.shop-layer.shop-mall .look-tag, .shop-layer.shop-mall .look-tag2 { position: absolute; top: 5px; padding: 1px 6px; border-radius: 999px; font: 700 11px var(--sans); }
.shop-layer.shop-mall .look-tag { left: 5px; background: #f0cf7a; color: #3a1d08; }
.shop-layer.shop-mall .look-tag2 { right: 5px; background: rgba(20, 8, 6, 0.75); color: #f0cf7a; }
.shop-layer.shop-mall .look-on { align-self: center; color: #f2c46a; font: 600 13px var(--serif); letter-spacing: 0.2em; }
.shop-layer.shop-mall .move-entry b { display: block; font: 900 16px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .move-entry small { display: block; font-size: 12px; }
.shop-layer.shop-mall .move-entry .go { color: #f0cf7a; font: 700 22px var(--sans); }
.shop-layer.shop-mall .look-subbar b { font: 900 20px var(--serif); color: #f6d77f; letter-spacing: 0.2em; }
.shop-layer.shop-mall .look-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 6px 0 4px; padding: 0; list-style: none; text-align: center;
  font-size: 12px; color: #c9b391; }
.shop-layer.shop-mall .look-steps span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto 4px; border-radius: 50%;
  border: 1.5px solid #8a6526; color: #e5c98e; font: 900 14px var(--serif); }
.shop-layer.shop-mall .look-line .lo-main b { font: 700 15px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .look-line .lo-main small { font-size: 12px; }
.shop-layer.shop-mall .look-no { background: #2b1811; color: #e0806a; font: 700 18px var(--sans); }
.shop-layer.shop-mall .look-fold { display: block; width: 100%; min-height: 42px; border: 0; border-top: 1px solid #3d2618; background: transparent; color: #e5c98e; font: 14px var(--sans); cursor: pointer; }
.shop-layer.shop-mall .look-stats small { display: block; font-size: 11px; color: #c9b391; }
.shop-layer.shop-mall .look-stats b { color: #f6d77f; font: 700 17px var(--sans); }
.shop-layer.shop-mall .look-st { white-space: nowrap; color: #f2c46a; font-size: 12px; }
.shop-layer.shop-mall .look-order-form label { font-size: 13px; color: #e5c98e; }
.shop-layer.shop-mall .look-ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: #c9b391; }
.shop-layer.shop-mall .move-now-card small { display: block; font-size: 12px; color: #c9b391; }
.shop-layer.shop-mall .move-now-card b { display: block; font: 900 17px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .move-opt b { font: 900 16px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .move-opt small { flex: 1; font-size: 12px; line-height: 1.5; color: #d6c3a2; }
/* 月卡：一張金框大卡（圖、名字、限購；好處兩欄一格一條；最底一條價錢） */
.shop-layer.shop-mall .mall-card { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 0 0 8px; padding: 14px; border-radius: 16px;
  border: 2px solid #d9a441; background: linear-gradient(160deg, #5a1c12, #2a0f0a 70%); color: inherit; text-align: left; cursor: pointer; }
.shop-layer.shop-mall .mall-card .mc-head { display: flex; align-items: center; gap: 12px; }
.shop-layer.shop-mall .mall-card .mall-pic { flex: none; width: 84px; height: 84px; border: 0; border-radius: 12px; background: radial-gradient(circle, rgba(246, 215, 127, 0.4), transparent 70%); }
.shop-layer.shop-mall .mall-card b { display: block; font: 900 21px var(--serif); color: #fbefd6; }
.shop-layer.shop-mall .mall-card .mt > span, .shop-layer.shop-mall .mall-card .mc-note { display: block; font-size: 12px; line-height: 1.5; color: #e5c98e; }
.shop-layer.shop-mall .mall-card .mall-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.shop-layer.shop-mall .mall-card .perk { padding: 8px 10px; border-radius: 10px; border: 1px solid #6b4a2e; background: rgba(0, 0, 0, 0.28); font-size: 13px; line-height: 1.5; color: #f3e6cc; }
.shop-layer.shop-mall .mall-card .price { margin: 0; min-height: 46px; font: 700 16px var(--sans); }
.shop-layer.shop-mall .mall-status .mall-daily { display: block; margin-top: 6px; }
.shop-layer.shop-mall .mall-status button.mall-daily { width: 100%; min-height: 36px; }
.shop-layer.shop-mall .mall-status small.mall-daily { color: #9fd18b; }
.shop-layer.shop-mall .mall-note { margin: 12px 2px 0; font-size: 12px; line-height: 1.55; color: #c9b28a; }
.shop-layer.shop-mall .mall-log-head { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 2px 4px; font-size: 12px; color: #c9b28a; }
.shop-layer.shop-mall .mall-log-head b { font: 600 18px var(--sans); color: #f2c46a; font-variant-numeric: tabular-nums; }
.shop-layer.shop-mall .mall-log-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 9px 4px; border-bottom: 1px solid #4a2828;
  font-size: 12px; color: #c9b28a; }
.shop-layer.shop-mall .mall-log-row b { font: 600 14px var(--serif); color: #f2e5c6; }
.shop-layer.shop-mall .mall-log-row .amt { text-align: right; font: 600 14px var(--sans); font-variant-numeric: tabular-nums; color: #e0a08a; }
.shop-layer.shop-mall .mall-log-row .amt.in { color: #9fd0a8; }
.shop-layer.shop-mall .mall-log-row .bal { text-align: right; font-variant-numeric: tabular-nums; }
.shop-layer.shop-mall .mall-tag { margin-left: 6px; padding: 0 6px; border: 1px solid #6b4a2e; border-radius: 8px; font: 400 11px var(--sans); color: #c9b28a; }
/* 元寶拆成兩種（Joy 2026-11-26，Config.mall.two_coins 開著才畫）：元寶金錠、五銖銀錠；招牌右邊的錢袋兩個數（點一下到紀錄）；
   只收元寶的那幾件價錢旁一方朱印「儲」；紀錄頂上兩個數、每一列寫是哪一種 */
.shop-layer.shop-mall .ingot.gift { fill: #d9dde2; }
.shop-layer.shop-mall .price .ingot.gift { fill: #5b5f66; }
.shop-layer.shop-mall .mall-purse { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none;
  color: inherit; font: 600 14px var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; }
.shop-layer.shop-mall .mall-purse span { display: inline-flex; align-items: center; gap: 4px; }
.shop-layer.shop-mall .mall-seal { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-left: 4px; border-radius: 3px;
  font: 700 11px/1 var(--serif); color: #fff3e4; background: #b3341f; transform: rotate(-4deg); }
.shop-layer.shop-mall .mall-log-head.two { justify-content: flex-start; gap: 18px; }
.shop-layer.shop-mall .mall-log-head.two span { display: inline-flex; align-items: center; gap: 5px; }
.shop-layer.shop-mall .mall-log-row .amt .coin { display: block; font: 400 11px var(--sans); color: #c9b28a; }

/* 商城那一層在電腦寬（原本在 style.css「電腦上的店面」那一段裡）*/
@media (min-width: 641px) {
  /* 紫檀底只畫在中間那一欄、欄外是頁面的紙色（FB-225）：style.css「電腦上的店面」那一條也有 .shop-layer.shop-mall，可是這個檔排在
     style.css 後面，上面那一條 background 簡寫會把它蓋回整片寬（2026-10-31 實機 1280 寬量到），這裡照原本的先後再寫一次 */
  .shop-layer.shop-mall {
    background-color: var(--paper); background-size: min(100%, 640px) 100%; background-position: 50% 0; background-repeat: no-repeat;
  }
  /* 商城那一層（商城第二批；2026-11-03 改版）：同一個選擇器、字級 ×1.3（照手機那一段的先後，tests/core/test_desktop_type.py） */
  .shop-layer.shop-mall .mall-status > div { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-status b { font: 600 18px var(--serif); }
  .shop-layer.shop-mall .mall-sub { font: 900 23.5px var(--serif); }
  .shop-layer.shop-mall .mall-sub small { font: 400 15.5px var(--sans); }
  .shop-layer.shop-mall .mall-hero .plaque { font: 900 41.5px var(--serif); }
  .shop-layer.shop-mall .mall-hero .motto { font: 17px var(--serif); }
  .shop-layer.shop-mall .mall-cat { font: 18px var(--sans); }
  .shop-layer.shop-mall .mall-item { font: 15.5px/1.45 var(--sans); }
  .shop-layer.shop-mall .mall-item b { font: 900 21px var(--serif); }
  .shop-layer.shop-mall .mall-item .price, .shop-layer.shop-mall .mall-card .price { font: 700 19.5px var(--sans); }
  .shop-layer.shop-mall .mall-item small { font-size: 14.5px; }
  .shop-layer.shop-mall .mall-to-look { font: 700 19.5px var(--serif); }
  .shop-layer.shop-mall .look-stage-bar small { font-size: 14.5px; }
  .shop-layer.shop-mall .look-stage-bar b { font: 900 23.5px var(--serif); }
  .shop-layer.shop-mall .look-segs button { font: 18px var(--sans); }
  .shop-layer.shop-mall .look-tile b { font: 700 18px var(--serif); }
  .shop-layer.shop-mall .look-make .plus { font: 700 44px var(--sans); }
  .shop-layer.shop-mall .look-tag, .shop-layer.shop-mall .look-tag2 { font: 700 14.5px var(--sans); }
  .shop-layer.shop-mall .look-on { font: 600 17px var(--serif); }
  .shop-layer.shop-mall .move-entry b { font: 900 21px var(--serif); }
  .shop-layer.shop-mall .move-entry small { font-size: 15.5px; }
  .shop-layer.shop-mall .move-entry .go { font: 700 28.5px var(--sans); }
  .shop-layer.shop-mall .look-subbar b { font: 900 26px var(--serif); }
  .shop-layer.shop-mall .look-steps { font-size: 15.5px; }
  .shop-layer.shop-mall .look-steps span { font: 900 18px var(--serif); }
  .shop-layer.shop-mall .look-line .lo-main b { font: 700 19.5px var(--serif); }
  .shop-layer.shop-mall .look-line .lo-main small { font-size: 15.5px; }
  .shop-layer.shop-mall .look-no { font: 700 23.5px var(--sans); }
  .shop-layer.shop-mall .look-fold { font: 18px var(--sans); }
  .shop-layer.shop-mall .look-stats small { font-size: 14.5px; }
  .shop-layer.shop-mall .look-stats b { font: 700 22px var(--sans); }
  .shop-layer.shop-mall .look-st { font-size: 15.5px; }
  .shop-layer.shop-mall .look-order-form label { font-size: 17px; }
  .shop-layer.shop-mall .look-ex { font-size: 15.5px; }
  .shop-layer.shop-mall .move-now-card small { font-size: 15.5px; }
  .shop-layer.shop-mall .move-now-card b { font: 900 22px var(--serif); }
  .shop-layer.shop-mall .move-opt b { font: 900 21px var(--serif); }
  .shop-layer.shop-mall .move-opt small { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-card b { font: 900 27.5px var(--serif); }
  .shop-layer.shop-mall .mall-card .mt > span, .shop-layer.shop-mall .mall-card .mc-note { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-card .perk { font-size: 17px; }
  .shop-layer.shop-mall .mall-card .price { font: 700 21px var(--sans); }
  .shop-layer.shop-mall .mall-note { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-log-head { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-log-head b { font: 600 23.5px var(--sans); }
  .shop-layer.shop-mall .mall-log-row { font-size: 15.5px; }
  .shop-layer.shop-mall .mall-log-row b { font: 600 18px var(--serif); }
  .shop-layer.shop-mall .mall-log-row .amt { font: 600 18px var(--sans); }
  .shop-layer.shop-mall .mall-tag { font: 400 14.5px var(--sans); }
  .shop-layer.shop-mall .mall-purse { font: 600 18px var(--sans); }
  .shop-layer.shop-mall .mall-seal { font: 700 14.5px/1 var(--serif); }
  .shop-layer.shop-mall .mall-log-row .amt .coin { font: 400 14.5px var(--sans); }
  .shop-layer.shop-mall .ingot { width: 23px; height: 15.5px; } /* 圖示跟著字放大 */
  .shop-layer.shop-mall .price .ingot { width: 21px; height: 14.5px; }
  .shop-layer.shop-mall .mall-pic { height: 140px; }
  .shop-layer.shop-mall .mall-pic svg { width: 100px; height: 100px; }
  .shop-layer.shop-mall .mall-card .mall-pic { width: 110px; height: 110px; }
  .shop-layer.shop-mall .mall-card .mall-pic.has-img { height: 110px; }
  .shop-layer.shop-mall .look-stage { height: 300px; }
  .shop-layer.shop-mall .look-stage > .look-face { width: 240px; height: 240px; margin-left: -120px; }
  .shop-layer.shop-mall .look-tile .look-pad { height: 110px; }
  .shop-layer.shop-mall .look-tile .look-face { width: 104px; height: 104px; }
}
/* 商城的購買確認在電腦寬：疊在店面那一層上面，字跟店面一樣 ×1.3（FB-305；這張紙掛在 body 上，不在店面那一段） */
@media (min-width: 641px) {
  .mall-ask h4 { font: 700 22px var(--serif); }
  .mall-sum { font-size: 18px; }
  .ask p.mall-ask-note { font-size: 16px; }
  .ask p.mall-ask-again { font-size: 17.5px; }
  .mall-ask .row .btn { font-size: 19.5px; }
}

/* 設定頁的易名帖那一格（萬寶閣）：手上有帖才畫 */
.rename-row { margin: 8px 0; }
.rename-row p { margin: 0 0 6px; }
.rename-row .row { display: flex; gap: 8px; align-items: center; }
.rename-row .input { flex: 1; min-width: 0; }
/* 江湖頁「月卡・今日份」小卡：月卡生效、今天還沒領時「剛剛」上面一張，領完收起 */
.card.mall-today { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-left: 3px solid var(--gold); }
.card.mall-today .moon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); }
.card.mall-today b { display: block; font-family: var(--serif); }
.card.mall-today .mt > span { display: block; font-size: 13px; color: var(--ink-2); }

