@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/ui-301694533a/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/ui-301694533a/inter-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/ui-301694533a/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Serif';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ui-301694533a/noto-serif-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Noto Serif';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ui-301694533a/noto-serif-600-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Noto Serif';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ui-301694533a/noto-serif-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'XQ Serif SC';font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/ui-301694533a/xq-serif-sc-core.woff2) format('woff2');unicode-range:U+4ED5,U+4FE5,U+508C,U+5165,U+5175,U+5352,U+56FD,U+570B,U+58EB,U+5927,U+5B66,U+5B78,U+5BA2,U+5BF9,U+5C07,U+5C0D,U+5E08,U+5E25,U+5E2B,U+5F08,U+5F55,U+6211,U+624B,U+65B0,U+68CB,U+695A,U+6CB3,U+6F22,U+70AE,U+754C,U+767B,U+7684,U+76F8,U+7832,U+7AE5,U+8336,U+8A00,U+8A9E,U+8B0E,U+8BED,U+8C1C,U+8C61,U+8ECA,U+9801,U+984C,U+9875,U+9898,U+9996,U+99AC}
@font-face{font-family:'XQ Serif SC';font-style:normal;font-weight:600 900;font-display:swap;src:url(/fonts/ui-301694533a/xq-serif-sc-more.woff2) format('woff2');unicode-range:U+4E00,U+4E03,U+4E09,U+4E2D,U+4E5D,U+4E8B,U+4E8C,U+4E94,U+4ECA,U+516B,U+516D,U+524D,U+52DD,U+5341,U+53CB,U+53D8,U+540E,U+548C,U+56DB,U+5C06,U+5E05,U+5E73,U+5E7F,U+5EE3,U+5F8C,U+6797,U+6885,U+6A58,U+6B7B,U+767E,U+79D8,U+817F,U+82B1,U+8A18,U+8B5C,U+8B8A,U+8BB0,U+8C31,U+8CA0,U+8E69,U+8F66,U+8FDB,U+9000,U+9032,U+9A6C}
@font-face{font-family:'Ma Shan Zheng';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ui-301694533a/ma-shan-zheng-brush.woff2) format('woff2');unicode-range:U+4E00,U+4E0D,U+5148,U+5352,U+540E,U+541B,U+5931,U+5B50,U+5B66,U+5B81,U+5BF9,U+5F08,U+6094,U+65E0,U+65E5,U+68CB,U+6B64,U+6CB3,U+70AE,U+7530,U+771F,U+843D,U+89C2,U+8BED,U+8C61,U+8D70,U+8DEF,U+8FC7,U+901A,U+9A6C,U+FF0C}
@font-face{font-family:'Inter Fallback';font-style:normal;font-weight:400 700;src:local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans");size-adjust:104.5%;ascent-override:92.8%;descent-override:23%;line-gap-override:0%}
@font-face{font-family:'Noto Serif Fallback';font-style:normal;font-weight:600;src:local("Georgia");size-adjust:95.8%;ascent-override:111.7%;descent-override:30.3%;line-gap-override:0%}
:root {
  color-scheme: light;
  --xq-bg: #f4ecdc; --xq-bg-2: #ede2cb; --xq-card: #fffaf0; --xq-card-2: #fbf4e6;
  --xq-ink: #1e1611;
  --xq-ink-2: #3f3226;
  --xq-muted: #65533f;
  --xq-line: #e4d5b9; --xq-line-2: #cdb78f;
  --xq-field-line: #8c7650;
  --xq-gold: #c9a24f; --xq-gold-hi: #e9cf8a;
  --xq-gold-ink: #7a5712;
  --xq-seal: #b3241c; --xq-seal-hi: #c9342a; --xq-seal-sunk: #8d1a14; --xq-seal-glyph: #fdf0e3;
  --xq-on-seal: #fff6e6;
  --xq-cin-ink: #a3221a;
  --xq-cin-mark: #b3241c;
  --xq-jade: #1d6b58; --xq-jade-wash: #e3efe8;
  --xq-win: #1d6b58; --xq-loss: #b8433a; --xq-draw: #7a5712;
  --xq-lac: #6f150e; --xq-lac-hi: #86201a; --xq-lac-lo: #4d0c08; --xq-lac-edge: #3a0905;
  --xq-on-lac: #fbefd6;
  --xq-on-lac-2: #e9c983;
  --xq-on-lac-3: rgba(251,239,214,.72);
  --xq-leaf: #d9b45a; --xq-leaf-hi: #f1d892; --xq-leaf-lo: #a9822e; --xq-leaf-glyph: #5a0f0a;
  --xq-e1: 0 1px 2px rgba(70,42,12,.07), 0 8px 22px -14px rgba(70,42,12,.32);
  --xq-e2: 0 2px 6px rgba(70,42,12,.08), 0 22px 48px -20px rgba(70,42,12,.42);
  --xq-e3: 0 30px 80px -24px rgba(45,22,6,.55), 0 4px 14px rgba(45,22,6,.12);
  --xq-scrim: rgba(38,22,10,.42);
  --xq-grain-op: .55;
  --xq-accent: var(--xq-cin-ink);
  --xq-accent-fill: var(--xq-seal);
  --xq-accent-fill-hi: var(--xq-seal-hi);
  --xq-on-accent: var(--xq-on-seal);
  --xq-screen-bg: var(--xq-grain), linear-gradient(175deg, var(--xq-card), var(--xq-card-2));
  --xq-mount-bg: linear-gradient(172deg, var(--xq-card), var(--xq-card-2));
  --xq-plaque-bg: var(--xq-card);
  --xq-tile-bd-fg: #fff; --xq-tile-bd-bg: linear-gradient(160deg, #2c7d66, #1d6b58 60%, #134c3e);
  --xq-foot-bg: linear-gradient(180deg, var(--xq-lac-lo), #300704);
  --xq-grain-blend: multiply;
  --xq-r-xs: 4px; --xq-r-sm: 6px; --xq-r-md: 10px; --xq-r-lg: 14px; --xq-r-pill: 999px;
  --xq-s-1: 4px; --xq-s-2: 8px; --xq-s-3: 12px; --xq-s-4: 16px; --xq-s-5: 20px; --xq-s-6: 24px; --xq-s-8: 32px; --xq-s-12: 48px; --xq-s-16: 64px;
  --xq-wrap: 1200px; --xq-gut: 24px;
  --xq-measure: 720px;
  --xq-beam-h: 72px; --xq-beam-h-compact: 56px; --xq-rail-h: 64px; --xq-dock-h: 68px;
  --xq-tap: 44px;
  --xq-ease: cubic-bezier(.2,.7,.2,1); --xq-t-fast: 160ms; --xq-t-med: 220ms;
  --xq-f-ui: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --xq-f-display: "Noto Serif", "Noto Serif Fallback", "XQ Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --xq-f-cn: "XQ Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --xq-f-brush: "Ma Shan Zheng", "STKaiti", "KaiTi", "Kaiti SC", serif;
  --xq-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42  0 0 0 0 .31  0 0 0 0 .16  0 0 0 .75 -.29'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
  --xq-fret-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cpath d='M13 33V13H33V29H17V17H29V25H21V21H25' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  --xq-fret-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cg transform='translate(38 0) scale(-1 1)'%3E%3Cpath d='M13 33V13H33V29H17V17H29V25H21V21H25' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
  --xq-fret-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cg transform='translate(0 38) scale(1 -1)'%3E%3Cpath d='M13 33V13H33V29H17V17H29V25H21V21H25' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
  --xq-fret-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cg transform='translate(38 38) scale(-1 -1)'%3E%3Cpath d='M13 33V13H33V29H17V17H29V25H21V21H25' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='square'/%3E%3C/g%3E%3C/svg%3E");
  --xq-fret-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10' viewBox='0 0 18 10'%3E%3Cpath d='M0 9.2H18M3 9.2V1.2H14V6.8H7V4.2H11' fill='none' stroke='%23000' stroke-width='1.25' stroke-linecap='square'/%3E%3C/svg%3E");
  --xq-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 120'%3E%3Cpath d='M70 64a3 3 0 0 1 6 0a6 6 0 0 1-12 0a9 9 0 0 1 18 0a12 12 0 0 1-24 0a15 15 0 0 1 30 0a18 18 0 0 1-36 0C52 40 76 30 94 36C106 40 118 46 118 62M130 62a3 3 0 0 0 6 0a6 6 0 0 0-12 0a9 9 0 0 0 18 0a12 12 0 0 0-24 0M70 82C92 82 104 76 132 76C158 76 170 86 196 86C214 86 226 78 232 68C236 60 228 54 222 58C218 61 220 66 224 65' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --xq-bg: #120b08; --xq-bg-2: #0c0705; --xq-card: #1d140f; --xq-card-2: #241811;
  --xq-ink: #f4e9d3; --xq-ink-2: #dfd0b6; --xq-muted: #b3a389;
  --xq-line: #33251a; --xq-line-2: #4c3825; --xq-field-line: #8f7a58;
  --xq-gold: #c9a24f; --xq-gold-hi: #e2c47e; --xq-gold-ink: #e2c47e;
  --xq-seal: #a8231c; --xq-seal-hi: #c03228; --xq-seal-sunk: #7a150f; --xq-seal-glyph: #f8e6d6; --xq-on-seal: #fff6e6;
  --xq-cin-ink: #f07468; --xq-cin-mark: #ef5b4c;
  --xq-jade: #5bbd9c; --xq-jade-wash: #12251e;
  --xq-win: #86c98a; --xq-loss: #e58f85; --xq-draw: #e2c47e;
  --xq-lac: #3d0d08; --xq-lac-hi: #4f140d; --xq-lac-lo: #260705; --xq-lac-edge: #160403;
  --xq-on-lac: #f6e7c9; --xq-on-lac-2: #e2c47e; --xq-on-lac-3: rgba(246,231,201,.7);
  --xq-leaf: #d0ab55; --xq-leaf-hi: #ecd28e; --xq-leaf-lo: #9c7629; --xq-leaf-glyph: #3d0a06;
  --xq-e1: 0 1px 2px rgba(0,0,0,.5), 0 10px 26px -14px rgba(0,0,0,.8);
  --xq-e2: 0 2px 8px rgba(0,0,0,.5), 0 24px 52px -20px rgba(0,0,0,.9);
  --xq-e3: 0 34px 90px -20px rgba(0,0,0,.9), 0 4px 14px rgba(0,0,0,.5);
  --xq-scrim: rgba(0,0,0,.58);
  --xq-grain-op: .35;
  --xq-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .86  0 0 0 0 .7  0 0 0 0 .42  0 0 0 .5 -.21'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
  --xq-screen-bg: linear-gradient(175deg, #21160f, #1a110c);
  --xq-mount-bg: linear-gradient(172deg, #22160f, #1a110c);
  --xq-plaque-bg: var(--xq-card-2);
  --xq-tile-bd-fg: #0e221b; --xq-tile-bd-bg: linear-gradient(160deg, #7fd6b6, #5bbd9c 60%, #3f9c7d);
  --xq-foot-bg: linear-gradient(180deg, #1c0604, #0e0302);
  --xq-grain-blend: soft-light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --xq-bg: #120b08; --xq-bg-2: #0c0705; --xq-card: #1d140f; --xq-card-2: #241811;
    --xq-ink: #f4e9d3; --xq-ink-2: #dfd0b6; --xq-muted: #b3a389;
    --xq-line: #33251a; --xq-line-2: #4c3825; --xq-field-line: #8f7a58;
    --xq-gold: #c9a24f; --xq-gold-hi: #e2c47e; --xq-gold-ink: #e2c47e;
    --xq-seal: #a8231c; --xq-seal-hi: #c03228; --xq-seal-sunk: #7a150f; --xq-seal-glyph: #f8e6d6; --xq-on-seal: #fff6e6;
    --xq-cin-ink: #f07468; --xq-cin-mark: #ef5b4c;
    --xq-jade: #5bbd9c; --xq-jade-wash: #12251e;
    --xq-win: #86c98a; --xq-loss: #e58f85; --xq-draw: #e2c47e;
    --xq-lac: #3d0d08; --xq-lac-hi: #4f140d; --xq-lac-lo: #260705; --xq-lac-edge: #160403;
    --xq-on-lac: #f6e7c9; --xq-on-lac-2: #e2c47e; --xq-on-lac-3: rgba(246,231,201,.7);
    --xq-leaf: #d0ab55; --xq-leaf-hi: #ecd28e; --xq-leaf-lo: #9c7629; --xq-leaf-glyph: #3d0a06;
    --xq-e1: 0 1px 2px rgba(0,0,0,.5), 0 10px 26px -14px rgba(0,0,0,.8);
    --xq-e2: 0 2px 8px rgba(0,0,0,.5), 0 24px 52px -20px rgba(0,0,0,.9);
    --xq-e3: 0 34px 90px -20px rgba(0,0,0,.9), 0 4px 14px rgba(0,0,0,.5);
    --xq-scrim: rgba(0,0,0,.58);
    --xq-grain-op: .35;
    --xq-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .86  0 0 0 0 .7  0 0 0 0 .42  0 0 0 .5 -.21'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
    --xq-screen-bg: linear-gradient(175deg, #21160f, #1a110c);
    --xq-mount-bg: linear-gradient(172deg, #22160f, #1a110c);
    --xq-plaque-bg: var(--xq-card-2);
    --xq-tile-bd-fg: #0e221b; --xq-tile-bd-bg: linear-gradient(160deg, #7fd6b6, #5bbd9c 60%, #3f9c7d);
    --xq-foot-bg: linear-gradient(180deg, #1c0604, #0e0302);
    --xq-grain-blend: soft-light;
  }
}
html[lang^="zh"] {
  --xq-f-ui: "PingFang SC", "PingFang TC", "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans SC", "Noto Sans TC", "Inter", system-ui, sans-serif;
  --xq-f-display: "Noto Serif SC", "Noto Serif TC", "Songti SC", "Songti TC", "STSong", "PMingLiU", "Noto Serif", serif;
}
@media (max-width: 899px) { :root { --xq-gut: 16px; } }
.xq-page { margin: 0; min-height: 100vh; background: var(--xq-bg); color: var(--xq-ink);
  font: 400 16px/1.6 var(--xq-f-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.xq-page *, .xq-page *::before, .xq-page *::after { box-sizing: border-box; }
.xq-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--xq-grain); opacity: var(--xq-grain-op); mix-blend-mode: var(--xq-grain-blend); }
.xq-page.board-page::before { display: none; }
.xq-page :where(a) { color: inherit; text-decoration: none; }
.xq-page :where(img, svg) { display: block; max-width: 100%; }
.xq-page :where(button) { font: inherit; color: inherit; }
.xq-page :where(main) { position: relative; z-index: 1; }
.xq-page :focus-visible { outline: 3px solid var(--xq-cin-mark); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.cn { font-family: var(--xq-f-cn); }
.wrap { width: min(100%, var(--xq-wrap)); margin: 0 auto; padding: 0 var(--xq-gut); position: relative; }
.h-display { font: 600 clamp(32px, 1.6rem + 2.2vw, 50px)/1.12 var(--xq-f-display); letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.h1 { font: 600 clamp(28px, 1.4rem + 1.3vw, 38px)/1.18 var(--xq-f-display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.h2 { font: 600 clamp(21px, 1.1rem + .7vw, 27px)/1.25 var(--xq-f-display); margin: 0; }
.h3 { font: 600 18px/1.3 var(--xq-f-display); margin: 0; }
.lede { font-size: clamp(16px, .95rem + .25vw, 18.5px); line-height: 1.65; color: var(--xq-ink-2); margin: 0; max-width: 58ch; text-wrap: pretty; }
.small { font-size: 14px; color: var(--xq-muted); }
.muted { color: var(--xq-muted); }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0; font: 700 12.5px/1.2 var(--xq-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--xq-gold-ink); }
.kicker .cn { font: 600 14px/1 var(--xq-f-cn); letter-spacing: .12em; text-transform: none; color: var(--xq-cin-ink); }
html[lang^="zh"] .kicker, html[lang^="zh"] .col-t { letter-spacing: .14em; font-size: 13px; text-transform: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 20px;
  background: linear-gradient(90deg, var(--xq-gold), rgba(201,162,79,.35) 45%, transparent) left bottom / 100% 1px no-repeat; }
.sec-head .t { display: flex; align-items: center; gap: 12px; }
.sec-head .note { font-size: 14px; color: var(--xq-muted); }
.sec-head a.more { font: 600 14px/1 var(--xq-f-ui); color: var(--xq-cin-ink); display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px;
  border-radius: var(--xq-r-sm); border: 0; cursor: pointer; text-decoration: none;
  font: 600 15.5px/1.1 var(--xq-f-ui); letter-spacing: .01em; white-space: nowrap; text-align: center;
  transition: transform var(--xq-t-fast) var(--xq-ease), box-shadow var(--xq-t-med), background var(--xq-t-med); }
.btn.sm { --h: 40px; padding: 0 14px; font-size: 14px; }
.btn.lg { --h: 56px; padding: 0 28px; font-size: 17px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { color: var(--xq-on-accent);
  background: linear-gradient(180deg, var(--xq-accent-fill-hi), var(--xq-accent-fill) 60%, var(--xq-seal-sunk));
  box-shadow: 0 10px 22px -12px rgba(120,20,12,.75), inset 0 0 0 1px rgba(255,226,170,.35), inset 0 0 0 3px rgba(125,21,14,.85), inset 0 0 0 4px rgba(226,196,126,.55); }
.btn.primary:hover { transform: translateY(-1px); }
.btn .chip { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 900 16px/1 var(--xq-f-cn); color: #b3241c;
  background: radial-gradient(circle at 36% 30%, #fffaf0, #e7d1a2); box-shadow: inset 0 0 0 1.5px rgba(179,36,28,.55), 0 1px 2px rgba(40,10,4,.35); }
.btn.has-chip { padding-left: 8px; }
.btn:has(> .chip) { padding-left: 8px; }
.btn.plaque { color: var(--xq-ink); background: var(--xq-plaque-bg);
  box-shadow: inset 0 0 0 1px var(--xq-field-line), inset 0 0 0 3px var(--xq-plaque-bg), inset 0 0 0 4px rgba(201,162,79,.45), var(--xq-e1); }
.btn.plaque:hover { box-shadow: inset 0 0 0 1px var(--xq-gold-ink), inset 0 0 0 3px var(--xq-plaque-bg), inset 0 0 0 4px rgba(201,162,79,.6), var(--xq-e2); }
.btn.leaf { color: var(--xq-leaf-glyph); font-weight: 700;
  background: linear-gradient(180deg, var(--xq-leaf-hi), var(--xq-leaf) 55%, var(--xq-leaf-lo));
  box-shadow: inset 0 0 0 1px rgba(90,15,10,.35), inset 0 0 0 2px rgba(255,246,220,.45), 0 6px 14px -8px rgba(0,0,0,.6); }
.btn.leaf .chip { width: 26px; height: 26px; font-size: 14px; }
.btn.leaf:hover { filter: brightness(1.05); }
.btn.quiet { color: var(--xq-cin-ink); background: none; padding: 0 8px; min-height: 44px; box-shadow: none; }
.btn.quiet { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.btn.on-lac { color: var(--xq-on-lac); background: rgba(255,240,210,.06); box-shadow: inset 0 0 0 1px rgba(233,201,131,.55); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .icon { width: 18px; height: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: var(--xq-r-pill);
  font: 600 12.5px/1 var(--xq-f-ui); color: var(--xq-ink-2); background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-line-2); white-space: nowrap; }
.tag.xs { min-height: 20px; padding: 0 7px; font-size: 11.5px; letter-spacing: .02em; }
.tag.gold { color: var(--xq-gold-ink); box-shadow: inset 0 0 0 1px rgba(201,162,79,.75); }
.tag.jade { color: var(--xq-jade); background: var(--xq-jade-wash); box-shadow: none; }
.tag.red { color: var(--xq-cin-ink); box-shadow: inset 0 0 0 1px currentColor; background: none; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 40px; padding: 0 16px; border-radius: var(--xq-r-pill); border: 0; cursor: pointer;
  font: 600 14px/1 var(--xq-f-ui); color: var(--xq-ink-2); background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-field-line); }
.filter[aria-pressed="true"] { color: var(--xq-on-lac); background: var(--xq-lac); box-shadow: inset 0 0 0 1px var(--xq-lac-lo), inset 0 -2px 0 var(--xq-leaf); }
.tile { width: 30px; height: 30px; flex: none; border-radius: 6px; display: grid; place-items: center; }
.tile .icon { width: 17px; height: 17px; }
.tile.bd { color: var(--xq-tile-bd-fg); background: var(--xq-tile-bd-bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tile.pg { color: var(--xq-ink-2); background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-line-2); }
.tile.sm { width: 22px; height: 22px; border-radius: 5px; }
.tile.sm .icon { width: 13px; height: 13px; }
.jump { font: 700 13px/1 var(--xq-f-ui); color: var(--xq-gold-ink); margin-left: 2px; }
.card { position: relative; background: var(--xq-card); border-radius: var(--xq-r-md); box-shadow: inset 0 0 0 1px var(--xq-line), var(--xq-e1); }
.card.pad { padding: 22px; }
a.card { display: block; transition: transform var(--xq-t-med) var(--xq-ease), box-shadow var(--xq-t-med); }
a.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--xq-line-2), var(--xq-e2); }
.mount { position: relative; isolation: isolate; background: var(--xq-mount-bg); border-radius: var(--xq-r-lg); box-shadow: inset 0 0 0 1px rgba(201,162,79,.55), var(--xq-e2); }
.mount::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201,162,79,.42); border-radius: 9px; pointer-events: none; z-index: -1; }
.mount::after { content: ""; position: absolute; inset: 3px; pointer-events: none; z-index: -1; background: var(--xq-gold); opacity: .7;
  -webkit-mask: var(--xq-fret-tl) top left / 26px 26px no-repeat, var(--xq-fret-tr) top right / 26px 26px no-repeat, var(--xq-fret-bl) bottom left / 26px 26px no-repeat, var(--xq-fret-br) bottom right / 26px 26px no-repeat;
  mask: var(--xq-fret-tl) top left / 26px 26px no-repeat, var(--xq-fret-tr) top right / 26px 26px no-repeat, var(--xq-fret-bl) bottom left / 26px 26px no-repeat, var(--xq-fret-br) bottom right / 26px 26px no-repeat; }
.mount.pad { padding: 30px; }
.seal { display: inline-grid; place-items: center; flex: none; position: relative; width: var(--s, 32px); height: var(--s, 32px); border-radius: 4px 5px 4px 6px;
  font: 700 calc(var(--s, 32px) * .62)/1 var(--xq-f-cn); color: var(--xq-seal-glyph);
  background: linear-gradient(160deg, var(--xq-seal-hi), var(--xq-seal) 55%, var(--xq-seal-sunk));
  box-shadow: inset 0 0 0 1.5px var(--xq-seal), inset 0 0 0 2.5px rgba(253,240,227,.72), 0 1px 2px rgba(60,10,6,.22); }
.seal.tilt { transform: rotate(-4deg); }
.seal.round { border-radius: 50%; }
.seal.leaf { color: var(--xq-leaf-glyph); background: linear-gradient(160deg, var(--xq-leaf-hi), var(--xq-leaf) 52%, var(--xq-leaf-lo));
  box-shadow: inset 0 0 0 1.5px var(--xq-leaf-lo), inset 0 0 0 2.5px rgba(255,246,220,.55), 0 1px 1px rgba(0,0,0,.25); }
.seal.line { background: none; color: var(--xq-on-lac-2); box-shadow: inset 0 0 0 1.4px rgba(233,201,131,.75); }
.seal.relief { background: none; color: var(--xq-cin-mark); box-shadow: inset 0 0 0 2px currentColor; }
.lz, .lozenge { width: 8px; height: 8px; flex: none; display: inline-block; background: var(--xq-cin-mark); transform: rotate(45deg); margin: 0 4px 0 2px; }
.lozenge { width: 6px; height: 6px; margin: 0; }
.stamp { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 7px 9px 6px 10px; transform: rotate(-4deg);
  font: 900 48px/1 var(--xq-f-cn); color: var(--xq-seal-glyph); background: linear-gradient(160deg, var(--xq-seal-hi), var(--xq-seal) 55%, var(--xq-seal-sunk));
  box-shadow: inset 0 0 0 2px var(--xq-seal), inset 0 0 0 4px rgba(253,240,227,.7), 0 2px 6px rgba(60,10,6,.3); }
.stamp.loss { color: var(--xq-cin-mark); background: none; box-shadow: inset 0 0 0 4px currentColor; }
.stamp.draw { color: var(--xq-leaf-glyph); background: linear-gradient(160deg, var(--xq-leaf-hi), var(--xq-leaf) 52%, var(--xq-leaf-lo)); box-shadow: inset 0 0 0 2px var(--xq-leaf-lo), inset 0 0 0 4px rgba(255,246,220,.55); }
.stamp.sm { width: 52px; height: 52px; font-size: 30px; }
.av { position: relative; width: 40px; height: 40px; border-radius: 6px 7px 5px 8px; display: inline-grid; place-items: center; flex: none;
  font: 700 18px/1 var(--xq-f-display); color: var(--xq-seal-glyph);
  background: linear-gradient(160deg, var(--xq-seal-hi), var(--xq-seal) 55%, var(--xq-seal-sunk));
  box-shadow: inset 0 0 0 1.5px var(--xq-seal), inset 0 0 0 2.5px rgba(253,240,227,.7); }
.av.jade { color: #f0fff8; background: linear-gradient(160deg, #2c7d66, #1d6b58 55%, #134c3e); box-shadow: inset 0 0 0 1.5px #1d6b58, inset 0 0 0 2.5px rgba(230,255,244,.6); }
.av.ink { color: #fff3e3; background: linear-gradient(160deg, #4b3d31, #2d241c 55%, #1a140f); box-shadow: inset 0 0 0 1.5px #2d241c, inset 0 0 0 2.5px rgba(255,240,220,.45); }
.av.lg { width: 56px; height: 56px; font-size: 25px; border-radius: 8px 10px 7px 11px; }
.river { display: flex; align-items: center; gap: 12px; }
.river i { flex: 1; height: 6px; border-top: 1px solid rgba(201,162,79,.6); border-bottom: 1px solid rgba(201,162,79,.6); }
.river span { font: 700 14px/1 var(--xq-f-cn); letter-spacing: .55em; margin-right: -.55em; color: var(--xq-gold-ink); white-space: nowrap; }
.river b { width: 7px; height: 7px; flex: none; background: var(--xq-cin-mark); transform: rotate(45deg); }
.str { display: inline-flex; gap: 3px; }
.str i { width: 7px; height: 7px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--xq-gold); }
.str i.on { background: var(--xq-gold); box-shadow: none; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--xq-line); overflow-x: auto; }
.tabs > a, .tabs > button { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font: 600 15px/1 var(--xq-f-ui); color: var(--xq-ink-2); box-shadow: inset 0 -3px 0 transparent; white-space: nowrap; }
.tabs [aria-selected="true"], .tabs [aria-current] { color: var(--xq-ink); box-shadow: inset 0 -3px 0 var(--xq-cin-mark); }
.tabs .count { font-variant-numeric: tabular-nums; color: var(--xq-muted); font-weight: 500; }
.seg { display: inline-flex; padding: 3px; gap: 3px; border-radius: 9px; background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-field-line); }
.seg > button { min-width: 56px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 7px; cursor: pointer; background: none; font: 600 14px/1 var(--xq-f-ui); color: var(--xq-ink-2); }
.seg > button[aria-pressed="true"], .seg > button[aria-checked="true"] { color: var(--xq-on-lac); background: var(--xq-lac); box-shadow: inset 0 -2px 0 var(--xq-leaf); }
.sw { position: relative; width: 52px; height: 30px; flex: none; border: 0; border-radius: 999px; cursor: pointer; padding: 0;
  background: var(--xq-card-2); box-shadow: inset 0 0 0 1.5px var(--xq-field-line); transition: background var(--xq-t-fast); }
.sw::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--xq-field-line); transition: transform var(--xq-t-fast) var(--xq-ease), background var(--xq-t-fast); }
.sw[aria-checked="true"] { background: var(--xq-jade); box-shadow: none; }
.sw[aria-checked="true"]::after { transform: translateX(22px); background: #fff; }
.field { display: grid; gap: 6px; }
.field > label, .field > .lbl { font: 600 14px/1.3 var(--xq-f-ui); color: var(--xq-ink); }
.field input, .field select, .field textarea, .input { min-height: 48px; width: 100%; padding: 0 14px; border-radius: var(--xq-r-sm);
  font: 400 16px/1.4 var(--xq-f-ui); color: var(--xq-ink); background: var(--xq-card); border: 1.5px solid var(--xq-field-line); }
.field textarea { padding: 12px 14px; min-height: 96px; }
.field .help { font-size: 13.5px; color: var(--xq-muted); }
.field .err { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--xq-cin-ink); }
.field [aria-invalid="true"] { border-color: var(--xq-cin-mark); }
.meter { height: 8px; border-radius: 99px; background: var(--xq-bg-2); box-shadow: inset 0 0 0 1px var(--xq-line); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--xq-gold), var(--xq-leaf-hi)); }
.meter.red > i { background: linear-gradient(90deg, var(--xq-seal-sunk), var(--xq-seal-hi)); }
.meter.jade > i { background: var(--xq-jade); }
.recbar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; }
.recbar > .w { background: var(--xq-win); } .recbar > .d { background: var(--xq-gold); } .recbar > .l { background: var(--xq-loss); }
.gr, .fr, .note-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--xq-line); min-height: 56px; }
.gr .who, .fr .who { flex: 1; min-width: 0; }
.gr .delta.up { color: var(--xq-win); } .gr .delta.down { color: var(--xq-loss); }
.fr .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--xq-jade); flex: none; }
.note-row { padding: 10px 16px; align-items: flex-start; border-bottom: 0; }
.note-row.unread { background: rgba(217,180,90,.12); box-shadow: inset 3px 0 0 var(--xq-leaf); }
.note-row .av { width: 34px; height: 34px; font-size: 15px; }
.note-row p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--xq-ink-2); }
.note-row p b { color: var(--xq-ink); }
.note-row time { display: block; font-size: 12.5px; color: var(--xq-muted); margin-top: 2px; }
.note-row .na { display: flex; gap: 8px; margin-top: 8px; }
.note-row .na .btn { --h: 44px; padding: 0 14px; font-size: 14px; }
.qipu { display: grid; gap: 0; }
.qipu-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--xq-line); }
.sheet-paper { background: repeating-linear-gradient(180deg, transparent 0 35px, rgba(179,36,28,.16) 35px 36px); }
.qrow { display: grid; grid-template-columns: 34px 1fr 1fr; align-items: center; min-height: 36px; padding: 0 10px; font-variant-numeric: tabular-nums; }
.qrow .no { color: var(--xq-muted); font-size: 13px; }
.mv { min-height: 36px; padding: 0 8px; border: 0; border-radius: 4px; background: none; cursor: pointer; text-align: left; font: 500 15px/1 var(--xq-f-cn); color: var(--xq-ink); }
.mv.now { background: rgba(179,36,28,.1); box-shadow: inset 2px 0 0 var(--xq-cin-mark); }
.hist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hist > button { min-height: 44px; border: 0; border-radius: var(--xq-r-sm); cursor: pointer; color: var(--xq-ink); background: var(--xq-plaque-bg); box-shadow: inset 0 0 0 1px var(--xq-field-line); display: grid; place-items: center; }
.prow { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.prow .nm { flex: 1; min-width: 0; font: 600 15px/1.25 var(--xq-f-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clock { display: inline-flex; align-items: center; gap: 8px; min-width: 92px; height: 40px; padding: 0 12px; border-radius: var(--xq-r-sm); justify-content: flex-end;
  font: 600 19px/1 var(--xq-f-ui); font-variant-numeric: tabular-nums; color: var(--xq-ink-2); background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-line-2); }
.clock.run { color: var(--xq-ink); background: var(--xq-card); box-shadow: inset 0 0 0 2px var(--xq-cin-mark); }
.clock.run::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--xq-cin-mark); margin-right: auto; }
.clock.low { color: var(--xq-on-accent); background: var(--xq-accent-fill); box-shadow: none; }
.clock.low::before { background: var(--xq-on-accent); }
.status { padding: 14px 16px; border-radius: var(--xq-r-md); background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-line); font-size: 15px; color: var(--xq-ink-2); }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 52px; padding: 8px 14px; border-radius: var(--xq-r-md);
  background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-line); font-size: 14.5px; color: var(--xq-ink-2); }
