/* ==========================================================================
   J.Show Studio — the look the two public pages share
   (index.html and artist.html; loaded after base.css, before the page's own
   style sheet — the form and the back office do not load it)

   Blush paper, rounded cards, pill-shaped chips and tags, one rose accent,
   Chinese headings in a serif. Where a component of base.css is restyled, it
   is restyled here and for these two pages only.

     01 · Tokens          what only the public pages need
     02 · Bar             the bar that stays at the top: menu / back, name, search
     03 · Menu            the panel the menu button opens
     04 · Section head    REAL REVIEWS / —— 顾客真实评价 ——
     05 · Tabs            equal tabs, hairline dividers, the open one in rose
     06 · Chips, tags, buttons
     07 · Review card     photos first, the header, a few quoted lines, 查看全部 / 收起
     08 · Loading         skeleton cards
     09 · Footer          the studio's accounts
     10 · No script / print
   ========================================================================== */


/* ==========================================================================
   01 · Tokens
   ========================================================================== */

:root {
  /* a rose that is bright and still reads as text: 4.8:1 on the paper, 5:1 on a card
     (--color-accent is for fills and lines, --color-accent-strong for text on the rose tint) */
  --color-rose-text: #C4306B;
  --bar-height: 3.75rem;
}
@media (min-width: 48em) {
  :root { --bar-height: 4.5rem; }
}

/* the bar covers the top of the window: whatever the browser scrolls to — a
   focused control, an address with a #, a match of its own page search —
   stops below it */
html { scroll-padding-top: calc(var(--bar-height) + 0.75rem); }


/* ==========================================================================
   02 · Bar
   ========================================================================== */

