/*
Theme Name: Stolen Moments Tonight
Theme URI: https://stolenmomentscooking.com/
Description: A recipe-first, app-style theme for Stolen Moments Cooking. The homepage is an instant recipe finder, posts carry a sticky "At a glance" panel, and phones get a bottom tab bar. House palette: kitchen ink, tomato red and butter yellow on cream.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: stolen-moments
*/

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("assets/fonts/bricolage-latin.woff2") format("woff2");
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* House palette */
	--ink: #25251f;
	--red: #b63221;
	--yellow: #f4df83;
	--paper: #fffef9;
	--line: #d6d3c7;
	--muted: #68675d;
	/* Tints of the palette */
	--wash: #faf3d6;
	--ink-2: #45443b;
	--red-dark: #962819;
	--display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--bar: 68px;
	--tabbar: 0px;
	--r-sm: 12px;
	--r: 18px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgba(37, 37, 31, .06), 0 12px 32px -18px rgba(37, 37, 31, .35);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-bottom: var(--tabbar); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--red); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 16px; font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 18px; }
[hidden] { display: none !important; }
.tn-wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.smc-icon { width: 20px; height: 20px; vertical-align: middle; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); position: absolute !important; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.smc-skip { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 12px 18px; border-radius: var(--r-sm); background: var(--ink); color: var(--paper); }
.smc-skip:focus { top: 12px; color: var(--paper); }

