:root {
  --primary: #b3202c;
  --dark: #123528;
  --accent: #e3b23c;
  --paper: #fbf5ea;
  --soft: #f6e7d2;
  --ink: #2a1d14;
  --muted: #7d7066;
  --line: rgba(42, 29, 20, .12);
  --card: #ffffff;
  --ok: #1f8a4c;
  --warn: #c77700;
  --bad: #c0392b;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px -12px rgba(40, 20, 10, .25);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(circle at 10% -10%, color-mix(in srgb, var(--accent) 22%, transparent) 0, transparent 40%),
    radial-gradient(circle at 110% 10%, color-mix(in srgb, var(--primary) 14%, transparent) 0, transparent 38%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color .5s;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
small, .muted { color: var(--muted); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, white); outline-offset: 2px; border-radius: 8px; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.brand .logo {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--dark); color: #fff; font-size: 22px;
  box-shadow: inset 0 -3px 0 var(--primary);
}
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--b) 80%, black);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn.dark { --b: var(--dark); }
.btn.soft { background: var(--soft); color: var(--ink); box-shadow: none; }
.btn.big { font-size: 1.15rem; padding: 1em 2em; }
.btn.small { padding: .45em .9em; font-size: .88rem; }
.btn.icon { padding: .5em; width: 2.3em; height: 2.3em; border-radius: 50%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; font-weight: 600; text-decoration: underline; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
}
.pill {
  display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em;
  border-radius: 999px; background: var(--soft); font-size: .85rem; font-weight: 600;
}
.pill.ok { background: color-mix(in srgb, var(--ok) 14%, white); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 14%, white); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 14%, white); color: var(--bad); }
.badge-premium {
  display: inline-flex; align-items: center; gap: .25em; font-size: .7rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px;
  background: linear-gradient(135deg, #f6d365, #d4a017); color: #3b2a00;
}
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field > span, .label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.input, .field input, .field textarea, .field select {
  width: 100%; padding: .8em 1em; border-radius: 14px;
  border: 2px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.field input.invalid { border-color: var(--bad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.money { position: relative; }
.money input { padding-right: 2.2em; }
.money::after { content: "€"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .45em .95em;
  cursor: pointer; font-size: .92rem; transition: all .15s; user-select: none;
}
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 52px; height: 30px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero { padding: clamp(30px, 7vw, 80px) 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--accent); opacity: .5; z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.gift-stage { position: relative; height: 360px; display: grid; place-items: center; }
.gift {
  width: 200px; height: 170px; position: relative; animation: bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 24px 30px rgba(60, 20, 10, .28));
}
.gift .box { position: absolute; inset: 40px 10px 0; background: var(--primary); border-radius: 10px; }
.gift .lid { position: absolute; left: 0; right: 0; top: 18px; height: 42px; background: color-mix(in srgb, var(--primary) 80%, black); border-radius: 10px; animation: lid 3.2s ease-in-out infinite; }
.gift .rib-v { position: absolute; left: 50%; width: 28px; margin-left: -14px; top: 18px; bottom: 0; background: var(--accent); }
.gift .bow { position: absolute; left: 50%; top: -14px; width: 90px; height: 44px; margin-left: -45px; }
.gift .bow::before, .gift .bow::after { content: ""; position: absolute; top: 4px; width: 42px; height: 36px; border: 9px solid var(--accent); border-radius: 50% 50% 50% 0; }
.gift .bow::before { left: 0; transform: rotate(-25deg); }
.gift .bow::after { right: 0; transform: scaleX(-1) rotate(-25deg); }
.floaty { position: absolute; font-size: 30px; animation: floaty 6s ease-in-out infinite; opacity: .9; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes lid { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-14px) rotate(-6deg); } 90% { transform: translateY(-4px) rotate(2deg); } }
@keyframes floaty { 50% { transform: translateY(-18px) rotate(10deg); } }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 30px 0 60px; }
.feature { padding: 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); }
.feature .ico { font-size: 30px; }
.feature h3 { margin-top: 8px; }
.how { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 70px; }
.how li { list-style: none; position: relative; padding: 22px 22px 22px 70px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.how li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; font-weight: 800; font-family: var(--serif); }
.how { padding: 0; }
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 80px; }
@media (max-width: 960px) { .wizard { grid-template-columns: 1fr; } .wizard .ticket { position: static; } }
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps button {
  flex: 1; height: 8px; border-radius: 99px; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background .3s;
}
.steps button.done { background: var(--accent); }
.steps button.current { background: var(--primary); }
.step-label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); font-weight: 800; }
.step { animation: stepIn .35s ease both; }
.step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step.back { animation-name: stepInBack; }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-24px); } }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.suggest button { font-size: .8rem; padding: .3em .7em; border-radius: 99px; border: 1px dashed var(--line); background: transparent; cursor: pointer; }
.suggest button:hover { border-color: var(--primary); color: var(--primary); }
.ticket {
  position: sticky; top: 18px; border-radius: 22px; overflow: hidden; background: var(--dark); color: #fff;
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.5); transition: background .4s;
}
.ticket .top { padding: 24px 24px 18px; text-align: center; position: relative; }
.ticket .deco { font-size: 22px; letter-spacing: 6px; }
.ticket .kicker { color: var(--accent); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 800; margin-top: 10px; }
.ticket .title { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; margin-top: 6px; word-break: break-word; }
.ticket .tear { height: 22px; position: relative; background: var(--dark); }
.ticket .tear::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.ticket .tear::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 50%, var(--paper) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--paper) 11px, transparent 12px); }
.ticket .body { background: #fff; color: var(--ink); padding: 18px 24px 22px; }
.ticket .row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ticket .row:last-child { border: 0; }
.ticket .row .i { font-size: 20px; width: 26px; text-align: center; }
.ticket .row b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ticket .avatars { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ticket .count { margin-top: 2px; font-weight: 600; }
.people { display: grid; gap: 10px; margin: 12px 0; }
.person {
  display: grid; grid-template-columns: 44px 1fr 1.3fr auto; gap: 10px; align-items: center;
  padding: 8px 10px; border-radius: 16px; background: var(--paper); animation: pop .3s ease both;
}
.person input { padding: .6em .8em; border-radius: 12px; border: 2px solid transparent; background: #fff; width: 100%; min-width: 0; }
.person input:focus { outline: none; border-color: var(--accent); }
.person input.invalid { border-color: var(--bad); }
@media (max-width: 560px) { .person { grid-template-columns: 40px 1fr auto; } .person .email { grid-column: 2 / 3; } .person .rm { grid-row: 1 / 3; grid-column: 3; } }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800;
  font-size: .9rem; flex: none; text-transform: uppercase; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15);
}
.avatar.sm { width: 28px; height: 28px; font-size: .7rem; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.3rem; }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }
.paste-box { margin-top: 10px; }
.paste-box textarea { width: 100%; min-height: 120px; border-radius: 14px; border: 2px dashed var(--line); padding: 12px; }
.pairing { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 16px 0; }
.pick {
  display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 16px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; transition: all .15s; text-align: center; font-size: .9rem; font-weight: 600;
}
.pick:hover { border-color: var(--accent); transform: translateY(-2px); }
.pick.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.pair-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pair { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 6px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .9rem; animation: pop .25s both; }
.pair button { border: 0; background: rgba(0,0,0,.08); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.theme-opt { cursor: pointer; border-radius: 18px; border: 3px solid transparent; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .15s; text-align: left; padding: 0; }
.theme-opt:hover { transform: translateY(-3px); }
.theme-opt[aria-pressed="true"] { border-color: var(--accent); }
.theme-opt .sw { height: 86px; display: grid; place-items: center; font-size: 30px; letter-spacing: 4px; position: relative; }
.theme-opt .sw::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
.theme-opt .meta { padding: 12px 14px; }
.theme-opt .meta b { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.theme-opt .meta small { display: block; margin-top: 2px; }
.summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 600; }
.panel-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; padding-bottom: 60px; }
@media (max-width: 900px) { .panel-grid { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--card); border-radius: 18px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.stat .n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--primary); }
.stat .l { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px;
  background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--line) 0); transition: --p 1s; }
