.mogar-postcards{--pc-bg:#101522;--pc-ink:#e0e7fa;--pc-accent:#8dace0;box-sizing:border-box;width:min(92vw,760px);max-height:90dvh;padding:24px;border:1px solid var(--pc-accent);border-radius:16px;background:var(--pc-bg);color:var(--pc-ink);font:15px/1.5 system-ui,sans-serif;overflow:auto;touch-action:auto;box-shadow:0 24px 100px #0009}
.mogar-postcards-2004{--pc-bg:#17130f;--pc-ink:#e9d6af;--pc-accent:#bd9259}
.mogar-postcards::backdrop{background:#05070cbf}
.mogar-postcards *{box-sizing:border-box}
.mogar-postcards header{display:flex;gap:16px;justify-content:space-between;align-items:flex-start}
.mogar-postcards h2{margin:0;font:32px/1.2 Georgia,serif}.mogar-postcards p{margin:12px 0}
.mogar-postcards .mogar-postcard-eyebrow{margin:0 0 6px;color:var(--pc-accent);font-size:10px;letter-spacing:2px}
.mogar-postcards button{min-height:44px;padding:10px 16px;border:1px solid var(--pc-accent);border-radius:8px;background:transparent;color:var(--pc-ink);font:inherit;cursor:pointer;touch-action:manipulation}
.mogar-postcards button:focus-visible,.mogar-postcards input:focus-visible{outline:2px solid var(--pc-accent);outline-offset:3px}
.mogar-postcards button:disabled{opacity:.4;cursor:default}
.mogar-postcards [data-action="capture"]{background:var(--pc-accent);color:var(--pc-bg);font-weight:700}
.mogar-postcard-fields{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin:16px 0}
.mogar-postcards label{display:grid;gap:6px;font-size:12px;color:var(--pc-accent)}
.mogar-postcards input{width:100%;min-height:44px;border:1px solid #ffffff30;border-radius:6px;background:#ffffff08;padding:10px;color:var(--pc-ink);font:16px system-ui,sans-serif;user-select:text;-webkit-user-select:text}
.mogar-postcard-preview{display:grid;place-items:center;min-height:180px;max-height:48dvh;border:1px dashed #ffffff30;border-radius:8px;overflow:auto;background:#0004;text-align:center}
.mogar-postcard-preview img{display:block;max-width:100%;height:auto}.mogar-postcard-preview [hidden]{display:none}
.mogar-postcards .mogar-postcard-status{min-height:24px;font-size:13px;color:var(--pc-accent)}
.mogar-postcards footer{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.mogar-postcards small{display:block;font-size:11px;opacity:.75}
@media(max-width:520px){.mogar-postcards{padding:18px;width:95vw}.mogar-postcard-fields{grid-template-columns:1fr;gap:10px}.mogar-postcards h2{font-size:28px}.mogar-postcards footer button{flex:1}.mogar-postcard-preview{min-height:120px;max-height:38dvh}}