.cd-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--xq-r-md); font: 600 15px/1.35 var(--xq-f-ui);
  color: var(--xq-ink); background: rgba(217,180,90,.16); box-shadow: inset 0 0 0 1px rgba(201,162,79,.6), inset 3px 0 0 var(--xq-leaf); }
.cd-banner .n { font-variant-numeric: tabular-nums; color: var(--xq-cin-ink); }
.host { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: 12px; background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-line); }
.host .mini { border-radius: 6px; overflow: hidden; box-shadow: var(--xq-e1); }
.host .k { font: 700 12px/1.2 var(--xq-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--xq-gold-ink); }
.host b.t { display: block; font: 600 19px/1.25 var(--xq-f-display); margin: 4px 0 3px; }
.host .s { font-size: 14px; color: var(--xq-ink-2); }
.host .acts-h { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.host .after { grid-column: 1 / -1; display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--xq-muted); }
.host .after b { color: var(--xq-ink-2); font-weight: 600; }
.greet { display: flex; align-items: center; gap: 14px; }
.tcard { display: grid; gap: 8px; padding: 16px; border-radius: var(--xq-r-md); background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-line), var(--xq-e1); }
.next-rung { margin-top: 18px; padding: 12px 14px; border-radius: 10px; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-line); }
.next-rung .k { grid-column: 1 / -1; font: 700 11.5px/1.2 var(--xq-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--xq-gold-ink); }
.next-rung b { font: 600 17px/1.3 var(--xq-f-display); }
.next-rung b i { font: 700 14px/1 var(--xq-f-cn); font-style: normal; color: var(--xq-cin-ink); letter-spacing: .08em; margin-left: 4px; }
.next-rung .s { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.45; color: var(--xq-ink-2); }
.tick { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font: 600 14.5px/1.4 var(--xq-f-ui); color: var(--xq-jade); }
.tick .icon { width: 18px; height: 18px; stroke-width: 2.4; }
@media (max-width: 899px) {
  .host { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .host .acts-h { grid-template-columns: 1fr; }
}
.scrim { position: fixed; inset: 0; background: var(--xq-scrim); z-index: 80; }
.scrim.opening { pointer-events: none; }
.dialog { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 81; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 34px 32px 22px; }
.dialog .btns, .result .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 899px) {
  .dialog { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; border-radius: 16px 16px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
}
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100% - 32px));
  padding: 10px 12px 10px 16px; min-height: 48px; border-radius: 10px; color: var(--xq-on-lac); background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac-lo));
  box-shadow: inset 0 0 0 1px rgba(217,180,90,.6), var(--xq-e2); font-size: 14.5px; }
