:root {
  --bg: #faf5ef; --card: #ffffff; --text: #2b1d17; --muted: #7a685e; --line: #eadfd4;
  --accent: #6b3a2a; --accent-text: #ffffff; --soft: #f3e7dc; --radius: 18px;
}
:root.club {
  --bg: #fff1f5; --card: #ffffff; --text: #3a1424; --muted: #8a5b6c; --line: #f6d4df;
  --accent: #e0457b; --accent-text: #ffffff; --soft: #ffe0ea;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1d1512; --card: #2a1f1a; --text: #f6ece4; --muted: #c2ad9f; --line: #3d2e26; --accent: #e3b08f; --accent-text: #24170f; --soft: #35271f; }
  :root.club:not([data-theme="light"]) { --bg: #1e1218; --card: #2b1a22; --text: #fbe9f0; --muted: #d6a9ba; --line: #45283a; --accent: #f06a98; --accent-text: #2a0d18; --soft: #3a2230; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 Montserrat, system-ui, sans-serif; }
.wrap { max-width: 480px; margin: 0 auto; padding: 32px 16px 40px; }
.head { text-align: center; }
.ava { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); box-shadow: 0 0 0 2px var(--accent); }
h1 { font-size: 24px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 auto; max-width: 340px; }
.btns { display: grid; gap: 10px; margin: 24px 0; }
.btn { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--radius); background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; border: 1px solid var(--line); transition: transform .15s; }
.btn:active { transform: scale(.98); }
.btn .ic { font-size: 22px; width: 28px; text-align: center; flex: none; }
.btn small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.btn.main { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn.main small { color: var(--accent-text); opacity: .85; }
h2 { font-size: 17px; font-weight: 800; margin: 32px 0 12px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { margin: 0; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.tile img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; }
.tile figcaption { padding: 8px 10px 10px; font-size: 13px; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 12px 50px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.cards { display: grid; gap: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card b { display: block; margin-bottom: 4px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.card .btn { padding: 11px 14px; }
.cross { display: block; margin-top: 32px; padding: 16px; border-radius: var(--radius); background: var(--soft); color: var(--text); text-decoration: none; text-align: center; font-weight: 600; }
.foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 12px; }
.foot a { color: inherit; }
.order-title { text-align: center; font-weight: 700; margin: 24px 0 10px; }
.msgr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.msgr .btn { justify-content: center; padding: 14px 8px; }
.msgr .btn[hidden] { display: none; }
.msgr + .btns { margin-top: 10px; }
.hero-menu { text-align: center; margin: 28px 0 18px; padding: 20px 16px; border-radius: var(--radius); background: var(--soft); }
.hero-menu .big { font-size: 40px; line-height: 1; }
.hero-menu h2 { margin: 8px 0 4px; font-size: 22px; }
.hero-menu p { margin: 0; color: var(--muted); }
.dishes { display: grid; gap: 14px; }
.dish { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dish img, .dish .ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 45%; }
.dish .ph { aspect-ratio: 16 / 9; display: grid; place-items: center; font-size: 56px; background: var(--soft); }
.dish-body { padding: 14px 16px 16px; }
.dish h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.dish p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.dish-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.dish-meta b { font-size: 18px; }
.dish-meta span { color: var(--muted); font-size: 13px; }
.dish .btn { justify-content: center; padding: 12px; }
