/* 서고 테마. The site is the archive itself: hanji ground, ink type in one display and one
   text face, products shelved as thread-bound books with a pasted title slip (제첨).
   Loaded after every other stylesheet; tokens first, then the shared parts. */
:root {
  --paper: #f6eedf;
  --ivory: #eee3cf;
  --surface: #fbf6ea;
  --ink: #1f1a17;
  --muted: #625649;
  --line: #d8cab4;
  --rule: transparent;
  --blush: #f2e2d3;
  --brand: #a8321f;
  --brand-dark: #84240f;
  --wood: #33221a;
  --radius: 6px;
  --display: "Hahmlet", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --serif: var(--display);
  --hanji: url("/assets/hanji-v1/hanji-tile.webp");
  --frame: url("/assets/hanji-v1/card.webp");
}
html, body { background: var(--paper) var(--hanji) 0 0 / 480px repeat; color: var(--ink); }
body { font-size: 16px; line-height: 1.55; }
::selection { background: var(--wood); color: #fbf4e8; }

/* Type: one display face for headings, the full ink for reading, grey only for notes. */
h1, h2, h3, .page-title, .reading-title, .service-input-title { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.page-title, .store-page > .page-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.page-intro { color: var(--ink); font-size: 16px; line-height: 1.55; }
.small-label, .reading-meta { color: var(--muted); font-size: 14px; }
.eyebrow { display: none; }

/* Header and menus: a plain bar, no outlined boxes. */
.plaque-header { background: var(--paper) var(--hanji) 0 0 / 480px repeat; backdrop-filter: none; box-shadow: none; }
.dancheong-band { display: none; }
.fox-account { border: 0; background: none; box-shadow: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.header-about, .qimen-about-link { color: var(--ink); font-size: 14px; font-weight: 600; }
.desktop-nav a { color: var(--ink); font-size: 16px; font-weight: 600; }
.mobile-nav.fox-nav { background: var(--paper) var(--hanji) 0 0 / 480px repeat; border-top: 0; box-shadow: 0 -12px 24px -22px rgb(31 26 23 / 50%); } /* taste-skill: a fixed bar */
.mobile-nav.fox-nav span, .mobile-nav.fox-nav a { color: var(--ink); font-size: 13px; }

/* Buttons: flat wood, the same shape everywhere. */
.primary-button.primary-button.primary-button { border: 0; border-radius: var(--radius); background: var(--wood); color: #fbf4e8; font-weight: 700; box-shadow: none; }
.primary-button.primary-button.primary-button:hover { background: #4a3226; box-shadow: none; }
.primary-button.primary-button.primary-button:active { background: #241811; box-shadow: none; }
.primary-button.primary-button.primary-button:disabled, .primary-button.primary-button.primary-button[aria-disabled=true] { background: #b9a999; color: #fffaf3; }
.primary-button.primary-button.primary-button svg { color: currentColor; }
.secondary-button { border: 1.5px solid var(--wood); border-radius: var(--radius); background: none; color: var(--ink); font-weight: 600; }
.secondary-button:hover { border-color: var(--wood); background: var(--ivory); }

/* Fields and the boxes around words. */
input[type="text"], input[type="tel"], input[type="search"], input[type="email"], select, textarea { border: 1px solid #cdbda4; border-radius: var(--radius); background: #fffdf8; color: var(--ink); box-shadow: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wood); outline-offset: 1px; border-color: var(--wood); }
.field > label, fieldset legend { color: var(--ink); font-weight: 600; }
.chart-note, .feature-info, .profile-submit-note { border: 0; border-radius: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.inline-error { border: 0; border-radius: var(--radius); background: #f7dfd6; color: #7a1f10; font-size: 15px; }
.settings-card, .account-card, .empty-state, .feature-card, .followup-card, .profile-form > fieldset, .service-input-subject, .self-profile-summary, .library-item, .daily-card {
  border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; background: none; box-shadow: none;
}

/* The shelf: section titles carry the rhythm, no rules above them. */
.store-section { margin-top: 72px; }
.store-section-heading { align-items: baseline; margin-bottom: 18px; padding-top: 0; border-top: 0; }
.store-section-heading h2 { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.2; }
.store-more { color: var(--ink); font-size: 15px; font-weight: 600; }

/* The books. The title and guide sit in one hanji strip across the foot, below every face. */
.topic-cover .topic-picture.webtoon-cover, .webtoon-cover, .cc-cover .webtoon-cover { border: 0; border-radius: 3px; box-shadow: none; }
.webtoon-cover::after { display: none; }
a .webtoon-cover .cover-title {
  position: absolute; z-index: 2; top: auto; left: 0; right: 0; bottom: 25px; display: block; max-height: none; padding: 8px 6px 2px; box-sizing: border-box;
  background: #fbf6ea; writing-mode: horizontal-tb; text-align: center; text-shadow: none;
}
a .webtoon-cover .cover-title-name, a .webtoon-cover .cover-title-long .cover-title-name, a .webtoon-cover .cover-title-xlong .cover-title-name {
  margin: 0; background: none; color: var(--ink); -webkit-text-fill-color: currentColor; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-shadow: none; white-space: normal; word-break: keep-all; filter: none;
}
a .webtoon-cover .cover-title-xlong .cover-title-name { font-size: 18px; }
.cc-cover .webtoon-cover .cover-title-name, .cc-cover .webtoon-cover .cover-title-long .cover-title-name { font-size: 28px; }
.cc-cover .webtoon-cover .cover-title-xlong .cover-title-name { font-size: 22px; }
a .webtoon-cover .cover-guide { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 25px; padding: 2px 6px 6px; box-sizing: border-box; background: #fbf6ea; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-home .topic-cover .service-card-copy p, .catalog-collections .topic-cover .service-card-copy p, .cc-caption { color: var(--ink); font-size: 15px; line-height: 1.5; }
.service-offer { color: var(--ink); font-size: 14px; font-weight: 700; }

/* The first screen: a card laid over the dim room. */
.seoga-hero { position: relative; margin-inline: calc(50% - 50vw); margin-top: -24px; }
.seoga-hero picture { display: block; }
.seoga-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.22; object-fit: cover; object-position: 50% 42%; }
.seoga-hero-card { position: relative; z-index: 1; margin: -28px 16px 0; padding: 8px 8px 10px; border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; color: var(--ink); }
.seoga-hero-card h1 { margin: 0; font-size: 31px; line-height: 1.2; }
.seoga-hero-card p { margin: 10px 0 16px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.seoga-hero-card .primary-button { width: 100%; min-height: 52px; font-size: 16px; }
.featured-shelf.store-section { margin-top: 40px; }
@media (min-width: 760px) {
  .seoga-hero img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .seoga-hero-card { max-width: 560px; margin: -40px auto 0; padding: 10px 12px 14px; }
  .seoga-hero-card h1 { font-size: 40px; }
  .seoga-hero-card p { font-size: 17px; }
  .featured-shelf.store-section { margin-top: 64px; }
}
/* Wide screens: the whole picture beside the card, so nothing lies over a face. */
@media (min-width: 1000px) {
  .seoga-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 40px; margin: 0; max-width: 1176px; }
  .seoga-hero img { border-radius: 3px; }
  .seoga-hero-card { margin: 0; width: auto; max-width: none; }
}

/* Banners for the two whole-chart readings: flat fields, no small label on top. */
.store-home .overall-banner { border-radius: 3px; background: #241a14; box-shadow: none; }
.store-home .overall-banner.yearly-banner { background: #7d2a1b; }
.store-home .overall-banner > div > span { display: none; }
.store-home .overall-banner h2 { color: #fbf4e8; font-family: var(--display); font-size: 28px; font-weight: 700; }
.store-home .overall-banner p { color: #f1e6d6; font-size: 15px; line-height: 1.45; }
.store-home .overall-banner::before, .store-home .overall-banner::after { display: none; }

/* The catalogue tabs: words, wrapped, with the current one marked. */
.store-catalog .store-filters.category-tabs, .concern-filters.store-filters { position: static; flex-wrap: wrap; overflow: visible; gap: 2px 14px; padding: 0; border: 0; background: none; }
.store-catalog .category-tabs .filter { min-height: 44px; padding: 8px 2px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--muted); font-size: 16px; font-weight: 600; box-shadow: none; }
.store-catalog .category-tabs .filter.selected, .store-catalog .category-tabs .filter[aria-pressed="true"] { border-bottom-color: var(--ink); background: none; color: var(--ink); font-weight: 700; }
.catalog-count { color: var(--muted); font-size: 14px; }
.store-catalog .collection-heading, .store-catalog .overall-collection-heading { min-height: 0; padding-top: 0; border-top: 0; }
.store-catalog .collection-heading h2, .store-catalog .overall-collection-heading h2 { font-family: var(--display); font-size: 28px; font-weight: 700; }
.store-catalog .collection-heading p { color: var(--ink); font-size: 15px; }
.store-catalog .collection-heading .collection-art { display: none; }
.store-catalog .catalog-collection { margin-top: 48px; }

/* A product's own page. */
.service-detail-cover { border-radius: 3px; box-shadow: none; }
.service-detail-cover::after { display: none; }
.service-detail-cover-copy { right: 0; bottom: 0; left: 0; padding: 10px 14px; background: rgb(31 26 23 / 84%); color: #fbf4e8; text-shadow: none; }
.service-detail-cover-copy span { display: none; }
.service-detail-cover-copy strong { color: #fbf4e8; font-family: var(--display); font-size: 20px; font-weight: 700; text-shadow: none; }
.service-detail-info h1 { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.2; }
.service-detail-info > p { color: var(--ink); font-size: 17px; line-height: 1.5; }
.service-detail-category { color: var(--muted); font-size: 14px; font-weight: 600; }
.service-contents h2, .yearly-topics h2 { font-family: var(--display); font-size: 24px; font-weight: 700; }
.service-contents li { color: var(--ink); font-size: 16px; }
.service-start-dock { border-top: 0; background: var(--paper) var(--hanji) 0 0 / 480px repeat; box-shadow: 0 -12px 24px -22px rgb(31 26 23 / 50%); } /* taste-skill: a fixed bar on phones */
.service-start-dock strong { font-family: var(--display); font-size: 20px; font-weight: 700; }
.service-start-dock span { color: var(--muted); font-size: 13px; }

/* Footer: the close of the book. */
.site-footer { margin-top: 56px; padding-top: 24px; border-top: 0; background: none; color: var(--ink); }
@media (max-width: 760px) { body:has(.service-detail-page) .site-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); } }
.site-footer a { color: var(--ink); font-size: 14px; }
.site-footer p, .site-footer span, .site-footer small { font-size: 13px; color: var(--muted); }

/* Reading: long text in the full ink. */
.reading-chapter p, .followup-answer, .consult-section p { color: var(--ink); font-size: 17px; line-height: 1.7; }
.reading-chapter h2, .chapter-title { font-family: var(--display); font-weight: 700; }

/* The waiting room: the same paper, ink words, the drawn bubble. */
body:has(.waiting-page) { background: var(--paper) var(--hanji) 0 0 / 480px repeat; }
.waiting-room { --wr-paper: transparent; --wr-ink: var(--ink); --wr-accent: var(--brand); }
.wr-status-title, .wr-status-measure { font-family: var(--display); font-weight: 700; color: var(--ink); }
.wr-speech { padding: 2px 10px; border: 12px solid transparent; border-image: url("/assets/hanji-v1/bubble.webp") 90 fill / 21px stretch; border-radius: 0; background: none; color: var(--ink); }
.wr-speech::before { display: none; }
.wr-tip-stack > p { color: var(--ink); font-size: 16px; }
.wr-home { color: var(--ink); }

/* The reader's bar stays solid over the text. */
.reading-presentation .rp-toolbar { background: var(--paper) var(--hanji) 0 0 / 480px repeat; backdrop-filter: none; border-color: transparent; }

/* Follow-up talk: the asker's words on a slip, the answer on the page. */
.fu-question-bubble, .followup-card .consult-question, .consult-ack { padding: 2px 10px; border: 12px solid transparent; border-image: url("/assets/hanji-v1/bubble.webp") 90 fill / 21px stretch; border-radius: 0; background: none; box-shadow: none; color: var(--ink); }
.consult-question::after, .consult-ack::before, .consult-ack::after { display: none; }
.fu-context { border-block: 0; }
.fu-context span, .fu-welcome .fu-speaker { color: var(--muted); font-size: 14px; }
.fu-context strong, .fu-composer h4, .fu-history h4 { color: var(--ink); }
.fu-welcome > p:last-child { color: var(--ink); font-size: 15px; }
.fu-pending { border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; background: none; padding: 8px; }
.fu-pending strong, .fu-pending p { color: var(--ink); }

/* Questions and short notes that sit on the ground rather than in boxes. */
.home-faq details, .home-faq details:last-child { border: 0; border-radius: 0; background: none; padding: 0; margin: 0 0 6px; }
.home-faq h2 { font-family: var(--display); font-size: 30px; font-weight: 700; }
.home-faq summary { color: var(--ink); font-size: 16px; font-weight: 600; }
.home-faq details p { color: var(--ink); font-size: 15px; line-height: 1.6; }
.world-fox-note { padding: 2px 10px; border: 12px solid transparent; border-image: url("/assets/hanji-v1/bubble.webp") 90 fill / 21px stretch; border-radius: 0; background: none; box-shadow: none; }

/* Today's page keeps its warm card and fox, on the shared slip instead of a gradient. */
.daily-overview { border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; background: none; box-shadow: none; padding: 4px 8px 10px; }
.daily-status.is-generating { background: none; border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; padding: 4px 8px; color: var(--ink); }
.daily-headline { font-family: var(--display); font-weight: 700; color: var(--ink); }
.daily-summary, .daily-topic p { color: var(--ink); font-size: 16px; line-height: 1.65; }
.daily-eyebrow, .daily-door-sign, .daily-door-sign small { color: var(--muted); }
.daily-tabs [role=tab] { box-shadow: none; }
#main:focus, #main:focus-visible { outline: none; }

/* Every text box is the same sheet, one level deep. A box inside a box loses its frame. */
.account-list, .feature-empty, .catalog-empty, .library-job, .refund-summary, .fu-example, .sg-card, .pc-card, .method-banner, .qimen-method-banner {
  border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; background: none; box-shadow: none;
}
.settings-card :is(.profile-form > fieldset, .service-input-subject, .self-profile-summary, .settings-card, .empty-state, .feature-empty, .library-item, .refund-summary),
.feature-card :is(.empty-state, .feature-empty, .library-item, .refund-summary),
.profile-form > fieldset fieldset {
  border: 0; border-image: none; background: none; padding: 0; box-shadow: none;
}
.settings-card, .feature-card, .account-card, .empty-state, .feature-empty, .catalog-empty { padding: 8px 8px 10px; }
.settings-card h2, .feature-card h2, .empty-state h2, .catalog-empty h2 { font-family: var(--display); font-weight: 700; color: var(--ink); }
.settings-card p, .feature-card p, .empty-state p, .feature-empty, .catalog-empty p, .account-card p { color: var(--ink); font-size: 15px; line-height: 1.55; }
.account-danger, .account-delete-link { color: var(--brand); font-weight: 600; }

/* The account menu: rows on one sheet. */
.account-group h2 { margin-left: 2px; color: var(--muted); font-size: 14px; font-weight: 600; }
.account-list { padding: 0; overflow: visible; }
.account-list > a, .account-list > .account-logout { background: none; color: var(--ink); font-size: 16px; font-weight: 600; }
.account-list > * + * { border-top: 1px solid #e3d8c3 !important; }
.account-list > a > svg:first-child { color: var(--wood); }
.account-list > a > svg:last-child { color: var(--muted); }
.account-policy-links a, .account-management a { color: var(--ink); font-size: 14px; }

/* Reading's first cards. */
.sg-bubble { padding: 2px 8px; border: 11px solid transparent; border-image: url("/assets/hanji-v1/bubble.webp") 90 fill / 19px stretch; border-radius: 0; background: none; color: var(--ink); }
.sg-bubble::before, .sg-bubble::after { display: none; }
.sg-title, .sg-number strong, .sg-number span, .ro-cover-guide, .ro-cover-caption { color: var(--ink); }
.ro-cover { border: 0; border-radius: 3px; background: none; }
.ro-cover-title { font-family: var(--display); font-weight: 700; color: var(--ink); }
.ro-cover-copy { padding-inline: 2px; color: var(--ink); }
.fu-answer-bubble { background: none; padding: 0; border-radius: 0; color: var(--ink); }
.reading-chapter, .reading-toc { border: 0; border-radius: 0; background: none; box-shadow: none; }

/* Focus moved by script onto a chapter or section is not a control: no ring around it. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
.wr-actions > .secondary-button { border-color: var(--wood); color: var(--ink); }

/* Today's lower cards. */
.daily-lucky { border: 14px solid transparent; border-image: var(--frame) 40 fill / 14px stretch; border-radius: 0; background: none; padding: 4px 6px; }
.daily-lucky-label { color: var(--muted); font-size: 14px; }
.daily-board { border-block: 0; }
.daily-topic h3 { font-family: var(--display); font-weight: 700; color: var(--ink); }
.daily-promo-card span, .daily-promo-lead, .daily-catalog-link, .daily-topic-evidence summary, .daily-board > summary { color: var(--ink); }
.daily-topic-score { color: var(--brand); }

/* Book cards carry no outline of their own. */
.service-card, .service-card.concern-link, .service-card.topic-card, .store-home .topic-cover, .catalog-collections .topic-cover { border: 0; border-radius: 0; background: none; box-shadow: none; }
.store-catalog .store-filters.category-tabs, .concern-filters.store-filters { margin-inline: 0; }

/* The bar at the top floats over the page; the words at the foot stay readable. */
.plaque-header, .site-header { border-bottom: 0; box-shadow: 0 12px 24px -22px rgb(31 26 23 / 50%); }
.site-footer a { font-size: 15px; }
.site-footer p, .site-footer span, .site-footer small { font-size: 14px; }

/* A product's page on a wide screen: the cover leads and the two columns close on both margins. */
.service-detail-info > p { font-size: 18px; }
.service-detail-page .chart-note, .service-detail-page .feature-info { color: var(--ink); font-size: 16px; line-height: 1.55; }
@media (min-width: 761px) { .service-start-dock { box-shadow: none; } }
@media (min-width: 1100px) {
  .page.service-detail-page { max-width: 1176px; }
  .service-detail { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 56px; }
}

/* Motion: the hero card rises once, books settle as they come up. Transform only, so nothing can stay hidden. */
@keyframes seoga-rise { from { transform: translateY(20px); } to { transform: none; } }
@keyframes seoga-settle { from { transform: translateY(28px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .seoga-hero-card { animation: seoga-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  a .webtoon-cover { transition: transform .2s ease-out; }
  a:hover .webtoon-cover { transform: translateY(-4px); }
  .primary-button.primary-button.primary-button { transition: background-color .15s ease-out, transform .15s ease-out; }
  .primary-button.primary-button.primary-button:active { transform: translateY(1px); }
  @supports (animation-timeline: view()) {
    .store-home .topic-cover, .catalog-collections .topic-cover, .store-home .overall-banner { animation: seoga-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
.cc-arrow { border: 0; background: var(--wood); color: #fbf4e8; box-shadow: none; }
.cc-arrow:hover { background: #4a3226; }
@media (prefers-reduced-motion: no-preference) {
  .service-detail-cover { animation: seoga-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  @supports (animation-timeline: view()) {
    .service-contents li { animation: seoga-settle linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

/* On a wide screen the product's picture is the first thing on the screen. */
@media (min-width: 1100px) { .service-detail-cover { height: auto; aspect-ratio: 1 / 1.14; } }
@media (prefers-reduced-motion: no-preference) {
  .service-detail-info > h1, .service-detail-info > p, .service-detail-info > .service-detail-category { animation: seoga-rise .7s .08s cubic-bezier(.2, .7, .2, 1) both; }
}

/* Art still on its way: nothing floats on a blank page. */
[data-art-wait] > * { visibility: hidden; }
[data-art-wait]::after { content: ''; position: fixed; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid #d9c9b4; border-top-color: #6f4a33; border-radius: 50%; animation: art-wait-spin .9s linear infinite, art-wait-show .2s .4s both; }
@keyframes art-wait-spin { to { transform: rotate(360deg); } }
@keyframes art-wait-show { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-art-wait]::after { animation: art-wait-show .2s .4s both; } }

/* Owner 2026-11-05: the waiting screen fits one screen, nothing to scroll. One column at every width. */
.page.waiting-page { min-height: 100svh; }
body:has(.waiting-page) #main, body:has(.waiting-page) { padding-bottom: 0; }
.waiting-room { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: max(10px, env(safe-area-inset-top)) 16px max(10px, env(safe-area-inset-bottom)); max-width: 460px; }
.waiting-room .wr-home, .waiting-room .wr-dots { display: none; }
.waiting-room .wr-header:has(.wr-controls:empty) { display: none; }
.waiting-room .wr-content { margin: 0 auto; }
.waiting-room .wr-scene, .waiting-room[data-chart] .wr-scene {
  grid-template-columns: 64px minmax(0, 1fr); gap: 8px 10px;
  grid-template-areas: 'status status' 'meter meter' 'chart chart' 'fox story' 'steps steps' 'footer footer';
}
.waiting-room .wr-status { text-align: center; }
.waiting-room .wr-status-title, .waiting-room .wr-status-measure { font-size: 1.125rem; line-height: 1.4; }
.waiting-room .wr-illustration { width: 64px; }
.waiting-room .wr-speech { padding: 0 6px; border-width: 9px; }
.waiting-room .wr-tip-stack > p { font-size: .875rem; line-height: 1.4; }
.waiting-room .wr-meter-track { margin-top: 3px; }
.waiting-room .wr-steps { padding: 2px 12px; }
.waiting-room .wr-step { min-height: 26px; font-size: .875rem; }
.waiting-room .wr-step-mark { width: 16px; height: 16px; }
.waiting-room .wr-step[data-state='done'] .wr-step-mark::after { left: 4px; top: 1px; width: 4px; height: 8px; }
.waiting-room .wr-step[data-state='active'] .wr-step-mark::after { inset: 3px; }
.waiting-room .wr-footer { max-width: none; }
.waiting-room .wr-actions > * { min-height: 44px; }
.wr-chart .pc-card { padding: 8px 8px 8px; margin: 0; }
.wr-chart .pc-head { padding: 0 2px 6px; text-align: center; }
.wr-chart .pc-name { display: none; }
.wr-chart .pc-date { margin: 0; font-size: 15px; font-weight: 700; }
.wr-chart .pc-elements { display: none; }
.wr-chart .pc-pillars { gap: 4px; }
.wr-chart .pc-pillar { gap: 3px; padding: 4px 2px 6px; }
.wr-chart .pc-pillar-name { font-size: 12px; }
.wr-chart .pc-self { font-size: 11px; padding: 0 5px; }
.wr-chart .pc-badge { width: 40px; height: 40px; }
.wr-chart .pc-badge b { font-size: 19px; }
.wr-chart .pc-badge small { display: none; }
/* Short phones lose the table's date, then the table's labels; tall ones get everything larger. */
@media (max-height: 640px) { .wr-chart .pc-head { display: none; } .wr-chart .pc-pillar-name { display: none; } .wr-chart .pc-pillar { flex-direction: row; justify-content: center; padding: 4px 2px; } .wr-chart .pc-badge { width: 32px; height: 32px; } .wr-chart .pc-badge b { font-size: 16px; } .wr-chart .pc-card { padding: 4px; } .waiting-room .wr-step { min-height: 24px; } }
@media (min-height: 780px) {
  .waiting-room .wr-scene, .waiting-room[data-chart] .wr-scene { grid-template-columns: 84px minmax(0, 1fr); row-gap: 14px; }
  .waiting-room .wr-illustration { width: 84px; }
  .waiting-room .wr-status-title, .waiting-room .wr-status-measure { font-size: 1.3125rem; }
  .waiting-room .wr-tip-stack > p { font-size: .9375rem; }
  .waiting-room .wr-step { min-height: 32px; font-size: .9375rem; }
  .wr-chart .pc-badge { width: 52px; height: 52px; }
  .wr-chart .pc-badge b { font-size: 24px; }
  .wr-chart .pc-pillar { gap: 5px; padding: 6px 2px 8px; }
}