.toast .btn { --h: 44px; color: var(--xq-leaf-hi); }
.savebar { position: sticky; bottom: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 12px 12px 0 0;
  color: var(--xq-on-lac); background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 50%, var(--xq-lac-lo)); box-shadow: inset 0 1px 0 var(--xq-leaf), var(--xq-e3); }
.savebar .what { flex: 1; min-width: 12em; font-size: 14.5px; }
.savebar .what b { color: var(--xq-on-lac); }
.savebar .what span { color: var(--xq-on-lac-3); }
.notice { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: min(380px, calc(100% - 32px)); padding: 18px 18px 14px; }
.notice .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.notice .btn { --h: 44px; }
@media (max-width: 899px) {
  .toast { left: 16px; right: 16px; bottom: calc(var(--xq-rail-h) + 12px + env(safe-area-inset-bottom)); max-width: none; }
  .savebar { position: fixed; left: 0; right: 0; bottom: calc(var(--xq-rail-h) + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; }
  .notice { right: 16px; left: 16px; width: auto; bottom: calc(var(--xq-rail-h) + 12px + env(safe-area-inset-bottom)); }
}
.board-page .notice { display: none; }
@keyframes xq-stamp { from { transform: rotate(-4deg) scale(1.15); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
.stamp.in { animation: xq-stamp 280ms var(--xq-ease) 1 both; }
@media (prefers-reduced-motion: reduce) {
  .xq-page *, .xq-page *::before, .xq-page *::after, .btn, .card, .screen-wrap, .sheet-scrim, .stamp { transition: none !important; animation: none !important; }
  .btn.primary:hover, a.card:hover { transform: none; }
}
.row { display: flex; gap: 12px; align-items: center; }
.stack { display: flex; flex-direction: column; }
@media (max-width: 899px) { .desk-only { display: none !important; } }
@media (min-width: 900px) { .phone-only { display: none !important; } }
@media (max-width: 899px), (pointer: coarse) {
  .btn.sm { --h: 44px; }
  .filter, .seg > button, .mv, .tabs > a, .tabs > button { min-height: 44px; }
  .seg > button { min-width: 56px; }
  .sw { box-sizing: content-box; border: 7px solid transparent; background-clip: padding-box; }
  .qrow { min-height: 44px; }
}
.beam { position: sticky; top: 0; z-index: 50; color: var(--xq-on-lac); font-family: var(--xq-f-ui);
  background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 40%), linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 55%, var(--xq-lac-lo));
  box-shadow: inset 0 3px 0 var(--xq-lac-edge), inset 0 4px 0 rgba(217,180,90,.55), 0 8px 24px -14px rgba(40,8,4,.6); }
.beam *, .beam *::before, .beam *::after, .rail *, .foot * { box-sizing: border-box; }
.beam a, .rail a, .foot a { color: inherit; text-decoration: none; }
.beam button, .rail button { font: inherit; color: inherit; }
.beam svg, .rail svg, .foot svg { display: block; }
.beam::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--xq-leaf) 12%, var(--xq-leaf-hi) 50%, var(--xq-leaf) 88%, transparent) top / 100% 1px no-repeat,
    linear-gradient(var(--xq-lac-lo), var(--xq-lac-lo)) 0 1px / 100% 8px no-repeat; }
