/* punk-aqua.css — THUD CORE's Aquapunk (V4, 2026-11-19; the owner: «Aquapunk»): the sunken ruins of Atlantis, white and
   gold stone under a clear sea, a whale gliding above, at peace. A skin in the making (scripts/owed.json): its sheet first
   drawn from Silkpunk's, its jade turned to aqua and its vermilion to coral; gold (orichalcum's) for the reward, aqua for
   state and progress; each readiness plate marked with a wave scroll. Coral is trim alone, never a state. Its faces are
   THUD's own shelf: Lora for titles, Montserrat's capitals for labels; Inter for text. Its rim comes with its pictures. */
html[data-palette="aqua"] {
  --caps: "Montserrat DEF", "Montserrat", var(--face);
  --display: "Lora", "Literata", Georgia, serif;
  --ui: "Inter DEF", "Inter", var(--face);
  --gold: #e9b64a;
  --coral: #d4412a;
  --aqua: #55c5c9;
  --lapis: #2b4ea2;
  --gold-leaf: linear-gradient(180deg, #fff6d8 0%, #f5d98c 30%, #b8862b 52%, #fbe6a8 58%, #cf9a3c 80%, #fff0c4 100%);
  /* the glass: a gold-leaf bezel; a aqua glint for its sheen */
  --rim: rgba(255, 236, 190, .6);
  --rim-soft: rgba(190, 170, 120, .22);
  --rim-far: rgba(60, 60, 80, .55);
  --hi: rgba(240, 250, 250, .12);
  --glass-top: rgba(200, 239, 240, .05);
  --spot: rgba(150, 227, 230, .16);
  --sheen: rgba(240, 254, 255, .14);
  /* a gold line along a panel's top, aqua at its middle */
  --horizon: linear-gradient(90deg, transparent, rgba(240, 200, 110, .42) 20%, rgba(85, 197, 201, .62) 50%, rgba(240, 200, 110, .42) 80%, transparent);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23e9b64a' stroke-width='1.3' opacity='.7' stroke-linecap='round'%3E%3Cpath d='M5 26c3-9 13-9 14-1 0 4-5 5-6 2'/%3E%3Cpath d='M18 26c3-9 13-9 14-1 0 4-5 5-6 2'/%3E%3Cpath d='M5 31h30'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-look="milk"][data-palette="aqua"] {
  --gold: #8a5a00;
  --coral: #b02e1a;
  --aqua: #0a7a7e;
  --lapis: #1f3f8f;
  --rim: rgba(140, 120, 80, .55);
  --rim-soft: rgba(160, 150, 110, .2);
  --rim-far: rgba(30, 36, 56, .3);
  --hi: rgba(255, 255, 255, .75);
  --spot: rgba(210, 244, 245, .38);
  --horizon: linear-gradient(90deg, transparent, rgba(10, 122, 126, .45) 50%, transparent);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%238a5a00' stroke-width='1.3' opacity='.6' stroke-linecap='round'%3E%3Cpath d='M5 26c3-9 13-9 14-1 0 4-5 5-6 2'/%3E%3Cpath d='M18 26c3-9 13-9 14-1 0 4-5 5-6 2'/%3E%3Cpath d='M5 31h30'/%3E%3C/g%3E%3C/svg%3E");
}
html[data-palette="aqua"] body { font-family: var(--ui); }
html[data-palette="aqua"] :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="aqua"] .caps { font-family: var(--caps); font-weight: 600; letter-spacing: .24em; }
html[data-palette="aqua"] :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; }
/* the Debrief's score in its rim (PUNK.md call 41): white marble between a gold rope of waves and a polished gold inner ring
   (art/aqua/bezel.webp, scripts/cut_rims.py), its opening 180 px of 224, clear of the gauge's ticks (176 px) */
