/* The account pages, in the website's colours. */
:root { --bg: #0e1014; --panel: #16191f; --line: #2a2f3a; --ink: #e9e6df; --muted: #9aa0ab; --gold: #d8b46c; --gold-hi: #f6e2a8; --gold-lo: #a47a2c; --bad: #e58a7a; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, "Segoe UI", system-ui, sans-serif; }
a { color: var(--gold); }
.top { padding: 22px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.top { position: relative; }
.top-link { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.top-link:hover { color: var(--gold); }
#f-contact .two { align-items: start; }
/* Inside the studio's Contact us window. */
.embed { color-scheme: dark; }
.embed body { background: transparent; }
.embed .top { display: none; }
.embed main { padding: 0; }
.embed .card { margin: 0; }
.embed .notice { margin: 0; border-radius: 16px 16px 0 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .top-link { position: static; transform: none; display: block; margin-top: 8px; } }
.brand { font: 600 1.5rem Georgia, "Times New Roman", serif; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.brand b { color: var(--gold); font-weight: 600; }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.card { max-width: 420px; margin: 0 auto 20px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.card.wide { max-width: 760px; }
h1, h2 { margin: 0 0 14px; font: 500 1.8rem/1.2 Georgia, "Times New Roman", serif; }
h2 { font-size: 1.4rem; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small, small { font-size: 0.85rem; }
small { display: block; margin-top: 4px; color: var(--muted); }
form { display: grid; gap: 14px; margin-top: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } .card { padding: 22px 18px; } }
label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
input, textarea { width: 100%; padding: 11px 12px; background: #0b0d10; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font: inherit; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
button, .button { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 0.95rem inherit; font-family: inherit; cursor: pointer; text-decoration: none; }
button.primary, .button.primary { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold-lo); color: #1a1408; }
button:disabled { opacity: 0.55; cursor: default; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: 0.92rem; }
.plans { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
.plans h2 { font-size: 1.05rem; margin: 0 0 6px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.btns input { width: 76px; padding: 9px 10px; }
.notice { max-width: 760px; margin: 0 auto 18px; padding: 12px 16px; border: 1px solid var(--gold-lo); border-radius: 12px; background: rgba(216, 180, 108, 0.08); }
.notice.bad { border-color: var(--bad); background: rgba(229, 138, 122, 0.08); color: #f3c0b6; }
.app { padding: 18px 0; border-top: 1px solid var(--line); }
.app header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.app b { font-size: 1.05rem; }
.app .makes { white-space: pre-wrap; overflow-wrap: anywhere; }
.app p { overflow-wrap: anywhere; }
.tag { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.app.pending .tag { border-color: var(--gold-lo); color: var(--gold); }
[hidden] { display: none !important; }
/* Plans, credits, people, profile, logo. */
.toggle button[aria-pressed='true'] { border-color: var(--gold); color: var(--gold); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
@media (max-width: 700px) { .tiers { grid-template-columns: 1fr; } }
.tier { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.tier.now { border-color: var(--gold); }
.tier b { font: 500 1.15rem Georgia, "Times New Roman", serif; }
.tier .price { font-size: 1.35rem; font-weight: 600; }
.tier ul { margin: 4px 0 8px; padding-left: 18px; color: var(--muted); font-size: 0.88rem; }
.tier button { margin-top: auto; }
.row { grid-template-columns: 1fr 1.4fr auto; align-items: end; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.people { display: grid; gap: 10px; margin-top: 10px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.person .who { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: #232833; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gold); }
.avatar.big { width: 88px; height: 88px; font-size: 1.6rem; }
.profile { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
@media (max-width: 600px) { .profile { grid-template-columns: 1fr; } }
.avatar-pick { display: grid; gap: 8px; justify-items: center; }
.button.small, button.small { padding: 7px 12px; font-size: 0.82rem; }
.logo-preview { max-width: 280px; max-height: 120px; background: #fff; padding: 8px; border-radius: 8px; }
.note-link { padding: 12px; border: 1px dashed var(--gold-lo); border-radius: 10px; overflow-wrap: anywhere; font-size: 0.88rem; }
#a-setup-out { white-space: pre-wrap; }

/* Storage for saved designs: how full it is. */
.roombar { height: 8px; margin: 10px 0; border-radius: 4px; background: var(--line); overflow: hidden; }
.roombar > span { display: block; height: 100%; width: 0; background: #c9a85c; transition: width .4s; }
.roombar > span.full { background: #d9694f; }
