/* 30 Days to Sweet 16: Frankie's colours, rooms and cast, over the layout of the 30 Days to Prom page.

   styles.css and next.css are that page's own files, copied whole and not edited here (AGENTS.md says from where),
   so its layout fixes can be copied across again. This file loads last and changes only what is Frankie's.
   The class names in index.html are that page's places, and say where a thing sits, not who is in it:
     scene-mint   the first screen                 peek-nana   leans in beside the headline: Dani
     scene-ava    "Her fixes. Your size."          peek-dee    leans in on the left: Dad
     scene-wall   the cast, on a bedroom wall      peek-sal    leans in on the right: the boy at the bakery
     scene-den    a day in the app (the app's own  peek-ava    leans in on the right: Sloane
                  colours, not Frankie's)          peek-milo   leans in beside the last form: Frankie
     scene-coral  the last screen                  swap-milo   her line on a fix's card
   Colours are the series kit's (kit/lib.jsx, C), and the rooms follow kit/sets.jsx. */

:root {
  --ink: #24122e;                             /* C.ink: the plum outline on everything */
  --navy: #2e1742;                            /* C.plum: the HUD's panels */
  --cream: #fff5ec;
  --coral: #ff5fa2;                           /* C.pink */
  --yellow: #ffd35c;
  --mint: #43dcae;
  --sky: #b9a2ff;                             /* C.lilac */
}