/* Shared pieces */
.tn-eyebrow { margin: 0 0 8px; font: 700 13px/1.4 var(--body); color: var(--red); }
.tn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
.tn-rail-controls .tn-link { white-space: nowrap; }
.tn-link .smc-icon { width: 18px; height: 18px; transition: transform .2s; }
.tn-link:hover .smc-icon { transform: translateX(3px); }
.tn-link-button { padding: 0; border: 0; background: none; color: var(--red); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.tn-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 15px/1.2 var(--body); text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.tn-button:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.tn-button:active { transform: scale(.98); }
.tn-button .smc-icon { width: 18px; height: 18px; }
.tn-button-red { background: var(--red); border-color: var(--red); }
.tn-button-red:hover { background: var(--ink); border-color: var(--ink); }
.tn-button-ghost { background: transparent; color: var(--ink); }
.tn-button-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tn-button-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tn-button-yellow:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.tn-button-block { display: flex; width: 100%; }
.tn-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.tn-chip .smc-icon { width: 17px; height: 17px; }
.tn-chip:hover { background: var(--wash); color: var(--ink); }
.tn-chip.is-current, .tn-chip[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.tn-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: var(--paper); font: 700 11px/1 var(--body); }
.tn-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.tn-section-head h2 { margin: 0; }
.tn-section-head p { margin: 0; color: var(--muted); font-size: 15px; }

/* Search field */
.smc-search-form { position: relative; display: flex; align-items: center; width: 100%; min-width: 0; height: 48px; padding: 4px; border: 1.5px solid #8b887b; border-radius: 999px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.smc-search-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 223, 131, .8); }
.smc-search-icon { display: grid; place-items: center; width: 34px; padding-left: 8px; color: var(--muted); }
.smc-search-icon .smc-icon { width: 19px; height: 19px; }
.smc-search-form input[type="search"] { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: transparent; font-size: 15px; outline: none; }
.smc-search-form input::placeholder { color: var(--muted); opacity: 1; }
.smc-search-form input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.smc-search-form button { height: 100%; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; }
.smc-search-form button:hover { background: var(--red); }

/* App bar */
.tn-appbar { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-bar .tn-appbar { top: 32px; }
html:not(.smc-js) .tn-appbar { position: relative; }
html:not(.smc-js) .tn-filterbar, html:not(.smc-js) .tn-glance { position: static; }
.tn-appbar-inner { display: flex; align-items: center; gap: 20px; height: var(--bar); }
.tn-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.tn-logo:hover { color: var(--ink); }
.tn-logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: var(--paper); font: 800 19px/1 var(--display); letter-spacing: -.04em; transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--yellow); }
.tn-logo-text { display: flex; flex-direction: column; font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.tn-logo-text span { margin-top: 3px; font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tn-logo-custom img { max-height: 48px; width: auto; }
.tn-quicknav { display: flex; gap: 2px; }
.tn-quicknav a { padding: 8px 13px; border-radius: 999px; font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.tn-quicknav a:hover { background: var(--wash); color: var(--ink); }
.tn-quicknav a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
.tn-appbar-search { flex: 1; min-width: 160px; max-width: 420px; margin-left: auto; }
.tn-appbar-search .smc-search-form { height: 44px; background: #fff; }
.tn-appbar-search .smc-search-form button { padding-inline: 14px; font-size: 13px; }
.tn-appbar-actions { display: flex; align-items: center; gap: 6px; }
.tn-icon-link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 11px; border-radius: 999px; font-size: 14px; font-weight: 650; text-decoration: none; }
.tn-icon-link:hover { background: var(--wash); color: var(--ink); }
.tn-icon-link .tn-count { position: absolute; top: 3px; left: 22px; }
.tn-browse { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 13px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; }
.tn-browse:hover, .tn-browse[aria-expanded="true"] { background: var(--red); }

/* Browse sheet */
.tn-sheet { border-top: 1px solid var(--line); background: var(--paper); }
.smc-js .tn-sheet { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - var(--bar)); max-height: calc(100dvh - var(--bar)); overflow: auto; border-bottom: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: 0 30px 60px -30px rgba(37, 37, 31, .45); overscroll-behavior: contain; }
.smc-js .tn-sheet.is-open { display: block; }
.tn-sheet-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); grid-template-areas: "head head" "menu tools"; gap: 18px 40px; padding-block: 22px 30px; }
.tn-sheet-head { grid-area: head; display: flex; align-items: center; justify-content: space-between; }
.tn-sheet-title { margin: 0; font: 800 22px/1.2 var(--display); }
.tn-sheet-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wash); }
.tn-sheet-search { display: none; }
.tn-sheet nav[aria-label] { min-width: 0; }
.tn-sheet-inner > nav:not(.tn-sheet-tools) { grid-area: menu; }
.tn-sheet .smc-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tn-sheet .smc-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--wash); font-weight: 650; text-decoration: none; }
.tn-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.tn-menu > li { min-width: 0; }
.tn-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--wash); font-weight: 650; text-decoration: none; }
.tn-menu a:hover { background: var(--yellow); color: var(--ink); }
.tn-menu .current-menu-item > a { background: var(--ink); color: var(--yellow); }
.tn-menu .sub-menu { margin: 6px 0 0; padding: 0 0 0 12px; list-style: none; }
.tn-menu .sub-menu a { min-height: 40px; background: transparent; font-weight: 500; }
.tn-sheet-tools { grid-area: tools; display: flex; flex-direction: column; gap: 4px; padding-left: 28px; border-left: 1px solid var(--line); }
.tn-sheet-tools a, .tn-sheet-tools button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: var(--r-sm); background: none; font-size: 15px; font-weight: 650; text-align: left; text-decoration: none; }
.tn-sheet-tools a:hover, .tn-sheet-tools button:hover { background: var(--wash); color: var(--ink); }
.tn-sheet-tools .smc-icon { color: var(--red); }

/* Mobile tab bar */
.tn-tabbar { display: none; }

