/* Hosted pages: one small stylesheet, no scripts, no web fonts. --accent is set per page. */
:root { --accent: #7851a9; --ink: #1c1a22; --muted: #6a6672; --line: #e8e5ee; --bg: #f6f5f8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 32px; }
.preview { background: #fff4d6; color: #7a5a00; text-align: center; padding: 8px; font-weight: 600; font-size: 14px; }
.hero { background: var(--accent); color: #fff; padding: 28px 16px 24px; text-align: center; }
.hero img.logo { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); background: #fff; }
.hero h1 { margin: 10px 0 2px; font-size: 26px; line-height: 1.2; }
.hero p { margin: 0; opacity: .92; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.actions.one { grid-template-columns: 1fr; }
/* All buttons share one size and shape. */
.btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 10px; background: var(--accent);
  color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.btn.alt { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.card h2 { margin: 0 0 8px; font-size: 18px; color: var(--accent); }
.item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.item:first-of-type { border-top: 0; }
.item img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; flex: none; }
.item .body { flex: 1; min-width: 0; }
.item .name { font-weight: 650; }
.item .desc { color: var(--muted); font-size: 14px; }
.item .price { font-weight: 700; white-space: nowrap; }
.item.off .name, .item.off .price { color: var(--muted); text-decoration: line-through; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: #efedf3; color: #4d4857; margin: 3px 4px 0 0; }
.tag.off { background: #fdecea; color: #b3261e; text-decoration: none; }
.plain { margin: 0; padding: 0; list-style: none; }
.plain li { padding: 3px 0; }
.muted { color: var(--muted); font-size: 14px; }
.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: #fff; }
.links a { display: block; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.links a:first-child { border-top: 0; }
footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 8px 16px 28px; }
footer a { color: var(--muted); }
.center { text-align: center; padding: 18vh 20px; }
.center h1 { font-size: 24px; margin: 0 0 8px; }