/* ---- scenes ---- */
/* The first screen: the pink-to-lilac burst behind the account's profile picture (sheets/profile.jsx). */
.scene-mint { background: var(--glow), var(--rays), linear-gradient(#ff9ccb, #a98cf0); }
/* Her fixes: mint, the colour of her curtains, her blanket and her pajama pants. */
.scene-ava { background: var(--glow), var(--rays), linear-gradient(#8fe8cf, #2b9c8c); }
/* The cast: the series' night backdrop, under her bedroom's fairy lights. */
.scene-wall {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 5px, rgba(255, 255, 255, 0) 6px) 0 0 / 112px 360px,
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 5px, rgba(255, 255, 255, 0) 6px) 56px 180px / 112px 360px,
    linear-gradient(#3b2c6e, #251640);
}
/* Her fairy lights (FrankieRoom): yellow, pink, blue and lilac on a sagging wire, and every third one dead. */
.scene-wall::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='864' height='62' viewBox='0 0 864 62'%3E%3Cdefs%3E%3CradialGradient id='g0'%3E%3Cstop stop-color='%23ffd35c' stop-opacity='.55'/%3E%3Cstop offset='.7' stop-color='%23ffd35c' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g1'%3E%3Cstop stop-color='%23ff8fc0' stop-opacity='.55'/%3E%3Cstop offset='.7' stop-color='%23ff8fc0' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g2'%3E%3Cstop stop-color='%238fe3ff' stop-opacity='.55'/%3E%3Cstop offset='.7' stop-color='%238fe3ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='g3'%3E%3Cstop stop-color='%23b9a2ff' stop-opacity='.55'/%3E%3Cstop offset='.7' stop-color='%23b9a2ff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 6Q72 38 144 6Q216 38 288 6Q360 38 432 6Q504 38 576 6Q648 38 720 6Q792 38 864 6' fill='none' stroke='%232a2340' stroke-width='4'/%3E%3Ccircle cx='36' cy='31' r='26' fill='url(%23g0)'/%3E%3Crect x='33' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='36' cy='31' rx='7' ry='10' fill='%23ffd35c'/%3E%3Crect x='105' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='108' cy='31' rx='7' ry='10' fill='%236d6680'/%3E%3Ccircle cx='180' cy='31' r='26' fill='url(%23g2)'/%3E%3Crect x='177' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='180' cy='31' rx='7' ry='10' fill='%238fe3ff'/%3E%3Ccircle cx='252' cy='31' r='26' fill='url(%23g3)'/%3E%3Crect x='249' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='252' cy='31' rx='7' ry='10' fill='%23b9a2ff'/%3E%3Crect x='321' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='324' cy='31' rx='7' ry='10' fill='%236d6680'/%3E%3Ccircle cx='396' cy='31' r='26' fill='url(%23g1)'/%3E%3Crect x='393' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='396' cy='31' rx='7' ry='10' fill='%23ff8fc0'/%3E%3Ccircle cx='468' cy='31' r='26' fill='url(%23g2)'/%3E%3Crect x='465' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='468' cy='31' rx='7' ry='10' fill='%238fe3ff'/%3E%3Crect x='537' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='540' cy='31' rx='7' ry='10' fill='%236d6680'/%3E%3Ccircle cx='612' cy='31' r='26' fill='url(%23g0)'/%3E%3Crect x='609' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='612' cy='31' rx='7' ry='10' fill='%23ffd35c'/%3E%3Ccircle cx='684' cy='31' r='26' fill='url(%23g1)'/%3E%3Crect x='681' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='684' cy='31' rx='7' ry='10' fill='%23ff8fc0'/%3E%3Crect x='753' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='756' cy='31' rx='7' ry='10' fill='%236d6680'/%3E%3Ccircle cx='828' cy='31' r='26' fill='url(%23g3)'/%3E%3Crect x='825' y='15' width='6' height='7' rx='2' fill='%232a2340'/%3E%3Cellipse cx='828' cy='31' rx='7' ry='10' fill='%23b9a2ff'/%3E%3C/svg%3E") repeat-x center top;
}
/* A day in the app keeps the app's own bedroom colours (next.css), restated here because `.scene-wall` above would
   otherwise paint over them. */
.scene-den {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 5px, rgba(255, 255, 255, 0) 6px) 0 0 / 112px 360px,
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 5px, rgba(255, 255, 255, 0) 6px) 56px 180px / 112px 360px,
    linear-gradient(#6c5887, #4a3b61);
}
/* The last screen: the series' party backdrop, pink to violet (Backdrop's own two colours). */
.scene-coral { background: var(--glow), var(--rays), linear-gradient(#ff7fb5, #9a78ff); }

/* ---- small things that were the other series' colours ---- */
.join-form button:hover, .btn:hover, .join-ask-row button:hover { background: #ffe08a; }
.join-ask-row .join-ask-no, .join-ask-row .join-ask-no:hover { background: #fff; }
.crew-track i { background: #4a2a63; }       /* C.plumSoft */
.crew-track i.is-on { background: var(--mint); }
/* The two fixes on the table: pink or lilac, and mint once picked. */
.pick { background: #ffb0d0; }               /* C.pinkSoft */
.pick-b { background: var(--sky); }
.pick.is-picked { background: var(--mint); }
/* "Try it now": mint, as the series' own stickers are, so it stands off the pink behind it. */
.try-now-tag { background: var(--mint); }

/* ---- the cast's cards ---- */
.person-dani .art { background: linear-gradient(#ffd1e1, #ff8fc0); }
.person-dad .art { background: linear-gradient(#e3d8ff, #9b82e6); }
.person-sprinkles .art { background: linear-gradient(#c9f5e6, #43c6a6); }
/* Sprinkles is drawn whole (the others are cut off at the hip), so she sits in the middle of her card. */
.person-sprinkles .art img { top: 50%; width: 84%; translate: -50% -47%; }

/* ---- the top bar ----
   "30 Days to Sweet 16" is four letters longer than the other series' name, so on a phone the name and "Watch the
   series" give up a little size sooner, and the "Your turn" tag waits for a wider screen. Both stay 44px tall. */
@media (max-width: 409px) {
  .brand { font-size: 18px; }
  .top-link { padding-inline: 11px; font-size: 13px; }
}
@media (max-width: 389px) {
  .top { gap: 8px; }
  .brand { font-size: 16px; }
  .top-link { padding-inline: 10px; font-size: 12px; }
}
/* A folding phone's outer screen: the link drops under the name. */
@media (max-width: 299px) {
  .top { flex-wrap: wrap; row-gap: 0; }
}
@media (max-width: 519px) { .brand-tag { display: none; } }

/* ---- the cast at the edges ----
   Dad throws both arms up, which nobody in his place on the other page does. From a tablet up, where he is drawn
   larger, he stands a little higher and further out, so his hand stays clear of "Her fixes." */
@media (min-width: 760px) {
  .peek-dee { top: calc(var(--h) * -0.27); left: calc(var(--h) * -0.53); }
}
/* Sloane leans in beside "A day in the app". On a phone that heading runs almost to the edge of the screen, and her
   skirt is wider than the figure the other page puts there, so she keeps further out and its last letters stay
   clear of her. */
@media (max-width: 419px) { .peek-ava { right: calc(var(--h) * -0.53); } }
/* On the smallest phones she also stands higher: any further out and none of her place would be on the screen, and
   next.js only brings in a figure whose place is. */
@media (max-width: 359px) { .peek-ava { top: -116px; } }
