/* Prendia — sistema visual. Editorial, cálido, mucho aire. */
:root {
  --bg: #f4f0ea;
  --frame: #e9e3da;
  --surface: #fffdf9;
  --surface-2: #f7f3ec;
  --tile: #fffdf9;
  --tile-2: #f3eee6;
  --ink: #171513;
  --ink-2: #3d3833;
  --muted: #776f66;
  --line: #e4ddd2;
  --accent: #a8492a;
  --accent-2: #c96b45;
  --accent-soft: #f6e4da;
  --on-accent: #fffaf5;
  --ok: #2e6a4a;
  --ok-soft: #e1efe5;
  --warn: #8a5a12;
  --warn-soft: #f8ecd2;
  --danger: #b0302a;
  --danger-soft: #f7dfdc;
  --shadow: 0 1px 2px rgba(40, 30, 20, .06), 0 8px 24px rgba(40, 30, 20, .07);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tab-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11100f; --frame: #0b0a09; --surface: #1a1816; --surface-2: #221f1c; --tile: #ebe6de; --tile-2: #d9d2c7; --ink: #f2ede6; --ink-2: #d6cfc5;
    --muted: #a0978c; --line: #2f2b27; --accent: #e07a52; --accent-2: #f09670; --accent-soft: #3a2419; --on-accent: #1a0f0a;
    --ok: #79c39a; --ok-soft: #173024; --warn: #e2b766; --warn-soft: #33270f; --danger: #f08a82; --danger-soft: #3a1a18;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11100f; --frame: #0b0a09; --surface: #1a1816; --surface-2: #221f1c; --tile: #ebe6de; --tile-2: #d9d2c7; --ink: #f2ede6; --ink-2: #d6cfc5;
  --muted: #a0978c; --line: #2f2b27; --accent: #e07a52; --accent-2: #f09670; --accent-soft: #3a2419; --on-accent: #1a0f0a;
  --ok: #79c39a; --ok-soft: #173024; --warn: #e2b766; --warn-soft: #33270f; --danger: #f08a82; --danger-soft: #3a1a18;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--frame);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
button svg, a svg, summary svg { width: 20px; height: 20px; flex: none; }
.list-item > svg { width: 22px; height: 22px; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Marco tipo teléfono en pantallas grandes */
#app {
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px var(--line);
}
@media (min-width: 700px) {
  body { padding: 24px 0; }
  #app { min-height: calc(100vh - 48px); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
}

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.brand i { font-style: normal; color: var(--accent); }
.topbar .title { font-family: var(--serif); font-size: 20px; font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; position: relative; color: var(--ink);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-dot {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--bg);
}

main { padding: 4px 16px calc(var(--tab-h) + 32px); min-height: 70vh; }
main.flush { padding-left: 0; padding-right: 0; }
main.no-tabs { padding-bottom: 40px; }

/* Barra de pestañas */
.tabs {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: var(--tab-h); z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 700px) { .tabs { bottom: 24px; border-radius: 0 0 28px 28px; } }
.tab {
  display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted);
  font-size: 11px; font-weight: 500; padding: 6px 0;
}
.tab svg { width: 24px; height: 24px; }
.tab.active { color: var(--ink); }
.tab.active svg { stroke-width: 2.1; }
.tab.create span.plus {
  width: 46px; height: 46px; border-radius: 16px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; margin-top: -4px; box-shadow: var(--shadow);
}
.tab.create span.plus svg { width: 24px; height: 24px; }

