﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DiNERBOX - Apple iOS Human Interface Guidelines (HIG) Native Design System
   iOS 椋庢牸鏋佽嚧杞诲揩銆佺函绮圭Щ鍔ㄧ浣撻獙涓?120Hz ProMotion 鏋侀€熷搷搴?   鍏ㄩ儴瀛椾綋缁熶竴涓?Inter锛屾瘮渚嬩弗鏍煎弬鑰?HOME2.svg
   ========================================================================== */

:root {
  /* 娴呰壊閿佸畾锛堝叏绔欐渶楂樹紭鍏堢骇澹版槑锛夛細鏈珯鍏ㄥ煙閿佸畾娴呰壊锛岀姝?Edge/Chrome/iOS/寰俊 鐨?     銆岀綉椤佃嚜鍔ㄥ彉鏆?澶滈棿妯″紡銆嶇粰鏁撮〉鍙嶈壊鎴栬皟鑹层€傞〉闈㈠缁堜弗鏍兼寜 Figma 鏍囧畾鑹插僵鍘熸牱鍛堢幇 */
  color-scheme: only light !important;
  forced-color-adjust: none !important;
  -webkit-forced-color-adjust: none !important;

  /* ==========================================================================
     璁捐鍒诲害锛圖esign Tokens锛夆€?鍏ㄧ珯鍞竴鏍囧噯
     瑙勫垯锛氶〉闈笌缁勪欢鐨?闂磋窛 / 鍦嗚 / 鎻忚竟 / 瀛楀彿 / 鎸夐挳 涓€寰嬪紩鐢ㄤ笅鍒楀彉閲忥紝
     涓嶅湪鍒鍐欏瓧闈㈤噺銆傝璋冮鏍煎彧鏀硅繖涓€鍧楋紝鍏ㄧ珯鑷姩鍚屾銆?     ========================================================================== */

  /* 闂磋窛鍒诲害锛? 鐨勫€嶆暟锛?*/
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;

  /* ======================================================================
     灏忔爣棰橈紙鏍囩锛夌殑缁熶竴瑙勮寖 鈥斺€?鍏ㄧ珯鍞竴鐪熸簮
     ======================================================================
     2026-10-24 鐢ㄦ埛鎸囧嚭锛氥€屼綘瀵瑰叏閮ㄧ殑棰滆壊鍜岄€忔槑搴﹁鑼冩病鏈夊仛涓€涓爣鍑嗙殑鍚楋紵銆?     鈥斺€?涔嬪墠 SERIES / EDITION / ARCHIVE / VOL 杩欎簺鏍囩鍦?store.html銆乷rders.html銆?     profile.html 鍚勮嚜鍐欎簡涓€閬?opacity锛屾敼涓€澶勬紡涓€澶勶紙orders 涓€鐩寸暀鐫€鏃х殑 0.6锛夈€?
     鐜板湪缁熶竴涓轰笅闈笁涓护鐗岋紝鎵€鏈夋爣绛句竴寰嬪紩鐢紝绂佹鍐嶅啓姝绘暟鍊硷細
       --label-opacity : 鏍囩鐩稿姝ｆ枃鐨勯€忔槑搴︼紙鎺ヨ繎瀹炶壊锛屽彧鐣欎竴鐐瑰眰娆★級
       --label-size-sm : 绁ㄦ牴/璁㈠崟鍗¤繖绫诲皬灏哄鏍囩鐨勫瓧鍙?       --label-track   : 鏍囩瀛楄窛
     ====================================================================== */
  --label-opacity: 1;
  --label-size-sm: 7.6px;
  --label-track: 0.4px;
  /* 2026-11-17：全站标签统一档位（只在这里改）
       label  = 键名/标签      10px 600
       value  = 同一行的值      12px 700
       badge  = 状态徽章        11px 700
     颜色一律 currentColor + 实色，不再写 rgba(255,255,255,.45/.56/.62/.72)。 */
  --label-size: 10px;
  --label-size-value: 12px;
  --label-size-badge: 11px;

  /* 鐗堝績锛堥〉闈㈠乏鍙崇暀鐧斤級涓庡尯鍧楄妭濂?*/
  --gutter: 20px;
  /* 鏉垮潡涔嬮棿鐨勭暀鐧斤細鏁村睆鍒嗛〉锛堜竴灞忎竴鏉垮潡锛夊悗涓嶅啀闇€瑕侀澶栭棿璺?*/
  --section-gap: 0px;
  /* 鏉垮潡楂樺害锛氭瘡涓富瑕佹澘鍧楀崰婊℃暣灞忥紙绉诲姩绔竴灞忎竴鏉垮潡锛屾粴鍔ㄥ垎椤碉級銆?     鐢?svh锛堝皬瑙嗗彛楂樺害锛夎€屼笉鏄?dvh锛歞vh 浼氶殢绉诲姩绔湴鍧€鏍?宸ュ叿鏍忔敹鏀惧疄鏃跺彉鍖栵紝
     婊氬姩鏃舵澘鍧楅珮搴﹁涓嶆柇閲嶇畻 鈫?鍐呭鐪嬭捣鏉ュ湪銆屽彉褰?浼哥缉銆嶏紱svh 鎭掑畾锛屾粴鍔ㄤ笉鍐嶅彉褰?*/
  --section-min-h: 100vh;
  --section-min-h: 100svh;
  /* NFC 鍗＄爾锛堝睆 2 LATEST MOMENT锛夊昂瀵革細鍥哄畾鍍忕礌锛屼笉闅忚鍙ｅ / 楂樺彉鍖栵紝
     涔熶笉闅忓湴鍧€鏍忔敹鏀鹃噸绠楋紙鐢ㄦ埛瑕佹眰锛氬崱鐮栦笉瑕佸お澶с€佷笉瑕佸姩鎬佺缉鏀俱€佸啀灏忎竴鐐癸級銆?     瀹?180px锛岄珮鎸夊師濮?208:330 姣斾緥鎹㈢畻锛屽昂瀵告亽瀹?*/
  --nfc-card-w: 180px;
  --nfc-card-h: calc(var(--nfc-card-w) * 330 / 208);
  /* 鏀惰棌鍗＄爾锛堝睆 3 MY COLLECTION锛夊昂瀵革細涓€灞忔í鍚戦湶鍑虹害 2.5 寮狅紙鐢ㄦ埛瑕佹眰锛夛紝
     163px 涓哄鍣ㄦ弧瀹?480px 鏃剁殑 2.5 寮犲搴︿笂闄愶紝绐勫睆鎸夎鍙ｇ瓑姣旀敹鏁涖€?     2026-10-22锛氬崱鐮栨敼涓哄疄浣撲簹鍏嬪姏鐮栵紙澶栧３ assets/brick-shell.png 1026x1772锛夛紝
     瀹瑰櫒姣斾緥鐩存帴瀵归綈澶栧３ 1026/1772锛?.5791锛夛紝鍐呴儴涓嶅啀鏈夎瑁佸垏鐨勯闄┿€?*/
  --collection-card-w: min(163px, calc((100vw - 2 * var(--sp-5) - 2 * var(--sp-4)) / 2.5));
  --collection-card-h: calc(var(--collection-card-w) * 1772 / 1026);

  /* 鍦嗚鍒诲害 */
  --r-2xs: 4px;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* 鎻忚竟锛氬叏绔欏崱鐗?杈撳叆妗嗗叡鐢ㄤ竴鏉＄嚎锛涚函鍒嗛殧绾跨敤 hairline */
  --bw: 1px;
  --border-card: var(--bw) solid var(--line);
  --border-hair: 0.5px solid var(--line-tertiary);
  /* 骞界伒鎸夐挳/娆＄骇鎺т欢鐨勬弿杈癸細姣斿崱鐗囩嚎鏇撮噸涓€妗?*/
  --border-strong: var(--bw) solid var(--line-strong);
  /* 鍙嶈壊锛堥粦鍗★級琛ㄩ潰鐨勭粏鎻忚竟锛氬崱妗?/ 鍥炬爣鍦?/ 绠ご鍦堝叡鐢ㄥ悓涓€閬撶嚎 */
  --inv-ring: rgba(255, 255, 255, 0.26);

  /* 甯告殫闈紙鍝佺墝榛戝崱 / LED 灞?/ 濯掍綋鐮栵級锛氫笉闅忔繁娴呮ā寮忕炕杞紝娣辫壊妯″紡涓嬫姮楂樹竴妗ｉ伩鍏嶄笌鐢诲竷鍚岃壊闅愬舰 */
  --dark-bg: #222226;
  --dark-bg-deep: #111113;
  --dark-ink: #FFFFFF;
  --dark-ink-dim: #A1A1AA;
  --dark-ink-soft: rgba(255, 255, 255, 0.72);
  --dark-ink-mute: rgba(255, 255, 255, 0.56);
  --dark-tint: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(255, 255, 255, 0.12);
  /* 甯告殫闈㈠唴鐨勫垎闅旂嚎锛圠ED 灞忚鍒嗛殧 / 淇℃伅鏉′笂鎻忚竟锛?*/
  --border-dark: var(--bw) solid var(--dark-line);
  /* 鐧借壊濯掍綋鐮栵紙鍟嗗搧鍥?/ 妫氭媿鍥炬墭搴曪級锛氭繁娴呮ā寮忓潎淇濇寔绾櫧 */
  --media-tile: #FFFFFF;

  /* ==========================================================================
     鐐归樀闈紙.dbx-dot-surface锛夆€斺€?026-10-16 鍏ㄧ珯瑙嗚缁熶竴
     --------------------------------------------------------------------------
     鐩爣锛氭墍鏈夊崱鐗?/ 寮瑰眰搴曡壊缁熶竴鎴愩€岄粦搴?+ LED 鐐归樀銆嶏紝**涓嶅啀鍖哄垎鏃ラ棿澶滈棿**銆?     鍙傝€冨疄鐜版槸 store.html 鐨?.topmoments-board锛堣璇ユ枃浠跺唴鑱?<style>锛夛紝
     杩欓噷鎶婂畠鎶芥垚鍏ㄧ珯澶嶇敤鐨勭被锛屽苟椤烘墜瑙ｅ喅涓€涓殣鎮ｏ細

      鍏夋妸 background 閽夋垚榛戝簳涓嶅 鈥斺€?鏃ラ棿妯″紡涓嬪崱鐗囧唴鐨勬枃瀛楄蛋 var(--color-label)
        锛堟祬鑹蹭富棰樻槸娣辫壊 #222226锛夛紝娣卞瓧鍘嬮粦搴曚細鐪嬩笉瑙併€傛墍浠?.dbx-dot-surface
        蹇呴』鍦?*鑷韩浣滅敤鍩熷唴閲嶅畾涔夋暣濂椾护鐗?*锛岃鎵€鏈夊悗浠ｈ嚜鍔ㄨ鍒颁竴涓嚜娲界殑娣辫壊涓婁笅鏂囷細
        鏂囧瓧娴呰壊銆佸祵濂楀崱鐗囦粛鏄繁鑹层€佸弽鑹叉帶浠讹紙--inv-bg锛夌炕鎴愮櫧搴曟繁瀛椾互淇濇寔瀵规瘮銆?     --------------------------------------------------------------------------
     杩欏灞€閮ㄤ护鐗屽氨鏄繁鑹蹭富棰橀偅涓€濂楃殑鍊硷紱绛変簬鎶婅繖鍧椼€屾姞銆嶅嚭涓婚绯荤粺涔嬪锛?     椤甸潰鍏朵綑閮ㄥ垎浠嶉殢绯荤粺鏃ュ闂村彉锛堢敤鎴风‘璁わ細椤靛簳淇濇寔鐜扮姸锛屽彧鏀瑰崱鐗囷級銆?     ========================================================================== */
  --dot-bg: #111113;                       /* 搴曡壊锛堟瘮 --dark-bg-deep 鍐嶅帇涓€妗ｏ紝鍏ㄧ珯缁熶竴锛?*/
  --dot-ink: #F2F2F7;                      /* 鍗″唴涓绘枃瀛?*/
  --dot-ink-dim: #A1A1AA;
  --dot-ink-mute: rgba(255, 255, 255, 0.56);
  --dot-cell: rgba(255, 255, 255, 0.06);   /* 鐏彔鐐?*/
  --dot-size: 4px 4px;
  --dot-line: rgba(255, 255, 255, 0.08);   /* 鍗℃ */
  --dot-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  /* 绁ㄦ嵁绾革細娴呰壊妯″紡寰伆浠ュ尯鍒嗙敾甯冿紝娣辫壊妯″紡闅忎富棰樺彉鏆楋紝淇濊瘉绾搁潰鏂囧瓧鍙 */
  --paper: #F9F9FB;

  /* 鍗＄墖瑙勬牸锛氫細鍛樺崱 / 绛夌骇鍗?/ about 闈㈡澘 / 瀛愰〉鍗＄墖鍏辩敤 */
  --radius-card: var(--r-lg);
  --card-pad: var(--sp-5);

  /* 瀛楀彿鍒诲害 */
  --fs-3xs: 8px;
  --fs-2xs: 9px;
  --fs-micro: 10px;
  --fs-cap: 11px;
  --fs-note: 12px;
  --fs-sub: 13px;
  --fs-sm: 14px;
  --fs-body: 15px;
  --fs-title: 17px;
  --fs-h3: 20px;
  --fs-h2: 24px;
  --fs-h1: 30px;
  --fs-display: 34px;

  /* 鎸夐挳缁熶竴瑙勬牸锛?-btn-h 涓绘搷浣滐紝--btn-h-sm 娆＄骇锛?-btn-h-xs 琛屽唴绱у噾 */
  --btn-h: 50px;
  --btn-h-sm: 44px;
  --btn-h-compact: 40px;
  --btn-h-xs: 32px;
  --btn-radius: var(--r-md);
  --btn-pad-x: var(--sp-5);
  --btn-fs: var(--fs-body);

  /* 璋冭壊鏉夸笌鐢诲竷鑳屾櫙 */
  --bg-canvas: #FFFFFF;
  /* 鐢诲竷鑹茬殑 RGB 鍒嗛噺锛氬簳閮ㄥ唴瀹规笎闅愬眰闇€瑕佹寜鍒嗛噺璋?alpha锛屾棤娉曠敤 hex 鍙橀噺 */
  --bg-canvas-rgb: 255, 255, 255;
  --bg-card: #FFFFFF;
  --bg-secondary: #F4F4F5;
  --bg-tertiary: #E5E5EA;
  --bg-soft: #FAFAFA;
  --bg-inset: rgba(0, 0, 0, 0.03);
  --bg-inset-strong: rgba(0, 0, 0, 0.05);
  --bg-frosted: rgba(255, 255, 255, 0.94);
  /* 搴曟爮涓撶敤涓嶉€忔槑瀹炲簳锛氬簳鏍?position:fixed 甯搁┗鍦ㄦ粴鍔ㄥ唴瀹逛箣涓婏紝
     鍗婇€忔槑浼氳涓嬫柟婊氬姩鐨勫唴瀹归€愬抚閫忓嚭锛?6% 涔熶粛鏈?4% 鍙樺寲锛夛紝
     瑙嗚涓婂氨鏄簳閮ㄤ竴鏉°€屼竴闂竴闂€嶇殑甯﹀瓙锛屾晠鏀逛负瀹屽叏涓嶉€忔槑 */
  --bg-tabbar: #FFFFFF;
  --bg-frosted-soft: rgba(255, 255, 255, 0.85);

  --color-black: #222226;
  --color-white: #FFFFFF;
  --color-label: #222226;
  --color-secondary-label: #71717A;
  --color-tertiary-label: #A1A1AA;

  /* 椤佃剼锛堝妗堝彿 / 鐗堟潈锛変笓鐢ㄨ壊锛堢敤鎴?2026-10-21锛夈€?     鍘熸潵鐢?--color-tertiary-label 鐨?#A1A1AA锛屽湪鐧藉簳涓婂姣斿害鍙湁 2.56:1锛?     杩滀綆浜?WCAG AA 姝ｆ枃瑕佹眰鐨?4.5:1锛屽皬瀛楀彿涓嬪嚑涔庣湅涓嶆竻銆?     #6E6E76 = 5.05:1锛屽璇诲張涓嶆姠鐪硷紱hover 鍐嶆繁涓€妗ｅ埌 #52525B锛?.73:1锛夈€?     鍗曠嫭寮€浠ょ墝鑰屼笉鏄洿鎺ユ敼 --color-tertiary-label锛氶偅涓护鐗屽叏绔欒繕鐢ㄧ潃锛?     鏀逛簡浼氳繛甯﹀奖鍝嶅叾瀹冨湴鏂广€?*/
  --db-footer-ink: #6E6E76;
  --db-footer-ink-hover: #52525B;

  --ink-strong: #222226;
  --ink-deep: #52525B;
  --ink-deep-2: #3F3F46;
  /* 2026-10-21锛氬師鏉ユ槸 #8E8E93锛屽湪鐧藉簳涓婂彧鏈?3.26:1锛堜綆浜?AA 鐨?4.5:1锛夈€?     瀹炴祴鍙楀奖鍝嶏細LIMITED LITHOGRAPH / 鐗堟暟鏍囩銆丷EDEEM CODE 鍖哄潡鏍囬銆?     涓汉椤靛悇鍗＄墖鏍囬銆傛敼鎴?#6E6E73 = 5.07:1锛屽眰绾т粛鏄€屽急浜庢鏂囥€嶄絾璇诲緱娓呫€?*/
  --ink-dim-2: #6E6E73;
  --ink-mute-2: #6E6E73;
  --ink-alpha: rgba(0, 0, 0, 0.68);

  --ios-separator: rgba(60, 60, 67, 0.15);
  --line: #E4E4E7;
  --line-tertiary: #E5E5EA;
  --line-strong: #D4D4D8;
  --line-heavy: #C8C8C8;
  --line-soft: rgba(34, 34, 38, 0.08);
  --line-tint: rgba(60, 60, 67, 0.12);
  --line-mid: rgba(60, 60, 67, 0.22);
  --line-grabber: rgba(60, 60, 67, 0.3);
  --wave-line: rgba(13, 19, 34, 0.18);

  /* 鍙嶈壊鎺т欢锛氶粦搴曠櫧瀛楋紙鎸夐挳 / 鑳跺泭 / 寰界珷 / 閫変腑鎬?/ 澶村儚锛?*/
  --inv-bg: #222226;
  --inv-bg-pure: #222226;
  --inv-ink: #FFFFFF;
  --inv-ink-soft: rgba(255, 255, 255, 0.65);
  --inv-tint: rgba(255, 255, 255, 0.16);
  --inv-tint-weak: rgba(255, 255, 255, 0.3);
  --inv-tint-weak-2: rgba(255, 255, 255, 0.4);
  --inv-tint-500: rgba(255, 255, 255, 0.5);

  --ios-red: #C53C3C;
  --ios-blue: #007AFF;
  --ios-green: #34C759;
  /* 鍝佺墝杈呰壊锛氭捣鍐涜摑锛坅rchive / curator 涓婚锛夈€佸喎閾讹紙moment 涓婚锛?*/
  --brand-navy: #2C4A6F;
  --brand-silver: #7E8A96;

  /* 鐢ㄦ埛鏄庣‘瑕佹眰锛氬叏閮ㄥ瓧浣撶敤 Inter */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 宸插簾寮冿細鍗＄爾鏀逛负鍥哄畾鍍忕礌灏哄锛堣 :root --nfc-card-w / --collection-card-w锛夛紝涓嶅啀鎸夎鍙ｉ珮搴︽敹缂?*/

/* ==========================================================================
   鐐归樀闈?.dbx-dot-surface 鈥斺€?2026-10-16 鍏ㄧ珯瑙嗚缁熶竴
   --------------------------------------------------------------------------
   鎵€鏈夊崱鐗?/ 寮瑰眰搴曡壊缁熶竴鎴愩€岄粦搴?+ LED 鐐归樀銆嶏紝**涓嶅啀鍖哄垎鏃ラ棿澶滈棿**銆?   绾规牱鍙栬嚜 store.html 鐨?.topmoments-board锛?px 鐐?/ 1.4px 鏀跺彛 / 4px 闂磋窛锛夛紝
   杩欓噷鎶芥垚鍏ㄧ珯澶嶇敤鐨勭被銆?
    鍏抽敭鐐癸細鍏夋妸 background 閽夋垚榛戝簳鏄笉澶熺殑銆傛棩闂存ā寮忎笅鍗″唴鏂囧瓧璧?     var(--color-label)锛堟祬鑹蹭富棰橀噷鏄繁鑹?#222226锛夛紝娣卞瓧鍘嬮粦搴曚細鐩存帴鐪嬩笉瑙併€?     鎵€浠ヤ笅闈㈢涓€娈靛湪**鍏冪礌鑷韩浣滅敤鍩熷唴閲嶅畾涔夋暣濂椾护鐗?*锛岃鎵€鏈夊悗浠ｈ嚜鍔ㄨ鍒?     涓€涓嚜娲界殑娣辫壊涓婁笅鏂囷細鏂囧瓧娴呰壊銆佸祵濂楀崱鐗囦粛鏄繁鑹层€佸弽鑹叉帶浠讹紙--inv-bg锛?     缈绘垚鐧藉簳娣卞瓧浠ョ淮鎸佸姣斿害銆?
   椤甸潰涓昏儗鏅笉鍙楀奖鍝嶏紝浠嶉殢绯荤粺鏃ュ闂村彉锛堢敤鎴风‘璁わ細椤靛簳淇濇寔鐜扮姸锛屽彧鏀瑰崱鐗囷級銆?   渚嬪锛堢敤鎴风‘璁や繚鐣欏師鏍凤級锛?membership-card / .tier-card 鐨?6 妗ｇ瓑绾ч厤鑹层€?   鎸夐挳涓庨€変腑鑳跺泭鐨勯珮瀵规瘮鍙嶈壊鎺т欢銆?   ========================================================================== */
.dbx-dot-surface {
  /* 鈥斺€?灞€閮ㄤ护鐗岋細绛夊悓娣辫壊涓婚閭ｄ竴濂楋紝鎶婅繖鍧楁姞鍑轰富棰樼郴缁熶箣澶?鈥斺€?*/
  --color-label: var(--dot-ink);
  --color-secondary-label: var(--dot-ink-dim);
  /* 2026-10-21锛?.45 鐨勭櫧鑹插帇鍦?#1C1C1E 涓婂彧鏈?4.44:1锛堝樊涓€鐐圭偣涓嶅 AA锛夈€?     鎶埌 0.55 鈮?5.9:1锛涗粛鏄笁绾ф枃妗堢殑寮卞眰绾э紝浣嗗皬瀛楀彿璇诲緱娓呫€?*/
  --color-tertiary-label: rgba(255, 255, 255, 0.55);
  /* 椤佃剼涓撶敤鑹诧細鐐归樀闈㈤噷涔熻缈绘垚娴呰壊锛屽惁鍒欐繁瀛楀帇榛戝簳锛堝悓 --color-tertiary-label 鐨勯亾鐞嗭級 */
  --db-footer-ink: rgba(255, 255, 255, 0.62);
  --db-footer-ink-hover: rgba(255, 255, 255, 0.85);
  --bg-canvas: var(--dot-bg);
  --bg-card: #1C1C1E;
  --bg-secondary: #1C1C1E;
  --bg-tertiary: #2C2C2E;
  --bg-soft: #141416;
  --bg-inset: rgba(255, 255, 255, 0.06);
  --bg-inset-strong: rgba(255, 255, 255, 0.10);
  --bg-frosted: rgba(28, 28, 30, 0.94);
  --bg-frosted-soft: rgba(28, 28, 30, 0.85);
  --bg-tabbar: #1C1C1E;
  /* 榛戝簳涓婄殑鍙嶈壊鎺т欢搴旀槸鐧藉簳娣卞瓧銆?      --inv-bg-pure 蹇呴』涓€璧风炕锛氬畠灏辨槸銆屽疄蹇冩寜閽?寰界珷銆嶇殑搴曡壊锛?pay-confirm-btn銆?     #ckPayBtn 閮界敤瀹冿級锛屽彧缈?--inv-bg 鐨勮瘽锛屾寜閽細淇濇寔 #222226 娣辩伆鍘嬪湪榛戝崱涓婏紝
     涓庡崱鐗囧簳鑹插嚑涔庡悓鑹?鈫?鏁撮鎸夐挳銆屾秷澶便€嶏紙鐢ㄦ埛璇寸殑銆岀湅閮界湅涓嶆竻妤氥€嶏級銆?*/
  --inv-bg: #F2F2F7;
  --inv-bg-pure: #F2F2F7;
  --inv-ink: #0A0A0C;
  --inv-ink-soft: rgba(10, 10, 12, 0.65);
  --inv-ring: rgba(0, 0, 0, 0.26);
  --border-card: var(--bw) solid rgba(255, 255, 255, 0.10);
  --line: #3F3F46;
  --line-mid: #52525B;
  --line-strong: #52525B;
  --line-heavy: #3F3F46;
  --media-tile: #1C1C1E;
  --paper: #1C1C1E;
  /* 鏂囧瓧缁勶細--ink-* 鏄悇椤甸潰鍐呰仈鏍峰紡鐖辩敤鐨勪竴缁勫埆鍚嶏紙ck- / pay- 鍓嶇紑灞呭锛夛紝
     瀹冧滑**涓嶅湪**涓婇潰鐨勯噸瀹氫箟娓呭崟閲屻€傛棩闂存ā寮忎笅鏄?#222226 / #52525B 杩欑娣辫壊锛?     娣卞瓧鍘嬪埌榛戝簳鐐归樀涓婂氨鐩存帴鐪嬩笉瑙侊紙鐢ㄦ埛鍙嶉銆屽瓧鍜屽簳鑹插畬鍏ㄦ媺涓嶅紑銆嶏級銆?     鎵€浠ヨ繖閲屼竴骞舵寜娣辫壊涓婚琛ヤ笂锛岃鍗＄墖鍐呯殑鏂囧瓧鑷姩缈绘垚娴呰壊銆?*/
  --ink-strong: #FFFFFF;
  --ink-deep: #A1A1AA;
  --ink-deep-2: #C7C7CC;
  --ink-dim-2: #8E8E93;
  --ink-mute-2: #98989F;
  --ink-alpha: rgba(255, 255, 255, 0.72);
  /* 鍐呰仈閿欒鏉?鎻愮ず鏉＄殑搴曡壊锛氭棩闂存槸 #F7F7F8 娴呯伆锛屽帇鍦ㄩ粦鍗′笂灏辨垚浜嗕竴鍧楀埡鐪肩殑鐧芥枒 */
  --bg-subtle: rgba(255, 255, 255, 0.06);
  /* 绾挎潯缁勯噷鍓╀笅鐨勫嚑涓細鏃ラ棿鏄繁/娴呯伆锛岃涔堝湪榛戝簳涓婄硦鎺夈€佽涔堜寒鎴愪竴閬撶櫧杈?*/
  --line-tertiary: #2C2C2E;
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-tint: rgba(84, 84, 88, 0.4);
  --line-grabber: rgba(118, 118, 128, 0.5);
  --ios-separator: rgba(84, 84, 88, 0.6);

  /* 2026-10-21锛?-border-hair / --border-strong 蹇呴』鍦ㄨ繖閲?*閲嶆柊澹版槑涓€娆?*銆?     瀹冧滑鍦?:root 閲屽啓鎴?`0.5px solid var(--line-tertiary)`锛?     鑰?CSS 鑷畾涔夊睘鎬ч噷鐨?var() 鏄湪**澹版槑澶?*姹傚€肩殑 鈥斺€?:root 涓婂氨绠楁垚浜?     娴呰壊 #E5E5EA銆傜偣闃甸潰閲屾妸 --line-tertiary 鏀规垚 #2C2C2E 杩芥函涓嶅埌閭ｄ袱鏉★紝
     浜庢槸 .cart-drawer-header / .ios-cell / .menu-row / .edition-sheet-* 绛?     鍏ㄥ湪榛戝簳涓婄敾鍑轰竴閬?15:1 鐨勭櫧绾匡紙瀹炴祴 9 绫诲厓绱狅級銆?     鍦ㄨ繖閲岄噸鍐欎竴閬嶏紝var() 鎵嶄細鎸夋湰浣滅敤鍩燂紙娣辫壊锛夎В鏋愩€?*/
  --border-hair: 0.5px solid var(--line-tertiary);
  --border-strong: var(--bw) solid var(--line-strong);

  position: relative;
  /* !important 鏄湁鎰忎负涔嬶細鍚勯〉闈㈠師鏈敤 background-color: var(--bg-card) 涔嬬被鍐欐硶锛?     鍚岀壒寮傚害涓嬫寜涔﹀啓椤哄簭浼氱洊鎺夎繖閲岀殑 background銆傝繖涓被鐨勮亴璐ｅ氨鏄€屽己鍒惰繖鍧楁槸榛戝簳銆嶏紝
     蹇呴』鍘嬪緱浣忛〉闈㈣嚜韬殑瑙勫垯銆?*/
  background: var(--dot-bg) !important;
  color: var(--dot-ink);
  forced-color-adjust: none;
  /* isolation 闅旂灞傚彔涓婁笅鏂囷細::before 涓庡悗浠ｅ悇鑷垚灞傦紝涓嶄細浜掔浉骞叉壈 */
  isolation: isolate;
}

/* LED 鐏彔缃戞牸搴曠汗銆?   涓嶉渶瑕侀澶栫粰瀛愬厓绱犳姮 z-index 鈥斺€?isolation 寤哄嚭鐨勫眰鍙犱笂涓嬫枃閲岋紝
   ::before 鍦?DOM 椤哄簭涓婂厛浜庢墍鏈夊瓙鍏冪礌锛岄潤鎬?鐩稿瀹氫綅鐨勫唴瀹瑰ぉ鐒剁敾鍦ㄥ畠涓婇潰銆?   锛堟棭鍓嶄竴鐗堝啓浜?.dbx-dot-surface > * { position: relative; z-index: 1 }锛?     閭ｄ細鎶婂崱鐗囬噷鍘熸湰鐨?position:absolute 瑁呴グ瀛愬厓绱犳敼鎴?relative 鑰岄敊浣嶏紝宸茬Щ闄ゃ€傦級
   border-radius: inherit 鏄繀椤荤殑锛歩nset:0 鐨勪吉鍏冪礌榛樿鏄?*鏂硅**锛?   鑰屽涓诲崱鐗囧嚑涔庨兘甯﹀渾瑙?鈥斺€?灏戜簡杩欎竴琛岋紝鏂硅澶勭殑鐏彔浼氱敾鍒板渾瑙掍箣澶栵紝
   鐪嬭捣鏉ュ氨鏄€屽渾鐐规孩鍑哄鍣ㄣ€嶃€傦紙2026-10-17 鐢ㄦ埛鍙嶉锛?*/
.dbx-dot-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* 鐢ㄥ唴鑱?SVG 骞抽摵鍥捐€屼笉鏄?radial-gradient锛欳hromium(Edge) 鐨勫己鍒舵繁鑹蹭細閲嶆槧灏?     娓愬彉/绾壊锛岀偣闃典細琚姽骞筹紱鍥剧墖璧勬簮瀹冧竴鑸笉鍔紝鎵€浠ヨ繖鏍风偣闃佃兘淇濅綇銆?*/
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23FFFFFF' fill-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 4px 4px;
  forced-color-adjust: none;   /* 绯荤粺楂樺姣斿害/forced-colors 涓嬩篃涓嶈鏇挎垜鏀硅壊 */
  pointer-events: none;
  /*  蹇呴』鏄?-1锛屼笉鑳芥槸 0锛歾-index:0 鐨勫畾浣嶅厓绱犱細鐢诲湪**鎵€鏈夐潪瀹氫綅鐨勬祦鍐呭瓙鍏冪礌涔嬩笂**锛?     浜庢槸鐐归樀鐩栧湪鍗＄墖/鏂囧瓧涓婏紙鐢ㄦ埛鐪嬪埌銆岃繖閲岀殑 5 涓崱鐗囨湁鍦嗙偣銆嶅氨鏄畠锛夈€?     -1 鏃剁偣闃垫帓鍦ㄣ€屽涓昏嚜韬儗鏅箣涓娿€佹墍鏈夊唴瀹逛箣涓嬨€嶏紙鐖跺眰鏈?isolation: isolate 鍏滀綇锛夈€?*/
  z-index: -1;
}