/* Homepage: finder */
.tn-finder { padding-top: 24px; }
.tn-finder-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); background: var(--yellow); }
.tn-finder-main { min-width: 0; }
.tn-finder h1 { margin-bottom: 14px; font-size: clamp(40px, 5.4vw, 74px); line-height: .98; letter-spacing: -.035em; }
.tn-finder h1 span { color: var(--red); }
.tn-finder .tn-eyebrow { color: var(--ink); font-weight: 650; }
.tn-finder-intro { max-width: 34em; margin-bottom: 26px; font-size: 18px; color: var(--ink-2); }
.tn-finder-search .smc-search-form { height: 62px; padding: 6px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 0 6px 0 var(--ink); }
.tn-finder-search .smc-search-form:focus-within { box-shadow: 0 6px 0 var(--ink), 0 0 0 4px var(--paper); }
.tn-finder-search .smc-search-form input[type="search"] { font-size: 17px; }
.tn-finder-search .smc-search-form button { padding-inline: 24px; background: var(--red); font-size: 15px; }
.tn-finder-search .smc-search-form button:hover { background: var(--ink); }
.tn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tn-finder .tn-chip { border-color: rgba(37, 37, 31, .9); background: rgba(255, 254, 249, .7); }
.tn-finder .tn-chip:hover { background: var(--paper); }
.tn-finder .tn-chip.is-current, .tn-finder .tn-chip[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.tn-pick { overflow: hidden; border-radius: var(--r); background: var(--paper); box-shadow: 0 18px 40px -22px rgba(37, 37, 31, .6); transform: rotate(1.5deg); }
.tn-pick-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tn-pick-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tn-pick:hover .tn-pick-photo img { transform: scale(1.04); }
.tn-pick-body { padding: 18px 20px 20px; }
.tn-pick-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--red); font-size: 13px; font-weight: 700; }
.tn-pick-label .smc-icon { width: 17px; height: 17px; }
.tn-pick h2 { margin: 0 0 14px; font-size: 25px; }
.tn-pick h2 a { text-decoration: none; }
.tn-mini-stats { display: flex; gap: 8px; margin: 0; }
.tn-mini-stats div { flex: 1; padding: 8px 10px; border-radius: var(--r-sm); background: var(--wash); }
.tn-mini-stats dt { font-size: 12px; color: var(--muted); }
.tn-mini-stats dd { margin: 0; font: 700 15px/1.3 var(--display); }

