/* Orange look for the template pages (wedding/, kids/, reels/), Amer 2026-12-01: the same white + orange style as the
   homepage instead of the old violet sky with stars. Loaded last on each page, so it only overrides colours and surfaces.
   The invite designs themselves (the video) are not touched. */
:root {
  --green: #ff7a00; --green-d: #d95f00; --lime: #ff9a2e; --brown: #ffb15c;
  --ink: #262626; --muted: #6f6a66;
}
/* background: white with halftone dots that fade out, no sky video, no floating stars */
.bg { background: #ffffff; }
.bg-video, .floaters { display: none !important; }
.bg::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 122, 0, .5) 1.5px, transparent 1.8px); background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(45% 40% at 0% 0%, #000 0%, transparent 100%), radial-gradient(50% 45% at 100% 100%, #000 0%, transparent 100%);
  mask-image: radial-gradient(45% 40% at 0% 0%, #000 0%, transparent 100%), radial-gradient(50% 45% at 100% 100%, #000 0%, transparent 100%); }
.loading { color: var(--ink); }

/* the page card */
.ed { background: #ffffff; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: 0 24px 60px rgba(120, 60, 0, .1); }
.back { background: #fff; border: 1.5px solid rgba(255, 122, 0, .35); color: var(--ink); }
.logo-mark { border-radius: 50%; background: var(--green); box-shadow: 0 6px 16px rgba(255, 122, 0, .35); }
.kicker { background: #fff3e6; color: #b85400; }
.ed-head h1 { color: var(--ink); }
/* Amer: the sections are white with an orange stroke, and so are the fields inside them */
.group { background: #ffffff; border: 1.5px solid rgba(255, 122, 0, .45); }
.field input { background: #fff; border: 1.5px solid rgba(255, 122, 0, .4); }
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(255, 122, 0, .16); }
.replay, .quality button, .sw, .ds, .cos { background: #fff; }
.ds.on, .cos.on { box-shadow: 0 0 0 4px rgba(255, 122, 0, .18); }
.designs > .glider, .kd-costumes > .glider { box-shadow: 0 0 0 4px rgba(255, 122, 0, .2), 0 10px 24px rgba(160, 70, 0, .16); }
.swatches, .seg, .voices { background: #fff3e6; border-color: rgba(255, 122, 0, .14); box-shadow: none; }
.swatches > .glider, .seg > .glider { box-shadow: 0 6px 16px rgba(120, 60, 0, .12), inset 0 0 0 2px var(--green); }
.toggle input:checked + .knob { background: var(--green); }

/* voices: an orange pill under the picked voice */
.voices > .glider, .vc.on { background: linear-gradient(135deg, #ffa23f, #ff7a00 55%, #f06400); box-shadow: 0 10px 24px rgba(255, 122, 0, .4); }
.vlk svg { stroke: var(--green); }
/* Amer: the voices must look special even when not picked: each is its own white card with an orange stroke,
   a round orange "mic" badge whose bars breathe slowly, and a lift on hover */
.voices { background: transparent; border: 0; padding: 0; gap: 10px; }
.voices .vc:not(.on) { background: #fff; border: 1.5px solid rgba(255, 122, 0, .45); box-shadow: 0 10px 22px rgba(120, 60, 0, .08); }
.voices .vc:not(.on):hover { border-color: var(--green); box-shadow: 0 14px 28px rgba(255, 122, 0, .18); transform: translateY(-3px); }
.vc { padding: 16px 6px 12px; gap: 5px; }
.vc .wave { display: flex; align-items: center; justify-content: center; gap: 3px; width: 42px; height: 42px; margin: 0 auto 4px; border-radius: 50%;
  color: #fff; background: radial-gradient(circle at 35% 30%, #ffb04d, #ff7a00 60%, #ec6500); box-shadow: 0 8px 16px rgba(255, 122, 0, .35); }
.vc .wave i { opacity: 1; animation: wvIdle 1.8s ease-in-out infinite; }
.vc .wave i:nth-child(2) { animation-delay: .2s; } .vc .wave i:nth-child(3) { animation-delay: .4s; } .vc .wave i:nth-child(4) { animation-delay: .6s; } .vc .wave i:nth-child(5) { animation-delay: .8s; }
@keyframes wvIdle { 50% { transform: scaleY(1.35); } }
.vc.on .wave { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.vc.on .wave i { animation: wv .9s ease-in-out infinite; }
.vc b { font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .vc .wave i { animation: none; } }

/* upload drop zones */
.drop, .drop.mini { border-color: rgba(255, 122, 0, .55); background: linear-gradient(180deg, #ffffff, #fff4ea); }
.drop:hover, .drop.over, .drop.mini:hover, .drop.mini.over { background: linear-gradient(180deg, #ffffff, #ffe9d6); }
.ffront { background: linear-gradient(180deg, #ffa23f, #ff7a00); box-shadow: 0 10px 22px rgba(255, 122, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .45); }
.fcard svg { stroke: var(--green); }
.pick { background: var(--green); box-shadow: 0 8px 20px rgba(255, 122, 0, .4); }
.bar, .drop.mini .bar { background: rgba(255, 122, 0, .15); }
.bar i, .drop.mini .bar i { background: linear-gradient(90deg, #ffa23f, #ff7a00); }
.sl input { accent-color: var(--green); }
.kd-tools button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green) inset; }
.ds.lock > span:last-child { color: #8a6416; }
/* the costume ring on the kids page */
.kr .ph { background: #fff1e4; box-shadow: 0 16px 32px rgba(120, 50, 0, .22); }
.kr.on:not(.lock) .ph { border-color: #ffb15c; box-shadow: 0 0 0 4px rgba(255, 122, 0, .45), 0 16px 32px rgba(120, 50, 0, .25); }
.kr b { background: #fff; box-shadow: 0 2px 8px rgba(120, 60, 0, .12); }
/* reels page kicker: orange instead of the gold strip */
.reels .kicker { background: #fff3e6; color: #b85400; }
/* the download button while it waits for a photo: a soft orange, not grey-brown */
.dl[disabled] { filter: none; opacity: .55; }

/* the download bar */
.dl-bar { background: rgba(255, 255, 255, .94); border-color: rgba(255, 122, 0, .15); box-shadow: 0 16px 40px rgba(120, 60, 0, .16); }
.dl { background: var(--green); box-shadow: 0 6px 0 var(--green-d); }
.dl:active { box-shadow: 0 3px 0 var(--green-d); }

/* the premium window keeps its dark glass, its light turns warm */
.plan-glow { background: radial-gradient(circle at 35% 35%, #ffb04d 0%, rgba(255, 176, 77, 0) 55%), radial-gradient(circle at 70% 65%, #ff6a00 0%, rgba(255, 106, 0, 0) 55%); }
.plan ul li i, .plan li i { background: linear-gradient(135deg, #ffa23f, #ff7a00); box-shadow: 0 8px 20px rgba(255, 122, 0, .4); }
.plan-go::after { background: linear-gradient(110deg, transparent 35%, rgba(255, 122, 0, .28) 50%, transparent 65%) 140% 0 / 260% 100% no-repeat; }