/* 鍏ㄥ眬瑙︽懜涓庣洅妯″瀷瑙勮寖 + 鐢ㄦ埛瑕佹眰鍘绘帀鍏ㄩ儴闃村奖 */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
  box-shadow: none !important;
}

html {
  color-scheme: only light !important;
  forced-color-adjust: none !important;
  -webkit-forced-color-adjust: none !important;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: var(--bg-canvas);
}

body {
  color-scheme: only light !important;
  forced-color-adjust: none !important;
  -webkit-forced-color-adjust: none !important;
  background-color: var(--bg-canvas);
  font-family: var(--font-sans);
  color: var(--color-label);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  width: 100%;
  /* 鐢?svh 鑰岄潪 dvh锛歞vh 闅忕Щ鍔ㄧ宸ュ叿鏍忔敹鏀惧彉鍖栦細璁╅〉闈㈤珮搴﹀弽澶嶉噸绠?鈫?婊氬姩鍙樺舰 */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 2026-10-24锛欼CP 澶囨鏉℃敼涓虹粷瀵瑰畾浣嶈创搴曪紝body 闇€瑕佷綔涓哄畾浣嶅弬鐓?*/
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  /* 鐢?clip 鑰岄潪 hidden锛歨idden 浼氳鍙︿竴杞撮殣寮忓彉鎴?auto锛屼娇 body 涔熸垚涓轰竴涓?     锛堝苟涓嶆粴鍔ㄧ殑锛夋粴鍔ㄥ鍣紝绉诲姩绔鎸佷竴灞傚悎鎴?backstore锛屾粴鍔ㄩ噸鏍呮牸鏃堕棯鐑?*/
  overflow-x: clip;
}

/* 琛ㄥ崟鎺т欢榛樿涓嶇户鎵垮瓧浣擄紙UA 浼氬洖閫€鍒?13.3333px Arial锛夛紝缁熶竴寮哄埗缁ф壙鍏ㄧ珯 Inter */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   鐪熷疄 iOS 瑙嗗彛瀹瑰櫒 (鏃犲閮ㄧ敓纭粦杈?鍋囧澹?
   ========================================================================== */
.mobile-app-container {
  width: 100%;
  max-width: 480px;
  /* svh 鎭掑畾锛岄伩鍏嶇Щ鍔ㄧ宸ュ叿鏍忔敹鏀惧鑷村鍣ㄩ珮搴﹀弽澶嶉噸绠?*/
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--bg-canvas);
  position: relative;
  /* clip 鑰岄潪 hidden锛氬悓涓婏紝閬垮厤鎶婂鍣ㄥ彉鎴愬浣欑殑锛堢┖锛夋粴鍔ㄥ眰 */
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border-radius: 0;
  border: none;
}

/* 椤甸潰鍐呭鍖猴細鐪熸鐨勬粴鍔ㄨ€呮槸 document锛堣鍙ｏ級锛屾湰灞傚苟涓嶆粴鍔ㄣ€?   鍘嗗彶涓婅繖閲屽啓浜?overflow-y:auto + -webkit-overflow-scrolling:touch锛?   浣挎湰灞傛垚涓轰竴灞傘€屾案杩滀笉浼氭粴鍔ㄧ殑婊氬姩瀹瑰櫒銆嶏紝绉诲姩绔瘡灞傚悇鎸佺嫭绔嬪悎鎴?backstore锛?   婊氬姩鏃跺弽澶嶉噸鏍呮牸 鈫?銆屼竴闂竴闂€嶃€傛晠鏈眰涓嶅啀浜х敓婊氬姩瀹瑰櫒銆?*/
.app-screen-body {
  flex: 1;
  overflow: visible;
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

/* scroll-snap 璁╀竴娆?fling 婊戝姩鑷姩瀹氫綅鍒颁笅涓€灞忥紙灞?1 / 灞?2 / 灞?3 / MY COLLECTION锛?   鍏抽敭锛歴nap 蹇呴』鎸傚湪婊氬姩瀹瑰櫒锛坉ocument = html锛変笂鎵嶆湁鎰忎箟锛涗笉鑳芥寕鍦?.app-screen-body锛?   鍚﹀垯浼氶噸鏂版垚涓烘粴鍔ㄥ鍣紝瑙﹀彂浠诲姟 A 宸蹭慨杩囩殑銆屼竴闂竴闂€嶃€?   - 鐢?proximity锛堝氨杩戝惛闄勶級鑰岄潪 mandatory锛堝己鍒跺惛闄勶級锛?     灞?2/灞?3 涓虹揣鍑戝竷灞€锛坢in-height: auto锛岃 L510/L524锛夛紝鍏?snap 钀界偣浼氳
     娴忚鍣ㄩ挸鍒跺埌 maxScroll锛屼笌灞?1 钀界偣(0) 涔嬮棿褰㈡垚銆屾鍖恒€嶏紱
     mandatory 涓嬩换鎰忓皬鐨勬粦鍔ㄩ兘浼氳涓€娆℃€у脊鍒?maxScroll 鈫?銆屽欢杩?+ 鍗￠】銆嶃€?     proximity 鍙湪婊戝姩鎺ヨ繎鍚搁檮鐐规椂杞昏交褰掍綅锛屾粦鍔ㄩ噺涓庢墜鍔挎垚姝ｆ瘮锛屾秷闄ゅ己鍒惰烦鍙樸€?   - 涓嶅啀澹版槑 scroll-snap-stop锛氬畠鍙 snap area锛堝瓙鍏冪礌锛夋湁鏁堬紝鍐欏湪婊氬姩瀹瑰櫒 html 涓?     鏈氨涓嶇敓鏁堬紱鑻ョЩ鍒板瓙鍏冪礌鍙嶈€屼細鍦?proximity 涓嬪己鍒舵埅鍋滀骇鐢熸柊鐨勮烦鍙樸€?*/
html.page-home-snap {
  /* 2026-10-15 鐢ㄦ埛鍙嶉锛氶椤典笉瑕佺鍚革紙涓婁笅婊戝姩琚惛闄勫綊浣嶅緢闅惧彈锛夆啋 鍏抽棴绾靛悜 snap銆?     瀛愬厓绱犱笂鐨?scroll-snap-align 鍦ㄦ棤 snap 瀹瑰櫒鏃朵笉鐢熸晥锛屾棤闇€涓€璧峰垹銆?*/
  scroll-snap-type: none;
}

.home-screen {
  scroll-snap-align: start;
}

/* ==========================================================================
   iOS 鍘熺敓纾ㄧ爞鐜荤拑瀵艰埅鏍?(Navigation Bar / Header)
   ========================================================================== */
.app-top-header {
  /* 鍙傝€冨井淇″皬绋嬪簭瀵艰埅鏍忓竷灞€锛氱姸鎬佹爮楂樺害浜ょ粰绯荤粺瀹夊叏鍖猴紙env锛夛紝
     鍐呭鍖虹嫭绔嬪姞楂樺埌 52px锛孡OGO/璐墿琚嬪湪鍏跺唴鍨傜洿灞呬腑鈥斺€?     鑳跺泭寮忓懠鍚告劅锛?0px logo 涓婁笅鍚勭暀 16px锛屼笉鍐嶈创杈瑰彂鎸?*/
  height: calc(52px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--sp-4) 0 var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  /* LOGO 濮嬬粓缃《锛坰ticky 鍚搁檮瑙嗗彛椤讹級銆傛樉绀哄舰寮?2锛氭暣鏉″疄搴曗€斺€?     娴呰壊椤甸潰鐧藉簳榛戞爣銆佹繁鑹查〉闈㈤粦搴曠櫧鏍囷紙璺熼殢 --bg-canvas 鏃ュ鍒囨崲锛夈€?     褰㈠紡 1锛堝鏉傚鑹茬収鐗囪儗鏅?鈫?鏃犲簳鑹?+ 鎸夊浘娣辨祬鍙栭粦鐧芥爣锛夎涓嬫柟 page-home 瑕嗙洊鍧?*/
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: none;
  background: var(--bg-canvas);
  color: var(--color-label);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* 棣栭〉灞?1锛歨eader fixed 鎮诞鍦ㄨ疆鎾収鐗囦笂锛堜笉鍗犳枃妗ｆ祦锛岀収鐗囬《鍒伴〉椤讹級锛屾樉绀哄舰寮?1锛?   鏃犲簳鑹诧紱榛樿鐓х墖涓烘殫鑹茶皟 鈫?鐧芥爣鐧藉瓧銆傛粴杩囧睆 1 鍚庡姞 .is-solid 鈫?鍥炲綊褰㈠紡 2 瀹炲簳 */
body.page-home .app-top-header {
  position: fixed;
  left: 0;
  right: 0;
  /* 2026-11-07 用户反馈「顶部栏错位」：fixed 不能铺满视口。
     内容容器 .mobile-app-container 是居中的（手机/平板 max-width 480，桌面 max-width 1440），
     顶栏若 left:0/right:0 就会跑到容器栅格之外（1920 下 logo 在 x=48，而内容从 x=288 起）。
     这里用 max-width + auto 外边距把 fixed 顶栏钉到与容器同宽、同中线。
     桌面 1440 的覆盖写在 @media (min-width: 900px) 里，与 .mobile-app-container 同源。 */
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  color: #FFFFFF;
  border-bottom: none;
}

/* 鐓х墖涓婏紙鏈疄搴曪級锛氱櫧鏍?+ 鐧藉瓧 */
body.page-home .app-top-header:not(.is-solid) .dinerbox-brand-logo {
  filter: invert(1);
  image-rendering: crisp-edges;
}

body.page-home .app-top-header:not(.is-solid) :is(.desktop-nav-link, .desktop-nav-lang, .desktop-nav-cart) {
  color: #FFFFFF;
}

/* 鍚庡彴閰嶇疆褰撳墠杞挱鍥句负娴呰壊鍥撅紙.is-light-photo锛夆啋 鐓х墖涓婁篃鐢ㄩ粦鏍囬粦瀛楋紙鎸夎儗鏅繁娴呭垽鏂級 */
body.page-home .app-top-header.is-light-photo {
  color: var(--color-label);
}

body.page-home .app-top-header.is-light-photo .dinerbox-brand-logo {
  filter: none;
}

body.page-home .app-top-header.is-light-photo :is(.desktop-nav-link, .desktop-nav-lang, .desktop-nav-cart) {
  color: var(--color-label);
}

/* 婊氳繃灞?1锛?is-solid锛夆啋 瀹炲簳鍥炲綊榛樿閰嶈壊锛沴ogo 涓嶅啓 filter锛?   鏃ラ棿鍘熻壊榛戞爣锛屽闂寸敱娣辫壊鍧?.dinerbox-brand-logo 缁熶竴 invert 鎴愮櫧鏍?*/
body.page-home .app-top-header.is-solid {
  background: var(--bg-canvas);
  color: var(--color-label);
}

.dinerbox-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.dinerbox-brand-logo {
  height: 20px;
  width: auto;
  display: block;
}

/* 2026-10-21锛氫竴搴︽妸澶撮儴鏀规垚鍙樉绀虹洅褰㈠浘鏍囷紙.dinerbox-brand-icon 鏀惧ぇ鍒?24px锛夛紝
   鐜版寜鐢ㄦ埛瑕佹眰杩樺師鎴?DiNERBOX 鍏ㄧО瀛楁爣 鈥斺€?瀛楁爣鏈韩鏄?105x20 鐨勬í骞咃紝
   鐢ㄧ粺涓€楂樺害 20px锛屼笉鍐嶅彔鍔犲浘鏍囬偅濂楁斁澶э紙鍚﹀垯瀛楁爣浼氳鎷夐珮鍙樺舰锛夈€?   .dinerbox-brand-icon 杩欎釜淇グ绫讳繚鐣欏湪 HTML 涓婏紝姝ゅ涓嶅啀缁欏畠棰濆灏哄銆?*/
.dinerbox-brand-logo.dinerbox-brand-icon {
  height: 20px;
}

/* ==========================================================================
   棣栭〉 4 灞忔暣灞忓垎椤碉紙灞?1 杞挱 / 灞?2 鐢ㄦ埛鍚嶈繘搴?/ 灞?3 NFC / 灞?4 MY COLLECTION锛?   - 缁熶竴楂樺害 100svh锛岄棿璺?0锛涘叏閮ㄥ浐瀹氭瘮渚嬶紝涓嶅啀琚唴瀹?瀛楀彿/瑙嗗彛鍔ㄦ€佽皟鑺?   - 鏁撮〉鏄?document 婊氬姩锛?app-screen-body 涓嶅啀浜х敓鑷繁鐨勬粴鍔ㄥ鍣紝鍙傝 L256 娉ㄩ噴锛夛紝
     鏁呮瘡灞忓潎鏃?swap/transform锛屽弬涓?浠诲姟 A 宸蹭慨杩囩殑銆屾粴鍔ㄩ棯鐑併€嶆棤鍏?   ========================================================================== */
.home-screen {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* 鍚勫睆鍐呭椤堕儴瀵归綈锛氱敤鎴疯姹?NFC / MY COLLECTION 鏍囬涓婃柟闂磋窛灏忎竴鐐癸紝
     涓嶈兘鍐嶈 flex justify-content: center 鎶婂唴瀹瑰瀭鐩村眳涓紙浼氭拺鍑哄ぇ娈电┖鐧斤級銆?     灞?1锛堣疆鎾級鏈変笓闂ㄧ殑 .screen-hero 鍐呴儴甯冨眬锛屼笉浼氬彈褰卞搷銆?*/
  justify-content: flex-start;
}

/* 灞?1锛氭弧灞忚疆鎾浘锛堝弬鑰?Mandarin Oriental 棣栧睆锛氬浘閾烘弧 + 涓笅鏂规诞灞?+ 搴曢儴鍦嗙偣鎸囩ず鍣級
   - 灞忛珮 = 100svh锛氬浘鐩存帴鍋氬埌灞忛《锛岄《閮ㄤ笉棰勭暀椤舵爮绌洪棿锛堥《鏍忛€忔槑鍙犲湪鍥句笂锛?   - 褰撳墠鐢ㄧ函鑹插崰浣嶏紙鐢ㄦ埛鍏堢敤绾壊鍋氾紝鏈潵鐩存帴鎹㈡垚鍥?URL 鍗冲彲锛?   - 娴眰锛堢敤鎴峰悕杩涘害鏉?+ How to Enjoy 鍏ュ彛锛塧bsolute 瀹氫綅鍒板睆搴曞亸涓紝涓庡弬鑰冨浘涓€鑷?   - 鍦嗙偣鎸囩ず鍣?absolute 瀹氫綅鍒板睆鏈€搴曢儴
   - 鍥哄畾姣斾緥锛氳儗鏅壊涓庡睆楂樻槸 100svh锛屾墍鏈?padding/margin 鍏ㄩ儴鍥哄畾 px */
.screen-hero {
  position: relative;
  background: var(--bg-canvas);
  overflow: hidden;
  /* 鐢ㄦ埛 2026-10-15锛氱涓€灞忥紳鏁村睆搴曞浘锛堝叏灞忔捣鎶ワ級锛岄珮搴﹂攣涓€灞忋€?     2026-10-24 鐢ㄦ埛鍙嶉锛氶《閮ㄧ殑杞挱鍥?绔犺妭灏侀潰搴旇鐩存帴璐撮《锛屼笉瑕佺暀鐧姐€?     鍘熸潵 height: 100svh 鍦?flex 瀹瑰櫒閲屼細瀵艰嚧楂樺害璁＄畻鍋忕Щ锛岄《閮ㄥ嚭鐜扮┖鐧姐€?     鏀逛负 height: 100%锛岃瀹冪揣璐村湪 .app-top-header 涓嬫柟锛屼笉鐣欎换浣曠┖鐧姐€?*/
  height: calc(100svh - 52px - env(safe-area-inset-bottom, 0px));
  min-height: calc(100svh - 52px - env(safe-area-inset-bottom, 0px));
}

/* 杞挱鑳屾櫙灞傦細5 寮犳捣鎶?absolute 鍙犳斁锛屾瘡 4.5s fade 鍒囨崲銆?   fade 鐢?opacity 杩囨浮锛堜笉鐢?transform锛夛紝涓嶉噸鏂拌Е鍙戜换鍔?A 宸蹭慨杩囩殑銆屾粴鍔ㄩ棯鐑併€?*/
.screen-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.screen-hero-bg-slide {
  position: absolute;
  inset: 0;
  /* 鐢ㄦ埛 2026-10-15锛氬簳鍥?*鍏ㄥ睆 9:16 閾烘弧**銆?     娴锋姤鍥惧悗缁細鎹㈡垚 9:16 鐗堬紱鐜伴樁娈垫槸 3:4 鏃у浘锛宑over 浼氬乏鍙宠涓€鐐癸紙鐢ㄦ埛宸茬‘璁ゅ彲鎺ュ彈锛夈€?     鎹㈠浘鍚庢棤闇€鍐嶅姩杩欓噷銆?*/
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
  pointer-events: none;
}

.screen-hero-bg-slide.is-active {
  opacity: 1;
}

/* 棣栭〉灞?1 鐨勫帇鏆楀眰锛屼袱娈垫笎鍙樺彔鍦ㄤ竴璧凤細
   鈶?椤堕儴锛氬帇涓€灞傛贰鏆楋紝淇濊瘉宸︿笂瑙?LOGO 鍦ㄦ祬鑹叉捣鎶ヤ笂浠嶅彲璇伙紙鍘熸湁锛?026-10-15锛?   鈶?搴曢儴锛?*搴曞浘鍚戜笅娓愰殣**锛堢敤鎴?2026-10-16 瑕佹眰鎭㈠锛夈€?      娓愰殣鐩爣鍙?var(--bg-canvas)锛屽嵆銆屽寲杩涢〉闈㈡湰韬殑搴曡壊銆嶈€屼笉鏄啓姝绘煇涓鑹诧細
      娣辫壊妯″紡涓嬩笌搴曢儴鐨勯粦搴曠偣闃靛崱鐗囨棤缂濊鎺ワ紱娴呰壊妯″紡涓嬪垯鑷劧杩囨浮鍒扮櫧鑹查〉闈㈠簳銆?      褰撳勾 10-15 鍘绘帀搴曢儴娓愰殣鏄洜涓哄綋鏃跺簳閮ㄦ槸娉涚櫧鐨勭増闈紱鐜板湪搴曢儴宸叉槸榛戝簳鐐归樀锛?      鍚屾牱鐨勬笎闅愬弽鑰屾垚浜嗚鎺ユ墜娈碉紝鎵€浠ュ彲浠ュ姞鍥炴潵銆?*/
.screen-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.30) 0%,
      rgba(0, 0, 0, 0.12) 9%,
      rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top,
      var(--bg-canvas) 0,
      color-mix(in srgb, var(--bg-canvas) 70%, transparent) calc(var(--hero-fade-h, 40px) * 0.42),
      transparent var(--hero-fade-h, 40px));
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   鍘熴€屽睆 1 娴姩 VIEW 鎸夐挳銆嶅凡浜?2026-10-16 闅忔寜閽湰韬竴璧风Щ闄わ紝
   浼氬憳鍗′笌 HOW TO ENJOY 鏀逛负鐩存帴娴湪鐓х墖搴曢儴锛堣涓嬫柟 .screen-hero-overlay锛夈€?
   娉細index.html 鐨?updateHomeHeader() 閲屼粛鏈夊彇 #heroViewBtn 鐨勫垎鏀紝
   鍏冪礌宸蹭笉瀛樺湪鎵€浠ヨ蛋 if (vb) 涓?false 鐨勭┖鍒嗘敮锛屽睘鏃犲娈嬬暀锛?   heroViewInk() / pickViewInk() 鐨勪寒搴︾綉鏍奸€昏緫淇濈暀锛屽皢鏉ュ姞鍥炴诞鍔ㄦ帶浠跺彲鐩存帴澶嶇敤銆?   ========================================================================== */

/* ==========================================================================
   灞?1 搴曢儴娴眰锛堜細鍛樺崱 + HOW TO ENJOY锛?   鈥斺€?鐢ㄦ埛 2026-10-16 鏀圭増锛歏IEW 鎸夐挳绉婚櫎锛岃繖涓ゅ潡浠庣浜屽睆鎼洖鐓х墖搴曢儴銆?   涓ゅ潡閮芥槸涓嶉€忔槑鐧藉崱鐗囷紝鍘嬪湪浠绘剰娣辨祬鐨勭収鐗囦笂閮借寰楁竻锛?   鎵€浠?.screen-hero-fade 鍙渶瑕佸湪椤堕儴鍘嬩竴灞傜粰 LOGO 鐢紝涓嶅繀鍐嶅姞搴曢儴娓愬彉銆?   ========================================================================== */
.screen-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  /* 12px 鈫?8px锛?026-10-16 鐢ㄦ埛鍙嶉銆屽線涓嬫尓涓€鐐圭偣锛屽拰 how to enjoy 鐨勯棿璺濆皬涓€鐐广€嶏級銆?     娴眰鏄?bottom 閿氬畾鐨勶紝缂╁皬闂磋窛鏁村潡浼氳嚜鍔ㄤ笅绉伙紝姝ｅソ涓€绠弻闆曘€?*/
  gap: var(--sp-2);
  /* 2026-10-24 用户要求：
     · 手机端：第一屏满屏轮播图，卡片/圆点浮在「底部菜单栏上方」，
       所以要留出底栏高度 52px + 安全区 + 12px 呼吸位。
     · 桌面端：轮播图缩短为 72svh（让 ACTIVATION 更靠上），
       底栏不压轮播图，间距收到 12px（见文件末尾 min-width:900px 覆盖）。
     两层值都写在 .screen-hero-overlay 上，下面媒体查询里覆盖桌面。 */
  padding: 0 var(--gutter) var(--sp-3) var(--gutter);
  box-sizing: border-box;
  /* 瀹藉睆涓嶆媺浼革細涓庣浜屽睆 .screen-member-inner 鍚屼笂闄愶紝鎵嬫満涓婂氨鏄弧瀹藉噺涓や晶鐣欑櫧 */
  max-width: 520px;
  margin: 0 auto;
  pointer-events: none;
}

/* 娴眰閲屼袱鍧楃瓑瀹斤紙鍐呴儴鍏冪礌鎭㈠鍙偣锛岄伩鍏嶆暣鍧楄 pointer-events:none 鍚冩帀鐐瑰嚮锛?*/
.screen-hero-overlay .home-profile-card,
.screen-hero-overlay .about-entry-card {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  pointer-events: auto;
}

/* 鐓х墖涓婄殑 HOW TO ENJOY锛氫笌浼氬憳鍗″悓璇█锛堢櫧搴曞崱鐗?+ 娴呯伆鎻忚竟锛?*/
.screen-hero-overlay .about-entry-card {
  background: var(--bg-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: 13px var(--sp-5);
  min-height: 48px;
  color: var(--color-label);
}

.screen-hero-overlay .about-entry-card .about-entry-title {
  color: var(--color-label);
}

.screen-hero-overlay .about-entry-card .about-entry-ico {
  border: var(--bw) solid var(--line-mid);
}

.screen-hero-overlay .about-entry-card .about-entry-ico svg {
  color: var(--color-label);
}

/* ==========================================================================
   灞?2锛欰CTIVATION 鍗＄爾 + MY COLLECTION锛堟甯告祦甯冨眬锛?   ========================================================================== */
.screen-member {
  justify-content: flex-start;
  gap: 0;
  /* 椤堕儴鍥哄畾 header 楂?52px锛?.app-top-header 鍚屾簮锛変笖甯︾櫧鑹插簳銆亃-index:50锛?     婊氬埌绗簩灞忔椂浼氭妸绗竴涓澘鍧楀帇鎺変竴鎴紙瀹炴祴琚伄 8px锛夈€?     鎵€浠ヤ笂杈硅窛鐩存帴鎸?header 楂樺害 + 涓€鐐瑰懠鍚镐綅鏉ョ畻锛屾暣灞忓唴瀹逛笉浼氬啀琚帇浣忋€?*/
  /* 2026-10-24 鐢ㄦ埛鍙嶉銆孉CTIVATION 涓婃柟鐨勭┖鐧借繕鏄お澶氥€嶏細
     椤堕儴鍐呰竟璺濇鍓嶆槸 52 + 4 = 56px锛屼粛鐣欏嚭涓€鏉℃槑鏄剧殑鐧藉甫銆?     鐜板湪鐩存帴瀵归綈鍥哄畾 header 鐨?52px锛堜笉鍐嶉澶栧姞鍛煎惛浣嶏級锛?     鏍囬绱ц创 header 涓嬫部锛涘簳閮ㄤ繚鎸?12px銆?*/
  /* 2026-10-24 用户要求：ACTIVATION 上方加回一点点内边距（8px）。 */
  padding: var(--sp-4) var(--gutter) var(--sp-3) var(--gutter);
  background: var(--bg-canvas);
  box-sizing: border-box;
  min-height: 100svh;
}

.screen-member-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  width: 100%;
  /* 瀹藉睆涓嶆媺浼革細涓婇檺鍐呮敹绐勫苟灞呬腑锛堟墜鏈轰笂灏辨槸婊″鍑忓幓 --gutter 鐨勪袱渚х暀鐧斤級 */
  max-width: 520px;
  margin: 0 auto;
}

/* 绗簩灞忓唴鐨勬澘鍧楋細涓?.home-profile-card 鐢ㄥ悓涓€濂楀乏鍙崇暀鐧斤紝淇濊瘉绛夊銆?   锛?home-profile-card 涓?.about-entry-card 宸蹭簬 2026-10-16 绉诲洖绗竴灞忔诞灞傦紝
   瀹冧滑鐨勬牱寮忔敼鐢变笂闈㈢殑 .screen-hero-overlay 瑙勫垯鎺ョ锛岃繖閲屼笉鍐嶉噸澶嶅畾涔夈€傦級 */
.screen-member .latest-moment-block,
.screen-member .my-collection-section {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

/* 鍦嗙偣鎸囩ず鍣ㄧ殑鏍峰紡銆傚鍣ㄥ厓绱?.screen-hero-dots 鐩墠鍦?index.html 閲岀己澶憋紝
   鎵€浠ュ渾鐐瑰疄闄呬笉娓叉煋锛堟棦鏈夐仐鐣欓棶棰橈級锛涘皢鏉ユ妸瀹瑰櫒鍔犲洖鏉ュ嵆鍙洿鎺ョ敓鏁堛€?*/
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.35);
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot.is-active {
  background: var(--color-label, #111111);
  width: 18px;
  border-radius: 999px;
}

/* 鍦嗙偣鎸囩ず鍣ㄥ湪娴眰鍐呯殑瀹瑰櫒锛氭按骞冲眳涓紝绱ц窡 how-to 涓嬫柟锛屼笌涓嬫柟鍗?杈撳叆妗嗙暀 8px gap */
/* 杞挱鍦嗙偣鎸囩ず鍣細鐢ㄦ埛 2026-10-15 瑕佹眰绉诲埌娴眰**鍙充笂瑙?*骞惰繘涓€姝ラ檷浣庨€忔槑搴?   锛堝師鏉ユ槸鍦ㄤ袱寮犲崱鐗囦笂鏂瑰眳涓€佺伆鑹?0.35锛夈€?*/
.screen-hero-dots {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.screen-hero-dots .hero-dot {
  background: rgba(128, 128, 128, 0.2);
}

.screen-hero-dots .hero-dot.is-active {
  background: rgba(34, 34, 38, 0.42);
}

/* 娴眰閲岀殑鍦嗙偣锛?026-10-16 琛ュ洖 .screen-hero-dots 瀹瑰櫒鏃朵竴骞堕€傞厤閰嶈壊锛夈€?   涓婇潰鐨?rgba(34,34,38,.42) 鏄负鐧藉簳娴眰鍐欑殑娣辫壊锛涚幇鍦ㄥ渾鐐硅惤鍦ㄦ繁鑹插崱鐗囦笂锛?   鍑犱箮鐪嬩笉瑙併€傛敼鐢?currentColor + opacity锛歝olor 缁ф壙 var(--color-label)锛?   娴呰壊涓婚鑷姩鏄繁鑹茬偣銆佹繁鑹蹭富棰樿嚜鍔ㄦ槸娴呰壊鐐癸紝涓ゅ涓婚閮戒笉鐢ㄥ啓姝汇€?   閫夋嫨鍣ㄥ埢鎰忓甯︿竴灞傜被鍚嶏紙0,3,0 / 0,4,0锛夊帇杩囦笂闈㈢殑 (0,2,0 / 0,3,0)锛屼笉渚濊禆涔﹀啓椤哄簭銆?*/
.screen-hero-overlay .screen-hero-dots .hero-dot {
  background: currentColor;
  opacity: 0.30;
}

.screen-hero-overlay .screen-hero-dots .hero-dot.is-active {
  background: currentColor;
  opacity: 0.95;
  width: 18px;
  border-radius: 999px;
}

/* 鍦嗙偣琛岋細鍘嬩綇瑙︽帶鍖猴紝鍒瀹冮《鍒?tab bar锛涚偣瀹冨彲璺宠浆鍒板搴旈偅寮?*/
.screen-hero-overlay .screen-hero-dots {
  justify-content: center;
  padding: 2px 0 0;
  cursor: pointer;
}

/* 灞呬腑 hero logo 宸茬Щ闄わ紙鐢ㄦ埛瑕佹眰 LOGO 鏀惧洖宸︿笂瑙?header锛屼笌鍏朵粬椤电湁涓€鑷达級 */

/* 绗簩灞忓唴鐨?ACTIVATION 鍧楋紙鍘熴€屽睆 2锛歂FC 鏉垮潡銆嶏紝鐜板苟鍏?.screen-member锛夈€?   - 瑕嗙洊 .latest-moment-block 鐨?min-height: 100svh 榛樿鍊硷紝鍚﹀垯浼氬悇鍗犱竴鏁村睆
   - 涓庝笂鏂?How to Enjoy 鍗＄墖鐣欏嚭姝ｅ父闂磋窛 */
.screen-member .latest-moment-block {
  /* 2026-10-24 鐢ㄦ埛鍙嶉銆孉CTIVATION 涓婃柟鐨勭┖鐧借繕鏄お澶氥€嶏細
     瀹冩槸鏈睆绗竴涓澘鍧楋紝涓婃柟涓嶉渶瑕侀澶栧杈硅窛锛坔eader 宸茬敱鐖剁骇 padding 璁╁紑锛夈€?*/
  margin-top: 0;
  min-height: auto;
}

/* 绗簩灞忓唴鐨?MY COLLECTION 鍧楋紙鍘熴€屽睆 3銆嶏紝鐜板苟鍏?.screen-member锛?*/
.screen-member .my-collection-section {
  /* 2026-10-24锛氬簳閮ㄧ暀鐧借繃澶?鈫?涓婃柟 24px 鏀跺埌 12px锛屽簳閮ㄥ啀鏀?8px */
  margin-top: var(--sp-3);
  min-height: auto;
  padding-bottom: var(--sp-2);
}

/* ==========================================================================
   iOS Inset Grouped 鍗＄墖椋庢牸 (Profile & Challenge - Exact match to HOME2.svg: width: 350, height: 152, rx: 6)
   ========================================================================== */
.home-profile-card {
  width: auto;
  background-color: var(--bg-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  margin: var(--sp-3) var(--gutter) 0;
  padding: var(--card-pad);
  box-shadow: none;
  position: relative;
}

.profile-user-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.profile-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--inv-bg);
  color: var(--inv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--fs-body);
  flex-shrink: 0;
  box-shadow: none;
}

.profile-user-info {
  display: flex;
  flex-direction: column;
}

.profile-user-name {
  font-family: var(--font-sans);
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--color-label);
  letter-spacing: 0px;
  line-height: 1.25;
}