.site-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--color-line);
  background-color: rgba(255, 246, 249, 0.94);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
}
.site-bar__inner {
  display: grid;
  grid-template-columns: var(--tap) minmax(0, 1fr) var(--tap);
  align-items: center;
  column-gap: var(--space-2);
  min-height: var(--bar-height);
}
/* menu, search, back: an icon in a 44px square; the icon itself stands on the page margin */
.site-bar__button {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  color: var(--color-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-bar__button:first-child { margin-left: -0.625rem; }
.site-bar__button:last-child { margin-right: -0.625rem; justify-self: end; }
.site-bar__button svg { width: 1.5rem; height: 1.5rem; }
.site-bar__button[aria-expanded="true"] { background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
@media (hover: hover) {
  .site-bar__button:hover { background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
}

/* J.SHOW STUDIO / BROW DESIGN STUDIO · SINCE 2021 — written in mixed case, set
   in spaced capitals. Sized by the window so that both lines fit between the
   two buttons from 360px up, in the web font and in the fallback serif. */
.brand {
  min-width: 0;
  overflow: hidden;
  color: var(--color-ink);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a.brand { display: block; padding-block: 0.375rem; }
a.brand:hover { color: var(--color-ink); }
.brand__name {
  display: block;
  margin: 0;
  text-indent: 0.24em;                     /* the trailing letter-space, balanced */
  font-family: var(--font-display);
  font-size: clamp(12px, 4.6vw, 26px);       /* a wordmark: sized by the window alone, like a picture of it would be */
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  margin: 0.125rem 0 0;
  text-indent: 0.2em;
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: clamp(6px, 1.9vw, 11px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand__dot { margin-inline: 0.35em; }
/* narrower than any phone of today (a folded one): the name alone */
@media (max-width: 18.74em) {
  .brand__sub { display: none; }
}

/* the search field, under the bar while the search is open */
.site-search { border-top: 1px solid var(--color-line); }
.site-search__form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: 0.5rem;
}
.site-search__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.site-search__field > svg {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: -0.5625rem;
  color: var(--color-ink-faint);
  pointer-events: none;
}
.site-search__input {
  display: block;
  width: 100%;
  height: 2.75rem;
  padding: 0 2.75rem 0 2.625rem;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface);
  color: var(--color-ink);
  font-size: 1rem;                         /* 16px: iOS does not zoom into the field */
  line-height: 1.25;
  -webkit-appearance: none;
  appearance: none;
}
.site-search__input::placeholder { color: var(--color-ink-faint); opacity: 1; }
.site-search__input::-webkit-search-cancel-button,
.site-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.site-search__input:focus { outline: 2px solid var(--color-accent-strong); outline-offset: 1px; }
.site-search__clear {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: 2.75rem;
  border-radius: 50%;
  color: var(--color-ink-soft);
}
.site-search__clear svg { width: 1rem; height: 1rem; }
.site-search__clear:focus-visible { outline-offset: -4px; }
.site-search__close {
  flex: none;
  min-height: var(--tap);
  margin-right: -0.375rem;
  padding-inline: 0.625rem;
  border-radius: var(--radius-pill);
  color: var(--color-accent-strong);
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
@media (hover: hover) {
  .site-search__clear:hover { color: var(--color-ink); }
  .site-search__close:hover { color: var(--color-ink); }
}
@media (min-width: 48em) {
  .site-search__form { max-width: calc(40rem + 2 * var(--gutter)); padding-block: 0.625rem; }
}


/* ==========================================================================
   03 · Menu
   ========================================================================== */

/* The menu is a dialog of lib/ui.js (.modal > .modal__dialog). With :has() it
   is drawn as a panel that comes in from the left; a browser that does not
   know :has() shows the same content as the ordinary sheet / dialog. */
.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.site-menu__title {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
}
.site-menu__list { margin: 0; padding: 0; list-style: none; }
.site-menu__list--out {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}
.site-menu__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 3.25rem;
  padding: 0.5rem 0.25rem;
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-menu__list:not(.site-menu__list--out) > li + li { border-top: 1px solid var(--color-line); }
.site-menu__label { flex: 1 1 auto; min-width: 0; }
.site-menu__item svg { flex: none; width: 1rem; height: 1rem; color: var(--color-ink-faint); }
.site-menu__item--out { color: var(--color-accent-strong); letter-spacing: 0.06em; }
.site-menu__item--out svg:first-child { width: 1.25rem; height: 1.25rem; color: var(--color-accent); }
.site-menu__item:focus-visible { outline-offset: -2px; border-radius: var(--radius-sm); }
@media (hover: hover) {
  .site-menu__item:hover { color: var(--color-accent-strong); }
}
/* the cross, level with the title 菜单 */
.site-menu__close {
  flex: none;
  margin-right: -0.625rem;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  color: var(--color-ink-soft);
}
.site-menu__close svg { width: 1.25rem; height: 1.25rem; }
@media (hover: hover) {
  .site-menu__close:hover { background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
}

@supports selector(:has(*)) {
  .modal:has(.site-menu) .modal__body { margin-top: 0; color: var(--color-ink); }
  .modal:has(.site-menu) {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
  }
  .modal:has(.site-menu) .modal__dialog {
    width: min(20rem, 86vw);
    max-width: none;
    max-height: none;
    padding: calc(var(--space-5) + env(safe-area-inset-top, 0px)) 1.25rem calc(var(--space-5) + env(safe-area-inset-bottom, 0px))
      max(1.25rem, env(safe-area-inset-left, 0px));
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
  .modal:has(.site-menu):not(.is-open) .modal__dialog { transform: translateX(-100%); }
}


/* ==========================================================================
   04 · Section head
   ========================================================================== */

/* <header class="section-head">
     <p class="section-head__eyebrow">Real Reviews</p>
     <h2 class="section-head__title">顾客真实评价</h2>
   </header>
   Small spaced capitals, then the title in the Chinese serif between two long
   thin hairlines that keep their distance from it. The title is one line; the
   hairlines give way when it is long, and only a title that still does not
   fit (very large text) breaks. */
.section-head { text-align: center; }
.section-head__eyebrow {
  margin-right: -0.42em;                   /* cancels the trailing letter-space */
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.section-head__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 0.25rem;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-indent: 0.18em;                     /* the trailing letter-space, balanced */
  text-wrap: balance;
}
.section-head__title::before,
.section-head__title::after {
  content: "";
  flex: 1 1 0;
  max-width: 3.75rem;
  height: 1px;
  background-color: var(--color-accent);
  opacity: 0.45;
}
.section-head__title:focus { outline: none; }            /* a place the menu sends the focus to, not a control */
.section-head__title:focus-visible { outline: 2px solid var(--color-accent-strong); outline-offset: 4px; border-radius: var(--radius-sm); }
@media (min-width: 48em) {
  .section-head__eyebrow { font-size: 0.8125rem; }
  .section-head__title { gap: 2.25rem; font-size: 1.875rem; }
  .section-head__title::before,
  .section-head__title::after { max-width: 5.5rem; }
}
@media (forced-colors: active) {
  .section-head__title::before,
  .section-head__title::after { background-color: CanvasText; }
}


/* ==========================================================================
   05 · Tabs
   ========================================================================== */

/* Equal tabs with a thin divider between them; the open one in rose, with a
   rose line under it. (A bar that cannot hold its tabs — very large text —
   still scrolls sideways, as base.css has it.) */
.tabs { gap: 0; }
.tab {
  flex: 1 0 0%;
  padding-inline: 0.5rem;
  color: var(--color-ink);
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.tab + .tab::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1.125rem;
  margin-top: -0.5625rem;
  background-color: var(--color-line-strong);
  opacity: 0.45;
}
.tab::after { right: 10%; left: 10%; background-color: var(--color-accent); }
.tab.is-active,
.tab[aria-selected="true"] { color: var(--color-rose-text); font-weight: 600; }
.tab__count {
  background-color: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-weight: 400;
}
.tab.is-active .tab__count,
.tab[aria-selected="true"] .tab__count { background-color: var(--color-accent); color: var(--color-on-accent); }
@media (hover: hover) {
  .tab:hover { color: var(--color-rose-text); }
}
@media (min-width: 48em) {
  .tabs { gap: 0; }
  .tab { flex: 1 0 0%; padding-inline: 0.5rem; font-size: 1.0625rem; }
}
@media (forced-colors: active) {
  .tab + .tab::before { background-color: CanvasText; }
  .tab::after { background-color: Highlight; }
}


/* ==========================================================================
   06 · Chips, tags, buttons
   ========================================================================== */

/* the chosen chip: filled rose, white text; the others outlined */
.chip { color: var(--color-ink); }
.chip.is-active,
.chip[aria-pressed="true"] { color: var(--color-on-accent); }
.chip.is-active::before,
.chip[aria-pressed="true"]::before {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
}
.chip:active::before { background-color: var(--color-accent-soft); }
.chip.is-active:active::before,
.chip[aria-pressed="true"]:active::before { background-color: var(--color-accent-strong); border-color: var(--color-accent-strong); }
@media (hover: hover) {
  .chip:not(.is-active):not([aria-pressed="true"]):hover { color: var(--color-accent-strong); }
  .chip:not(.is-active):not([aria-pressed="true"]):hover::before { border-color: var(--color-accent-strong); }
  .chip.is-active:hover,
  .chip[aria-pressed="true"]:hover { color: var(--color-on-accent); }
  .chip.is-active:hover::before,
  .chip[aria-pressed="true"]:hover::before { border-color: var(--color-accent-strong); background-color: var(--color-accent-strong); }
}
@media (forced-colors: active) {
  .chip.is-active::before,
  .chip[aria-pressed="true"]::before { border-color: Highlight; background-color: Highlight; }
}

/* tags are pills */
.tag {
  padding-inline: 0.625rem;
  border-radius: var(--radius-pill);
}

/* cards: rounder, a soft shadow instead of a drawn edge */
.card {
  border-color: rgba(243, 211, 221, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* buttons are pills; the outlined one is rose */
.btn { border-radius: var(--radius-pill); }
.btn--secondary {
  --btn-fg: var(--color-accent-strong);
  --btn-border: var(--color-accent);
}
.btn--secondary:active {
  --btn-bg: var(--color-accent-strong);
  --btn-border: var(--color-accent-strong);
  --btn-fg: var(--color-on-accent);
}
.btn--primary:active { --btn-bg: var(--color-accent-strong); --btn-border: var(--color-accent-strong); }
@media (hover: hover) {
  .btn--secondary:hover {
    --btn-bg: var(--color-accent);
    --btn-fg: var(--color-on-accent);
  }
}
.empty .btn { margin-top: var(--space-4); }
.empty__title { font-family: var(--font-heading); font-weight: 600; }


/* ==========================================================================
   07 · Review card
   ========================================================================== */

/* Every card keeps its own height in its row: a card that is opened grows,
   its neighbours stay as they are. */
.review-list { align-items: start; }
.review-list > .review.is-in { animation: none; }       /* a card fades up once (see settleOnce) */
/* Closing a card moves what follows it, and the script keeps the pressed
   button where it was. The browser's own scroll anchoring would correct the
   same movement a second time, so nothing in or below the list may serve as
   its anchor. */
.review-list,
.site-footer { overflow-anchor: none; }

.review {
  border-color: rgba(243, 211, 221, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* the photos: first in the card, set in from its edge, rounded */
.review__photos {
  gap: 0.375rem;
  margin: 0.75rem 0.75rem 0;
  border-bottom: 0;
  border-radius: var(--radius-md);
  background-color: transparent;
}
.review__photo { border-radius: var(--radius-md); }
.review__photo:focus-visible::after { border-radius: inherit; }
/* 纹眉前 / 纹眉后: a small dark pill in the bottom right corner of a photo (and
   of the photo viewer). White on it reads on any picture — over pure white
   the pill is still 5:1. The photo's name says the same to a screen reader. */
.review__photo-kind {
  position: absolute;
  right: 0.375rem;
  bottom: 0.375rem;
  z-index: 1;
  padding: 0.0625rem 0.4375rem;
  border-radius: var(--radius-pill);
  background-color: rgba(38, 24, 30, 0.66);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}
/* in the viewer: on the dark ground above the picture, level with the cross */
.lightbox__kind {
  top: calc(1.25rem + env(safe-area-inset-top, 0px));
  right: auto;
  bottom: auto;
  left: calc(0.875rem + env(safe-area-inset-left, 0px));
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(253, 240, 244, 0.28);
  background-color: rgba(30, 18, 24, 0.4);
  color: #FDF0F4;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}
@media (min-width: 48em) {
  .lightbox__kind {
    top: calc(1.75rem + env(safe-area-inset-top, 0px));
    left: calc(1.25rem + env(safe-area-inset-left, 0px));
  }
}
@media (forced-colors: active) {
  .review__photo-kind { border: 1px solid CanvasText; background-color: Canvas; color: CanvasText; }
}

.review__body { padding: 0.875rem 0.875rem 1rem; }
/* a review without photos simply starts with the header */
.review > .review__body:first-child { padding-top: 1.125rem; }
.review > .review__body:first-child::before { content: none; }

/* The header: the initial; beside it her name with the stars she gave and — at
   the right end of the same line — her artist; under the name the date, the
   brow type and the 示例 mark of a sample.
   What gives way where a card is too narrow for the line: first the stars
   (they go under the name), then the artist (she goes under the name line). A
   name is kept on one line as long as the card is wide enough for it. */
.review__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.5rem;
}
.review__avatar {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.125rem;
  background-color: var(--color-accent-soft);
  color: var(--color-accent-strong);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
}
.review__line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;                   /* her artist stands level with the name, also where the stars go under it */
  justify-content: space-between;
  gap: 0.25rem 0.375rem;
  min-height: 1.625rem;
}
/* the stars a customer gave: right after her name (under it when there is no room beside it) */
.review__name-row {
  flex: 1 1 0%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem 0.375rem;
  min-height: 1.625rem;                      /* as tall as the artist tag beside it */
  /* never narrower than the name on one line (min-width: auto, the way of a flex item) — but
     never wider than the line either */
  max-width: 100%;
}
.review__name-row .stars { font-size: 0.75rem; letter-spacing: 0.06em; vertical-align: 0; }
/* a star she did not give: pale, but there */
.stars::before { color: #F0C6D5; }
.review__name {
  /* on one line, and as wide as the line at most: only a name that is longer than that breaks */
  width: -moz-max-content;
  width: max-content;
  min-width: 0;
  max-width: 100%;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
/* 纹绣师 · 院长 Alerisse › — outlined in soft rose; on the home page it leads to
   her page. The tag keeps its size; the area that takes a tap is 44px tall. */
.review__artist {
  flex: none;
  max-width: 100%;
  min-height: 1.625rem;
  gap: 0.25rem;
  padding: 0 0.4375rem 0 0.5rem;
  border-color: #E9A6BF;
  background-color: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.review__artist-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* on her own page the tag leads nowhere: no rose outline that would say otherwise */
span.review__artist { border-color: var(--color-line); }
a.review__artist {
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
a.review__artist::after {
  content: "";
  position: absolute;
  inset: -0.625rem -0.25rem;                 /* 26px + 2 × 9px, measured from inside the 1px border */
}
a.review__artist svg {
  width: 0.75rem;
  height: 0.75rem;
  margin-inline: -0.0625rem -0.1875rem;
  color: var(--color-accent);
}
@media (hover: hover) {
  a.review__artist:hover { background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
}
/* 2026年11月20日 · 女 [雾眉] [示例] */
.review__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.375rem;
  min-height: 1.375rem;
  margin-top: 0.0625rem;
}
.review__meta { margin-top: 0; margin-right: 0.125rem; }
.review__sub > .tag { min-height: 1.25rem; padding: 0 0.4375rem; letter-spacing: 0.04em; }
.review__sample { align-self: auto; }

/* A closed card quotes a few of her lines — three at most, the rest behind
   「查看全部」 — between two rose quotation marks: the opening one before the
   first line, the closing one right after her last word (at the end of the
   third line where the text is cut short: .is-cut, set by the page script). */
.review__excerpt {
  position: relative;
  margin: 0.875rem 0 0;
}
.review__excerpt-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  padding-right: 1.125rem;                   /* where the closing mark of a cut text stands */
  color: var(--color-ink);
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-indent: 1.625rem;                     /* the opening mark */
  overflow-wrap: anywhere;
}
/* for a moment, while the page script looks how long the text really is (same width, same lines) */
.review__excerpt-text.is-measuring {
  display: block;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;
}
.review__excerpt-mark,
.review__excerpt.is-cut::after {
  color: var(--color-accent);
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 2.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-indent: 0;
  -webkit-user-select: none;
  user-select: none;
}
.review__excerpt-mark--open {
  position: absolute;
  top: 0.125rem;
  left: 0;
}
/* drawn low, so that it stands at the height of the words; it adds nothing to the height of its line */
.review__excerpt-mark--close {
  margin-left: 0.125rem;
  line-height: 0;
  vertical-align: -0.4em;
}
.review__excerpt.is-cut::after {
  content: "\201D";
  position: absolute;
  right: 0;
  bottom: -0.6875rem;
}

/* The whole review, while the card is open: 01 纹眉前的烦恼 / 02 操作过程 &
   服务体验 / 03 纹眉后的效果 — number, title, hairline; the numbers are counted
   by the style sheet over the sections a card really has (the counter of
   base.css). */
.review__text { margin-top: 0.875rem; }
.review__section { margin-top: 1rem; }
.review__section:first-child { margin-top: 0; }
.review__section-title {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
}
.review__section-title::before {
  min-width: 1.75rem;
  color: var(--color-rose-text);
  font-size: 1.4375rem;
}
.review__section-title::after { background: linear-gradient(to right, #EDB3C8, var(--color-line)); }
@media (forced-colors: active) {
  .review__section-title::after { background: CanvasText; }
}

/* 查看全部 › / 收起 — a rose outlined pill at the bottom right, under a
   hairline. The pill keeps its size; the area that takes a tap is 44px tall. */
.review__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-line);
}
.review__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  min-height: 2rem;
  padding: 0 0.625rem 0 0.9375rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  background-color: var(--color-surface);
  color: var(--color-rose-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.review__more::after {
  content: "";
  position: absolute;
  inset: -0.4375rem -0.25rem;                /* 32px + 2 × 6px, measured from inside the 1px border */
}
.review__more svg {
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s var(--ease);
}
.review__more[aria-expanded="true"] svg { transform: rotate(-90deg); }   /* 收起: the arrow points up */
.review__more:active { background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
@media (hover: hover) {
  .review__more:hover { border-color: var(--color-accent-strong); background-color: var(--color-accent-soft); color: var(--color-accent-strong); }
}

@media (min-width: 68em) {
  .review__body { padding: 0.875rem 0.875rem 1rem; }
  .review > .review__body:first-child { padding-top: 1.125rem; }
}

/* Where the cards are narrow — under 21rem: a 360px phone, and the first
   widths of the two- and of the three-column layout —, her artist is set a
   little smaller, so that she still finds room beside the name.
   (By the width of the window, not of the card itself: container queries make
   Chrome lay the page out in between while a tab is being changed, and the
   page then loses its place.) */
@media (max-width: 23.5em), (min-width: 44em) and (max-width: 46em), (min-width: 68em) and (max-width: 69em) {
  .review__artist { padding-inline: 0.375rem 0.3125rem; font-size: 0.71875rem; letter-spacing: 0; }
  .review__sub { column-gap: 0.25rem; }
  .review__sub > .tag { padding-inline: 0.375rem; letter-spacing: 0.02em; }
}


/* ==========================================================================
   08 · Loading
   ========================================================================== */

/* A skeleton card sits on .card and has the proportions of a review with two
   photos, so the avatar of the real card lands where the skeleton showed it
   (the same padding, the same 40px initial, the same gap as section 07). */
.skeleton-card { overflow: hidden; }
.skeleton-card__photo {
  aspect-ratio: 8 / 5;
  margin: 0.75rem 0.75rem 0;
  border-radius: var(--radius-md);
}
.skeleton-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 1rem 0.875rem 1.25rem;
}
.skeleton-card__head { display: flex; align-items: center; gap: 0.5rem; }
.skeleton-card__avatar { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.skeleton-card__who {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.skeleton-card__line { height: 0.875rem; }
.skeleton-card__line--30 { width: 30%; }
.skeleton-card__line--45 { width: 45%; }
.skeleton-card__line--70 { width: 70%; }
.skeleton-card__line--90 { width: 90%; }


/* ==========================================================================
   09 · Footer
   ========================================================================== */

/* The studio's accounts, above the copyright line: a small icon and the name.
   Written like the rest of the footer, but in mixed case and less spaced out
   (three names have to fit a phone). An account that is not filled in yet is
   not a link: paler, and it does nothing. */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--space-4);
  margin-bottom: var(--space-1);
}
.site-footer .social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: var(--tap);
  padding-inline: 0.125rem;
  color: var(--color-ink-soft);
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: none;
}
.social__link svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
}
.site-footer a.social__link:hover { color: var(--color-accent-strong); }
.site-footer .social__link.is-empty { color: var(--color-line-strong); }
.social__link.is-empty svg { color: inherit; }


/* ==========================================================================
   10 · No script / print
   ========================================================================== */

/* JavaScript switched off: buttons that would do nothing are not shown */
@media (scripting: none) {
  .site-bar__button[type="button"] { visibility: hidden; }
  .site-search,
  .social { display: none; }
}

@media print {
  .banner,
  .site-bar__button,
  .site-search { display: none !important; }
  .site-bar { position: static; border-bottom: 0; }
  .site-bar__inner { display: block; }
  /* on paper every card shows the whole review, not the quoted lines */
  .review__text[hidden] { display: block !important; }
  .review__excerpt,
  .review__foot { display: none !important; }
  .review-list > .review { animation: none; break-inside: avoid; }
}