/* Results grid */
.tn-results { padding-top: 48px; }
.tn-results-count { color: var(--muted); font-size: 15px; }
.tn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.tn-empty-results { margin: 8px 0 0; padding: 22px 24px; border-radius: var(--r); background: var(--wash); }
.tn-results-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Recipe card */
.tn-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tn-card-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--wash); }
.tn-card-photo img, .tn-card-photo .smc-image-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tn-card:hover .tn-card-photo img { transform: scale(1.05); }
/* ShortPixel serves WebP through <picture>; let the wrapper fill the frame like the image would. */
.tn-card-photo picture, .tn-pick-photo picture, .tn-glance-photo picture, .tn-hello-photo picture { display: block; width: 100%; height: 100%; }
.tn-card-body { padding: 12px 2px 0; }
.tn-card-title { margin: 0 0 4px; font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
.tn-card-title a { text-decoration: none; }
.tn-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.tn-card-title a:focus-visible { outline: none; }
.tn-card-title a:focus-visible::after { outline: 3px solid var(--red); outline-offset: 4px; }
.tn-card:hover .tn-card-title a { color: var(--red); }
.tn-card-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 14px; color: var(--muted); }
.tn-card-time { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(37, 37, 31, .18); pointer-events: none; }
.tn-card-time::before { content: ""; width: 14px; height: 14px; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.tn-card .tn-card-save { position: absolute; top: 6px; right: 6px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 0; line-height: 0; box-shadow: 0 2px 8px rgba(37, 37, 31, .18); }
.tn-card .tn-card-save::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.tn-card .tn-card-save:hover { background: var(--wash); color: var(--red); }
.tn-card .tn-card-save[aria-pressed="true"] { background: var(--red); color: var(--paper); }
.tn-card .tn-card-save[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z' fill='black' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.smc-image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 140px; color: #aaa595; }
.smc-image-placeholder .smc-icon { width: 56px; height: 56px; }

/* Rails */
.tn-rails { padding-top: 34px; }
.tn-rail { padding-block: 30px; border-top: 1px solid var(--line); }
.tn-rail:first-child { border-top: 0; }
.tn-rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.tn-rail-head h2 { margin: 0; }
.tn-rail-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tn-rail-controls .tn-link { margin-right: 8px; }
.tn-rail-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.tn-rail-button:hover:not([aria-disabled="true"]) { background: var(--ink); color: var(--paper); }
.tn-rail-button[aria-disabled="true"] { opacity: .3; cursor: default; }
.tn-rail-button[data-tn-rail-prev] .smc-icon { transform: rotate(180deg); }
.tn-rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: 272px; gap: 20px; margin-inline: -10px; padding: 10px 10px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
.tn-rail-track > .tn-card { scroll-snap-align: start; }
.tn-rail-track:focus-visible { outline-offset: 4px; }

/* Your kitchen tiles */
.tn-kitchen { padding-block: 40px 20px; }
.tn-kitchen-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tn-kitchen-grid li { min-width: 0; }
.tn-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 170px; padding: 22px; border-radius: var(--r-lg); background: var(--wash); text-decoration: none; transition: transform .15s; }
.tn-tile:hover { transform: translateY(-3px); color: inherit; }
.tn-tile .smc-icon { width: 30px; height: 30px; margin-bottom: auto; }
.tn-tile-title { margin-top: 18px; font: 800 22px/1.15 var(--display); letter-spacing: -.02em; }
.tn-tile-text { font-size: 15px; line-height: 1.45; opacity: .85; }
.tn-tile-red { background: var(--red); color: var(--paper); }
.tn-tile-red:hover { color: var(--paper); }
.tn-tile-yellow { background: var(--yellow); }
.tn-tile-ink { background: var(--ink); color: var(--paper); }
.tn-tile-ink:hover { color: var(--paper); }
.tn-tile-ink .smc-icon { color: var(--yellow); }

/* Kate */
.tn-hello { display: flex; align-items: center; gap: 28px; margin-block: 30px 64px; padding: 24px 30px; border-radius: var(--r-lg); background: var(--yellow); }
.tn-hello-photo { flex-shrink: 0; width: 112px; height: 112px; margin: 0; overflow: hidden; border: 4px solid var(--paper); border-radius: 50%; box-shadow: var(--shadow); }
.tn-hello-photo img { width: 100%; height: 100%; object-fit: cover; }
.tn-hello-text { flex: 1; min-width: 0; }
.tn-hello h2 { margin: 0 0 4px; color: var(--red); font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.tn-hello p { margin: 0; max-width: 46em; font-size: 16px; }
.tn-hello .tn-button { flex-shrink: 0; }

/* Archive / search / index */
.tn-browse-head { padding-block: 40px 26px; background: var(--wash); }
.tn-browse-head h1 { margin-bottom: 10px; }
.smc-archive-description { max-width: 46em; color: var(--ink-2); }
.smc-archive-description p:last-child { margin-bottom: 0; }
.tn-browse-search { max-width: 560px; margin-top: 20px; }
.tn-browse-search .smc-search-form { height: 54px; border: 2px solid var(--ink); }
.tn-filterbar { position: sticky; top: var(--bar); z-index: 40; border-block: 1px solid var(--line); background: rgba(255, 254, 249, .96); }
.admin-bar .tn-filterbar { top: calc(var(--bar) + 32px); }
.tn-filterbar-inner { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.tn-filterbar-inner::-webkit-scrollbar { display: none; }
.tn-chip-tool { margin-left: auto; border-style: dashed; }
.tn-browse-body { padding-block: 26px 70px; }
.tn-browse-body > .tn-results-count { margin-bottom: 20px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--wash); font-weight: 700; text-decoration: none; }
.page-numbers:hover { background: var(--yellow); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: var(--yellow); }
.page-numbers.dots { background: none; }
.tn-empty { max-width: 640px; margin-inline: auto; padding-block: 56px 80px; text-align: center; }
.tn-empty p { color: var(--muted); }
.tn-empty-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--yellow); color: var(--ink) !important; }
.tn-empty-icon .smc-icon { width: 44px; height: 44px; }
.smc-not-found .smc-search-form { max-width: 520px; margin: 26px auto 16px; }

/* Single recipe post */
.tn-single { padding-top: 18px; }
.smc-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.smc-breadcrumbs a { text-decoration: none; }
.smc-breadcrumbs a:hover { text-decoration: underline; }
.tn-post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.tn-post-layout.has-glance { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.tn-post-main { min-width: 0; max-width: 760px; }
.tn-post-header { margin-bottom: 30px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--yellow); }
.tn-post-header .smc-article-meta > span { background: rgba(255, 254, 249, .75); }
.tn-post-header .tn-button-ghost { background: var(--paper); }
.tn-post-header .tn-button-ghost:hover { background: var(--ink); }
.tn-post-header h1 { margin-bottom: 14px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.smc-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.smc-article-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--wash); }
.smc-article-meta .smc-icon { width: 16px; height: 16px; color: var(--red); }
.smc-recipe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.smc-single-photo { margin: 0 0 30px; }
.smc-single-photo img { display: block; width: 100%; border-radius: var(--r); }

