/* /claim-check in the aether - founder 2026-11-24: "update the claim page that its linked to ... before i merge", then 19:29
   "overhaul the claims page" like the front page. ONLY the surface moves: void or rose paper, glass, light, the sky behind.
   The verdict colours record.css calibrates (--rc-hit / --rc-miss as an equal-lightness pair, copper for waiting, slate for
   absent) are NOT touched, and nothing here glows, animates or grades near a number - record.css's doctrine stands.
   NO SCRIPT: the sky is drawn on the server (views/partials/aether-sky.ejs) and moved only by CSS and SVG animation, because
   this page runs no client script of its own (verify-claim-check.js section 4).
   Dark theme = the glistening black aether; light theme = the inverted light: rose paper, ink, the engraved cathedral. */

/* ── the night: the glistening black aether ─────────────────────────── */
body.aether-claim {
  color-scheme: dark;
  --rc-bg: #05060b;
  --rc-surface: rgba(18,21,33,.72);
  --rc-sunk: rgba(9,11,18,.78);
  --rc-line: #1f2335;
  --rc-firm: #2d3248;
  --rc-ink: #f3efe6;
  --rc-ink2: #c4bfb4;
  --rc-ink3: #8b877e;
  --rc-ink4: #77736b;
  background: #05060b;
  --sky-ink: rgba(150,170,205,.55);
}
.aether-claim .rc-shell { position: relative; z-index: 1; }

/* ── the sky layer ──────────────────────────────────────────────────── */
.aether-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-stars { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; }
.sky-orb { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(40px); opacity: .55; }
.sky-o1 { left: -20vmax; top: -30vmax; background: radial-gradient(circle, rgba(143,208,224,.16), transparent 62%); animation: skyDrift1 38s ease-in-out infinite; }
.sky-o2 { right: -25vmax; top: 10vmax; background: radial-gradient(circle, rgba(217,181,111,.13), transparent 62%); animation: skyDrift2 46s ease-in-out infinite; }
.sky-o3 { left: 10vmax; bottom: -40vmax; background: radial-gradient(circle, rgba(150,120,255,.10), transparent 62%); animation: skyDrift1 54s ease-in-out infinite reverse; }
/* tiny diamonds, toned down (founder 20:30: "a gentle glimmer ... like our diamond render but tinier"): a rhombus a few pixels
   tall, its fire split a hair into red and blue at the edges, glimmering slowly and rarely */
.sky-glint { position: absolute; width: calc(4px * var(--s)); height: calc(5.4px * var(--s)); margin: calc(-2.7px * var(--s)) 0 0 calc(-2px * var(--s));
  opacity: 0; animation-name: skyTwinkle; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(135deg, rgba(255,140,160,.55) 0%, rgba(230,242,248,.95) 38%, rgba(255,255,255,1) 50%, rgba(220,236,246,.95) 62%, rgba(130,175,255,.55) 100%); }
.sky-glint.gold { background: linear-gradient(135deg, rgba(255,150,150,.5) 0%, rgba(240,226,190,.95) 40%, rgba(255,250,235,1) 50%, rgba(236,215,170,.95) 60%, rgba(140,170,255,.5) 100%); }
@keyframes skyTwinkle { 0%, 80%, 100% { opacity: 0; transform: scale(.6); } 89% { opacity: .55; transform: scale(1); } }
@keyframes skyDrift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8vmax, 5vmax); } }
@keyframes skyDrift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7vmax, 6vmax); } }
/* the cathedral: faint by night, its rose window glowing */
.sky-cathedral { position: absolute; left: 50%; bottom: 0; width: min(1000px, 120vh); height: auto; transform: translateX(-50%); color: var(--sky-ink); opacity: .35; }
.sky-rose-glow { opacity: .6; }
@media (prefers-reduced-motion: reduce) {
  .sky-orb, .sky-glint { animation: none; } .sky-glint { opacity: .3; transform: none; }
}

/* ── glass on the page's own surfaces (never on a verdict number) ───── */
.aether-claim .cc-form { padding: 22px; border-radius: 18px; border: 1px solid rgba(217,181,111,.16);
  background: linear-gradient(160deg, rgba(22,26,40,.62), rgba(10,12,20,.58)); box-shadow: 0 30px 90px rgba(0,0,0,.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ── the mark: the front page's shimmer, on the name only ───────────── */
.aether-claim .aether-mark {
  text-decoration: none; letter-spacing: .32em; text-transform: uppercase; font-weight: 400;
  background: linear-gradient(100deg, #9fdcea 0%, #f3efe6 30%, #ecd3a0 55%, #8fd0e0 80%, #9fdcea 100%); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 8px rgba(143,208,224,.3));
  animation: aetherClaimShimmer 9s ease-in-out infinite;
}
.aether-claim .aether-mark b { font-weight: 600; }
@keyframes aetherClaimShimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .aether-claim .aether-mark { animation: none; } }

/* ── the day: the inverted light - rose paper, ink, the cathedral drawn plainly ── */
:root[data-theme="light"] body.aether-claim {
  color-scheme: light;
  --rc-bg: #f7ece8;
  --rc-surface: rgba(255,255,255,.72);
  --rc-sunk: rgba(255,250,248,.85);
  --rc-line: #e6d3d0;
  --rc-firm: #d2b9b6;
  --rc-ink: #241a24;
  --rc-ink2: #4a3d48;
  --rc-ink3: #6e5f6a;
  --rc-ink4: #85747f;
  background: #f7ece8;
  --sky-ink: rgba(36,26,36,.85);
}
:root[data-theme="light"] .sky-cathedral { opacity: .55; }
:root[data-theme="light"] .sky-orb { opacity: .35; }
:root[data-theme="light"] .sky-o1 { background: radial-gradient(circle, rgba(214,120,150,.22), transparent 62%); }
:root[data-theme="light"] .sky-o2 { background: radial-gradient(circle, rgba(176,122,47,.16), transparent 62%); }
:root[data-theme="light"] .sky-glint, :root[data-theme="light"] .sky-stars { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="light"] .aether-claim .cc-form { background: linear-gradient(160deg, rgba(255,255,255,.74), rgba(250,238,236,.62));
  border-color: rgba(176,122,47,.28); box-shadow: 0 30px 80px rgba(120,60,80,.14); }
:root[data-theme="light"] .aether-claim .aether-mark { background-image: linear-gradient(100deg, #285e6e 0%, #8a3d5e 35%, #b07a2f 60%, #2f6f80 85%, #285e6e 100%);
  filter: drop-shadow(0 0 6px rgba(214,120,150,.3)); }
