/* Radio Eshgh fun kit (site wide). The look of Club Eshgh, learn more (club-learn-more.css) as reusable pieces for
   every page: Eshgh green with sunset moments, big Unbounded headlines with an accent line, sticker badges, playful
   glass buttons with a spring press, fact tiles, color tiles, a sunset panel, friendly empty states and scroll
   reveals. Bursts of hearts and confetti, count-up numbers and the reveals are run by assets/js/fun.js.

   Rules: every class starts with fun-, every variable with --fun-. Motion is transform and opacity only. Under
   Reduce Motion or the site's quiet motion setting (body.quiet-motion) nothing moves: pieces simply show. Without
   JavaScript everything is shown. The kit never styles the player dock, the live chat or a YouTube player.
   The guide for using it: fun-kit.md (kept with the project notes). */
:root {
	--fun-green: #64edaa;
	--fun-green-2: #2fd58a;
	--fun-pink: #2fd58a;
	--fun-orange: #8ff5c4;
	--fun-sun: #64edaa;
	--fun-dark: #04140b;
	--fun-night: #03150d;
	--fun-ink: #f4fff9;
	--fun-ink-2: #c3d8cd;
	--fun-ink-3: #93ab9f;
	--fun-line: rgb(214 255 232 / .14);
	/* Softer tile colors (dark text stays readable on them) and the pink used for numbers on dark. */
	--fun-pink-soft: #3ee68f;
	--fun-orange-soft: #bdf5d4;
	--fun-pink-ink: #8fe9b1;
	--fun-sunset: var(--mint-gradient, linear-gradient(105deg, #27e96d, #bdf5d4));
	--fun-party: radial-gradient(70% 90% at 0% 0%, #bdf5d4 0%, transparent 60%), linear-gradient(120deg, #27e96d 0%, #64edaa 55%, #bdf5d4 100%);
	--fun-display: Unbounded, var(--font, system-ui), sans-serif;
	--fun-spring: cubic-bezier(.34, 1.56, .64, 1);
	--fun-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Headlines: big Unbounded, an accent second line ---------- */
.fun-title, .fun-h2, .fun-h3 { margin: 0; font-family: var(--fun-display); font-weight: 600; color: var(--fun-ink); text-wrap: balance; }
.fun-title { font-size: clamp(42px, 6.6vw, 84px); line-height: .98; letter-spacing: -.055em; }
.fun-h2 { font-size: clamp(30px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.045em; }
.fun-h3 { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.035em; }
.fun-line { display: block; }
.fun-line + .fun-line { margin-top: .06em; }
.fun-accent { color: var(--fun-sun); }
.fun-accent-green { color: var(--fun-green); }
.fun-accent-pink { color: var(--fun-pink-ink); }
/* Sunset gradient text (a solid sun color first, for browsers without background-clip: text). */
.fun-gradient { color: var(--fun-sun); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.fun-gradient { background: var(--fun-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
.fun-sub { max-width: 52ch; margin: 16px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--fun-ink-2); text-wrap: pretty; }
.fun-note { max-width: 70ch; margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--fun-ink-3); }
/* A small brand pill above a headline ("Club Eshgh", "Live radio"). */
.fun-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px 7px 12px; border-radius: 999px; font-family: var(--fun-display); font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--fun-green); background: rgb(100 237 170 / .1); box-shadow: inset 0 0 0 1px rgb(100 237 170 / .25); }
.fun-kicker svg { width: 24px; height: auto; color: var(--fun-green); }

/* The opening moment: a headline line (or any piece) pops up in turn. --fun-d sets the order (0, 1, 2...). */
.fun-pop { display: inline-block; animation: fun-pop .9s var(--fun-spring) both; animation-delay: calc(.08s + var(--fun-d, 0) * .14s); }
.fun-line.fun-pop { display: block; }
@keyframes fun-pop { from { opacity: 0; transform: translateY(.45em) rotate(-2deg) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Sticker badges: rotated, colorful, a gentle float ---------- */
.fun-sticker { --fun-tilt: -6deg; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-family: var(--fun-display); font-size: clamp(12px, 1.2vw, 15px); font-weight: 600; font-style: normal; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; color: var(--fun-dark); background: var(--fun-green); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .8), inset 0 -2px 0 rgb(0 0 0 / .12); rotate: var(--fun-tilt); animation: fun-bob 5.5s ease-in-out infinite; animation-delay: var(--fun-delay, 0s); pointer-events: none; -webkit-user-select: none; user-select: none; }
@keyframes fun-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fun-sticker-green { background: var(--fun-green); }
.fun-sticker-pink { color: var(--fun-dark); background: var(--fun-pink); }
.fun-sticker-orange { background: var(--fun-orange-soft); }
.fun-sticker-sun { background: var(--fun-sun); }
.fun-sticker-sunset { background: var(--fun-sunset); }
.fun-sticker-white { background: #fff; }
.fun-sticker-dark { color: #fff; background: var(--fun-dark); }
.fun-sticker-round { width: 52px; height: 52px; padding: 12px; border-radius: 50%; }
.fun-sticker-round svg { display: block; width: 100%; height: auto; }
.fun-sticker-big { padding: 12px 18px; font-size: clamp(15px, 1.5vw, 19px); }
.fun-sticker-small { padding: 6px 11px; font-size: 12px; }
.fun-sticker-still { animation: none; }
.fun-tilt-left { --fun-tilt: -8deg; }
.fun-tilt-right { --fun-tilt: 7deg; }
.fun-tilt-none { --fun-tilt: 0deg; }

/* ---------- Buttons: big, round, a little bouncy (52 px tall; the press answers on pointer-down) ---------- */
.fun-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fun-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; font-family: var(--fun-display); font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .35s var(--fun-spring), box-shadow .3s ease, background-color .3s ease, color .3s ease; -webkit-tap-highlight-color: transparent; }
.fun-btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.03); }
.fun-btn:active { transform: scale(.96); transition-duration: .1s; }
.fun-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fun-btn svg { width: 18px; height: 18px; flex: none; }
.fun-btn-go, .fun-btn-go:hover { color: var(--fun-dark); background: var(--fun-green); box-shadow: 0 12px 34px -10px rgb(100 237 170 / .75), inset 0 -3px 0 rgb(0 0 0 / .12); }
.fun-btn-go:hover { box-shadow: 0 18px 44px -10px rgb(100 237 170 / .9), inset 0 -3px 0 rgb(0 0 0 / .12); }
.fun-btn-sun, .fun-btn-sun:hover { color: var(--fun-dark); background: var(--fun-sun); box-shadow: 0 12px 34px -12px rgb(100 237 170 / .7), inset 0 -3px 0 rgb(0 0 0 / .12); }
/* Playful glass: a see-through pill with a bright rim, for the second action on a dark page. */
.fun-btn-glass, .fun-btn-glass:hover { color: var(--fun-ink); background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04)); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28), inset 0 1px 0 rgb(255 255 255 / .35), 0 14px 30px -18px rgb(0 0 0 / .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.fun-btn-glass:hover { background: linear-gradient(180deg, rgb(255 255 255 / .2), rgb(255 255 255 / .08)); }
.fun-btn-dark, .fun-btn-dark:hover { color: #fff; background: var(--fun-dark); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .8); }
.fun-btn-line, .fun-btn-line:hover { color: var(--fun-dark); background: transparent; box-shadow: inset 0 0 0 2px var(--fun-dark); }
.fun-btn-line:hover { background: rgb(4 20 11 / .08); }
.fun-btn-big { min-height: 60px; padding: 0 34px; font-size: 18px; }
@media (max-width: 479px) { .fun-btn { padding: 0 20px; font-size: 15px; } .fun-btn-big { padding: 0 26px; font-size: 17px; } .fun-actions { gap: 10px; } }
/* The spring press alone, for buttons that keep their own look (the theme's .btn). */
.fun-press { transition: transform .35s var(--fun-spring), box-shadow .3s ease, background-color .3s ease, color .3s ease, opacity .3s ease; -webkit-tap-highlight-color: transparent; }
.fun-press:active { transform: scale(.94); transition-duration: .1s; }
.fun-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--fun-green); text-decoration: none; }
.fun-link:hover { color: #9ff7cb; text-decoration: none; }
.fun-link::after { content: ""; width: 8px; height: 8px; margin-left: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* ---------- Fact tiles: a big colorful number or word and a short line ---------- */
.fun-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 600px; margin: 30px 0 0; padding: 0; list-style: none; }
.fun-facts > li, .fun-fact { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 14px 14px 15px; border-radius: 22px; font-size: 13.5px; line-height: 1.35; color: var(--fun-ink-2); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--fun-line); }
.fun-facts b, .fun-fact b { font-family: var(--fun-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; color: var(--fun-green); white-space: nowrap; }
.fun-facts > li:nth-child(3n + 2) b { color: var(--fun-pink-ink); }
.fun-facts > li:nth-child(3n) b { color: var(--fun-sun); }

/* ---------- Color tiles: solid green, pink, orange or sun with dark text ---------- */
.fun-tiles { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .fun-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fun-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .fun-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.fun-tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 20px 22px 24px; border-radius: 30px; color: var(--fun-dark); background: var(--fun-green); text-decoration: none; transition: transform .5s var(--fun-spring); }
a.fun-tile:hover, .fun-tile-hover:hover { color: var(--fun-dark); text-decoration: none; transform: translateY(-6px) rotate(-1deg); }
a.fun-tile:nth-child(even):hover, .fun-tile-hover:nth-child(even):hover, .fun-tiles > li:nth-child(even) > :is(a.fun-tile, .fun-tile-hover):hover { transform: translateY(-6px) rotate(1deg); }
a.fun-tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fun-tiles > li { display: flex; min-width: 0; }
.fun-tiles > li > .fun-tile { flex: 1; }
button.fun-tile { width: 100%; border: 0; font: inherit; text-align: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.fun-tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fun-tile.is-green { background: var(--fun-green); }
.fun-tile.is-pink { background: var(--fun-pink-soft); }
.fun-tile.is-orange { background: var(--fun-orange-soft); }
.fun-tile.is-sun { background: var(--fun-sun); }
.fun-tile.is-sunset { background: var(--fun-sunset); }
.fun-tile b, .fun-tile h3 { margin: 0; font-family: var(--fun-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; color: var(--fun-dark); }
.fun-tile > p, .fun-tile > span:not([class]) { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: rgb(4 20 11 / .82); }
.fun-tile-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; font-family: var(--fun-display); font-size: 18px; font-weight: 600; color: #fff; background: var(--fun-dark); }

/* ---------- Panels: the sunset panel and the party panel (green, sun, pink) ---------- */
.fun-panel-sunset, .fun-panel-party { position: relative; padding: clamp(26px, 5vw, 56px); border-radius: clamp(32px, 4vw, 44px); color: var(--fun-dark); overflow: hidden; isolation: isolate; }
.fun-panel-sunset { background: var(--fun-sunset); box-shadow: 0 40px 80px -40px rgb(39 233 109 / .6); }
.fun-panel-party { background: var(--fun-party); }
.fun-panel-sunset::before, .fun-panel-party::before { content: ""; position: absolute; right: -8%; top: -30%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 255 255 / .35), transparent); pointer-events: none; }
.fun-panel-sunset :is(.fun-title, .fun-h2, .fun-h3), .fun-panel-party :is(.fun-title, .fun-h2, .fun-h3) { color: var(--fun-dark); }
.fun-panel-sunset .fun-sub, .fun-panel-party .fun-sub { color: rgb(4 20 11 / .84); }

/* ---------- Friendly empty state: a bobbing heart and a warm line ---------- */
.fun-empty { display: grid; justify-items: center; gap: 8px; padding: 26px 20px; border-radius: 26px; text-align: center; color: var(--fun-ink-2); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--fun-line); }
.fun-empty-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; padding: 12px; border-radius: 18px; color: var(--fun-dark); background: var(--fun-green); rotate: -6deg; animation: fun-bob 4.5s ease-in-out infinite; }
.fun-empty-icon svg { display: block; width: 100%; height: auto; }
.fun-empty b { font-family: var(--fun-display); font-size: 17px; font-weight: 600; letter-spacing: -.03em; color: var(--fun-ink); }
.fun-empty p { margin: 0; max-width: 40ch; font-size: 14.5px; line-height: 1.5; }

/* ---------- Hearts and confetti (fun.js adds the pieces, moves them with transform and opacity, removes them) ---------- */
.fun-bursts { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; contain: strict; }
.fun-bit { position: absolute; left: 0; top: 0; width: 12px; height: 17px; border-radius: 3px; will-change: transform, opacity; }
.fun-bit.is-heart { width: 22px; height: 20px; border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5S1 14.6 1 7.2A6 6 0 0 1 12 3.9a6 6 0 0 1 11 3.3c0 7.4-11 14.3-11 14.3Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.5S1 14.6 1 7.2A6 6 0 0 1 12 3.9a6 6 0 0 1 11 3.3c0 7.4-11 14.3-11 14.3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.fun-bit.is-star { width: 20px; height: 20px; border-radius: 0; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ---------- Reveal on scroll: fun.js marks each [data-fun-reveal] with .fun-armed, then .is-in as it arrives ---------- */
[data-fun-reveal].fun-armed:not(.is-in) { opacity: 0; transform: translateY(34px) scale(.97); }
[data-fun-reveal="tilt"].fun-armed:not(.is-in) { transform: translateY(48px) rotate(var(--fun-tilt, -3deg)) scale(.92); }
[data-fun-reveal="fade"].fun-armed:not(.is-in) { transform: none; }
[data-fun-reveal].fun-armed { transition: opacity .7s var(--fun-out), transform .8s var(--fun-spring); transition-delay: calc(var(--fun-d, 0) * 90ms); }
[data-fun-reveal].fun-armed.is-in:hover { transition-delay: 0s; }

/* ---------- Still: Reduce Motion or quiet motion. Nothing moves, bursts never show, everything is simply there ---------- */
@media (prefers-reduced-motion: reduce) {
	.fun-pop, .fun-sticker, .fun-empty-icon { animation: none !important; }
	.fun-btn, .fun-press, .fun-tile { transition: background-color .3s ease, box-shadow .3s ease, color .3s ease, opacity .3s ease !important; }
	.fun-btn:hover, .fun-btn:active, .fun-press:active, a.fun-tile:hover, .fun-tile-hover:hover, a.fun-tile:nth-child(even):hover, .fun-tile-hover:nth-child(even):hover, .fun-tiles > li > .fun-tile:hover { transform: none !important; }
	[data-fun-reveal].fun-armed, [data-fun-reveal].fun-armed:not(.is-in) { opacity: 1 !important; transform: none !important; transition: none !important; }
	.fun-bursts { display: none !important; }
}
body.quiet-motion :is(.fun-pop, .fun-sticker, .fun-empty-icon) { animation: none !important; }
body.quiet-motion :is(.fun-btn, .fun-press, .fun-tile) { transition: background-color .3s ease, box-shadow .3s ease, color .3s ease, opacity .3s ease !important; }
body.quiet-motion :is(.fun-btn:hover, .fun-btn:active, .fun-press:active, a.fun-tile:hover, .fun-tile-hover:hover, .fun-tiles > li > .fun-tile:hover) { transform: none !important; }
body.quiet-motion [data-fun-reveal].fun-armed { opacity: 1 !important; transform: none !important; transition: none !important; }
body.quiet-motion .fun-bursts { display: none !important; }
@media (prefers-reduced-transparency: reduce) { .fun-btn-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(32 48 40); } }
@media print { [data-fun-reveal] { opacity: 1 !important; transform: none !important; } .fun-bursts, .fun-sticker { display: none !important; } }

/* ---------- Liquid ink (owner, October 28, 2026: "like green poured into black water"): a black surface with soft green
   ink that drifts slowly and spreads where the pointer moves. Add class fun-liquid and data-fun-liquid; fun.js adds the
   ink layer. Transform and opacity only; the drift pauses off screen; still under Reduce Motion and quiet motion. ---------- */
.fun-liquid { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 18% 0%, rgb(39 233 109 / .22), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgb(100 237 170 / .16), transparent 62%), #020a06; box-shadow: inset 0 0 0 1px rgb(214 255 232 / .08); }
.fun-ink { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.fun-ink i { position: absolute; display: block; aspect-ratio: 1; border-radius: 50%; will-change: transform; mix-blend-mode: screen; }
.fun-ink-a { left: -22%; top: -45%; width: 78%; background: radial-gradient(closest-side, rgb(39 233 109 / .62), rgb(39 233 109 / .2) 52%, transparent); animation: fun-ink-a 28s ease-in-out infinite alternate; }
.fun-ink-b { right: -28%; bottom: -55%; width: 88%; background: radial-gradient(closest-side, rgb(100 237 170 / .5), rgb(47 213 138 / .16) 55%, transparent); animation: fun-ink-b 36s ease-in-out infinite alternate; }
.fun-ink-c { left: 28%; top: 18%; width: 46%; background: radial-gradient(closest-side, rgb(189 245 212 / .3), transparent); animation: fun-ink-c 24s ease-in-out infinite alternate; }
.fun-ink-p { left: 0; top: 0; width: 46%; margin: -23% 0 0 -23%; opacity: 0; background: radial-gradient(closest-side, rgb(80 245 150 / .6), rgb(39 233 109 / .2) 50%, transparent); transition: opacity .9s ease; }
.fun-liquid.is-stirred .fun-ink-p { opacity: 1; }
.fun-ink.is-resting i { animation-play-state: paused; }
@keyframes fun-ink-a { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1, .86); } 50% { transform: translate3d(18%, 14%, 0) rotate(40deg) scale(1.12, .94); } 100% { transform: translate3d(34%, 6%, 0) rotate(80deg) scale(.94, 1.1); } }
@keyframes fun-ink-b { 0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.06, .9); } 50% { transform: translate3d(-22%, -16%, 0) rotate(-36deg) scale(.92, 1.08); } 100% { transform: translate3d(-36%, -4%, 0) rotate(-70deg) scale(1.1, .96); } }
@keyframes fun-ink-c { 0% { transform: translate3d(0, 0, 0) scale(.9); opacity: .7; } 50% { transform: translate3d(-24%, 20%, 0) scale(1.2, .9); opacity: 1; } 100% { transform: translate3d(20%, -14%, 0) scale(1); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .fun-ink i { animation: none !important; } .fun-ink-p { display: none; } }
body.quiet-motion .fun-ink i { animation: none !important; }
body.quiet-motion .fun-ink-p { display: none; }

/* ---------- Fluid ink (owner, October 29, 2026): real fluid in a [data-fun-liquid] box (assets/js/fluid-ink.js, a port of
   React Bits SplashCursor). The script adds the canvas behind the box's content (.fun-fluid) and a thin light rim over
   it (.fun-fluid-rim: a CSS line only, no glass refraction, so Safari and Chrome look the same), and marks the box .is-fluid;
   the CSS ink's pointer drop then gives way to the real ink and the slow clouds stay as the water's own color. Without
   WebGL2, under Reduce Motion or quiet motion and on touch-only devices there is no canvas: the CSS ink above stays. ---------- */
.fun-fluid { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.fun-fluid-rim { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 0 0 1px rgb(214 255 232 / .1); }
/* The rim never has a backdrop filter, so nothing switches under the mouse (a backdrop toggled with .is-flowing
   flickered); its hover brightening below is opacity only. */
.fun-liquid.is-fluid .fun-ink-p { display: none; }
.fun-liquid.is-fluid .fun-ink { opacity: .72; }
@media (prefers-reduced-motion: reduce) { .fun-fluid, .fun-fluid-rim { display: none !important; } }
body.quiet-motion :is(.fun-fluid, .fun-fluid-rim) { display: none !important; }

/* ---------- Fluid ink in every big box (owner, October 29, 2026: "Every big box ... should have that green liquid
   animation triggered by the mouse. When the mouse goes over it, highlight it a little and say 'Click to feel it'.")
   fluid-ink.js finds a big rounded box the first time the pointer goes over it and adds a layer behind its content
   (.fun-fluid-layer, clipped to the box's corners, never taking a pointer event). On hover (.is-ink-hover) the rim
   brightens a little and the box lifts 2 px (the script's own Web Animation); the "Click to feel it" pill follows the
   pointer until the first click. Site greens and the mint gradient only. Without WebGL2, under Reduce Motion or quiet
   motion and on touch the box keeps its own look: no layer, no hint. ---------- */
.fun-fluid-host { isolation: isolate; }
.fun-fluid-layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.fun-fluid-layer > .fun-fluid { z-index: 0; }
.fun-fluid-layer::after, .fun-liquid > .fun-fluid-rim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(158 255 204 / .34), inset 0 1px 0 rgb(255 255 255 / .16), inset 0 0 48px rgb(39 233 109 / .08); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.is-ink-hover > .fun-fluid-layer::after, .fun-liquid.is-ink-hover > .fun-fluid-rim::after { opacity: 1; }
.fun-ink-hint { position: fixed; left: 0; top: 0; z-index: 90; padding: 8px 14px; border-radius: 999px; font-family: var(--fun-display); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: -.01em; white-space: nowrap; color: var(--fun-dark); background: var(--fun-sunset); box-shadow: 0 10px 26px -12px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .45); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.fun-ink-hint.is-shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fun-fluid-layer, .fun-ink-hint { display: none !important; } }
body.quiet-motion :is(.fun-fluid-layer, .fun-ink-hint) { display: none !important; }
@media print { .fun-fluid-layer, .fun-ink-hint { display: none !important; } }
