/* cup-cocoa.css — Cocoa, a calm room (ROUNDS.md §C, 2026-11-27, the owner: «Cocoa and Mint»): a Kyiv window seat in
   winter, a mug of cocoa on the sill among cream knitted wool, the snowy city through the glass.

   Built as tea was (cup-tea.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 (art/cocoa/SOURCES.md): the mug on a phone's tall crop, 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="cocoa"], its Milk and its afternoon). Its Reading covers are its
   own, painted for Chasen's tile as tea's are. */
html[data-palette="cocoa"] .def-hero__art img,
html[data-palette="cocoa"] .cup-room__film,
html[data-palette="cocoa"] .pw__still { object-position: 69% 68%; animation: none; }
@media (min-aspect-ratio: 1/1) {
  html[data-palette="cocoa"] .def-hero__art img,
  html[data-palette="cocoa"] .cup-room__film,
  html[data-palette="cocoa"] .pw__still { object-position: 60% 68%; }
}
/* the evening is its own take, not the morning's composition: its own focus */
html[data-palette="cocoa"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 60% 74%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="cocoa"][data-part="evening"] :is(.def-hero__art img, .cup-room__film, .pw__still) { object-position: 54% 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="cocoa"] .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 rose */
html[data-look="milk"][data-palette="cocoa"] .def-brand { color: var(--ink); text-shadow: none; }
html[data-look="milk"][data-palette="cocoa"] .side__brand i { color: var(--acc-ink); }
/* Reading's covers are cocoa's own (art/cocoa/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="cocoa"] .rd-card:not(.rd-card--bare) { aspect-ratio: auto; display: flex; flex-direction: column; color: var(--ink); background: var(--glass-fill); }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-card__art { position: static; flex: none; height: auto; aspect-ratio: 3 / 4; }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-card__foot { position: static; flex: 1 1 auto; background: none; padding: 9px 12px 12px; }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-card__title { color: var(--ink); text-shadow: none; }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-card__uk { color: var(--ink-2); }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-jcard__line { color: var(--ink-2); }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-jcard__next { color: var(--ink); }
html[data-palette="cocoa"] .rd-card:not(.rd-card--bare) .rd-card__n { color: var(--ink-3); }
html[data-palette="cocoa"] .rd-banner__art { object-position: center 88%; }
html[data-palette="cocoa"] .rd-banner--j .rd-banner__art { object-position: center 100%; }
/* the Debrief's score in its rim (CALM.md call 7, §5 F): a thick white stoneware mug seen from above, its cocoa-brown
   glazed lip (art/cocoa/bezel.webp, scripts/cut_rims.py), its plain well the opening round the gauge; its shadow soft,
   the window's winter light from the upper left */
html[data-palette="cocoa"] .fr-arc, html[data-palette="cocoa"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="cocoa"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/cocoa/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(3px 7px 12px rgba(0, 0, 0, .45)); }
html[data-look="milk"][data-palette="cocoa"] .fr-arc .ring::after { filter: drop-shadow(3px 6px 10px rgba(60, 36, 26, .24)); }
/* the arrival's curtain (cup.css): cocoa's heavy cream wool in the part's own light, close, Firefly Image 4
   (art/cocoa/curtain/, scripts/firefly-cocoa-curtain-close-*.json), the cloth under it in the picture's own colour (its
   tall and wide means) while it loads. [data-calm] lifts these over cup.css, which comes after. */
html[data-calm][data-palette="cocoa"] { --cup-curtain: url("art/cocoa/curtain/morning-tall.webp"); }
html[data-calm][data-palette="cocoa"][data-part] { --cup-cloth: 205, 202, 193; --cup-cloth-a: 1; }
html[data-calm][data-palette="cocoa"][data-part="afternoon"] { --cup-curtain: url("art/cocoa/curtain/afternoon-tall.webp"); --cup-cloth: 206, 170, 118; }
html[data-calm][data-palette="cocoa"][data-part="evening"] { --cup-curtain: url("art/cocoa/curtain/evening-tall.webp"); --cup-cloth: 196, 184, 169; }
@media (min-aspect-ratio: 1/1) {
  html[data-calm][data-palette="cocoa"] { --cup-curtain: url("art/cocoa/curtain/morning-wide.webp"); }
  html[data-calm][data-palette="cocoa"][data-part="afternoon"] { --cup-curtain: url("art/cocoa/curtain/afternoon-wide.webp"); }
  html[data-calm][data-palette="cocoa"][data-part="evening"] { --cup-curtain: url("art/cocoa/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 sill on a phone, the window on a wide screen.
   Blackout shows no picture (cup.css). */
html[data-palette="cocoa"] .brief .fl__world img.brief__eye { object-position: 70% 66%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="cocoa"] .brief .fl__world img.brief__eye { object-position: 58% 66%; } }
/* the evening is its own take: the hero's framing of it (above) */
html[data-palette="cocoa"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 60% 74%; }
@media (min-aspect-ratio: 1/1) { html[data-palette="cocoa"][data-part="evening"] .brief .fl__world img.brief__eye { object-position: 54% 72%; } }

/* the faces: Literata's book serif for the titles, as a winter's evening of reading is (fonts.css), Inter DEF for the
   rest; Literata's weights are 400 to 700. The card's face stays the learner's. */
html[data-palette="cocoa"] {
  --caps: "Inter DEF", "Inter", var(--face);
  --display: "Literata", Georgia, serif;
  --ui: "Inter DEF", "Inter", var(--face);
}
html[data-palette="cocoa"] :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: 600; letter-spacing: -.01em; }
html[data-palette="cocoa"] body { font-family: var(--ui); }
html[data-palette="cocoa"] :is(.btn, .chip, .row__title, .seg__opt) { font-family: var(--ui); }
html[data-palette="cocoa"] .caps { font-family: var(--caps); font-weight: 600; letter-spacing: .16em; }
html[data-palette="cocoa"] :is(.def-cell b, .fr-arc__n, .fr-tiles b, .fr-tile b) { font-family: var(--display); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
html[data-palette="cocoa"] .def-brand b { font-family: var(--display); font-weight: 700; letter-spacing: .03em; }

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