/* Design tokens for the user panel, after Apple's system colours and materials. Dark overrides values only. */
:root {
  color-scheme: light;

  --color-window: #f5f5f7;
  --color-surface: #ffffff;
  --color-elevated: #ffffff;
  --color-fill: rgb(120 120 128 / 12%);
  --color-fill-strong: rgb(120 120 128 / 20%);
  --color-separator: rgb(60 60 67 / 14%);
  --color-ink: #1d1d1f;
  --color-muted: #66666b;
  /* Banafsheh, the violet of the Persian spring flower (owner, 19 Nov 2026: purple for the designs). Lapis stays one choice away in Settings. */
  --color-accent: #5b34c9;
  --color-accent-fill: #5f3bd0;
  --color-on-accent: #ffffff;
  --color-accent-soft: color-mix(in srgb, var(--color-accent-fill) 12%, transparent);
  --color-danger: #d70015;
  --color-danger-soft: rgb(215 0 21 / 10%);
  --color-success: #1e7a35;
  --color-success-soft: rgb(30 122 53 / 12%);
  --color-warning: #995700;
  --color-warning-soft: rgb(153 87 0 / 12%);
  --color-switch-on: #34c759;
  --color-scrim: rgb(0 0 0 / 28%);
  --color-glow: rgb(0 0 0 / 7%);
  --color-accent-press: color-mix(in srgb, var(--color-accent-fill) 88%, #000);
  --fill-accent: linear-gradient(170deg, color-mix(in srgb, var(--color-accent-fill) 82%, #fff), var(--color-accent-fill) 70%); /* taste-skill-ignore */

  /* The sky: pale washes of the person's hour behind everything (theme.js sets data-daypart). This is noon. */
  --sky-a: #e8e4ff; --sky-b: #c9f3ea; --sky-c: #ece9ff; --sky-ink: #5136c4;
  --stage-base: #1a1150; --stage-a: rgb(130 90 255 / 62%); --stage-b: rgb(30 200 195 / 46%);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none' stroke='white' stroke-opacity='.11'%3E%3Cpath d='M80 40 68.3 51.7V68.3H51.7L40 80 28.3 68.3H11.7V51.7L0 40 11.7 28.3V11.7H28.3L40 0 51.7 11.7H68.3V28.3Z'/%3E%3Cpath d='M58 40 52.7 45.3V52.7H45.3L40 58 34.7 52.7H27.3V45.3L22 40 27.3 34.7V27.3H34.7L40 22 45.3 27.3H52.7V34.7Z'/%3E%3C/svg%3E") 0 0 / 80px 80px; /* The star-and-cross of Persian tile, faint, on the stage only. */
  --medallion: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-500 -500 1000 1000' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle r='190'/%3E%3Ccircle r='268'/%3E%3Ccircle r='372'/%3E%3Ccircle r='416'/%3E%3Ccircle r='480'/%3E%3Cpath d='M196 0L226 34L262 0L226 -34ZM181 75L196 118L242 100L222 55ZM139 139L136 184L185 185L184 136ZM75 181L55 222L100 242L118 196ZM0 196L-34 226L0 262L34 226ZM-75 181L-118 196L-100 242L-55 222ZM-139 139L-184 136L-185 185L-136 184ZM-181 75L-222 55L-242 100L-196 118ZM-196 0L-226 -34L-262 0L-226 34ZM-181 -75L-196 -118L-242 -100L-222 -55ZM-139 -139L-136 -184L-185 -185L-184 -136ZM-75 -181L-55 -222L-100 -242L-118 -196ZM-0 -196L34 -226L-0 -262L-34 -226ZM75 -181L118 -196L100 -242L55 -222ZM139 -139L184 -136L185 -185L136 -184ZM181 -75L222 -55L242 -100L196 -118ZM358 0L346 12L346 28L330 28L318 40L306 28L290 28L290 12L278 0L290 -12L290 -28L306 -28L318 -40L330 -28L346 -28L346 -12ZM331 137L315 143L309 159L294 152L278 159L272 143L257 137L263 122L257 106L272 100L278 85L294 91L309 85L315 100L331 106L324 122ZM253 253L237 253L225 265L213 253L197 253L197 237L185 225L197 213L197 197L213 197L225 185L237 197L253 197L253 213L265 225L253 237ZM137 331L122 324L106 331L100 315L85 309L91 294L85 278L100 272L106 257L122 263L137 257L143 272L159 278L152 294L159 309L143 315ZM0 358L-12 346L-28 346L-28 330L-40 318L-28 306L-28 290L-12 290L0 278L12 290L28 290L28 306L40 318L28 330L28 346L12 346ZM-137 331L-143 315L-159 309L-152 294L-159 278L-143 272L-137 257L-122 263L-106 257L-100 272L-85 278L-91 294L-85 309L-100 315L-106 331L-122 324ZM-253 253L-253 237L-265 225L-253 213L-253 197L-237 197L-225 185L-213 197L-197 197L-197 213L-185 225L-197 237L-197 253L-213 253L-225 265L-237 253ZM-331 137L-324 122L-331 106L-315 100L-309 85L-294 91L-278 85L-272 100L-257 106L-263 122L-257 137L-272 143L-278 159L-294 152L-309 159L-315 143ZM-358 0L-346 -12L-346 -28L-330 -28L-318 -40L-306 -28L-290 -28L-290 -12L-278 0L-290 12L-290 28L-306 28L-318 40L-330 28L-346 28L-346 12ZM-331 -137L-315 -143L-309 -159L-294 -152L-278 -159L-272 -143L-257 -137L-263 -122L-257 -106L-272 -100L-278 -85L-294 -91L-309 -85L-315 -100L-331 -106L-324 -122ZM-253 -253L-237 -253L-225 -265L-213 -253L-197 -253L-197 -237L-185 -225L-197 -213L-197 -197L-213 -197L-225 -185L-237 -197L-253 -197L-253 -213L-265 -225L-253 -237ZM-137 -331L-122 -324L-106 -331L-100 -315L-85 -309L-91 -294L-85 -278L-100 -272L-106 -257L-122 -263L-137 -257L-143 -272L-159 -278L-152 -294L-159 -309L-143 -315ZM-0 -358L12 -346L28 -346L28 -330L40 -318L28 -306L28 -290L12 -290L-0 -278L-12 -290L-28 -290L-28 -306L-40 -318L-28 -330L-28 -346L-12 -346ZM137 -331L143 -315L159 -309L152 -294L159 -278L143 -272L137 -257L122 -263L106 -257L100 -272L85 -278L91 -294L85 -309L100 -315L106 -331L122 -324ZM253 -253L253 -237L265 -225L253 -213L253 -197L237 -197L225 -185L213 -197L197 -197L197 -213L185 -225L197 -237L197 -253L213 -253L225 -265L237 -253ZM331 -137L324 -122L331 -106L315 -100L309 -85L294 -91L278 -85L272 -100L257 -106L263 -122L257 -137L272 -143L278 -159L294 -152L309 -159L315 -143ZM271 54L307 85L353 70L316 39ZM229 153L251 195L299 200L277 157ZM153 229L157 277L200 299L195 251ZM54 271L39 316L70 353L85 307ZM-54 271L-85 307L-70 353L-39 316ZM-153 229L-195 251L-200 299L-157 277ZM-229 153L-277 157L-299 200L-251 195ZM-271 54L-316 39L-353 70L-307 85ZM-271 -54L-307 -85L-353 -70L-316 -39ZM-229 -153L-251 -195L-299 -200L-277 -157ZM-153 -229L-157 -277L-200 -299L-195 -251ZM-54 -271L-39 -316L-70 -353L-85 -307ZM54 -271L85 -307L70 -353L39 -316ZM153 -229L195 -251L200 -299L157 -277ZM229 -153L277 -157L299 -200L251 -195ZM271 -54L316 -39L353 -70L307 -85ZM378 0Q410 40 371 74M371 74Q394 120 349 145M349 145Q363 194 314 210M314 210Q318 261 267 267M267 267Q261 318 210 314M210 314Q194 363 145 349M145 349Q120 394 74 371M74 371Q40 410 0 378M0 378Q-40 410 -74 371M-74 371Q-120 394 -145 349M-145 349Q-194 363 -210 314M-210 314Q-261 318 -267 267M-267 267Q-318 261 -314 210M-314 210Q-363 194 -349 145M-349 145Q-394 120 -371 74M-371 74Q-410 40 -378 0M-378 0Q-410 -40 -371 -74M-371 -74Q-394 -120 -349 -145M-349 -145Q-363 -194 -314 -210M-314 -210Q-318 -261 -267 -267M-267 -267Q-261 -318 -210 -314M-210 -314Q-194 -363 -145 -349M-145 -349Q-120 -394 -74 -371M-74 -371Q-40 -410 -0 -378M-0 -378Q40 -410 74 -371M74 -371Q120 -394 145 -349M145 -349Q194 -363 210 -314M210 -314Q261 -318 267 -267M267 -267Q318 -261 314 -210M314 -210Q363 -194 349 -145M349 -145Q394 -120 371 -74M371 -74Q410 -40 378 -0M418 41L439 77L470 46L446 10ZM402 122L416 161L452 137L435 97ZM370 198L376 239L416 222L408 180ZM325 266L322 308L365 299L365 256ZM266 325L256 365L299 365L308 322ZM198 370L180 408L222 416L239 376ZM122 402L97 435L137 452L161 416ZM41 418L10 446L46 470L77 439ZM-41 418L-77 439L-46 470L-10 446ZM-122 402L-161 416L-137 452L-97 435ZM-198 370L-239 376L-222 416L-180 408ZM-266 325L-308 322L-299 365L-256 365ZM-325 266L-365 256L-365 299L-322 308ZM-370 198L-408 180L-416 222L-376 239ZM-402 122L-435 97L-452 137L-416 161ZM-418 41L-446 10L-470 46L-439 77ZM-418 -41L-439 -77L-470 -46L-446 -10ZM-402 -122L-416 -161L-452 -137L-435 -97ZM-370 -198L-376 -239L-416 -222L-408 -180ZM-325 -266L-322 -308L-365 -299L-365 -256ZM-266 -325L-256 -365L-299 -365L-308 -322ZM-198 -370L-180 -408L-222 -416L-239 -376ZM-122 -402L-97 -435L-137 -452L-161 -416ZM-41 -418L-10 -446L-46 -470L-77 -439ZM41 -418L77 -439L46 -470L10 -446ZM122 -402L161 -416L137 -452L97 -435ZM198 -370L239 -376L222 -416L180 -408ZM266 -325L308 -322L299 -365L256 -365ZM325 -266L365 -256L365 -299L322 -308ZM370 -198L408 -180L416 -222L376 -239ZM402 -122L435 -97L452 -137L416 -161ZM418 -41L446 -10L470 -46L439 -77Z'/%3E%3C/svg%3E"); /* A shamseh in line art, as on a Persian dome; the composer sits at its centre. Drawn once by a script, used as a mask. */
  /* The brand nuqta: whole, its two halves (they part while waiting) and one small dot. */
  --nuqta: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22%3E%3Cg id=%22half-left%22%3E%3Cpath fill=%22%23000%22 d=%22M130.55 33.35 L30 132 L115 222.67 A223 223 0 0 0 130.55 33.35 Z%22/%3E%3C/g%3E%3Cg id=%22half-right%22%3E%3Cpath fill=%22%23000%22 d=%22M147.85 40.64 L226 124 L136.34 211.97 A237 237 0 0 0 147.85 40.64 Z%22/%3E%3C/g%3E%3C/svg%3E");
  --nuqta-left: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22%3E%3Cg id=%22half-left%22%3E%3Cpath fill=%22%23000%22 d=%22M130.55 33.35 L30 132 L115 222.67 A223 223 0 0 0 130.55 33.35 Z%22/%3E%3C/g%3E%3C/svg%3E");
  --nuqta-right: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22%3E%3Cg id=%22half-right%22%3E%3Cpath fill=%22%23000%22 d=%22M147.85 40.64 L226 124 L136.34 211.97 A237 237 0 0 0 147.85 40.64 Z%22/%3E%3C/g%3E%3C/svg%3E");
  --nuqta-dot: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M50 0 96 50 50 100 4 50Z%22/%3E%3C/svg%3E");
  --nuqta-wait: var(--nuqta-left) 50% 50% / 76% no-repeat, var(--nuqta-right) 50% 50% / 76% no-repeat;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12 19 14.1V19H14.1L12 24 9.9 19H5V14.1L0 12 5 9.9V5H9.9L12 0 14.1 5H19V9.9Z'/%3E%3C/svg%3E");
  --stage: radial-gradient(90% 80% at 0% 100%, var(--stage-a), transparent 72%), radial-gradient(70% 70% at 100% 115%, var(--stage-b), transparent 72%), var(--tile), var(--stage-base); /* taste-skill-ignore */
  --iridescence: conic-gradient(from var(--glow-angle, 0deg), #2f6be0, #12a7b8, #3fbf9f, #eebb4d, #e4704f, #12a7b8, #2f6be0); /* taste-skill-ignore */

  --material: rgb(255 255 255 / 72%);
  --material-solid: rgb(255 255 255 / 92%);
  --material-filter: saturate(180%) blur(28px);
  --hairline: 0 0 0 .5px rgb(0 0 0 / 10%);
  --shadow-card: 0 1px 2px rgb(0 0 0 / 4%), 0 10px 28px rgb(0 0 0 / 5%);
  --shadow-float: 0 2px 6px rgb(0 0 0 / 4%), 0 12px 40px rgb(0 0 0 / 9%);
  --shadow-overlay: 0 8px 24px rgb(0 0 0 / 10%), 0 28px 80px rgb(0 0 0 / 18%);

  --font-sans: "Vazirmatn", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  /* Columns of Latin digits line up; Vazirmatn's tabular Persian digits sit far apart (a ۱۰۰ grows by three quarters), so Persian keeps its own widths. */
  --numeric: tabular-nums;
  /* Sizes follow the screen's width: the phone size at 360px, rising evenly to the desktop size at 900px and holding
     there. --fluid runs from 0 to 1rem across that range; rem keeps browser zoom and the person's text size working.
     Owner request, 18 Nov 2026: on a phone the type and controls read too big. */
  --fluid: clamp(0rem, (100vw - 22.5rem) / 33.75, 1rem);
  --text-caption: calc(.75rem + .0625 * var(--fluid));
  --text-footnote: calc(.8125rem + .0625 * var(--fluid));
  --text-subhead: calc(.875rem + .0625 * var(--fluid));
  --text-body: calc(1rem + .0625 * var(--fluid));
  --text-title3: calc(1.125rem + .125 * var(--fluid));
  --text-title2: calc(1.25rem + .25 * var(--fluid));
  --text-title1: calc(1.4375rem + .3125 * var(--fluid));
  --text-large: calc(1.75rem + .375 * var(--fluid));
  --text-display: clamp(2.25rem, 4.6vw, 3.5rem);
  --leading-body: 1.75;
  --leading-tight: 1.25;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --weight-bold: 700;

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 999px;

  --motion-fast: 140ms;
  --motion-base: 240ms;
  --motion-slow: 380ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  /* Springs: a slight overshoot that settles, the way system controls land. */
  --spring: linear(0, .22 8%, .62 18%, .92 28%, 1.03 37%, 1.05 44%, 1.02 58%, 1 72%, 1);
  --spring-bouncy: linear(0, .1 5%, .3 10.5%, .76 20%, 1.01 28%, 1.09 33%, 1.1 37%, 1.07 44%, 1.01 56%, .99 66%, 1);

  --control-height: 44px;
  /* A round control on touch is drawn 36px on a 360px phone, 44px from 900px; its hit area stays --tap. */
  --tap: 44px;
  --disc: clamp(36px, 36px + .5 * var(--fluid), 44px);
  --measure: 720px;
  --sidebar-width: 272px;
  --float-gap: 10px;
  --gutter: var(--space-4);
  --z-sticky: 10;
  --z-drawer: 30;
  --z-menu: 40;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --color-window: #0e0e10;
  --color-surface: #1c1c1e;
  --color-elevated: #2c2c2e;
  --color-fill: rgb(120 120 128 / 24%);
  --color-fill-strong: rgb(120 120 128 / 36%);
  --color-separator: rgb(84 84 88 / 55%);
  --color-ink: #f5f5f7;
  --color-muted: #a1a1a6;
  --color-accent: #b5a2ff;
  --color-accent-fill: #5f3bd0;
  --color-danger: #ff6961;
  --color-danger-soft: rgb(255 105 97 / 16%);
  --color-success: #30d158;
  --color-success-soft: rgb(48 209 88 / 16%);
  --color-warning: #ffb340;
  --color-warning-soft: rgb(255 179 64 / 16%);
  --color-switch-on: #30d158;
  --color-scrim: rgb(0 0 0 / 52%);
  --color-glow: rgb(255 255 255 / 12%);

  --material: rgb(38 38 41 / 68%);
  --material-solid: rgb(38 38 41 / 92%);
  --hairline: 0 0 0 .5px rgb(255 255 255 / 12%);
  --shadow-card: 0 1px 2px rgb(0 0 0 / 20%), 0 10px 28px rgb(0 0 0 / 22%);
  --shadow-float: 0 2px 6px rgb(0 0 0 / 30%), 0 12px 40px rgb(0 0 0 / 40%);
  --shadow-overlay: 0 8px 24px rgb(0 0 0 / 40%), 0 28px 80px rgb(0 0 0 / 60%);
}

/* Each hour keeps the same roles; every pale wash leaves muted text above 4.5:1. */
:root[data-daypart="morning"] { --sky-a: #ffe6cf; --sky-b: #d6edff; --sky-c: #fff2dc; --sky-ink: #a14d0e; --stage-base: #10243f; --stage-a: rgb(255 150 90 / 68%); --stage-b: rgb(60 150 255 / 48%); }
:root[data-daypart="evening"] { --sky-a: #ffe4d6; --sky-b: #ffe4ea; --sky-c: #ffefd6; --sky-ink: #ad3652; --stage-base: #2a1230; --stage-a: rgb(255 120 80 / 70%); --stage-b: rgb(240 70 120 / 50%); }
:root[data-daypart="night"] { --sky-a: #e7e5ff; --sky-b: #d2f0f5; --sky-c: #eae8fb; --sky-ink: #4b3fc0; --stage-base: #0b0824; --stage-a: rgb(110 80 255 / 55%); --stage-b: rgb(30 170 200 / 28%); }
:root[data-theme="dark"] { --sky-a: rgb(120 90 255 / 22%); --sky-b: rgb(40 200 180 / 14%); --sky-c: rgb(140 110 255 / 9%); --sky-ink: #b5a2ff; }
:root[data-theme="dark"][data-daypart="morning"] { --sky-a: rgb(255 160 95 / 16%); --sky-b: rgb(70 145 255 / 15%); --sky-c: rgb(255 190 110 / 7%); --sky-ink: #ffb27a; }
:root[data-theme="dark"][data-daypart="evening"] { --sky-a: rgb(255 125 90 / 17%); --sky-b: rgb(225 90 150 / 13%); --sky-c: rgb(255 170 90 / 7%); --sky-ink: #ff9d8a; }
:root[data-theme="dark"][data-daypart="night"] { --sky-a: rgb(100 80 255 / 24%); --sky-b: rgb(30 170 200 / 13%); --sky-c: rgb(110 70 220 / 11%); --sky-ink: #b3a6ff; }

/* Other accents, chosen in Settings and kept in this browser only. Violet above is the default. */
:root[data-accent="lapis"] { --color-accent: #1c4fb0; --color-accent-fill: #1f55c0; }
:root[data-accent="teal"] { --color-accent: #00707f; --color-accent-fill: #00788a; }
:root[data-accent="green"] { --color-accent: #1e7a35; --color-accent-fill: #1f7f3b; }
:root[data-accent="orange"] { --color-accent: #b04a00; --color-accent-fill: #c04f00; }
:root[data-accent="pink"] { --color-accent: #a8143c; --color-accent-fill: #b3173f; }
:root[data-accent="graphite"] { --color-accent: #515154; --color-accent-fill: #515154; }
:root[data-theme="dark"][data-accent="lapis"] { --color-accent: #7aa7ff; --color-accent-fill: #2f66d8; }
:root[data-theme="dark"][data-accent="teal"] { --color-accent: #40c8e0; --color-accent-fill: #00788a; }
:root[data-theme="dark"][data-accent="green"] { --color-accent: #30d158; --color-accent-fill: #1f7f3b; }
:root[data-theme="dark"][data-accent="orange"] { --color-accent: #ff9f0a; --color-accent-fill: #c04f00; }
:root[data-theme="dark"][data-accent="pink"] { --color-accent: #ff7a93; --color-accent-fill: #b3173f; }
:root[data-theme="dark"][data-accent="graphite"] { --color-accent: #d1d1d6; --color-accent-fill: #636366; }

/* Four compositions bring their own colours; the greeting keeps the hour's ink. Before the occasions, so a shared day still wins. */
:root[data-backdrop="kavir"] { --sky-a: #ffe8cc; --sky-b: #ffdfc9; --sky-c: #fff1dc; }
:root[data-backdrop="darya"] { --sky-a: #cfeef2; --sky-b: #d6e8ff; --sky-c: #e3f6f4; }
:root[data-backdrop="bagh"] { --sky-a: #dcf3dc; --sky-b: #cdf0e6; --sky-c: #eef7d9; }
:root[data-backdrop="pegah"] { --sky-a: #f6e3f3; --sky-b: #e6e4ff; --sky-c: #ffe8ea; }
:root[data-theme="dark"][data-backdrop="kavir"] { --sky-a: rgb(255 170 90 / 15%); --sky-b: rgb(230 110 70 / 13%); --sky-c: rgb(255 190 110 / 7%); }
:root[data-theme="dark"][data-backdrop="darya"] { --sky-a: rgb(30 190 200 / 17%); --sky-b: rgb(50 130 255 / 17%); --sky-c: rgb(40 190 170 / 9%); }
:root[data-theme="dark"][data-backdrop="bagh"] { --sky-a: rgb(60 190 110 / 15%); --sky-b: rgb(40 190 160 / 13%); --sky-c: rgb(150 190 60 / 7%); }
:root[data-theme="dark"][data-backdrop="pegah"] { --sky-a: rgb(220 90 190 / 14%); --sky-b: rgb(120 90 255 / 16%); --sky-c: rgb(255 110 130 / 7%); }

/* Shared days of the Persian year wear their own colours: spring green, pomegranate, embers. Set by persian-day.js, after the hour so they win. */
:root[data-occasion="nowruz"] { --sky-a: #dcf5d6; --sky-b: #ffe3ec; --sky-c: #eef8d6; --sky-ink: #1f7a3c; --stage-base: #0c3a2c; --stage-a: rgb(90 205 120 / 62%); --stage-b: rgb(255 150 185 / 44%); }
:root[data-occasion="yalda"] { --sky-a: #ffdfe2; --sky-b: #ffe9d6; --sky-c: #fbe4ea; --sky-ink: #a01c3a; --stage-base: #2a0a16; --stage-a: rgb(205 35 70 / 70%); --stage-b: rgb(255 150 60 / 38%); }
:root[data-occasion="suri"] { --sky-a: #ffe3c8; --sky-b: #ffefd0; --sky-c: #ffe6d6; --sky-ink: #a84700; --stage-base: #2a1408; --stage-a: rgb(255 115 30 / 70%); --stage-b: rgb(255 190 60 / 44%); }
:root[data-theme="dark"][data-occasion="nowruz"] { --sky-a: rgb(80 200 110 / 18%); --sky-b: rgb(255 140 180 / 12%); --sky-c: rgb(180 220 90 / 7%); --sky-ink: #7fdc9b; }
:root[data-theme="dark"][data-occasion="yalda"] { --sky-a: rgb(220 40 75 / 22%); --sky-b: rgb(255 140 60 / 11%); --sky-c: rgb(200 40 90 / 9%); --sky-ink: #ff94a6; }
:root[data-theme="dark"][data-occasion="suri"] { --sky-a: rgb(255 115 30 / 20%); --sky-b: rgb(255 185 60 / 12%); --sky-c: rgb(255 130 60 / 8%); --sky-ink: #ffb066; }

/* Each composition is the same still sky layer drawn differently. Sepehr is the plain sky in base.css; ofogh keeps the hour's colours too. */
:root[data-backdrop="ofogh"] body::before { background: radial-gradient(120% 46% at 50% 108%, var(--sky-a), transparent 74%), linear-gradient(to top, var(--sky-c), transparent 52%); } /* taste-skill-ignore: owner-approved still sky wash */
:root[data-backdrop="kavir"] body::before { background: radial-gradient(82% 58% at 0% 108%, var(--sky-a), transparent 74%), radial-gradient(94% 46% at 100% 108%, var(--sky-b), transparent 74%), radial-gradient(70% 34% at 50% -6%, var(--sky-c), transparent 74%); } /* taste-skill-ignore: owner-approved still sky wash */
:root[data-backdrop="darya"] body::before { background: radial-gradient(90% 70% at 100% -8%, var(--sky-a), transparent 72%), radial-gradient(80% 60% at 0% 108%, var(--sky-b), transparent 72%); } /* taste-skill-ignore: owner-approved still sky wash */
:root[data-backdrop="bagh"] body::before { background: radial-gradient(70% 62% at 0% -6%, var(--sky-a), transparent 72%), radial-gradient(72% 62% at 100% 106%, var(--sky-b), transparent 72%), radial-gradient(44% 34% at 100% 0%, var(--sky-c), transparent 74%); } /* taste-skill-ignore: owner-approved still sky wash */
:root[data-backdrop="pegah"] body::before { background: radial-gradient(70% 46% at 36% -8%, var(--sky-a), transparent 74%), radial-gradient(66% 44% at 68% -8%, var(--sky-b), transparent 74%); } /* taste-skill-ignore: owner-approved still sky wash */

:root:lang(fa) { --numeric: normal; }
