:root{color-scheme:dark;--ui-page:#00375B;--ui-panel:#08496B;--ui-raised:#145D7D;--ui-input:#00375B;--ui-line:#83A9BA;--ui-text:#FFF6E3;--ui-muted:#D5E2E6;--ui-accent:#EED643;--ui-on-accent:#00375B;--ui-accent-hover:#FFEA68;--ui-header:#091D2A;--domain:#4bbfe7;--domain-rgb:75,191,231;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}[hidden]{display:none!important}html{min-height:100%;background:var(--ui-page)}body{margin:0;min-width:240px;min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:56px minmax(0,1fr) auto;background:var(--ui-page);color:var(--ui-text);overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid var(--ui-accent);outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.6}
.site-header{z-index:10;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--ui-accent);background:var(--ui-header)}.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--ui-text);text-decoration:none}.brand-mark{width:30px;height:30px;display:grid;place-items:center;background:var(--ui-accent);transform:skew(-8deg);border-radius:6px}.brand-mark i{width:16px;height:14px;background:var(--ui-header);clip-path:polygon(0 0,100% 0,70% 50%,100% 100%,0 100%,30% 50%)}.brand b,.brand small{display:block;line-height:1.1}.brand b{font-size:13px;letter-spacing:.12em}.brand small{margin-top:4px;color:var(--ui-muted);font-size:10px;letter-spacing:.12em}
main{min-width:0;width:min(540px,100%);margin:auto;padding:12px 16px}.daily-stage{display:flex;flex-direction:column;align-items:center}.intro{width:max-content;max-width:calc(100% + 16px);text-align:center}.eyebrow{display:none}.intro h1{margin:0;font-size:clamp(.875rem,4vw,1.375rem);font-weight:700;line-height:1.25;letter-spacing:-.025em}.draw-clock{display:flex;align-items:center;gap:10px;margin:10px auto 14px;padding:7px 12px;border:1px solid var(--ui-line);border-radius:99px;background:var(--ui-panel)}.draw-clock span{color:var(--ui-muted);font-size:12px}.draw-clock strong{color:var(--ui-accent);font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:.04em}.showcase{width:100%;display:flex;flex-direction:column;align-items:center}
.card-aura{position:relative;width:min(76vw,calc((100vh - 300px)*.716),390px);width:min(76vw,calc((100dvh - 300px)*.716),390px);min-width:130px;isolation:isolate;perspective:900px}.card-aura::before{content:"";position:absolute;z-index:-1;inset:8%;border-radius:24px;background:rgba(var(--domain-rgb),.2);filter:blur(30px)}.card-frame{position:relative;aspect-ratio:744/1039;border-radius:4.2% / 3%;overflow:hidden;background:var(--ui-panel);border:1px solid var(--ui-line);box-shadow:0 0 0 4px var(--ui-header),0 18px 32px #0005;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .16s ease-out}.card-frame img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .25s}.card-frame img.loaded{opacity:1}.card-frame.is-loaded.effects-active img{animation:reveal .5s ease-out both}@keyframes reveal{from{opacity:0;scale:.985}to{opacity:1;scale:1}}
.card-frame::after{content:"";position:absolute;z-index:4;inset:-35% -90%;pointer-events:none;background:linear-gradient(115deg,transparent 43%,rgba(255,246,227,.06) 47%,rgba(255,246,227,.32) 50%,rgba(238,214,67,.09) 53%,transparent 57%);transform:translateX(-65%);opacity:0}.card-frame.is-loaded::after{animation:card-shimmer 11s ease-in-out infinite;animation-play-state:paused}.card-frame.is-loaded.effects-active::after{animation-play-state:running}@keyframes card-shimmer{0%{transform:translateX(-65%);opacity:0}2%{opacity:1}15%{transform:translateX(65%);opacity:0}100%{transform:translateX(65%);opacity:0}}
.card-skeleton{position:absolute;z-index:2;inset:0;padding:12%;display:grid;grid-template-rows:45% 8% 1fr;gap:7%;background:linear-gradient(110deg,var(--ui-panel) 35%,var(--ui-raised) 50%,var(--ui-panel) 65%);background-size:240% 100%;animation:shine 1.4s linear infinite;animation-play-state:paused}.effects-active .card-skeleton{animation-play-state:running}.card-frame.is-loaded .card-skeleton,.card-frame.is-error .card-skeleton{display:none!important}.card-skeleton span{border-radius:8px;background:#ffffff12}@keyframes shine{to{background-position-x:-240%}}.card-image-error{position:absolute;z-index:3;inset:0;display:none;place-content:center;gap:12px;padding:16px;background:var(--ui-panel);text-align:center}.card-frame.is-error .card-image-error{display:grid}.card-image-error b{font-size:16px}.card-image-error a{color:var(--ui-accent);font-size:13px;line-height:1.4;min-height:44px;display:grid;place-content:center}
.actions{width:min(100%,390px);display:grid;grid-template-columns:1.25fr .75fr;gap:8px;margin-top:16px}.primary-action,.secondary-action{min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:9px;font:inherit;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}.primary-action{border:1px solid var(--ui-accent);background:var(--ui-accent);color:var(--ui-on-accent)}.primary-action:hover{background:var(--ui-accent-hover)}.secondary-action{border:1px solid var(--ui-line);background:var(--ui-input);color:var(--ui-text)}.secondary-action:hover{background:var(--ui-raised)}footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:var(--ui-header);color:var(--ui-muted);text-align:center;font-size:11px;line-height:1.5}footer a{color:var(--ui-text);text-underline-offset:3px}.toast{position:fixed;z-index:50;left:50%;bottom:32px;transform:translate(-50%,10px);padding:10px 14px;border-radius:8px;background:var(--ui-text);color:var(--ui-header);font-size:14px;font-weight:600;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 24px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-height:650px){body{grid-template-rows:48px minmax(0,1fr) auto}main{padding:9px 16px}.draw-clock{margin:7px auto 11px}.card-aura{width:min(70vw,calc((100dvh - 275px)*.716),330px)}.actions{margin-top:12px}}
@media(orientation:landscape) and (max-height:520px){.draw-clock{margin:0 auto 10px}.card-aura{width:min(40vw,calc((100dvh - 220px)*.716),300px)}main{padding:8px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.card-frame{transform:none!important}.card-frame::after{display:none}.card-frame img.loaded{opacity:1}}

/* Shared Token Maker shell: exact chevron artwork and disclosure styling. */
body { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22288%22%20height%3D%22288%22%20viewBox%3D%220%200%20288%20288%22%3E%3Cg%20fill%3D%22%230B4566%22%3E%3Cpath%20d%3D%22M-144%20-144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M0%20-144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M144%20-144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M288%20-144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M432%20-144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M-144%200%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M0%200%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M144%200%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M288%200%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M432%200%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M-144%20144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M0%20144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M144%20144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M288%20144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M432%20144%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M-144%20288%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M0%20288%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M144%20288%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M288%20288%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M432%20288%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M-144%20432%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M0%20432%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M144%20432%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M288%20432%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3Cpath%20d%3D%22M432%20432%20h96%20v48%20l-96%2096%20v-96%20h-48%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-size: 288px 288px; background-repeat: repeat; }
body{grid-template-rows:68px minmax(0,1fr) auto}
.app-header.studio-header{min-height:68px;height:68px;padding:10px clamp(12px,3vw,42px);gap:12px;display:flex;flex-wrap:nowrap;justify-content:flex-start;background:var(--ui-header)}
.studio-header .brand{min-width:0}.studio-header .brand-mark{flex-shrink:0}
.header-actions{display:flex;align-items:center;gap:12px;margin-left:auto;position:relative;flex-shrink:0}
.header-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--ui-line);border-radius:10px;color:var(--ui-text);background:var(--ui-input);cursor:pointer}
.header-menu-toggle:hover,.header-menu-toggle[aria-expanded="true"]{background:var(--ui-raised);border-color:var(--ui-text)}
.studio-header .header-menu-panel{display:grid;position:absolute;top:calc(100% + 12px);right:0;width:min(248px,calc(100vw - 24px));margin:0;padding:6px;gap:2px;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-panel);box-shadow:0 12px 32px #0008}
.app-header.studio-header .header-menu-panel a{display:flex;min-height:44px;align-items:center;padding:10px 12px;color:var(--ui-text);font-size:14px;text-decoration:none;border-radius:7px}
.app-header.studio-header .header-menu-panel a:hover{background:var(--ui-raised)}

