/* UAE National Day: tokens derived from the national-day day-tag theme (design/components/day-tag/themes/national-day.css:
   the flag's black stripe #172f29 and white stripe #f5f0df, papers #f2d49b, weekend and holiday paper #8cb8a0 pending owner approval, string #d5b67a) and the flag's red #ce3c37
   (assets/scenes/props/uae-flag) as the accent. Ink 11.3:1, soft 6.9:1 on bg. Sky: the scene's dark tone (src/scene.css).
   Tokens, artwork and the artwork's placement in the scene only; never page layout or behaviour. */
html[data-ed-theme="national-day"] {
  --dm-bg: #f7e3be; --dm-surface: #ebdab7; --dm-block: #e2d3b1; --dm-block-2: #d3c6a6; --dm-paper: #fdfaf3;
  --dm-ink: #172f29; --dm-soft: #3f4f44; --dm-mid: #92927b; --dm-line: #cec3a3; --dm-soft-on-ink: #d5b67a;
  --dm-on-ink: #f5f0df; --dm-cover-ink: #f5f0df; --dm-accent: #ce3c37;
}
/* the scene's sky, set on the scene itself so a guide card on an unthemed page (Search) carries it too */
.scene[data-theme="national-day"] { --ed-sky: linear-gradient(#173e35, #315f54); }
.dm-days.theme-national-day { --tag-icon: url("/assets/day-tag/icons/national-day.svg"); }
/* The cover's and the Daily door's tags sit on this dark scene: the selected tag takes the light paper, so its edge
   shows without an outline (day tags never have one). Ink on paper 13.7:1. */
html[data-ed-theme="national-day"] :is(.days--cover, .days--door) .dm-days { --tag-selected-bg: var(--dm-paper); --tag-selected-ink: var(--dm-ink); }
/* Scene placement (src/editorial/scene.mjs, the [data-ground] rules in editorial.css): the record's character on the
   sand beside the foreground's family, the paper stars in the sky, the flag on the near sand. Shares of the 2172 x 724
   foreground; the flag's anchor is its pole. The cover reserves a band beneath the shore for the day tags. On the
   door the pole stands farther inland so the whole flag fits beside the text pane. */
.scene[data-theme="national-day"] > .sl--stars { --x: .5; --y: .5; --w: 80px; }
.scene[data-theme="national-day"] > .sl--flag { --x: .42; --y: .04; --w: 70px; --ax: .25; }
.scene--card[data-theme="national-day"] { --gc: .38; --gx: .3; --gy: .04; --ga: 96px; }
.scene--guide[data-theme="national-day"] { --gw: 110cqw; --gc: .3; }
.scene--feature[data-theme="national-day"] { --gw: max(150cqw, 900px); --gc: .3; --gx: .32; --gy: .04; --ga: 112px; }
.scene--door[data-theme="national-day"] { --gw: 1200px; --gc: .28; --gb: 0px; --gx: .3; --gy: .05; --ga: 116px; }
.scene--door[data-theme="national-day"] > .sl--flag { --x: .38; --y: .05; }
.scene--cover[data-theme="national-day"] { --gw: 1600px; --gc: .44; --gx: .3; --gy: .05; --ga: 116px; }
.scene--cover[data-theme="national-day"] > .sl--flag { --x: .5; --y: .012; --w: 88px; }
@media (min-width: 600px) {
  .scene--door[data-theme="national-day"] { --gw: 1700px; --gb: 0px; --ga: 160px; }
  .scene--cover[data-theme="national-day"] { --gw: 1900px; --gc: .52; --ga: 150px; }
  .scene[data-theme="national-day"] > .sl--flag { --w: 100px; }
  .scene[data-theme="national-day"] > .sl--stars { --w: 120px; }
  .scene--cover[data-theme="national-day"] > .sl--flag { --x: .7; --w: 100px; }
}
@media (min-width: 1024px) {
  .scene--door[data-theme="national-day"] { --gw: 2000px; --gc: .25; --gb: 0px; --gy: .07; --ga: 180px; }
  .scene--cover[data-theme="national-day"] { --gw: max(135cqw, 1600px); --gc: .62; --gb: 0px; }
  .scene--cover[data-theme="national-day"] > .sl--flag { --x: .87; --w: 160px; }
  /* the door's scene is a 579px panel at 1024px: the flag stands far enough left to stay whole in it */
  .scene--door[data-theme="national-day"] > .sl--flag { --x: .33; --y: .08; }
  .scene--feature[data-theme="national-day"] { --gw: 1800px; --gc: .22; --ga: 170px; }
  .scene--feature[data-theme="national-day"] > .sl--flag { --x: .27; }
}

@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  .scene--cover[data-theme="national-day"] { --gw: max(2100px, 300cqw); --gc: .58; }
}