.profile-status-badge.collector {
  background-color: var(--inv-bg);
}

/* 100 Moments 杩涘害鏉?(Exact match to HOME2.svg: track width 330, height 7, fill 114) */
.challenge-progress-section {
  margin-top: var(--sp-4);
}

.challenge-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--color-label);
  margin-bottom: var(--sp-2);
  letter-spacing: 0px;
}

.challenge-milestone-track-wrap {
  position: relative;
  width: 100%;
  height: 16px;
  display: flex;
  align-items: center;
  margin: var(--sp-2) 0 var(--sp-2) 0;
  cursor: pointer;
}

.challenge-track {
  width: 100%;
  height: 7px;
  background-color: var(--line-heavy);
  border-radius: var(--r-pill);
  overflow: hidden;
  position: relative;
}

.challenge-fill {
  height: 100%;
  background-color: var(--inv-bg);
  border-radius: var(--r-2xs);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 妗岄潰绔笓灞為〉鑴氾紙鐗堟潈 + ICP 澶囨鍗犱綅锛夛細鎵嬫満绔殣钘忥紝浠呯數鑴戠鍦ㄥ唴瀹规渶搴曢儴鏄剧ず */
.desktop-footer {
  display: none;
}

/* 杞ㄩ亾涓婄殑鍐呭祵鑺傜偣锛氫簲涓妭鐐瑰昂瀵哥粺涓€锛堢敤鎴疯姹傚ぇ灏忎竴鑷达級锛涙鍓?25/50/75 涓哄ぇ涓€鍙峰鐗屽渾鐗岋紝
   鐜颁繚鐣?node-medal 绫诲悕锛堣揪鎴愭€侀€昏緫浠嶆寜閲岀▼纰戝尯鍒嗭級锛屼粎灏哄/瀛楀彿鍏ㄩ儴璺熼殢鍩虹鑺傜偣 */
.milestone-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 24px;    /* 2026-10-17锛氬師鍦嗙偣 -> 妯澘锛堢洅瀛愶級 */
  height: 12px;
  padding: 0 var(--sp-1);
  box-sizing: border-box;
  border-radius: 3px;
  /* 鏈揪鎴愯妭鐐癸細瀹炶壊鐏板簳娣辩伆瀛楋紙涓嶈鐧藉簳锛涗篃涓嶈兘鐢?rgba 鍗婇€忔槑鐏帮紝浼氶€忓嚭涓嬮潰鐨勮繘搴︽潯锛?*/
  background-color: var(--line);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.milestone-node.reached {
  background-color: var(--inv-bg);
  box-shadow: none;
}

.milestone-node .node-label {
  color: var(--color-secondary-label);
  font-size: var(--fs-3xs);
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1;
  letter-spacing: 0;
}

/* 宸茶揪鎴愯妭鐐规槸鍙嶈壊搴曪紝鏁板瓧璺熷弽鑹插墠鏅紱鏈揪鎴愯妭鐐规槸鐏板簳锛屾暟瀛楃敤甯歌鍓嶆櫙 */
.milestone-node.reached .node-label {
  color: var(--inv-ink);
}

/* 鍗婂渾閲岀▼纰戜华琛細浠呮闈㈢鍚敤锛堟墜鏈虹娌跨敤涓婇潰鐨勭嚎鎬ц建閬擄級 */
.challenge-gauge-wrap {
  display: none;
}

/* 妗岄潰浠ｇ爜澧欒儗鏅敾甯冿紙鎵嬫満绔竴寰嬮殣钘忥紝JS 鍐呴儴涔熸寜鏂偣鍚仠锛?*/
.hero-code-canvas {
  display: none;
}

/* ==========================================================================
   iOS 椋庢牸鍖哄潡鏍囬涓?Segmented Control 鑽父鍒囨崲
   ========================================================================== */
/* 2026-10-16 鐢ㄦ埛鍙嶉锛欰CTIVATION 绛?h2 鏍囬宸﹀彸鍚?20px padding锛?   瑙嗚涓婃病鍜?HOW TO ENJOY 杩欑被**鍗＄墖瀹瑰櫒**鐨勫乏杈圭紭瀵归綈锛堝鍣ㄥ湪 x=20锛屾枃瀛楄鎺ㄥ埌 x=40锛夈€?   鍘绘帀宸﹀彸 padding锛岃鎵€鏈?h2 鏍囬鏂囧瓧涓庡崱鐗囧妗嗛綈骞炽€?   娉ㄦ剰鍙姩涓婁笅鍐呰竟璺濓紝鍨傜洿鑺傚淇濇寔鍘熸牱銆?*/
.section-title-wrap {
  padding: var(--sp-1) 0 var(--sp-2) 0;
}

.section-main-title {
  font-family: var(--font-sans);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-label);
  letter-spacing: 0px;
  line-height: 1.5;
}

/* 妗岄潰棣栭〉鏍囪锛堜粎鐢佃剳鐗?hero 鏄剧ず锛屾墜鏈虹闅愯棌锛?*/
.home-hero-slogan {
  display: none;
}

/* ABOUT US 鍏ュ彛鍗★紙棣栭〉 My Collection 涓嬫柟锛氬叏绔欏敮涓€榛戝崱鍏ュ彛锛孨FC 闆疯揪鍥炬爣 + 鏂囨灞傜骇 + 鍦嗗舰绠ご锛?   鎵嬫満绔偣鍑诲脊銆岀帺娉曘€嶅簳閮ㄩ潰鏉匡紱鐢佃剳鐗堢洿杈?about 鍒嗗尯

    杩欏紶鍗¤嚜宸辨槸 .dbx-dot-surface锛堥粦搴曠偣闃碉級锛岃€屼笅闈?.about-entry-* 鐢ㄧ殑鏄?     --inv-ink / --inv-ring 杩欑粍銆屽弽鑹层€嶅彉閲忋€傜偣闃甸潰鎶婂畠浠炕鎴愪簡**娣卞瓧**锛堥粦搴曚笂
     鏈濡傛锛夛紝浣嗚繖寮犲崱娌℃湁鍚勮嚜鐨勬祬鑹插簳鏉ユ墭浣?鈥斺€?缁撴灉鏄繁瀛楀帇榛戝簳锛?     绠ご 鈥?鐨勫疄娴嬪姣斿害鍙湁 1.05锛岀瓑浜庡畬鍏ㄧ湅涓嶈銆?     鎵€浠ヨ繖閲屾樉寮忔妸鍗″唴涓変釜鍏冪礌閽夋垚鐐归樀闈㈢殑娴呰壊锛?-dot-ink锛夈€?*/
.about-entry-card.dbx-dot-surface .about-entry-ico,
.about-entry-card.dbx-dot-surface .about-entry-title,
.about-entry-card.dbx-dot-surface .about-entry-arrow {
  color: var(--dot-ink);
}

/* 鍦嗘爣涓庣澶寸殑澶栧湀锛?-inv-ring 鍦ㄧ偣闃甸潰閲屾槸娣辫壊锛岄粦搴曚笂鍚屾牱绯婃帀 */
.about-entry-card.dbx-dot-surface .about-entry-ico,
.about-entry-card.dbx-dot-surface .about-entry-arrow {
  border-color: rgba(255, 255, 255, 0.22);
}

.about-entry-card.dbx-dot-surface .about-entry-ico svg {
  color: var(--dot-ink);
}

.about-entry-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  /* 涓ょ涓庝笂鏂圭増蹇冨榻愶紙section-title-wrap 鍚屼负 20px 杈硅窛锛夛紝涓嶅啀椤舵弧灞忓箷锛?     涓婅竟璺?8px锛氫笂鏂瑰崱鐗囧尯鑷甫 16px 搴曢儴鐣欑櫧锛屽彔鍔犲悗鎬婚棿璺濈害 24px锛屼笌鍏ㄧ珯鏉垮潡鑺傚涓€鑷?*/
  margin: var(--sp-1) var(--gutter) 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: var(--bw) solid var(--inv-ring);
  border-radius: var(--radius-card);
  text-decoration: none;
  cursor: pointer;
}

/* 宸︿晶 NFC 闆疯揪鍦嗘爣锛氱粏绾垮悓蹇冨姬锛屼笌鍗￠潰 NFC 闆疯揪鍚岃瑷€ */
.about-entry-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: var(--bw) solid var(--inv-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-entry-ico svg {
  width: 16px;
  height: 16px;
  color: var(--inv-ink);
}

.about-entry-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.about-entry-title {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0px;
  color: var(--inv-ink);
}

.about-entry-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: var(--bw) solid var(--inv-ring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--inv-ink);
  transition: transform 0.25s ease;
}

/* iOS Segmented Control 鑽父鑳跺泭 (楂?23px, 绱у噾绮捐嚧 padding) */
.filter-pills-row {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.pill-btn {
  height: 23px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-cap);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  border: 0.5px solid var(--line-mid);
  background-color: transparent;
  color: var(--color-label);
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
  line-height: 1;
}

.pill-btn.active {
  background-color: var(--inv-bg);
  color: var(--inv-ink);
  border-color: var(--ink-strong);
  font-weight: 600;
  box-shadow: none;
}

.pill-btn.outline {
  background-color: transparent;
  border: 0.5px solid var(--line-mid);
  color: var(--color-label);
  gap: var(--sp-1);
}

/* ==========================================================================
   Apple App Store / Music 椋庢牸鍗＄墖妯悜杞挱 (Zero Jank, 120Hz ProMotion)
   ========================================================================== */
.carousel-scroll-area {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--sp-3) var(--sp-5) var(--sp-5) var(--sp-5);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: pan-x;
}

/* LATEST MOMENT 鏉垮潡锛氫笌 MY COLLECTION 缁熶竴鑺傚
   鍗犳弧鏁村睆锛堢Щ鍔ㄧ涓€灞忎竴鏉垮潡锛夛紝鍐呭绾靛悜灞呬腑锛涙澘鍧楅棿璺濈敱 --section-gap 鎺у埗 */
.latest-moment-block {
  margin-top: var(--section-gap);
  min-height: var(--section-min-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Featured Card & Collection Cards (Exact 1:1 match to HOME2.svg: 208px x 330px, rx=5px) */
.featured-card-wrapper {
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-5);
  display: flex;
  justify-content: center;
}

.featured-card-brick {
  width: var(--nfc-card-w);
  height: var(--nfc-card-h);
  /* 鍥哄畾灏哄锛屼笉琚?flex 瀹瑰櫒鍘嬬缉锛堢敤鎴疯姹傦細灏哄鎭掑畾銆佷笉鍔ㄦ€佺缉鏀撅級 */
  flex-shrink: 0;
  position: relative;
  /* 涓?SVG 澶栨鍗婂緞锛坴iewBox 16 / 瀹?208.156 鍗曚綅锛夌簿纭榻愶紝閬垮厤瑁佸垏鍑洪敮榻?*/
  border-radius: calc(var(--nfc-card-w) * 16 / 208.156);
  box-shadow: none;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-drag: none;
  box-sizing: border-box;
}

.featured-card-brick > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(var(--nfc-card-w) * 16 / 208.156);
  pointer-events: none;
  /* 2026-10-31：占位砖 / 卡面图统一等比缩放，绝不再被 208:330 的容器拉扁 */
  object-fit: contain;
  object-position: center;
}

/* ACTIVATION 的卡砖改用亚克力外壳（.brick-shell，真源比例 1026:1772）后，
   容器仍是设计稿的 208:330 —— 按高度等比居中放进容器，避免溢出变形。 */
.featured-card-brick > .brick-shell {
  width: calc(var(--nfc-card-h) * 1026 / 1772);
  height: var(--nfc-card-h);
  margin: 0 auto;
}

/* 浠呭湪榧犳爣璁惧鎸変綇鏃剁缉鏀撅紱瑙︽懜璁惧涓?:active 浼氬湪婊戝姩寮€濮?缁撴潫鏃跺弽澶嶈Е鍙戯紝
   浣夸骇鍝佸浘璺熺潃銆岀缉鏀锯啋鍥炲脊銆嶏紝鐪嬭捣鏉ュ氨鏄竴闂竴闂紝鏁呰Е鎽歌澶囦笉鍚敤 */
@media (hover: hover) and (pointer: fine) {
  .featured-card-brick:active {
    transform: scale3d(0.97, 0.97, 1);
  }
}

/* 鍗￠潰 NFC 闆疯揪寰幆鎵╂暎锛氬渾蹇?= SVG viewBox(208.156脳330) 涓?(104.018,135.746)锛?   澶栧湀鐩村緞 84 鈫?40.35% 鍗″锛涗笁鍦堥敊寮€ 1s 鏃犵紳寰幆锛屼笌 NFC 寮圭獥鐨?radarPing 鍚屾簮 */
.brick-nfc-radar {
  position: absolute;
  left: 49.97%;
  top: 41.14%;
  width: 40.35%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brick-radar-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* card_locked.svg 閲嶇敾鍚庢尝鍦堟墿鏁ｅ尯鍩熷嚑涔庡叏钀藉湪鐧借壊鍦嗚 box 涓婏紝
     鐧芥弿杈逛細闅愬舰锛屾敼璧版繁鑹诧紙榛戝窘绔犻噸鍙犵殑寮ф鏋佸皬锛屽彲蹇界暐锛?*/
  border: 1px solid rgba(34, 34, 38, 0.32);
  /* 甯搁┗鏃犻檺鍔ㄧ敾锛氭彁鍗囦负鐙珛鍚堟垚灞傦紝閬垮厤姣忓抚閲嶇粯鍏剁埗绾у崱鐮栵紙鍚骇鍝佸浘锛夛紝
     鍚﹀垯婊氬姩鏃朵骇鍝佸浘浼氳窡鐫€琚弽澶嶉噸鏍呮牸 鈫?闂?*/
  will-change: transform, opacity;
  animation: brickRadarPing 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.brick-radar-wave:nth-child(2) {
  animation-delay: 1s;
}

.brick-radar-wave:nth-child(3) {
  animation-delay: 2s;
}

/* 璧风偣 0.55 淇濊瘉鍏夊湀姘歌繙鍦ㄩ粦搴?NFC 寰界珷涔嬪锛堝窘绔?r=18 / 澶栧湀 r=42锛?*/
@keyframes brickRadarPing {
  0% {
    transform: scale(0.55);
    opacity: 1;
  }

  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

/* 鍗＄爾鍐呭祵 Tap NFC锛氬崰鎹?SVG 搴曢儴鍘熺櫧搴曞崰浣嶅尯锛圫VG 鍐呰 rect 宸茬Щ闄わ級
   鍑犱綍鎹㈢畻锛歳ect x=106 y=590 w=178 h=51 鈫?鐩稿 208脳330 鍗＄爾
   left/right=7.2438%銆乥ottom=6.055%銆乭eight=15.4545%
   锛堢敤鎴疯姹傛寜閽珮搴﹀皬涓€鐐癸紝height 鐢?15.4545% 鏀跺埌 13%锛?*/
.brick-nfc-btn {
  position: absolute;
  left: 7.2438%;
  right: 7.2438%;
  bottom: 6.055%;
  height: 13%;
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.15s ease;
}

.brick-nfc-btn:active {
  transform: scale(0.96);
  background-color: var(--inv-bg);
}

/* 缁熶竴 NFC 鎿嶄綔鎸夐敭涓庢枃妗?(鍗＄爾涓嬫柟绱у噾鐣欑櫧) */
.tap-nfc-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-4) var(--sp-5) var(--sp-2) var(--sp-5);
}

.tap-nfc-btn {
  width: 204px;
  height: var(--btn-h-xs);
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.15s ease;
  text-decoration: none;
  letter-spacing: 0px;
}

.tap-nfc-btn:active {
  transform: scale(0.96);
  background-color: var(--inv-bg);
}

/* MY COLLECTION 鍖哄煙 (宸﹀彸婊戝姩妯悜娴侊紝鏍囧噯 iOS 鑸掔紦鐣欑櫧)
   涓?LATEST MOMENT 缁熶竴锛氬崰婊℃暣灞忥紙绉诲姩绔竴灞忎竴鏉垮潡锛夛紝鍐呭绾靛悜灞呬腑 */
.my-collection-section {
  margin-top: var(--section-gap);
  padding-bottom: var(--sp-3);
  min-height: var(--section-min-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pill-dropdown-btn {
  /* 2026-10-25 用户要求：三个下拉按钮**固定等宽**（行内剩余空间均分），
     任何屏宽整行都不溢出；长章节名（RT.01 On The Road : …）靠 .pdb-label
     省略号截断。flex:1 + min-width:0 是收缩的前提，缺一不可。 */
  flex: 1 1 0;
  min-width: 0;
  height: 23px;
  padding: 0 var(--sp-2) 0 var(--sp-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-cap);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  cursor: pointer;
  border: 0.5px solid var(--line-mid);
  background-color: transparent;
  color: var(--color-label);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
  line-height: 1;
}

.pill-dropdown-btn .pdb-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-dropdown-btn:active {
  background-color: var(--bg-inset-strong);
}

.pill-dropdown-btn.active {
  background-color: var(--inv-bg);
  color: var(--inv-ink);
  border-color: var(--ink-strong);
  font-weight: 600;
}

.pill-dropdown-btn.active .dropdown-chevron {
  color: var(--inv-ink);
}

/* 浼橀泤绮剧粏鐨?SVG 涓嬫媺绠ご鎸囩ず鍣?*/
.dropdown-chevron {
  width: 7.5px;
  height: 7.5px;
  display: inline-block;
  color: var(--color-secondary-label);
  stroke: currentColor;
  stroke-width: 1.8px;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), color 0.15s ease;
  pointer-events: none;
  flex-shrink: 0;
}

.filter-button-anchor.active-open .dropdown-chevron,
.pill-dropdown-btn.active-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--color-label);
}

.collection-carousel-scroll {
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  overflow-y: hidden;
  /* 浠庡乏鍒板彸灞曠ず鍗＄爾涓庡崰浣嶏紝浼橀泤搴曢儴鐣欑櫧 16px锛屼笉涓庡簳鏍忚创绱?*/
  padding: var(--sp-2) var(--sp-5) var(--sp-4) var(--sp-5);
  /* 鍚搁檮鏃朵繚鐣欏乏鍙冲唴杈硅窛锛岄鍗′笉浼氳创姝诲睆骞曡竟缂橈紙涓庢爣棰樼缉杩涘榻愶級 */
  scroll-padding-left: var(--sp-5);
  scroll-padding-right: var(--sp-5);
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
  box-sizing: border-box;
}

/* 缁熶竴鎯€ф嫋鎷借建閬擄紙app.js attachMomentumDrag 鑷姩鎸傜被锛?*/
.momentum-drag {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.momentum-drag.is-dragging {
  cursor: grabbing;
}

.collection-carousel-scroll::-webkit-scrollbar {
  display: none;
}

.collection-card-item {
  width: var(--collection-card-w);
  height: var(--collection-card-h);
  border-radius: 0;
  flex-shrink: 0;
  display: block;
  scroll-snap-align: start;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
  cursor: pointer;
}

.collection-card-item img {
  width: 100%;
  height: 100%;
  display: block;
  /* 2026-10-22锛氬崱鐮栧浘涔嬮棿姣斾緥鍙兘涓嶅悓锛?01-005 鏄?554x771锛?06 鏄?744x1264锛夈€?     鐢?contain 淇濊瘉姘镐笉鎷変几鍙樺舰锛涗笌瀹瑰櫒姣斾緥涓€鑷寸殑鍥句粛鐒堕摵婊★紝鐪嬩笉鍑鸿竟銆?*/
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--collection-card-w) * 16 / 208.156);
  pointer-events: none;
}

/* 瑙︽懜璁惧涓嶅惎鐢ㄦ寜涓嬬缉鏀撅紝閬垮厤婊戝姩鏃朵骇鍝佸浘鍙嶅銆岀缉鏀锯啋鍥炲脊銆嶈€岄棯鐑?*/
@media (hover: hover) and (pointer: fine) {
  .collection-card-item:active {
    transform: scale3d(0.97, 0.97, 1);
  }
}

/* 娌℃湁浠讳綍鍗＄爾鏃剁殑鎻愮ず鍗犱綅琛?(閫夐」涓庢爣绛惧潎鏃犳祬鐏板簳鑹? */
.collection-empty-prompt {
  width: 100%;
  margin: var(--sp-2) 0 var(--sp-2) 0;
  padding: 20px var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  border-radius: var(--r-md);
  background: transparent;
  box-sizing: border-box;
  cursor: default;
  transition: none;
}

.empty-prompt-title {
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--color-label);
  margin-bottom: var(--sp-1);
}

.cm-stamp-box.black {
  background-color: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
}

/* ==========================================================================
   搴曢儴 TabBar锛氳彍鍗曟爮鑷韩鏃犲簳鑹诧紙transparent锛夛紝鐢?::before 鐨?alpha 娓愬彉
   璁╁簳閮ㄥ唴瀹硅嚜鐒躲€屾笎闅愩€嶅埌椤甸潰鐢诲竷鑹诧紝涓嶅嚭鐜板疄鑹插簳鏉夸笌纭竟銆?   ========================================================================== */
.app-bottom-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(52px + env(safe-area-inset-bottom, 0px));
  /* 灞傜骇缁撴瀯锛堜粠涓嬪線涓婏級锛?     1) 婊氬姩鍐呭锛堥〉闈㈡湰韬級
     2) ::before 鈥斺€?搴曢儴娓愰殣灞傦紙绾?alpha 娓愬彉锛岃涓嬶級
     3) tabbar 鍐呭灞傦紙icon / 鏂囧瓧锛寊-index 楂樹簬 ::before锛屽畬鍏ㄤ笉閫忔槑锛?*/
  background-color: transparent;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px env(safe-area-inset-bottom, 0px) 6px;
  z-index: 100;
  box-sizing: border-box;
  /* 涓嶈兘鍔?overflow: hidden 鈥斺€?娓愰殣灞?::before 闇€瑕佸悜涓婅秺鐣屽埌鑿滃崟鏍忎笂鏂?*/
}

/* 搴曢儴娓愰殣灞傦細婊氬姩鍐呭杩涘叆鑿滃崟鏍忎笂鏂瑰尯鍩熷悗锛岀敱鍐呭鑷韩閫愭笎娣″叆鍒伴〉闈㈢敾甯冭壊锛?   鍐呭鍦ㄥ簳閮ㄨ嚜鐒躲€屾笎闅愩€嶏紝涓嶅嚭鐜颁换浣曞疄鑹插簳鏉夸笌纭竟銆?   锛堢敤鎴疯姹傦細鍘绘帀鑿滃崟鏍忓簳鑹诧紝鏀圭敱搴曢儴鍐呭鍋氭笎闅愶級
   鈶?娓愰殣甯︿粠 96px 鈫?56px 鈫?**32px**锛氱敤鎴疯繛缁弽棣堛€岀櫧鑹查儴鍒嗗お楂橈紝鍥剧墖鏄剧煭銆嶃€?      鐜板湪鍙湁鑿滃崟鏍忔湰浣?52px) + 椤堕儴 32px 杩囨浮锛屽悎璁?84px锛屾渶澶х▼搴︽妸娴锋姤闇插嚭鏉ャ€?   鈶?鏇茬嚎閲嶆帓涓烘洿椤虹殑 S 褰細椤堕儴 6px 鍐呭嚑涔庣湅涓嶅嚭鍙樺寲锛坅lpha<0.02锛夛紝
      涓鍔犻€熴€佸埌鑿滃崟鏍忎腑娈靛氨鏀跺埌 0.97锛岄伩鍏嶅師鏉?鍏堝揩鍚庢參"閫犳垚鐨勫彴闃舵劅銆?*/
.app-bottom-tabbar::before {
  content: "";
  position: absolute;
  top: -32px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(to bottom,
      rgba(var(--bg-canvas-rgb), 0) 0px,
      rgba(var(--bg-canvas-rgb), 0.004) 4px,
      rgba(var(--bg-canvas-rgb), 0.016) 8px,
      rgba(var(--bg-canvas-rgb), 0.045) 13px,
      rgba(var(--bg-canvas-rgb), 0.100) 18px,
      rgba(var(--bg-canvas-rgb), 0.190) 23px,
      rgba(var(--bg-canvas-rgb), 0.330) 28px,
      rgba(var(--bg-canvas-rgb), 0.520) 33px,
      rgba(var(--bg-canvas-rgb), 0.720) 39px,
      rgba(var(--bg-canvas-rgb), 0.880) 46px,
      rgba(var(--bg-canvas-rgb), 0.960) 55px,
      rgba(var(--bg-canvas-rgb), 0.975) 70px,
      rgba(var(--bg-canvas-rgb), 0.975) 100%);
}

/* tabbar 鍐呭灞傦細濮嬬粓浣嶄簬娓愰殣灞備箣涓婏紝淇濇寔瀹屽叏涓嶉€忔槑锛坕con / 鏂囧瓧涓嶅彈娓愰殣褰卞搷锛?*/
.app-bottom-tabbar>* {
  position: relative;
  z-index: 1;
}

.tabbar-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* 娴呰壊妯″紡锛歵abbar 鏂囧瓧/icon 涓虹函榛戯紙鐢ㄦ埛瑕佹眰"娴呰壊鏃堕粦鑹?锛?*/
  color: #000000;
  transition: transform 0.12s cubic-bezier(0.25, 1, 0.5, 1), color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  padding: var(--sp-1) 0;
  box-sizing: border-box;
}

.tabbar-item:active {
  transform: scale(0.96);
}

.tabbar-pill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-2);
  background: transparent !important;
  box-sizing: border-box;
}

.tabbar-item.active .tabbar-pill-box {
  background: transparent !important;
  width: auto;
  height: auto;
}

.tabbar-item.active {
  /* 娴呰壊妯″紡 active 涔熸槸绾粦锛堟棤瀵规瘮鍙樺寲銆佷繚鎸佺函鍑€锛?*/
  color: #000000;
}

.tabbar-label {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0px;
  line-height: 1.1;
  /* 娴呰壊妯″紡锛歵abbar 鏂囧瓧涓虹函榛戯紙鑷姩璺熼殢 .tabbar-item 鐨?color锛?*/
  color: inherit;
}

.tabbar-item.active .tabbar-label {
  font-weight: 600;
  color: inherit;
}

/* 寰俊灏忕▼搴忕簿缁嗙煝閲忓浘鏍?*/
.nav-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8px;
  /* 娴呰壊妯″紡锛歵abbar icon 鎻忚竟涓虹函榛戯紙鑷姩璺熼殢鐖剁骇 color锛?*/
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.15s ease, stroke 0.15s ease;
}

.tabbar-item.active .nav-icon {
  stroke-width: 2.3px;
  stroke: currentColor;
}

/* 2026-11-15 用户指定：底部导航改成 Bottom Bar ——
   active 展开显示名字（图标 + 文字），其余只留图标；背后一块淡灰胶囊跟随。
   JS 驱动标签宽度 / 胶囊位移；这里只定义结构与观感。 */
.app-bottom-tabbar { justify-content: center; gap: 0; }
.app-bottom-tabbar > .tabbar-item { flex: 0 1 auto; min-width: 0; padding: 0 4px; }
.app-bottom-tabbar .tabbar-pill-box { flex-direction: row; gap: 0; padding: 8px 10px; border-radius: 999px; }
.app-bottom-tabbar .tabbar-label {
  display: block; width: 0; margin-left: 0; opacity: 0; overflow: hidden;
  white-space: nowrap; min-width: 0; font-size: 11px; font-weight: 600;
  letter-spacing: .01em; line-height: 1; transition: none;
}
.app-bottom-tabbar .nav-icon {
  /* 2026-11-15 用户反馈：比原稿（20px / 1.8）稍微大一点、线条细一点 */
  width: 22px; height: 22px; stroke-width: 1.6px;
  flex: none; transition: none; transform-origin: 50% 50%;
}
.app-bottom-tabbar .tabbar-item.active .nav-icon { stroke-width: 2.0px; }
.app-bottom-tabbar > .tabbar-pill {
  position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0;
  border-radius: 999px; background: rgba(17, 17, 19, 0.06);
  pointer-events: none; will-change: transform, width;
}

/* 2026-11-15 用户要求：切页面时底部导航不要跟着闪一下。
   用跨文档 View Transition：整页交叉淡入，但导航条单独摘出来
   （view-transition-name），旧/新两帧都不做动画 —— 观感就是导航条常驻。
   仅支持的浏览器生效（Chrome 126+ / 安卓 Chrome），其余维持原样。 */
@view-transition { navigation: auto; }
.app-bottom-tabbar { view-transition-name: db-tabbar; }

/* 2026-11-15：外壳模式（app.html 用 iframe 装页面）里，页面自带的导航条不显示，
   只保留外壳那一份 —— 这样切页时导航条不会重建。 */
.in-frame .app-bottom-tabbar { display: none !important; }
::view-transition-old(db-tabbar),
::view-transition-new(db-tabbar) { animation: none; mix-blend-mode: normal; }

/* ==========================================================================
   鍗＄爾搴曢儴褰掑睘淇℃伅 (Collected by Larry Luk / 16 Sep 2026 路 Kyoto)
   缁熶竴宸﹀榻愰€夐」锛屼笂鏂规í绾垮幓闄?   ========================================================================== */
.card-provenance-collector-footer {
  width: 100%;
  margin-top: var(--sp-4);
  padding: var(--sp-2) 0;
  border-top: none;
  box-sizing: border-box;
  user-select: none;
}

