/* cup-rosehip.css — Rosehip, a calm room (ROUNDS.md §C, 2026-11-27, the owner: «then do the Sea Buckthorn and the
   remainder»): a quiet corner of an old university library in Kharkiv on a rainy day, tall arched windows over maples
   turned red and gold, a dark green leather armchair, a glass teapot of ruby rosehip tea and a cup on the oak table.

   Built as sea buckthorn was (cup-buckthorn.css): the hero is the room (cup-room.js; PUNK.world asks it for the still), its
   afternoon the morning's still graded into the rain's grey light, its evening its own take with the room graded down
   into dusk round the window (art/rosehip/SOURCES.md): the teapot and the cup on a phone's tall crop, the room and the
   window 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="rosehip"], its Milk and its afternoon). Its Reading covers
   are its own, painted for Chasen's tile as lemon's are. */
html[data-palette="rosehip"] .def-hero__art img,
html[data-palette="rosehip"] .cup-room__film,
html[data-palette="rosehip"] .pw__still { object-position: 38% 74%; animation: none; }   /* on a phone the teapot whole and the cup beside it (the teapot at 37 % across) */
@media (min-aspect-ratio: 1/1) {
  html[data-palette="rosehip"] .def-hero__art img,
  html[data-palette="rosehip"] .cup-room__film,
  html[data-palette="rosehip"] .pw__still { object-position: 46% 66%; }
}
/* the evening is its own take, not the morning's composition: its own focus (the teapot and its cup at 68 % across, cup-room-life.js) */
html[data-palette="rosehip"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 74% 72%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="rosehip"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 50% 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="rosehip"] .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 ruby */
html[data-look="milk"][data-palette="rosehip"] .def-brand { color: var(--ink); text-shadow: none; }
html[data-look="milk"][data-palette="rosehip"] .side__brand i { color: var(--acc-ink); }
/* Reading's covers are rosehip's own (art/rosehip/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="rosehip"] .rd-card:not(.rd-card--bare) { aspect-ratio: auto; display: flex; flex-direction: column; color: var(--ink); background: var(--glass-fill); }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-card__art { position: static; flex: none; height: auto; aspect-ratio: 3 / 4; }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-card__foot { position: static; flex: 1 1 auto; background: none; padding: 9px 12px 12px; }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-card__title { color: var(--ink); text-shadow: none; }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-card__uk { color: var(--ink-2); }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-jcard__line { color: var(--ink-2); }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-jcard__next { color: var(--ink); }
html[data-palette="rosehip"] .rd-card:not(.rd-card--bare) .rd-card__n { color: var(--ink-3); }
html[data-palette="rosehip"] .rd-banner__art { object-position: center 88%; }
html[data-palette="rosehip"] .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 cup seen from above, a ruby band at its lip
   and a thin gilt line inside it (art/rosehip/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="rosehip"] .fr-arc, html[data-palette="rosehip"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="rosehip"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/rosehip/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(3px 7px 12px rgba(0, 0, 0, .45)); }
html[data-look="milk"][data-palette="rosehip"] .fr-arc .ring::after { filter: drop-shadow(3px 6px 10px rgba(22, 36, 31, .24)); }
/* the arrival's curtain (cup.css): the reading room's heavy bottle-green velvet curtain, in the part's own light,
   close, Firefly Image 4 (art/rosehip/curtain/, scripts/firefly-rosehip-curtain-close-*.json, its «picks»),
   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="rosehip"] { --cup-curtain: url("art/rosehip/curtain/morning-tall.webp"); }
html[data-calm][data-palette="rosehip"][data-part] { --cup-cloth: 26, 50, 33; --cup-cloth-a: 1; }
html[data-calm][data-palette="rosehip"][data-part="afternoon"] { --cup-curtain: url("art/rosehip/curtain/afternoon-tall.webp"); --cup-cloth: 23, 49, 36; }
html[data-calm][data-palette="rosehip"][data-part="evening"] { --cup-curtain: url("art/rosehip/curtain/evening-tall.webp"); --cup-cloth: 17, 45, 39; }
@media (min-aspect-ratio: 1/1) {
  html[data-calm][data-palette="rosehip"] { --cup-curtain: url("art/rosehip/curtain/morning-wide.webp"); }
  html[data-calm][data-palette="rosehip"][data-part="afternoon"] { --cup-curtain: url("art/rosehip/curtain/afternoon-wide.webp"); }
  html[data-calm][data-palette="rosehip"][data-part="evening"] { --cup-curtain: url("art/rosehip/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 autumn's tree in the window on a phone, the window on a wide screen.
   Blackout shows no picture (cup.css). */
html[data-palette="rosehip"] .brief .fl__world img.brief__eye { object-position: 28% 66%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="rosehip"] .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="rosehip"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 74% 72%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="rosehip"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 50% 66%; } }

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

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