.food-intro{max-width:1100px;margin:16px 0;padding:14px 18px;background:var(--theme-bg-color-200);border-left:3px solid var(--color-contrast);line-height:1.65}
.food-table-scroll{overflow-x:auto;margin:14px 0 30px}
.mw-parser-output table.food-table{width:100%;min-width:760px;border:0;border-collapse:separate;border-spacing:5px;table-layout:fixed;background:transparent}
.food-table th,.food-table td{border:0!important;padding:12px!important;text-align:center;vertical-align:middle;background:var(--theme-bg-color-200)}
.food-table tr:first-child th{background:var(--theme-bg-color-300);font-weight:700;font-size:14px}
.food-table th[scope=row]{font-weight:600;color:var(--text-color-link);width:160px}
.food-table th small{display:block;color:var(--theme-text-color);font-size:12px;font-weight:400;margin-top:8px}
.food-variants{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:14px 8px}
.food-variant{width:96px;display:flex;flex-direction:column;align-items:center;gap:0;padding:2px 0 7px}
.food-sprite{width:96px;height:96px;overflow:hidden;flex:none;text-align:left;position:relative}
.food-sprite img{max-width:none!important;image-rendering:pixelated!important;vertical-align:top}
.food-state{font-size:10px;line-height:1.25;overflow-wrap:anywhere;color:#91acbd;max-width:94px}
.food-absent{display:inline-block;font-size:11px;color:#8b98a9;padding:5px 8px;border:1px dashed #3b4756;border-radius:4px}
/* Compact reference layout; scoped to this catalogue. */
html:has(body.page-Еда){scroll-behavior:auto!important}
body.page-Еда{scroll-behavior:auto!important}
body.page-Еда #toc{display:block;max-width:none;margin:18px 0 24px;padding:16px 20px;border:1px solid #34404d;border-radius:8px;background:#1b222c}
body.page-Еда #toc ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 22px;margin:10px 0 0}
body.page-Еда #toc li{list-style:none;margin:0;font-size:13px;line-height:1.6}
body.page-Еда #toc .tocnumber{color:#8593a4;margin-right:6px}
body.page-Еда .mw-parser-output h2{margin-top:34px;padding-bottom:9px;font-size:24px;scroll-margin-top:70px}
.food-intro{font-size:13px;color:#b9c6d3;border-left-color:#77baca;border-radius:0 6px 6px 0}
.food-table-scroll{border:1px solid #303c49;border-radius:8px;background:#171e27}
.mw-parser-output table.food-table{min-width:940px;margin:0;border-collapse:collapse;border-spacing:0}
.food-table th,.food-table td{border-bottom:1px solid #303946!important;padding:8px 6px!important;background:#1c2430}
.food-table tr:nth-child(odd) td,.food-table tr:nth-child(odd) th[scope=row]{background:#202936}
.food-table tr:last-child>*{border-bottom:0!important}
.food-table tr:first-child th{background:#2a3543;font-weight:600;font-size:12px;color:#dce5ed;padding:14px 8px!important}
.food-table tr:first-child th:first-child{width:125px;text-align:left;padding-left:16px!important}
.food-table th[scope=row]{color:#e0e7ef;text-align:left;padding-left:16px!important;font-size:14px}
.food-table th small{color:#95a4b6;font-size:11px;line-height:1.5}
.food-table tr:hover td,.food-table tr:hover th[scope=row]{background:#263344}
.food-variants{gap:4px}
@media(max-width:800px){.mw-parser-output table.food-table{min-width:720px}.food-table th,.food-table td{padding:8px!important}.food-intro{padding:10px}.food-table-scroll{border-right:2px solid var(--theme-border-color-base)}}
@media(max-width:800px){body.page-Еда #toc ul{grid-template-columns:repeat(2,minmax(0,1fr))}.mw-parser-output table.food-table{min-width:940px}}