.beam .band { position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; pointer-events: none; opacity: .62; z-index: 2; background: var(--xq-leaf);
  -webkit-mask: var(--xq-fret-band) 0 0 / 18px 10px repeat-x; mask: var(--xq-fret-band) 0 0 / 18px 10px repeat-x; }
.beam :focus-visible, .rail :focus-visible, .foot :focus-visible, .feat:focus-visible, .lead-card:focus-visible { outline: 3px solid var(--xq-leaf-hi); outline-offset: -3px; border-radius: 6px; }
.beam-in { height: var(--xq-beam-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; min-height: 48px; min-width: 0; }
.xm-logo { display: grid; place-items: center; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffaf0, #f4e9d4 70%, #e9d9b8);
  box-shadow: 0 0 0 1.5px var(--xq-leaf-hi, #e3c477), 0 2px 6px rgba(30,6,3,.45); overflow: hidden; }
.xm-logo img { display: block; width: 96%; height: 96%; object-fit: contain; }
.brand .xm-logo { width: 50px; height: 50px; }
.lang-btn.lang-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; height: 46px; padding: 0 14px 0 12px; border-radius: 23px;
  font: 700 14px/1 var(--xq-f-ui); color: var(--xq-on-lac); background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 55%, var(--xq-lac-lo));
  box-shadow: 0 0 0 1.5px var(--xq-leaf, #c9a24f), 0 6px 18px -4px rgba(30,6,3,.55); }
.lang-btn.lang-fab:hover { background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac-hi) 55%, var(--xq-lac)); }
.lang-btn.lang-fab[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--xq-leaf-hi, #e3c477), 0 6px 18px -4px rgba(30,6,3,.55); }
.lang-btn.lang-fab .icon { width: 18px; height: 18px; }
.brand .wm, .fbrand .wm { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand .wm b { font: 600 19px/1.1 var(--xq-f-display); letter-spacing: .01em; color: var(--xq-on-lac); white-space: nowrap; }
.brand .wm i { font: 600 11.5px/1.2 var(--xq-f-cn); font-style: normal; letter-spacing: .32em; color: var(--xq-on-lac-2); margin-top: 3px; white-space: nowrap; }
.brand .wm i.latin, .fbrand .wm i.latin { font: 700 10px/1.2 var(--xq-f-ui); letter-spacing: .14em; text-transform: uppercase; }
html[lang^="zh"] .brand .wm b { font-family: var(--xq-f-cn); letter-spacing: .08em; font-size: 20px; }
.halls { display: flex; align-items: stretch; gap: 4px; margin: 0 auto; height: var(--xq-beam-h); flex: 0 1 auto; min-width: 0; }
.hall { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; height: 100%; cursor: pointer; border: 0; background: none; color: var(--xq-on-lac);
  flex: 0 1 auto; min-width: 0; }
.hall > * { flex: none; }
.hall .seal { --s: 30px; }
.hall .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; }
.hall .lbl b { font: 600 15.5px/1.15 var(--xq-f-ui); letter-spacing: .01em; white-space: nowrap; }
.hall .lbl i { font: 600 13px/1.2 var(--xq-f-cn); font-style: normal; letter-spacing: .14em; color: var(--xq-on-lac-2); margin-top: 2px; white-space: nowrap; }
html[lang^="zh"] .hall .lbl b { font-family: var(--xq-f-cn); font-size: 16.5px; letter-spacing: .12em; }
.hall .car, .acct .car { flex: none; width: 12px; height: 12px; opacity: .75; margin-left: -2px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hall:hover { background: rgba(255,232,190,.07); }
.hall[aria-expanded="true"] { background: rgba(255,232,190,.1); }
.hall[aria-current] .seal, .hall[aria-expanded="true"] .seal { box-shadow: inset 0 0 0 1.5px var(--xq-leaf-lo), inset 0 0 0 2.5px rgba(255,246,220,.55), 0 0 0 2px rgba(241,216,146,.35); }
.hall[aria-current]::after, .hall[aria-expanded="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--xq-leaf-hi) 18%, var(--xq-leaf-hi) 82%, transparent); }
.halls:has(.hall[aria-expanded="true"]) .hall[aria-current]:not([aria-expanded="true"])::after,
.halls:has(.hall[aria-expanded="true"]) .hall[aria-current]:not([aria-expanded="true"])::before { content: none; }
.hall[aria-current]::before, .hall[aria-expanded="true"]::before { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; z-index: 3;
  background: var(--xq-leaf-hi); transform: rotate(45deg); box-shadow: 0 0 0 2px var(--xq-lac-lo); }
.beam-right { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-btn, .icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; position: relative;
  border-radius: var(--xq-r-sm); border: 0; cursor: pointer; color: var(--xq-on-lac); background: rgba(255,240,210,.06);
  box-shadow: inset 0 0 0 1px rgba(233,201,131,.62); font: 600 14px/1 var(--xq-f-ui); }
.lang-btn:hover, .icon-btn:hover, .acct:hover { background: rgba(255,240,210,.12); }
.lang-btn[aria-expanded="true"], .icon-btn[aria-expanded="true"], .acct[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--xq-leaf-hi); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun, :root[data-theme="dark"] .me-prefs .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon, :root[data-theme="dark"] .me-prefs .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun, :root:not([data-theme="light"]) .me-prefs .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon, :root:not([data-theme="light"]) .me-prefs .i-moon { display: none; }
}
.me-prefs .i-sun { display: none; }
.beam .link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; font: 600 14.5px/1 var(--xq-f-ui); color: var(--xq-on-lac); white-space: nowrap; }
.beam .link:hover { color: var(--xq-leaf-hi); }
.beam .link[aria-current] { color: var(--xq-leaf-hi); box-shadow: inset 0 -2px 0 var(--xq-leaf); }
.beam .link .icon { width: 18px; height: 18px; }
.beam-in .jump, .feat .jump, .lead-card .jump, .foot .jump, .guest-card .jump { color: var(--xq-leaf-hi); }
.beam-in .btn.leaf .jump, .foot .btn.leaf .jump, .guest-card .btn.leaf .jump, .btn.leaf .jump, .btn.primary .jump { color: inherit; }
.beam .btn.leaf { --h: 44px; }
.acct { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 4px; border: 0; cursor: pointer; border-radius: var(--xq-r-pill);
  color: var(--xq-on-lac); background: rgba(255,240,210,.06); box-shadow: inset 0 0 0 1px rgba(233,201,131,.62); }
.acct .av { width: 34px; height: 34px; font-size: 16px; }
.acct b { font: 600 14px/1 var(--xq-f-ui); max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .rt { font: 700 12.5px/1 var(--xq-f-ui); font-variant-numeric: tabular-nums; color: var(--xq-leaf-glyph); background: var(--xq-leaf); padding: 4px 7px; border-radius: 999px; }
.acct-slot { display: block; width: 176px; height: 44px; }
.bell .dot { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--xq-leaf); color: var(--xq-leaf-glyph);
  font: 800 11px/18px var(--xq-f-ui); text-align: center; box-shadow: 0 0 0 2px var(--xq-lac); }
@media (max-width: 1279px) and (min-width: 900px) {
  .hall { padding: 0 9px; gap: 8px; } .hall .lbl i { display: none; } .beam-in { gap: 10px; }
  html[lang="vi"] .beam .link.shop span:not(.jump):not(.sr), html[lang="ja"] .beam .link.shop span:not(.jump):not(.sr), .beam-right:has(.ret) .link.shop span:not(.jump):not(.sr) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html[lang="vi"] .beam .link.shop .jump, html[lang="ja"] .beam .link.shop .jump, .beam-right:has(.ret) .link.shop .jump { display: none; }
}
@media (max-width: 1099px) and (min-width: 900px) {
  .brand .wm, .acct b, .acct .rt { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .acct { gap: 6px; padding-right: 8px; }
  .acct-slot { width: 64px; }
  .hall { padding: 0 7px; gap: 6px; } .hall .seal { --s: 26px; }
  .beam-right { gap: 6px; }
  .beam .link { padding: 0 6px; }
}
@media (min-width: 1280px) { html[lang="vi"] .hall { padding: 0 12px; } }
.beam-right:has(.ret) .acct b, .beam-right:has(.ret) .acct .rt { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[lang="vi"] .beam-right:has(.ret) .link.shop span:not(.jump):not(.sr), html[lang="ja"] .beam-right:has(.ret) .link.shop span:not(.jump):not(.sr) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[lang="vi"] .beam-right:has(.ret) .link.shop .jump, html[lang="ja"] .beam-right:has(.ret) .link.shop .jump { display: none; }
@media (max-width: 1279px) and (min-width: 900px) {
  html[lang="ja"] .beam-in:has(.ret) .brand .wm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) {
  .beam.compact { --xq-beam-h: var(--xq-beam-h-compact); }
  .beam.compact .hall .lbl i, .beam.compact .brand .wm i { display: none; }
  .beam.compact .brand .xm-logo { width: 38px; height: 38px; }
  .beam.compact .hall .seal { --s: 26px; }
}
.screen { position: relative; isolation: isolate; color: var(--xq-ink); font-family: var(--xq-f-ui); background: var(--xq-screen-bg);
  border-radius: 4px 4px var(--xq-r-lg) var(--xq-r-lg); box-shadow: inset 0 0 0 1px rgba(201,162,79,.7), var(--xq-e3); }
.screen::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201,162,79,.38); border-radius: 2px 2px 10px 10px; pointer-events: none; z-index: -1; }
.screen::after { content: ""; position: absolute; inset: 3px; pointer-events: none; z-index: -1; background: var(--xq-gold); opacity: .75;
  -webkit-mask: var(--xq-fret-bl) bottom left / 26px 26px no-repeat, var(--xq-fret-br) bottom right / 26px 26px no-repeat;
  mask: var(--xq-fret-bl) bottom left / 26px 26px no-repeat, var(--xq-fret-br) bottom right / 26px 26px no-repeat; }
.screen a { color: inherit; }
.col-t { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 12.5px/1.2 var(--xq-f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--xq-gold-ink); }
.ents + .col-t { margin-top: 20px; }
.entry { display: flex; align-items: flex-start; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: var(--xq-r-sm); min-height: 44px; }
.entry:hover { background: rgba(201,162,79,.14); }
.entry .tile { margin-top: 1px; }
.entry .et { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.entry b { display: block; font: 600 15px/1.3 var(--xq-f-ui); color: var(--xq-ink); }
.entry b > .jump { margin-left: 5px; }
.entry b > .tag { margin-left: 6px; vertical-align: 1px; }
.entry .n { font-size: 13.5px; line-height: 1.4; color: var(--xq-muted); }
.entry .arr, .lead-card .arr { color: var(--xq-gold-ink); }
.pieces { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 2px 8px; margin: 0 -6px 8px; }
.pieces .pc { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; border-radius: 6px; font: 600 14px/1.2 var(--xq-f-ui); color: var(--xq-ink); }
.pieces .pc:hover { background: rgba(201,162,79,.14); }
.pieces .disc { width: 28px; height: 28px; flex: none; }
.feat { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; margin: 12px; border-radius: 10px; color: var(--xq-on-lac);
  background: linear-gradient(170deg, var(--xq-lac-hi), var(--xq-lac) 60%, var(--xq-lac-lo));
  box-shadow: inset 0 0 0 1px rgba(217,180,90,.6), inset 0 0 0 5px var(--xq-lac), inset 0 0 0 6px rgba(217,180,90,.35); }
.feat .k, .lead-card .k { font: 700 12px/1.25 var(--xq-f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--xq-on-lac-2); }
html[lang^="zh"] .feat .k, html[lang^="zh"] .lead-card .k { letter-spacing: .14em; text-transform: none; font-size: 13px; }
.feat .h { font: 600 21px/1.2 var(--xq-f-display); color: var(--xq-on-lac); }
.feat .p { font-size: 14px; line-height: 1.5; color: var(--xq-on-lac-3); }
.feat .go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 36px; font: 700 14px/1 var(--xq-f-ui); color: var(--xq-leaf-hi); }
.feat .go .icon { width: 18px; height: 18px; }
.feat:hover .go { text-decoration: underline; text-underline-offset: 4px; }
.feat .board { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 24px -12px rgba(0,0,0,.8); }
.feat .board svg { width: 100%; height: auto; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ladder li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "d s"; gap: 1px 10px; padding: 6px 0; align-items: center; border-bottom: 1px solid rgba(233,201,131,.16); }
.ladder li:last-child { border-bottom: 0; }
.ladder .bn { grid-area: n; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.ladder .bn b { font: 600 14.5px/1.25 var(--xq-f-ui); color: var(--xq-on-lac); }
.ladder .bn i { font: 700 13px/1 var(--xq-f-cn); font-style: normal; white-space: nowrap; color: var(--xq-on-lac-2); letter-spacing: .08em; }
.ladder .bs { grid-area: d; font-size: 12.5px; line-height: 1.35; color: var(--xq-on-lac-3); }
.ladder .str { grid-area: s; }
.feat .str i { box-shadow: inset 0 0 0 1px rgba(233,201,131,.7); }
.feat .str i.on { background: var(--xq-leaf-hi); box-shadow: none; }
.legend-strip { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 12px 12px; padding: 12px 14px 4px;
  border-top: 1px solid var(--xq-line); font-size: 13px; color: var(--xq-muted); }
.legend-strip > span { display: inline-flex; align-items: center; gap: 8px; }
.screen .counts { grid-column: 1 / -1; margin: 0 26px 14px; font: 600 13.5px/1.4 var(--xq-f-ui); color: var(--xq-jade); }
@media (min-width: 900px) {
  .phone, .rail, .sheet-scrim { display: none !important; }
  .hall-panel { position: absolute; left: 0; right: 0; top: calc(100% + 9px); z-index: 49; padding-top: 10px; }
  .hall-panel::before { content: ""; position: fixed; left: 0; right: 0; top: calc(var(--xq-beam-h) + 9px); bottom: 0; background: var(--xq-scrim); opacity: .55; z-index: -1; pointer-events: none; }
  .hall-panel > .screen { width: min(100% - 2 * var(--xq-gut), var(--xq-wrap) - 2 * var(--xq-gut)); margin: 0 auto; display: grid; max-height: calc(100vh - var(--xq-beam-h) - 40px); overflow: auto; }
  .screen.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) 330px; }
  .screen.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) 280px; }
  .screen.cols-4.has-pieces { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, 1.05fr) 280px; }
  .screen .col { position: relative; padding: 24px 18px 22px; }
  .screen .col + .col::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(201,162,79,.55) 12%, rgba(201,162,79,.55) 88%, transparent); }
  .screen .entry .arr { display: none; }
  .screen-wrap.small { position: absolute; top: calc(100% + 9px); right: max(var(--xq-gut), (100% - var(--xq-wrap)) / 2 + var(--xq-gut)); z-index: 49; padding-top: 10px; width: 380px; }
  .screen-wrap.small > .screen { padding: 8px 0 12px; max-height: calc(100vh - var(--xq-beam-h) - 40px); overflow: auto; }
  .screen-wrap.small.lang-wrap { position: fixed; top: auto; right: 18px; bottom: calc(74px + env(safe-area-inset-bottom)); padding-top: 0; width: 340px; }
  .screen-wrap.small.lang-wrap > .screen { max-height: calc(100vh - 120px); }
  .hall-panel:not([hidden]), .screen-wrap.small:not([hidden]) { animation: xq-drop var(--xq-t-med) var(--xq-ease); }
}
@keyframes xq-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes xq-rise { from { opacity: .4; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.me-id { display: flex; align-items: center; gap: 14px; padding: 12px 18px 14px; border-bottom: 1px solid var(--xq-line); }
.me-id b { display: block; font: 600 18px/1.2 var(--xq-f-display); }
.me-id .small { font-size: 14px; color: var(--xq-muted); }
.notes { display: grid; }
.notes:empty { display: none; }
.me-rows { display: grid; padding: 4px 0; }
.me-row { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 18px; border: 0; border-bottom: 1px solid var(--xq-line); background: none; cursor: pointer;
  font: 500 16px/1.25 var(--xq-f-ui); color: var(--xq-ink); text-align: left; width: 100%; }
.me-row:last-child { border-bottom: 0; }
.me-row:hover { background: rgba(201,162,79,.12); }
.me-row .icon { color: var(--xq-gold-ink); }
.me-row .meta { margin-left: auto; font-size: 14px; color: var(--xq-muted); white-space: nowrap; }
.me-row .meta .jump { color: var(--xq-gold-ink); }
.me-row .cnt { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center;
  font: 700 13px/1 var(--xq-f-ui); color: var(--xq-on-accent); background: var(--xq-accent-fill); }
.me-prefs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 4px; }
.me-prefs .btn { --h: 44px; flex: 1 1 auto; min-width: 0; max-width: 100%; padding: 6px 12px; font-size: 14px; line-height: 1.2; white-space: normal; }
.me-prefs .btn .icon { flex: none; }
.guest-card { margin: 12px 18px; padding: 16px; border-radius: 12px; color: var(--xq-on-lac);
  background: linear-gradient(170deg, var(--xq-lac-hi), var(--xq-lac) 60%, var(--xq-lac-lo));
  box-shadow: inset 0 0 0 1px rgba(217,180,90,.6), inset 0 0 0 4px var(--xq-lac), inset 0 0 0 5px rgba(217,180,90,.3); }
.guest-card b { display: block; font: 600 18px/1.25 var(--xq-f-display); }
.guest-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--xq-on-lac-3); }
.guest-card p:first-child { margin-top: 0; }
.guest-card .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.guest-card .acts:first-child { margin-top: 0; }
.guest-card:has(> .acts:first-child) { padding: 12px; }
.guest-card .btn { --h: 44px; flex: 1; }
.guest-card .btn.plaque { color: var(--xq-on-lac); background: rgba(255,240,210,.06); box-shadow: inset 0 0 0 1px rgba(233,201,131,.55); }
.guest-card .jump { color: currentColor; }
.bell-screen .col-t { padding: 8px 18px 0; }
.lang-list { display: grid; gap: 4px; padding: 6px 10px; }
.lang-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 6px 12px; border-radius: 8px; }
.lang-row:hover { background: rgba(201,162,79,.12); }
.lang-row[aria-current] { background: rgba(179,36,28,.08); box-shadow: inset 3px 0 0 var(--xq-cin-mark); }
.lang-row .ln { display: flex; flex-direction: column; gap: 3px; }
.lang-row .ln b { font: 600 16px/1.2 var(--xq-f-ui); color: var(--xq-ink); }
.lang-row .ln span { font-size: 13px; line-height: 1.35; color: var(--xq-muted); }
.lang-row .icon { color: var(--xq-cin-ink); }
.tab-mseal .xm-logo { width: 30px; height: 30px; box-shadow: 0 0 0 1px var(--xq-leaf-hi, #e3c477); }
.tab-av { width: 28px; height: 28px; font-size: 14px; border-radius: 5px; }
.tab-av.on { box-shadow: inset 0 0 0 1.5px var(--xq-leaf-lo), inset 0 0 0 2.5px rgba(255,246,220,.55), 0 0 0 2px var(--xq-leaf-hi); }
.tab-person { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 5px; color: var(--xq-on-lac-2); box-shadow: inset 0 0 0 1.4px rgba(233,201,131,.75); }
.tab-person .icon { width: 19px; height: 19px; }
.tab-person.on { color: var(--xq-leaf-glyph); background: linear-gradient(160deg, var(--xq-leaf-hi), var(--xq-leaf)); box-shadow: none; }
@media (max-width: 1099px) and (min-width: 900px) {
  .screen.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) 270px; }
  .screen.cols-4, .screen.cols-4.has-pieces { grid-template-columns: repeat(4, minmax(0, 1fr)) 240px; }
  .screen .col { padding: 20px 12px 18px; }
}
@media (max-width: 899px) {
  :root { --xq-beam-h: 56px; }
  .desk, .beam .halls { display: none !important; }
  .beam-in { gap: 8px; }
  .brand { gap: 10px; flex: 1 1 auto; }
  .brand .xm-logo { width: 40px; height: 40px; }
  .brand .wm b { font-size: clamp(15px, 4.3vw, 17px); white-space: normal; text-wrap: balance; line-height: 1.08; overflow-wrap: anywhere; }
  .brand .wm i { font-size: 10.5px; }
  .beam-right { margin-left: auto; gap: 6px; }
  .lang-btn.lang-fab { right: 12px; bottom: calc(var(--xq-rail-h) + 12px + env(safe-area-inset-bottom)); height: 44px; padding: 0 12px 0 10px; }
  :root:has(.sheet-scrim:not([hidden])) .lang-btn.lang-fab { display: none; }
  .beam .play-now { padding: 0 10px 0 6px; gap: 6px; }
  .rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--xq-rail-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); color: var(--xq-on-lac); font-family: var(--xq-f-ui);
    background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 40%, var(--xq-lac-lo)); box-shadow: 0 -1px 0 var(--xq-leaf), 0 -8px 22px -10px rgba(40,8,4,.5); }
  .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 6px; opacity: .45; background: var(--xq-leaf); pointer-events: none;
    -webkit-mask: var(--xq-fret-band) 0 -4px / 14px 8px repeat-x; mask: var(--xq-fret-band) 0 -4px / 14px 8px repeat-x; }
  .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px 0 0; min-height: var(--xq-rail-h);
    border: 0; background: none; cursor: pointer; color: inherit; min-width: 0; }
  .tab .seal { --s: 28px; }
  .tab .l { font: 600 11.5px/1.1 var(--xq-f-ui); letter-spacing: .01em; color: var(--xq-on-lac-3); max-width: 100%; padding: 0 2px; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
  html[lang^="zh"] .tab .l { font-size: 12px; letter-spacing: .06em; }
  .tab[aria-current] .l, .tab[aria-expanded="true"] .l { color: var(--xq-on-lac); }
  .tab[aria-current]::before, .tab[aria-expanded="true"]::before { content: ""; position: absolute; top: 0; left: 26%; right: 26%; height: 3px; border-radius: 0 0 3px 3px; background: var(--xq-leaf-hi); }
  .tab .badge { position: absolute; top: 5px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--xq-leaf-hi); color: var(--xq-leaf-glyph);
    font: 800 11px/18px var(--xq-f-ui); text-align: center; box-shadow: 0 0 0 2px var(--xq-lac); }
  .xq-page { padding-bottom: calc(var(--xq-rail-h) + env(safe-area-inset-bottom)); }
  .xq-page.board-page { padding-bottom: 0; }
  .sheet-scrim { position: fixed; left: 0; right: 0; top: 0; bottom: calc(var(--xq-rail-h) + env(safe-area-inset-bottom)); background: var(--xq-scrim); z-index: 55; }
  .screen-wrap { position: fixed; left: 0; right: 0; bottom: calc(var(--xq-rail-h) + env(safe-area-inset-bottom)); z-index: 58;
    max-height: calc(100% - 96px); overflow: auto; overscroll-behavior: contain; border-radius: 16px 16px 0 0;
    box-shadow: 0 -1px 0 var(--xq-leaf), 0 -2px 0 rgba(201,162,79,.35), 0 -24px 60px -20px rgba(30,10,4,.6); }
  .screen-wrap:not([hidden]) { animation: xq-rise var(--xq-t-med) var(--xq-ease); }
  .screen-wrap > .screen { display: block; min-height: 100%; border-radius: 16px 16px 0 0; padding: 0 0 20px; box-shadow: none; }
  .screen-wrap > .screen::before, .screen-wrap > .screen::after { display: none; }
  .sheet-h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; background: var(--xq-card); border-bottom: 1px solid var(--xq-line); }
  .sheet-h .grab { position: absolute; left: 50%; top: 6px; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: var(--xq-line-2); }
  .sheet-h .seal, .sheet-h .av, .sheet-h .tab-person { --s: 34px; width: 34px; height: 34px; }
  .sheet-h .tt { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
  .sheet-h .tt b { font: 600 19px/1.15 var(--xq-f-display); }
  .sheet-h .tt i { font: 600 12.5px/1.2 var(--xq-f-cn); font-style: normal; letter-spacing: .16em; color: var(--xq-gold-ink); margin-top: 2px; }
  .sheet-h .x { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--xq-ink-2); background: var(--xq-card-2); box-shadow: inset 0 0 0 1px var(--xq-field-line); }
  .hall-panel .screen > :not(.sheet-h) { margin-left: 16px; margin-right: 16px; }
  .hall-panel .col { margin-top: 16px; }
  .hall-panel .col-t { margin-bottom: 8px; }
  .hall-panel .ents + .col-t { margin-top: 16px; }
  .hall-panel .c1 .ents { display: grid; gap: 8px; }
  .hall-panel .c1 .entry { margin: 0; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 10px; background: var(--xq-card); box-shadow: inset 0 0 0 1px var(--xq-line), var(--xq-e1); }
  .hall-panel .c1 .entry .tile { width: 36px; height: 36px; border-radius: 8px; margin: 0; }
  .hall-panel .c1 .entry .tile .icon { width: 19px; height: 19px; }
  .hall-panel .c1 .entry b { font-size: 15.5px; }
  .hall-panel .col:not(.c1) .ents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .hall-panel .col:not(.c1) .entry { margin: 0; padding: 0 2px; min-height: 46px; align-items: center; border-radius: 0; border-bottom: 1px solid var(--xq-line); }
  .hall-panel .col:not(.c1) .entry .tile, .hall-panel .col:not(.c1) .entry .n, .hall-panel .col:not(.c1) .entry .arr { display: none; }
  .hall-panel .col:not(.c1) .entry b { font-weight: 500; }
  .pieces { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 4px 0 8px; }
  .pieces .pc { flex-direction: column; justify-content: center; gap: 5px; padding: 6px 0; min-height: 64px; font-size: 12px; color: var(--xq-ink-2); text-align: center; }
  .pieces .disc { width: 34px; height: 34px; }
  .lead-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 12px; color: var(--xq-on-lac);
    background: linear-gradient(170deg, var(--xq-lac-hi), var(--xq-lac) 60%, var(--xq-lac-lo));
    box-shadow: inset 0 0 0 1px rgba(217,180,90,.6), inset 0 0 0 4px var(--xq-lac), inset 0 0 0 5px rgba(217,180,90,.3); }
  .lead-card .lc-mini { display: block; border-radius: 5px; overflow: hidden; box-shadow: 0 6px 14px -8px rgba(0,0,0,.8); }
  .lead-card .lc-mini svg { width: 100%; height: auto; }
  .lead-card .lc-seal { display: grid; place-items: center; }
  .lead-card .lc-bots { display: grid; gap: 4px; justify-items: center; }
  .lc-bot { display: grid; place-items: center; height: 26px; min-width: 64px; padding: 0 8px; border-radius: 999px; font: 700 13px/1 var(--xq-f-cn); letter-spacing: .08em; color: var(--xq-leaf-glyph); background: linear-gradient(180deg, var(--xq-leaf-hi), var(--xq-leaf)); }
  .lc-bot + .lc-bot { opacity: .82; } .lc-bot + .lc-bot + .lc-bot { opacity: .64; }
  .lead-card .lc-t { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; min-width: 0; }
  .lead-card b { font: 600 17px/1.25 var(--xq-f-display); color: var(--xq-on-lac); }
  .lead-card .p { font-size: 13.5px; line-height: 1.4; color: var(--xq-on-lac-3); }
  .lead-card .tag { margin-top: 4px; }
  .lead-card .tag:not(.jade) { color: var(--xq-on-lac); background: rgba(255,240,210,.08); box-shadow: inset 0 0 0 1px rgba(233,201,131,.5); }
  .lead-card .arr { color: var(--xq-leaf-hi); }
  .hall-panel .all-of { margin-top: 18px; width: auto; }
  .hall-panel .legend-strip { margin-top: 16px; margin-bottom: 0; padding: 12px 0 0; gap: 8px 14px; }
  .screen-wrap.small .screen { padding-bottom: 12px; }
  .me-row { min-height: 52px; }
}
@media (max-width: 380px) { .brand .wm i { display: none; } }
@media (max-width: 429px) { html[lang="vi"] .beam[data-side="site"] .brand .wm i, html[lang="ja"] .beam[data-side="site"] .brand .wm i { display: none; } }
.foot { position: relative; z-index: 1; margin-top: 72px; color: var(--xq-on-lac); background: var(--xq-foot-bg); font-family: var(--xq-f-ui); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; opacity: .55; background: var(--xq-leaf); pointer-events: none;
  -webkit-mask: var(--xq-fret-band) 0 0 / 18px 10px repeat-x; mask: var(--xq-fret-band) 0 0 / 18px 10px repeat-x; }
