:root { --ink: #1C1917; --muted: #57534E; --soft: #FAF7F2; --line: #E7E2DA; --amber: #F59E0B; --amber-d: #B45309; --sky: #2563EB; --card: #FFFFFF; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Ubuntu, sans-serif; color: var(--ink); background: var(--soft); }
a { color: var(--amber-d); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
nav { display: flex; align-items: center; gap: 18px; min-height: 58px; flex-wrap: wrap; }
nav .brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; margin-right: auto; display: flex; gap: 8px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a.on { color: var(--ink); font-weight: 700; }
select.lang { font: inherit; font-size: 14px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.e { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.hero { text-align: center; padding: 56px 0 40px; }
.hero .big { font-size: 84px; line-height: 1.1; }
.hero h1 { font-size: 40px; margin: 12px 0 8px; letter-spacing: -.5px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 10px; font-weight: 650; border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.btn.amber { background: var(--amber); color: var(--ink); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.small { padding: 6px 12px; font-size: 14px; }
section { padding: 34px 0; }
h2 { font-size: 26px; margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.recipe .pics { font-size: 40px; line-height: 1.2; }
.recipe .w { font-weight: 700; font-size: 18px; margin-top: 6px; }
.recipe .how { color: var(--muted); font-size: 14px; }
.reader textarea, .search input { width: 100%; font: inherit; font-size: 20px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.reader .out { font-size: 22px; margin-top: 10px; min-height: 34px; }
.results { display: grid; gap: 12px; margin-top: 16px; }
.entry { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; }
.entry .pics { font-size: 46px; line-height: 1.15; grid-row: span 3; min-width: 90px; }
.entry .w { font-size: 20px; font-weight: 700; }
.entry .alt { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; font-size: 14px; color: var(--ink); text-decoration: none; }
.chip b { font-weight: 400; font-size: 18px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
details.all { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
details.all table { border-collapse: collapse; margin-top: 6px; }
details.all td { padding: 2px 10px 2px 0; vertical-align: top; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; text-decoration: none; color: var(--ink); }
.tile .p { font-size: 40px; line-height: 1.2; }
.tile .m { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.vote { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; }
.vote .n { text-align: center; font-size: 22px; font-weight: 800; }
.vote .n small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.vote .what { font-size: 28px; }
.muted { color: var(--muted); }
img.bliss { height: 58px; vertical-align: middle; margin: 2px 0; }
img.bliss.small { height: 40px; }
img.bliss.big { height: 84px; }
.blissrow { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; min-height: 10px; }
.stats { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--muted); }
.stats b { display: block; font-size: 28px; color: var(--ink); }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13px; margin-top: 30px; }
@media (max-width: 640px) {
  .hero .big { font-size: 60px; } .hero h1 { font-size: 30px; }
  nav { gap: 12px; padding: 8px 0; } nav .brand { width: 100%; }
  .entry { grid-template-columns: 1fr; } .entry .pics { grid-row: auto; }
  .vote { grid-template-columns: 54px 1fr; } .vote .go { grid-column: 1 / -1; }
}
