/* LAN 嵐 — the card pages in her colours (loaded after base.css and the page's own stylesheet, tenant overlay only).
   Colours from her menu and logo, as on lantoulouse.com: glaze #F3F4E6, porcelain blue #2E3092, ink #1E2070, seal red #A31D1C.
   Fonts: Young Serif (titles), Crimson Pro (sign-up text), the brush face for Chinese titles; the counter and the dashboard
   keep Instrument Sans for figures and buttons. CSP: no inline style; nothing here is required for a page to work. */
@font-face { font-family: "Young Serif"; src: url("../fonts/YoungSerif-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../fonts/CrimsonPro-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LAN Brush"; src: url("../fonts/MaShanZheng-LAN.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+3000-303F, U+3400-9FFF, U+FF00-FFEF; }

:root {
  --paper: #F3F4E6; --paper-2: #E9ECD8; --paper-3: #DDE2C8; --rice: #FFFFFC;
  --ink: #1E2070; --ink-2: #3A3E86; --ink-3: #5D6197;
  --line: rgba(46, 48, 146, .16); --line-2: rgba(46, 48, 146, .38);
  /* the platform's « sage » is its action colour: here porcelain blue */
  --sage: #2E3092; --sage-deep: #1E2070; --sage-ink: #121A40; --sage-mist: #E3E7F3;
  --caramel: #A31D1C; --cup: #E3E7F3; --cup-rim: #B9C2E4;
  --pink: #F1B9A9; --pink-ink: #4B1210; --pink-deep: #A31D1C;
  --tint-sage: #E3E7F3; --tint-rose: #F6E2DC; --tint-cup: #EEF0E0; --tint-warm: #EEF0E0;
  --ok: #1E2070; --ok-bg: #E3E7F3;
  --pass-bg: #F7F4EC; --pass-fg: #142A6B; --pass-label: #2E3092; --pass-blob: #9FB3E3; --pass-blob-2: #4B5BB0; --pass-ground: rgba(46, 48, 146, .5);
  --accent: #A31D1C;
  --cjk-kai: "LAN Brush", "Kaiti SC", "STKaiti", "KaiTi", var(--cjk-serif);
  --f-display: "Young Serif", "LAN Brush", var(--cjk-serif), Georgia, serif;
  --f-text: "Crimson Pro", var(--cjk-serif), Georgia, serif;
  --shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 18px 40px -28px rgba(30, 32, 112, .5);
}
body { background-color: var(--paper); }
/* 11-11: the brush leans past the right edge of a phone screen (390 px laid out at 401, then the phone zooms out); body's
   overflow-x: clip is handed to the viewport and does not clip, so the sign-up page's main clips instead */
.page-enroll main.enroll { overflow-x: clip; }
/* her porcelain band (the website's border) under the top of each page */
.topbar, .page-staff .bar { position: relative; }
/* the dashboard's sidebar stays sticky (the platform's rule); « relative » here let it scroll away with the page and cut
   its bottom on short windows — Hanwei's screenshot, 2026-11-12. Sticky is a containing block for its ::after too. */
.page-owner .side { position: sticky; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: url("../img/lan/band.svg") repeat-x left center / auto 14px; opacity: .8; pointer-events: none; }
.topbar { background: var(--ink); color: var(--paper); }
.topbar svg { color: #F1B9A9; }
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: .04em; }

/* ── the Wallet preview on the sign-up page: same colours as the pass (her logo's cream and navy since 2026-11-10, « 改成 C »;
   navy, then the menu's cream, earlier that day), its strip a framed porcelain plaque, her badge as logo (assets/pass/logo@2x.png). Scoped to .pass so the
   other uses of --pass-* (the member card, the counter's slots) keep the glaze. ── */
.pass { --pass-bg: #FCF2E2; --pass-fg: #02264F; --pass-label: #02264F; box-shadow: 0 18px 36px -22px rgba(12, 16, 60, .45), 0 0 0 1px rgba(30, 32, 112, .1); }

/* ── sign-up page: the demo pass paints its lotuses (2026-11-10, « 卡片demo做成动画青花被上色 », then « 太简陋了 要能看到毛笔 »).
   A brush (img/lan/brush.svg: bamboo, navy ferrule with a red band, cobalt-dipped tip) visits the first four lotuses (the
   page writes « 4/10 ») and dabs each; under its tip the colour spreads in a circle — a copy of the 4-flower card opened
   by clip-path, one copy per lotus. Then it leaves, the card holds, fades, starts again — 10 s. Pure CSS (no inline style
   under the page's CSP). Geometry measured on pass-preview-0/-4: lotus centres at x 11.56/30.78/49.99/69.21 %, y 34 %;
   a 13.5 % circle covers its lotus without reaching the next; each circle widens to 20 % once the next lotus is being
   painted (the last one as the brush lifts), which covers every changed pixel: the loop ends on exactly the 4-flower card.
   Reduced motion: the 4-flower card, still, no brush. ── */
.pass-paint { position: relative; width: calc(100% + 28px); margin: 10px -14px 12px; aspect-ratio: 375 / 144; background: var(--pass-bg); }
.pass-paint img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pass-paint .i1 { clip-path: circle(0% at 11.56% 34%); animation: lan-ink1 10s ease-out infinite; }
@keyframes lan-ink1 { 0%, 10% { clip-path: circle(0% at 11.56% 34%); opacity: 1; } 18%, 22% { clip-path: circle(13.5% at 11.56% 34%); opacity: 1; } 30%, 90% { clip-path: circle(20% at 11.56% 34%); opacity: 1; } 97%, 100% { clip-path: circle(20% at 11.56% 34%); opacity: 0; } }
.pass-paint .i2 { clip-path: circle(0% at 30.78% 34%); animation: lan-ink2 10s ease-out infinite; }
@keyframes lan-ink2 { 0%, 22% { clip-path: circle(0% at 30.78% 34%); opacity: 1; } 30%, 34% { clip-path: circle(13.5% at 30.78% 34%); opacity: 1; } 42%, 90% { clip-path: circle(20% at 30.78% 34%); opacity: 1; } 97%, 100% { clip-path: circle(20% at 30.78% 34%); opacity: 0; } }
.pass-paint .i3 { clip-path: circle(0% at 49.99% 34%); animation: lan-ink3 10s ease-out infinite; }
@keyframes lan-ink3 { 0%, 34% { clip-path: circle(0% at 49.99% 34%); opacity: 1; } 42%, 46% { clip-path: circle(13.5% at 49.99% 34%); opacity: 1; } 54%, 90% { clip-path: circle(20% at 49.99% 34%); opacity: 1; } 97%, 100% { clip-path: circle(20% at 49.99% 34%); opacity: 0; } }
.pass-paint .i4 { clip-path: circle(0% at 69.21% 34%); animation: lan-ink4 10s ease-out infinite; }
@keyframes lan-ink4 { 0%, 46% { clip-path: circle(0% at 69.21% 34%); opacity: 1; } 54%, 58% { clip-path: circle(13.5% at 69.21% 34%); opacity: 1; } 66%, 90% { clip-path: circle(20% at 69.21% 34%); opacity: 1; } 97%, 100% { clip-path: circle(20% at 69.21% 34%); opacity: 0; } }
.pass-paint .brush { inset: auto; width: 26px; height: auto; aspect-ratio: 24 / 110; transform-origin: 50% 100%; z-index: 2;
  filter: drop-shadow(4px 7px 4px rgba(20, 22, 80, .3)); opacity: 0; animation: lan-brush 10s ease-in-out infinite; pointer-events: none; }
@keyframes lan-brush {
  0% { left: calc(88% - 13px); bottom: 112%; opacity: 0; transform: rotate(30deg); }
  6% { left: calc(11.56% - 13px); bottom: 74%; opacity: 1; transform: rotate(26deg); }
  10% { left: calc(11.56% - 13px); bottom: 66%; opacity: 1; transform: rotate(21deg) scaleY(.97); }
  14% { left: calc(11.56% - 13px); bottom: 72%; opacity: 1; transform: rotate(25deg); }
  18% { left: calc(30.78% - 13px); bottom: 74%; opacity: 1; transform: rotate(26deg); }
  22% { left: calc(30.78% - 13px); bottom: 66%; opacity: 1; transform: rotate(21deg) scaleY(.97); }
  26% { left: calc(30.78% - 13px); bottom: 72%; opacity: 1; transform: rotate(25deg); }
  30% { left: calc(49.99% - 13px); bottom: 74%; opacity: 1; transform: rotate(26deg); }
  34% { left: calc(49.99% - 13px); bottom: 66%; opacity: 1; transform: rotate(21deg) scaleY(.97); }
  38% { left: calc(49.99% - 13px); bottom: 72%; opacity: 1; transform: rotate(25deg); }
  42% { left: calc(69.21% - 13px); bottom: 74%; opacity: 1; transform: rotate(26deg); }
  46% { left: calc(69.21% - 13px); bottom: 66%; opacity: 1; transform: rotate(21deg) scaleY(.97); }
  50% { left: calc(69.21% - 13px); bottom: 72%; opacity: 1; transform: rotate(25deg); }
  64%, 100% { left: calc(92% - 13px); bottom: 118%; opacity: 0; transform: rotate(32deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pass-paint .pass-ink { animation: none; clip-path: none; }
  .pass-paint .brush { display: none; }
}

/* ── counter poster (/qr), v2 2026-11-10 « 海报还能improve design吗 »: a centred composition around her kraak plate (the
   website's hero plate, img/lan/tent-plate.png, its well left blank), the QR code in the well — the ten lotuses of the
   rim are the ten flowers of the card. Her menu's frame (img/lan/tent-frame.svg) around the sheet. Sizes in cqw like
   tent.css: A4, A5 and A6 are the same design. ── */
.page-tent .tent { background: #F3F4E6 url("../img/lan/tent-frame.svg") center / 100% 100% no-repeat; }
.page-tent .tent-in { align-items: center; text-align: center; padding: 10.4cqw 12.5cqw 11.5cqw; }   /* the logo is centred: clear of the corner scrolls */
.page-tent .c-head { justify-content: center; margin: 0 0 1.4cqw; }
.page-tent .c-logo { height: 7.6cqw; margin: 0; }
.page-tent .c-eyebrow { justify-content: center; gap: 2.2cqw; margin: 0 0 2cqw; font-size: 2.2cqw; color: #2E3092; }
.page-tent .c-eyebrow::after { content: ""; width: 7cqw; height: 1px; background: currentColor; }
.page-tent .c-title { max-width: none; margin: 0 0 1cqw; font-size: 6.6cqw; line-height: 1.02; text-align: center; color: var(--ink); }
.page-tent .c-title em { color: #2E3092; }
.page-tent .c-brush { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; font: 400 4.2cqw/1.15 var(--cjk-kai); letter-spacing: .14em; color: var(--ink); }
/* her red seal after the line, as after a painter's inscription */
.page-tent .c-seal { width: auto; height: 5.6cqw; margin-left: 1.6cqw; }
/* the plate, and the code in its well (the well's inner ring is 48 % of the plate: the box stays inside it) */
.page-tent .c-qr { position: relative; display: grid; place-items: center; width: 62cqw; aspect-ratio: 1; margin: 1.4cqw 0 0; gap: 0; }
.page-tent .c-plate { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
/* two ruyi clouds drifting by the plate (img/lan/tent-cloud.svg): upper left, and mirrored lower right */
.page-tent .c-qr::before, .page-tent .c-qr::after { content: ""; position: absolute; z-index: 0; width: 19cqw; aspect-ratio: 100 / 40;
  background: url("../img/lan/tent-cloud.svg") center / contain no-repeat; pointer-events: none; }
.page-tent .c-qr::before { left: -11cqw; top: 9cqw; }
.page-tent .c-qr::after { right: -11cqw; bottom: 9cqw; transform: scaleX(-1); }   /* both behind the plate: the tails tuck under its rim */
/* the welcome « +2 » disc (« 2026年开卡就送两个章 ») — Hanwei 11-11 « 不要盖住盘子 »: smaller, in the empty top-left corner
   outside the round plate (the plate is a 62cqw circle in the .c-qr square), clear of the brush line above it and of the
   cloud tucked under the rim; checked by measuring the gap */
.page-tent .c-gift { left: -9.8cqw; top: -8cqw; width: 16cqw; gap: .15cqw; rotate: -8deg; }   /* centred between the fret band and the brush line */
.page-tent .c-gift b { font-size: 5.9cqw; }
.page-tent .c-gift span { max-width: 13.5cqw; font-size: 1.68cqw; }
.page-tent .c-gift .c-gift-zh { margin-top: .1cqw; font-size: 1.55cqw; letter-spacing: .02em; }
.page-tent .c-qr-box { position: relative; z-index: 2; width: 20.2cqw; padding: 1.25cqw; border: 0; border-radius: 1.6cqw; background: #fff; box-shadow: none; }
.page-tent .c-sub { margin: .4cqw 0 0; font: 400 3.5cqw/1.2 var(--f-display); color: var(--ink); }
.page-tent .c-scan { justify-content: center; margin: 1.4cqw 0 0; font-size: 2.8cqw; color: var(--ink); }
.page-tent .c-scan svg { width: 3.8cqw; height: 3.8cqw; color: #2E3092; }
/* « sans application · 15 secondes · gratuite » joins the scan line (card.scan) */
.page-tent .c-facts { display: none; }
.page-tent .c-facts li { padding: 0; background: none; font: 400 2.4cqw/1.3 var(--f-ui); color: var(--ink-2); }
.page-tent .c-facts li + li::before { content: "·"; margin: 0 1.4cqw; color: #A31D1C; }
/* EN and 中文, one centred line each (the language shows by itself: no label column) */
.page-tent .c-other { width: 100%; margin-top: auto; gap: .6cqw; padding-top: 1.5cqw; border-top: 1px solid rgba(46, 48, 146, .22); }
.page-tent .c-other p { display: block; font-size: 2.2cqw; text-align: center; }
.page-tent .c-other b { display: none; }
.page-tent .c-foot { width: 100%; color: var(--ink-3); font-size: 1.75cqw; }   /* 11-11: room for her street next to the terms URL */
@media print { .page-tent .c-qr-box { border: 0; box-shadow: none; } }

/* ── dashboard ── */
.chart--enrols .bar, .chart--enrols .tip i { fill: var(--caramel); background: var(--caramel); }
.page-owner .side { background: var(--ink); }

/* LAN's plate in place of TEAMEET's cup (2026-11-11, « 不应该是这张吗 »): a big round plate leaning in from the right edge,
   cut by the card like a dish on a table; no colour washes behind it (TEAMEET's sage blobs, #9FB191 in base.css) */
.empty-art .wash { display: none; }
/* the card's text runs over the left 64 % at every width (measured 11-11): the plate starts at 67 %, never under the words */
.member .cup-sketch { left: 67%; right: auto; top: 50%; height: 130%; translate: 0 -50%; rotate: -12deg;
  filter: drop-shadow(0 10px 16px rgba(20, 30, 80, .22)); }
.idle-art .cup-sketch { right: -9%; bottom: -14%; height: 86%; opacity: 1; rotate: -10deg; filter: drop-shadow(0 12px 22px rgba(20, 30, 80, .2)); }
.empty .cup-sketch { right: -6%; top: 50%; height: 96%; translate: 0 -50%; rotate: -10deg; }

/* ── dashboard, shop mode · pro (2026-11-12, « 后台的UI设计太普通了 我要专业的后台数据UI设计 »): the platform's pro system
   (owner.css « shop mode · pro ») in her colours — porcelain blue for selection and data marks, her seal red for the full
   card and the « now » needle. One sans for the dashboard: the brush and Young Serif stay on the sign-up page, the
   counter, the login and the posters. (Until 11-11 this block put her band, seal and brush headings on « 今天 ».) ── */
body.is-shop { --sage: #2E3092; --sage-deep: #1E2070; --bad: #A31D1C; }
html:lang(zh-Hans) body.is-shop h1, html:lang(zh-Hans) body.is-shop h2, html:lang(zh-Hans) body.is-shop h3 { font-family: var(--f-ui); font-weight: 600; letter-spacing: 0; }
