/* Evergrove's website (redesigned 2026-11-19, the user asked for it modern and clean like the game's new dark UI):
   flat dark panels at about 80% with a blur behind, thin light edges, clean type, one green accent. The game's own
   item pictures stay pixel-crisp; everything else is smooth. */

:root {
  --bg: #0b0d10;
  --bg-2: #101317;
  --panel: rgba(20, 23, 28, 0.82);
  --panel-solid: #15181d;
  --raised: rgba(255, 255, 255, 0.04);
  --raised-2: rgba(255, 255, 255, 0.07);
  --edge: rgba(255, 255, 255, 0.08);
  --edge-2: rgba(255, 255, 255, 0.14);
  --text: #e8ebef;
  --soft: #9aa3ad;
  --dim: #6b737c;
  --accent: #6fcf5a;
  --accent-2: #8fe07c;
  --accent-ink: #0d1a0a;
  --link: #8cc8ff;
  --gold: #f2c84a;
  --bad: #ff6b6b;
  --stat: #a9b8c8;
  --power: #f2c14e;
  --radius: 10px;
  --radius-s: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --t: 16px;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(111, 207, 90, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(90, 140, 255, 0.06), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 var(--t)/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
.pixelated, .tile { image-rendering: pixelated; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, table, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(28px, 3.2vw, 40px); }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
strong, b { font-weight: 600; }
code, kbd { font: 500 0.9em/1.4 "JetBrains Mono", ui-monospace, Consolas, monospace; }
::selection { background: rgba(111, 207, 90, 0.35); }

/* -- Surfaces: panels, buttons, slots, plates -------------------------------------- */

.panel {
  position: relative; background: var(--panel); color: var(--text);
  border: 1px solid var(--edge); border-radius: var(--radius);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 28px;
}
.panel a:not(.btn):not(.slot):not(.tilelink):not(.card):not(.topic) { color: var(--link); text-decoration: none; border-bottom: 1px solid rgba(140, 200, 255, 0.3); }
.panel a:not(.btn):not(.slot):not(.tilelink):not(.card):not(.topic):hover { color: #b9ddff; border-bottom-color: currentColor; }
.soft, .panel .soft { color: var(--soft); }
.panel strong { color: var(--text); }

.plate {
  background: rgba(12, 14, 18, 0.94); color: var(--text);
  border: 1px solid var(--edge-2); border-radius: var(--radius-s);
  padding: 10px 14px; box-shadow: var(--shadow);
}
.plate .soft { color: var(--stat); }
.power-line { color: var(--power); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 550 15px/1 "Inter", system-ui, sans-serif; color: var(--text);
  background: var(--raised); border: 1px solid var(--edge); border-radius: var(--radius-s);
  padding: 10px 16px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, color 0.15s;
}
.btn:hover { background: var(--raised-2); border-color: var(--edge-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .slot:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.go { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.btn.go:hover { background: var(--accent-2); }
.btn.big { font-size: 17px; padding: 15px 26px; border-radius: 8px; box-shadow: 0 8px 24px rgba(111, 207, 90, 0.25); }
.btn.on { background: var(--raised-2); border-color: var(--edge-2); color: var(--text); }

.slot {
  position: relative; display: inline-block; width: 54px; height: 54px; flex: none; text-decoration: none;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--edge); border-radius: 6px;
  padding: 2px;
  transition: background 0.15s, border-color 0.15s;
}
a.slot:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--edge-2); }
.slot .count {
  position: absolute; right: 3px; bottom: 0; color: #fff; z-index: 1;
  font: 700 13px/1.4 "Inter", system-ui, sans-serif; text-shadow: 0 1px 2px #000, 0 0 2px #000;
}
.slot .any { position: absolute; left: 4px; top: 0; color: var(--power); z-index: 1; font-weight: 700; text-shadow: 0 1px 2px #000; }
.ic {
  display: block; width: 48px; height: 48px;
  background: url("/assets/icons_48.png") calc(var(--x) * -48px) calc(var(--y) * -48px) no-repeat;
  image-rendering: pixelated;
}
.ic.s {
  display: inline-block; width: 32px; height: 32px; vertical-align: -10px; margin: -6px 4px -6px 0;
  background: url("/assets/icons_32.png") calc(var(--x) * -32px) calc(var(--y) * -32px) no-repeat;
}
.ic.huge { width: 96px; height: 96px; background-size: 3840px auto; background-position: calc(var(--x) * -96px) calc(var(--y) * -96px); }
.slot.huge { width: 108px; height: 108px; padding: 5px; border-radius: 10px; }

/* -- Page frame ------------------------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px; padding: 12px max(16px, calc((100vw - 1200px) / 2 + 16px));
  background: rgba(11, 13, 16, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--edge);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; flex: none; }
.brand .emblem { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 6px; }
.brand .name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav a { text-decoration: none; color: var(--soft); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: var(--radius-s); transition: color 0.15s, background 0.15s; }
.topbar nav a:hover { color: var(--text); background: var(--raised); }
.topbar nav a.on { color: var(--text); background: var(--raised-2); }
.topbar .btn.go { padding: 9px 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main { flex: 1; }
footer { margin-top: 72px; border-top: 1px solid var(--edge); color: var(--dim); padding: 28px 0 36px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .foot-brand { display: flex; align-items: center; gap: 10px; }
footer .foot-brand img { width: 22px; height: 22px; image-rendering: pixelated; border-radius: 4px; }

/* -- Home ------------------------------------------------------------------------- */

.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; background: #111 center 40% / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 16, 0.15) 0%, rgba(11, 13, 16, 0.35) 45%, rgba(11, 13, 16, 0.96) 100%), linear-gradient(90deg, rgba(11, 13, 16, 0.7) 0%, rgba(11, 13, 16, 0) 60%); }
.hero .inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 16px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-2); background: rgba(111, 207, 90, 0.12); border: 1px solid rgba(111, 207, 90, 0.3); padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; max-width: 820px; }
.hero h1 span { color: var(--accent); }
.hero .tag { font-size: 19px; color: #c9d0d7; max-width: 620px; line-height: 1.55; }
.hero .meta { color: var(--soft); font-size: 14px; }
.hero .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.section { padding-top: 72px; }
.section > .wrap > h2, .section-head { margin-bottom: 20px; font-size: 28px; }
.section-head small { display: block; font-size: 15px; font-weight: 400; color: var(--soft); letter-spacing: 0; margin-top: 6px; }
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 0; overflow: hidden; }
.numbers .n { display: flex; align-items: center; gap: 12px; padding: 20px; border-left: 1px solid var(--edge); }
.numbers .n:first-child { border-left: 0; }
.numbers .n b { display: block; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.numbers .n span { display: block; color: var(--soft); font-size: 13px; line-height: 1.2; margin-top: 6px; }
.numbers .slot { width: 44px; height: 44px; background: transparent; border: 0; padding: 0; }
.numbers .slot .ic { width: 40px; height: 40px; background-size: 800px auto; background-position: calc(var(--x) * -40px) calc(var(--y) * -40px); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; text-decoration: none; padding: 0; color: var(--text); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 16px; display: flex; align-items: center; gap: 4px; }
.card p { color: var(--soft); font-size: 14.5px; line-height: 1.5; }
a.card:hover { transform: translateY(-3px); border-color: var(--edge-2); }
a.card:hover img { transform: scale(1.04); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps { padding-left: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(step); font-weight: 700; font-size: 14px; color: var(--accent-ink); background: var(--accent); width: 28px; height: 28px; border-radius: 50%; text-align: center; line-height: 28px; margin-top: 1px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot { display: block; text-decoration: none; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--panel-solid); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s, opacity 0.2s; }
.shot:hover img { transform: scale(1.04); }
.shot span { display: block; color: var(--soft); font-size: 14px; padding: 10px 14px 12px; }

/* -- Text ------------------------------------------------------------------------- */

.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h1 { margin-bottom: 2px; }
.prose h2 { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--edge); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { color: var(--text); margin-top: 8px; }
.prose p, .prose li { color: #cfd5db; }
.prose ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { padding-left: 20px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
kbd { display: inline-block; color: var(--text); background: var(--raised-2); border: 1px solid var(--edge-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 7px; min-width: 26px; text-align: center; white-space: nowrap; }
code { background: rgba(255, 255, 255, 0.07); color: #e4e9ee; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.tablewrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--edge); border-radius: var(--radius-s); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th { text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.04); color: var(--soft); padding: 10px 12px; white-space: nowrap; position: sticky; top: 0; border-bottom: 1px solid var(--edge); }
td { padding: 8px 12px; border-top: 1px solid var(--edge); vertical-align: middle; color: #d3d9df; }
tr:first-child td { border-top: 0; }
td.nw { white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr:hover td { background: rgba(255, 255, 255, 0.025); }
.note { background: rgba(111, 207, 90, 0.07); border: 1px solid rgba(111, 207, 90, 0.22); border-radius: var(--radius-s); padding: 12px 16px; }
figure.pic img { width: 100%; border-radius: var(--radius-s); border: 1px solid var(--edge); }
figure.pic figcaption { color: var(--soft); font-size: 14px; margin-top: 6px; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* -- Wiki ------------------------------------------------------------------------- */

.wiki { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 32px; }
.side { position: sticky; top: 76px; padding: 14px; max-height: calc(100vh - 92px); overflow-y: auto; }
.side h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin: 2px 8px 8px; }
.side ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.side li a { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: var(--radius-s); text-decoration: none !important; border: 0 !important; color: var(--soft) !important; font-size: 14.5px; font-weight: 500; transition: background 0.15s, color 0.15s; }
.side li a:hover { background: var(--raised); color: var(--text) !important; }
.side li a.on { background: rgba(111, 207, 90, 0.12); color: var(--accent-2) !important; }
.side .ic.s { margin: 0; vertical-align: 0; flex: none; width: 24px; height: 24px; background-image: url("/assets/icons_48.png"); background-size: 960px auto; background-position: calc(var(--x) * -24px) calc(var(--y) * -24px); }
.menu-toggle { display: none; }
.crumbs { color: var(--dim); font-size: 14px; }
.crumbs a { color: var(--soft) !important; border: 0 !important; }
.lead { font-size: 18px; color: var(--soft) !important; line-height: 1.6; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.topic { display: flex; gap: 12px; align-items: center; padding: 12px; text-decoration: none; color: var(--text) !important; background: var(--raised); border: 1px solid var(--edge); border-radius: var(--radius-s); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.topic:hover { background: var(--raised-2); border-color: var(--edge-2); transform: translateY(-2px); }
.topic b { display: block; font-size: 15px; }
.topic small { display: block; font-size: 13px; line-height: 1.35; color: var(--soft); }
.grid { display: flex; flex-wrap: wrap; gap: 4px; }
.quad { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px; }
.quad .ic.s { margin: 0; vertical-align: 0; }
.field { width: 100%; font: 400 16px/1.4 "Inter", system-ui, sans-serif; color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--edge-2); border-radius: 8px; padding: 12px 14px; caret-color: var(--accent); transition: border-color 0.15s, box-shadow 0.15s; }
.field::placeholder { color: var(--dim); }
.field:focus { border-color: rgba(111, 207, 90, 0.6); box-shadow: 0 0 0 3px rgba(111, 207, 90, 0.15); outline: none; }
.results { display: flex; flex-direction: column; gap: 2px; }
.results a { display: flex; align-items: center; gap: 10px; padding: 4px 8px; border-radius: var(--radius-s); text-decoration: none !important; border: 0 !important; color: var(--text) !important; }
.results a:hover { background: var(--raised-2); }
.results small { color: var(--soft); font-size: 13px; margin-left: auto; text-align: right; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs .btn { padding: 7px 12px; font-size: 14px; }
.recipes { display: flex; flex-direction: column; gap: 0; }
.recipe { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; padding: 10px 0; border-top: 1px solid var(--edge); }
.recipe:first-child { border-top: 0; }
.recipe .op { padding: 0 4px; color: var(--dim); font-weight: 600; }
.recipe .label { flex: 1 1 100%; color: var(--soft); font-size: 14px; order: 5; }
.recipe .head { flex: 0 0 auto; order: -1; }
.recipe .name { min-width: 160px; font-weight: 500; }
.recipe .table { color: var(--dim); font-size: 14px; margin-left: auto; white-space: nowrap; }
.item-top { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.tip { min-width: 240px; flex: 1; }
.tip .t { color: var(--text); font-weight: 600; margin-bottom: 4px; }
.mobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mob { display: grid; grid-template-columns: 140px 1fr; gap: 14px; background: var(--raised); border: 1px solid var(--edge); border-radius: var(--radius-s); padding: 10px; }
.mob img { width: 140px; height: 140px; object-fit: cover; border-radius: 6px; }
.mob h3 { margin: 2px 0 6px; font-size: 16px; }
.mob .stats { color: var(--soft); font-size: 14px; }
.tagline { color: var(--accent-2); }
.tagline.bad { color: var(--bad); }
.lists { columns: 3; gap: 20px; }
.biome { display: grid; grid-template-columns: 280px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--edge); }
.biome:first-of-type { border-top: 0; padding-top: 0; }
.biome img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-s); }
.biome h3 { margin: 0 0 6px; }
.biome .swatch { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; vertical-align: 0; }
.release { display: flex; flex-direction: column; gap: 8px; }
.release + .release { margin-top: 14px; }
.release .when { color: var(--dim); font-size: 14px; }
.release p { color: #cfd5db; }
.release h2 { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.badge { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-ink); background: var(--accent); padding: 4px 9px; border-radius: 999px; }
.page-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.page-head p { color: var(--soft); max-width: 720px; }
.page-head p a { color: var(--link); text-decoration: none; }
.gallery-group { margin: 40px 0 14px; font-size: 20px; }

/* -- Tooltip and picture viewer ----------------------------------------------------- */

#tooltip { position: fixed; z-index: 20; pointer-events: none; max-width: 340px; display: none; line-height: 1.45; font-size: 14px; }
#tooltip .l { color: var(--stat); }
#tooltip .p { color: var(--power); }
dialog.viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: var(--text); }
dialog.viewer::backdrop { background: rgba(5, 6, 8, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.viewer .box { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.viewer img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; border-radius: var(--radius-s); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.viewer .bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; color: var(--soft); }

/* -- Narrower windows ---------------------------------------------------------------- */

@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .numbers .n:nth-child(4) { border-left: 0; }
  .numbers .n:nth-child(n + 4) { border-top: 1px solid var(--edge); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .wiki { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; max-height: none; }
  .menu-toggle { display: flex; cursor: pointer; list-style: none; width: 100%; }
  .menu-toggle::-webkit-details-marker { display: none; }
  .side h2 { display: none; }
  .side ul { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; }
  .mobs { grid-template-columns: minmax(0, 1fr); }
  .biome { grid-template-columns: 220px 1fr; }
  .lists { columns: 2; }
}
@media (max-width: 720px) {
  :root { --t: 15px; }
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .topbar nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .topbar nav a { text-align: center; padding: 7px 4px; font-size: 14px; }
  .hero { min-height: 560px; background-position: 45% center; }
  .hero .inner { padding: 80px 16px 40px; }
  .hero .tag { font-size: 16px; }
  .btn.big { width: 100%; }
  .panel { padding: 18px; }
  .card { padding: 0; }
  .side { padding: 10px; }
  .section { padding-top: 48px; }
  .split, .pics { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers .n { border-left: 0 !important; border-top: 1px solid var(--edge); padding: 14px; }
  .numbers .n:nth-child(-n + 2) { border-top: 0; }
  .numbers .n:nth-child(even) { border-left: 1px solid var(--edge) !important; }
  .numbers .n b { font-size: 20px; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .biome { grid-template-columns: minmax(0, 1fr); }
  .mob { grid-template-columns: 96px 1fr; }
  .mob img { width: 96px; height: 96px; }
  .lists { columns: 1; }
  .recipe .name { min-width: 0; flex: 1 1 100%; order: -1; }
  .recipe .table { margin-left: auto; flex: 0 0 auto; }
  .ic.s { width: 24px; height: 24px; background-image: url("/assets/icons_48.png"); background-size: 960px auto; background-position: calc(var(--x) * -24px) calc(var(--y) * -24px); vertical-align: -7px; }
  td, th { padding: 6px 8px; }
  .quad { grid-template-columns: repeat(2, auto); }
}