.foot-in { padding: 48px 0 28px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.foot .fh { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.2 var(--xq-f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--xq-on-lac-2); }
.foot .fh .lozenge { background: var(--xq-leaf); }
.foot a.fl { display: flex; align-items: center; min-height: 32px; font-size: 14.5px; line-height: 1.35; color: var(--xq-on-lac-3); }
.foot .en-tag { display: inline; margin-left: 6px; padding: 1px 5px; font-size: 10.5px; line-height: 1; color: var(--xq-on-lac-2); background: none; box-shadow: inset 0 0 0 1px rgba(233,201,131,.5); vertical-align: 1px; }
.foot a.fl:hover { color: var(--xq-on-lac); text-decoration: underline; text-underline-offset: 3px; }
.foot .fbrand { display: flex; align-items: center; gap: 12px; }
.foot .fbrand .xm-logo { width: 56px; height: 56px; }
.foot .fbrand b { font: 600 20px/1.1 var(--xq-f-display); text-wrap: balance; }
.foot .fbrand i { font: 600 12px/1.4 var(--xq-f-cn); font-style: normal; letter-spacing: .3em; color: var(--xq-on-lac-2); }
.foot .fb p { color: var(--xq-on-lac-3); font-size: 14px; max-width: 34ch; margin: 14px 0 16px; }
.foot .tp-badge { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 14px; padding: 8px 14px 8px 10px; min-height: 44px; box-sizing: border-box;
  border-radius: 999px; font-size: 14px; line-height: 1.3; color: var(--xq-on-lac); box-shadow: inset 0 0 0 1px rgba(233,201,131,.38); }
.foot .tp-badge .tp-star { flex: none; width: 22px; height: 22px; }
.foot .tp-badge .jump { color: var(--xq-on-lac-2); }
.foot .tp-badge:hover { box-shadow: inset 0 0 0 1px rgba(0,182,122,.9); text-decoration: underline; text-underline-offset: 3px; }
.foot .tp-badge:focus-visible { outline: 2px solid var(--xq-leaf-hi); outline-offset: 3px; }
.foot-low { border-top: 1px solid rgba(217,180,90,.3); padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--xq-on-lac-3); }
.foot-langs { display: flex; gap: 6px 16px; flex-wrap: wrap; }
.foot-langs a { color: var(--xq-on-lac); min-height: 32px; display: inline-flex; align-items: center; }
.foot-langs a[aria-current] { color: var(--xq-leaf-hi); text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,232,190,.12); max-width: 92ch; font: 400 12.5px/1.6 var(--xq-f-ui); color: var(--xq-on-lac-2); }
@media (max-width: 899px) {
  .foot { margin-top: 48px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 36px 0 18px; }
  .foot .fb { grid-column: 1 / -1; }
  .foot a.fl, .foot-langs a { min-height: 44px; }
  .foot-langs a { min-width: 44px; justify-content: center; }
  .foot .btn.leaf { --h: 44px; }
}
.gbar { display: none; }
.gdock { display: none; }
@media (max-width: 899px) {
  .gbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 8px; color: var(--xq-on-lac); font-family: var(--xq-f-ui);
    background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 55%, var(--xq-lac-lo)); box-shadow: 0 1px 0 var(--xq-leaf); }
  .gbar .back { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
  .gbar .tt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
  .gbar .tt b { font: 600 15.5px/1.2 var(--xq-f-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gbar .tt i { font: 600 12px/1.2 var(--xq-f-cn); font-style: normal; letter-spacing: .12em; color: var(--xq-on-lac-2); }
  .gbar .lbtn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 8px; border: 0; cursor: pointer; color: var(--xq-on-lac);
    background: rgba(255,240,210,.08); box-shadow: inset 0 0 0 1px rgba(233,201,131,.45); font: 600 13.5px/1 var(--xq-f-ui); }
  .gbar .lbtn .icon { width: 17px; height: 17px; }
  .gdock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--xq-dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); color: var(--xq-on-lac);
    background: linear-gradient(180deg, var(--xq-lac-hi), var(--xq-lac) 40%, var(--xq-lac-lo)); box-shadow: 0 -1px 0 var(--xq-leaf); }
  .gdock > button, .gdock > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; border: 0; background: none; color: inherit; cursor: pointer;
    font: 600 11.5px/1.1 var(--xq-f-ui); }
  .gdock .seal { --s: 24px; }
  .board-page .beam, .board-page .rail { display: none; }
}
.board-page .beam, .board-page .gbar, .board-page .gdock, .board-page .rail { transition: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .screen-wrap, .screen-wrap:not([hidden]), .hall-panel:not([hidden]) { animation: none !important; }
}
:root {
  --bg:        var(--xq-bg);
  --bg-sunk:   var(--xq-bg-2);
  --surface:   var(--xq-card);
  --surface-2: var(--xq-card-2);
  --ink:       var(--xq-ink);
  --ink-2:     var(--xq-ink-2);
  --muted:     var(--xq-muted);
  --faint:     var(--muted);
  --line:      var(--xq-line);
  --line-2:    var(--xq-line-2);
  --accent:         var(--xq-accent);
  --accent-hi:      var(--xq-accent);
  --accent-sunk:    var(--xq-seal-sunk);
  --accent-fill:    var(--xq-accent-fill);
  --accent-fill-hi: var(--xq-accent-fill-hi);
  --on-accent:      var(--xq-on-accent);
  --accent-wash:    #f6e3d9;
  --jade:      var(--xq-jade);
  --jade-wash: var(--xq-jade-wash);
  --gold:      var(--xq-gold-ink);
  --black-side: #1e1a16;
  --red-side:   #a8231c;
  --radius:    var(--xq-r-lg);
  --radius-sm: var(--xq-r-md);
  --radius-lg: 18px;
  --shadow-1: var(--xq-e1);
  --shadow-2: var(--xq-e2);
  --f-display: var(--xq-f-display);
  --f-ui:      var(--xq-f-ui);
  --f-cn:      "Noto Serif SC", "Songti SC", "STSong", "PingFang SC", "Microsoft YaHei", serif;
  --f-mono:    ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  --wrap: var(--xq-wrap);
  --prose: var(--xq-measure);
  --nav-h: calc(var(--xq-beam-h) + 9px);
  --gutter: var(--xq-gut);
}
:root[data-theme="dark"] {
  --accent-wash: #2a1511;
  --black-side: #cfc6b8;
  --red-side:   #e2564a;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body, body.xq-page {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:where(h1,h2,h3,h4,h5) { font-family: var(--f-display); font-weight: 600; line-height: 1.2; letter-spacing: -.008em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(28px, 1.4rem + 1.3vw, 38px); line-height: 1.18; letter-spacing: -.01em; }
h2 { font-size: clamp(21px, 1.1rem + .7vw, 27px); line-height: 1.25; }
h3 { font-size: 18px; line-height: 1.3; }
h4 { font-size: 1.03rem; }
p  { margin: 0 0 1.05em; }
:where(p, li) { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }
code { font-family: var(--f-mono); font-size: .88em; background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 5px; padding: .1em .38em; color: var(--ink); }
.cn { font-family: var(--f-cn); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; box-shadow: var(--shadow-2);
  transition: top .15s;
}
.skip:focus { top: 12px; }
.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left:  calc(var(--gutter) + env(safe-area-inset-left));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right));
}
.prose { max-width: var(--prose); }
section { padding: clamp(46px, 6vw, 84px) 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.btn:not(.primary):not(.leaf):not(.quiet):not(.on-lac):not(.plaque) {
  color: var(--xq-ink); background: var(--xq-plaque-bg);
  box-shadow: inset 0 0 0 1px var(--xq-field-line), inset 0 0 0 3px var(--xq-plaque-bg), inset 0 0 0 4px rgba(201,162,79,.45), var(--xq-e1);
}
.btn:not(.primary):not(.leaf):not(.quiet):not(.on-lac):not(.plaque):hover {
  box-shadow: inset 0 0 0 1px var(--xq-gold-ink), inset 0 0 0 3px var(--xq-plaque-bg), inset 0 0 0 4px rgba(201,162,79,.6), var(--xq-e2);
}
.btn:active { transform: translateY(1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.card { padding: 22px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr)); }
.grid.two  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 212px), 1fr)); }
.eyebrow {
  font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.sec-head { display: block; max-width: 660px; margin-bottom: 30px; padding-bottom: 0; background: none; }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin: 10px 0 0; }
