/* cup-tea.css — THUD CUP's tea, the future (CALM.md call 1, §5 C): a whitewashed country house in summer on the home.

   The hero is the room (cup-room.js; PUNK.world asks it for the still): the glass of linden tea on the sill, the curtain
   and the orchard kept in a phone's tall crop, the window whole on a wide screen. It has a still for each part of the
   day, its afternoon and evening drawn to the morning's composition (art/tea/SOURCES.md): no filter warms it, and no film
   yet. Behind a card the room stands still (punk-wall.js asks cup-room.js; its camera held: scripts/verify_quiz_scene.py
   prices it where it stands). No sparks over the room. Tokens only for colour (frap.css html[data-palette="tea"], its Milk
   and its afternoon). Where tea has no picture of its own it wears matcha's (PUNK.kin); its Reading covers stand as
   matcha's do, so its cards are Chasen's tile as matcha's are. */
html[data-palette="tea"] .def-hero__art img,
html[data-palette="tea"] .cup-room__film,
html[data-palette="tea"] .pw__still { object-position: 70% 72%; animation: none; }
@media (min-aspect-ratio: 1/1) {
  html[data-palette="tea"] .def-hero__art img,
  html[data-palette="tea"] .cup-room__film,
  html[data-palette="tea"] .pw__still { object-position: 55% 72%; }
}
/* behind a card the camera does not travel the room (punk-wall.js pan() sets these inline; a held page stays a room) */
html[data-palette="tea"] .pw__cam { --pw-x: 0% !important; --pw-y: 0% !important; }
/* by day the app's name stands on paper: the header's mark in ink, and the desk's side panel's chip in summer's blue */
html[data-look="milk"][data-palette="tea"] .def-brand { color: var(--ink); text-shadow: none; }
html[data-look="milk"][data-palette="tea"] .side__brand i { color: var(--acc-ink); }
/* Reading's covers are tea's own (art/tea/reader/<part>/), painted for Chasen's tile: the cover whole, its names
   under it on the card's own surface in the skin's inks (verify_reading_art.py TILE) */
html[data-palette="tea"] .rd-card:not(.rd-card--bare) { aspect-ratio: auto; display: flex; flex-direction: column; color: var(--ink); background: var(--glass-fill); }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-card__art { position: static; flex: none; height: auto; aspect-ratio: 3 / 4; }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-card__foot { position: static; flex: 1 1 auto; background: none; padding: 9px 12px 12px; }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-card__title { color: var(--ink); text-shadow: none; }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-card__uk { color: var(--ink-2); }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-jcard__line { color: var(--ink-2); }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-jcard__next { color: var(--ink); }
html[data-palette="tea"] .rd-card:not(.rd-card--bare) .rd-card__n { color: var(--ink-3); }
html[data-palette="tea"] .rd-banner__art { object-position: center 88%; }
html[data-palette="tea"] .rd-banner--j .rd-banner__art { object-position: center 100%; }
/* the Debrief's score in its rim (CALM.md call 7, §5 F): a white porcelain bowl seen from above, a band of red and black
   cross-stitch round its rim, a vyshyvanka's border (art/tea/bezel.webp, scripts/cut_rims.py), its plain well the opening
   round the gauge, 180 px of 224, clear of the ticks (176 px); its shadow soft, the window's light from the upper left */
html[data-palette="tea"] .fr-arc, html[data-palette="tea"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="tea"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/tea/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(3px 7px 12px rgba(0, 0, 0, .45)); }
html[data-look="milk"][data-palette="tea"] .fr-arc .ring::after { filter: drop-shadow(3px 6px 10px rgba(40, 56, 76, .24)); }
/* the arrival's curtain (cup.css): tea's muslin (a sheer homespun cotton, the orchard's leaves in shadow on it; by
   night its blue) in the part's own light, Firefly Image 4 (art/tea/curtain/, scripts/firefly-calm.json «curtain»), the
   cloth under it in the picture's own colour while it loads. [data-calm] lifts these over cup.css, which comes
   after. */
html[data-calm][data-palette="tea"] { --cup-curtain: url("art/tea/curtain/morning-tall.webp"); }
html[data-calm][data-palette="tea"][data-part] { --cup-cloth: 158, 158, 151; --cup-cloth-a: 1; }
html[data-calm][data-palette="tea"][data-part="afternoon"] { --cup-curtain: url("art/tea/curtain/afternoon-tall.webp"); --cup-cloth: 221, 202, 178; }
html[data-calm][data-palette="tea"][data-part="evening"] { --cup-curtain: url("art/tea/curtain/evening-tall.webp"); --cup-cloth: 66, 118, 159; }
@media (min-aspect-ratio: 1/1) {
  html[data-calm][data-palette="tea"] { --cup-curtain: url("art/tea/curtain/morning-wide.webp"); }
  html[data-calm][data-palette="tea"][data-part="afternoon"] { --cup-curtain: url("art/tea/curtain/afternoon-wide.webp"); }
  html[data-calm][data-palette="tea"][data-part="evening"] { --cup-curtain: url("art/tea/curtain/evening-wide.webp"); }
}
/* the welcome in the room (frap.js welcome(); CALM.md call 5): the room's still behind the Tryzub, softly, under the
   paper, the part of the day's own; the sill on a phone, the window on a wide screen. Blackout shows no picture. */
html[data-palette="tea"] .brief .fl__world:has(> .brief__arms)::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("art/tea/room/morning.jpg") 70% 66% / cover no-repeat; opacity: .66; }
html[data-palette="tea"][data-part="afternoon"] .brief .fl__world:has(> .brief__arms)::before { background-image: url("art/tea/room/afternoon.jpg"); }
html[data-palette="tea"][data-part="evening"] .brief .fl__world:has(> .brief__arms)::before { background-image: url("art/tea/room/evening.jpg"); opacity: .9; }
html[data-palette="tea"] .brief:not([data-step="1"]) .fl__world:has(> .brief__arms)::before { filter: blur(18px); opacity: .4; }
html[data-palette="tea"][data-watch="on"] .brief .fl__world::before { display: none; }
@media (min-aspect-ratio: 1/1) { html[data-palette="tea"] .brief .fl__world:has(> .brief__arms)::before { background-position: 55% 66%; } }

/* the faces (CALM.md call 15, amended): Inter DEF throughout, plain as the future should be. Call 15 named «Inter PUNK»;
   the folder's Inter is Inter DEF (THUD DEF's cut, the five skins' text: TYPE.md). Titles heavy and set close, figures
   tabular, labels spaced. The card's face stays the learner's. */
html[data-palette="tea"] {
  --caps: "Inter DEF", "Inter", var(--face);
  --display: "Inter DEF", "Inter", var(--face);
  --ui: "Inter DEF", "Inter", var(--face);
}
html[data-palette="tea"] :is(.def-hero__title, .phead h1, .t-display, .t-large, .t-title, .t-head, .def-card__title, .sheet .t-title, .fr-res .rs-head, .brief__title, .bk-title) { font-family: var(--display); font-weight: 700; letter-spacing: -.022em; }
html[data-palette="tea"] body { font-family: var(--ui); }
html[data-palette="tea"] :is(.btn, .chip, .row__title, .seg__opt) { font-family: var(--ui); }
html[data-palette="tea"] .caps { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; }
html[data-palette="tea"] :is(.def-cell b, .fr-arc__n, .fr-tiles b, .fr-tile b) { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
html[data-palette="tea"] .def-brand b { font-family: var(--display); font-weight: 800; letter-spacing: .02em; }

html[data-look="milk"][data-palette="tea"] { --key-cut: 0 -1px 0 rgba(8, 24, 52, .4); }