/* Tipografía */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; margin: 0; line-height: 1.15; }
h1 { font-size: 32px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.center { text-align: center; }
.section { margin: 26px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.section a, .link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; background: none; border: 0; cursor: pointer; padding: 0; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.hide { display: none !important; }
.price { font-family: var(--serif); font-weight: 600; font-size: 18px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent;
  background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, opacity .12s ease, background .12s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.accent { background: var(--accent); color: var(--on-accent); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.soft { background: var(--surface-2); color: var(--ink); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.sm { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; gap: 10px; }
.btn-row > .btn { flex: 1; }

/* Formularios */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface); outline: none;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { border-color: var(--ink-2); }
.help { font-size: 12.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 10px 14px; border-radius: 12px; font-size: 14px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line);
  background: var(--surface); font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink);
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.suggested { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.chip .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.danger { background: var(--danger-soft); color: var(--danger); }

/* Segmentos */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border-radius: 13px; padding: 4px; gap: 4px; }
.segment button { height: 36px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.segment button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* Tarjetas */
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; }
.card.flat { border: 0; background: var(--surface-2); }
.card.tight { padding: 12px; }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.callout svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.callout.info { background: var(--surface-2); }
.callout.ok { background: var(--ok-soft); }
.callout.ok svg { color: var(--ok); }
.callout.warn { background: var(--warn-soft); }
.callout.warn svg { color: var(--warn); }

/* Prendas */
.garment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.garment-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.g-tile {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--tile);
  border: 1px solid var(--line); cursor: pointer; padding: 0; display: block; text-decoration: none;
}
.g-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.g-tile .g-badges { position: absolute; left: 6px; top: 6px; display: flex; gap: 4px; }
.g-tile .g-check {
  position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center;
}
.g-tile.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.g-tile.selected .g-check { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.g-tile .g-check svg { width: 14px; height: 14px; }
.g-tile .fav { position: absolute; right: 7px; bottom: 6px; color: var(--accent); }
.g-tile .fav svg { width: 15px; height: 15px; fill: currentColor; }
.g-tile.muted-tile img { opacity: .45; }

/* Collage de outfit */
.collage {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, var(--tile) 0%, var(--tile-2) 100%);
}
.collage img { position: absolute; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(40, 30, 20, .14)); }
.collage .more { position: absolute; right: 12px; bottom: 12px; }
.collage.sm { border-radius: 14px; }

/* Publicaciones */
.post { margin: 0 0 28px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); object-fit: cover; flex: none; border: 1px solid var(--line); }
.avatar.lg { width: 84px; height: 84px; }
.avatar.xs { width: 26px; height: 26px; }
.post-actions { display: flex; align-items: center; gap: 2px; margin: 8px -8px 0; }
.post-actions .icon-btn { width: 42px; height: 42px; }
.post-actions .count { font-size: 14px; font-weight: 600; margin-right: 6px; }
.icon-btn.on { color: var(--accent); }
.icon-btn.on svg { fill: currentColor; }
.caption { margin: 4px 0 0; }
.caption b { font-weight: 600; }
.shop-strip { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.shop-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Marketplace */
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.l-card { text-decoration: none; color: inherit; display: block; }
.l-card .l-img { position: relative; aspect-ratio: 4/5; background: var(--tile); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.l-card .l-img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.l-card .l-img .tag { position: absolute; left: 8px; top: 8px; }
.l-card .l-meta { padding: 8px 2px 0; }
.l-card .l-title { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Listas */
.list { display: grid; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; cursor: pointer; }
.list-item:last-child { border-bottom: 0; }
.list-item .thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--tile); border: 1px solid var(--line); object-fit: contain; padding: 4px; flex: none; }
.chev { color: var(--muted); width: 18px; height: 18px; flex: none; }
.list-item.unread { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }

/* Perfil */
.profile-head { text-align: center; padding: 8px 0 4px; }
.profile-head .avatar { margin: 0 auto 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin: 18px 0; }
.stats a, .stats div { text-decoration: none; color: inherit; }
.stats b { display: block; font-family: var(--serif); font-size: 20px; }
.stats span { font-size: 12px; color: var(--muted); }

/* Hoja inferior / modal */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(15, 10, 5, .42); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: 24px 24px 0 0; padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  animation: up .24s cubic-bezier(.2, .8, .2, 1);
}
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { margin-bottom: 14px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

.toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 18px); z-index: 60; width: min(440px, calc(100% - 32px)); display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-size: 14px; box-shadow: var(--shadow); animation: up .2s ease; pointer-events: auto; }
.toast.error { background: var(--danger); color: #fff; }

/* Estados */
.empty { text-align: center; padding: 40px 20px; }
.empty .art { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.empty .art svg { width: 40px; height: 40px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0 0 18px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: grid; place-items: center; padding: 60px 0; }
.offline-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: var(--warn); color: #fff; text-align: center; font-size: 13px; padding: 6px; }

/* Bienvenida */
.hero { padding: 40px 8px 20px; }
.hero h1 { font-size: 44px; line-height: 1.02; margin: 14px 0 14px; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-art { position: relative; height: 260px; margin: 6px -16px 18px; overflow: hidden; }
.hero-art img { position: absolute; width: 44%; filter: drop-shadow(0 14px 18px rgba(40, 30, 20, .16)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px) rotate(var(--r, 0deg)); } }
.feature-list { display: grid; gap: 14px; margin: 18px 0 26px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .ico { width: 40px; height: 40px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--accent); }
.feature .ico svg { width: 20px; height: 20px; }

/* Crear */
.create-grid { display: grid; gap: 10px; }
.create-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.create-opt .ico { width: 48px; height: 48px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.create-opt .ico svg { width: 24px; height: 24px; }
.create-opt.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.create-opt.primary .ico { background: rgba(255, 255, 255, .12); color: var(--bg); }
.create-opt.primary .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Registro de prendas */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-card .preview { position: relative; aspect-ratio: 1; background: repeating-conic-gradient(var(--tile-2) 0 25%, var(--tile) 0 50%) 0 0 / 22px 22px; }
.review-card .preview img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.review-card .preview .tag { position: absolute; left: 10px; top: 10px; }
.review-card .body { padding: 14px 16px 16px; }
.ai-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.ai-note svg { width: 15px; height: 15px; }
.queue-bar { position: sticky; bottom: calc(var(--tab-h) + 8px); z-index: 10; margin-top: 16px; }

/* Detalle */
.detail-img { aspect-ratio: 1; background: var(--tile); border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; text-align: right; }

/* Pedido */
.timeline { display: grid; gap: 0; margin: 8px 0; }
.tl { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.tl:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tl .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); flex: none; }
.tl.done .dot { background: var(--ok); border-color: var(--ok); }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals .row { justify-content: space-between; }
.totals .total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.sandbox-banner { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 600; }
.sandbox-banner svg { width: 18px; height: 18px; flex: none; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 6px; padding-bottom: 80px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; align-self: flex-start; white-space: pre-wrap; word-wrap: break-word; }
.bubble.mine { align-self: flex-end; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bubble time { display: block; font-size: 10.5px; opacity: .6; margin-top: 2px; }
.composer { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); z-index: 30; }
@media (min-width: 700px) { .composer { bottom: 24px; border-radius: 0 0 28px 28px; } }

/* Admin */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.tile b { display: block; font-family: var(--serif); font-size: 24px; }
.tile span { font-size: 12.5px; color: var(--muted); }

/* QR */
.qr { width: 200px; height: 200px; margin: 0 auto; background: #fff; padding: 10px; border-radius: 16px; }
.qr svg { width: 100%; height: 100%; display: block; }
.link-box { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 13px; word-break: break-all; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
