    :root { color-scheme: light; --ink:#2e2140; --muted:#716783; --paper:#fffaf1; --cream:#f4e7d2; --cream-deep:#ead2af; --purple:#6b3fa0; --purple-dark:#45206c; --lavender:#efe6fb; --line:#dfcfbd; --rose:#a53a5d; --shadow:0 14px 34px rgba(69,32,108,.12); --radius:1.2rem; }
    * { box-sizing:border-box; } html { min-height:100%; background:var(--cream); } body { margin:0; min-height:100vh; font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--ink); background:radial-gradient(circle at 10% 0, var(--glow) 0 23%, transparent 45%),var(--paper); }
    a { color:var(--purple-dark); text-underline-offset:3px; } a:hover { color:var(--purple); } :focus-visible { outline:3px solid #edaa3b; outline-offset:3px; } .skip { position:absolute; left:1rem; top:-4rem; z-index:5; padding:.55rem .8rem; background:var(--ink); color:var(--paper); border-radius:.4rem; } .skip:focus { top:1rem; }
    .site-header { border-bottom:1px solid var(--line); background:var(--header-surface); } .nav { width:min(1120px,calc(100% - 2rem)); min-height:4.5rem; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:1rem; } .brand { display:flex; align-items:center; gap:.55rem; color:var(--ink); font-weight:800; font-size:1.24rem; text-decoration:none; letter-spacing:-.03em; } .brand-mark { width:1.75rem; height:1.75rem; display:grid; place-items:center; color:var(--button-ink); background:var(--purple); border-radius:50% 50% 48% 15%; transform:rotate(-14deg); } .nav-links { display:flex; align-items:center; gap:.8rem; flex-wrap:wrap; } .nav-links a,.nav-links button { font:inherit; } .nav-links a { text-decoration:none; padding:.35rem .25rem; } .nav-links form { margin:0; } .link-button { padding:.35rem .25rem; color:var(--purple-dark); border:0; border-bottom:1px solid currentColor; background:none; cursor:pointer; } .pill { display:inline-grid; min-width:1.25rem; height:1.25rem; place-items:center; padding:0 .3rem; border-radius:99px; background:var(--purple); color:var(--button-ink); font-size:.75rem; } .pill[hidden] { display:none; } .notification-toast { width:min(1120px,calc(100% - 2rem)); margin:0 auto 1rem; padding:.65rem .9rem; border:1px solid var(--accent-line); border-radius:.7rem; background:var(--notification-surface); color:var(--purple-dark); font-size:.92rem; box-shadow:0 6px 18px rgba(69,32,108,.1); }
    main { width:min(1120px,calc(100% - 2rem)); margin:0 auto; padding:2.6rem 0 4rem; } .hero { display:grid; grid-template-columns:1.2fr .8fr; gap:3rem; align-items:center; min-height:26rem; } h1,h2,h3,p { margin-top:0; } h1 { max-width:12ch; margin-bottom:1rem; font-size:clamp(2.35rem,6vw,4.7rem); line-height:1.04; letter-spacing:-.065em; } h2 { font-size:clamp(1.6rem,3vw,2.25rem); line-height:1.12; letter-spacing:-.04em; } h3 { margin-bottom:.25rem; font-size:1.1rem; } .eyebrow { margin-bottom:.75rem; color:var(--purple); font-weight:750; letter-spacing:.075em; text-transform:uppercase; font-size:.78rem; } .lead { max-width:38rem; color:var(--muted); font-size:1.12rem; } .hero-art { position:relative; min-height:20rem; display:grid; place-items:center; overflow:hidden; border:1px solid var(--cream-deep); border-radius:3rem 1.2rem 3rem 1.2rem; background:linear-gradient(145deg,var(--hero-start),var(--hero-end)); box-shadow:var(--shadow); } .hero-art::before,.hero-art::after { content:""; position:absolute; border-radius:50%; background:var(--hero-decoration); } .hero-art::before { width:13rem; height:13rem; transform:translate(-6rem,-6rem); } .hero-art::after { width:10rem; height:10rem; transform:translate(7rem,7rem); } .coupon-stack { position:relative; z-index:1; width:min(80%,20rem); transform:rotate(-4deg); } .coupon { padding:1.1rem 1.2rem; border:1px dashed var(--accent-line); border-radius:.85rem; background:var(--surface); box-shadow:0 8px 0 var(--coupon-shadow); } .coupon + .coupon { margin-top:-.35rem; margin-left:1.2rem; transform:rotate(8deg); } .coupon b { display:block; font-size:1.3rem; } .coupon small { color:var(--muted); }
    .actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1.45rem; } .button { display:inline-flex; min-height:2.8rem; align-items:center; justify-content:center; padding:.65rem 1rem; border:1px solid var(--purple); border-radius:.75rem; background:var(--purple); color:var(--button-ink); font:700 .95rem/1 system-ui,sans-serif; text-decoration:none; cursor:pointer; box-shadow:0 3px 0 var(--button-shadow); transition:transform .16s ease,box-shadow .16s ease; } .button:hover { color:var(--button-ink); transform:translateY(1px); box-shadow:0 2px 0 var(--button-shadow); } .button.secondary { background:transparent; color:var(--purple-dark); box-shadow:none; } .button.danger { border-color:var(--rose); background:var(--rose); box-shadow:0 3px 0 var(--danger-shadow); }
    .panel { padding:clamp(1.15rem,4vw,2rem); border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); } .narrow { width:min(100%,35rem); margin:0 auto; } .section-head { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:1.25rem; } .section-head h1,.section-head h2 { margin:0; } .muted { color:var(--muted); } .notice { margin:0 0 1.15rem; padding:.8rem 1rem; border-left:4px solid var(--purple); border-radius:.45rem; background:var(--lavender); } .notice.error { border-color:var(--rose); background:var(--error-surface); color:var(--error-ink); } .warning { border-left-color:var(--warning-line); background:var(--warning-surface); }
    form { margin:0; } label { display:block; margin:1rem 0 .35rem; font-weight:700; } input,textarea,select { width:100%; padding:.72rem .8rem; border:1px solid var(--input-line); border-radius:.65rem; background:var(--input-surface); color:var(--ink); font:inherit; } textarea { min-height:7rem; resize:vertical; } .help { display:block; margin-top:.28rem; color:var(--muted); font-size:.86rem; } .form-actions { display:flex; align-items:center; gap:.9rem; flex-wrap:wrap; margin-top:1.25rem; }
    .grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(15rem,1fr)); gap:1rem; } .collection-card,.talon-card,.notification { position:relative; padding:1.1rem; border:1px solid var(--line); border-radius:1rem; background:var(--surface); } .collection-card { display:flex; flex-direction:column; } .collection-card .button { margin-top:auto; align-self:start; } .meta { margin:.2rem 0 .85rem; color:var(--muted); font-size:.92rem; } .count { display:inline-block; margin-bottom:.9rem; padding:.22rem .55rem; border-radius:99px; background:var(--lavender); color:var(--purple-dark); font-size:.85rem; font-weight:750; } .empty { padding:2.5rem 1.2rem; border:2px dashed var(--cream-deep); border-radius:var(--radius); text-align:center; background:var(--surface); } .empty h2 { margin-bottom:.5rem; }
    .two-col { display:grid; grid-template-columns:minmax(0,1fr) minmax(18rem,.72fr); gap:1.5rem; align-items:start; } .talon-list { display:grid; gap:1rem; } .talon-card { display:grid; grid-template-columns:5.5rem 1fr; gap:1rem; align-items:start; } .talon-card img { width:5.5rem; height:5.5rem; object-fit:cover; border-radius:.8rem; background:var(--lavender); } .talon-card h3 { font-size:1.22rem; } .talon-card p { margin-bottom:.7rem; } .unit-label { margin:0 0 .25rem; color:var(--purple); font-size:.8rem; font-weight:800; letter-spacing:.045em; text-transform:uppercase; } .redeemed { border-color:var(--redeemed-line); background:var(--redeemed-surface); color:var(--redeemed-ink); } .redeemed img { filter:grayscale(1) saturate(.2); opacity:.72; } .redeemed .unit-label { color:var(--redeemed-ink); } .redeemed-indicator { display:inline-block; margin:0; padding:.22rem .55rem; border:1px solid var(--redeemed-line); border-radius:99px; color:var(--redeemed-ink); font-size:.85rem; font-weight:800; } .redeemed-indicator time { font-weight:500; } .aside { position:sticky; top:1rem; }
    .picture-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; margin-top:.4rem; } .picture-choice { position:relative; display:block; margin:0; padding:.38rem; border:2px solid transparent; border-radius:.8rem; cursor:pointer; text-align:center; font-size:.8rem; font-weight:650; } .picture-choice:has(input:checked) { border-color:var(--purple); background:var(--lavender); } .picture-choice input { position:absolute; width:1px; height:1px; opacity:0; } .picture-choice img { display:block; width:100%; max-height:5rem; margin-bottom:.2rem; border-radius:.55rem; background:var(--picture-surface); } .picture-choice:focus-within { outline:3px solid #edaa3b; outline-offset:2px; }
    .share-url { display:flex; gap:.5rem; } .share-url input { min-width:0; background:var(--share-surface); } .icon-button { flex:none; padding:.5rem .7rem; border:1px solid var(--purple); border-radius:.6rem; background:var(--input-surface); color:var(--purple-dark); font:inherit; cursor:pointer; } details { margin-top:1.2rem; padding:1rem; border:1px solid var(--line); border-radius:.8rem; background:var(--details-surface); } summary { cursor:pointer; font-weight:750; } details .button { margin-top:.8rem; }
    .recipient-hero { max-width:42rem; margin:0 auto 2rem; text-align:center; } .recipient-hero h1 { max-width:none; font-size:clamp(2.1rem,6vw,3.8rem); } .recipient-grid { grid-template-columns:repeat(auto-fit,minmax(16rem,1fr)); } .talon-card.recipient { display:flex; flex-direction:column; } .talon-card.recipient img { width:100%; height:9rem; object-fit:cover; } .talon-card.recipient .button { margin-top:auto; align-self:start; } .talon-card.recipient .redeemed-indicator { align-self:start; } .exhausted { color:var(--muted); font-weight:700; } .confirm-art { width:9rem; height:9rem; margin:0 auto 1rem; display:block; border-radius:1rem; background:var(--lavender); }
    .notification { display:flex; justify-content:space-between; gap:1rem; } .notification.unseen { border-left:4px solid var(--purple); background:var(--notification-surface); } .notification time { flex:none; color:var(--muted); font-size:.86rem; } footer { width:min(1120px,calc(100% - 2rem)); margin:auto; padding:1.5rem 0 2.5rem; color:var(--muted); font-size:.9rem; }
    @media (max-width:700px) { .nav { min-height:4rem; } .nav-links { justify-content:flex-end; gap:.25rem .55rem; font-size:.92rem; } main { padding-top:1.7rem; } .hero,.two-col { grid-template-columns:1fr; gap:1.5rem; } .hero { min-height:0; } .hero-art { min-height:15rem; order:-1; } .aside { position:static; } .section-head { align-items:start; flex-direction:column; } .talon-card { grid-template-columns:4.5rem 1fr; } .talon-card img { width:4.5rem; height:4.5rem; } .picture-picker { grid-template-columns:repeat(2,1fr); } .notification { display:block; } .notification time { display:block; margin-top:.4rem; } }
    .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
    .language-form,.theme-form { display:inline-flex; align-items:center; gap:.35rem; } .language-form select,.theme-form select { width:auto; min-height:2rem; padding:.2rem .35rem; font:inherit; }
    @media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
    .gift-note { margin:0 auto 1rem; max-width:34rem; font-style:italic; color:var(--purple-dark); } .confirm-panel { text-align:center; } .centered-actions { justify-content:center; }

:root {
  --surface:#fffdf9; --input-surface:#fff; --glow:#fffdf8; --header-surface:rgba(255,250,241,.92);
  --button-ink:#fff; --button-shadow:#45206c; --danger-shadow:#76223d; --input-line:#bba9c5;
  --accent-line:#a881c9; --notification-surface:#fbf7ff; --hero-start:#f2e5ff; --hero-end:#fbe3bc;
  --hero-decoration:rgba(255,255,255,.58); --coupon-shadow:#d4b8ef;
  --error-surface:#f9e3e9; --error-ink:#711f3a; --warning-line:#bd6d12; --warning-surface:#fff1da;
  --redeemed-line:#aaa4aa; --redeemed-surface:#f2f0f0; --redeemed-ink:#514c51;
  --picture-surface:#f7eddf; --share-surface:#f6f0e9; --details-surface:#fff7e8;
}
html[data-theme="dark"] {
  color-scheme:dark;
  --ink:#f0e8f5; --muted:#c8bdd0; --paper:#211927; --cream:#17131b; --cream-deep:#6e5a77;
  --purple:#d0a5ff; --purple-dark:#e4c7ff; --lavender:#342742; --line:#72617a; --rose:#ff9bb9;
  --shadow:0 14px 34px rgba(0,0,0,.35);
  --surface:#2a2030; --input-surface:#241b2a; --glow:#30233a; --header-surface:rgba(33,25,39,.92);
  --button-ink:#211927; --button-shadow:#9b6fca; --danger-shadow:#a75a70; --input-line:#8c7897;
  --accent-line:#9272ad; --notification-surface:#30243d; --hero-start:#3d2e50; --hero-end:#49331c;
  --hero-decoration:rgba(255,255,255,.07); --coupon-shadow:#60447a;
  --error-surface:#48202b; --error-ink:#ffe5eb; --warning-line:#b9995c; --warning-surface:#45361c;
  --redeemed-line:#918696; --redeemed-surface:#353238; --redeemed-ink:#e5dfe7;
  --picture-surface:#342742; --share-surface:#241b2a; --details-surface:#332b24;
}
@media (prefers-color-scheme:dark) {
  html[data-theme="system"] {
  color-scheme:dark;
  --ink:#f0e8f5; --muted:#c8bdd0; --paper:#211927; --cream:#17131b; --cream-deep:#6e5a77;
  --purple:#d0a5ff; --purple-dark:#e4c7ff; --lavender:#342742; --line:#72617a; --rose:#ff9bb9;
  --shadow:0 14px 34px rgba(0,0,0,.35);
  --surface:#2a2030; --input-surface:#241b2a; --glow:#30233a; --header-surface:rgba(33,25,39,.92);
  --button-ink:#211927; --button-shadow:#9b6fca; --danger-shadow:#a75a70; --input-line:#8c7897;
  --accent-line:#9272ad; --notification-surface:#30243d; --hero-start:#3d2e50; --hero-end:#49331c;
  --hero-decoration:rgba(255,255,255,.07); --coupon-shadow:#60447a;
  --error-surface:#48202b; --error-ink:#ffe5eb; --warning-line:#b9995c; --warning-surface:#45361c;
  --redeemed-line:#918696; --redeemed-surface:#353238; --redeemed-ink:#e5dfe7;
  --picture-surface:#342742; --share-surface:#241b2a; --details-surface:#332b24;
  }
}

.nav { flex-wrap:wrap; padding:.65rem 0; }
.brand { flex-shrink:0; }
.nav-links { justify-content:flex-end; min-width:0; }
.language-form,.theme-form { flex-wrap:wrap; }
fieldset { min-width:0; border:0; padding:0; margin:1rem 0; }
legend { font-weight:700; }
hr { border:0; border-top:1px solid var(--line); margin:1.4rem 0; }
.confirm-art { object-fit:contain; }
.settings-grid { align-items:start; }
.settings-grid form { margin-top:1rem; }
.settings-grid .form-actions form { margin:0; }
.check { display:flex; align-items:center; gap:.45rem; }
.check input[type="checkbox"] { width:1.1rem; height:1.1rem; flex:none; margin:0; padding:0; accent-color:var(--purple); }
.status-list { display:grid; gap:.8rem; margin:0; }
.status-list div { display:flex; justify-content:space-between; gap:1rem; padding-bottom:.65rem; border-bottom:1px solid var(--line); }
.status-list dt { color:var(--muted); }
.status-list dd { min-width:0; margin:0; font-weight:700; text-align:right; overflow-wrap:anywhere; }
.feedback-panel { margin-top:1.5rem; }
.telegram-qr { display:block; width:min(100%,20rem); height:auto; margin:1rem auto; padding:.5rem; border:1px solid var(--line); border-radius:.8rem; background:#fff; }
.open-gift { text-align:center; }
@media (max-width:700px) { .nav-links { width:100%; justify-content:flex-start; } }

[hidden] { display: none !important; }