/* ==========================================================================
   鍗＄爾妗ｆ淇℃伅鍖猴紙2026-10-22 鎸夌敤鎴疯璁＄閲嶅仛锛?   缁撴瀯锛氳彍鍝佸悕 / 椁愬巺鍚?/ 鍩庡競 鈫?COLLECTOR路DESIGNER 鈫?SERIES路ARCHIVE路EDITION路DATE 鈫?Slogan
   娣辫壊鐐归樀搴曪紙.dbx-dot-surface 鐨勬繁鑹插彉浣擄級涓婄敤鐧藉瓧锛屼袱鍒楃綉鏍煎綊妗ｃ€?   ========================================================================== */
.brick-archive-card {
  width: 100%;
  box-sizing: border-box;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  user-select: none;
}

/* 鑿滃搧鍚嶏細澶у啓鑻辨枃锛岃瑙夌劍鐐?*/
.bac-dish {
  font-family: var(--font-sans);
  font-size: clamp(20px, 6.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: uppercase;
  color: #fff;
}

/* 椁愬巺鍚嶏細娆＄骇淇℃伅锛屽彲鑳戒负绌?鈫?绌烘椂鐢?JS 闅愯棌鏁磋 */
.bac-restaurant {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

/* 鍩庡競锛氬甫瀹氫綅绗﹀彿锛屽叏澶у啓 */
.bac-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.bac-pin {
  font-size: 11px;
  opacity: 0.75;
}

.bac-divider {
  height: 1px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.14);
}

/* 涓ゅ垪缃戞牸锛堢 3 娈垫槸 2脳2锛?*/
.bac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.bac-cell {
  min-width: 0;
}

.bac-key {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: currentColor;
  margin-bottom: 5px;
}

.bac-val {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.01em;
  /* 鍗曡鐪佺暐锛岄伩鍏嶉暱鍊兼妸缃戞牸鎾戞 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* SERIES 鍏佽澶氳锛堝 CARB VENGEANCE MISSION鈩級 */
.bac-val--wrap {
  white-space: normal;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

/* 鍝佺墝 Slogan锛氬眳涓€佸姞绮椼€佸瓧璺濇媺寮€ */
/* 2026-10-26 user request: show the dish's cultural story (moments.cultural_story) 
   in the archive panel after an NFC tap. Hidden entirely when there is no data. */
.bac-story {
  margin: 2px 0 6px;
}

.bac-story-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: break-word;
}

.bac-slogan {
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
}

.bac-tagline {
  margin-top: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: currentColor;
}

/* 2026-11-01：卡片最下方可编辑区块（后台「文案」→ PROVENANCE 档案卡）。
   目前用来放 Slogan / Tagline，以后会员权益也写进 provBenefits。
   单段/多段都支持（white-space: pre-line 保留换行），为空时由 JS 整块隐藏。 */
.bac-benefits {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-sans);
  font-size: 10.5px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  text-align: left;
  color: rgba(255, 255, 255, 0.72);
  white-space: pre-line;
  word-break: break-word;
}

/* 鍝佺墝妗ｆ搴曟澘鍧?(鍙傝€冨浘鎺掔増锛氬乏渚у洓琛屽弬鏁?鐗堟潈锛屽彸渚?logo.svg) */
.prov-brand-plate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--sp-1);
}

.plate-meta-side {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  text-align: left;
}

.plate-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.35;
}

.plate-key {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-deep);
  min-width: 62px;
}

.plate-val {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-deep);
}

.plate-copyright {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--color-secondary-label);
  letter-spacing: 0.4px;
  margin-top: 6px;
  text-transform: uppercase;
}

.plate-logo-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.plate-logo-img {
  width: clamp(90px, 25vw, 115px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   iOS 瑙︽帶涓庢寜鍘嬪井浜や簰 (0寤惰繜锛?20Hz 鏋侀€熷井缂╂斁)
   ========================================================================== */
button,
a,
.pill-btn,
.tabbar-item,
.card-brick-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:active,
a:active,
.pill-btn:active,
.tabbar-item:active {
  transform: scale3d(0.96, 0.96, 1);
  opacity: 0.82;
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.1s ease;
}

.slide-drawer.visible {
  transform: translateY(0);
}

/* ==========================================================================
   Apple 鍘熺敓 NFC Scanning Sheet (鏋侀珮鎷熺湡搴︿氦浜掓诞灞?
   ========================================================================== */
.nfc-scan-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.nfc-scan-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.nfc-scan-modal {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-top-left-radius: var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  padding: var(--sp-6) var(--sp-6) calc(var(--sp-7) + env(safe-area-inset-bottom, 20px)) var(--sp-6);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}

.nfc-scan-backdrop.active .nfc-scan-modal {
  transform: translateY(0);
}

.nfc-modal-grabber {
  width: 36px;
  height: 5px;
  border-radius: var(--r-pill);
  background-color: var(--line-grabber);
  margin-bottom: var(--sp-5);
}

.nfc-radar-pulse-box {
  width: 130px;
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--sp-4) 0 var(--sp-6) 0;
}

.radar-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--wave-line);
  animation: radarPing 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

/* 鐢ㄦ埛 2026-10-21锛氶浄杈惧渾鍦堢湅涓嶈浜嗐€?   鏍瑰洜锛?-wave-line 鐨勬棩闂村€兼槸 rgba(13,19,34,.18)锛岄偅鏄?*娣辫摑銆佷笖鍙湁 18% 涓嶉€忔槑**锛?   鏈剰鏄敾鍦ㄧ櫧搴曚笂锛涗絾 NFC 鎵弿寮瑰眰鏄粦搴曪紙.nfc-*-panel 瀹炴祴 rgb(17,17,19)锛夛紝
   娣辫摑鍘嬮粦搴?鈫?鍑犱箮涓洪浂瀵规瘮锛岀湅璧锋潵灏辨槸銆屽渾鍦堟病浜嗐€嶃€?   寮瑰眰鍐呴儴缁熶竴鏀圭敤娴呰壊鎻忚竟锛屼笉鍐嶄緷璧栧叏灞€鐨?--wave-line銆?*/
.nfc-scan-backdrop .radar-wave,
#nfcScanBackdrop .radar-wave {
  border-color: rgba(255, 255, 255, 0.28);
}

.radar-wave:nth-child(2) {
  animation-delay: 0.6s;
}

.radar-wave:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes radarPing {
  0% {
    transform: scale(0.45);
    opacity: 1;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.nfc-radar-core {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--inv-bg);
  color: var(--inv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 1.2px;
  box-shadow: none;
  z-index: 2;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nfc-radar-pulse-box.success .nfc-radar-core {
  background-color: #34C759;
  transform: scale(1.1);
}

.nfc-radar-pulse-box.success .radar-wave {
  border-color: rgba(52, 199, 89, 0.4);
}

.nfc-modal-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-label);
  letter-spacing: 0px;
  /* 窄屏英文标题会折行，balance 让两行长度均衡而不是留下孤字 */
  text-wrap: balance;
  margin-bottom: var(--sp-2);
}

.nfc-modal-desc {
  font-size: var(--fs-sub);
  color: var(--ink-mute-2);
  line-height: 1.45;
  /* 340px：中文文案自然宽 322px 可单行排完，英文在两侧留白下仍为均衡两行 */
  max-width: 340px;
  text-wrap: balance;
  /* keep-all 让中文只在标点/空格处断行（避免「卡砖」被拆到两行）；
     overflow-wrap 兜底，万一某段无标点的长串仍可折行而不是溢出 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin-bottom: var(--sp-6);
}

.nfc-modal-cancel-btn {
  width: 100%;
  max-width: 280px;
  height: var(--btn-h-sm);
  border-radius: var(--r-pill);
  background-color: transparent;
  border: var(--border-card);
  color: var(--color-label);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.nfc-modal-cancel-btn:active {
  background-color: var(--bg-inset-strong);
}

.ios-action-sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ios-action-sheet-backdrop.active .ios-action-sheet-panel {
  transform: translateY(0);
}

.ios-sheet-item.active {
  font-weight: 600;
}

/* ==========================================================================
   iOS 椋庢牸 Toast 娴眰
   ========================================================================== */
.ios-toast {
  position: fixed;
  top: calc(54px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(28, 28, 30, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #FFFFFF;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-lg);
  font-size: var(--fs-sub);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  white-space: pre-line;
  gap: var(--sp-1);
  box-shadow: none;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s;
  pointer-events: none;
  max-width: 90%;
  box-sizing: border-box;
}

.ios-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 2026-11-01 用户要求：重要提示（如「新增瞬间」）用卡片版，不要挤成一行小字。
   结构：左图标 + 右文字（kicker / 标题 / 说明），左对齐、行距更松。 */
.ios-toast.is-rich {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: min(92vw, 430px);
  max-width: 430px;
  padding: 15px 18px 16px;
  border-radius: 20px;
  background: rgba(20, 20, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: left;
  line-height: 1.5;
}

.ios-toast.is-rich .ios-toast-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin-top: 1px;
}

.ios-toast.is-rich .ios-toast-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.ios-toast.is-rich .ios-toast-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ios-toast.is-rich .ios-toast-kicker {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}

.ios-toast.is-rich .ios-toast-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #fff;
}

.ios-toast.is-rich .ios-toast-text {
  margin-top: 1px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  white-space: normal;
}

/* ==========================================================================
   澶辫触寮圭獥锛坕OS Action Sheet 椋庢牸 + 寮烘彁绀猴級
   - 鐢ㄤ簬姣忎釜澶辫触妫€娴嬶細蹇呭～/搴撳瓨/鏈櫥褰?缃戠粶閿?瀛楁鏍煎紡/閲嶅娉ㄥ唽 绛?   - 涓嶉樆濉炲悗缁姩浣滐紙type=info/warn/error 閮藉彲鐐瑰叧闂級
   - 灞呬腑鍗＄墖锛屼富鎿嶄綔锛堥粦锛? 娆¤鎿嶄綔锛堥€忔槑杈规锛?   ========================================================================== */
.db-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 22, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  box-sizing: border-box;
  animation: dbModalFade 0.18s ease;
}

.db-modal-backdrop.show {
  display: flex;
}

@keyframes dbModalFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.db-modal {
  width: min(420px, 100%);
  background: var(--bg-card, #FFFFFF);
  border-radius: var(--r-lg, 18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  animation: dbModalRise 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

@keyframes dbModalRise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.db-modal-icon {
  display: flex;
  justify-content: center;
  padding: var(--sp-6) var(--sp-4) 0 var(--sp-4);
}

.db-modal-icon-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-title, 17px);
  font-family: var(--font-sans);
}

.db-modal-icon-dot.error {
  background: rgba(255, 59, 48, 0.12);
  color: #C8102E;
}

.db-modal-icon-dot.warn {
  background: rgba(255, 149, 0, 0.14);
  color: #B86E00;
}

.db-modal-icon-dot.info {
  background: rgba(0, 122, 255, 0.12);
  color: #007AFF;
}

.db-modal-icon-dot.ok {
  background: rgba(52, 199, 89, 0.14);
  color: #138a36;
}

.db-modal-body {
  padding: var(--sp-4) var(--sp-6) var(--sp-2) var(--sp-6);
  text-align: center;
}

.db-modal-title {
  font-size: var(--fs-title, 17px);
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--ink-strong, #111);
  margin-bottom: var(--sp-2, 8px);
  line-height: 1.4;
}

.db-modal-msg {
  font-size: var(--fs-sub, 14px);
  font-family: var(--font-sans);
  color: var(--ink-deep, #333);
  line-height: 1.55;
  white-space: pre-line;
  word-break: break-word;
}

.db-modal-meta {
  margin-top: var(--sp-3, 12px);
  font-size: var(--fs-2xs, 11px);
  font-family: var(--font-mono, monospace);
  color: var(--color-tertiary-label, #8a8a8e);
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  padding: 6px 8px;
  text-align: left;
  display: none;
  word-break: break-all;
}

.db-modal-meta.show {
  display: block;
}

.db-modal-actions {
  display: flex;
  gap: var(--sp-2, 8px);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-4);
  border-top: var(--border-card, 1px solid rgba(0, 0, 0, 0.06));
  margin-top: var(--sp-4);
}

.db-modal-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--r-md, 12px);
  border: none;
  font-family: var(--font-sans);
  font-size: var(--fs-sub, 14px);
  font-weight: 600;
  cursor: pointer;
  background: var(--inv-bg, #111);
  color: var(--inv-ink, #fff);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.db-modal-btn:hover {
  opacity: 0.85;
}

.db-modal-btn:active {
  transform: scale(0.98);
}

.db-modal-btn.secondary {
  background: transparent;
  color: var(--ink-strong, #111);
  border: var(--border-card, 1px solid rgba(0, 0, 0, 0.1));
}

.db-modal-btn.secondary:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* 鍏ㄥ眬绂佺敤娣辫壊妯″紡锛氫繚鎸佹祬鑹插師鑹蹭笉鍙?*/
@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .db-modal {
    background: #1c1c1e;
  }

  .db-modal-title {
    color: #fff;
  }

  .db-modal-msg {
    color: rgba(255, 255, 255, 0.85);
  }

  .db-modal-actions {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .db-modal-btn.secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .db-modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .db-modal-meta {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
  }
}

/* ==========================================================================
   4. DiNERBOX 鑷畾涔夐潪鍘熺敓娴姩绛涢€夋皵娉¤彍鍗?(Custom Filter Popovers - Crisp & Sharp)
   ========================================================================== */
.filter-pills-row {
  position: relative;
  /* 鐢ㄦ埛鍙嶉銆岀瓫閫夋寜閽眰绾уお楂樸€嶏細鍘熸潵 140 浼氭诞鍦ㄥ簳閮ㄨ彍鍗曟爮(100)鍜屽叾瀹冮〉闈㈠厓绱犱箣涓娿€?     杩欓噷鍘嬪埌 5锛堝彧鍦ㄦ湰鍖哄潡鍐呭仛灞傚彔锛夛紝閰嶅鎶?anchor / backdrop 涓€璧烽檷涓嬫潵銆?*/
  /* 2026-10-25 修复：去掉 z-index:5 —— 它会把整行（含展开的菜单 z-30）关进
     一个层级 5 的堆叠上下文，导致后面的 3D 卡砖等内容画在菜单之上，
     菜单点不到也滚不动（命中测试全落到 featured-card-brick 上）。
     去掉后菜单 z-30 直接参与根层级对比：低于顶栏 50 / 底栏 100 / 弹窗 2100，
     高于遮罩 z-10 与普通内容。 */
}

.filter-button-anchor {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* 2026-10-25 用户要求：下拉按钮固定等宽 —— 弹性要加在包裹层上
   （.filter-pills-row 的 flex 子项是 anchor，不是里面的 button），
   三个 anchor 均分行内剩余宽度，长文字由 .pdb-label 省略号截断。 */
.filter-pills-row > .filter-button-anchor {
  flex: 1 1 0;
  min-width: 0;
}

.filter-button-anchor .pill-dropdown-btn {
  width: 100%;
}

.filter-button-anchor.active-open {
  /* 灞曞紑鏃跺彧闇€鐩栦綇鍚岀骇 anchor锛堝師鏉?1450 浼氱洊杩囪彍鍗曟爮鍜屽脊绐楋級 */
  z-index: 20;
}

.dinerbox-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s;
}

.dinerbox-filter-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.dinerbox-popover-menu {
  position: absolute;
  top: 28px;
  left: 0;
  min-width: 200px;
  /* 閫傞厤灏忓睆锛氫笉瓒呭嚭瑙嗗彛锛涢€夐」澶氭椂鍙旱鍚戞粴鍔紙鍘熸潵鍥哄畾 min-width:200px 涓旀棤涓婇檺锛?     绯诲垪鍚嶈緝闀挎垨灞忓箷绐勬椂浼氭孩鍑猴級 */
  max-width: min(320px, calc(100vw - 32px));
  /* 2026-10-25 用户反馈「高度不能这么长、不要出现滚动条」：
     固定 300px 上限（原来 56vh）+ 隐藏滚动条（Firefox / 旧 Edge / WebKit 三套）。
     纵向防出屏（按按钮在视口里的位置动态收高度 / 必要时向上展开）
     在 js fitPopoverInViewport() 里做，见 js/app.js。 */
  /* 2026-10-25 用户要求：最多显示 5 个选项，多出的靠滑动/滚动（无滚动条）。
     一行 ≈ 30.2px（--sp-2 内边距 ×2 + 12px 字号行高）×5 + 菜单上下 padding 16px ≈ 168px。 */
  max-height: 168px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: none;
  border: var(--border-card);
  padding: var(--sp-2);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* WebKit 内核滚动条隐藏（保留滚动能力） */
.dinerbox-popover-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dinerbox-popover-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.popover-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-note);
  font-weight: 600;
  color: var(--ink-deep);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background-color 0.12s ease;
  -webkit-font-smoothing: antialiased;
}

/* 2026-10-25：长章节名（RT 开头的 On The Road : …）在菜单里截断省略，
   计数数字固定在右侧不被挤压 */
.popover-menu-item > span:first-of-type {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-menu-item .popover-count {
  flex-shrink: 0;
  margin-left: var(--sp-2);
}

.popover-menu-item:hover,
.popover-menu-item:active {
  background-color: var(--bg-secondary);
}

.popover-menu-item.active {
  background-color: var(--inv-bg);
  color: var(--inv-ink);
}

/* 璁℃暟锛氱敤鎴疯姹傘€屾暟瀛椾笉闇€瑕佹湁搴曡壊銆嶁€斺€斿幓鎺夊簳鏉夸笌鑳跺泭鍐呰竟璺濓紝鍙暀绾枃瀛?*/
.popover-tag-badge,
.popover-count {
  font-size: var(--fs-micro);
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--color-secondary-label);
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.popover-menu-item.active .popover-tag-badge,
.popover-menu-item.active .popover-count {
  background: none;
  color: var(--inv-ink);
}

/* Collection 级联提示（2026-10-25）：未选 Year / Series 时，Collection 下拉菜单内
   不列选项、只显示一行提示文案。 */
.popover-menu-hint {
  padding: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary-label);
  text-align: center;
}

/* ==========================================================================
   2 & 5. 鐐瑰嚮鍗＄爾鏀惧ぇ骞跺畬鍏ㄩ伄浣忎竴澶у崐鍗＄爾 + iOS 椋庢牸琛ㄥ崟 + 浠ｇ爜椋庡瓨璇佹爣绛句笌鍒嗕韩
   ========================================================================== */
.provenance-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.provenance-modal-backdrop::-webkit-scrollbar {
  display: none;
}

.provenance-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* 鍥哄畾鍙充笂瑙掑叧闂寜閽?*/
.provenance-close-btn-floating {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 260;
  transition: transform 0.15s ease, background 0.15s ease;
}

.provenance-close-btn-floating:active {
  transform: scale(0.92);
  background: rgba(0, 0, 0, 0.7);
}

/* 绗竴灞忥細瀹屽叏灞曠ず 3D 浜氬厠鍔涘崱鐮?*/
.provenance-hero-card-wrap {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 48px 16px 64px 16px;
  z-index: 245;
  pointer-events: auto;
}

/* 3D 缈昏浆瀹瑰櫒锛氬昂瀵告斁澶у湪绗竴灞忓眳涓ぇ姘斿憟鐜帮紝涓ユ牸閿佸畾 208:330 榛勯噾姣斾緥 */
.provenance-hero-card-brick {
  width: min(72vw, 290px);
  max-width: calc(62vh * 208 / 330);
  aspect-ratio: 208 / 330;
  border-radius: var(--r-sm);
  cursor: grab;
  perspective: 1200px;
  pointer-events: auto;
  position: relative;
  touch-action: pan-y;
  filter: none;
}

/* 2026-10-21锛?D 璐村浘鍔犺浇澶辫触锛圕ORS 琚嫤锛夋椂鐨勯潤鎬佸厹搴曞崱鐮栧浘銆?   涓?canvas 鍚屽昂瀵搁摵婊″鍣紝淇濊瘉銆岃嚦灏戣兘鐪嬪埌鑷繁鐨勫崱鐮栥€嶃€?*/
.provenance-static-brick {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--r-sm);
  cursor: default;
}

/* 绗竴灞忓簳閮ㄧ殑銆孭ROVENANCE 鈱勩€嶅線涓嬫媺鎻愮ず鎸囩ず鍣?*/
.provenance-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.18s ease, background 0.18s ease;
  animation: pshPulse 2s ease-in-out infinite;
  z-index: 246;
}

.provenance-scroll-hint:active {
  transform: translateX(-50%) scale(0.96);
  background: rgba(255, 255, 255, 0.25);
}

.provenance-scroll-hint .psh-chevron {
  width: 13px;
  height: 13px;
  animation: pshBounce 1.5s ease-in-out infinite;
}

@keyframes pshBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@keyframes pshPulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 4px 18px rgba(255, 255, 255, 0.18); }
}

.provenance-hero-card-brick:active {
  cursor: grabbing;
}

.provenance-hero-card-brick canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
}

/* 3D 缈昏浆鏈烘瀯 */
.provenance-3d-flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.provenance-3d-flipper.is-flipped {
  transform: rotateY(180deg);
}

/* 姝ｉ潰 / 鍙嶉潰鍏叡 */
.brick-face-front,
.brick-face-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 缁熶竴鍗＄爾澶栬疆寤撳渾瑙掞細涓?activation / store / MY COLLECTION 鍚屼竴姣斾緥
     锛堢敤鎴?2026-10-15锛氥€屾墍鏈夊崱鐮栫殑澶栬疆寤撳渾瑙掓病缁熶竴姣斾緥銆嶏級*/
  border-radius: var(--brick-radius, 7.6923% / 4.8485%);
  overflow: hidden;
}

.brick-face-front img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--brick-radius, 7.6923% / 4.8485%);
  object-fit: cover;
}

/* 鍙嶉潰锛氬伐涓氭。妗堥摥鐗岄鏍?(鍖归厤 Image 2 鍙傝€冭璁? */
.brick-face-back {
  transform: rotateY(180deg);
  background: #0c0d0e;
  color: #e8e8e8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px 16px 18px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.85);
}

.brick-back-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 12px;
}

.brick-back-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.brick-back-brand-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  opacity: 0.8;
}

.brick-back-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
}

.brick-back-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  align-items: baseline;
}

.brick-back-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  line-height: 1.4;
}

.brick-back-val {
  font-size: 12px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.4;
}

.brick-back-footer {
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.8px;
  text-align: center;
}

/* 3D 缈昏浆寮曞鍥炬爣 (鍗＄爾涓棿锛屽垵濮嬮殣褰紝姣?5 绉掓笎鏄?1 绉掑紩瀵硷紝鐐瑰嚮閲嶇疆 5 绉掑€掕鏃? */
.brick-flip-hint-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  pointer-events: none; /* 鐐瑰嚮鐩存帴绌块€忓埌鍗＄爾 */
  z-index: 20;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.brick-flip-hint-icon.is-showing {
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(1);
}

.brick-flip-hint-icon:not(.is-showing) {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
}

.brick-flip-hint-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* 绗簩灞忥細寰€涓嬫媺涔嬪悗灞曠ず鐨勫簳閮ㄦ娊灞変俊鎭尯 (绾櫧鏋佺畝缇庡锛屽叏绔欑粺涓€) */
.provenance-bottom-sheet {
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  color-scheme: light;
  background: #FFFFFF !important;
  color: #16181A !important;
  border-top-left-radius: var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  display: flex;
  flex-direction: column;
  visibility: visible;
  opacity: 1;
  z-index: 250;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.15) !important;
  box-sizing: border-box;
  touch-action: auto;
  transition: border-top-left-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1),
              border-top-right-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

.provenance-bottom-sheet::before {
  display: none !important;
}

/* 褰?Provenance 鎶藉眽绉诲姩鍒版渶涓婇潰鏃讹紝椤堕儴鍦嗚鑷姩鍙樻垚鐩磋 */
.provenance-bottom-sheet.is-at-top,
.provenance-bottom-sheet.is-at-top .provenance-sheet-handle-bar,
.provenance-bottom-sheet.is-editing.is-at-top .provenance-sheet-handle-bar,
.provenance-bottom-sheet.is-at-top:has(#provenanceEditView) .provenance-sheet-handle-bar {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.provenance-modal-backdrop.active .provenance-bottom-sheet {
  visibility: visible;
  opacity: 1;
}

.provenance-sheet-handle-bar {
  width: 100%;
  padding: 12px 0 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  flex-shrink: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background-color: #FFFFFF !important;
  border-top-left-radius: var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  transition: border-top-left-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1),
              border-top-right-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

.provenance-sheet-handle-bar:active {
  cursor: grabbing;
}

.provenance-sheet-handle {
  width: 42px;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.2) !important;
  transition: background 0.2s ease, width 0.2s ease;
}

.provenance-sheet-handle-bar:hover .provenance-sheet-handle {
  background: rgba(0, 0, 0, 0.35) !important;
}

/* ==========================================================================
   瑙嗗浘 A: iOS 鍘熺敓缇庡褰曞叆琛ㄥ崟 (#provenanceEditView)
   ========================================================================== */
.ios-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-5) var(--sp-3) var(--sp-5);
  flex-shrink: 0;
}

.ios-drawer-title {
  font-family: var(--font-sans);
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--color-label);
  letter-spacing: 0px;
  margin: 0;
}

.ios-drawer-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-cap);
  font-weight: 500;
  color: var(--color-secondary-label);
  margin: var(--sp-1) 0 0 0;
}

.ios-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--color-secondary-label);
  cursor: pointer;
  transition: background-color 0.12s;
}

.ios-close-btn:active {
  background: var(--bg-inset-strong);
}

.ios-form-scroll-body {
  flex: 1;
  /* flex 瀛愰」榛樿 min-height:auto 浼氳鍐呭鎾戝紑銆乷verflow-y 姘镐笉瑙﹀彂 鈫?鎵嬫満绔〃鍗曟粴涓嶅姩 */
  min-height: 0;
  overflow-y: auto;
  /* 閿佹妯悜锛歰verflow-y:auto 浼氭妸妯悜涔熷彉鎴愬彲婊氾紝琛ㄥ崟鍐呭鑳借宸﹀彸鎷栧姩 */
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-2) var(--sp-5) var(--sp-5) var(--sp-5);
}

.ios-form-scroll-body::-webkit-scrollbar {
  display: none;
}

.ios-form-group {
  margin-bottom: var(--sp-4);
}

.ios-label {
  font-family: var(--font-sans);
  font-size: var(--fs-cap);
  font-weight: 600;
  color: var(--color-label);
  letter-spacing: 1px;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.ios-req-tag {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--color-secondary-label);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-left: auto;
}

/* 鍗＄爾涓婚涓庡簳閮ㄦ爣绛惧乏渚т俊鎭鍙栧睍绀?(鐢ㄦ埛瑕佹眰锛氫笂鏂圭殑鏍囩鏀规垚榛戝簳鐧藉瓧) */
.card-theme-pill-block {
  display: none;
}

.theme-pill-header {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--inv-ink-soft);
  text-transform: uppercase;
}

.theme-pill-content {
  font-family: var(--font-sans);
  font-size: var(--fs-note);
  font-weight: 600;
  color: var(--inv-ink);
  line-height: 1.4;
  letter-spacing: 0px;
}

.ios-input {
  width: 100%;
  height: 38px;
  border-radius: var(--r-sm);
  border: var(--border-card);
  padding: 0 var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  color: var(--color-label);
  background: transparent;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, background-color 0.15s;
}

.ios-input:focus {
  border-color: var(--ink-strong);
  background: transparent;
}

/* iOS 鍘熺敓鏃ユ湡鎺т欢鎸夊唴瀹规敹缂┿€佷笉鍗犳弧琛ㄥ崟涓ょ锛屽己鍒朵笌鍏朵粬瀛楁鍚屼竴瀹藉害宸﹀彸瀵归綈 */
input[type="date"].ios-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.ios-choice-pill.selected {
  background: var(--inv-bg);
  color: var(--inv-ink);
  border-color: var(--ink-strong);
  font-weight: 600;
}

.ios-textarea {
  width: 100%;
  min-height: 72px;
  border-radius: var(--r-sm);
  border: var(--border-card);
  padding: var(--sp-3) var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--fs-note);
  color: var(--color-label);
  background: transparent;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color 0.15s, background-color 0.15s;
}

.ios-textarea:focus {
  border-color: var(--ink-strong);
  background: transparent;
}

/* 搴曢儴鎿嶄綔鏉?(淇濆瓨 / 鍙栨秷) */
/* 鏍规不婧㈠嚭锛氭潯浣撻攣瀹?+ 鎸夐挳鍙敹缂?(min-width:0) + 鏂囧瓧涓嶆崲琛岋紝
   浠讳綍绐勫睆/缂╂斁涓嬫寜閽彧浼氬帇缂┿€佺粷涓嶄細鎶婃搷浣滄潯鎾戝嚭鎶藉眽 */
.ios-form-bottom-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom, 12px)) var(--sp-5);
  background: var(--bg-card);
  border-top: var(--border-card);
  flex-shrink: 0;
}

.ios-btn-cancel {
  flex: 1;
  min-width: 0;
  height: var(--btn-h);
  background: transparent;
  border: var(--border-card);
  color: var(--color-label);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.12s, transform 0.12s;
}

.ios-btn-cancel:active {
  background: var(--bg-inset-strong);
  transform: scale(0.98);
}

.ios-btn-save {
  flex: 1.6;
  min-width: 0;
  height: var(--btn-h);
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.12s ease;
}

.ios-btn-save:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.ios-btn-save:not(:disabled):active {
  transform: scale(0.98);
  opacity: 0.9;
}

.ios-segment-btn.active {
  background: var(--bg-card);
  color: var(--color-label);
  box-shadow: none;
  font-weight: 600;
}

/* ==========================================================================
   涓€琛屼竴涓€夐」鏍?(Spacious One-Option-Per-Line iOS List Items - 鏃犳祬鐏板簳鑹?
   ========================================================================== */
.ios-option-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--sp-2);
  width: 100%;
}

.ios-list-option {
  /* 涓€琛?3 涓細瀹藉害椤荤簿纭墸闄や袱渚у叡 16px 闂撮殭鍚庝笁绛夊垎锛?3.33%-4px 浼氭孩鍑?4px 瀵艰嚧姣忚鍙斁 2 涓級 */
  width: calc((100% - 16px) / 3);
  min-width: 0;
  min-height: 40px;
  padding: var(--sp-2) 6px;
  border-radius: var(--r-sm);
  border: var(--border-card);
  background: transparent;
  color: var(--color-label);
  font-family: var(--font-sans);
  font-size: var(--fs-cap);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.ios-list-option:active {
  transform: scale(0.985);
  background: var(--bg-inset);
}

.ios-list-option .opt-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  font-size: var(--fs-cap);
  line-height: 1.25;
  white-space: normal;
}

.ios-list-option .opt-indicator {
  display: none;
}

.ios-list-option.multi .opt-indicator {
  border-radius: var(--r-2xs);
}

.ios-list-option.selected {
  background: var(--inv-bg);
  color: var(--inv-ink);
  border-color: var(--ink-strong);
  font-weight: 600;
}

.ios-list-option.selected .opt-indicator {
  background: var(--bg-card);
  border-color: var(--inv-ink);
}

.ios-list-option.selected .opt-indicator::after {
  content: '鉁?;
  font-size: var(--fs-cap);
  font-weight: 700;
  color: var(--color-label);
}

