/* cup-buckthorn.css — Sea buckthorn, a calm room (ROUNDS.md §C, 2026-11-27, the owner: «then do the Sea Buckthorn and
   the remainder»): a Carpathian log lodge in autumn, a window onto golden larches, spruce and the mountains in their
   mist, a glass cup of sea buckthorn tea on its saucer on the wide pine sill, a sprig of the orange berries beside it.

   Built as lemon was (cup-lemon.css): the hero is the room (cup-room.js; PUNK.world asks it for the still), its afternoon
   the morning's still graded, its evening its own take with the room graded down into dusk round the window
   (art/buckthorn/SOURCES.md): the cup on a phone's tall crop, the room and the mountains whole on a wide screen. Behind a
   card the room stands still (punk-wall.js asks cup-room.js). No sparks over the room. Tokens only for colour (frap.css
   html[data-palette="buckthorn"], its Milk and its afternoon). Its Reading covers are its own, painted for Chasen's tile
   as lemon's are. */
html[data-palette="buckthorn"] .def-hero__art img,
html[data-palette="buckthorn"] .cup-room__film,
html[data-palette="buckthorn"] .pw__still { object-position: 54% 70%; animation: none; }
@media (min-aspect-ratio: 1/1) {
  html[data-palette="buckthorn"] .def-hero__art img,
  html[data-palette="buckthorn"] .cup-room__film,
  html[data-palette="buckthorn"] .pw__still { object-position: 46% 66%; }
}
/* the evening is its own take, not the morning's composition: its own focus (the cup at 54 % across, cup-room-life.js) */
html[data-palette="buckthorn"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 55% 70%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="buckthorn"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 48% 66%; } }
/* 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="buckthorn"] .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 its rust */
html[data-look="milk"][data-palette="buckthorn"] .def-brand { color: var(--ink); text-shadow: none; }
html[data-look="milk"][data-palette="buckthorn"] .side__brand i { color: var(--acc-ink); }
/* Reading's covers are sea buckthorn's own (art/buckthorn/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="buckthorn"] .rd-card:not(.rd-card--bare) { aspect-ratio: auto; display: flex; flex-direction: column; color: var(--ink); background: var(--glass-fill); }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-card__art { position: static; flex: none; height: auto; aspect-ratio: 3 / 4; }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-card__foot { position: static; flex: 1 1 auto; background: none; padding: 9px 12px 12px; }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-card__title { color: var(--ink); text-shadow: none; }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-card__uk { color: var(--ink-2); }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-jcard__line { color: var(--ink-2); }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-jcard__next { color: var(--ink); }
html[data-palette="buckthorn"] .rd-card:not(.rd-card--bare) .rd-card__n { color: var(--ink-3); }
html[data-palette="buckthorn"] .rd-banner__art { object-position: center 88%; }
html[data-palette="buckthorn"] .rd-banner--j .rd-banner__art { object-position: center 100%; }
/* the Debrief's score in its rim (CALM.md call 7, §5 F): a cream glazed clay cup seen from above, a moss-green band at its
   lip and a thin orange line inside it (art/buckthorn/bezel.webp, scripts/cut_rims.py), its plain well the opening round
   the gauge; its shadow soft, the window's light from the upper left */
html[data-palette="buckthorn"] .fr-arc, html[data-palette="buckthorn"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="buckthorn"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/buckthorn/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(3px 7px 12px rgba(0, 0, 0, .45)); }
html[data-look="milk"][data-palette="buckthorn"] .fr-arc .ring::after { filter: drop-shadow(3px 6px 10px rgba(42, 31, 23, .24)); }
/* the arrival's curtain (cup.css): a woven cream wool curtain, thin rust-orange and spruce-green stripes, in the part's
   own light, close, Firefly Image 4 (art/buckthorn/curtain/, scripts/firefly-buckthorn-curtain-close-*.json «curtain_b»),
   opened down its middle; under it the picture's own colour (its tall means) while it loads. [data-calm] lifts these over
   cup.css, which comes after. */
html[data-calm][data-palette="buckthorn"] { --cup-curtain: url("art/buckthorn/curtain/morning-tall.webp"); }
html[data-calm][data-palette="buckthorn"][data-part] { --cup-cloth: 222, 176, 124; --cup-cloth-a: 1; }
html[data-calm][data-palette="buckthorn"][data-part="afternoon"] { --cup-curtain: url("art/buckthorn/curtain/afternoon-tall.webp"); --cup-cloth: 211, 165, 110; }
html[data-calm][data-palette="buckthorn"][data-part="evening"] { --cup-curtain: url("art/buckthorn/curtain/evening-tall.webp"); --cup-cloth: 194, 158, 116; }
@media (min-aspect-ratio: 1/1) {
  html[data-calm][data-palette="buckthorn"] { --cup-curtain: url("art/buckthorn/curtain/morning-wide.webp"); }
  html[data-calm][data-palette="buckthorn"][data-part="afternoon"] { --cup-curtain: url("art/buckthorn/curtain/afternoon-wide.webp"); }
  html[data-calm][data-palette="buckthorn"][data-part="evening"] { --cup-curtain: url("art/buckthorn/curtain/evening-wide.webp"); }
}
/* the welcome in the room (frap.js welcome(); CALM.md call 5): since 2026-11-28 the room's still is the welcome's
   picture, the whole screen, the part of the day's own (thud-def.css THE WELCOME'S PICTURE); the cup on a phone, the mountains on a wide screen.
   Blackout shows no picture (cup.css). */
html[data-palette="buckthorn"] .brief .fl__world img.brief__eye { object-position: 54% 66%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="buckthorn"] .brief .fl__world img.brief__eye { object-position: 48% 64%; } }
/* the evening is its own take: the hero's framing of it (above) */
html[data-palette="buckthorn"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 55% 70%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="buckthorn"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 48% 66%; } }

/* the faces: Merriweather, a sturdy screen serif (fonts.css), for the titles, warm as a log room is; Inter DEF for the
   rest; Merriweather's weights are 400 to 700. The card's face stays the learner's. */
html[data-palette="buckthorn"] {
  --caps: "Inter DEF", "Inter", var(--face);
  --display: "Merriweather", "Inter DEF", var(--face);
  --ui: "Inter DEF", "Inter", var(--face);
}
html[data-palette="buckthorn"] :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: -.005em; }
html[data-palette="buckthorn"] body { font-family: var(--ui); }
html[data-palette="buckthorn"] :is(.btn, .chip, .row__title, .seg__opt) { font-family: var(--ui); }
html[data-palette="buckthorn"] .caps { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; }
html[data-palette="buckthorn"] :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; }
html[data-palette="buckthorn"] .def-brand b { font-family: var(--display); font-weight: 700; letter-spacing: .03em; }

html[data-look="milk"][data-palette="buckthorn"] { --key-cut: 0 -1px 0 rgba(42, 31, 23, .35); }
