/* punk-petryk.css — THUD CORE's Petrykivka (PETRYK.md, 2026-11-05; the owner: «This one must be excellent and the
   default»): the painted house. The village's whitewashed walls and the ornament laid on them with a cat-hair brush and a
   fingertip; limewash and indigo under the moon, the white wall in the morning sun by day. Cornflower by night and cobalt
   by day for state and progress, wheat gold and ochre for the reward: Ukraine's blue and gold. Kalyna red and the leaf's
   green are trim alone (a cover's pinstripe, a painted rule's heart, a plate's sprig), never a state: red is the wrong
   answer's. No dots on a plate and no grain (PETRYK.md §1): the sprig is a stroke, a seed and a leaf, never a berry. Its
   faces: Arsenal PUNK for titles, Ukrainian-made (Andrij Shevchenko's Arsenal, the 2011 Ukrainian type competition's
   winner, SIL OFL 1.1: fonts-punk/, beside its licence; PETRYK.md P16 c), Lora's brush-born serif for labels and for
   figures (its tabular ones: Arsenal's are proportional, and a count would shiver), Inter DEF for text; none is put on what
   a card teaches. */
@font-face { font-family: "Arsenal PUNK"; src: url("fonts-punk/ArsenalPUNK-Regular.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Arsenal PUNK"; src: url("fonts-punk/ArsenalPUNK-Bold.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
html[data-palette="petryk"] {
  --caps: "Lora", "Literata", Georgia, serif;
  --display: "Arsenal PUNK", "Lora", Georgia, serif;
  --figures: "Lora", "Literata", Georgia, serif;
  --ui: "Inter DEF", "Inter", var(--face);
  --cobalt: #2546a6;
  --cornflower: #93b2ff;
  --wheat: #e6c15c;
  --kalyna: #c8343c;
  --leaf: #5f8a3a;
  --lime: #f3eee3;
  /* the plate: limewash washed over indigo, its edge a soft line of lime, the moon's light along its top */
  --rim: rgba(236, 232, 222, .34);
  --rim-soft: rgba(200, 205, 225, .18);
  --rim-far: rgba(5, 10, 30, .55);
  --hi: rgba(240, 244, 255, .10);
  --glass-top: rgba(200, 214, 255, .05);
  --spot: rgba(170, 195, 255, .14);
  --sheen: rgba(235, 240, 255, .12);
  /* the painted rule along a panel's top: one stroke of the brush, laid from a hair, swelling to a heart of wheat and
     lifted to a hair again, cornflower at its ends (PETRYK.md P13: a 1 px line any skin could draw read as a border);
     laid --stroke tall */
  --horizon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20400%208'%20preserveAspectRatio='none'%3E%3ClinearGradient%20id='h'%3E%3Cstop%20offset='0'%20stop-color='%2393b2ff'%20stop-opacity='.62'/%3E%3Cstop%20offset='.5'%20stop-color='%23e6c15c'%20stop-opacity='.78'/%3E%3Cstop%20offset='1'%20stop-color='%2393b2ff'%20stop-opacity='.62'/%3E%3C/linearGradient%3E%3Cpath%20fill='url(%23h)'%20d='M2%204C70%203.4%20140%201.9%20200%201.7C260%201.9%20330%203.4%20398%204C330%204.6%20260%206.1%20200%206.3C140%206.1%2070%204.6%202%204Z'/%3E%3C/svg%3E");
  --stroke: 6px;
  /* a readiness plate's sprig: a stem and its curl, a seed pressed with the brush, a leaf drawn into its tail */
  --sprig: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2040'%3E%3Cg%20fill='none'%20stroke='%2393b2ff'%20stroke-width='1.5'%20stroke-linecap='round'%20opacity='.75'%3E%3Cpath%20d='M7%2033C12%2028%2016%2022%2024%2015'/%3E%3Cpath%20d='M24%2015c3.5-3%208.5-1.6%207.6%202.4-.7%203-4.6%203.2-5.4.6'/%3E%3C/g%3E%3Cpath%20d='M14.5%2023.5c-4.4-.6-6.7-4.6-5.2-8.6%202.4%202.6%205.6%204%205.2%208.6z'%20fill='%23e6c15c'%20opacity='.75'/%3E%3Cpath%20d='M19%2027c4-1.6%208.6-.4%2011.4%203-4.2%201.4-8.6.6-11.4-3z'%20fill='%235f8a3a'%20opacity='.75'/%3E%3C/svg%3E");
  /* the card's flower under the question: three seed strokes pressed down and drawn into their tails, on a stem with
     two curls (punk-quiz.css) */
  --kvitka: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2040'%3E%3Cg%20opacity='.82'%3E%3Cg%20fill='none'%20stroke='%2393b2ff'%20stroke-width='1.1'%20stroke-linecap='round'%3E%3Cpath%20d='M20%2026.6c.2%202%20.1%203.6-.4%205.4'/%3E%3Cpath%20d='M19.7%2030.6c-1.7%201.4-5%201.9-6.9.4-1.4-1.1-.9-3.1.8-3%201.2.1%201.6%201.4.8%202'/%3E%3Cpath%20d='M20.1%2030.6c1.7%201.4%205%201.9%206.9.4%201.4-1.1.9-3.1-.8-3-1.2.1-1.6%201.4-.8%202'/%3E%3C/g%3E%3Cpath%20transform='translate%2819.4%2025.6%29%20rotate%28-44%29%20scale%28.92%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%23e6c15c'/%3E%3Cpath%20transform='translate%2820.6%2025.6%29%20rotate%2844%29%20scale%28-.92%20.92%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%23e6c15c'/%3E%3Cpath%20transform='translate%2820%2025.2%29%20scale%281.18%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%23d6474f'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-look="milk"][data-palette="petryk"] {
  --cobalt: #1f3c94;
  --cornflower: #2546a6;
  --wheat: #96660f;
  --kalyna: #a8262e;
  --leaf: #3d6a28;
  --lime: #fbf8f0;
  --rim: rgba(28, 34, 66, .20);
  --rim-soft: rgba(28, 34, 66, .12);
  --rim-far: rgba(28, 34, 66, .28);
  --hi: rgba(255, 255, 255, .75);
  --spot: rgba(214, 226, 255, .40);
  --horizon: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20400%208'%20preserveAspectRatio='none'%3E%3ClinearGradient%20id='h'%3E%3Cstop%20offset='0'%20stop-color='%232546a6'%20stop-opacity='.58'/%3E%3Cstop%20offset='.5'%20stop-color='%2396660f'%20stop-opacity='.66'/%3E%3Cstop%20offset='1'%20stop-color='%232546a6'%20stop-opacity='.58'/%3E%3C/linearGradient%3E%3Cpath%20fill='url(%23h)'%20d='M2%204C70%203.4%20140%201.9%20200%201.7C260%201.9%20330%203.4%20398%204C330%204.6%20260%206.1%20200%206.3C140%206.1%2070%204.6%202%204Z'/%3E%3C/svg%3E");
  --sprig: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2040'%3E%3Cg%20fill='none'%20stroke='%232546a6'%20stroke-width='1.5'%20stroke-linecap='round'%20opacity='.7'%3E%3Cpath%20d='M7%2033C12%2028%2016%2022%2024%2015'/%3E%3Cpath%20d='M24%2015c3.5-3%208.5-1.6%207.6%202.4-.7%203-4.6%203.2-5.4.6'/%3E%3C/g%3E%3Cpath%20d='M14.5%2023.5c-4.4-.6-6.7-4.6-5.2-8.6%202.4%202.6%205.6%204%205.2%208.6z'%20fill='%2396660f'%20opacity='.7'/%3E%3Cpath%20d='M19%2027c4-1.6%208.6-.4%2011.4%203-4.2%201.4-8.6.6-11.4-3z'%20fill='%233d6a28'%20opacity='.7'/%3E%3C/svg%3E");
  --kvitka: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2040%2040'%3E%3Cg%20opacity='.78'%3E%3Cg%20fill='none'%20stroke='%232546a6'%20stroke-width='1.1'%20stroke-linecap='round'%3E%3Cpath%20d='M20%2026.6c.2%202%20.1%203.6-.4%205.4'/%3E%3Cpath%20d='M19.7%2030.6c-1.7%201.4-5%201.9-6.9.4-1.4-1.1-.9-3.1.8-3%201.2.1%201.6%201.4.8%202'/%3E%3Cpath%20d='M20.1%2030.6c1.7%201.4%205%201.9%206.9.4%201.4-1.1.9-3.1-.8-3-1.2.1-1.6%201.4-.8%202'/%3E%3C/g%3E%3Cpath%20transform='translate%2819.4%2025.6%29%20rotate%28-44%29%20scale%28.92%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%2396660f'/%3E%3Cpath%20transform='translate%2820.6%2025.6%29%20rotate%2844%29%20scale%28-.92%20.92%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%2396660f'/%3E%3Cpath%20transform='translate%2820%2025.2%29%20scale%281.18%29'%20d='M0%200C-.5-3.4-2.7-6.6-2.7-9.5A2.7%202.7%200%200%201%202.6-10C2.5-6.7%201-3.3%200%200Z'%20fill='%23a8262e'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-palette="petryk"] body { font-family: var(--ui); }
html[data-palette="petryk"] :is(.def-hero__title, .phead h1, .t-display, .t-large, .t-title, .t-head, .def-card__title, .sheet .t-title, .fr-res .rs-head, .bk-title) { font-family: var(--display); font-weight: 600; letter-spacing: 0; }
html[data-palette="petryk"] .caps { font-family: var(--caps); font-weight: 600; letter-spacing: .18em; }
html[data-palette="petryk"] :is(.def-cell b, .fr-arc__n, .fr-tiles b, .fr-tile b) { font-family: var(--figures); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
html[data-palette="petryk"] .def-brand b { font-family: var(--display); font-weight: 700; letter-spacing: .03em; }
html[data-palette="petryk"] .def-brand i { font-family: var(--caps); font-weight: 600; letter-spacing: .24em; }

/* the panels: limewash plates, the painted rule along their top (the limewash's grain under it by day: below) */
html[data-palette="petryk"] .glass:not(.chip):not(.tabbar):not(.btn):not(.def-cell):not(.fr-tile) {
  background-image: var(--horizon), var(--grain, none), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: calc(100% - 44px) var(--stroke), var(--grain-size, 160px 160px), 100% 100%; background-repeat: no-repeat, repeat, no-repeat; background-position: center 4px, 0 0, 0 0; }
/* the readiness plates: each with its sprig in the corner, the brush's own at 48 px where it has painted (punk-brush.js THE
   PLATES' SPRIG sets --sprig and --sprig-size), and no rule (a stroke across a narrow plate read as a tab) */
html[data-palette="petryk"] :is(.def-cell, .fr-tile) {
  background-image: var(--sprig), var(--grain, none), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: var(--sprig-size, 30px 30px), var(--grain-size, 160px 160px), 100% 100%; background-position: calc(100% - 6px) 6px, 0 0, 0 0; background-repeat: no-repeat, repeat, no-repeat; border-radius: 18px; }
/* FROSTED GLASS BY DAY TOO (the owner, 2026-11-18: «let's stick with modern, stylish frosted glass rather than a
   variety of weird looking backgrounds»): the limewash of PETRYK.md P13 went, and its grain; by day the plates are the
   day's frosted glass, as by night the indigo's */

/* the strategies' covers: a frame of limewash and wheat with a kalyna pinstripe inside it, as a painted window's */
html[data-palette="petryk"] .def-card { border-radius: 18px; outline: 1px solid rgba(200, 52, 60, .5); outline-offset: -7px; }
html[data-palette="petryk"] .def-card::before { padding: 1.5px;
  background: linear-gradient(160deg, #fbf8f0, #e6c15c 26%, #8a6a2a 46%, #f4e6bf 56%, #c9a24c 78%, #fbf6e6); }
html[data-look="milk"][data-palette="petryk"] .def-card { outline-color: rgba(168, 38, 46, .45); }
html[data-palette="petryk"] .btn--primary { border-radius: 999px; font-weight: 700; }
/* the primary key: cobalt lacquer (punk.css «the primary key») */
html[data-palette="petryk"] {
  /* and lacquered (PETRYK.md P13: beside the brass, the neon and the silk it read as a plain blue pill): the glaze's crisp
     reflection across its crown, a hard edge where the window's light ends, gone before its label (verify_contrast.py
     KEY reads every sheet's crown) */
  --key-light: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .46) 13%, rgba(255, 255, 255, .1) 15%, rgba(255, 255, 255, .04) 24%, rgba(255, 255, 255, 0) 30%);
  --key-gloss: linear-gradient(180deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .22) 13%, rgba(255, 255, 255, .04) 15%, rgba(255, 255, 255, 0) 30%); }
/* the glaze's reflection itself, laid on the key and not in soft light (a white in soft light barely lifts a cobalt);
   flat in Field mode and under Low power, as every key */
html:not([data-watch="on"]):not([data-low="on"])[data-palette="petryk"] .btn--primary { background: var(--key-gloss), var(--btn-fill); }

/* the Debrief's score in its vinok (PETRYK.md P4, P16 b): a wreath of red mallows, cornflowers and wheat painted on limewash,
   the limewash keyed away so its gaps show the plate (art/petryk/bezel.webp, scripts/cut_rims.py «wreath»), kept at its own
   proportions, 264 px round the 152 px gauge, its opening 191 px, clear of the gauge's ticks (176 px). Paint casts no
   shadow: none by day, and by night only the faintest, to lift it off the indigo */
html[data-palette="petryk"] .fr-arc, html[data-palette="petryk"] .fr-res .fr-arc { margin: 58px 0 56px; }
html[data-palette="petryk"] .fr-arc .ring::after { content: ""; position: absolute; inset: -56px; pointer-events: none;
  background: url("art/petryk/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 2px 3px rgba(2, 6, 20, .45)); }
html[data-look="milk"][data-palette="petryk"] .fr-arc .ring::after { filter: none; }
/* the vinok paints itself as the score counts (PETRYK.md §4, P5): grown from its foot up both sides to its head, as the
   arms' garland grows, in the gauge's own time (frap.css .ring__bar, 1.1 s); whole at once in Field mode, under Low power
   and with less motion (--paint's own value), and where a browser cannot animate it, whole after half the count. Each
   branch its own layer, its brush's edge soft over 10 degrees; the two meet over the head */
@property --paint { syntax: "<number>"; inherits: false; initial-value: 1; }
html[data-palette="petryk"] .fr-arc .ring::after {
  --vinok-paint: conic-gradient(from 180deg, #000 calc(var(--paint) * 190deg - 10deg), transparent calc(var(--paint) * 190deg)),
    conic-gradient(from 180deg, transparent calc(360deg - var(--paint) * 190deg), #000 calc(370deg - var(--paint) * 190deg));
  -webkit-mask-image: var(--vinok-paint); mask-image: var(--vinok-paint);
  animation: petryk-vinok 1.2s cubic-bezier(.3, .7, .25, 1) .1s both; }
@keyframes petryk-vinok { from { --paint: 0; } to { --paint: 1; } }
@media (prefers-reduced-motion: reduce) { html[data-palette="petryk"] .fr-arc .ring::after { animation: none; } }
html:is([data-watch="on"], [data-low="on"])[data-palette="petryk"] .fr-arc .ring::after { animation: none; }   /* Field mode, Low power: whole, still */

/* the hero: the name in limewash under the moon (a cornflower glow), in indigo ink by day */
html:not([data-look="milk"])[data-palette="petryk"] .def-hero__title { color: var(--lime);
  text-shadow: 0 1px 0 rgba(4, 8, 24, .6), 0 0 22px rgba(147, 178, 255, .30); }
html:not([data-look="milk"])[data-palette="petryk"] .def-hero__eyebrow { color: var(--acc-ink); }

/* the name in the intro: limewash brightening to the moon's cornflower; its rule a cornflower stroke with a heart of wheat
   and kalyna */
html[data-palette="petryk"] .intro__thud { font-family: "Lora", Georgia, serif; font-weight: 700; letter-spacing: .03em;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3eee3 34%, #d9e2ff 60%, #a9c3ff 100%); }
html[data-palette="petryk"] .intro__arms > i { background-image: linear-gradient(180deg, #ffffff 0%, #f3eee3 34%, #d9e2ff 60%, #a9c3ff 100%); }
html[data-palette="petryk"] .intro__def { font-family: "Lora", Georgia, serif; font-weight: 600; letter-spacing: .5em; }
html[data-palette="petryk"] .intro__rule { background: linear-gradient(90deg, transparent, #93b2ff, #e6c15c 44%, #c8343c 50%, #e6c15c 56%, #93b2ff, transparent); }
/* the brush's garland round the arms and its rule laid under THUD (thud-intro.js, PETRYK.md P5): over the mark's shade */
.intro__garland { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.intro--brush .intro__rule { visibility: hidden; }
/* the burst's petals are paint (thud-intro.js PAINT): their canvas is laid over the scene as paint is, not added as light;
   the swell gathers the moon's own cool light */
.intro--brush .intro__fx { mix-blend-mode: normal; }
/* the village pushes in toward its moon (PETRYK.md P11): the moon, where the burst breaks and the stork crosses, stays put */
.intro--brush .intro__scene, .intro--brush .intro__poster { transform-origin: var(--px, 50%) var(--py, 50%); }
.intro--brush .intro__swell { --swell: 196, 212, 255; }
/* at the THUD the village dims and softens under the mark, as every skin's does, but stays a moonlit night: never a black ground */
.intro--brush.intro--hit .intro__scene, .intro--brush.intro--hit .intro__poster,
.intro--brush.intro--hit .intro__plate, .intro--brush.intro--hit .intro__film { filter: brightness(.38) saturate(1.1) blur(7px); }

/* THE FIREBIRD (2026-11-10; thud-intro.js BIRD, scripts/cut_firebird.py): a firebird painted on cobalt flies a circle,
   painting a wreath of flowers, folds its wings and becomes the Tryzub. Its ground is the film's cobalt from the first
   moment, never black. The film, its first picture (the poster) and its last (laid over it at the THUD) stand where their
   Tryzub meets the arms: scaled by the arms' height over the Tryzub's in the film (330 of its 1920 pixels, 525 from its
   top), its heart on theirs; the arms a whole --fs above the name, the bird's wreath reaching below their foot. A window
   wider than the film has the cobalt ground mirrored out either side of it, the film's edges feathered into it */
html[data-intro][data-palette="petryk"], .intro--bird { background: #0b2d88; }
.intro--bird .intro__arms { top: calc(var(--ty) - var(--fs) - var(--ah)); filter: none; }
.intro--bird .intro__poster, .intro--bird .intro__plate, .intro--bird .intro__film, .intro--bird .intro__end {
  inset: auto; left: calc(50% - 1.63636 * var(--ah)); top: calc(var(--ty) - var(--fs) - 2.59091 * var(--ah));
  width: calc(3.27273 * var(--ah)); height: calc(5.81818 * var(--ah)); object-fit: fill; }
.intro__ground { display: none; }
@media (min-aspect-ratio: 884/1000) {
  .intro--bird .intro__ground { display: block; position: absolute; opacity: 0; transition: opacity 1s ease; pointer-events: none;
    left: calc(50% - 4.90909 * var(--ah)); top: calc(var(--ty) - var(--fs) - 2.59091 * var(--ah));
    width: calc(9.81818 * var(--ah)); height: calc(5.81818 * var(--ah));
    background: url("art/petryk/intro/firebird-ground.webp") center / 100% 100% no-repeat; }
  .intro--bird.intro--plate .intro__ground { opacity: 1; }
  .intro--bird .intro__poster, .intro--bird .intro__plate, .intro--bird .intro__film, .intro--bird .intro__end {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
}
/* the light gathers in the bird as it folds its wings (the swell, the hush: the cobalt deepening, never black), and breaks
   from the Tryzub's heart (--sx, --sy: thud-intro.js aim()) */
.intro--bird .intro__swell { --swell: 255, 200, 116; }
.intro--bird .intro__hush { background: radial-gradient(circle at var(--sx, 50%) var(--sy, 43%), transparent 0%, transparent 9%, rgba(4, 12, 52, .3) 34%, rgba(4, 12, 52, .52) 78%); }
.intro--bird .intro__flash { background: radial-gradient(circle at var(--sx, 50%) var(--sy, 30%), var(--gold-hot) 0%, rgba(255, 196, 90, .42) 12%, rgba(255, 140, 40, .08) 30%, transparent 46%); }
/* at the THUD the film stops and its last picture, whole, is laid over it: the gold arms stand on its Tryzub at once,
   flaring and cooling to the picture's gold, shaken with it; the name and its shade come with the mark */
.intro__end { position: absolute; opacity: 0; pointer-events: none; }
.intro--bird.intro--hit .intro__end { opacity: 1; transition: opacity .2s ease; }
.intro--bird.intro--hit .intro__poster, .intro--bird.intro--hit .intro__plate, .intro--bird.intro--hit .intro__film { filter: none; }
html[data-palette="petryk"] .intro--bird .intro__arms > i { background-image: linear-gradient(180deg, #fff3c8 0%, #f7d36b 28%, #e6a93a 55%, #c78a2b 80%, #a8711f 100%); background-size: 100% 100%; }
.intro--bird.intro--hit .intro__mark { opacity: 1; transition: none; animation: def-shake .55s cubic-bezier(.3, .7, .4, 1) both; }
.intro--bird.intro--hit .intro__arms { animation: bird-glow 1.8s cubic-bezier(.2, .7, .3, 1) both; }
.intro--bird.intro--hit .intro__arms > i { animation: bird-cool 1.8s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes bird-glow { from { filter: drop-shadow(0 0 26px rgba(255, 200, 100, .9)); } to { filter: drop-shadow(0 0 12px rgba(255, 190, 90, .22)); } }
@keyframes bird-cool { from { filter: brightness(1.6); } to { filter: brightness(1); } }
.intro--bird .intro__thud, .intro--bird .intro__def, .intro--bird .intro__mark::before { opacity: 0; transition: opacity .3s ease; }
.intro--bird.intro--mark .intro__thud, .intro--bird.intro--mark .intro__def, .intro--bird.intro--mark .intro__mark::before { opacity: 1; }
.intro--bird .intro__mark::before { background: radial-gradient(ellipse 64% 20% at 50% calc(var(--ty) + 2%), rgba(5, 14, 58, .62), transparent 74%); }
.intro--bird.intro--out .intro__mark { opacity: 0; transition: opacity .25s ease; }
/* the line stands in the film's clear cobalt, its row 1350 of 1920 (between the name and the bouquet: clear 630 px wide from
   1280 to 1420, scripts/cut_firebird.py LINE), never over the flowers at the window's foot */
.intro--bird .intro__line { bottom: auto; top: calc(var(--ty) - var(--fs) + 1.50000 * var(--ah)); transform: translateY(-50%);
  text-shadow: 0 1px 3px rgba(4, 12, 52, 0); }
/* its shade comes in with its ink (a shadow is drawn whatever the ink's alpha: the flight showed a smudge) */
.intro--bird.intro--mark .intro__line { text-shadow: 0 1px 3px rgba(4, 12, 52, .55);
  transition: color .7s ease .3s, text-shadow .7s ease .3s, opacity .25s ease; }
/* the round's sprig (punk-brush.js, PETRYK.md P5): a leaf laid for each right answer, out of the card's flower, in the
   room the card keeps under the question for it; never in Field mode or under Low power */
.pk-sprig { display: none; }
html:not([data-watch="on"]):not([data-low="on"])[data-skin="frap"][data-palette="petryk"] #card .prompt-box > .pk-sprig {
  display: block; position: absolute; left: 50%; bottom: 3px; width: min(300px, 62%); height: 34px; transform: translateX(-50%); pointer-events: none; }

/* THE LEARNER'S OWN PETRYKIVKA (PETRYK.md P12; punk-mural.js): a painted frieze at the foot of the home's hero, a stroke for
   each word met and a flower for each lesson done, drawn whole and still, in Field mode and under Low power too; none
   before the first word */
.pk-mural { display: none; }
html[data-palette="petryk"] .def-hero > .pk-mural { display: block; position: absolute; z-index: 1; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: min(calc(100% - 16px), 640px); height: 46px; pointer-events: none; }
html[data-palette="petryk"] .def-hero > .pk-mural.pk-mural--bare { display: none; }
html[data-palette="petryk"] .def-hero:has(> .pk-mural:not(.pk-mural--bare)) .def-hero__go { padding-bottom: 66px; }
@media (min-width: 720px) { html[data-palette="petryk"] .def-hero:has(> .pk-mural:not(.pk-mural--bare)) .def-hero__go { padding-bottom: 72px; } }
/* the frieze in the Record (punk-mural.js recordHtml(), PETRYK.md P12): a plate of its own, the frieze laid whole across it,
   what it counts in the heading, and «Save or share» its picture */
.pk-wall-sec { display: none; }
html[data-palette="petryk"] .pk-wall-sec { display: block; }
html[data-palette="petryk"] .pk-wall { display: grid; gap: 12px; padding: 20px 16px 14px; }
html[data-palette="petryk"] .pk-wall > .pk-mural { display: block; width: 100%; }
.pk-wall__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pk-wall__foot > p { flex: 1 1 240px; margin: 0; }
.pk-wall__save { flex: none; gap: 8px; }
.pk-wall__save:disabled { opacity: .5; }