/* ==========================================================================
   瑙嗗浘 B: 淇濆瓨鍚庢笎鏄剧殑瀛樿瘉鏍囩 (缁熶竴绾櫧鏋佺畝缇庡锛屽叏绔欒瑙夌粺涓€)
   ========================================================================== */
.provenance-label-view {
  display: none;
  flex-direction: column;
  /* flex:1 鍗犳嵁鎶婃墜鏉′互澶栫殑鍓╀綑楂樺害 */
  flex: 1 1 0;
  min-height: 0;
  background: #FFFFFF;
  color: #16181A;
  animation: labelFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.provenance-label-view.active {
  display: flex;
}

.code-label-scroll-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-4) var(--sp-5) var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

.code-label-scroll-body::-webkit-scrollbar {
  display: none;
}

/* ===== 鍚屼竴鍗＄爾澶氭潯 MOMENT锛氳鏁拌 + 妯粦鍗＄墖杞ㄩ亾 ===== */
.prov-moment-count {
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 2px;
  color: #71717A;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-bottom: var(--sp-1);
  flex-shrink: 0;
}

/* 2026-10-27 用户要求：档案卡与 MOMENT 卡片板块互换位置后，计数行不再贴着容器
   顶部，需要与上方档案卡拉开距离（没有 MOMENT 时整行隐藏，不会留空档）
   2026-10-27 二次调整：16px 仍偏紧 → 32px，让「MOMENT 区块」与档案卡明确分开 */
.provenance-label-view .prov-moment-count {
  margin-top: 32px;
}

/* 鐬棿鍗＄墖杞ㄩ亾锛氭暣瀹藉崱鐗囨í婊?*/
.prov-moments-track {
  display: flex;
  width: 100%;
  gap: var(--sp-3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  flex-shrink: 0;
  padding: var(--sp-1) 0 var(--sp-2);
  scroll-padding: 0 50%;
}

.prov-moments-track::-webkit-scrollbar {
  display: none;
}

/* 鍗曞紶鐬棿鍗★細鍗犳弧杞ㄩ亾瀹藉害锛屾爣绛惧唴瀹硅嚜閫傚簲楂樺害 */
.prov-moment-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prov-moment-slide .moment-code-block {
  width: 100%;
  box-sizing: border-box;
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-1);
}

/* 瀛樿瘉渚跨绾稿崱鐗?*/
.moment-code-block {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-family: var(--font-sans);
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   MY PROVENANCE 存证卡（2026-11-03 沿用 Atlas「TRACE JOURNAL」风格）
   · 左侧黑栏：竖排 Provenance + 反白 logo.svg（与 Atlas 版式一致）
   · 右侧：卡背配色头图（编号 / 菜名 / 系列 / 章节）+ 米白条目区
   · 条目区：版号 + 署名 / 细线 / 引言 / 三行信息（信息置底）
   · 配色 = 该 Moment 章节卡砖背面的 products.bg_color / info_color
   ========================================================================== */
.my-prov-card-wrap {
  --prov-bg: #AEBFAF;
  --prov-ink: #35200B;
  --prov-paper: #F2EFE6;
  --prov-black: #111111;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--prov-paper);
  font-family: 'HK Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
}

/* 左侧黑栏：高度跟随右侧内容（不固定高度）
   2026-11-05：与 Atlas 统一 —— 黑底 + LED 点阵（dbx-dot-surface），标题从顶部开始排，不再居中/不要 logo */
.mpc-rail {
  position: relative;
  flex: 0 0 44px;
  align-self: stretch;
  background: var(--prov-black);
  overflow: hidden;
}

.mpc-rail-title {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: #FFFFFF;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow: hidden;
}

/* 2026-11-05：by DiNERBOX logo 放在黑栏底部 */
.mpc-rail-brand {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 14px;
  height: 56px;
  transform: translateX(-50%);
}

.mpc-rail-brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: auto;
  transform: translate(-50%, -50%) rotate(-90deg);
  filter: brightness(0) invert(1);
  display: block;
}

.mpc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* 头图：卡背配色色块，顶满整行宽度（无内缩、无空隙） */
.mpc-head {
  position: relative;
  overflow: hidden;
  background: var(--prov-bg);
  color: var(--prov-ink);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}

/* 2026-11-06 用户反馈「色块漏了代码底纹」：与 Atlas 色带 / 票根同一张代码底纹图，
   颜色 = 该 Moment 卡背采样的代码色（--prov-code，由 buildMomentCertHtml 内联） */
.mpc-head-tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-color: var(--prov-code, #FFFFFF);
  forced-color-adjust: none;
  -webkit-mask: url('https://dinerbox-1254136958.cos.ap-guangzhou.myqcloud.com/assets/ticket_code_texture.svg?v=20261019_g552_native') no-repeat center / cover;
  mask: url('https://dinerbox-1254136958.cos.ap-guangzhou.myqcloud.com/assets/ticket_code_texture.svg?v=20261019_g552_native') no-repeat center / cover;
}

/* 文字压在底纹之上（底纹只是装饰层） */
.mpc-head > span:not(.mpc-head-tex) {
  position: relative;
  z-index: 1;
}

.mpc-head-id {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.mpc-head-name {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.mpc-head-series {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.mpc-head-chapter {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

/* 条目区：米白底，与头图之间不留缝 */
.mpc-entries {
  background: var(--prov-paper);
  color: var(--prov-black);
  padding: 16px 18px 18px;
}

.mpc-entry {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.mpc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 1em;
}

.mpc-edition {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mpc-collector {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}

.mpc-rule {
  height: 1px;
  margin: 8px 0 12px;
  background: var(--prov-black);
  opacity: 0.8;
}

.mpc-quote {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* 引言与信息拉开：信息整体置底（与 Atlas / 分享图一致） */
.mpc-meta {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mpc-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
  font-size: 11px;
  line-height: 1.55;
}

.mpc-item {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mpc-item b {
  font-weight: 700;
}

@media (max-width: 380px) {
  .mpc-head { padding: 14px 16px; }
  .mpc-entries { padding: 14px 16px 16px; }
  .mpc-edition { font-size: 26px; }
  .mpc-quote { font-size: 12.5px; }
  .mpc-row { font-size: 10.5px; column-gap: 10px; }
  .mpc-rail { flex-basis: 40px; }
  .mpc-rail-title { font-size: 13px; }
}

/* 鏍囩搴曢儴鎿嶄綔鏉? 缂栬緫 / 娣诲姞鐬棿 / 鍒嗕韩 (瀵归綈 Edit 搴曟爮瑙勮寖) */
.label-bottom-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 16px)) 16px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.label-btn-edit {
  flex: 0.9;
  min-width: 0;
  height: 48px;
  padding: 0 6px;
  background: transparent;
  color: #16181A;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.label-btn-add {
  flex: 1.25;
  min-width: 0;
  height: 48px;
  padding: 0 6px;
  background: transparent;
  color: #16181A;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.label-btn-edit:active,
.label-btn-add:active {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(0.98);
}

.label-btn-edit svg,
.label-btn-add svg {
  flex-shrink: 0;
  color: #16181A;
}

.label-btn-share {
  flex: 1.05;
  min-width: 0;
  height: 48px;
  padding: 0 6px;
  background: #16181A;
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.12s, opacity 0.15s;
  box-sizing: border-box;
}

.label-btn-share:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.label-btn-share svg {
  flex-shrink: 0;
  color: #FFFFFF;
}

/* ==========================================================================
   瑙嗗浘 C: 鍒嗕韩娴锋姤棰勮妯℃€佺獥 (绾櫧楂樼骇鏋佺畝缇庡)
   (鐪熷疄浜氬厠鍔涘崱鐮栧湪涓?+ 灞呬腑淇℃伅鍦ㄤ笅闈?
   ========================================================================== */
.share-poster-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.share-poster-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.share-poster-wrap {
  /* 海报宽度唯一来源：出图是 1080×1920，预览按同一比例缩放。
     必须是一个「纯长度」——如果用百分比，calc() 里的 height/font-size 会按各自
     上下文解析（height 的 100% 是父高、font-size 的 100% 是父字号），整块尺寸就塌了。
     vw 只用来限制「窗口太窄时不要溢出」，不参与任何 margin/padding/gap。 */
  --sp-w: min(330px, calc(100vw - 56px));
  width: var(--sp-w);
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 2026-10-28：邮票版式比原来高，容器允许内部滚动，避免下半裁片被压没 */
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: 12px 0 20px;
  box-sizing: border-box;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.share-poster-backdrop.active .share-poster-wrap {
  transform: scale(1);
}

/* ==========================================================================
   分享海报字体（2026-10-29 用户要求）：英文字体改为 Victor Mono
     · 自托管（assets/fonts），不依赖第三方 CDN，也不会有跨域污染 canvas 的风险
     · 只覆盖拉丁字符；中文会自动回落到 PingFang SC / 微软雅黑
   ========================================================================== */
@font-face {
  font-family: 'Victor Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/victor-mono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Victor Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/victor-mono-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Victor Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/victor-mono-700.woff2') format('woff2');
}

/* 2026-11-02：HK Grotesk（Provenance 卡片专用，本地自托管） */
@font-face {
  font-family: 'HK Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/hk-grotesk/HKGrotesk-Regular.woff') format('woff');
}

@font-face {
  font-family: 'HK Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/hk-grotesk/HKGrotesk-Medium.woff') format('woff');
}

@font-face {
  font-family: 'HK Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/hk-grotesk/HKGrotesk-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'HK Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/hk-grotesk/HKGrotesk-Bold.woff') format('woff');
}

/* ==========================================================================
   分享海报（2026-10-29 用户要求）—— Provenance 简历版式，比例固定 9:16
     预览显示的就是导出的那张 canvas（同一份代码 → 版式绝对一致）；
     下面这套 DOM 只在出图失败（图片被 CORS 污染等）时兜底，
     尺寸全部按 --sp-w（卡片宽度）比例算，与 1080×1920 的出图一一对齐。
   ========================================================================== */
.share-poster-card {
  position: relative;
  width: var(--sp-w, 318px);
  /* 2026-11-18：分享图改为 9:16（与 canvas 1080×1920 一致），
     中间 THE MOMENT 引言区获得更多纵向空间 */
  height: calc(var(--sp-w, 318px) * 16 / 9);
  /* 兜底 DOM 的底色与出图下半区一致（原来纯白，与米白差一档） */
  background: #F2EFE6 !important;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box;
  padding: calc(var(--sp-w, 318px) * 0.0593);
  color: #141518;
  text-align: left;
  font-family: 'Victor Mono', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', monospace;
  display: flex;
  flex-direction: column;
  /* 弹层是 column flex，默认会被压缩 → 严格保持 9:16 的高度 */
  flex: 0 0 auto;
}

.share-poster-card::before { display: none !important; }

/* 出图预览层：与导出的 PNG 是同一张（9:16） */
.sp-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  background: #FFFFFF;
}

.share-poster-card.is-canvas .sp-poster-img { display: block; }

/* 2026-11-07 用户反馈「点击分享的图有白边」：
   导出的是满版 1080×1440 PNG（黑栏 / 色块 / 米白直接顶到边），
   但卡片自带 1px 描边 + 内边距 + 6px 圆角，图片四周就露出一圈白。
   is-canvas（显示的是导出图）时把描边 / 内边距 / 圆角全部去掉，
   让图片和卡片边界严丝合缝。 */
.share-poster-card.is-canvas {
  padding: 0;
  border: 0 !important;
  /* 圆角保留（裁切由 overflow:hidden 作用在图片本身上，
     不会像 padding/border 那样在图片和卡片之间留出一圈底色） */
  border-radius: 6px;
  background: #111111 !important;
}

.share-poster-card.is-canvas .sp-poster-img {
  background: #000000;
  border-radius: 0;
  /* 3:4 是精确比例，但卡片高度是 calc(宽 * 4/3)，可能带小数；
     contain 会因此在边缘留 <1px 的缝（又变成一道白/黑边）。
     cover 只多裁掉不到 1px，却能保证整张图严丝合缝铺满。 */
  object-fit: cover;
}

.share-poster-card.is-canvas > .sp-head,
.share-poster-card.is-canvas > .sp-body,
.share-poster-card.is-canvas > .sp-meta { visibility: hidden; }

/* ---------- 兜底 DOM（2026-11-09）：与 canvas 出图同一套信息层级 ---------- */
/* 仅在出图失败时可见（is-canvas 时整块 hidden），版式按出图比例用 cqw 还原：
   上半色块 = 卡背底色 + 卡背文字色；下半米白 = 版号 / 收藏者 / 引言 / 两列栅格 */
.sp-head {
  flex: 0 0 auto;
  /* 与出图同高：TOP_H = 296 / 1080（2026-11-10 上半部分收紧后）；
     标题折两行时出图会到 354，这里用 min-height + auto 让兜底版式跟着长，
     不会被裁掉。负外边距抵掉卡片自身的上 / 左右内边距 */
  min-height: calc(var(--sp-w, 318px) * 0.2741);
  height: auto;
  box-sizing: border-box;
  margin: calc(var(--sp-w, 318px) * -0.0593) calc(var(--sp-w, 318px) * -0.0593) 0;
  padding: calc(var(--sp-w, 318px) * 0.030) calc(var(--sp-w, 318px) * 0.0593) calc(var(--sp-w, 318px) * 0.030);
  background: #AEBFAF;
  color: #35200B;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 眉标基线 52 / 1080 */
.sp-eyebrow {
  font-size: calc(var(--sp-w, 318px) * 0.0204);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 标题基线 132 / 1080 */
.sp-title {
  margin-top: calc(var(--sp-w, 318px) * 0.0457);
  font-size: calc(var(--sp-w, 318px) * 0.0537);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.012em;
}

.sp-title.is-cjk {
  font-size: calc(var(--sp-w, 318px) * 0.0463);
  letter-spacing: 0;
}

/* 系列基线 190 / 1080 */
.sp-series {
  margin-top: calc(var(--sp-w, 318px) * 0.0106);
  font-size: calc(var(--sp-w, 318px) * 0.0315);
  font-weight: 700;
  line-height: 1.15;
}

/* 章节基线 234 / 1080 */
.sp-chapter {
  margin-top: calc(var(--sp-w, 318px) * 0.0119);
  font-size: calc(var(--sp-w, 318px) * 0.0222);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 下半米白内容区（比例与 canvas 出图一一对应） ---------- */
.sp-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* canvas 的正文左边界 X = 232 / 1080；卡片自带 0.0593w 内边距，这里补差额 */
  padding-left: calc(var(--sp-w, 318px) * 0.1557);
  padding-right: calc(var(--sp-w, 318px) * 0.0074);
  margin-top: calc(var(--sp-w, 318px) * 0.038);
  color: #111111;
  text-align: left;
  word-break: break-word;
}

.sp-edrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(var(--sp-w, 318px) * 0.04);
}

.sp-ed,
.sp-col { min-width: 0; }
.sp-col { text-align: right; }

/* 版号：76px / 1080 */
.sp-ed-big {
  font-size: calc(var(--sp-w, 318px) * 0.0704);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 收藏者：40px / 1080（比版号小一档） */
.sp-col-big {
  font-size: calc(var(--sp-w, 318px) * 0.037);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-ed-sub,
.sp-col-sub {
  margin-top: calc(var(--sp-w, 318px) * 0.014);
  font-size: calc(var(--sp-w, 318px) * 0.0194);
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-note-block { flex: 0 0 auto; }

/* 信息栅格贴底，与出图一致（没有随笔时下方留白，不会把栅格顶上来） */
.sp-meta-block {
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.sp-rule {
  height: 1px;
  background: #111111;
  opacity: 0.85;
  flex: 0 0 auto;
}

.sp-note-block > .sp-rule { margin-top: calc(var(--sp-w, 318px) * 0.0852); }

.sp-note-label {
  margin-top: calc(var(--sp-w, 318px) * 0.0593);
  font-size: calc(var(--sp-w, 318px) * 0.0194);
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  opacity: 0.55;
}

.sp-quote {
  margin-top: calc(var(--sp-w, 318px) * 0.0667);
  font-size: calc(var(--sp-w, 318px) * 0.0352);
  font-weight: 500;
  line-height: 1.526;
  overflow: hidden;
}

.sp-meta-block > .sp-rule { margin-bottom: calc(var(--sp-w, 318px) * 0.0778); }

.sp-grid {
  display: flex;
  flex-direction: column;
  gap: calc(var(--sp-w, 318px) * 0.036);
}

.sp-grid-row {
  display: grid;
  gap: calc(var(--sp-w, 318px) * 0.04);
}

.sp-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sp-label {
  font-size: calc(var(--sp-w, 318px) * 0.0194);
  font-weight: 600;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-value {
  margin-top: calc(var(--sp-w, 318px) * 0.012);
  font-size: calc(var(--sp-w, 318px) * 0.0296);
  font-weight: 700;
  line-height: 1.18;
  /* 2026-11-16 用户要求：值太长时放到第二行（与出图一致），两行还放不下才省略 */
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

/* 中文视觉配平：汉字墨迹高约为拉丁字母的 1.21 倍，缩到 0.85 即视觉等高 */
.sp-quote.is-cjk,
.sp-quote-text.is-cjk { font-size: 0.85em; letter-spacing: 0.01em; }
.sp-value.is-cjk { font-size: 0.85em; letter-spacing: 0.01em; }

.share-poster-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.share-action-btn-primary {
  flex: 1;
  height: 48px;
  background: #16181A;
  color: #FFFFFF;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.12s, opacity 0.15s;
}

.share-action-btn-primary:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.share-action-btn-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #16181A;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s, transform 0.12s;
}

.share-action-btn-close:active {
  background: #F4F4F5;
  transform: scale(0.95);
}

/* iOS Grouped List (Settings / Profile) */
.ios-grouped-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: var(--border-card);
  overflow: hidden;
  margin-bottom: var(--sp-4);
  box-shadow: none;
}

.ios-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: var(--border-hair);
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  color: var(--color-label);
  transition: background-color 0.12s;
}

.ios-cell:last-child {
  border-bottom: none;
}

.ios-cell-title {
  font-weight: 500;
  color: var(--color-label);
}

.ios-cell-right {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-note);
  color: var(--ink-dim-2);
}

.ios-cell-arrow {
  color: var(--color-tertiary-label);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1;
}

/* 鍏ㄧ珯鏂瑰悜 icon 缁熶竴锛氳繑鍥炰笂涓€灞傚悓娆剧粏绾?chevron锛堚€?/ 鈥?瀹舵棌锛屽悓瀛楅噸锛?*/
.dir-arrow {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Store 璐墿杞︽诞鍔ㄦ寜閽笌鎶藉眽鍙婂畬鏁撮棴鐜摼璺?   ========================================================================== */
.store-floating-cart-btn {
  position: fixed;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.16s ease;
  box-shadow: none;
}

.store-floating-cart-btn:active {
  transform: scale(0.92);
}

/* 2026-11-17：当 NEW DROP 的「版本 / 已认领」两行滚到按钮位置时淡出，
   避免 fixed 按钮盖住贴右边缘的数值和进度条；滚开自动恢复。 */
.store-floating-cart-btn.is-yield {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
}

.cart-badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #C53C3C;
  color: var(--inv-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--inv-ink);
  box-sizing: border-box;
}

/* 璐墿杞︽娊灞?(iOS Bottom Presentation Sheet) */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2100;
  opacity: 0;
  /*  杩欓噷鍒绘剰**涓嶇敤 visibility: hidden**锛歋afari 鍦ㄣ€寁isibility 鐢?hidden 鍙?visible銆嶇殑
     鍚屼竴甯ч噷浼氳繛甯﹁烦杩囧瓙鍏冪礌锛?cart-drawer-panel锛夌殑 transform 杩囨浮 鈫?寮圭獥涓嶆粦鍑恒€?     鐩存帴鍑虹幇锛堢敤鎴峰弽棣堛€孴op Moments 鐐瑰嚮鍚庢病鏈変粠涓嬪悜涓婃粦鍑恒€嶏級銆?     闈㈡澘鍦ㄦ湭鎵撳紑鏃跺凡缁?translateY(100%) 鍦ㄥ睆骞曞锛岄厤鍚?pointer-events: none 瓒冲銆?*/
  pointer-events: none;
  transition: opacity 0.28s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-panel {
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  max-height: 82svh;
  background: var(--bg-card);
  border-top-left-radius: var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
  overflow: hidden;
}

.cart-drawer-backdrop.active .cart-drawer-panel {
  transform: translateY(0);
}

.cart-drawer-header {
  padding: var(--sp-4) var(--sp-5) var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-hair);
  flex-shrink: 0;
}

.pd-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 var(--sp-5) var(--sp-4) var(--sp-5);
}

.pd-bottom-actions {
  flex-shrink: 0;
  /* 鐢ㄦ埛 2026-10-21锛氫笅闂磋窛鏀规垚鍜屽乏鍙充袱杈逛竴鏍凤紙鍘熸潵涓嬭竟 --sp-4=16px銆佸乏鍙?--sp-5=20px锛夈€?     瀹夊叏鍖哄厹搴曞€?12px 涔熶竴骞跺綊闆?鈥斺€?env(safe-area-inset-bottom) 鍙湪甯?Home 鎵嬪娍鏉＄殑
     iPhone 涓婅繑鍥炵湡瀹炲€硷紙绾?34px锛夛紝妗岄潰娴忚鍣ㄨ繑鍥?0 鏃舵墠浼氱敤鍒板厹搴曞€硷紱
     妗岄潰涓婃牴鏈笉闇€瑕侀伩璁╋紝閭?12px 鏄函澶氫綑銆佹鏄€屼笅杈规瘮宸﹀彸瀹姐€嶇殑鏉ユ簮銆?     鐜板湪锛氭闈㈢粺涓€ 20px锛宨Phone 鑷姩 20+34=54px锛堢湡闇€瑕侀伩璁╃殑鍦版柟鎵嶅姞锛夈€?*/
  padding: var(--sp-3) var(--sp-5) calc(var(--sp-5) + env(safe-area-inset-bottom, 0px)) var(--sp-5);
  background: var(--bg-card);
  /* 鐢ㄦ埛 2026-10-21锛氫笉瑕佽繖鏉＄櫧鑹叉í绾裤€?      椤哄甫璇存竻鏍瑰洜锛屽埆鍙垹浜嗕簨锛?-border-hair 鍦?:root 閲屽啓鎴?       `0.5px solid var(--line-tertiary)`锛岃€?CSS 鑷畾涔夊睘鎬ч噷鐨?var() 鏄湪
       **瀹氫箟澶勶紙:root锛夊氨瀹屾垚鏇挎崲**鐨勶紝涓嶆槸鍦ㄤ娇鐢ㄥ銆傛墍浠ョ偣闃甸潰閲屾妸
       --line-tertiary 鏀规垚娣辫壊 #2C2C2E 涔熻拷婧笉鍒拌繖閲?鈥斺€?杩欐潯绾挎亽涓?#E5E5EA 娴呰壊锛?       鍘嬪湪 rgb(28,28,30) 鐨勬繁搴曚笂灏辨槸涓€閬撳埡鐪肩殑鐧界嚎銆?*/
  border-top: none;
  position: relative;
  z-index: 10;
}

.cart-drawer-title {
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--color-label);
}

.cart-drawer-items-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cart-empty-state {
  padding: 40px var(--sp-5);
  text-align: center;
  color: var(--color-secondary-label);
  font-size: var(--fs-sub);
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 0.5px solid #F2F2F7;
}

.cart-item-img {
  width: 52px;
  height: 72px;
  border-radius: var(--r-2xs);
  object-fit: contain;
  flex-shrink: 0;
}

.cart-item-brick {
  width: 52px;
  flex-shrink: 0;
  border-radius: var(--r-2xs);
  overflow: hidden;
}

.cart-item-brick .brick-shell {
  width: 100%;
  box-shadow: none !important;
}

.cart-item-brick .brick-shell::after {
  display: none !important;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.3;
}

/* 2026-10-24 鐢ㄦ埛瑕佹眰鐨勮喘鐗╄琛岀粨鏋勶紙椤哄簭涓庢暟鎹潵婧愶級锛?     鈶?[VOL.03]                  鈫?products.vol_text锛堝甫绔犺妭搴曡壊鐨勮壊鍧楋級
     鈶?Bangkok Noodles           鈫?products.name锛堢珷鑺備富棰橈級
     鈶?Carb Vengeance Mission    鈫?products.series_name锛堢郴鍒楀悕锛?   SERIES / EDITION / ARCHIVE 閭ｄ竴琛岀敤鎴锋槑纭姹傚幓鎺夛紝涓嶅啀娓叉煋銆?*/
/* 鈶?VOL 缂栧彿鑹插潡锛?026-10-24 鐢ㄦ埛瑕佹眰锛氭仮澶嶅甫搴曡壊鐨勯偅涓牱寮忥級
   搴曡壊 / 鏂囧瓧鑹茬敱 JS 鍐呰仈鍐欏叆锛屽彇绔犺妭鐨?accent_color / ink_color銆?*/
.cart-item-vol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 44px;
  height: 18px;
  padding: 0 6px;
  margin-bottom: 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* 鈶?绯诲垪鍚嶏紙鐙珛涓€琛岋紝涓嶅啀鍜屾爣绛炬尋鍦ㄤ竴璧凤級 */
.cart-item-seriesname {
  font-size: var(--fs-micro);
  color: var(--color-secondary-label);
  line-height: 1.35;
  margin-top: 1px;
}

.cart-item-price {
  font-size: var(--fs-sub);
  font-weight: 700;
  color: var(--color-label);
  margin-top: var(--sp-1);
}

/* 璐墿琚嬭鍐?Commerce 鐘舵€侊細琛屽皬璁?/ 绉婚櫎 / 棰勫敭涓庡敭缃勬爣璇嗭紙Store 鏀归€狅級 */
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.cart-item-subtotal {
  font-size: var(--fs-note);
  font-weight: 700;
  color: var(--ink-deep);
}

.cart-item-remove {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-secondary-label);
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.12s;
}

.cart-item-remove:active {
  color: var(--ink-deep);
}

.cart-item-flag {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-secondary-label);
  margin-top: 3px;
}

.cart-item-flag.flag-danger {
  color: #FF3B30;
}

.cart-item-off .cart-item-img {
  opacity: 0.45;
}

.cart-item-off .cart-item-title {
  color: var(--color-secondary-label);
}

.cart-empty-btn {
  margin-top: var(--sp-4);
  height: var(--btn-h-xs);
  padding: 0 var(--sp-5);
  border-radius: var(--r-pill);
  border: var(--border-card);
  background: transparent;
  font-size: var(--fs-cap);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-label);
  cursor: pointer;
  transition: background-color 0.12s;
}

.cart-empty-btn:active {
  background: var(--bg-secondary);
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: var(--border-card);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-label);
  line-height: 0;
  cursor: pointer;
  transition: background-color 0.12s;
}

.cart-qty-btn svg {
  display: block;
}

.cart-qty-btn:active {
  background-color: var(--bg-secondary);
}

.cart-qty-num {
  font-size: var(--fs-note);
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.cart-drawer-footer {
  padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom, 12px)) var(--sp-5);
  border-top: var(--border-hair);
  background: var(--bg-card);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sub);
  color: var(--color-secondary-label);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--sp-3) 0 var(--sp-4) 0;
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--ink-deep);
}

.cart-checkout-btn {
  width: 100%;
  height: var(--btn-h);
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  border-radius: var(--r-pill);
  font-size: var(--fs-body);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  transition: transform 0.12s;
}

.cart-checkout-btn:active {
  transform: scale(0.98);
}

.cart-checkout-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* TOP MOMENTS 棰勮妯″紡姝ｆ枃鏈熬鐨?CTA锛?pdMomentCta锛屾櫘閫氳鎯呴噷闅愯棌锛夛細
   婊氬埌搴?鈫?鐢辫繖閲岃烦鍒拌繖涓€绔狅紙瀹氫綅鍒板畠鐨勭エ鏍瑰崱骞?*鎵ц鐐瑰嚮**锛夈€?   鏍峰紡涓庡簳鏍忕殑 ADD TO BAG 鍚屼竴棰楄兌鍥婃寜閽紝杩欓噷鍙姞姝ｆ枃鏈熬鐨勫垎闅斻€?*/
.pd-moment-cta {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: var(--border-hair);
}

/* 璁㈠崟鎴愬姛鎻愮ず妯℃€佺獥 (Full Store Loop Success Modal) */
.checkout-success-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  box-sizing: border-box;
}

.checkout-success-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.checkout-success-card {
  width: 100%;
  max-width: 360px;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  text-align: center;
  box-sizing: border-box;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--inv-bg);
  color: var(--inv-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-h2);
  margin: 0 auto var(--sp-4) auto;
}

.success-title {
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--ink-deep);
  margin-bottom: var(--sp-2);
}

.success-desc {
  font-size: var(--fs-note);
  color: var(--color-secondary-label);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}

.success-order-num {
  font-family: var(--font-sans);
  font-size: var(--fs-note);
  font-weight: 600;
  color: var(--color-label);
  background: var(--bg-secondary);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  display: inline-block;
  margin-bottom: var(--sp-5);
}

.success-close-btn {
  width: 100%;
  height: var(--btn-h-sm);
  border-radius: var(--r-pill);
  background: var(--inv-bg);
  color: var(--inv-ink);
  border: none;
  font-size: var(--fs-sub);
  font-weight: 600;
  cursor: pointer;
}


/* 妗岄潰涓撳睘 DOM/JS 娉ㄥ叆浠跺湪鎵嬫満绔竴寰嬮殣钘忥紙JS 娉ㄥ叆涓嶅垎瑙嗗彛锛岄潬 CSS 鏀跺彛锛?*/
.desktop-nav-menu,
.desktop-nav-actions {
  display: none;
}

/* ==========================================================================
   2026-11-09 用户要求：电脑版直接复制手机版布局
   --------------------------------------------------------------------------
   桌面端不再有独立的「展厅式」双列改版。所有视口共用同一套手机单列结构与
   组件，只把内容容器放宽到 720px 并居中（见下方 min-width:900px 的宽度覆盖）。
   原先这里的 24.7KB 桌面覆盖块（1440 网格 / 双列 hero / 桌面代码墙 /
   桌面导航 / 桌面页脚 / 画墙网格 / 半圆仪表）已整体删除。
   ========================================================================== */
/* ==========================================================================
   2026-11-09：桌面端（>=900px）沿用手机单列布局，只放宽容器宽度
   --------------------------------------------------------------------------
   手机版所有内容都在 .mobile-app-container（max-width 480px）里居中；
   电脑端把同一个容器放宽到 720px，固定顶栏 / 底栏 / 浮层同步同宽同中线，
   否则 fixed 元素会跑到栅格外面（顶栏错位）。
   ========================================================================== */
@media (min-width: 900px) {
  .mobile-app-container,
  body.page-home .app-top-header,
  .app-bottom-tabbar,
  .provenance-bottom-sheet,
  .cart-drawer-panel,
  .nfc-scan-modal,
  .screen-hero-overlay,
  .screen-member-inner {
    max-width: 720px;
  }

  /* 购物车悬浮按钮贴住内容容器右缘（手机端仍是贴视口 20px） */
  .store-floating-cart-btn {
    right: max(20px, calc((100vw - 720px) / 2 + 20px));
  }
}