.lede { font-size: 1.14rem; color: var(--muted); line-height: 1.6; margin: 0 0 1.05em; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2);
  font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .01em;
}
.pill.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 32%, transparent); background: var(--accent-wash); }
.pill.jade   { color: var(--jade);   border-color: color-mix(in srgb, var(--jade) 32%, transparent);   background: var(--jade-wash); }
.hero { padding: clamp(40px, 5vw, 76px) 0 clamp(30px, 4vw, 54px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { max-width: 40ch; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof div { min-width: 88px; }
.hero-proof b { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.hero-proof span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.hero > * { position: relative; z-index: 1; }
.loop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.loop span { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.loop i { color: var(--line-2); font-style: normal; }
.loop span.on { color: var(--accent); }
.answer {
  background: var(--surface); border: 1px solid var(--line-2); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 22px 24px; margin: 0 0 30px;
}
.answer h2, .answer .h {
  font-family: var(--f-ui); font-size: .76rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 9px;
}
.answer p { font-size: 1.08rem; color: var(--ink); margin: 0; line-height: 1.6; }
.callout { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--surface-2); margin: 0 0 24px; }
.callout.warn { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); background: var(--accent-wash); }
.callout.good { border-color: color-mix(in srgb, var(--jade) 28%, var(--line)); background: var(--jade-wash); }
.callout h4 { margin-bottom: 5px; }
.callout p:last-child { margin-bottom: 0; }
.article { display: grid; grid-template-columns: minmax(0,1fr) 268px; gap: 48px; align-items: start; padding-top: 32px; }
.article-main { min-width: 0; }
.article-main h2 { margin: 42px 0 14px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.article-main h3 { margin: 28px 0 9px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.article-main > p, .article-main > ul, .article-main > ol { max-width: var(--prose); }
.article-main ul, .article-main ol { padding-left: 22px; margin: 0 0 1.05em; }
.article-main li { margin-bottom: .45em; }
.article-main a:not(.btn):not(.card) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-main a:not(.btn):not(.card):hover { text-decoration-thickness: 2px; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: .9rem; }
.toc .h { font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.toc a { display: block; padding: 5px 0 5px 13px; border-left: 2px solid var(--line); color: var(--muted); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: .84rem; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; color: var(--line-2); }
.byline { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .84rem; color: var(--muted); margin: 14px 0 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.byline b { color: var(--muted); font-weight: 700; }
.play-hero { margin: -8px 0 26px; }
.play-hero .btn small { font-size: .74rem; font-weight: 600; letter-spacing: .02em; opacity: .88; }
@media (max-width: 640px) {
  .play-hero .btn { white-space: normal; flex-direction: column; gap: 2px; height: auto; padding-block: 12px; text-align: center; }
}
.method-note { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); max-width: 70ch; }
.related, .faq { content-visibility: auto; contain-intrinsic-size: auto 480px; }
.table-scroll {
  overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius);
  overscroll-behavior-x: contain;
}
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 800; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.table-scroll.prose td { white-space: normal; }
.table-scroll.prose td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
.table-scroll.prose th:first-child { width: 1%; }
.wdl { display: flex; height: 22px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); min-width: 150px; }
.wdl i { font-style: normal; font-size: .7rem; font-weight: 800; display: grid; place-items: center; color: #fff; }
.wdl .w { background: var(--red-side); }
.wdl .d { background: var(--muted); }
.wdl .l { background: var(--black-side); }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 0 20px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 17px 0; font-weight: 600; font-family: var(--f-display);
  font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .a { padding: 15px 0 19px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }
.glossary { margin: 0 0 34px; }
.gterm {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.gterm:last-child { border-bottom: 1px solid var(--line); }
.gterm dt {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 6px;
}
.gterm .gen { font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.gterm .cn { font-size: 1.18rem; color: var(--accent); letter-spacing: .04em; }
.gterm .gpy { font-size: .86rem; color: var(--muted); font-style: italic; }
.gterm dd { margin: 0; color: var(--ink-2); line-height: 1.65; }
.gterm dd a { white-space: nowrap; }
@media (max-width: 640px) {
  .gterm dt { gap: 7px; }
  .gterm .cn { font-size: 1.1rem; }
}
.related { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 34px; }
.related h2 { font-size: 1.28rem; margin-bottom: 18px; }
.rel-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.rel {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .15s, background .15s;
}
.rel:hover { border-color: var(--accent); background: var(--accent-wash); }
.rel .k { font-family: var(--f-cn); font-size: 1.2rem; color: var(--accent); line-height: 1.25; flex: none; }
.rel b { display: block; font-size: .94rem; font-weight: 700; }
.rel span { font-size: .82rem; color: var(--muted); }
.board-embed { margin: 0 0 26px; }
.board-embed .frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow-1);
}
.board-embed .xqb { width: 100%; max-width: 460px; margin-inline: auto; touch-action: manipulation; }
.board-embed figcaption { font-size: .87rem; color: var(--muted); margin-top: 11px; text-align: center; }
.board-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; }
.board-say {
  min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; font-size: .93rem; font-weight: 600; padding: 10px 14px; margin-top: 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--muted);
}
.board-say[data-tone="good"] { color: var(--jade); border-color: color-mix(in srgb, var(--jade) 34%, transparent); background: var(--jade-wash); }
.board-say[data-tone="bad"]  { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 34%, transparent); background: var(--accent-wash); }
.board-moves { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 10px; }
.board-moves button {
  font-family: var(--f-mono); font-size: .8rem; padding: 4px 9px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted);
}
.board-moves button[aria-current="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.noscript-note { font-size: .87rem; color: var(--muted); text-align: center; padding: 10px; }
.xqb .bg     { fill: #f3e4c3; }
.xqb .l      { stroke: #b99a63; stroke-width: 2; }
.xqb .edge   { stroke: #8a6c3c; stroke-width: 4.5; }
.xqb .river  { fill: #9d7c48; font-family: var(--f-cn); font-size: 34px; letter-spacing: .32em; }
.xqb .disc   { fill: #f7edd8; stroke: #6f5730; stroke-width: 2.5; }
.xqb .ring   { fill: none; stroke: #6f5730; stroke-width: 1.4; opacity: .6; }
.xqb .glyph  { font-family: var(--f-cn); font-size: 44px; font-weight: 700; }
.xqb .red   .glyph { fill: #a8231c; }
.xqb .red   .disc, .xqb .red .ring  { stroke: #a8231c; }
.xqb .black .glyph { fill: #1f1a15; }
.xqb .black .disc, .xqb .black .ring { stroke: #1f1a15; }
.xqb .pc     { cursor: pointer; }
.xqb .pc.sel .disc { stroke-width: 4.5; filter: drop-shadow(0 2px 5px rgba(0,0,0,.32)); }
.xqb .dot      { fill: #2f7d63; opacity: .62; pointer-events: none; }
.xqb .dot-take { fill: none; stroke: #b3241c; stroke-width: 4.5; opacity: .8; pointer-events: none; }
.xqb .last     { fill: #d9b45f; opacity: .34; pointer-events: none; }
.xqb .mark     { fill: none; stroke: #b3241c; stroke-width: 3.5; stroke-dasharray: 7 6; opacity: .85; pointer-events: none; }
.xqb .check    { fill: none; stroke: #b3241c; stroke-width: 5; opacity: .95; pointer-events: none; }
.xqb .cursor   { fill: none; stroke: #2f5d9e; stroke-width: 4; opacity: .9; pointer-events: none; }
.board-embed .xqb:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
:root[data-theme="dark"] .xqb .bg { fill: #e4d3b2; }
:root[data-theme="dark"] .board-embed .frame { background: var(--surface-2); }
@media (max-width: 1000px) {
  .article { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; margin-top: 26px; }
}
@media (max-width: 560px) {
  body, body.xq-page { font-size: 16px; }
  .board-embed .frame { padding: 9px; }
}
@media (max-width: 700px) {
  body { overflow-wrap: break-word; }
  .article-main pre, .article-main code { overflow-wrap: anywhere; }
  .card p, .rel span, .faq .a, .byline, .crumbs { font-size: .92rem; }
  .board-embed figcaption { font-size: .9rem; }
  .sec-head p, .lede { font-size: 1.02rem; }
  .faq summary { padding: 15px 0; }
  .rel { padding: 14px 15px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .crumbs { gap: 4px 7px; }
  .board-say { font-size: .95rem; }
  .board-embed .xqb { max-width: 100%; }
  .hero { padding-top: 24px; }
  .hero-proof { gap: 14px 20px; }
}
@media (max-width: 400px) {
  .hero-proof b { font-size: 1.3rem; }
}
@media (max-width: 700px), (pointer: coarse) {
  .faq summary, .rel, .toc a { min-height: 44px; }
  main .btn { min-height: 48px; }
  main .btn.sm { min-height: 44px; }
  .board-moves button { min-height: 44px; padding: 8px 13px; }
  .board-moves { gap: 7px; }
  .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
  .ls-go { min-height: 44px; }
  .ls-x { width: 44px; height: 44px; }
}
.lh-hero .lede { max-width: 46ch; }
.lh-hero .cta-row { margin-bottom: 0; }
.lh-art { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.lh-art > picture > img {
  display: block; width: 100%; height: auto; aspect-ratio: 880 / 600; object-fit: cover;
  border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
}
.lh-disc { position: absolute; width: 84px; height: 84px; filter: drop-shadow(0 8px 14px rgba(20,12,4,.35)); }
.lh-disc-r { left: -22px; bottom: -20px; transform: rotate(-9deg); }
.lh-disc-b { right: -16px; top: -22px; transform: rotate(8deg); }
.lh-stage { padding: clamp(46px, 6vw, 76px) 0; border-top: 1px solid var(--line); }
.lh-s1 { --st: var(--jade);       --st-wash: var(--jade-wash); }
.lh-s2 { --st: var(--accent);     --st-wash: var(--accent-wash); background: var(--surface-2); }
.lh-s3 { --st: var(--black-side); --st-wash: var(--bg-sunk); }
.lh-head { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(26px, 3.4vw, 38px); }
.lh-num {
  flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--st); color: var(--bg);
  font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; line-height: 1;
  box-shadow: 0 0 0 7px var(--st-wash);
}
.lh-kick { margin: 0 0 4px; font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--st); }
.lh-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
.lh-sub { margin: 6px 0 0; font-size: 1.04rem; color: var(--muted); }
.lh-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lh-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 16px;
  min-height: 156px; padding: 22px 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-1); text-decoration: none; color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lh-card.lw3 { grid-column: span 3; }
.lh-card.lw6 { grid-column: span 6; flex-direction: row; align-items: center; min-height: 0; gap: 20px; }
.lh-card:hover { transform: translateY(-3px); border-color: var(--st); box-shadow: var(--shadow-2); }
.lh-card:focus-visible { outline-offset: 3px; }
.lh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex: none; }
.lh-glyph {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--st-wash); color: var(--st);
  font-family: var(--f-cn); font-size: 1.55rem; font-weight: 700; line-height: 1;
}
.lh-tag-app {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  background: var(--accent-wash); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.lh-text { display: block; flex: 1; min-width: 0; }
.lh-text b { display: block; font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; line-height: 1.25; margin-bottom: 7px; color: var(--ink); }
.lh-text span { display: block; font-size: .93rem; line-height: 1.5; color: var(--muted); }
.lh-go {
  align-self: flex-end; margin-top: -4px; font-size: 1.25rem; line-height: 1; color: var(--st);
  opacity: .45; transition: opacity .18s ease, transform .18s ease;
}
.lh-card.lw6 .lh-go { align-self: center; margin-top: 0; }
.lh-card:hover .lh-go { opacity: 1; transform: translateX(4px); }
@media (max-width: 900px) {
  .lh-card, .lh-card.lw3 { grid-column: span 3; }
  .lh-card.lw6 { grid-column: span 6; }
  .lh-card:last-child:nth-child(odd) { grid-column: span 6; flex-direction: row; align-items: center; min-height: 0; gap: 20px; }
  .lh-card:last-child:nth-child(odd) .lh-go { align-self: center; margin-top: 0; }
  .lh-art { max-width: 440px; }
}
@media (max-width: 560px) {
  .lh-grid { gap: 12px; }
  .lh-card, .lh-card.lw3, .lh-card.lw6, .lh-card:last-child:nth-child(odd) {
    grid-column: span 6; flex-direction: row; align-items: center; min-height: 0; gap: 16px; padding: 16px;
  }
  .lh-card .lh-go, .lh-card.lw6 .lh-go { align-self: center; margin-top: 0; }
  .lh-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lh-glyph { width: 46px; height: 46px; font-size: 1.4rem; }
  .lh-head { gap: 14px; }
  .lh-num { width: 50px; height: 50px; font-size: 1.35rem; box-shadow: 0 0 0 5px var(--st-wash); }
  .lh-disc { width: 60px; height: 60px; }
  .lh-disc-r { left: -8px; bottom: -14px; }
  .lh-disc-b { right: -6px; top: -14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lh-card, .lh-go { transition: none; }
  .lh-card:hover { transform: none; }
  .lh-card:hover .lh-go { transform: none; }
}
.lang-suggest {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: min(480px, calc(100vw - 24px)); display: flex; align-items: center; gap: 12px;
  padding: 12px 10px 12px 18px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--shadow-2);
  opacity: 0; transform: translate(-50%, 14px); transition: opacity .28s ease, transform .28s ease;
}
.lang-suggest[hidden] { display: none; }
.lang-suggest.in { opacity: 1; transform: translate(-50%, 0); }
.ls-msg { flex: 1; margin: 0; font-size: .93rem; line-height: 1.4; color: var(--ink-2); }
.ls-go {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px;
  background: var(--accent-fill); color: var(--on-accent); border-radius: 10px; font-weight: 700; font-size: .9rem; white-space: nowrap;
}
.ls-go:hover { background: var(--accent-fill-hi); text-decoration: none; }
.ls-x {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent;
  color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.ls-x:hover { background: var(--bg-sunk); color: var(--ink); }
@media (max-width: 899px) {
  .lang-suggest { bottom: calc(var(--xq-rail-h) + 12px + env(safe-area-inset-bottom)); }
  body #xq-dc { bottom: calc(var(--xq-rail-h) + 12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 620px) {
  .lang-suggest { flex-wrap: wrap; padding: 12px 12px 12px 16px; }
  .ls-msg { flex: 1 1 100%; }
  .ls-go { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lang-suggest { transition: none; } }
.sw:not([role="switch"]) { position: static; width: auto; height: auto; flex: initial; border-radius: 0; cursor: auto; background: none; box-shadow: none; transition: none; }
.sw:not([role="switch"])::after { content: none; }
.btn .chip { padding: 0; gap: 0; }
.foot-more { border-top: 1px solid rgba(217,180,90,.3); padding: 20px 0 16px; }
.foot-more .fm-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot .foot-more a.fl { font-size: 14px; min-width: 44px; }
@media (prefers-contrast: more) {
  :root { --xq-muted: #4a3c2c; --xq-line: #c9b896; --xq-line-2: #a68f66; }
  :root[data-theme="dark"] { --xq-muted: #cbbda4; --xq-line: #4c3a2a; --xq-line-2: #6e563c; }
}