.ring > div { width: 112px; height: 112px; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; }
.ring b { font-family: var(--serif); font-size: 2rem; display: block; line-height: 1; }
.plist { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--paper); }
.prow .who b { display: block; }
.prow .who small { word-break: break-all; }
@media (max-width: 560px) { .prow { grid-template-columns: 40px 1fr; } .prow .st, .prow .act { grid-column: 2; } }
.draw-zone { text-align: center; padding: 30px 20px; border-radius: var(--radius); background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.draw-zone h2 { color: #fff; }
.draw-zone p { color: rgba(255,255,255,.8); }
.drum { height: 72px; overflow: hidden; margin: 18px auto; font-family: var(--serif); font-size: 2.4rem; line-height: 72px; color: var(--accent); }
.drum.spin span { display: block; animation: spinName .09s linear infinite; }
@keyframes spinName { from { transform: translateY(40%); opacity: .2; } 50% { opacity: 1; } to { transform: translateY(-40%); opacity: .2; } }
dialog { border: 0; border-radius: 24px; padding: 0; max-width: min(520px, 100% - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(20, 10, 5, .55); backdrop-filter: blur(3px); }
dialog .card { box-shadow: none; border: 0; }
.me-head { text-align: center; padding: 20px 0 10px; }
.me-head .hello { font-size: 1.15rem; color: var(--muted); }
.countdown { display: inline-flex; gap: 10px; margin: 14px 0; }
.countdown div { background: var(--card); border-radius: 16px; padding: 10px 14px; min-width: 74px; box-shadow: var(--shadow); }
.countdown b { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--primary); }
.countdown small { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.event-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.event-box > div { background: var(--card); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.event-box b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quote { border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 16px 16px 0; padding: 14px 18px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.q { margin-bottom: 22px; }
.q .label { display: block; margin-bottom: 8px; }
.savebar { position: sticky; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-radius: 999px; background: var(--dark); color: #fff; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); margin-top: 20px; z-index: 5; }
.savebar .state { font-size: .9rem; opacity: .85; }
.attend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.attend button { padding: 18px; border-radius: 18px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 1.05rem; transition: all .15s; }
.attend button[aria-pressed="true"] { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, white); color: var(--ok); }
.attend button:hover { transform: translateY(-2px); }
.reveal { text-align: center; padding: 30px 0; }
.present { width: 220px; height: 220px; margin: 20px auto; position: relative; cursor: pointer; border: 0; background: none; padding: 0; }
.present .box { position: absolute; left: 20px; right: 20px; bottom: 0; height: 140px; background: var(--primary); border-radius: 12px; }
.present .lid { position: absolute; left: 6px; right: 6px; top: 40px; height: 50px; background: color-mix(in srgb, var(--primary) 78%, black); border-radius: 12px; transition: transform .8s cubic-bezier(.3,1.6,.5,1); z-index: 2; }
.present .rv { position: absolute; left: 50%; width: 30px; margin-left: -15px; top: 40px; bottom: 0; background: var(--accent); z-index: 3; transition: transform .8s cubic-bezier(.3,1.6,.5,1); }
.present .bow { position: absolute; left: 50%; top: 4px; width: 100px; height: 50px; margin-left: -50px; z-index: 4; transition: transform .8s cubic-bezier(.3,1.6,.5,1); }
.present .bow::before, .present .bow::after { content: ""; position: absolute; top: 6px; width: 46px; height: 40px; border: 10px solid var(--accent); border-radius: 50% 50% 50% 0; }
.present .bow::before { left: 0; transform: rotate(-25deg); }
.present .bow::after { right: 0; transform: scaleX(-1) rotate(-25deg); }
.present:not(.open) { animation: shake 2.4s ease-in-out infinite; }
.present.open .lid, .present.open .bow { transform: translateY(-160px) rotate(-25deg); opacity: 0; transition: transform .8s, opacity .8s .3s; }
.present.open .rv { transform: scaleY(0); transform-origin: bottom; }
@keyframes shake { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-6deg); } 88% { transform: rotate(6deg); } 92% { transform: rotate(-4deg); } 96% { transform: rotate(3deg); } }
.tap-hint { font-weight: 700; color: var(--primary); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.giftee-card { animation: rise .7s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.9); } }
.giftee-name { font-family: var(--serif); font-size: clamp(2.6rem, 9vw, 4.4rem); color: var(--primary); line-height: 1.05; margin: 6px 0 10px; }
.wish { white-space: pre-wrap; background: var(--paper); border-radius: 16px; padding: 16px 18px; text-align: left; }
.tastes { display: grid; gap: 8px; text-align: left; margin-top: 12px; }
.tastes div { display: flex; gap: 10px; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.tastes span { color: var(--muted); }
.tastes b { text-align: right; }
.people-mini { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.people-mini .pm { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .88rem; }
.people-mini .pm.no { opacity: .5; }
.toast-wrap { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; width: min(440px, 100% - 32px); }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: toastIn .3s ease both; font-weight: 600; }
.toast.bad { background: var(--bad); }
.toast.ok { background: var(--ok); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
.dev-banner { background: #fff3cd; color: #6b4e00; text-align: center; padding: 8px 16px; font-size: .9rem; }
.dev-banner a { color: inherit; font-weight: 700; }
.center { text-align: center; }
.mt { margin-top: 18px; } .mt2 { margin-top: 32px; }
.row-flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.loading { display: grid; place-items: center; min-height: 50vh; font-size: 40px; animation: bob 1.2s infinite; }
.footer { text-align: center; padding: 30px 0 40px; color: var(--muted); font-size: .9rem; }
.premium-box { border: 2px dashed color-mix(in srgb, #d4a017 60%, transparent); border-radius: var(--radius); padding: 18px 20px; background: color-mix(in srgb, #f6d365 10%, white); }
.premium-box ul { margin: 10px 0 0; padding-left: 1.2em; }
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.link-row { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 8px; margin-bottom: 8px; animation: pop .25s both; }
@media (max-width: 560px) { .link-row { grid-template-columns: 1fr auto; } .link-row .lu { grid-column: 1; } .link-row [data-rmlink] { grid-row: 1 / 3; grid-column: 2; } }
.links { display: grid; gap: 6px; margin-top: 10px; text-align: left; }
.links a { display: block; padding: 10px 14px; border-radius: 12px; background: var(--soft); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform .15s; }
.links a:hover { transform: translateX(4px); }
.lists { display: grid; gap: 10px; }
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px; }
.list-card[open] { padding-bottom: 16px; }
.list-card.mine { border: 2px solid var(--accent); }
.list-card summary { display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; list-style: none; }
.list-card summary::-webkit-details-marker { display: none; }
.list-card summary::after { content: "▾"; color: var(--muted); transition: transform .2s; }
.list-card[open] summary::after { transform: rotate(180deg); }
.ask { text-align: left; border-top: 2px dashed var(--line); padding-top: 18px; }
.ask .chips .chip { text-align: left; }
.qa-list { display: grid; gap: 8px; margin-top: 10px; }
.qa { background: var(--paper); border-radius: 14px; padding: 12px 16px; margin-top: 10px; text-align: left; }
.qa .qq { font-weight: 700; margin-bottom: 8px; }
.qa .qr { font-family: var(--serif); font-size: 1.1rem; }
.qa.done { border-left: 4px solid var(--ok); }
.inbox { border: 2px solid var(--accent); animation: rise .6s both; }
.theme-banner { margin: 18px 0 6px; padding: 16px 20px; border-radius: 18px; background: var(--soft); border: 2px solid var(--accent); animation: rise .7s .2s both; }
.theme-banner .tb-k { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); font-weight: 800; }
.theme-banner .tb-v { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin-top: 4px; }
.theme-propose { margin: 26px 0 8px; padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 12%, white); border: 2px dashed var(--accent); }
.theme-propose h2 { margin-top: 0; }
.premium-pick.on { border-style: solid; box-shadow: 0 0 0 4px color-mix(in srgb, #d4a017 20%, transparent); }
.premium-pick .switch { align-items: flex-start; }
.surprise-modes { margin-top: 12px; }
.board h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.board-list { display: grid; gap: 12px; margin-top: 14px; }
.bq { background: var(--paper); border-radius: 16px; padding: 14px 16px; border-left: 4px solid var(--accent); }
.bq.done { border-left-color: var(--ok); }
.bq-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 1.05rem; }
.bq-form { margin-top: 10px; }
.bq-answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ans { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; animation: pop .3s both; }
.ans > span { display: grid; line-height: 1.1; }
.ans small { font-size: .7rem; color: var(--muted); }
.ans.me { border-color: var(--accent); }
.login { max-width: 460px; margin-inline: auto; }
.code-input { text-align: center; font-size: 2rem; letter-spacing: .5em; font-family: ui-monospace, Consolas, monospace; }
.my-list { display: grid; gap: 10px; margin-top: 10px; }
.my-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s; }
.my-item:hover { transform: translateY(-2px); }
.my-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--c); box-shadow: inset 0 -4px 0 var(--a); }
.my-main { display: grid; min-width: 0; }
.my-main small { color: var(--muted); }
.my-side { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 560px) { .my-item { grid-template-columns: 44px 1fr; } .my-ico { width: 44px; height: 44px; } .my-side { grid-column: 1 / -1; justify-content: flex-start; } }
.taste-progress { position: sticky; top: 8px; z-index: 4; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; margin: 6px 0 14px; box-shadow: var(--shadow); }
.tp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tp-row small { color: var(--muted); }
.tp-bar { height: 10px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.tp-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--primary)); transition: width .4s ease; }
.taste-sec { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; background: var(--paper); }
.taste-sec > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.taste-sec > summary::-webkit-details-marker { display: none; }
.taste-sec > summary > span:first-child { display: grid; }
.taste-sec > summary small { color: var(--muted); font-weight: 400; }
.taste-sec[open] > summary { border-bottom: 1px dashed var(--line); }
.sec-count { font-size: .8rem; font-weight: 800; padding: .25em .7em; border-radius: 99px; background: var(--card); white-space: nowrap; }
.sec-count.full { background: color-mix(in srgb, var(--ok) 14%, white); color: var(--ok); }
.taste-body { padding: 16px 18px 4px; }
.tastes-group { margin-top: 12px; text-align: left; }
.tg-title { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--primary); }
.tastes-group .tastes { margin-top: 4px; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background-image: var(--pattern, none); transition: opacity .5s; }
html[data-theme="navidad"] { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='%23e3b23c' opacity='.32'%3E%3Cpath d='M28 14l2.6 5.4 6 .9-4.3 4.2 1 5.9-5.3-2.8-5.3 2.8 1-5.9-4.3-4.2 6-.9z'/%3E%3Ccircle cx='96' cy='46' r='2.2'/%3E%3Ccircle cx='60' cy='112' r='1.6'/%3E%3C/g%3E%3Cg fill='%23b3202c' opacity='.14'%3E%3Ccircle cx='118' cy='108' r='3.2'/%3E%3Ccircle cx='18' cy='86' r='2.2'/%3E%3C/g%3E%3Cpath d='M100 90l2 4 4.4.6-3.2 3.1.8 4.4-4-2.1-4 2.1.8-4.4-3.2-3.1 4.4-.6z' fill='%23123528' opacity='.1'/%3E%3C/svg%3E"); }
html[data-theme="nieve"] { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg stroke='%232f6690' stroke-width='1.3' stroke-linecap='round' opacity='.2' fill='none'%3E%3Cpath d='M30 18v24M18 30h24M21.5 21.5l17 17M38.5 21.5l-17 17M30 18l-3 3M30 18l3 3M30 42l-3-3M30 42l3-3'/%3E%3Cpath d='M88 78v14M81 85h14M83 80l10 10M93 80L83 90'/%3E%3C/g%3E%3Ccircle cx='92' cy='26' r='2' fill='%239ccbe8' opacity='.7'/%3E%3Ccircle cx='40' cy='96' r='1.6' fill='%239ccbe8' opacity='.7'/%3E%3C/svg%3E"); }
html[data-theme="elegante"] { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg stroke='%23d4af5a' fill='none'%3E%3Cpath d='M0 80L80 0' stroke-width='1' opacity='.16'/%3E%3Cpath d='M40 0L80 40M0 40L40 80' stroke-width='.6' opacity='.1'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='1.4' fill='%23d4af5a' opacity='.35'/%3E%3C/svg%3E"); }
html[data-theme="fiesta"] { --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Crect x='12' y='16' width='10' height='4' rx='1.5' fill='%23d63a74' opacity='.32' transform='rotate(25 17 18)'/%3E%3Crect x='70' y='30' width='10' height='4' rx='1.5' fill='%23ffc83d' opacity='.5' transform='rotate(-30 75 32)'/%3E%3Ccircle cx='40' cy='80' r='3' fill='%233b1660' opacity='.18'/%3E%3Crect x='90' y='88' width='9' height='4' rx='1.5' fill='%235cc8ff' opacity='.45' transform='rotate(60 94 90)'/%3E%3Ccircle cx='100' cy='12' r='2.2' fill='%23d63a74' opacity='.3'/%3E%3Crect x='20' y='104' width='8' height='3' rx='1.5' fill='%2337c47a' opacity='.4' transform='rotate(-15 24 105)'/%3E%3C/svg%3E"); }
@media print { body::before { display: none; } }
.redraw-banner { margin: 10px 0 4px; padding: 14px 18px; border-radius: 18px; background: var(--dark); color: #fff; text-align: center; animation: rise .6s both; }
.redraw-banner span { display: block; opacity: .8; font-size: .92rem; margin-top: 2px; }
.redraw-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; }
.redraw-box > div { flex: 1; min-width: 220px; }
.redraw-box .btn { white-space: normal; text-align: center; }
.taste-sec.locked { opacity: .7; background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 10px, var(--card) 10px, var(--card) 20px); }
.locked-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.locked-row > span:first-child { display: grid; }
.locked-row small { color: var(--muted); }
.locked-note { font-size: .88rem; border-top: 1px dashed var(--line); padding-top: 10px; }
.consent-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 2px solid var(--line); cursor: pointer; }
.consent-box input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.consent-box > span { display: block; }
.consent-box > span small { display: block; margin-top: 4px; }
.consent-box.health { margin-bottom: 16px; border-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.consent-box.shake { animation: shakeX .4s; border-color: var(--bad); }
@keyframes shakeX { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.consent-list { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.consent-list li { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.sensitive-q.off { opacity: .35; pointer-events: none; filter: grayscale(1); }
.privacy-note { font-size: .9rem; color: var(--muted); text-align: center; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px dashed var(--line); }
.privacy-note .link-btn { display: block; margin: 8px auto 0; }
.danger { color: var(--bad) !important; }
.btn.ghost.danger { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bad) 40%, transparent); }
.privacy-card h3 { font-size: 1.05rem; }
.legal { padding-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.avatar.av { position: relative; overflow: visible; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12); }
.avatar.av .av-c { font-size: 1.35em; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.avatar.av .av-acc { position: absolute; right: -10%; top: -14%; font-size: .78em; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); transform: rotate(14deg); }
.avatar.sm.av .av-c { font-size: 1.1em; }
.avatar.xl { width: 92px; height: 92px; font-size: 2rem; }
.avatar.xxl { width: 140px; height: 140px; font-size: 3.2rem; }
.me-avatar { position: relative; border: 0; background: none; padding: 0; cursor: pointer; margin-bottom: 8px; transition: transform .2s; }
.me-avatar:hover { transform: scale(1.06) rotate(-3deg); }
.me-avatar-edit { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font-size: .9rem; }
.avatar-dialog { width: min(560px, 100% - 24px); }
.av-preview { display: grid; place-items: center; padding: 10px 0 14px; }
.av-preview .avatar { animation: pop .35s both; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; }
.av-opt { height: 46px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; transition: transform .12s; }
.av-opt:hover { transform: translateY(-2px); }
.av-opt.on { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.av-opt.sw { border-color: rgba(255,255,255,.6); }
.buy-dialog { width: min(480px, 100% - 24px); }
.buy-head { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.buy-head .badge-premium { grid-column: 1 / -1; justify-self: start; }
.buy-head b { font-family: var(--serif); font-size: 1.4rem; }
.buy-price { font-family: var(--serif); font-size: 1.8rem; color: var(--primary); }
.buy-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.avatar.av { background: radial-gradient(circle at 30% 25%, var(--a), var(--b)); }
.avatar.av .av-bg { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.avatar.av .av-scene { position: absolute; left: 0; right: 0; bottom: -6%; text-align: center; font-size: .95em; line-height: 1; opacity: .95; letter-spacing: -.1em; }
.avatar.av .av-c { position: relative; z-index: 1; }
.avatar.av .av-acc { z-index: 2; }
.avatar.av .av-acc.pos-top { left: 50%; right: auto; top: -30%; transform: translateX(-50%) rotate(-8deg); font-size: .7em; }
.avatar.av .av-acc.pos-bottom { right: auto; left: 50%; top: auto; bottom: -12%; transform: translateX(-50%); font-size: .62em; }
.avatar.av .av-obj { position: absolute; left: -12%; bottom: -8%; font-size: .6em; line-height: 1; z-index: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.avatar.sm.av .av-scene, .avatar.sm.av .av-obj { display: none; }
.avatar.av.anim-rainbow { background: linear-gradient(120deg, #ff6b6b, #ffd93d, #6bcB77, #4d96ff, #b388ff, #ff6b6b); background-size: 300% 300%; animation: avShift 6s linear infinite; }
.avatar.av.anim-aurora { background: linear-gradient(160deg, #0b1d33, #11493f, #21d4a0, #7b5cff, #0b1d33); background-size: 250% 250%; animation: avShift 8s ease-in-out infinite alternate; }
.avatar.av.anim-flame { background: radial-gradient(circle at 50% 110%, #fff3a0, #ffcc33 30%, #ff7a1a 55%, #d8381c 80%); background-size: 100% 140%; animation: avFlame 1.6s ease-in-out infinite alternate; }
.avatar.av.anim-disco { background: conic-gradient(from 0deg, #ff2e88, #21e6ff, #ffe14d, #7b5cff, #ff2e88); animation: avSpinBg 4s linear infinite; }
.avatar.av.anim-twinkle .av-bg, .avatar.av.anim-snow .av-bg { background-repeat: repeat; }
.avatar.av.anim-twinkle .av-bg { background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #ffe9a8, transparent), radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 55% 45%, #ffe9a8, transparent); animation: avTwinkle 2.4s ease-in-out infinite alternate; }
.avatar.av.anim-snow .av-bg { background-image: radial-gradient(2px 2px at 20% 10%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #fff, transparent), radial-gradient(2px 2px at 80% 0%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 50%, #fff, transparent); background-size: 100% 50%; animation: avSnow 3s linear infinite; }
@keyframes avShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes avFlame { from { background-position: 50% 100%; filter: brightness(1); } to { background-position: 50% 80%; filter: brightness(1.15); } }
@keyframes avSpinBg { to { filter: hue-rotate(360deg); } }
@keyframes avTwinkle { from { opacity: .45; } to { opacity: 1; } }
@keyframes avSnow { from { background-position: 0 0; } to { background-position: 0 100%; } }
.av-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.av-tabs button { border: 0; border-radius: 999px; padding: .35em .9em; background: var(--soft); cursor: pointer; font-weight: 700; font-size: .85rem; }
.av-tabs button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.av-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.av-gallery button { border: 3px solid transparent; background: none; border-radius: 50%; padding: 4px; cursor: pointer; justify-self: center; transition: transform .15s; }
.av-gallery button:hover { transform: scale(1.08); }
.av-gallery button.on { border-color: var(--primary); }
.av-opt.bgopt { position: relative; overflow: hidden; }
.av-upsell { margin-top: 14px; }
html[data-theme="aurora"] body::before {
  background-image: radial-gradient(ellipse 60% 40% at 20% 10%, rgba(33, 212, 160, .28), transparent 70%), radial-gradient(ellipse 50% 35% at 80% 5%, rgba(123, 92, 255, .22), transparent 70%), radial-gradient(ellipse 70% 30% at 50% 0%, rgba(124, 245, 200, .2), transparent 70%);
  background-size: 200% 100%; animation: pageAurora 14s ease-in-out infinite alternate;
}
html[data-theme="galaxia"] body::before {
  background-image: radial-gradient(circle at 85% 12%, rgba(255, 211, 110, .35) 0 34px, transparent 36px), radial-gradient(circle at 12% 80%, rgba(109, 76, 255, .18) 0 60px, transparent 62px), radial-gradient(ellipse 80% 50% at 50% -10%, rgba(109, 76, 255, .18), transparent 70%);
  animation: pageFloat 18s ease-in-out infinite alternate;
}
html[data-theme="chimenea"] body::before {
  background-image: radial-gradient(ellipse 90% 35% at 50% 105%, rgba(255, 120, 40, .32), transparent 70%), radial-gradient(ellipse 50% 25% at 50% 102%, rgba(255, 200, 80, .3), transparent 70%);
  animation: pageFlicker 2.8s ease-in-out infinite alternate;
}
html[data-theme="neon"] body::before {
  background-image: linear-gradient(transparent 0 calc(100% - 1px), rgba(232, 36, 124, .35) 0), linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(33, 230, 255, .3) 0);
  background-size: 60px 60px; mask-image: linear-gradient(to top, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%);
  animation: pageGrid 3s linear infinite;
}
html[data-theme="neon"] h1, html[data-theme="neon"] .giftee-name { text-shadow: 0 0 12px rgba(232, 36, 124, .45), 0 0 2px rgba(33, 230, 255, .6); }
html[data-theme="elegante"] body::before {
  background-image: linear-gradient(115deg, transparent 40%, rgba(212, 175, 90, .16) 50%, transparent 60%), var(--pattern);
  background-size: 300% 100%, auto; animation: pageShine 7s ease-in-out infinite;
}
@keyframes pageAurora { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes pageFloat { from { transform: translateY(0); } to { transform: translateY(-24px); } }
@keyframes pageFlicker { from { opacity: .75; } to { opacity: 1; } }
@keyframes pageGrid { from { background-position: 0 0, 0 0; } to { background-position: 0 60px, 0 0; } }
@keyframes pageShine { 0%, 100% { background-position: 120% 0, 0 0; } 50% { background-position: -20% 0, 0 0; } }
.theme-opt.locked { opacity: .92; }
.theme-opt.locked .sw::before { content: "🔒"; position: absolute; top: 8px; right: 10px; font-size: 16px; }
.theme-opt .sw.anim { background-size: 200% 200% !important; animation: avShift 6s ease-in-out infinite alternate; }
.secret { text-align: left; }
.secret-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
@media (max-width: 700px) { .secret-cols { grid-template-columns: 1fr; } }
.secret-col { background: var(--paper); border-radius: 18px; padding: 14px 16px; }
.secret-col h3 { font-size: 1.05rem; margin-bottom: 8px; }
.msgs { display: grid; gap: 6px; margin: 8px 0; max-height: 220px; overflow: auto; }
.msg { background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; animation: pop .3s both; }
.msg.mine { border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--accent) 18%, white); justify-self: end; }
.msg small { display: block; color: var(--muted); font-size: .72rem; }
.secret .chips .chip { font-size: .85rem; }
.mini-themes { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; } .mini-themes .sw { height: 54px; font-size: 22px; } .mini-themes .meta { padding: 8px 10px; font-size: .85rem; }
.avatar.sm-swatch { width: 40px; height: 40px; font-size: .95rem; } .bg-grid .av-opt { height: 54px; display: grid; place-items: center; padding: 0; } .bg-grid .av-opt .avatar { pointer-events: none; }
html[data-theme="aurora"] body { background-color: #e3f3f1; }
html[data-theme="aurora"] body::before {
  background-image: radial-gradient(ellipse 70% 45% at 15% 0%, rgba(33, 212, 160, .55), transparent 70%), radial-gradient(ellipse 60% 40% at 85% 0%, rgba(123, 92, 255, .45), transparent 70%), radial-gradient(ellipse 80% 35% at 50% 5%, rgba(124, 245, 200, .45), transparent 70%), linear-gradient(180deg, rgba(11, 29, 51, .35), transparent 45%);
  background-size: 220% 100%; animation: pageAurora 9s ease-in-out infinite alternate;
}
html[data-theme="galaxia"] body { background-color: #e9e5ff; }
html[data-theme="galaxia"] body::before {
  background-image: radial-gradient(circle at 86% 14%, rgba(255, 211, 110, .75) 0 38px, rgba(255, 211, 110, .25) 40px 52px, transparent 54px), radial-gradient(circle at 10% 82%, rgba(109, 76, 255, .45) 0 70px, transparent 72px), radial-gradient(circle at 70% 70%, rgba(255, 111, 174, .25) 0 26px, transparent 28px), radial-gradient(ellipse 90% 60% at 50% -10%, rgba(13, 10, 36, .45), transparent 70%);
  animation: pageFloat 10s ease-in-out infinite alternate;
}
html[data-theme="chimenea"] body { background-color: #f8e6d6; }
html[data-theme="chimenea"] body::before {
  background-image: radial-gradient(ellipse 100% 45% at 50% 108%, rgba(255, 110, 30, .65), transparent 70%), radial-gradient(ellipse 55% 30% at 50% 104%, rgba(255, 210, 90, .7), transparent 70%), radial-gradient(ellipse 100% 40% at 50% -5%, rgba(42, 20, 12, .25), transparent 70%);
  animation: pageFlicker 1.6s ease-in-out infinite alternate;
}
html[data-theme="neon"] body { background-color: #ece4ff; }
html[data-theme="neon"] body::before {
  background-image: linear-gradient(transparent 0 calc(100% - 2px), rgba(232, 36, 124, .6) 0), linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(33, 230, 255, .55) 0), radial-gradient(ellipse 80% 40% at 50% 100%, rgba(232, 36, 124, .35), transparent 70%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 75%);
  animation: pageGrid 2s linear infinite;
}
html[data-theme="neon"] .card { box-shadow: 0 0 0 1px rgba(33, 230, 255, .35), 0 10px 40px -12px rgba(232, 36, 124, .45); }
html[data-theme="elegante"] body { background-color: #efe9db; }
html[data-theme="elegante"] body::before {
  background-image: linear-gradient(115deg, transparent 38%, rgba(212, 175, 90, .45) 50%, transparent 62%), radial-gradient(ellipse 90% 45% at 50% -5%, rgba(21, 20, 29, .35), transparent 70%), var(--pattern);
  background-size: 300% 100%, 100% 100%, auto; animation: pageShine 5s ease-in-out infinite;
}
html[data-theme="deporte"] body { background-color: #e2f5e6; }
html[data-theme="deporte"] body::before {
  background-image: repeating-linear-gradient(90deg, rgba(31, 138, 76, .16) 0 60px, rgba(31, 138, 76, .06) 60px 120px), radial-gradient(circle at 50% 100%, transparent 0 90px, rgba(255, 255, 255, .8) 91px 94px, transparent 95px);
  background-size: 120px 100%, 100% 100%; animation: pageField 12s linear infinite;
}
@keyframes pageField { from { background-position: 0 0, 0 0; } to { background-position: 240px 0, 0 0; } }
.avatar.av3 { position: relative; overflow: hidden; padding: 0; background: radial-gradient(circle at 30% 25%, var(--a), var(--b)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .12); }
.avatar.av3 .av-bg { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.avatar.av3 .av-scene { position: absolute; left: 0; right: 0; bottom: -4%; text-align: center; font-size: .9em; line-height: 1; letter-spacing: -.1em; opacity: .9; }
.avatar.av3 .av-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar.av3.anim-rainbow { background: linear-gradient(120deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff, #b388ff, #ff6b6b); background-size: 300% 300%; animation: avShift 6s linear infinite; }
.avatar.av3.anim-aurora { background: linear-gradient(160deg, #0b1d33, #11493f, #21d4a0, #7b5cff, #0b1d33); background-size: 250% 250%; animation: avShift 8s ease-in-out infinite alternate; }
.avatar.av3.anim-flame { background: radial-gradient(circle at 50% 110%, #fff3a0, #ffcc33 30%, #ff7a1a 55%, #d8381c 80%); background-size: 100% 140%; animation: avFlame 1.6s ease-in-out infinite alternate; }
.avatar.av3.anim-disco { background: conic-gradient(from 0deg, #ff2e88, #21e6ff, #ffe14d, #7b5cff, #ff2e88); animation: avSpinBg 4s linear infinite; }
.avatar.av3.anim-twinkle .av-bg { background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #ffe9a8, transparent), radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent); animation: avTwinkle 2.4s ease-in-out infinite alternate; }
.avatar.av3.anim-snow .av-bg { background-image: radial-gradient(2px 2px at 20% 10%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #fff, transparent), radial-gradient(2px 2px at 80% 0%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 50%, #fff, transparent); background-size: 100% 50%; animation: avSnow 3s linear infinite; }
.av-moving .av-body { animation: avBob 2.8s ease-in-out infinite; transform-origin: 60px 120px; transform-box: view-box; }
.av-moving .av-head { animation: avTilt 4.5s ease-in-out infinite; transform-origin: 60px 70px; transform-box: view-box; }
.av-moving .av-eyes { animation: avBlink 4s infinite; transform-origin: 60px 52px; transform-box: view-box; }
.av-moving .av-scarf { animation: avSway 1.8s ease-in-out infinite alternate; transform-origin: 70px 82px; transform-box: view-box; }
.av-moving .av-pompom { animation: avPom 1.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.av-moving .av-ears { animation: avEars 3s ease-in-out infinite; transform-origin: 60px 30px; transform-box: view-box; }
.av-moving .av-object { animation: avObj 2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes avBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes avTilt { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-4deg); } 70% { transform: rotate(4deg); } }
@keyframes avBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes avSway { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes avPom { from { transform: translateY(0) scale(1); } to { transform: translateY(-2px) scale(1.12); } }
@keyframes avEars { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(3deg); } }
@keyframes avObj { from { transform: translateY(0) rotate(-8deg); } to { transform: translateY(-4px) rotate(8deg); } }
.avatar.xl { width: 104px; height: 104px; }
.avatar.xxl { width: 160px; height: 160px; }
.locked-q { opacity: .55; filter: grayscale(.6); }
.locked-q .chip, .locked-q input { pointer-events: none; }
.lock-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; color: #8a6400; background: linear-gradient(135deg, #fff3c4, #f6d365); border-radius: 999px; padding: .15em .6em; margin-left: 6px; vertical-align: middle; }
.av-opt.locked, .av-tabs button.locked { opacity: .5; cursor: not-allowed; position: relative; }
.av-opt.locked::after { content: "🔒"; position: absolute; right: 2px; bottom: 0; font-size: 11px; }
.list-card.locked summary { cursor: default; }
.list-card.locked .lock-body { filter: blur(4px); user-select: none; pointer-events: none; opacity: .6; }
.board-locked .chip { opacity: .5; pointer-events: none; }
.attend { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .attend { grid-template-columns: 1fr; } }
.pill.no { background: color-mix(in srgb, var(--bad) 12%, white); color: var(--bad); }
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; font-size: 28px; background: linear-gradient(135deg, var(--primary), var(--dark)); color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s; animation: fabIn .5s cubic-bezier(.2, 1.5, .4, 1) both; }
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); }
.chat-fab .badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #ff3d57; color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--paper); animation: pulse 1.4s infinite; }
.chat-fab .lock { position: absolute; bottom: -2px; right: -2px; font-size: 18px; }
@keyframes fabIn { from { transform: scale(0) rotate(-90deg); } }
.chat-panel { position: fixed; right: 18px; bottom: 94px; z-index: 61; width: min(380px, calc(100vw - 24px)); max-height: min(70vh, 560px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); animation: chatIn .3s ease both; }
.chat-panel[hidden] { display: none !important; }
@keyframes chatIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--dark), var(--primary)); color: #fff; }
.chat-head b { flex: 1; }
.chat-head button { background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.chat-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.chat-tabs button { border: 0; background: none; padding: 10px; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; font-size: .88rem; }
.chat-tabs button[aria-pressed="true"] { border-bottom-color: var(--primary); }
.chat-body { flex: 1; overflow: auto; padding: 12px 14px; display: grid; gap: 6px; align-content: start; background: color-mix(in srgb, var(--paper) 60%, white); min-height: 120px; }
.chat-foot { padding: 10px 12px 12px; border-top: 1px solid var(--line); max-height: 42%; overflow: auto; }
.chat-foot .chips { gap: 6px; }
.chat-foot .chip { font-size: .8rem; padding: .35em .75em; }
.chat-locked { padding: 24px 18px; text-align: center; }
.chat-locked .chip { opacity: .5; pointer-events: none; }
@media (max-width: 760px) { .chat-fab { bottom: 92px; } .chat-panel { bottom: 166px; } }
.avatar.sm-swatch { width: 52px; height: 52px; border-radius: 14px; } .avatar.sm-swatch .av-bg { border-radius: 14px; } .av-grid:has(.sm-swatch) { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); } .av-grid .av-opt:has(.sm-swatch) { height: 60px; padding: 2px; display: grid; place-items: center; }
.rare-star { position: absolute; top: -4px; left: -4px; font-size: 13px; color: #d4a017; text-shadow: 0 1px 0 #fff; } .av-opt { position: relative; } .sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; } .sport-card { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 16px; border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: .82rem; transition: transform .15s; } .sport-card:hover { transform: translateY(-2px); border-color: var(--accent); } .sport-card.locked { opacity: .55; cursor: not-allowed; position: relative; } .sport-card.locked::after { content: '🔒'; position: absolute; top: 6px; right: 8px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
h1 em, h2 em { font-style: italic; color: var(--primary); }
.site h1 { font-size: clamp(2.5rem, 6.6vw, 4.5rem); letter-spacing: -.025em; line-height: 1.02; }
.site h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); letter-spacing: -.02em; }
.site .wizard h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.topbar { gap: 12px; flex-wrap: wrap; }
.site-nav { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .2em .1em; border-bottom: 2px solid transparent; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current="page"] { border-color: var(--accent); }
@media (max-width: 620px) { .site-nav { width: 100%; justify-content: flex-start; } .site-nav .btn { margin-left: auto; } .site-nav .btn ~ .btn { margin-left: 0; } }
.footer { padding-inline: 16px; }
.footer a { color: inherit; }
.affiliate { display: inline-block; margin-top: 6px; font-size: .8rem; }
@font-face { font-family: "Firma Taller"; font-style: italic; font-weight: 600; font-display: swap; src: url("/fonts/arkyros-firma.woff2") format("woff2"); }
.footer .credito { display: table; margin: 20px auto 0; padding-block: 4px; text-decoration: none; line-height: 1.3; }
.credito span { display: block; }
.credito .credito-linea { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; }
.credito .credito-marca { margin-top: 4px; font: italic 600 1.125rem/1 "Firma Taller", var(--serif); letter-spacing: .3em; color: var(--ink); transition: color .2s; }
.credito:hover .credito-marca { color: var(--primary); }
.credito .credito-ky { display: inline-block; position: relative; }
.credito .credito-ky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); }
.credito .credito-desc { margin-top: 4px; font-size: .5rem; letter-spacing: .45em; text-transform: uppercase; }
.hero { grid-template-columns: 1.15fr .85fr; padding-top: clamp(24px, 6vw, 70px); padding-bottom: clamp(36px, 7vw, 84px); }
.hero .lead, .lead { color: color-mix(in srgb, var(--ink) 74%, transparent); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34em; }
.hero h1 { margin-top: .35em; }
.hero h1 em::after { display: none; }
.hero h1 em { background: linear-gradient(transparent 68%, color-mix(in srgb, var(--accent) 55%, transparent) 68% 92%, transparent 92%); padding-inline: .06em; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-weight: 600; font-size: .95rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: btnShine 4.5s ease-in-out infinite; }
@keyframes btnShine { 0%, 65% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.gift-stage { height: clamp(320px, 42vw, 440px); }
.stage-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 42%, transparent), transparent 68%); animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 50% { transform: scale(1.08); opacity: .7; } }
.hero-av { position: absolute; animation: floaty 7s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(40, 20, 10, .24)); }
.hero-av .avatar { border: 3px solid #fff; }
.gift { z-index: 1; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .gift-stage { max-width: 440px; width: 100%; margin-inline: auto; } }
@media (max-width: 480px) { .hero-av .avatar.xl { width: 72px; height: 72px; } .hero-av .avatar.lg { width: 54px; height: 54px; } .gift { transform: scale(.82); } }
.section { padding-block: clamp(44px, 7vw, 84px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(24px, 4vw, 44px); }
.section-head h2 { margin-top: .25em; }
.section-head.on-dark .eyebrow { color: var(--accent); }
.section-head.on-dark h2 { color: #fff; }
.narrow-section { max-width: 780px; }
.how { margin-bottom: 26px; }
.how li { box-shadow: var(--shadow); }
.features { margin-bottom: 0; }
.feature { background: var(--card); box-shadow: var(--shadow); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.levels-band { position: relative; overflow: hidden; color: #fff; padding-block: clamp(50px, 8vw, 96px);
  background: radial-gradient(ellipse 60% 70% at 15% 0%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%), radial-gradient(ellipse 50% 60% at 95% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--dark); }
.levels-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 47% 16%, #ffe9a8, transparent), radial-gradient(1px 1px at 66% 54%, #fff, transparent), radial-gradient(1.5px 1.5px at 84% 26%, #fff, transparent), radial-gradient(1px 1px at 92% 78%, #ffe9a8, transparent); }
.levels-band .container { position: relative; }
.level-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1100px) { .level-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .level-cards { grid-template-columns: 1fr; } }
.level-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); transition: transform .25s, background .25s; }
.level-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.level-card.featured { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -28px rgba(0,0,0,.65); }
.level-card.featured:hover { background: #fff; }
.level-flag { position: absolute; top: 18px; right: 18px; padding: .25em .75em; border-radius: 99px; background: var(--accent); color: var(--dark); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.level-emoji { font-size: 44px; line-height: 1; }
.level-card h3 { font-size: 1.7rem; margin: .4em 0 .15em; }
.level-tagline { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; margin-bottom: 14px; }
.level-knows { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 7px; font-size: .95rem; }
.level-knows li { position: relative; padding-left: 1.5em; }
.level-knows li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); }
.level-card.featured .level-knows li::before { color: var(--primary); }
.level-good { font-size: .9rem; opacity: .8; margin-top: auto; }
.level-card .btn { margin-top: 6px; width: 100%; white-space: normal; }
.btn.ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn.ghost-light:hover { box-shadow: inset 0 0 0 2px #fff; }
.ideas-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.ideas-teaser .btn { margin-top: 10px; }
@media (max-width: 860px) { .ideas-teaser { grid-template-columns: 1fr; } }
.teaser-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.teaser-chips a { display: inline-block; padding: .65em 1.05em; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .2s; }
.teaser-chips a:nth-child(3n) { transform: rotate(-2deg); background: var(--soft); }
.teaser-chips a:nth-child(3n+1) { transform: rotate(1.5deg); }
.teaser-chips a:hover { transform: translateY(-3px) scale(1.04); }
.cta-band, .contact-band { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: clamp(28px, 5vw, 52px); border-radius: 30px; margin-block: 28px 56px; background: radial-gradient(ellipse 70% 120% at 100% 0%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%), var(--dark); color: #fff; }
.cta-band h2, .contact-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p, .contact-band p { margin: 0; color: rgba(255,255,255,.8); }
.cta-band > div, .contact-band > div { flex: 1 1 320px; }
.cta-band .btn { white-space: normal; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow); }
.faq > summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq[open] > summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: color-mix(in srgb, var(--ink) 82%, transparent); }
.faq-a ol, .faq-a ul { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.faq-a p { margin: 10px 0 0; }
.page-hero { text-align: center; padding-block: clamp(24px, 5vw, 56px) clamp(20px, 4vw, 36px); max-width: 820px; margin-inline: auto; }
.page-hero h1 { margin-top: .25em; }
.page-hero .site-h1 { font-size: 3rem; }
.page-hero .lead { margin-inline: auto; }
.site .page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.search-box { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 22px auto 0; padding: 6px 8px 6px 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); border: 2px solid transparent; }
.search-box:focus-within { border-color: var(--accent); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; padding: .7em .2em; font-size: 1.05rem; outline: none; }
.help-popular { margin-bottom: 36px; }
.help-popular h2 { font-size: 1.3rem !important; text-align: center; }
.popular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.popular { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--soft); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .2s; }
.popular:hover { transform: translateY(-2px); }
.popular b { color: var(--primary); }
.help-cats { display: grid; gap: 34px; }
.help-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.help-cat-head h2 { font-size: 1.5rem !important; margin: 0; }
.help-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--dark); font-size: 26px; box-shadow: inset 0 -4px 0 var(--primary); }
.idea-filters { display: grid; gap: 14px; padding: clamp(16px, 3vw, 24px); }
.filter-row { display: grid; grid-template-columns: 124px 1fr; gap: 8px 12px; align-items: baseline; }
@media (max-width: 640px) { .filter-row { grid-template-columns: 1fr; } }
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.idea-top { margin-top: 30px; }
.idea-top h2 { font-size: 1.5rem !important; }
.idea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.idea-card { display: flex; flex-direction: column; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; animation: pop .3s both; }
.idea-card:hover { transform: translateY(-4px); }
.idea-emoji { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 20px; font-size: 34px; background: linear-gradient(145deg, var(--soft), color-mix(in srgb, var(--accent) 28%, white)); }
.idea-main { flex: 1; }
.idea-main h3 { margin-bottom: .25em; }
.idea-main p { margin-bottom: 10px; color: color-mix(in srgb, var(--ink) 74%, transparent); font-size: .95rem; }
.idea-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.vote { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 40px; justify-content: center; padding: .25em .7em; border: 2px solid var(--line); border-radius: 99px; background: #fff; cursor: pointer; transition: transform .15s; }
.vote:hover { transform: scale(1.08); }
.vote.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, white); }
.idea-note { margin: 34px auto 0; max-width: 760px; text-align: center; font-size: .86rem; color: var(--muted); }
.steps { margin-bottom: 22px; }
.choice-grid { display: grid; gap: 12px; margin-top: 16px; }
.choice-grid.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-grid.levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid.groups { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
@media (max-width: 720px) { .choice-grid.levels, .choice-grid.plans { grid-template-columns: 1fr; } }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 18px; text-align: left; border-radius: 20px; border: 2px solid var(--line); background: #fff; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s; }
.choice:hover { transform: translateY(-3px); border-color: var(--accent); }
.choice[aria-pressed="true"] { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, white); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.choice.gold { background: linear-gradient(160deg, #fffaf0, #fff0c2); }
.choice.gold[aria-pressed="true"] { border-color: #d4a017; box-shadow: 0 0 0 4px rgba(212, 160, 23, .22); background: linear-gradient(160deg, #fffaf0, #ffe89a); }
.choice-emoji { font-size: 34px; line-height: 1.15; }
.choice b { font-family: var(--serif); font-size: 1.2rem; }
.choice small { color: var(--muted); }
.choice-short { font-weight: 700; color: var(--primary) !important; margin-bottom: 8px; }
.choice .level-knows { font-size: .84rem; gap: 5px; margin: 0; }
.choice .level-knows li::before { color: var(--primary); }
.level-tip { margin: 14px 0 6px; padding: 10px 14px; border-radius: 14px; background: var(--soft); font-size: .93rem; }
.ticket-level { display: inline-block; margin-top: 10px; padding: .25em .85em; border-radius: 99px; background: rgba(255,255,255,.14); font-size: .82rem; font-weight: 700; }
.level-badge { display: inline-block; padding: .25em .9em; border-radius: 99px; background: var(--dark); color: #fff; font-size: .84rem; font-weight: 700; }
.chain { display: grid; gap: 8px; margin-top: 10px; }
.chain-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--paper); }
.chain-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.chain-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain-row .chain-who:last-child { justify-content: flex-end; }
.chain-card { text-align: left; }
.giftee-avatar { display: grid; place-items: center; margin-top: 12px; }
.blind { padding-top: 16px; }
.blind h2 { margin-top: 14px; }
.blind-date { font-size: 1.1rem; }
.present.locked { cursor: default; animation: none; filter: saturate(.75); }
.padlock { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 5; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--dark); box-shadow: 0 0 0 5px var(--accent); font-size: 28px; }
.redraw-box.is-locked { opacity: .78; background: repeating-linear-gradient(-45deg, var(--card), var(--card) 12px, var(--paper) 12px, var(--paper) 24px); }
.present .rays { position: absolute; left: 50%; top: 56%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.2);
  background: conic-gradient(from 0deg, transparent 0 6%, color-mix(in srgb, var(--accent) 70%, white) 6% 10%, transparent 10% 18%, color-mix(in srgb, var(--accent) 70%, white) 18% 22%, transparent 22% 30%, color-mix(in srgb, var(--accent) 70%, white) 30% 34%, transparent 34% 42%, color-mix(in srgb, var(--accent) 70%, white) 42% 46%, transparent 46% 54%, color-mix(in srgb, var(--accent) 70%, white) 54% 58%, transparent 58% 66%, color-mix(in srgb, var(--accent) 70%, white) 66% 70%, transparent 70% 78%, color-mix(in srgb, var(--accent) 70%, white) 78% 82%, transparent 82% 90%, color-mix(in srgb, var(--accent) 70%, white) 90% 94%, transparent 94%);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 70%); mask-image: radial-gradient(circle, #000 25%, transparent 70%); }
.present.open .rays { animation: raysOpen 1s ease-out both; }
@keyframes raysOpen { 0% { opacity: 0; transform: scale(.2) rotate(0); } 40% { opacity: 1; } 100% { opacity: .9; transform: scale(1.15) rotate(50deg); } }
.present:hover:not(.open):not(.locked) { transform: scale(1.04); }
.site .hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card h2 { font-size: 1.35rem !important; margin: .1em 0; letter-spacing: -.01em; }
.blog-card p { margin: 0 0 8px; color: color-mix(in srgb, var(--ink) 74%, transparent); flex: 1; }
.blog-card b { color: var(--primary); }
.blog-card-emoji { font-size: 40px; line-height: 1.1; }
.blog-article { max-width: 860px; margin-inline: auto; padding-bottom: 16px; }
.blog-head { text-align: center; padding-block: clamp(20px, 4vw, 44px) 10px; }
.site .blog-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0; }
.blog-back { display: block; margin-bottom: 12px; font-weight: 700; text-decoration: none; }
.blog-emoji { display: block; font-size: 58px; line-height: 1.15; }
.blog-body > p, .blog-body section > p { font-size: 1.08rem; line-height: 1.7; max-width: 68ch; }
.blog-lead { font-family: var(--serif); font-size: 1.32rem !important; line-height: 1.45 !important; }
.blog-body section { margin-top: 36px; }
.site .blog-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.blog-tip { margin-top: 38px; padding: 20px 24px; border-radius: 20px; background: var(--soft); border-left: 5px solid var(--accent); }
.blog-tip p { margin: 6px 0 0; }
.blog-more h2 { text-align: center; }
.blog-idea .idea-actions .btn { width: 100%; }
.locked-list-row { position: relative; margin-top: 12px; }
.locked-list-row .lock-tag { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); margin: 0; }
.locked-list-row .lock-body { filter: blur(4px); user-select: none; pointer-events: none; opacity: .55; }
.blind-left { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--primary); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.reveal-field { padding: 14px; border-radius: 16px; background: var(--soft); }
#edit-reveal[hidden] { display: none; }
.resend-options { display: grid; gap: 10px; margin-top: 12px; }
.resend-options .choice { width: 100%; }
.is-locked-btn { opacity: .75; }
.level-card .badge-premium, .choice .badge-premium { margin-top: 4px; }
.choice.gold-level { background: linear-gradient(160deg, #fff, #fff6dc); }
.extreme-opts { margin-top: 14px; padding: 14px; border-radius: 18px; background: var(--soft); }
.extreme-opts .choice { width: 100%; }
.extreme-opts .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
@media (max-width: 720px) { .extreme-opts .choice-grid { grid-template-columns: 1fr; } }
.rl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 720px) { .rl-grid { grid-template-columns: 1fr; } }
.roulette { text-align: center; }
.roulette h3 { margin: 0 0 8px; }
.rl-stage { position: relative; width: min(260px, 100%); margin: 0 auto; }
.rl-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 26px; color: var(--dark); text-shadow: 0 2px 0 #fff; }
.rl-wheel { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.rl-spin { transform-origin: 50px 50px; transform-box: view-box; }
.rl-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; text-align: left; max-height: 260px; overflow: auto; }
.rl-list li { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 10px; font-size: .92rem; }
.rl-list li.hit { background: var(--soft); }
.rl-list li.won { background: color-mix(in srgb, var(--accent) 35%, white); font-weight: 800; }
.rl-list li.pop { animation: rlPop .5s; }
@keyframes rlPop { 40% { transform: scale(1.05); } }
.rl-sw { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; font-size: .7rem; font-weight: 800; display: grid; place-items: center; color: #2a2230; }
.rl-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rl-dots { letter-spacing: 2px; color: var(--primary); }
.rl-result { margin: 10px 0 0; font-family: var(--serif); font-size: 1.3rem; }
.extreme-result { display: grid; gap: 6px; }
.extreme-propose .grid-2 { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .rl-spin { transition: none !important; } }
.emoji-opt { display: block; font-size: 34px; line-height: 1.2; }
html[data-theme="sanvalentin"] body { background-color: #ffe8ef; }
html[data-theme="sanvalentin"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255, 143, 177, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(255, 143, 177, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="pascua"] body { background-color: #f1ecff; }
html[data-theme="pascua"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255, 209, 102, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(255, 209, 102, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="halloween"] body { background-color: #f4e3d3; }
html[data-theme="halloween"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(232, 102, 28, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(232, 102, 28, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="reyes"] body { background-color: #f3eaf8; }
html[data-theme="reyes"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(242, 193, 78, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(242, 193, 78, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="nochevieja"] body { background-color: #e6ebf8; }
html[data-theme="nochevieja"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(245, 208, 111, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(245, 208, 111, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="carnaval"] body { background-color: #ffe9e0; }
html[data-theme="carnaval"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(25, 198, 180, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(25, 198, 180, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="cumple"] body { background-color: #fff0d6; }
html[data-theme="cumple"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255, 210, 63, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(255, 210, 63, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="verano"] body { background-color: #def4fa; }
html[data-theme="verano"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255, 183, 3, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(255, 183, 3, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
html[data-theme="amistad"] body { background-color: #fff4d6; }
html[data-theme="amistad"] body::before { background-image: radial-gradient(ellipse 70% 40% at 15% 0%, rgba(255, 213, 79, .45), transparent 70%), radial-gradient(ellipse 60% 35% at 90% 100%, rgba(255, 213, 79, .3), transparent 70%); animation: pageFloat 10s ease-in-out infinite alternate; }
.rl-one { max-width: 420px; margin-left: auto; margin-right: auto; }
.rl-one { max-width: 420px; margin-left: auto; margin-right: auto; }
.rl-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important; align-items: start; }
.roulette { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 18px; background: color-mix(in srgb, var(--soft) 55%, white); }
.roulette .rl-list { width: 100%; }
.roulette .rl-result { text-align: center; overflow-wrap: anywhere; }
.extreme-box.rl-big { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; overflow: auto; padding: clamp(16px, 3vw, 40px); }
.extreme-box.rl-big .rl-grid { gap: clamp(16px, 3vw, 48px); }
.extreme-box.rl-big .rl-stage { width: min(46vh, 100%, 520px); }
.extreme-box.rl-big h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); text-align: center; }
.extreme-box.rl-big .rl-result { font-size: clamp(1.4rem, 3vw, 2.4rem); }
.extreme-box.rl-big .rl-pointer { font-size: 38px; top: -12px; }
body.rl-big-open { overflow: hidden; }
.reveal-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 14px auto 6px; max-width: 640px; }
.reveal-mode { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 16px; border: 2px solid var(--line, #e7dccb); background: #fff; cursor: pointer; transition: transform .15s, border-color .15s; }
.reveal-mode span { font-size: 28px; line-height: 1.1; }
.reveal-mode b { font-size: .9rem; }
.reveal-mode small { font-size: .72rem; color: var(--muted, #8b7f74); text-align: center; }
.reveal-mode:hover { transform: translateY(-2px); }
.reveal-mode[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.reveal-stage { margin: 12px auto; max-width: 560px; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reveal-wheel { width: 100%; max-width: 360px; background: none; }
.slot-machine { width: 100%; max-width: 480px; padding: 18px; border-radius: 26px; background: linear-gradient(180deg, #c4202f, #7a0f1a); box-shadow: inset 0 0 0 6px #f4c542, 0 18px 40px -18px rgba(0,0,0,.5); text-align: center; }
.slot-top { font-weight: 900; letter-spacing: .15em; color: #ffe08a; text-shadow: 0 0 10px rgba(255, 210, 90, .8); margin-bottom: 10px; }
.slot-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-reel { height: 92px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 8px 14px -8px rgba(0,0,0,.45), inset 0 -8px 14px -8px rgba(0,0,0,.45); padding: 4px; }
.slot-reel span { font-family: var(--serif); font-weight: 800; font-size: clamp(.85rem, 3.4vw, 1.15rem); color: #2a1d14; overflow-wrap: anywhere; line-height: 1.1; }
.slot-reel.blur span { filter: blur(1.5px); transform: translateY(-3px); }
.slot-reel.stopped { animation: reelStop .3s; }
.slot-reel.nearly { box-shadow: inset 0 0 0 3px #ff9a3c; }
.slot-machine.win .slot-reel { box-shadow: inset 0 0 0 3px #3fbf7f; animation: reelWin .5s 3; }
.slot-lever { margin-top: 14px; --b: #f4c542; color: #3b2a00; }
@keyframes reelStop { 50% { transform: translateY(6px); } }
@keyframes reelWin { 50% { transform: scale(1.06); } }
.card-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; width: 100%; margin: 10px 0; }
.play-card { position: relative; aspect-ratio: 2 / 3; border: 0; padding: 0; border-radius: 12px; cursor: pointer; perspective: 600px; background: none; transition: transform .25s, opacity .5s; }
.play-card:disabled { cursor: default; }
.play-card:not(:disabled):hover { transform: translateY(-6px) rotate(-2deg); }
.play-card .pc-back, .play-card .pc-front { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; transition: transform .6s; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.play-card .pc-back { background: repeating-linear-gradient(45deg, var(--primary), var(--primary) 6px, color-mix(in srgb, var(--primary) 70%, black) 6px 12px); font-size: 30px; border: 3px solid #fff; }
.play-card .pc-front { background: #fff; transform: rotateY(180deg); font-family: var(--serif); font-weight: 800; padding: 6px; overflow-wrap: anywhere; font-size: .95rem; border: 3px solid var(--accent); }
.play-card.flipped { transform: scale(1.25); z-index: 2; }
.play-card.flipped .pc-back { transform: rotateY(180deg); }
.play-card.flipped .pc-front { transform: rotateY(360deg); }
.play-card.gone { opacity: .25; transform: scale(.9); }
.scratch { position: relative; width: min(320px, 100%); aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 30px -14px rgba(0,0,0,.45); background: linear-gradient(135deg, #fff8e6, #ffe8b0); }
.scratch-prize { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; }
.scratch-prize b { font-family: var(--serif); font-size: 1.8rem; overflow-wrap: anywhere; }
.scratch-cover { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
#redraw.pulse { animation: reelWin .5s 4; }
.av-opt .emoji-opt { display: grid; place-items: center; width: 100%; height: 100%; min-height: 44px; font-size: 32px; line-height: 1; text-align: center; padding: 0; margin: 0; }
.reveal-mode.is-locked { opacity: .75; }
.reveal-mode.is-locked span { filter: grayscale(.4); }
.reveal-mode:disabled { cursor: default; }
.slot-msg { margin: 10px 0 0; color: #ffe08a; font-weight: 800; min-height: 1.4em; }
.slot-machine.lose .slot-reel { box-shadow: inset 0 0 0 3px #ff6b6b; animation: reelLose .4s; }
@keyframes reelLose { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.card-table { position: relative; }
.play-card { will-change: transform; }
.redraw-clock { margin-top: 6px; font-size: .9rem; }
.redraw-clock b { font-variant-numeric: tabular-nums; }
.reveal-msg { margin: 8px 0; font-weight: 800; min-height: 1.4em; text-align: center; }
.play-card.empty .pc-front { color: #c4202f; border-color: #c4202f; }
.play-card.used { opacity: .35; }
.chat-topics { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chat-topics button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: .3em .8em; font-size: .78rem; font-weight: 700; cursor: pointer; }
.chat-topics button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.chat-foot .chip.ask { border-style: dashed; }
.msg.is-question { border-color: var(--accent); }
.msg.is-answer { background: color-mix(in srgb, var(--accent) 18%, white); }
.msg-quote { display: block; font-size: .75rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 6px; margin-bottom: 4px; }
.msg-answers { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.msg-answers .chip { font-size: .8rem; padding: .3em .7em; cursor: pointer; }
.msg-wait { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.chat-demo { display: grid; gap: 8px; text-align: left; margin: 12px 0; pointer-events: none; }
.chat-demo .msg.mine { justify-self: end; }
.surprise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .surprise-grid { grid-template-columns: 1fr; } }
.surprise-grid .choice small { margin-top: 4px; }
.style-drop { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0; }
.style-drop summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: .95rem; }
.style-drop summary::-webkit-details-marker { display: none; }
.style-drop-cta { font-size: .8rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.style-drop[open] .style-drop-cta { visibility: hidden; }
.style-drop[open] { padding-bottom: 10px; }
.style-drop .mini-themes, .style-drop > p { padding: 0 10px; }
.avatar-btn { border: 0; background: none; padding: 0; cursor: zoom-in; border-radius: 50%; transition: transform .15s; }
.avatar-btn:hover { transform: scale(1.08); }
.people-mini .pm { cursor: zoom-in; font: inherit; color: inherit; transition: transform .15s, box-shadow .15s; }
.people-mini .pm:hover { transform: translateY(-2px); box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
dialog.avatar-zoom { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); }
dialog.avatar-zoom::backdrop { background: rgba(10, 8, 20, .55); backdrop-filter: blur(3px); }
dialog.avatar-zoom .card { padding: 26px 24px 20px; animation: pop .3s both; }
.avatar-zoom-pic { display: grid; place-items: center; margin-bottom: 10px; }
.avatar-zoom-pic .avatar { width: min(260px, 70vw); height: min(260px, 70vw); font-size: 5rem; }
.msg-answers.reactions { gap: 4px; }
.msg-answers.reactions .chip { padding: .2em .5em; font-size: .9rem; }
.chat-topics { flex-wrap: wrap; overflow: visible; padding-bottom: 0; gap: 5px; }
.chat-topics button { padding: .25em .65em; }
.chat-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.chat-topics button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 2px; border-radius: 10px; font-size: .62rem; line-height: 1.1; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.chat-topics button span { font-size: 1.05rem; line-height: 1.1; }
.draw-when { margin: 14px 0; padding: 14px; border-radius: 16px; background: var(--soft); }
.draw-when .grid-2 { margin-top: 8px; }
.draw-auto { background: rgba(255,255,255,.1); border-radius: 14px; padding: 10px 12px; }
.draw-auto b[data-draw-left] { font-variant-numeric: tabular-nums; }
.draw-deadline { max-width: 640px; margin: 14px auto 0; padding: 12px 16px; border-radius: 16px; text-align: center; font-size: .95rem; }
.draw-deadline.warn { background: #fff4e0; border: 2px solid #f0a53a; }
.draw-deadline.ok { background: #e8f7ee; border: 2px solid #3fbf7f; }
.blog-iconic { padding: 10px 14px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; }
.blog-facts { margin: 22px 0; padding: 16px 20px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 14%, white); border: 2px dashed var(--accent); }
.blog-facts ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.blog-who ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.blog-who li { padding: 10px 14px; border-radius: 14px; background: var(--soft); }
.prow { grid-template-columns: 40px minmax(0, 1fr) auto auto; }
.prow .who { min-width: 0; }
.prow .who small { display: block; word-break: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .st { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (max-width: 1100px) { .prow { grid-template-columns: 40px minmax(0, 1fr) auto; } .prow .st { grid-column: 2 / -1; justify-content: flex-start; } .prow .act { grid-column: 3; grid-row: 1; } }
.redraw-left { margin: 10px auto; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; font-size: .9rem; max-width: 280px; }
.redraw-left b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.prow { grid-template-columns: 40px minmax(0, 1fr) auto; row-gap: 6px; }
.prow > .avatar, .prow > .avatar-btn { grid-row: 1 / span 2; align-self: start; }
.prow .who { grid-column: 2; grid-row: 1; }
.prow .act { grid-column: 3; grid-row: 1; }
.prow .st { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; }
.brand img.logo { display: block; width: 44px; height: 44px; background: none; box-shadow: none; border-radius: 0; flex: 0 0 auto; }
.brand .brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name small { font-family: var(--sans, system-ui, sans-serif); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
@media (max-width: 420px) { .brand { font-size: 1.05rem; gap: 8px; } .brand img.logo { width: 36px; height: 36px; } .brand .brand-name small { font-size: .5rem; } }