/* ==========================================================================
   缁熶竴鏍囩瑙勮寖锛?026-10-24锛夆€斺€?鍏ㄧ珯鎵€鏈夈€屽皬鏍囬 / 瀛楁鏍囩銆嶅叡鐢ㄨ繖涓€鏉?   瑕嗙洊锛氱エ鏍?SERIES路EDITION路ARCHIVE銆佽鍗曞崱銆佽喘鐗╄銆丯ew Drop 鐨?EDITION/CLAIMED
   浠讳綍椤甸潰閮戒笉瑕佸啀鍗曠嫭鍐?opacity / 瀛楀彿锛屽惁鍒欏張浼氬悇鍐欎竴浠姐€佹敼涓€澶勬紡涓€澶勩€?   ========================================================================== */
.ct-meta-k,
.dsc-k,
.dpb-header,
.tmd-coll-label {
  color: currentColor;
  opacity: var(--label-opacity);
}

/* 绁ㄦ牴/璁㈠崟鍗¤繖绫诲皬灏哄鏍囩锛氬瓧鍙蜂笌瀛楄窛涔熺粺涓€ */
.ct-meta-k,
.dsc-k {
  font-size: var(--label-size-sm);
  letter-spacing: var(--label-track);
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   鍏ㄥ眬婊氬姩鏉￠殣钘?(Global Scrollbar Suppression)
   浜や簰閫昏緫浠ユ墜鏈轰负鍑嗭細婊氬姩鏉′笉鍗犳樉绀虹┖闂达紝婊氬姩浣嶇疆浠嶅彲姝ｅ父婊氬姩
   ========================================================================== */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ==========================================================================
   绛夌骇鑹叉澘涓庣瓑绾ф爣绛?(Tier Palette & Tier Badges)
   account 椤垫潈鐩婂崱 / 棣栭〉鐢ㄦ埛鏍囩 棰滆壊涓€涓€瀵瑰簲
   ========================================================================== */
:root {
  --tier-01: #9A9A93;
  --tier-02: #6F8FA7;
  --tier-03: #B0785C;
  --tier-04: #8A7190;
  --tier-05: #5C715E;
  --tier-po: #3F3F46;
}

.tier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-1);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.6px;
  color: var(--mc-ink, #FFFFFF);
  background: var(--mc-bg, var(--tier-01));
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-pill);
}

/* ===== 浼氬憳鍗￠厤鑹诧紙mc-band-N锛夊叏灞€鍞竴鐪熸簮锛?026-10-24锛?=====
   鐢ㄦ埛瑕佹眰锛氶椤?Archive 鐨勪釜浜哄浘鏍囬噷锛屼細鍛樻爣璇嗗皬鏍囩锛圗xplorer锛?   瑕佷笌浼氬憳鍗″ぇ鍥惧悓鑹层€備細鍛樺崱锛坧rofile.html .membership-card锛夈€?   Account 涓汉鍗℃爣绛俱€侀椤?.tier-badge 鍏ㄩ儴璇诲悓涓€缁勫彉閲忋€?*/
.mc-band-0 { --mc-bg: #F1F2F4; --mc-ink: #111111; }
.mc-band-1 { --mc-bg: #1B2A4A; --mc-ink: #8FC7F0; }
.mc-band-2 { --mc-bg: #4A4A22; --mc-ink: #F0E6C8; }
.mc-band-3 { --mc-bg: #B5611F; --mc-ink: #FFF4E4; }
.mc-band-4 { --mc-bg: #5C1A26; --mc-ink: #BBD4EC; }
.mc-band-5 { --mc-bg: #2A2A2E; --mc-ink: #D8B45A; }

/* 鏃犱换浣曠О鍙锋椂鐨勯粯璁ゅ窘绔狅紙USER / 鏅€氱敤鎴凤級锛氳蛋 mc-band-0 鐨勪腑鎬ч厤鑹?*/
.tier-badge-default {
  background: var(--mc-bg, var(--tier-01));
  color: var(--mc-ink, #FFFFFF);
}

/* ==========================================================================
   瀛愰〉闈㈣繑鍥炲紡澶撮儴 (Sub-page Back Header)
   鐢ㄤ簬 events / orders / personal / address / terms / contact 鍏釜鍔熻兘椤?   ========================================================================== */
.subpage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subpage-back {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  color: var(--color-label);
}

.subpage-back-chevron {
  font-size: var(--fs-h2);
  line-height: 1;
  font-weight: 600;
  margin-top: -2px;
}

.subpage-back-title {
  font-size: var(--fs-title);
  font-weight: 700;
  letter-spacing: 0px;
}

/* 宸茬櫥褰曠敤鎴峰悕鐐瑰嚮鑿滃崟锛堣处鎴?/ 鐧诲嚭锛夛細閿氬畾鍙充笂瑙掑皬娴眰锛宐lur 娓愭樉娓愰殣 */
.account-menu {
  position: fixed;
  z-index: 1300;
  min-width: 148px;
  padding: 6px;
  background: var(--bg-frosted-soft);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  backdrop-filter: blur(25px) saturate(190%);
  border: 0.5px solid var(--line-mid);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.32, 0.72, 0.24, 1);
}

.account-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.account-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--sp-3) var(--sp-3);
  border: none;
  background: transparent;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--color-label);
  cursor: pointer;
}

.account-menu-item:active {
  background: var(--bg-soft);
}

.account-menu-item:disabled {
  color: var(--color-tertiary-label);
  cursor: default;
}

/* ==========================================================================
   Account 瀛愰〉闈㈤€氱敤缁勪欢 (Events/Orders/Personal/Address/Terms/Contact)
   ========================================================================== */
.sub-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-dim-2);
  margin-bottom: var(--sp-4);
}

.sub-strip .strip-meta {
  color: var(--color-secondary-label);
  font-weight: 600;
}

.sub-card {
  background: var(--bg-card);
  border: var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  margin-bottom: var(--sp-3);
}

.sub-chip {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.sub-chip.black {
  background: var(--inv-bg);
  color: var(--inv-ink);
}

.sub-chip.gray {
  background: var(--bg-secondary);
  color: var(--color-secondary-label);
}

.sub-btn.ghost {
  background: var(--bg-secondary);
  color: var(--color-label);
}

.sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

.sub-body {
  padding: var(--sp-3) var(--gutter) calc(48px + env(safe-area-inset-bottom, 20px)) var(--gutter);
}

/* ==========================================================================
   椤甸潰鍒囨崲杩囨浮锛堝叏绔欑粺涓€锛?   鐐瑰嚮杩涘叆 = 鏂伴〉鍘熷湴娓愭樉锛涚寮€ = 褰撳墠椤垫笎闅愶紙鏃犱綅绉伙紝閬垮厤缈婚〉鎰燂級
   ========================================================================== */
@keyframes nav-enter-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes nav-exit-fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.mobile-app-container.nav-anim-enter {
  animation: nav-enter-fade 0.32s ease-out both;
  will-change: opacity;
}

.mobile-app-container.nav-anim-exit {
  animation: nav-exit-fade 0.17s ease-in both;
  will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {

  .mobile-app-container.nav-anim-enter,
  .mobile-app-container.nav-anim-exit {
    animation: none;
  }
}

/* ==========================================================================
   鍏ュ彛棰勫姞杞借繃娓″眰 (Entry Preloader)
   杩涘叆 index 鏃舵弧灞忚鐩栵細鐧藉簳鐏板瓧浠ｇ爜澧?+ 灞呬腑鐧借壊 Box.svg + 搴曢儴杩涘害绾?   ========================================================================== */
.pl-stage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* preloader 姘歌繙鏄搧鐗屾繁鐏伴粦搴曪紝涓?box / 鍏ㄧ珯 #222226 榛戦敭鑹蹭竴鑷达細
     light mode 涓嬩篃鏄粦搴曪紝閫犲嚭銆岄粦灞忚繃娓?+ 涓績娣辫壊 box銆嶇殑缁熶竴鍝佺墝鍏ュ満 */
  background: #222226;
  opacity: 1;
  transition: opacity 0.34s ease;
}

/* 绔欏唴鐐瑰洖棣栭〉 / 娴忚鍣ㄥ悗閫€锛氭暣灞傜洿鎺ヤ笉鏄剧ず锛屼篃涓嶆挱鍔ㄧ敾 */
.pl-skip .pl-stage {
  display: none;
}

.pl-stage.is-done {
  opacity: 0;
  pointer-events: none;
}

.pl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 鐧借壊 Box 濮嬬粓灞呬簬椤甸潰姝ｄ腑锛孡OGO 鎸傚湪瀹冩涓嬫柟銆佷笉褰卞搷灞呬腑 */
.pl-box-wrap {
  position: relative;
}

.pl-box {
  width: min(46vw, 30vh);
  max-width: 260px;
  display: block;
  opacity: 0;
  transform: scale(0.92);
  animation: pl-box-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
  /* SVG 鏈綋濉?#222226锛堝闂翠笌浠ｇ爜澧欏悓鑹查殣韬級锛?     鏃ラ棿鐧藉闇€瑕佺櫧鐩掞細brightness(0) 鍏堝帇绾粦锛宨nvert(1) 鍐嶈浆绾櫧锛?     鍦ㄤ唬鐮侀洦涓婄暀鐧借壊鍓奖锛堟棫鐗堛€岀櫧鑹?Box.svg銆嶈璁＄殑鎭㈠锛岀函 CSS 鏃ュ鍒囨崲锛?*/
  filter: brightness(0) invert(1);
}

@keyframes pl-box-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Box 姝ｄ笅鏂癸細LOGO 鈥斺€?鍘嬪湪浠ｇ爜澧欒儗鏅笂锛堜笉鍦?Box 鍐咃級锛屽洜姝や繚鎸佸師鐢熷ⅷ鑹诧紝
   鐢辨繁鑹叉ā寮忕粺涓€鍙嶇浉鎴愮櫧鏍囷紙瑙佹枃浠舵湯灏?prefers-color-scheme 鍧楋級 */
.pl-logo {
  position: absolute;
  left: 50%;
  top: calc(100% + clamp(18px, 3vh, 32px));
  transform: translate(-50%, 7px);
  width: min(30vw, 18vh);
  max-width: 156px;
  height: auto;
  display: block;
  opacity: 0;
  animation: pl-logo-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

@keyframes pl-logo-in {
  from {
    opacity: 0;
    transform: translate(-50%, 7px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* 椤甸潰鏈€搴曢儴锛氱姸鎬佹枃瀛?+ 婊″杩涘害绾?*/
.pl-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.pl-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-5) var(--sp-3) var(--sp-5);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-tertiary-label);
  opacity: 0;
  animation: pl-fade 0.5s ease 1.18s forwards;
}

@keyframes pl-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.pl-track {
  height: 1px;
  background: var(--line-tint);
  overflow: hidden;
}

.pl-fill {
  height: 100%;
  width: 0%;
  background: var(--inv-bg);
}

/* 娣辫壊妯″紡锛歱reloader 浠ｇ爜澧欏簳鑹?瀛楄壊鐢?js 渚э紙code-wall.js / preloader.js锛夋寜绯荤粺鑷姩鍒囨崲 */
/* ===== S3 touch targets: 44px invisible hotzone (visual size unchanged) ===== */
.receipt-pager-btn,
.ios-close-btn,
.pill-btn,
.pill-dropdown-btn,
.addr-action,
.track-action,
.copy-action,
.member-close-btn,
.subpage-back-chevron,
.tap-44,
.share-action-btn-close,
.sub-btn {
  position: relative;
}

.receipt-pager-btn::after,
.ios-close-btn::after,
.pill-btn::after,
.pill-dropdown-btn::after,
.addr-action::after,
.track-action::after,
.copy-action::after,
.member-close-btn::after,
.subpage-back-chevron::after,
.tap-44::after,
.share-action-btn-close::after,
.sub-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

/* ==========================================================================
   澶村儚鏇存崲锛圓vatar Edit锛夆€?鍙偣鍑诲ご鍍?+ 鐩告満瑙掓爣 + iOS Action Sheet
   profile / personal 鍏辩敤锛涢璁鹃厤鑹插瓧姣嶅ご鍍忎笌涓婁紶鐓х墖鍏ㄧ珯鍚屾
   ========================================================================== */
.avatar-edit-wrap {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  font-family: inherit;
}

.avatar-cam-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-label);
  color: var(--bg-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-canvas);
  box-sizing: border-box;
  pointer-events: none;
}

.avatar-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.avatar-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.avatar-sheet {
  width: 100%;
  max-width: 720px;
  background: var(--bg-soft);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: var(--sp-5) var(--sp-4) calc(var(--sp-4) + env(safe-area-inset-bottom, 20px)) var(--sp-4);
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.24, 1);
}

.avatar-sheet-backdrop.open .avatar-sheet {
  transform: translateY(0);
}

.avatar-sheet-title {
  font-size: var(--fs-sub);
  font-weight: 600;
  color: var(--ink-dim-2);
  text-align: center;
  margin-bottom: var(--sp-4);
}

.avatar-preset-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.avatar-preset {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--fs-sub);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
  /* icon/瀛楁瘝缁熶竴鍦嗗績灞呬腑 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-preset.active {
  border-color: var(--color-label);
}

/* 榛樿澶村儚 icon 妯″紡锛堟棤濮撳悕鏃?DINERBOX 鍙栨櫙妗嗭級锛氬渾褰㈤粦搴?+ 灞呬腑鐧芥爣 */
[data-user-avatar].avatar-logo-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar-preset svg {
  pointer-events: none;
}

.avatar-preset:active {
  transform: scale(0.92);
}

.avatar-sheet-group {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.avatar-sheet-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--color-label);
  padding: var(--sp-4);
  text-align: center;
  cursor: pointer;
}

.avatar-sheet-btn+.avatar-sheet-btn {
  border-top: var(--border-hair);
}

.avatar-sheet-btn.bold {
  font-weight: 600;
}

.avatar-sheet-btn.danger {
  color: #B0785C;
}

/* ==========================================================================
   纾ㄧ爞鍣偣璐ㄦ劅 鈥?浼氬憳/韬唤鍗★紙.mc-inner锛変笌鏀惰棌鍗★紙.plan-card锛夎〃闈㈤绮?   SVG feTurbulence 鐏板櫔锛坰aturate 0 鍘诲僵锛変綆閫忔槑搴﹀彔鍔狅紱鐖跺崱 overflow:hidden
   璐熻矗鍦嗚瑁佸壀锛屽櫔鐐瑰眰鏃犻渶鍦嗚锛沺ointer-events:none 涓嶆尅鍗￠潰浜や簰
   ========================================================================== */
.mc-inner {
  position: relative;
}

.mc-inner::after,
.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.1;
  pointer-events: none;
}

/* ==========================================================================
   娣辫壊妯″紡宸插叏闈㈢鐢紙閬靛惊瀹㈡埛闇€姹傦細鍏ㄧ珯棰滆壊涓嶅彈浠讳綍娴忚鍣?鎿嶄綔绯荤粺澶滈棿妯″紡褰卞搷锛?   鎵€鏈夊彉閲忎笌椤甸潰濮嬬粓涓ユ牸淇濇寔 Figma 鏍囧畾绾娴呰壊涓庡師鑹?   ========================================================================== */
@media (prefers-color-scheme: dark) and (max-width: 0px) {

  /* How to Enjoy It 鍏ュ彛鍗★細澶滈棿涓嶅啀鍙嶇櫧锛岄€忔槑搴?+ 涓婚鏂囧瓧鑹诧紙涓庝笂鏂圭敤鎴峰崱鍚岄鏍硷級锛?     鍥炬爣 / 鏍囬 / 绠ご鍏ㄩ儴鑴辩鍙嶈壊鍙橀噺锛屽惁鍒欏闂撮粦瀛楀帇鏆楀簳闅愬舰 */
  .about-entry-card {
    background: transparent;
    color: var(--color-label);
    /* 澶滈棿涓嶅啀鍙嶇櫧 鈫?鍥炲綊鏅€氬崱鐗囨弿杈硅壊锛屼笌鍏跺畠鍗＄墖鍚屼竴鏉＄嚎 */
    border-color: var(--line);
  }

  .about-entry-card .about-entry-ico svg,
  .about-entry-card .about-entry-title,
  .about-entry-card .about-entry-arrow {
    color: var(--color-label);
  }



  :root {
    color-scheme: only light;   /* 涓嶅 Edge 琛ㄦ€併€屾垜鏀寔鏆楄壊銆嶏紝鍚﹀垯瀹冧細鑷繁寮鸿鏀硅壊 */

    /* 鑳屾櫙缁勶細鐢诲竷鍏ㄩ粦锛屽崱鐗囬€愮骇鎶珮 */
    --bg-canvas: #222226;
    --bg-canvas-rgb: 34, 34, 38;
    --bg-card: #1C1C1E;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #2C2C2E;
    --bg-soft: #141416;
    --bg-inset: rgba(255, 255, 255, 0.06);
    --bg-inset-strong: rgba(255, 255, 255, 0.1);
    --bg-frosted: rgba(28, 28, 30, 0.94);
    --bg-tabbar: #1C1C1E;
    --bg-frosted-soft: rgba(28, 28, 30, 0.85);

    /* 鏂囧瓧缁?*/
    --color-label: #F2F2F7;
    --color-secondary-label: #98989F;
    --color-tertiary-label: #636366;

    /* 椤佃剼涓撶敤鑹诧紙鏆楄壊涓婚锛夛細#636366 鍘嬪湪 #222226 涓婂彧鏈?2.65:1锛屽悓鏍峰お浣庛€?       #A1A1AA = 6.19:1锛沨over #C7C7CC銆?*/
    --db-footer-ink: #A1A1AA;
    --db-footer-ink-hover: #C7C7CC;
    --ink-strong: #FFFFFF;
    --ink-deep: #A1A1AA;
    --ink-deep-2: #C7C7CC;
    --ink-dim-2: #8E8E93;
    --ink-mute-2: #98989F;
    --ink-alpha: rgba(255, 255, 255, 0.72);

    /* 绾挎潯缁勶細鍒嗛殧绾?鎻忚竟/杈规鍏ㄩ儴鎹㈡繁鑹茬郴 */
    --ios-separator: rgba(84, 84, 88, 0.6);
    --line: #3F3F46;
    --line-tertiary: #2C2C2E;
    --line-strong: #52525B;
    --line-heavy: #636366;
    --line-soft: rgba(255, 255, 255, 0.08);
    --line-tint: rgba(84, 84, 88, 0.4);
    --line-mid: rgba(84, 84, 88, 0.6);
    --line-grabber: rgba(118, 118, 128, 0.5);
    --wave-line: rgba(255, 255, 255, 0.22);

    /* 2026-10-21锛氬悓 .dbx-dot-surface 鈥斺€?杩欎袱鏉″湪 :root 澹版槑鏃跺氨鎶?var() 绠楁浜嗭紝
       鏆楄壊涓婚閲屼笉閲嶅啓灏变粛鏄祬鑹?#E5E5EA锛屽湪榛戝簳涓婃槸涓€鏉＄櫧绾裤€?*/
    --border-hair: 0.5px solid var(--line-tertiary);
    --border-strong: var(--bw) solid var(--line-strong);

    /* 鍙嶈壊鎺т欢缁勶細娴呰壊鐨勯粦搴曠櫧瀛楀湪娣辫壊涓嬫暣浣撳弽杞负鐧藉簳榛戝瓧 */
    --inv-bg: #F2F2F7;
    --inv-bg-pure: #FFFFFF;
    --inv-ink: #0A0A0C;
    --inv-ink-soft: rgba(0, 0, 0, 0.55);
    --inv-tint: rgba(0, 0, 0, 0.1);
    --inv-tint-weak: rgba(0, 0, 0, 0.25);
    --inv-tint-weak-2: rgba(0, 0, 0, 0.35);
    --inv-tint-500: rgba(0, 0, 0, 0.5);

    /* 鍝佺墝褰╄壊锛歩OS 娣辫壊鐩樻彁浜増 */
    --ios-red: #FF453A;
    --ios-blue: #0A84FF;
    --ios-green: #30D158;

    /* 甯告殫闈細娣辫壊涓嬫姮楂樹竴妗ｏ紝閬垮厤涓?--bg-canvas(#222226) 鍚岃壊鑰岄殣褰?*/
    --dark-bg: #2C2C2E;
    --dark-bg-deep: #141416;

    /* 绁ㄦ嵁绾革細娣辫壊涓嬪彉鏆楋紝涓庣敾甯?#222226)鎷夊紑涓€妗?*/
    --paper: #1C1C1E;

    /* 绛夌骇寰界珷搴曪細娣辫壊涓嬫彁浜紝閬垮厤涓伆鍘嬪湪娣卞簳涓婄湅涓嶆竻 */
    --tier-01: #636366;
    --tier-po: #2C2C2E;
  }

  /* 瀹氬悜瑕嗙洊锛氭瀬灏戞暟纭紪鐮佹祬鑹插€硷紙搴曟爮鎻忚竟 / 琛屽垎闅?/ 鎸夊帇搴?/ 浠〃鍒诲害锛?*/
  .ios-form-bottom-bar,
  .label-bottom-bar {
    border-top-color: #2C2C2E;
  }

  /* TabBar锛氭繁鑹叉ā寮忎笅瀛?icon 寮哄埗绾櫧锛堢敤鎴疯姹?娣辫壊鏃剁櫧鑹?锛?*/
  .app-bottom-tabbar .tabbar-item,
  .app-bottom-tabbar .tabbar-item.active {
    color: #FFFFFF;
  }

  /* 澶滈棿妯″紡锛氭墍鏈夋澘鍧楃殑鎻忚竟鍏ㄩ儴鍘绘帀锛堢敤鎴疯姹傦級鈥斺€?     鍖呮嫭鍗＄墖銆佽緭鍏ユ銆佹寜閽€乴ist-item 绛変竴鍒囧甫 border 鐨勫厓绱?*/
  *,
  *::before,
  *::after {
    border-color: transparent !important;
  }

  /* 渚嬪锛歂FC 闆疯揪闈犳弿杈瑰憟鐜版墿鏁ｅ姩鐢伙紝涓婇潰鐨勫叏灞€瑙勫垯浼氭妸瀹冩竻鎴愰€忔槑 鈫?     娣辫壊妯″紡涓嬮浄杈?娑堝け"銆傝繖閲屾樉寮忚繕鍘燂紙鍗￠潰闆疯揪 / NFC 寮圭獥闆疯揪 / 鎴愬姛鎬侀浄杈撅級 */
  .brick-radar-wave {
    border-color: rgba(34, 34, 38, 0.32) !important;
  }

  .radar-wave {
    border-color: var(--wave-line) !important;
  }

  .nfc-radar-pulse-box.success .radar-wave {
    border-color: rgba(52, 199, 89, 0.4) !important;
  }

  .cart-item-row {
    border-bottom-color: #2C2C2E;
  }



  .gauge-track {
    stroke: #3A3A3C;
  }

  .gauge-tick {
    stroke: #5A5A5E;
  }

  /* 绾㈠簳寰芥爣锛氭枃瀛楅殢 --inv-ink 浼氱炕鎴愰粦瀛楀帇绾㈠簳锛屽己鍒朵繚鎸佺櫧瀛?*/
  .profile-status-badge,
  .cart-badge-count {
    color: #FFFFFF;
  }

  /* 鍝佺墝榛戞爣鍙嶇浉鎴愮櫧鏍囷紙椤靛ご / 寮€鍦?/ 娴锋姤锛夛紱浜у搧鍥?card_*.svg 淇濇寔鍘熸牱
     .pl-logo 涔熷湪杩欓噷鍙嶇浉锛氬畠鍘嬪湪浠ｇ爜澧欒儗鏅笂锛圔ox.svg 涔嬪锛夛紝娣辫壊澧欐墠闇€瑕佺櫧鏍?*/
  .dinerbox-brand-logo,
  .pl-logo,
  .sp-logo {
    filter: invert(1);
  }

  /* LATEST MOMENT 鍗＄爾锛坈ard_locked.svg 宸查噸鐢伙細娴呯伆搴?+ 榛戝ぇ鐭╁舰 + 鐧藉渾瑙?box + 榛戝窘绔狅級锛?     light / dark 閮界敤鍘熻壊锛屾棤闇€婊ら暅 */
  .featured-card-brick img {
    /* 鏃犳护闀?*/
  }

  /* 寮€鍦?Box.svg 鏈韩宸插～绯荤粺榛?#222226锛屼笌浠ｇ爜澧欏簳鑹插悓涓€涓粦锛屽闂撮殣韬紱
     鏃ラ棿鐧藉鐢?.pl-box 鍩虹瑙勫垯鐨?brightness(0) invert(1) 婊ら暅杞函鐧斤紙瑙?4550 琛岋級锛?     姝ゅ蹇呴』杩樺師涓烘棤婊ら暅銆傚師鍏堢殑 grayscale(1) brightness(0.16) 浼氭妸瀹冨帇鎴愬彟涓€绉嶆繁鐏帮紝涓嶅彲鐢?*/
  .pl-box {
    filter: none;
  }
}


/* ---------------------------------------------------------------------------
   ICP / 鍏綉瀹夊 澶囨鍙锋潯锛堢敱 js/app.js 鐨?injectIcpFooter() 鑷姩娉ㄥ叆 body 鏈熬锛?
   璁捐鍘熷垯锛?   - 涓嶆姠鐪硷細鏋佸皬瀛楀彿 + 涓€ц壊 + 搴曢儴灞呬腑
   - 涓嶆尅鍐呭锛歱ointer-events: auto on links, no overlay
   - 鍏煎搴曢儴 fixed 娴眰锛堣喘鐗╄ drawer / 鏀堕摱鍙?backdrop锛変笉涓庡妗堟潯鍐茬獊
   - 涓枃/鑻辨枃绔欑偣閮芥樉绀轰腑鏂囷紙鍚堣瑕佹眰锛?   --------------------------------------------------------------------------- */
.db-icp-footer {
  /* 2026-10-24 鐢ㄦ埛瑕佹眰锛欼CP 澶囨鍙枫€岃棌鍦ㄦ渶搴曢儴锛屼笉瑕侀湶鍑烘潵銆嶃€?     鍘熸潵瀹冧綔涓?body 鐨勭嫭绔?flex 瀛愰」杩藉姞鍦?<main> 涔嬪悗锛岃繕甯?24px / 鎵嬫満涓?84px
     鐨勪笅澶栬竟璺濓紝鏃㈡拺鍑轰竴澶у潡绌虹櫧锛屽張鍦?DOMContentLoaded 鍚庢墠娉ㄥ叆
     鈫?鏂囨。楂樺害绐佸彉 = 璺冲睆銆?     鐜板湪鏀逛负缁濆瀹氫綅璐村湪鏂囨。鏈€搴曢儴锛屼笉鍗犱换浣曞竷灞€楂樺害銆?*/
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 var(--sp-3) env(safe-area-inset-bottom, 0px);
  margin: 0;
  border-top: none;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--db-footer-ink);
  text-align: center;
  line-height: 1.2;
  opacity: 0.75;
}

.db-icp-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--db-footer-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.db-icp-link:hover,
.db-icp-link:focus-visible {
  color: var(--db-footer-ink-hover);
}

.db-icp-glyph {
  flex-shrink: 0;
  opacity: 0.7;
}

.db-icp-text {
  font-feature-settings: "tnum";
}

.db-icp-link--alt {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* 閮ㄥ垎椤甸潰锛堝棣栭〉锛夊凡缁忔湁 .desktop-footer锛埪?+ 鏃у崰浣嶏級锛岄伩鍏嶉噸澶嶆樉绀哄妗堟潯 */
.page-home .db-icp-footer {
  margin: 0;
  border-top: none;
  padding: 0 var(--sp-3) env(safe-area-inset-bottom, 0px);
  font-size: 10px;
}

/* 2026-10-24锛氬妗堟潯宸叉敼涓虹粷瀵瑰畾浣嶈创鍦ㄦ枃妗ｆ渶搴曢儴锛屼笉鍐嶉渶瑕佷负搴曟爮棰勭暀澶栬竟璺?*/
@media (max-width: 899.98px) {
  body .db-icp-footer {
    margin-bottom: 0;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
  }

  /* 2026-10-26 用户要求：ICP 备案号在手机端不显示 */
  .db-icp-footer {
    display: none !important;
  }
}

/* 2026-11-10 用户口径：电脑端保留备案条显示。
   备案条由 js/app.js 注入到 body 末尾，基础规则是「绝对定位贴 main 底边、高度 0」，
   在电脑端会被固定底栏（52px）整条盖住、实际看不见。这里改为参与正常布局：
   占一行高度 + 底部留出底栏空间，滚动到最底部时正好落在 TabBar 上方。 */
@media (min-width: 900px) {
  .db-icp-footer,
  .page-home .db-icp-footer {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 10px var(--sp-3) calc(64px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    opacity: 1;
  }
}

/* ==========================================================================
   NFC 璁㈠崟闂ㄧ澶辫触寮圭獥 + 鏀惰棌鍗＄爾缂栧彿鏍囩锛?026-10-15锛?   寮圭獥瀹瑰櫒鐢?js/app.js 鐨?ensureNfcFailModal() 娉ㄥ叆锛屽叏绔欏叡鐢ㄤ竴浠姐€?   ========================================================================== */
.nfc-fail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: rgba(0, 0, 0, 0.44);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nfc-fail-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nfc-fail-card {
  width: min(360px, 100%);
  background: var(--bg-card);
  color: var(--color-label);
  border: var(--bw) solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  text-align: center;
  font-family: var(--font-sans);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.25, 1, 0.5, 1);
}

.nfc-fail-backdrop.open .nfc-fail-card {
  transform: none;
}

.nfc-fail-glyph {
  width: 46px;
  height: 46px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--bw) solid var(--line-heavy);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
}

.nfc-fail-title {
  font-size: var(--fs-title);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
}

.nfc-fail-text {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-sub);
  line-height: 1.55;
  color: var(--color-secondary-label);
}

.nfc-fail-meta {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-tertiary-label);
}

.nfc-fail-actions {
  margin-top: var(--sp-5);
  display: flex;
  gap: var(--sp-3);
}