.tn-glance { position: sticky; top: calc(var(--bar) + 20px); }
@media (max-height: 820px) { .tn-glance-photo { display: none; } }
.admin-bar .tn-glance { top: calc(var(--bar) + 52px); }
.tn-glance-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.tn-glance-photo { overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--wash); }
.tn-glance-photo img { width: 100%; height: 100%; object-fit: cover; }
.tn-glance .tn-eyebrow { margin: 4px 4px -8px; }
.tn-glance-name { margin: 0 4px; font: 800 22px/1.15 var(--display); letter-spacing: -.02em; }
.tn-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.tn-stats div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--wash); }
.tn-stats dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.tn-stats dd { margin: 0; font: 700 17px/1.25 var(--display); }
.tn-float-jump { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 16px); z-index: 45; display: inline-flex; width: max-content; white-space: nowrap; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--red); color: var(--paper); font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(37, 37, 31, .55); transform: translateX(-50%); }
.tn-float-jump:hover { background: var(--ink); color: var(--paper); }
.tn-float-jump .smc-icon { width: 18px; height: 18px; }

/* Article content */
.entry-content { font-size: 18px; line-height: 1.75; overflow-wrap: break-word; }
.entry-content > p { margin-bottom: 24px; }
.entry-content > h2 { margin-top: 48px; font-size: clamp(26px, 2.6vw, 32px); }
.entry-content > h3 { margin-top: 32px; font-size: 23px; font-weight: 650; }
.entry-content > h4 { margin-top: 24px; font-size: 19px; }
.entry-content a { color: var(--red); text-decoration-thickness: 1.5px; }
.entry-content a:hover { color: var(--red-dark); }
.entry-content li { margin-bottom: 8px; }
.entry-content li::marker { color: var(--red); }
.entry-content img { border-radius: var(--r); }
.entry-content figure, .entry-content .wp-caption { max-width: 100%; margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); }
.entry-content blockquote { margin: 30px 0; padding: 20px 24px; border-radius: var(--r); background: var(--wash); font-size: 20px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content iframe { max-width: 100%; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow: auto; }
.aligncenter { display: block; margin-inline: auto !important; }
.alignleft { float: left; margin: 0 24px 18px 0; }
.alignright { float: right; margin: 0 0 18px 24px; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-content .smc-toc { margin-block: 30px; border-radius: var(--r); background: var(--wash); font-size: 16px; line-height: 1.5; }
.smc-toc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 20px; font: 700 17px/1.3 var(--display); cursor: pointer; list-style: none; }
.smc-toc > summary::-webkit-details-marker { display: none; }
.smc-toc > summary::after { content: ""; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.smc-toc[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.smc-toc nav { padding: 0 20px 14px; }
.smc-toc ol { margin: 0; padding-left: 22px; }
.entry-content .smc-toc li { margin: 0; }
.smc-toc a { display: block; padding-block: 8px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.smc-toc a:hover { color: var(--red); text-decoration: underline; }

/* WP Recipe Maker card */
.smc-article .wprm-recipe-container { margin-block: 40px; }
.smc-article .wprm-recipe-container > .wprm-recipe { max-width: none; margin: 0; padding: 28px; border: 2px solid var(--ink); border-radius: var(--r-lg); background: #fff; color: var(--ink); font-size: 16px; box-shadow: 0 8px 0 var(--yellow); }
.smc-article .wprm-recipe-container .wprm-recipe .wprm-recipe-name { margin: 0 0 8px; font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.smc-article .wprm-recipe-container .wprm-recipe .wprm-recipe-header { display: inline-block; margin: 26px 0 12px; padding: 4px 14px; border-radius: 999px; background: var(--yellow); font: 800 18px/1.3 var(--display); color: var(--ink); }
.smc-article .wprm-recipe-container .wprm-recipe a { color: var(--red); }
.smc-article .wprm-recipe-container .wprm-recipe-image img { border-radius: var(--r-sm); }
.smc-article .wprm-recipe-container .wprm-recipe-details-container-table, .smc-article .wprm-recipe-container .wprm-recipe-block-container-table { border-color: var(--line) !important; }
.smc-article .wprm-recipe-container .wprm-recipe-details-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.smc-article .wprm-recipe-container .wprm-recipe-details-container-table .wprm-recipe-time { font: 700 17px/1.3 var(--display); }
.smc-article .wprm-recipe-container .wprm-recipe-print { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 2px solid var(--ink) !important; border-radius: 999px !important; background: #fff !important; color: var(--ink) !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.smc-article .wprm-recipe-container .wprm-recipe-print:hover { background: var(--ink) !important; color: var(--paper) !important; }
.smc-article .wprm-recipe-container .wprm-recipe li { line-height: 1.6; margin-bottom: 6px !important; }
.smc-article .wprm-recipe-container .wprm-recipe-ingredient-notes { color: var(--muted); }
.smc-article .wprm-recipe-container .wprm-recipe-instructions .wprm-recipe-instruction::marker { font-weight: 800; color: var(--red); }
.smc-card-image .pin-cta-image-wrapper, .tn-card-photo .pin-cta-image-wrapper { width: 100%; height: 100%; }

.smc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 28px; }
.smc-tags a { padding: 6px 14px; border-radius: 999px; background: var(--wash); font-size: 14px; text-decoration: none; }
.smc-tags a:hover { background: var(--yellow); color: var(--ink); }
.tn-related { padding-top: 40px; margin-top: 30px; border-top: 1px solid var(--line); }

/* Pages */
.tn-page { max-width: 820px; padding-block: 44px 80px; }
.tn-page-header { margin-bottom: 30px; }
.smc-policy-intro { font-size: 20px; line-height: 1.6; }
.smc-page .entry-content h2 { margin-top: 40px; }
.smc-page .entry-content li { margin-block: 8px; }
.smc-about-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 36px; }
.smc-page .smc-about-intro h2 { margin-top: 0; }
.smc-about-intro .smc-eyebrow, .smc-page .smc-eyebrow { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--red); }
.smc-about-intro figure { margin: 0; }
.smc-about-intro img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.smc-about-intro figcaption { padding: 10px 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.smc-about-picks { padding: clamp(22px, 4vw, 34px); margin-block: 36px; border-radius: var(--r-lg); background: var(--yellow); }
.smc-page .smc-about-picks h2 { margin-top: 0; }
.smc-about-picks ul { padding-left: 22px; }
.smc-about-picks p:last-child { margin-bottom: 0; }
.smc-about-picks .smc-button, .entry-content .smc-button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.entry-content .smc-button:hover { background: var(--red); color: var(--paper); }
.smc-about-signoff { margin-block: 32px; padding: 18px 22px; border-radius: var(--r); background: var(--wash); }
.smc-about-signoff span { font-weight: 700; }
.smc-about-editorial { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.75; color: var(--muted); }
.smc-about-editorial p { margin-bottom: 0; }
.smc-affiliate-disclosure { padding: 14px 18px; border-radius: var(--r-sm); background: var(--wash); font-size: 15px; line-height: 1.6; }

/* Comments (disabled site-wide; kept for completeness) */
.smc-comments { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.smc-comment-list { padding: 0; list-style: none; }
.smc-comment-list .comment-body { padding-block: 18px; border-bottom: 1px solid var(--line); }
.smc-comment-list .children { padding-left: 24px; list-style: none; }
.comment-form label { display: block; font-size: 14px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea, .post-password-form input[type="password"] { width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.comment-form .submit, .post-password-form input[type="submit"] { padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; }

/* Footer */
.tn-footer { margin-top: 20px; padding-top: 56px; background: var(--ink); color: var(--paper); }
.tn-footer a:hover { color: var(--yellow); }
.tn-footer :focus-visible { outline-color: var(--yellow); }
.tn-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; }
.tn-logo-light .tn-logo-text span { color: #cfccbf; }
.tn-logo-light .tn-logo-mark { box-shadow: 3px 3px 0 var(--yellow); }
.tn-footer-brand p { max-width: 24em; margin: 18px 0 22px; color: #e9e6da; }
.tn-footer-col h2 { margin: 6px 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.tn-footer-col ul { margin: 0; padding: 0; list-style: none; }
.tn-footer-col li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; color: #f8f4df; }
.tn-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid #4a4940; font-size: 14px; color: #cfccbf; }
.tn-footer-bottom p { margin: 0; }
.tn-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tn-footer-bottom a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.tn-quicknav a { padding-inline: 10px; font-size: 14px; }
	.tn-icon-label { display: none; }
	.tn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tn-post-layout.has-glance { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 1000px) {
	.tn-quicknav { display: none; }
	.tn-finder-inner { grid-template-columns: minmax(0, 1fr); }
	.tn-pick { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; transform: none; }
	.tn-pick-photo { height: 100%; aspect-ratio: auto; min-height: 160px; }
	.tn-post-layout.has-glance { grid-template-columns: minmax(0, 1fr); }
	.tn-glance { display: none; }
	.tn-post-main { margin-inline: auto; }
	.tn-kitchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tn-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tn-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	.admin-bar .tn-appbar { top: 46px; }
	.admin-bar .tn-filterbar { top: calc(var(--bar) + 46px); }
}
@media (max-width: 600px) {
	.admin-bar .tn-appbar { top: 0; }
	.admin-bar .tn-filterbar { top: var(--bar); }
}
@media (max-width: 760px) {
	:root { --bar: 58px; --tabbar: calc(64px + env(safe-area-inset-bottom)); }
	.tn-wrap { width: calc(100% - 32px); }
	.tn-appbar-inner { gap: 12px; }
	.tn-logo-mark { width: 36px; height: 36px; font-size: 17px; }
	.tn-logo-text { font-size: 18px; }
	.tn-appbar-search, .tn-appbar-actions { display: none; }
	.tn-sheet-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "search" "menu" "tools"; gap: 16px; padding-block: 16px 24px; }
	.smc-js .tn-sheet { position: fixed; top: var(--tn-sheet-top, var(--bar)); bottom: var(--tabbar); max-height: none; border-radius: 0; }
	.tn-sheet-search { grid-area: search; display: block; }
	.tn-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tn-sheet-tools { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.tn-menu-open body { overflow: hidden; }
	.tn-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: var(--paper); }
	/* iOS Safari zooms the page when a text field under 16px gets focus. */
	.smc-search-form input[type="search"] { font-size: 16px; }
	.tn-tabbar a, .tn-tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 6px 2px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 650; text-decoration: none; }
	.tn-tabbar .smc-icon { width: 23px; height: 23px; }
	.tn-tabbar [aria-current="page"], .tn-tabbar [aria-expanded="true"] { color: var(--red); }
	.tn-tabbar .tn-count { position: absolute; top: 5px; left: calc(50% + 6px); }
	.tn-finder { padding-top: 12px; }
	.tn-finder-inner { gap: 22px; padding: 26px 18px 22px; border-radius: 24px; }
	.tn-finder h1 { font-size: clamp(34px, 10vw, 46px); }
	.tn-finder-intro { font-size: 16px; margin-bottom: 20px; }
	.tn-finder-search .smc-search-form { height: 56px; box-shadow: 0 4px 0 var(--ink); }
	.tn-finder-search .smc-search-form button { padding-inline: 16px; }
	.tn-chips { flex-wrap: nowrap; margin: 18px -18px 0; padding: 0 18px 4px; overflow-x: auto; scrollbar-width: none; }
	.tn-chips::-webkit-scrollbar { display: none; }
	.tn-pick { grid-template-columns: 112px minmax(0, 1fr); border-radius: 16px; }
	.tn-pick-photo { min-height: 112px; }
	.tn-pick-body { padding: 12px 14px; }
	.tn-pick h2 { margin-bottom: 8px; font-size: 19px; }
	.tn-mini-stats div { padding: 5px 8px; }
	.tn-mini-stats div:nth-child(n+3) { display: none; }
	.tn-results { padding-top: 30px; }
	.tn-section-head { margin-bottom: 16px; }
	.tn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.tn-card-title { font-size: 16px; }
	.tn-card-meta { font-size: 13px; }
	.tn-card-time { top: 8px; left: 8px; padding: 4px 8px 4px 6px; font-size: 12px; }
	.tn-card .tn-card-save { top: 2px; right: 2px; }
	.tn-rails { padding-top: 16px; }
	.tn-rail { padding-block: 24px; }
	.tn-rail-head { align-items: flex-start; }
	.tn-rail-button { display: none; }
	.tn-rail-track { grid-auto-columns: 68%; gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
	.tn-kitchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tn-tile { min-height: 150px; padding: 16px; border-radius: 20px; }
	.tn-tile-title { margin-top: 12px; font-size: 18px; }
	.tn-tile-text { font-size: 13px; }
	.tn-hello { flex-wrap: wrap; gap: 16px; padding: 20px; margin-bottom: 40px; }
	.tn-hello-photo { width: 76px; height: 76px; }
	.tn-hello-text { flex-basis: calc(100% - 100px); }
	.tn-hello .tn-button { width: 100%; }
	.tn-browse-head { padding-block: 26px 20px; }
	.tn-chip-tool { margin-left: 0; }
	.tn-single { padding-top: 12px; }
	.smc-breadcrumbs { font-size: 13px; margin-bottom: 12px; }
	.tn-post-header h1 { font-size: clamp(30px, 8.6vw, 40px); }
	.smc-article-meta { font-size: 13px; gap: 6px; }
	.smc-article-meta > span { padding: 4px 10px; }
	.smc-recipe-actions { flex-wrap: nowrap; }
	.smc-recipe-actions .tn-button { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
	.entry-content { font-size: 17px; }
	.entry-content > h2 { margin-top: 40px; }
	.smc-article .wprm-recipe-container > .wprm-recipe { padding: 20px 16px; border-radius: 22px; }
	.tn-page { padding-block: 28px 56px; }
	.smc-about-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.smc-about-intro img { aspect-ratio: 4 / 3; }
	.tn-footer { padding-top: 40px; }
	.tn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
	.tn-footer-col.smc-site-information { grid-column: 1 / -1; }
	.tn-footer-col.smc-site-information ul { columns: 2; column-gap: 18px; }
}
/* Small phones: keep both header buttons on one line. */
@media (max-width: 400px) {
	.smc-recipe-actions .tn-button { gap: 6px; padding-inline: 10px; font-size: 14px; white-space: nowrap; }
	.smc-recipe-actions .tn-button .smc-icon { width: 15px; height: 15px; }
}
/* Phones in landscape: a slimmer tab bar leaves more of the short screen for content. */
@media (max-width: 760px) and (max-height: 500px) {
	:root { --tabbar: calc(50px + env(safe-area-inset-bottom)); }
	.tn-tabbar a, .tn-tabbar button { flex-direction: row; gap: 6px; font-size: 12px; }
	.tn-tabbar .smc-icon { width: 20px; height: 20px; }
	.tn-tabbar .tn-count { top: 4px; left: calc(50% - 2px); }
}
@media (max-width: 359px) {
	.tn-logo-text span { display: none; }
	.tn-grid { gap: 18px 10px; }
	.tn-card-title { font-size: 15px; }
	.tn-pick { grid-template-columns: 90px minmax(0, 1fr); }
	.smc-recipe-actions .tn-button { font-size: 14px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.tn-appbar, .tn-tabbar, .tn-glance, .tn-float-jump, .tn-rails, .tn-footer, .smc-breadcrumbs, .smc-recipe-actions, .smc-tags, .smc-comments, [data-smc-recent] { display: none !important; }
	body { padding: 0; background: #fff; color: #000; }
	.tn-wrap { width: 100%; }
	.tn-post-layout.has-glance { display: block; }
	.entry-content { font-size: 12pt; }
	a { color: #000; }
}