.studio-header .header-menu-panel[hidden]{display:none}
.site-footer{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(150px,.7fr);gap:12px 32px;align-items:start;padding:16px clamp(16px,4vw,64px) calc(12px + env(safe-area-inset-bottom));background:var(--ui-header);color:var(--ui-muted);font-size:14px;line-height:1.6;text-align:left;border-top:1px solid var(--ui-line)}
.footer-information{display:grid;justify-items:start;align-content:start;gap:0}.footer-information h2{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--ui-text)}
.footer-information a{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:6px 0;border:0;border-radius:3px;background:transparent;color:var(--ui-text);font:inherit;font-weight:550;text-align:left;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.footer-information a:hover{color:var(--ui-accent)}.footer-legal{grid-column:1/-1;margin:0;border-top:1px solid var(--ui-line);padding-top:10px;font-size:13px;line-height:1.65}.footer-legal a{color:var(--ui-text)}
.card-aura{width:min(76vw,calc(var(--card-space,100dvh - 430px)*.716),390px)}
@media(max-width:480px){.site-footer{gap:10px 20px;padding-top:12px}.brand b{font-size:12px}.brand small{font-size:9px}}
@media(orientation:landscape) and (max-height:520px){.site-footer{grid-template-columns:auto auto;gap:8px 24px}.footer-information{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px}.footer-information h2{margin:0}.card-aura{width:min(40vw,calc(var(--card-space,100dvh - 300px)*.716),300px)}}

.shared-brand-mark{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0}

/* Staging sister-page footer: restore the shared brand mark, no description. */
.site-footer{grid-template-columns:minmax(0,1.5fr) minmax(130px,.6fr) minmax(150px,.7fr)}
.footer-brand{display:flex;align-items:center;gap:16px;max-width:640px;min-width:0}.footer-brand img{display:block;flex:0 0 auto;width:80px;height:auto;max-width:100%}.footer-brand>div{min-width:0}.footer-brand strong{display:block;color:var(--ui-text);font-size:20px;font-weight:750;overflow-wrap:anywhere}
@media(max-width:640px){.site-footer{grid-template-columns:minmax(100px,.6fr) minmax(150px,.7fr);gap:12px 20px}.footer-brand{grid-column:1/-1;gap:12px}.footer-brand img{width:64px}.footer-brand strong{font-size:18px}}

/* Shared sister-page shell: keep this block identical on both pages. */
.app-header.studio-header .header-menu-panel a[aria-current="page"] { box-shadow: none; font-weight: inherit; }
.app-header.studio-header .header-menu-panel a:hover { background: var(--ui-raised); }
.site-footer { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(130px,.6fr) minmax(150px,.7fr); gap: 22px 32px; align-items: start; padding: 28px clamp(16px,4vw,64px); border-top: 1px solid var(--ui-line); background: var(--ui-header); color: var(--ui-muted); font-size: 14px; line-height: 1.6; text-align: left; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; max-width: 640px; min-width: 0; }
.footer-brand img { display: block; flex: 0 0 auto; width: 80px; height: auto; max-width: 100%; }
.footer-brand > div { min-width: 0; }
.footer-brand strong { display: block; color: var(--ui-text); font-size: 20px; font-weight: 750; overflow-wrap: anywhere; }
.footer-brand p { margin: 5px 0 0; max-width: 49ch; line-height: 1.5; }
.footer-information { display: grid; justify-items: start; align-content: start; gap: 0; }
.footer-information h2 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ui-text); }
.footer-information a, .footer-information button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 6px 0; border: 0; border-radius: 3px; background: transparent; color: var(--ui-text); font: inherit; font-weight: 550; text-align: left; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-information a:hover, .footer-information button:hover { color: var(--ui-accent); }
.footer-contact a { gap: 8px; }
.footer-legal { grid-column: 1 / -1; margin: 0; border-top: 1px solid var(--ui-line); padding-top: 16px; font-size: 13px; line-height: 1.65; }
.footer-legal a { color: var(--ui-text); }
@media (max-width: 760px) { .site-footer { grid-template-columns: repeat(2,minmax(0,1fr)); } .footer-brand, .footer-legal { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer { gap: 24px; } .footer-brand { gap: 12px; } .footer-brand img { width: 64px; } }
@media (max-width: 420px) { .site-footer { grid-template-columns: minmax(0,1fr); } }

/* Compact sister-site footer, matching RiftDraw without shrinking tap targets. */
.site-footer.compact-footer { gap: 12px 32px; padding-top: 18px; padding-bottom: 18px; }
.compact-footer .footer-brand-compact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.compact-footer .footer-wordmark { display: flex; align-items: center; width: 188px; max-width: 100%; min-height: 44px; }
.compact-footer .footer-wordmark img { width: 100%; height: auto; max-width: 100%; }
.compact-footer .footer-brand-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compact-footer .footer-brand p { margin: 0; max-width: 49ch; font-size: 13px; line-height: 1.5; }
.compact-footer .footer-information { min-width: 0; }
.compact-footer .footer-information h2 { font-size: 16px; overflow-wrap: anywhere; }
.compact-footer .footer-information a, .compact-footer .footer-information button { min-height: 44px; line-height: 1.45; }
@media (max-width: 760px) {
  .site-footer.compact-footer { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
  .compact-footer .footer-brand, .compact-footer .footer-legal { grid-column: 1 / -1; }
  .compact-footer .footer-wordmark { width: 160px; }
}
/* End shared sister-page shell. */

/* Let the page scroll instead of shrinking the card to fit the entire footer.
   The containing main includes phone gutters; leave room for the frame shadow. */
.card-aura { width: min(calc(100% - 8px), 390px); min-width: 0; }
@media (orientation: landscape) and (max-height: 520px) {
  .card-aura { width: min(calc(100% - 8px), 300px); }
}

/* Daily identity: retain the compact shared header and original PNG proportions. */
.studio-header .brand { flex: 0 1 204px; }
.studio-header .daily-brand-wordmark {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  object-fit: contain;
}

/* Shared sister-site navigation: logos decorate, labels remain accessible. */
.app-header.studio-header .header-menu-panel .site-nav-link { gap: 10px; }
.site-nav-icon { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
.site-nav-label { flex: 1; min-width: 0; }
.site-nav-current { flex: 0 0 auto; font-size: 11px; color: var(--ui-muted); }
.app-header.studio-header .header-menu-panel a:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: -2px; background: var(--ui-raised); }
.app-header.studio-header .header-menu-panel a:active { background: var(--ui-raised); }
.app-header.studio-header .header-menu-panel .site-nav-disabled { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ui-muted); font: inherit; font-size: 14px; text-align: left; cursor: default; opacity: .65; }
.site-nav-disabled .site-nav-icon { filter: grayscale(1); }
.site-nav-status { flex: 0 0 auto; font-size: 11px; white-space: nowrap; }