.nfc-fail-btn {
  flex: 1;
  height: var(--btn-h-sm);
  border-radius: var(--btn-radius);
  font-family: inherit;
  font-size: var(--fs-sub);
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.nfc-fail-btn.primary {
  background: var(--ink-strong);
  color: var(--color-white);
  border: var(--bw) solid var(--ink-strong);
}

.nfc-fail-btn.ghost {
  background: transparent;
  color: var(--ink-strong);
  border: var(--bw) solid var(--line-heavy);
}

.nfc-fail-btn:active {
  transform: scale(0.98);
}

/* 鏀惰棌鍗＄爾锛氱粰缂栧彿鏍囩鎻愪緵瀹氫綅涓婁笅鏂?*/
.collection-card-item {
  position: relative;
}

/* 宸插垹闄わ紙2026-10-16锛夛細姝昏鍒?`.collection-card-item .collection-brick-edition`
   鈥斺€?鐢ㄦ埛瑕佹眰鍘绘帀鍗＄爾鍙充笅瑙掔殑鐗堟暟鑳跺泭锛宩s/app.js 宸蹭笉鍐嶆覆鏌撹鍏冪礌锛堝叏绔?0 涓級锛?   杩欐潯瀹氫綅/鑳跺泭鏍峰紡宸叉棤浠讳綍寮曠敤锛屾寜銆屾病鏈夋帴鍏ョ殑鏃ф牱寮忎竴寰嬫竻鐞嗐€嶇Щ闄ゃ€?*/

/* --------------------------------------------------------------------------
   MY COLLECTION 鏃犲浘鍗＄爾锛氱敤鎴疯姹傘€屾病鏈夊崱鐮栨椂涓嶈鐢ㄤ换浣曞浘鐗囧崰浣嶃€嶁€斺€?   娌℃湁鐪熷浘灏卞彧娓叉煋鏂囧瓧锛堢爾鍚?+ 缂栧彿锛夛紝涓嶅啀鏀?card_locked 涔嬬被鐨勫崰浣嶅浘銆?   -------------------------------------------------------------------------- */
.collection-card-item--noart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  /* 渚嬪锛氭棤鍥惧崱鐮栧彧鏈夋枃瀛椼€佹病鏈夊浘锛屽幓鎺夎竟妗嗕細绯婃垚涓€鍥紝缁欏畠淇濈暀缁嗘銆?     !important 鏄负浜嗗帇杩囦笂闈?.collection-card-item 鐨?border:none銆?*/
  border: 1px solid var(--brick-outline, #D4D4D8) !important;
  border-radius: 7.6923% / 4.8485%;
  background: transparent;
  box-sizing: border-box;
  text-align: center;
}

.collection-card-item--noart .collection-noart-name {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-strong);
  line-height: 1.3;
  word-break: break-word;
}

/* ==========================================================================
   缁熶竴鍗＄爾澶栬疆寤擄紙鐢ㄦ埛 2026-10-15锛?   鈥斺€?activation 閲岀殑鍗＄爾澶栨鏄?rx=16 / 瀹?208.156 鐨勭幓鐠冩弿杈癸紙鎻忚竟瀹?1.4锛夈€?   鎸夌敤鎴疯姹傦細**鎵€鏈夊崱鐮?*锛坅ctivation / MY COLLECTION / store锛夌粺涓€鐢ㄥ悓涓€濂楀杞粨锛?   鎻忚竟鏀逛负娴呯伆鑹层€?   鍦嗚鐢ㄧ櫨鍒嗘瘮琛ㄨ揪锛?.6923% / 4.8485% 鈥斺€?鍦?208:330 鐨勬瘮渚嬩笅姝ｅソ绛変簬 rx=16锛堝渾褰㈣锛夈€?   ========================================================================== */
:root {
  --brick-outline: #D4D4D8;
  --brick-outline-w: 1px;
  /* 缁熶竴鍗＄爾鍦嗚姣斾緥锛歛ctivation 鍗＄爾澶栨 rx=16 / 瀹?208.156锛岀珫鍚?16/330 */
  --brick-radius: 7.6923% / 4.8485%;
  /* 鍗＄爾鏍囧噯瀹介珮姣旓紙208.156 : 330锛夆€斺€斿鍣ㄤ繚鎸佽繖涓瘮渚嬶紝涓婇潰鐨勭櫨鍒嗘瘮鎵嶆槸姝ｅ渾瑙?*/
  --brick-aspect: 208.156 / 330;
}

/* 鐢ㄦ埛 2026-10-21锛歁Y COLLECTION 鐨勫崱鐮?*涓嶈鎻忚竟**銆?   鍘熸潵杩欓噷鍜?.featured-card-brick 鍏辩敤涓€鏉¤鍒欙紝绛変簬缁欐墍鏈夊崱鐮栭兘濂椾簡
   1px 娴呯伆澶栨锛涚幇鍦ㄦ媶寮€ 鈥斺€?鍙湁棣栭〉涓昏瑙?featured 鐮栦繚鐣欏杞粨锛?   鏀惰棌鍒楄〃閲岀殑鍗＄爾鍘绘帀锛堝浘鐗囨湰韬凡鑷甫鐮栫殑澶栧舰涓庢枃瀛楋紝鍐嶅妗嗗氨鏄€屽浘涓婄敾妗嗐€嶏級銆?*/
.featured-card-brick {
  border: var(--brick-outline-w) solid var(--brick-outline) !important;
  border-radius: 7.6923% / 4.8485% !important;
  overflow: hidden;
}

.collection-card-item {
  border: none !important;
  border-radius: 7.6923% / 4.8485% !important;
  overflow: hidden;
}

.featured-card-brick img,
.collection-card-item img {
  border-radius: 0 !important;
}



/* ==========================================================================
   澶村儚 6 鑹诧紙鐢ㄦ埛 2026-10-15锛氬ご鍍忛噷鐨?box 涓嶈鍙湁榛戠櫧锛岃 6 涓悇鑷笉鍚岀殑鑹诧紝
   鍙笌鍗＄墖搴曡壊浜掕ˉ / 楗卞拰搴︿笉鍚?/ 瀵规瘮搴﹀己鐑堬級
   涓庡崱鐗?6 妗ｄ竴涓€瀵瑰簲锛?/1=鏋佺畝榛戠櫧锛?=鍐疯摑锛?=鏆栨绾紝4=娣辩豢锛?=鏆栭噾锛?=娣辩传銆?   鍏ㄩ儴鎸?WCAG 鏍￠獙锛氭渶浣?4.5:1锛堥噾鑹?缁胯壊鐢ㄦ繁瀛楋紝鍏朵綑鐢ㄧ櫧瀛楋級銆?   鐢ㄦ硶锛氱粰澶村儚鍏冪礌鍔?class av-1 鈥?av-6锛圝S 鎸夋。浣嶅垏鎹級銆?   ========================================================================== */
/* 澶村儚鍏冪礌锛氬悇椤靛湪鑷韩 <style> 閲屼篃瀹氫箟浜?.account-avatar/.profile-avatar-circle锛?   椤甸潰鍐呰仈鏍峰紡鎺掑湪澶栭儴 css 涔嬪悗浼氱洊鎺夎繖閲?鈫?鐢?!important 淇濅綇 6 鑹插垏鎹?*/
[data-user-avatar],
.account-avatar,
.profile-avatar-circle,
.personal-avatar {
  background: var(--av-bg, var(--inv-bg)) !important;
  color: var(--av-ink, var(--inv-ink)) !important;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.av-1 { --av-bg: #111113; --av-ink: #FFFFFF; }   /* 榛?21.0:1 */
.av-2 { --av-bg: #2F6BFF; --av-ink: #FFFFFF; }   /* 钃?4.6:1  */
.av-3 { --av-bg: #C2410C; --av-ink: #FFFFFF; }   /* 姗欑孩锛堝帇娣卞埌杈?AA锛?/
.av-4 { --av-bg: #0E6B4A; --av-ink: #EAFBF3; }   /* 娣辩豢 6.6:1 */
.av-5 { --av-bg: #F5D97A; --av-ink: #111113; }   /* 鏆栭噾 12.9:1 */
.av-6 { --av-bg: #73537C; --av-ink: #F3EEFF; }   /* 娣辩传 10.7:1 */


/* ==========================================================================
   鍏ㄧ珯缁熶竴杩涘害鏉★紙鐢ㄦ埛 2026-10-17锛?   鈥斺€?鍙傝€?TOP MOMENTS 娣辫壊鏉跨殑璇█锛氭繁搴?+ 缁嗗渾瑙掕建閬?+ 濉厖 + **涓€涓綋鍓嶇偣** + 绛夊鏁板瓧銆?   鈥斺€?鍙栨秷鎵€鏈夋暟閲忓埢搴﹁妭鐐癸細閲岀▼纰戣妭鐐癸紙0/25/50/75/100锛変笌妗岄潰鍗婂渾浠〃鍒诲害鍏ㄩ儴閫€褰广€?   绾?CSS 瀹炵幇锛氬鐢ㄦ棦鏈?.challenge-track / .challenge-fill / .challenge-header-row锛?   鐢?.challenge-fill::after 鐢汇€屽綋鍓嶇偣銆嶏紝鍥犳鏃犻渶鏀逛换浣曢〉闈㈢殑 HTML銆?   ========================================================================== */

/* 鈶?鍒诲害鑺傜偣 / 浠〃锛氬叏绔欓€€褰?*/
.milestone-node,
.challenge-milestone-track-wrap .milestone-node,
.gauge-svg,
.gauge-readout,
.gauge-tick-node,
.challenge-track-node {
  display: none !important;
}

/* 鈶?杞ㄩ亾锛氱粏銆佸渾瑙掋€佹繁鑹叉澘涓婄殑浣庡姣斿簳 */
.challenge-track,
.mc-progress {
  position: relative !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: var(--dbx-track, rgba(255, 255, 255, 0.22)) !important;
  overflow: visible !important;
}

/* 鈶?濉厖锛氶殢杩涘害澧為暱锛屾湯绔甫銆屽綋鍓嶇偣銆?*/
.challenge-fill,
.mc-progress-fill {
  position: relative !important;
  display: block !important;
  height: 100% !important;
  border-radius: 999px !important;
  background: var(--dbx-fill, currentColor) !important;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 鈶?褰撳墠鐐癸紙灏忓渾鐐圭増锛夛細profile.html 浼氬憳鍗?.mc-progress-fill 娌跨敤 9px 绾偣 */
.mc-progress-fill::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dbx-dot, currentColor);
  box-shadow: 0 0 0 3px var(--dbx-dot-halo, rgba(0, 0, 0, 0.14));
  transform: translateY(-50%);
  pointer-events: none;
}

/* 鈶?褰撳墠鐐癸紙甯︽暟瀛楃殑鍦嗙墝锛夛細鐢ㄦ埛 2026-10-16 瑕佹眰銆岃繘搴︽潯鐨勫渾鐐归噷闈㈡樉绀哄綋鍓嶆暟瀛椼€嶃€?   鏁板瓧鍙栬嚜 .challenge-fill 鐨?data-count锛岀敱 js/app.js 鐨?updateChallengeProgressUI()銆?   challenge_progress 鍚屾鍒嗘敮鍜?playChallengeIntro() 閲嶇疆澶勫啓鍏ワ紱
   HTML 閲岄缃?data-count="0"锛岄伩鍏嶉甯у嚭鐜扮┖鍦嗙墝銆?   搴曡壊/瀛楄壊鐢?--inv-bg / --inv-ink 杩欎竴瀵癸紝娴呰壊娣辫壊涓婚鑷姩缈昏浆銆?*/
.challenge-fill::after {
  content: attr(data-count);
  position: absolute;
  top: 50%;
  /* 鐢ㄦ埛 2026-10-16锛氬渾鐐?*宸﹁竟缂?*涓庤繘搴︽潯宸︾瀵归綈銆?     璁?right: -鐩村緞锛?6px锛夋椂锛?% 澶勫渾鐐瑰乏杈圭紭姝ｅソ钀藉湪杞ㄩ亾宸︾ x=0銆?     鏃╁墠鐢ㄧ殑鏄?-鍗婂緞锛堝崐鐩村緞锛夛紝閭ｆ槸璁?*鍦嗗績**瀵归綈锛屽渾鐐逛細寰€宸︽孩鍑哄崐涓韩浣嶃€?*/
  /* 2026-10-17 鏍规嵁鐢ㄦ埛鍙嶉锛歩con 澶ぇ锛涚缉鍒?16x8 妯澘锛宺adius 2px锛堝凡涓庤繘搴︽潯宸﹁竟缂樺榻愶細灏忓昂瀵?+ centering锛?*/
  left: max(0px, calc(100% - 8px));  /* left-edge pin when progress small so no overflow left of bar */
  width: 16px;
  height: 8px;
  border-radius: 2px;
  background: var(--inv-bg);
  box-shadow: 0 0 0 3px var(--dbx-dot-halo, rgba(0, 0, 0, 0.14));
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--inv-ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* 鍦嗙墝鐩村緞 16px + 3px 鍏夋檿 = 22px锛屽寘瑁瑰眰缁欏埌 22px 鎵嶅垰濂戒笉琚尋銆?   锛堝垵鐗?26px 鍦嗙墝 + 32px 鍖呰９灞?鈫?鐢ㄦ埛涓ゆ鍙嶉銆屽渾鐐瑰お澶с€嶏紝26px 鈫?20px 鈫?16px銆傦級 */
.challenge-milestone-track-wrap {
  height: 22px;
  /* 2026-10-24 鐢ㄦ埛鍙嶉銆屾粦鍔ㄧ殑鏃跺€欎粬鐨勪綅缃細涓婁笅绉诲姩銆嶏細
     鍥哄畾鍦?header 涓嬫柟锛屾粴鍔ㄦ椂涓嶅啀璺熺潃椤甸潰涓婁笅璧般€?*/
  position: sticky;
  top: 52px;
  z-index: 10;
}

/* 棣栭〉浼氬憳鍗″帇缂╅珮搴︼紙2026-10-16 鐢ㄦ埛鍙嶉銆岄珮搴﹀彲浠ョ煯涓€鐐广€嶏級銆?   鍘?156px 鐨勬瀯鎴愰噷锛屾湁 24px 鏄彲浠ョ渷鎺夌殑绌烘皵锛?     鏍囬琛?margin-bottom 8 + 杞ㄩ亾鍖呰９灞備笂涓嬪悇 8 = 24px 鈥斺€?杞ㄩ亾鏈綋鍙湁 4px锛?     澶栭潰鍗村寘鐫€ 26px 鐨勫眰鍐嶅悇鐣?8px锛屾爣棰樹笌杞ㄩ亾涔嬮棿瀹為檯绌轰簡 16px銆?   鏀剁揣鍚?132px锛?15%锛夛紝澶村儚涓庢枃瀛楀昂瀵搁兘涓嶅姩锛岃瑙夐噸蹇冧笉鍙樸€?*/
.home-profile-card {
  padding: var(--sp-4) var(--sp-4) var(--sp-4);
}

.home-profile-card .challenge-progress-section {
  margin-top: var(--sp-3);
}

.home-profile-card .challenge-header-row {
  margin-bottom: 4px;
}

.home-profile-card .challenge-milestone-track-wrap {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* 鈶?鏁板瓧锛氱瓑瀹姐€佷笌鏉垮紡涓€鑷达紙鐜板湪鏄剧ず鐨勫氨鏄€屽綋鍓嶆敹闆嗘暟 / 鎬绘暟銆嶏級 */
.challenge-header-row,
.gauge-readout,
.mc-num {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0.02em !important;
}

/* 鈶?娣辫壊鏉夸笂鐨勮繘搴︽潯閰嶈壊锛圱OP MOMENTS 閭ｇ娣卞簳璇█锛?*/
.topmoments-board .challenge-track,
.pd-sheet .challenge-track {
  --dbx-track: rgba(255, 255, 255, 0.20);
}

/* 瀹炰綋鍗＄爾澶栧３锛?026-10-22锛?   澶栧３锛歛ssets/brick-shell.png锛?026脳1772 閫忔槑浜氬厠鍔涘３锛?     鍗￠潰绐? x=114/1026  y=166/1772   w=798/1026  h=1111/1772
     鏍囩妲? x=77/1026   y=1415/1772  w=873/1026  h=260/1772

   鏍囩 = SVG 搴曟澘锛?ai 瀵煎嚭鐨勫畬鏁寸煝閲忥細鍦扮悆 / 涓柟妗?/ CM / DiNERBOX / 鍒嗛殧绾匡級
        + HTML 瑕嗙洊锛堝姩鎬佹枃瀛楋細绯诲垪鍚?/ 鑿滃搧鍚?/ 鍓爣棰?/ Edition / 绫诲埆 / 缂栧彿锛?   瀛楀彿缁熶竴鐢?JS 鐢?cqh 鍐呰仈缁欏嚭锛堟寜鏍囩楂樺害绛夋瘮锛屼笌鍘熺涓ユ牸涓€鑷达級銆?
   娉ㄦ剰 aspect-ratio 鍙兘鏀惧湪 __stage 涓婏細
     鑻ヤ笌 container-type 鍐欏湪鍚屼竴涓厓绱犱笂锛宎spect-ratio 浼氬け鏁堬紙鍘嗗彶 bug锛夈€?*/
.brick-shell {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 16px;
  /* 浜氬厠鍔涘疄浣撳崱鐮?3D 鍘氬害鎸ゅ帇锛圗xtruded Acrylic Thickness 1px~8px锛?*/
  /* 绾噣浜氬厠鍔涙櫠浣撹竟妗嗭紝瀹屽叏鍘婚櫎澶栭儴鎶曞奖 */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brick-shell::after {
  display: none !important;
}

.brick-shell__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1026 / 1772;
}

/* 鍗￠潰绐楋細閾哄崱闈㈠浘锛岀粷涓嶆媺浼搞€?   鍑犱綍鎸夊澹?PNG锛?026脳1772锛夊疄娴嬪榻愶細
     路 寮€绐楅€忔槑鍖?x=113..912锛?00 瀹斤級
     路 鍗￠潰鍖?y=159..1276锛?118 楂橈級鈥斺€?涓婃部鍙?159 鑰屼笉鏄?166锛?       鍥犱负 159..165 鏄簹鍏嬪姏鍞囧帇涓嬫潵鐨勫崐閫忔槑闃村奖甯︼紝
       鍗￠潰浠?166 寮€濮嬬殑璇濓紝杩欐潯闃村奖灏辫惤鍦ㄨ儗鍚庣殑娣辫壊搴曚笂锛?       鐪嬩笂鍘诲氨鏄€屽崱鐮栧浘涓婃柟鏈夋潯榛戠紳銆嶃€傝鍗￠潰涓婄Щ鍒?159锛?       闃村奖甯﹀帇鍦ㄥ崱闈笂锛屽拰鐪熷疄浜氬厠鍔涚爾涓€鏍枫€?*/
.brick-shell__win {
  position: absolute;
  left: 11.0136%;   /* 113/1026 */
  top: 8.9752%;     /* 159/1772 */
  width: 77.9727%;  /* 800/1026 */
  height: 63.0926%; /* 1118/1772 */
  overflow: hidden;
  background: #111;
}

/* 鍗￠潰榛樿閾烘弧绐楀彛锛坈over锛夛紱
   姣斾緥鏄庢樉涓嶅悓鐨勫浘鐢?js/brick-shell.js 鐨?fitArt() 鏀瑰洖 contain锛岀粷涓嶈鍐呭銆?*/
.brick-shell__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

/* 鏍囩妲斤紙澶栧３璇ュ尯鍩?100% 閫忔槑锛屾墍浠ヨ繖閲岀粰鐧藉簳锛?*/
.brick-shell__tag {
  position: absolute;
  left: 7.5049%;   /* 77/1026 */
  top: 79.8533%;   /* 1415/1772 */
  width: 85.0877%; /* 873/1026 */
  height: 14.6727%;/* 260/1772 */
  overflow: hidden;
  background: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #000;
  line-height: 1;
  /* 2026-11-15（安卓反馈「卡砖标签信息全乱」）：
     字号改由 --bs-tag-h（标签像素高度）驱动，不再用 cqh；
     同时禁止浏览器「文字自动放大」，否则 4px 的字会被系统放大成 16px 叠在一起。 */
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* ===== 闅愯棌娆?/ 榛戣壊搴曟爣绛?(Hidden Edition / Dark Tag锛?026-10-22) ===== */
.brick-shell__tag--dark,
.brick-shell--dark-tag .brick-shell__tag {
  background: #000000 !important;
  color: #FFFFFF !important;
}

/* 2026-10-24 鐢ㄦ埛鍙嶉銆宧idden moment 鐨勫崱鐮栦负浠€涔堜細鏈変竴涓竟妗嗐€嶏細
   鍘熸潵杩欓噷缁欐繁鑹叉爣绛惧崱鐮栧姞浜嗕竴鏉?`inset 0 0 0 1px rgba(255,255,255,.35)` 鐨?   鐧借壊鍐呮弿杈癸紝鍦ㄩ粦鑹插疄浣撶爾涓婄湅涓婂幓灏辨槸涓€鍦堝浣欑殑鐧芥銆?   鐢ㄦ埛瑕佹眰鍘绘帀 鈥斺€?鍗＄爾澶栬疆寤撳畬鍏ㄤ氦缁?brick-shell.png 鏈韩銆?*/
.brick-shell--dark-tag,
.drop-art .brick-shell {
  box-shadow: none !important;
}

.brick-shell__tag--dark .bs-svg,
.brick-shell--dark-tag .bs-svg {
  filter: invert(1);
}

.brick-shell__tag--dark .bs-ov,
.brick-shell--dark-tag .bs-ov {
  color: #FFFFFF !important;
}

.brick-shell__tag--dark .bs-ov-series,
.brick-shell--dark-tag .bs-ov-series,
.brick-shell__tag--dark .bs-ov-name,
.brick-shell--dark-tag .bs-ov-name,
.brick-shell__tag--dark .bs-ov-edition,
.brick-shell--dark-tag .bs-ov-edition,
.brick-shell__tag--dark .bs-ov-num,
.brick-shell--dark-tag .bs-ov-num,
.brick-shell__tag--dark .bs-ov-vert,
.brick-shell--dark-tag .bs-ov-vert {
  color: #FFFFFF !important;
}

.brick-shell__tag--dark .bs-ov-sub,
.brick-shell--dark-tag .bs-ov-sub {
  color: rgba(255, 255, 255, 0.88) !important;
}

.brick-shell__tag--dark .bk-k,
.brick-shell--dark-tag .bk-k,
.brick-shell__tag--dark .bk-v,
.brick-shell--dark-tag .bk-v {
  color: #FFFFFF !important;
}

.brick-shell__tag--dark .bk-copy,
.brick-shell--dark-tag .bk-copy {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* SVG 搴曟澘锛氶摵婊℃爣绛炬Ы锛屼笉鎷︽埅鐐瑰嚮 */
.brick-shell__tag .bs-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* ===== HTML 鍔ㄦ€佹枃瀛楀眰 ===== */
.brick-shell__tag .bs-ov {
  position: absolute;
  box-sizing: border-box;
  color: #000;
  pointer-events: none;
}

/* 2026-11-16：标签文字舞台。
   设计稿坐标系 198.43 × 59.53 放大 8 倍 = 1587.44 × 476.24，
   所有字号在舞台里写死（68.8px / 57.6px / …），JS 只改 --bs-tag-scale。
   这样浏览器的最小字号（常见 12px）、系统字体放大都碰不到真正的排版：
   字号计算值远高于最小字号，缩放后再得到设计稿的视觉字号。 */
.bs-ov-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1587.44px;
  height: 476.24px;
  transform-origin: 0 0;
  transform: scale(var(--bs-tag-scale, 0.0756), var(--bs-tag-scale-y, 0.0756));
  pointer-events: none;
}

/* 鈹€鈹€ 姝ｉ潰宸︽枃瀛楀尯锛氱郴鍒楀悕鍦ㄥ乏涓婏紝鍚嶇О+鍓爣棰樺湪宸︿笅锛屼笌璁捐绋夸竴妯′竴鏍?鈹€鈹€ */
.bs-ov-series-wrap {
  position: absolute;
  left: 4.53%;     /* 8.99 / 198.43 */
  top: 14.63%;     /* 8.71 / 59.53锛屼笌涓柟鍧?鍙虫柟鍧楅《杈归綈骞?*/
  width: 44%;      /* 瀹圭撼绯诲垪鍚嶏紝涓庡師绋挎帓鐗?100% 瀵归綈 */
  max-height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  /* 2026-11-15：折行过多时由 JS 缩字号，这里只做最后一道裁切，避免压住菜名 */
  overflow: hidden;
}

.bs-ov-series {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.bs-ov-bottom-wrap {
  position: absolute;
  left: 4.53%;     /* 8.99 / 198.43 */
  bottom: 14.0%;   /* 涓庝腑鏂规/鍙虫柟妗嗗簳娌夸弗鏍煎钩榻愶紝璐村悎 Figma 璁捐绋?*/
  width: 46%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5.71px;     /* 舞台坐标：476.24 × 0.012（原 --bs-tag-h × 0.012） */
  pointer-events: none;
}

.bs-ov-name {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bs-ov-sub {
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
}

/* 鈹€鈹€ 涓柟鍧楀唴锛欵dition锛堜笂锛? 001-100锛堜笅锛?鈹€鈹€ */
.bs-ov-edition {
  position: absolute;
  left: 55.48%;    /* 110.1 / 198.43 */
  top: 61.53%;     /* 36.63 / 59.53 */
  width: 26%;
  height: 7.5%;
  /* 2026-10-26：与下面的 001-100 同一左边界 + 同样左对齐，两行才真正对齐 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.bs-ov-num {
  position: absolute;
  left: 55.48%;    /* 110.1 / 198.43 —— 与 Edition 标签**同一左边界**，实现左对齐 */
  top: 70.85%;     /* 42.18 / 59.53 */
  width: 26%;
  height: 8.5%;
  /* 2026-10-26 用户要求：001-100 必须和上面的 Edition 左对齐 → 左对齐，不居中 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  pointer-events: none;
}

/* ── 中方块右侧竖排两列：从上往下读，字符正向朝右，与设计稿一模一样 ──
   （2026-10-26 修复：这组基础定位规则曾被误删，导致 Food / CM 编号不显示） */
.bs-ov-vert-col {
  position: absolute;
  top: 21.74%;     /* 12.94 / 59.53 */
  height: 64%;     /* 留出下方安全边距，不溢出框线（10 位编号也能完整显示） */
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}



.bs-ov-vert-col--cat {
  left: 65.70%;    /* 130.36 / 198.43 */
}

.bs-ov-vert-col--id {
  left: 69.11%;    /* 137.14 / 198.43 */
}

.bs-ov-vert {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  white-space: nowrap;
  font-weight: 400;
}

.bs-ov-vert--cat {
  letter-spacing: 0.02em;
}

.bs-ov-vert--id {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 鈹€鈹€ 鑳岄潰鏍囩锛氬乏渚?4 琛屽厓鏁版嵁 + 搴曢儴鐗堟潈锛屽畬鍏ㄤ笉瑙︾鍙充晶 DiNERBOX 鈹€鈹€ */
.bs-ov-back-wrap {
  position: absolute;
  left: 5.24%;     /* 10.4 / 198.43 */
  top: 16.5%;      /* 涓庡師绋块琛?y 鈮?10.0 瀵归綈 */
  bottom: 16.0%;   /* 涓庤璁＄搴曢儴鐗堟潈骞抽綈 */
  width: 56%;      /* 瑕嗙洊鍒?61.24%锛岀粷涓嶈Е纰颁粠 64.38% 璧峰鐨?DiNERBOX */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  pointer-events: none;
}

.bk-table {
  display: flex;
  flex-direction: column;
  gap: 3.81px;     /* 舞台坐标：476.24 × 0.008（原 --bs-tag-h × 0.008） */
}

.bk-row {
  display: flex;
  align-items: baseline;
  line-height: 1.15;
  white-space: nowrap;
}

.bk-k {
  width: 6.0em;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bk-v {
  flex: 1;
  min-width: 0;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.bk-copy {
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  color: #000;
}

/* 澶栧３锛氭渶涓婂眰閫忔槑鍙犲浘锛屼笉鎷︽埅鐐瑰嚮 */
.brick-shell__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
}

/* ===== 瀹炰綋鍗＄爾锛氬鍣?/ 缈荤墝锛?026-10-22锛?=====
   鍗＄爾鏈綋 .brick-shell 瑙佹枃浠跺墠閮ㄣ€屽疄浣撳崱鐮栧澹炽€嶆锛?   杩欓噷鍙鐞嗗畠鍦ㄣ€屾敹钘忓垪琛ㄣ€嶅拰銆屽瓨璇佸脊灞傘€嶉噷鐨勫鍣ㄤ笌姝ｅ弽缈荤墝銆?*/

/* 鈥斺€?鏀惰棌鍒楄〃锛圡Y COLLECTION锛?鈥斺€?*/
.collection-card-item .brick-shell {
  width: 100%;
  height: 100%;
}

/* 澶栧３鏈韩甯︽姇褰憋紝瀹瑰櫒涓嶅啀鍔犲厜鍦?*/
.collection-card-item {
  background: transparent;
  box-shadow: none;
}

/* 娌℃湁鍗￠潰鐪熷浘鏃讹細澶栧３鍜屾爣绛剧収甯告樉绀猴紝绐楀彛鐣欐祬鐏帮紝缁濅笉璐村崰浣嶅浘 */
.collection-card-item--noart .brick-shell__win {
  background: #F2F2F4;
}

/* 鏀惰棌鍒楄〃閲岀殑鍗＄爾涓嶆樉绀哄澹抽槾褰遍噷鐨勬殫鑹查儴鍒嗭紙淇濇寔娴呭簳骞插噣锛?*/
.collection-card-item .brick-shell__frame {
  filter: none;
}

/* 娉ㄦ剰锛氬繀椤诲湪杩欓噷閲嶆柊閽変綇澶栧３涓庡崱闈㈠浘鐨勫昂瀵革細
   `.collection-card-item img` 鏄叏灞€瑙勫垯锛坵idth/height:100% + object-fit:contain锛夛紝
   浼樺厛绾ч珮浜?`.brick-shell__frame` 鐨勫崟绫婚€夋嫨鍣紝浼氭妸澶栧３鍥炬拺婊℃暣鍧楀鍣紝
   瀵艰嚧澶栬姣斾緥琚媺鎴?0.0971锛堝巻鍙?bug锛歴tage 290脳2988锛夈€?*/
.bc-3d .brick-shell__frame,
.collection-card-item .brick-shell__frame,
.drop-art .brick-shell__frame,
.provenance-hero-card-brick .brick-shell__frame,
.pd-brick-flipper .brick-shell__frame,
.pd-slide .brick-shell__frame,
.pd-related-brick .brick-shell__frame,
.cart-drawer-item .brick-shell__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 0;
  margin-bottom: 0;
}

.bc-3d .brick-shell__art,
.collection-card-item .brick-shell__art,
.drop-art .brick-shell__art,
.provenance-hero-card-brick .brick-shell__art,
.pd-brick-flipper .brick-shell__art,
.pd-slide .brick-shell__art,
.pd-related-brick .brick-shell__art,
.cart-drawer-item .brick-shell__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

/* 鈥斺€?瀹炰綋鍗＄爾 3D 缈昏浆鏈烘瀯 (3D Brick Card Flip Mechanism) 鈥斺€?   鍏ㄧ珯鎵€鏈夊崱鐮栵紙Provenance Hero / 鍟嗗簵璇︽儏 / 鍒嗕韩娴锋姤 / New Drop锛夌粺涓€ 3D 缈荤墝鐗╃悊鍔ㄦ晥涓庡疄浣撳帤搴?*/
.provenance-brick-flip,
.pd-brick-flipper {
  position: relative;
  perspective: none;
  -webkit-perspective: none;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

/* 3D 浜氬厠鍔涘疄浣撳崱鐮栦晶闈㈠帤搴︼紙涓ユ牸鍨傜洿瀵归綈鏃嬭浆杞达紝楂樺害 100% 淇濇寔涓庢鍙嶉潰瀹屽叏涓€鑷达紝鏃犳姇褰憋級 */
.provenance-brick-flip::before,
.pd-brick-flipper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 12px;
  left: calc(50% - 6px);
  right: auto;
  transform: rotateY(90deg);
  border-radius: 4px;
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(230, 240, 250, 0.45) 40%,
    rgba(160, 180, 205, 0.65) 50%,
    rgba(230, 240, 250, 0.45) 60%,
    rgba(255, 255, 255, 0.6) 100%
  );
}

.provenance-brick-flip::after,
.pd-brick-flipper::after {
  display: none !important;
}

.provenance-brick-flip:active:not(.is-flipping-out):not(.is-flipping-in),
.pd-brick-flipper:active:not(.is-flipping-out):not(.is-flipping-in) {
  transform: scale(0.985);
}

.provenance-brick-face {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.provenance-brick-face--front {
  display: flex !important;
  z-index: 2 !important;
  transform: translateZ(7px) !important;
}

.provenance-brick-face--back {
  display: none !important;
  z-index: 1 !important;
  transform: translateZ(7px) !important;
}

/* 缈昏浆鑷冲弽闈㈢姸鎬?*/
.provenance-brick-flip.is-showing-back .provenance-brick-face--front,
.pd-brick-flipper.is-showing-back .provenance-brick-face--front {
  display: none !important;
  z-index: 1 !important;
}

.provenance-brick-flip.is-showing-back .provenance-brick-face--back,
.pd-brick-flipper.is-showing-back .provenance-brick-face--back {
  display: flex !important;
  z-index: 2 !important;
  transform: translateZ(7px) !important;
}

/* 3D 缈荤墝鐗╃悊鍔ㄦ晥鍏抽敭甯э紙涓ユ牸绾瀭鐩?Y 杞存棆杞紝鏃犲€炬枩锛岄珮搴﹀叏绋?100% 鎭掑畾涓€鑷达級 */
@keyframes brickFlipPhaseOut {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}

@keyframes brickFlipPhaseIn {
  0% {
    transform: rotateY(-90deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

.provenance-brick-flip.is-flipping-out,
.pd-brick-flipper.is-flipping-out {
  animation: brickFlipPhaseOut 0.36s cubic-bezier(0.4, 0, 0.7, 1) forwards !important;
}

.provenance-brick-flip.is-flipping-in,
.pd-brick-flipper.is-flipping-in {
  animation: brickFlipPhaseIn 0.36s cubic-bezier(0.25, 1, 0.4, 1) forwards !important;
}

/* 寮瑰眰閲岀殑鍗＄爾灏哄锛氬搴︽寜瑙嗗彛鏀讹紝楂樺害涓嶈秴杩囧彲瑙嗗尯 */
.provenance-hero-card-brick {
  aspect-ratio: 1026 / 1772;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  filter: none;
}

.provenance-hero-card-brick .brick-shell {
  width: 100%;
  height: 100%;
}

/* Chapter / Top Moments 璇︽儏鍗＄爾 3D 缈昏浆瀹瑰櫒锛堝榻?New Drop / Provenance锛?*/
.pd-brick-flipper {
  width: min(210px, 58vw);
  max-width: 230px;
  aspect-ratio: 1026 / 1772;
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
  filter: none;
}

.pd-brick-flipper .brick-shell {
  width: 100%;
  height: 100%;
}

/* New Drop 涓殑鍗＄爾锛氫弗鏍肩户鎵垮灞?.drop-art 灏哄骞舵按骞冲眳涓紝娑堥櫎婧㈠嚭涓庡亸绉?*/
.drop-art .pd-brick-flipper,
.drop-art .provenance-brick-flip {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 auto !important;
  filter: none !important;
}

/* ==========================================================================
   鍒嗕韩娴锋姤鍗＄爾鏍囩鎺掔増瑙勮寖涓?LOGO 瀵归綈
   ========================================================================== */
.share-poster-card .brick-shell,
.share-poster-card .brick-shell__tag,
.share-poster-card .bs-ov,
.share-poster-card .bs-ov-series-wrap,
.share-poster-card .bs-ov-bottom-wrap,
.share-poster-card .bs-ov-series,
.share-poster-card .bs-ov-name,
.share-poster-card .bs-ov-sub,
.share-poster-card .bs-ov-back-wrap,
.share-poster-card .bk-table,
.share-poster-card .bk-row {
  text-align: left !important;
}

.share-poster-card .sp-logo {
  height: 18px;
  width: auto;
  max-width: 130px;
  display: block;
  filter: none !important;
}

.share-poster-card .sp-brick-wrap {
  width: 100%;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.share-poster-card .sp-brick-wrap .pd-brick-flipper,
.share-poster-card .sp-brick-wrap .provenance-brick-flip {
  width: min(180px, 52vw);
  max-width: 190px;
  aspect-ratio: 1026 / 1772;
  margin: 0 auto;
  filter: none !important;
}

.share-poster-card .brick-shell {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
}

.share-poster-card .provenance-brick-flip::before,
.share-poster-card .provenance-brick-flip::after,
.share-poster-card .pd-brick-flipper::before,
.share-poster-card .pd-brick-flipper::after {
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

.pd-slide--brick {
  padding: 8px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  overflow: visible !important;
}

/* ==== PROVENANCE 绗簩灞忥細绾搁潰琛ㄦ牸鐗堝紡 ==== */
/* ==========================================================================
   Provenance 绗簩灞忥細淇℃伅褰曞叆琛ㄥ崟锛堢粺涓€鍏ㄧ珯娴呰壊鍗＄墖瑙嗚 + Inter 瀛椾綋 + 鑳跺泭鎸夐挳锛?   --------------------------------------------------------------------------
   瀵归綈鍏ㄧ珯璁捐瑙勮寖锛?026-10-22 淇锛夛細
     1. 鎶藉眽椤堕儴缁熶竴锛氬浜庡綍鍏ヨ〃鍗曠姸鎬佹椂锛屾妸鎵嬫爮涓庢娊灞夐《閮ㄧ粺涓€绾櫧鏃犵紳鑳屾櫙锛屾秷鐏笂鏂归粦鏉℃柇灞?     2. 绾噣鑳屾櫙锛氱Щ闄ら粍鑹叉殩搴曪紙#F3F0E7锛変笌妯汗鏉＄汗锛坮epeating-linear-gradient锛夛紝缁熶竴涓虹函鐧?#FFFFFF
     3. 缁熶竴鍏ㄧ珯瀛椾綋锛氬瓧浣撶粺涓€涓?Inter / var(--font-sans)锛屽交搴曞簾闄ゆ墦瀛楁満绛夊瀛椾綋
     4. 缁熶竴搴曢儴鎸夐挳锛氬簳閮ㄦ寜閽榻愬叏绔欐爣鍑嗚兌鍥婂渾瑙掞紙var(--r-pill)锛変笌涓绘鎿嶄綔瑙嗚灞傜骇
   ========================================================================== */

/* 鈥斺€?鎶藉眽椤堕儴涓庡叆澧冨崟琛ㄥ崟瑙嗚缁熶竴 (鍏ㄨ鍥句繚鎸佺函鐧斤紝缁濅笉鍥犱繚瀛樻垨鎿嶄綔鍙橀粦) 鈥斺€?*/
.provenance-bottom-sheet {
  background-color: #FFFFFF !important;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.15) !important;
  color: #16181A !important;
}

.provenance-bottom-sheet::before {
  display: none !important;
}

.provenance-bottom-sheet .provenance-sheet-handle-bar {
  background-color: #FFFFFF !important;
  border-top-left-radius: var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  transition: border-top-left-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1),
              border-top-right-radius 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

.provenance-bottom-sheet .provenance-sheet-handle {
  background: rgba(0, 0, 0, 0.2) !important;
}

.provenance-bottom-sheet .provenance-sheet-handle-bar:hover .provenance-sheet-handle {
  background: rgba(0, 0, 0, 0.35) !important;
}

/* 鈥斺€?褰曞叆琛ㄥ崟浠ょ墝 鈥斺€?*/
#provenanceEditView {
  --ac-paper: #FFFFFF;          /* 绾櫧搴曡壊锛岀粷涓嶅彂榛?*/
  --ac-ink: #16181A;            /* 澧ㄩ粦姝ｆ枃瀛?*/
  --ac-ink-mid: #52525B;        /* 娆＄骇鏂囧瓧 */
  --ac-ink-dim: #71717A;        /* 涓夌骇鏂囧瓧 / 璇存槑 */
  --ac-rule: rgba(0, 0, 0, 0.08); /* 缁熶竴缁嗙嚎鎻忚竟 */
  --ac-fill: rgba(22, 24, 26, 0.22); /* 濉┖涓嬪垝绾?*/
  --ac-wash: rgba(22, 24, 26, 0.04); /* 鐐瑰嚮娴呭帇鑹?*/
  --ac-mono: var(--font-sans);  /* 缁熶竴鍏ㄧ珯 Inter 瀛椾綋 */

  color-scheme: light;          /* 鍘熺敓鏃ユ湡鎺т欢璺熼殢娴呰壊 */
  background-color: var(--ac-paper);
  color: var(--ac-ink);
  background-image: none;       /* 绉婚櫎鏉＄汗妯汗锛岀函鍑€鑳屾櫙 */
  font-family: var(--font-sans);
}

/* 鈥斺€?琛ㄥご锛氭爣棰?+ 鍓爣棰?鈥斺€?*/
#provenanceEditView .ios-drawer-header {
  align-items: flex-start;
  gap: 6px;
  padding: 16px var(--sp-5) 14px;
  border-bottom: 1px solid var(--ac-rule);
  background: #FFFFFF;
}

#provenanceEditView .ios-drawer-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ac-ink);
  margin: 0;
}

#provenanceEditView .ios-drawer-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ac-ink-mid);
  margin: 4px 0 0;
}

/* 鈥斺€?婊氬姩鍖?鈥斺€?*/
#provenanceEditView .ios-form-scroll-body {
  padding: 16px var(--sp-5) var(--sp-4);
  background: transparent;
}

/* 鈥斺€?瀛楁搴忓彿锛欳SS counter 鐢熸垚 01 / 02 鈥?鈥斺€?*/
#provenanceEditView #formGastronomy,
#provenanceEditView #formPhilosophy {
  counter-reset: ac-field;
  /* 2026-10-27 用户要求：档案卡排到编辑视图最上方后，与第一个字段（01 DISCOVERED）
     之间要拉开距离，否则紧贴在一起 */
  margin-top: var(--sp-5);
}

#provenanceEditView .ios-form-group {
  counter-increment: ac-field;
  margin-bottom: 18px;
}

#provenanceEditView .ios-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ac-ink);
}

#provenanceEditView .ios-label::before {
  content: counter(ac-field, decimal-leading-zero);
  flex: 0 0 auto;
  width: 25px;
  height: 16px;
  box-sizing: border-box;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 5.5px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

#provenanceEditView .ios-req-tag {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ac-ink-dim);
  background: transparent;
  padding: 0;
  white-space: nowrap;
}

/* 鈥斺€?濉┖锛氫笅鍒掔嚎鎵嬪啓浣撳紡濉┖ 鈥斺€?*/
#provenanceEditView .ios-input {
  width: 100%;
  height: 34px;
  padding: 4px 2px 6px;
  border: none;
  border-bottom: 1.5px solid var(--ac-fill);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--ac-ink);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

#provenanceEditView .ios-input:focus {
  border-bottom-color: var(--ac-ink);
  background: transparent;
  outline: none;
}

#provenanceEditView .ios-input::placeholder {
  color: rgba(22, 24, 26, 0.35);
  font-weight: 400;
}

#provenanceEditView input[type="date"].ios-input {
  text-align: left;
  min-width: 0;
}

/* 鈥斺€?澶囨敞杈撳叆妗?鈥斺€?*/
#provenanceEditView .ios-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 24, 26, 0.18);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  color: var(--ac-ink);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

#provenanceEditView .ios-textarea:focus {
  border-color: var(--ac-ink);
  background: transparent;
  outline: none;
}

#provenanceEditView .ios-textarea::placeholder {
  color: rgba(22, 24, 26, 0.35);
  font-weight: 400;
}

/* 中文视觉配平（2026-11-08 用户要求）：
   同一字号下汉字墨迹高约是拉丁字母的 1.21 倍，看起来又大又粗。
   内容含汉字时字号 × 0.85、字重降一档，与英文视觉等高；英文不受影响。 */
#provenanceEditView .ios-textarea.is-cjk {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

/* 档案卡引言里的中文同样配平：13.5 → 11.5px，视觉与英文一致 */
.mpc-quote.is-cjk {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* 鈥斺€?閫夐」锛氭柟妗嗗嬀閫夛紝涓ゅ垪鎺掑竷锛堜笅鏂圭粺涓€妯嚎鍒嗗壊锛岃ˉ榻?Time / Mood / With 鐨勬í绾匡級 鈥斺€?*/
#provenanceEditView .ios-option-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--ac-fill);
}

/* 鈥斺€?澶囨敞杈撳叆妗嗕笅鏂逛篃琛ラ綈妯嚎锛屼笌鍗＄爾妗ｆ鍖洪殧寮€ 鈥斺€?*/
/* 2026-10-27 用户要求：备注输入框下面那条横线去掉。
   （原本是为了把表单和下方的卡砖档案区间开；档案卡已移到编辑视图最上方，
     这条线现在只剩多余的分隔，所以整条移除，下方留白保留） */
#provenanceEditView .ios-form-group:has(.ios-textarea) {
  padding-bottom: 18px;
}

#provenanceEditView .ios-list-option {
  width: auto;
  min-width: 0;
  min-height: 28px;
  padding: 4px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ac-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
  box-sizing: border-box;
  transition: none;
  cursor: pointer;
}

#provenanceEditView .ios-list-option:active {
  transform: none;
  background: var(--ac-wash);
}