html[data-palette="aqua"] .fr-arc, html[data-palette="aqua"] .fr-res .fr-arc { margin: 38px 0 36px; }
html[data-palette="aqua"] .fr-arc .ring::after { content: ""; position: absolute; inset: -36px; pointer-events: none;
  background: url("art/aqua/bezel.webp") center / 100% 100% no-repeat; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
html[data-look="milk"][data-palette="aqua"] .fr-arc .ring::after { filter: drop-shadow(0 6px 10px rgba(16, 60, 78, .28)); }
html[data-palette="aqua"] .def-brand b { font-family: var(--display); font-weight: 700; letter-spacing: .04em; }
html[data-palette="aqua"] .def-brand i { font-family: var(--caps); font-weight: 600; letter-spacing: .28em; }

/* the panels: smoked glass in a gold-leaf bezel, a gold line along the top, aqua at its middle */
html[data-palette="aqua"] .glass:not(.chip):not(.tabbar):not(.btn):not(.def-cell):not(.fr-tile):not(.modes):not(.def-hero__clock):not(.af-ic) {
  background-image: var(--horizon), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: 100% 1px, 100% 100%; background-repeat: no-repeat; background-position: 0 0, 0 0; }
/* the readiness plates: each marked with a wave scroll in its corner, a drop of coral in its curl */
html[data-palette="aqua"] :is(.def-cell, .fr-tile) {
  background-image: var(--wave), var(--horizon), linear-gradient(180deg, var(--glass-top) 0%, rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, 0) 100%);
  background-size: 30px 30px, 100% 1px, 100% 100%; background-position: calc(100% - 8px) 8px, 0 0, 0 0; background-repeat: no-repeat; border-radius: 18px; }

/* the strategies' covers: a gold-leaf frame with a coral pinstripe inside it */
html[data-palette="aqua"] .def-card { border-radius: 18px; outline: 1px solid rgba(212, 65, 42, .55); outline-offset: -7px; }
html[data-palette="aqua"] .def-card::before { padding: 1.5px;
  background: linear-gradient(160deg, #fff0c0, #d2a845 24%, #775510 46%, #fbe6a8 54%, #b28628 78%, #f8e2a4); }
html[data-palette="aqua"] .btn--primary { border-radius: 999px; font-weight: 700; }

/* the hero: the name in gold leaf by night (a aqua glint), in ink by day */
html:not([data-look="milk"])[data-palette="aqua"] .def-hero__title { background-image: var(--gold-leaf); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(233, 182, 74, .28)); }
html:not([data-look="milk"])[data-palette="aqua"] .def-hero__eyebrow { color: var(--acc-ink); }

/* the name in the intro: gold leaf, its rule aqua with a coral heart */
html[data-palette="aqua"] .intro__thud { font-family: "Lora", Georgia, serif; font-weight: 700; letter-spacing: .03em;
  background-image: linear-gradient(180deg, #fff7dc 0%, #f4d78a 26%, #b8862b 50%, #fbe8ad 56%, #cf9a3c 78%, #55c5c9 100%); }
html[data-palette="aqua"] .intro__arms > i { background-image: linear-gradient(180deg, #fff7dc 0%, #f4d78a 26%, #b8862b 50%, #fbe8ad 56%, #cf9a3c 78%, #55c5c9 100%); }
html[data-palette="aqua"] .intro__def { font-family: "Montserrat DEF", "Montserrat", sans-serif; font-weight: 600; letter-spacing: .5em; }
html[data-palette="aqua"] .intro__rule { background: linear-gradient(90deg, transparent, #55c5c9, #d4412a, #55c5c9, transparent); }

/* ── the companion's burst (RAM.md §7, thud.js burst): flakes of gold leaf turning in the air, a aqua one among them ── */
[data-ram="aqua"] .petal { left: -3px; top: -3px; width: 6px; height: 4px; border-radius: 1px 3px; background: #f5d98c !important; box-shadow: 0 0 5px 1px rgba(240, 200, 110, .6); }
[data-ram="aqua"] .petal.p2 { background: #8fdde0 !important; box-shadow: 0 0 5px 1px rgba(85, 197, 201, .65); }

