#bday-creator{--bc-bg:#fff;--bc-ink:#20221e;--bc-soft:#f6f3ed;--bc-line:#e7e1d7;--bc-accent:#90651f;color:var(--bc-ink);background:var(--bc-bg);border:1px solid var(--bc-line);border-radius:22px;padding:0;width:min(980px,94vw);max-height:92dvh;box-shadow:0 24px 100px #0005;overflow:hidden;font-family:inherit}#bday-creator::backdrop{background:#10120fb8;backdrop-filter:blur(5px)}[data-theme=dark] #bday-creator{--bc-bg:#22231f;--bc-ink:#faf8f3;--bc-soft:#30312b;--bc-line:#44463d;--bc-accent:#f2d18f}#bday-creator[open]{display:flex;flex-direction:column}#bday-creator [hidden]{display:none!important}#bday-creator *{box-sizing:border-box}#bday-creator button,#bday-creator input,#bday-creator textarea,#bday-creator select{font:inherit}#bday-creator button{cursor:pointer}#bday-creator button:disabled{opacity:.55;cursor:wait}#bday-creator :focus-visible{outline:3px solid #bd882f;outline-offset:3px}#bday-creator .icon{display:inline-flex;width:24px;height:24px;flex-shrink:0}#bday-creator svg{width:100%;height:100%}.bc-header{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--bc-line);flex-shrink:0}.bc-header h2{margin:0;font-size:20px}.bc-header button{border:0;background:transparent;color:inherit;display:grid;place-items:center;width:40px;height:40px;border-radius:50%}.bc-header button:hover{background:var(--bc-soft)}.bc-body{padding:28px;overflow:auto;overscroll-behavior:contain}.bc-intro{margin:0 0 20px;color:var(--bc-accent)}.bc-menu{display:grid;gap:4px}.bc-menu a{display:flex;align-items:center;gap:20px;padding:20px 16px;text-decoration:none;color:inherit;border-radius:14px}.bc-menu a:hover{background:var(--bc-soft)}.bc-menu a>.icon:first-child{width:32px;height:32px}.bc-menu a>span:not(.icon){flex:1}.bc-menu strong,.bc-menu small{display:block}.bc-menu strong{font-size:21px}.bc-menu small{margin-top:4px;font-size:14px;opacity:.7}.bc-primary,.bc-secondary{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border-radius:10px;font-weight:650;border:0}.bc-primary{background:#24271f;color:white}.bc-primary:hover{background:#494430}.bc-secondary{background:var(--bc-soft);color:var(--bc-ink)}.bc-drafts{margin:22px 0 0}.bc-drop{padding:54px 24px;text-align:center;border:1px dashed #bea779;border-radius:16px;background:var(--bc-soft);display:flex;flex-direction:column;align-items:center;gap:12px}.bc-drop.dragging{outline:3px solid #bd882f}.bc-drop>.icon{width:64px!important;height:64px!important;color:var(--bc-accent)}.bc-drop h3{margin:8px 0 0;font-size:24px}.bc-drop p{margin:0;max-width:400px;font-size:14px;opacity:.75}.bc-drop>span:last-child{font-size:13px;opacity:.65}.bc-select-actions{display:flex;gap:12px;justify-content:center;margin-top:20px}.bc-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,1fr);gap:28px}.bc-preview{background:#10120f;min-height:300px;height: min(52dvh,500px);display:grid;place-items:center;border-radius:12px;overflow:hidden}.bc-preview img,.bc-preview video,.bc-preview canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.bc-tools{display:flex;flex-direction:column;gap:16px}.bc-tools h3{font-size:19px;margin:0}.bc-body label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}.bc-body input:not([type=checkbox]):not([type=color]):not([type=file]),.bc-body select,.bc-body textarea{width:100%;border:1px solid var(--bc-line);background:var(--bc-bg);color:var(--bc-ink);padding:11px 12px;border-radius:8px;font-size:16px}.bc-body textarea{resize:vertical}.bc-body input[type=color]{width:60px;height:36px;border:0}.bc-body .bc-check{flex-direction:row;align-items:center;margin:14px 0;font-weight:400}.bc-check input{width:18px;height:18px;accent-color:#90651f}.bc-trim{display:flex;gap:12px}.bc-trim label{min-width:0}.bc-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 0}.bc-thumbs button{flex:none;width:60px;height:60px;background:var(--bc-soft);color:inherit;border:2px solid transparent;border-radius:8px;padding:2px}.bc-thumbs button[aria-pressed=true]{border-color:#bd882f}.bc-thumbs img,.bc-thumbs video{width:100%;height:100%;object-fit:cover;border-radius:4px}.bc-footer{display:flex;justify-content:space-between;padding:16px 28px;border-top:1px solid var(--bc-line);flex-shrink:0}.bc-details{display:grid;grid-template-columns:1fr 1fr;gap:28px}.bc-details>div:last-child{display:flex;flex-direction:column;gap:20px}.bc-summary{background:#10120f;border-radius:12px;min-height:260px;display:grid;place-items:center;overflow:hidden;max-height:440px}.bc-summary img,.bc-summary video,.bc-summary canvas{max-width:100%;max-height:440px;object-fit:contain}.bc-summary p{color:white;padding:24px;white-space:pre-wrap;overflow-wrap:anywhere}.bc-note{font-size:13px;line-height:1.6;opacity:.7;margin:0}.bc-body details summary{cursor:pointer;font-weight:600}.bc-result{text-align:center;padding:40px 15px}.bc-result>.icon{width:64px!important;height:64px!important;color:var(--bc-accent)}.bc-result h3{font-size:26px}.bc-result progress{width:min(100%,420px);accent-color:#a57a30}.bc-result p{max-width:450px;margin:20px auto}.bc-live-preview{min-height:360px;background:#10120f;border-radius:14px;position:relative;overflow:hidden;color:white;display:grid;place-items:center}.bc-live-preview video{width:100%;max-height:500px;transform:scaleX(-1)}.bc-live-preview span{position:absolute;bottom:20px;background:#0009;padding:8px 16px;border-radius:20px;font-size:13px}#bc-status{margin:16px 0 0;font-size:14px;line-height:1.5;color:var(--bc-accent)}#bc-status:empty{display:none}.evo-dock-post{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#24271f!important;color:#fff!important}.evo-dock-post svg{width:25px;height:25px}@media(max-width:600px){#bday-creator{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;border:0}.bc-header{padding:10px 12px}.bc-body{padding:18px;flex:1}.bc-workspace,.bc-details{grid-template-columns:1fr;gap:20px}.bc-preview{height:44dvh;min-height:230px}.bc-tools{gap:12px}.bc-tools>h3{margin-top:4px}.bc-footer{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}.bc-drop{padding:54px 15px}.bc-menu a{padding:20px 8px;gap:16px}.bc-menu small{font-size:13px}.bc-summary{min-height:160px;max-height:240px}.bc-summary img,.bc-summary video,.bc-summary canvas{max-height:240px}.bc-select-actions{flex-wrap:wrap}.evo-dock-actions{gap:5px!important}.evo-dock-post{width:38px;height:38px}.bc-live-preview{min-height:300px}}
.bc-preview,.bc-summary{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.bc-preview canvas,.bc-preview img,.bc-preview video{min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}.bc-summary canvas,.bc-summary img,.bc-summary video{min-width:0;min-height:0;width:100%;height:100%;object-fit:contain}

/* The Create launcher uses the warm gold and botanical tones of the social theme. */
#bday-creator:has([data-screen="menu"]:not([hidden])) {
  width:min(700px,96vw);
  --tile-gold:#eed399; --tile-gold-ink:#322511;
  --tile-leaf:#425a4c; --tile-leaf-ink:#fff;
  --tile-stone:#ede9df; --tile-stone-ink:#292820;
}
[data-theme="dark"] #bday-creator:has([data-screen="menu"]:not([hidden])) {
  --tile-gold:#725622; --tile-gold-ink:#fff6e3;
  --tile-leaf:#324b40; --tile-leaf-ink:#effaf3;
  --tile-stone:#383831; --tile-stone-ink:#faf7ee;
}
#bday-creator .bc-menu {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#bday-creator .bc-menu a {
  display:grid;grid-template-rows:1fr auto;align-items:center;gap:6px;
  min-width:0;min-height:118px;padding:14px 12px 10px;border-radius:2px;
  color:var(--tile-stone-ink);background:var(--tile-stone);text-decoration:none;
}
#bday-creator .bc-menu a:nth-child(3n+1) {color:var(--tile-gold-ink);background:var(--tile-gold)}
#bday-creator .bc-menu a:nth-child(3n+2) {color:var(--tile-leaf-ink);background:var(--tile-leaf)}
#bday-creator .bc-menu a>.icon {width:34px;height:34px;justify-self:center}
#bday-creator .bc-menu strong {font-family:inherit;font-weight:600;font-size:.94rem;line-height:1.2;overflow-wrap:anywhere}
#bday-creator .bc-menu a:hover {box-shadow:inset 0 0 0 2px currentColor}
#bday-creator .bc-menu a:focus-visible {outline:3px solid var(--bc-ink);outline-offset:1px;z-index:1}
#bday-creator .bc-library-link {display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;color:var(--bc-ink)}
#bday-creator .bc-library-link .icon {width:18px;height:18px}
@media(max-width:650px) {
  #bday-creator:has([data-screen="menu"]:not([hidden])) {width:min(100%,480px);height:auto;max-height:94dvh}
  #bday-creator .bc-menu {grid-template-columns:repeat(2,minmax(0,1fr))}
  #bday-creator .bc-menu a {min-height:98px}
}