#provenanceEditView .ios-list-option .opt-label {
  order: 2;
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: left;
  white-space: normal;
}

#provenanceEditView .ios-list-option .opt-indicator {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 0;
  box-sizing: border-box;
  border: 1.5px solid rgba(22, 24, 26, 0.45);
  border-radius: 4px;
  background: transparent;
}

#provenanceEditView .ios-list-option.multi .opt-indicator {
  border-radius: 4px;
}

#provenanceEditView .ios-list-option.selected {
  background: transparent;
  border: none;
  color: var(--ac-ink);
}

#provenanceEditView .ios-list-option.selected .opt-label {
  font-weight: 600;
  color: var(--ac-ink);
}

#provenanceEditView .ios-list-option.selected .opt-indicator {
  background: var(--ac-ink);
  border-color: var(--ac-ink);
}

#provenanceEditView .ios-list-option.selected .opt-indicator::after {
  content: '鉁?;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

/* 鈥斺€?妗ｆ淇℃伅鍖猴細绾镐笂鐨勭敵鎶ヨ褰曟 (Edit / Label 瑙嗗浘缁熶竴) 鈥斺€?*/
.provenance-bottom-sheet .brick-archive-card,
#provenanceEditView .brick-archive-card,
.provenance-label-view .brick-archive-card {
  margin-top: 8px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 12px;
  background: #FAFAFA !important;
  color: #16181A !important;
}

.provenance-bottom-sheet .bac-dish,
#provenanceEditView .bac-dish,
.provenance-label-view .bac-dish {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #16181A !important;
}

.provenance-bottom-sheet .bac-restaurant,
#provenanceEditView .bac-restaurant,
.provenance-label-view .bac-restaurant {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #52525B !important;
}

.provenance-bottom-sheet .bac-location,
#provenanceEditView .bac-location,
.provenance-label-view .bac-location {
  margin-top: 6px;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: normal;
  color: #71717A !important;
}

.provenance-bottom-sheet .bac-pin,
#provenanceEditView .bac-pin,
.provenance-label-view .bac-pin {
  font-size: 10px;
  opacity: 1;
  color: #71717A !important;
}

.provenance-bottom-sheet .bac-divider,
#provenanceEditView .bac-divider,
.provenance-label-view .bac-divider {
  height: 0;
  margin: 12px 0;
  background: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.provenance-bottom-sheet .bac-grid,
#provenanceEditView .bac-grid,
.provenance-label-view .bac-grid {
  gap: 12px 16px;
}

.provenance-bottom-sheet .bac-key,
#provenanceEditView .bac-key,
.provenance-label-view .bac-key {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717A !important;
  margin-bottom: 3px;
}

.provenance-bottom-sheet .bac-val,
#provenanceEditView .bac-val,
.provenance-label-view .bac-val {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  color: #16181A !important;
}

/* 2026-10-27 default fix: the archive card inside the Provenance drawer is LIGHT
   (#FAFAFA), but .bac-story-text is authored white for dark contexts -> the cultural
   story was invisible there. Force dark ink inside the drawer scope. */
.provenance-bottom-sheet .bac-story-text,
#provenanceEditView .bac-story-text,
.provenance-label-view .bac-story-text {
  font-size: 11.5px;
  line-height: 1.6;
  color: #44474A !important;
}

.provenance-bottom-sheet .bac-slogan,
#provenanceEditView .bac-slogan,
.provenance-label-view .bac-slogan {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #16181A !important;
}

.provenance-bottom-sheet .bac-tagline,
#provenanceEditView .bac-tagline,
.provenance-label-view .bac-tagline {
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #71717A !important;
}

/* 抽屉里的档案卡是浅底 → 权益/说明文字改用深色，保持可读 */
.provenance-bottom-sheet .bac-benefits,
#provenanceEditView .bac-benefits,
.provenance-label-view .bac-benefits {
  border-top-color: rgba(22, 24, 26, 0.12);
  font-family: var(--font-sans);
  font-size: 10.5px;
  line-height: 1.65;
  color: #44474A !important;
  text-align: left;
}

/* 鈥斺€?搴曟爮锛氱粺涓€鍏ㄧ珯鑳跺泭鍦嗚鎸夐挳瑙勮寖 鈥斺€?*/
#provenanceEditView .ios-form-bottom-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--sp-5) calc(12px + env(safe-area-inset-bottom, 16px));
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#provenanceEditView .ios-btn-cancel,
#provenanceEditView .ios-btn-save {
  height: 48px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

#provenanceEditView .ios-btn-cancel {
  flex: 1;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  color: #16181A;
}

#provenanceEditView .ios-btn-cancel:active {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(0.98);
}

#provenanceEditView .ios-btn-save {
  flex: 1.6;
  border: none;
  background: #16181A;
  color: #FFFFFF;
  font-weight: 700;
}

#provenanceEditView .ios-btn-save:disabled {
  background: rgba(22, 24, 26, 0.22);
  color: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: not-allowed;
  opacity: 1;
}

#provenanceEditView .ios-btn-save:not(:disabled):active {
  transform: scale(0.98);
  opacity: 0.9;
}


/* ==========================================================================
   

/* ==========================================================================
   鍗＄爾鐪?3D锛堢敤鎴?2026-10-24锛氭鍙嶉潰涓嶅彉锛屾棆杞椂鐪嬪埌绔嬩綋鍘氬害锛屼笉瑕佸亣绔嬩綋锛?   路 .brick-shell 鎻愪緵閫忚
   路 .brick-shell__stage 鏄?preserve-3d 鍦烘櫙锛岃窡闅忛紶鏍?--tiltX/--tiltY 杞姩
   路 澹冲悗 8 灞傚悓娆惧澹虫部 Z 杞村悗閫€锛坖s 渚х敓鎴愶級锛岃浆鍔ㄦ椂渚х紭闇插嚭 = 鐪熷疄鍘氬害
   路 闈欐鏃跺叏閮ㄨ棌鍦ㄦ闈箣鍚庯紝姝ｉ潰瑙傛劅涓庝粠鍓嶅畬鍏ㄤ竴鑷?   ========================================================================== */
.brick-shell {
  perspective: 1100px;
}

.brick-shell__stage {
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.brick-shell__slab {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 姝ｉ潰涓夊眰锛堝崱闈㈢獥/鏍囩/澶栧３锛夋暣浣撴彁鍒版渶鍓嶏紝鐩栦綇鍚庨潰鐨勫眰鍙犱綋 */
.brick-shell__win,
.brick-shell__tag,
.brick-shell__frame {
  transform: translateZ(1px);
}


/* ==========================================================================
   鐪?3D 渚у锛堢敤鎴?2026-10-24锛氭棆杞椂鍘氬害瑕?*璺熼殢鏃嬭浆**锛岃繛缁晶澹佽€屼笉鏄彴闃讹級
   鍑犱綍锛氭闈?z=0锛涘洓鐗囦晶澹佷互鍚勮嚜澶栫紭涓鸿酱杞?90掳锛屽悜 -Z 鏂瑰悜寤朵几 D=14px銆?   鏉愯川锛氬崐閫忔槑浜氬厠鍔涙笎鍙?+ 鍐呬晶楂樺厜锛沚ackface-visibility 闅愯棌鑳岄潰鐗囥€?   闈欐锛?掳锛夋椂鍥涚墖渚у姝ｅソ渚у瑙嗙嚎 = 涓嶅彲瑙侊紝姝ｉ潰瑙傛劅涓嶅彉銆?   ========================================================================== */
.brick-shell {
  --brick-d: 14px;
}

.brick-shell__side {
  position: absolute;
  pointer-events: none;
  backface-visibility: hidden;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.55),
      rgba(203, 209, 218, 0.62) 38%,
      rgba(146, 153, 165, 0.70) 72%,
      rgba(96, 103, 114, 0.78));
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.30);
}

.brick-shell__side--right {
  top: 0; left: 100%; width: var(--brick-d); height: 100%;
  transform-origin: left center;
  transform: rotateY(-90deg);
}

.brick-shell__side--left {
  top: 0; right: 100%; width: var(--brick-d); height: 100%;
  transform-origin: right center;
  transform: rotateY(-90deg);
}

.brick-shell__side--top {
  top: 0; left: 0; width: 100%; height: var(--brick-d);
  transform-origin: center top;
  transform: rotateX(-90deg);
}

.brick-shell__side--bottom {
  bottom: 0; left: 0; width: 100%; height: var(--brick-d);
  transform-origin: center bottom;
  transform: rotateX(90deg);
}

@media (max-width: 380px) {
  .mc-folder-series { font-size: 26px; }
  .mc-folder-chapter { font-size: 18px; }
}
/* ==========================================================================
   2026-11-06 MY COLLECTION：卡砖轮播（中间大两边小）+ 渐变滑动条 + 三列信息
   ========================================================================== */
.collection-carousel-scroll.mc-folders {
  display: flex;
  flex-direction: column;
  gap: 34px;
  overflow: visible;
  padding: 0;
  min-height: 0;
  scroll-snap-type: none;
}

.mc-brick-section { width: 100%; }

.mc-brick-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px calc(50% - 100px) 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  /* 2026-11-06 用户反馈「不同速度滑动卡顿感不同」：这里不锁轴。
     touch-action: pan-x 会把纵向手势也吞掉（手指落在卡砖上就无法上下滚页面），
     代价比收益大。轴向抖动改由 JS 连续化缩放/滑条曲线解决（见 initMcCarousels）。
     overscroll-behavior-x: contain 只防止甩到两端时把惯性传给页面回弹。 */
  overscroll-behavior-x: contain;
}

.mc-brick-carousel::-webkit-scrollbar { display: none; }

.mc-brick-slide {
  flex: 0 0 200px;
  scroll-snap-align: center;
  transform-origin: center center;
  /* 2026-11-06 去掉常驻 transition：JS 每帧写 transform，CSS 过渡会被反复打断，
     实际渲染值永远滞后于目标值（实测最大滞后 0.159，几乎等于整个 0.18 缩放幅度），
     手感就是「手指走了砖还在慢慢爬」。缩放改为逐帧直接跟随。 */
  transition: none;
  /* 图层提升常驻：滚动时不再临时加类切换（A/B 实测临时压平 3D 与否帧率完全一致，
     说明瓶颈不在合成，那套 is-moving 机制已删除）。 */
  will-change: transform, opacity;
}

.mc-brick-slide .collection-card-item {
  width: 200px;
  height: auto;
  /* 桌面媒体查询里 .page-home .collection-card-item 写了 aspect-ratio: 554/771，
     会把 1026:1772 的亚克力外壳压扁并裁掉底部；这里按真源比例重新钉住。 */
  aspect-ratio: 1026 / 1772;
}

/* 占位空壳与有图卡砖同尺寸：去掉 noart 的内边距/边框，直接铺满卡砖壳 */
.mc-brick-slide .collection-card-item--noart {
  display: block;
  padding: 0;
  border: none !important;
  background: transparent;
}

/* 渐变滑动条：颜色 = 该章节每张卡砖的底色，按版号顺序 */
.mc-brick-slider {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 6px;
  touch-action: none;
  cursor: pointer;
}

/* 滑动条下方：左侧两行信息（章节 / 卡砖），右侧进度数字 */
.mc-brick-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.mc-info-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 3px;
  min-width: 0;
  font-size: 10px;
  line-height: 1.45;
}

.mc-info-chapter,
.mc-info-brick {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-info-chapter { color: var(--color-secondary-label, #71717A); }
.mc-info-brick { color: var(--color-label, #111113); }

.mc-info-progress {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

/* 2026-11-15 用户要求：减少加载卡顿感 —— 数据回来之前先铺骨架占位，
   真实内容一渲染就替换掉（各页本来就会重写容器 innerHTML）。 */
.db-skel-wrap {
  display: flex; flex-direction: column; gap: 12px;
  padding: 2px 0 6px; pointer-events: none;
}
.db-skel-wrap.is-row { flex-direction: row; gap: 12px; overflow: hidden; }
.db-skel {
  position: relative; overflow: hidden; width: 100%;
  border-radius: 12px; background: rgba(17, 17, 19, 0.055);
}
.db-skel::after {
  content: ""; position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 18%,
    rgba(255, 255, 255, 0.62) 42%, transparent 66%);
  animation: dbSkelSweep 1.35s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes dbSkelSweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .db-skel::after { animation: none; opacity: 0; }
}

/* ==========================================================================
   NFC 扫描弹层 · 「网页读不了 NFC」说明与兜底（2026-11-16）
   安卓只有 Chrome 支持 Web NFC；iPhone / 电脑 / 微信 / 国产自带浏览器都不支持。
   这块只负责把原因和下一步说清楚，并给「用 Chrome 打开 / 复制链接」两个出口。
   ========================================================================== */
/* --------------------------------------------------------------------------
   2026-11-16：底部弹窗「动态抬高」
   js/app.js → dbSheetLift() 会在运行时量出：
     · 页面底部菜单栏的可见高度（隐藏 / 在 iframe 外壳里时为 0）
     · 浏览器自己底栏（iOS 浮动地址栏等）实际盖住的高度
   取较大的写进 --db-sheet-lift。所有从底部伸出的面板按它加底部内边距，
   按钮不会再被任何浏览器的底栏 / 菜单栏压住。
   内边距用 max() 而不是相加：菜单栏高度本身已经包含 safe-area，
   两者只能取大，否则 iPhone 上会多出 34px。
   -------------------------------------------------------------------------- */
:root { --db-sheet-lift: 0px; }

/* 2026-11-17：有底部菜单栏的 5 个主页面，内容底部统一预留「菜单栏高度 + 安全区」。
   否则滚到最底时最后一行 / 按钮会压在菜单栏下面（外壳 app.html 里尤其明显，
   因为页面自己的导航条是隐藏的，量不到外壳那一条）。 */
body.page-home .mobile-app-container,
body.page-store .mobile-app-container,
body.page-moments .mobile-app-container,
body.page-account .mobile-app-container,
body.page-home-unlocked .mobile-app-container {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

/* 2026-11-17：iOS Safari 聚焦「字号 < 16px」的输入框会强制把整页放大
   （viewport 的 maximum-scale / user-scalable 拦不住）。移动端把常用文本输入
   统一到 16px，输入时不再缩放；桌面端保持原字号。
   2026-11-18 用户要求：**全站所有输入框**（前台 + 后台）都不能放大画面，
   所以这里从 4 个类名改成通配文本输入控件。 */
@media (max-width: 899.98px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]),
  textarea,
  select,
  [contenteditable="true"],
  [contenteditable=""],
  [contenteditable="plaintext-only"] {
    font-size: 16px !important;
  }
}

/* 2026-11-16：折叠屏 / 宽屏手机动态加宽（连续，不是跳档）。
   480 是手机设计宽度；视口变宽时按 86vw 连续放大，最多 720（与桌面同宽）。
   容器、固定顶栏、底部导航、底部弹层用同一条公式，永远同宽同中线。 */
.mobile-app-container,
body.page-home .app-top-header,
.app-bottom-tabbar,
.provenance-bottom-sheet,
.cart-drawer-panel,
.nfc-scan-modal {
  max-width: clamp(480px, 86vw, 720px);
}

/* 2026-11-16 用户要求：弹窗直接盖住菜单栏。
   页面自己的导航条在浮层打开时收起（js/app.js → dbSheetLift 打 is-hidden）。
   外壳 app.html 里同一套样式也生效。 */
.app-bottom-tabbar {
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), opacity .18s ease;
}

.app-bottom-tabbar.is-hidden {
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
}

/* 所有从底部伸出的面板：内容末尾追加一段与菜单栏等高的空白，
   按钮永远落在菜单栏上方。用 ::after 而不是覆盖 padding ——
   每个弹窗自己的内边距 / 高度策略都不一样，直接改 padding 会把原有留白弄乱。 */
.cart-drawer-backdrop > .cart-drawer-panel::after,
.avatar-sheet::after,
.nfc-scan-modal::after,
.addr-sheet::after,
.auth-sheet::after,
.terms-sheet::after,
.pay-sheet::after,
.howto-sheet::after,
.challenge-bottom-sheet::after,
.brick-confirm-sheet::after,
.login-bottom-sheet::after,
.ord-pay-sheet::after,
.member-bottom-sheet::after,
.ms-claim-sheet::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: var(--db-sheet-lift, 0px);
  pointer-events: none;
}

/* 2026-11-16：NFC 失败弹窗的主按钮在深色卡面上会变成「白底白字」——
   .nfc-fail-btn.primary 用的是 --ink-strong（深色作用域里被反转成白色）。
   这里改成「正文色作底、卡片色作字」，浅色 / 深色主题都能读清。 */
.nfc-fail-btn.primary {
  background: var(--color-label);
  color: var(--bg-card);
  border: var(--bw) solid var(--color-label);
}


/* ==========================================================================
   2026-11-18 长文本排版规范（用户要求）
   · 中文行首禁则：，。！？… 等收尾标点不落在行首（line-break: strict）
   · 英文不拆词：只在词间断行，只有超长单词才允许断开（overflow-wrap: break-word）
   · 中文段落两端对齐；英文保持自然词距（justify 会把英文空格拉得很开，2026-11-18 修正）
   · text-wrap: pretty 让最后一行不至于只剩一两个字（支持的浏览器生效）
   覆盖：存证卡引言 / Journal 引言 / 档案文化故事 / 商品详情简介 / 分享海报兜底版式
   ========================================================================== */
/* 全部左对齐：不用两端对齐（英文单词间距会被拉开；中文允许轻微参差） */
.bac-story-text,
.pd-desc,
.mpc-quote,
.sp-quote,
.sp-quote-text,
.sp-value,
.trace-quote,
.ios-textarea {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  text-align: left;
  text-wrap: pretty;
}
