/*
Theme Name: BaiGlass
Theme URI: https://github.com/baipin/BaiGlass
Description: A Material Design 3 WordPress theme for photography and publishing, with customizable covers, responsive article cards, and adaptive color themes.
Version: 1.15.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Author: BaiGlass
Author URI: https://www.baipon.com/
License: GNU General Public License v3.0 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: baiglass
Domain Path: /languages
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support
*/

@font-face {
	font-family: "Material Icons";
	src: url("assets/fonts/MaterialIcons-Regular.ttf") format("truetype");
	font-display: block;
}
:root {
	color-scheme: light;
	--seed: #0f766e;
	--accent-seed: #0369a1;
	--accent-container: color-mix(in srgb, var(--accent-seed) 17%, var(--surface));
	--surface-light: #f8faf9;
	--surface-dark: #161b1a;
	--surface: var(--surface-light);
	--photo-brightness: 1;
	--ink: var(--surface-light-ink, #192322);
	--muted: color-mix(in srgb, var(--ink) 77%, var(--surface));
	--primary: color-mix(in srgb, var(--seed), var(--ink) 52%);
	--on-primary: var(--surface);
	--tonal: color-mix(in srgb, var(--seed) 15%, var(--surface));
	--subtle: color-mix(in srgb, var(--surface), var(--seed) 5%);
	--accent: color-mix(in srgb, var(--accent-seed), var(--ink) 52%);
	--outline: color-mix(in srgb, var(--ink) 14%, transparent);
	--glass: color-mix(in srgb, var(--surface) 90%, transparent);
	--canvas: color-mix(in srgb, var(--surface), var(--seed) 3%);
	--bar-size: 70px;
	--motion-standard: cubic-bezier(0.2, 0, 0, 1);
	--motion-enter: cubic-bezier(0.05, 0.7, 0.1, 1);
	--motion-exit: cubic-bezier(0.3, 0, 0.8, 0.15);
	--top-offset: 0px;
	--card-radius: 26px;
	--raised-edge: transparent;
	--raised-shadow: 0 2px 5px #0004, 0 6px 12px #0003;
	--raised-shadow-hover: 0 5px 9px #0004, 0 9px 16px #0003;
	--shadow: 0 1px 2px #10201b0a, 0 10px 35px #10201b0b;
}
:root[data-appearance="dark"] {
	color-scheme: dark;
	--surface: var(--surface-dark);
	--photo-brightness: .82;
	--ink: var(--surface-dark-ink, #dbe2df);
	--muted: color-mix(in srgb, var(--ink) 77%, var(--surface));
	--primary: color-mix(in srgb, var(--seed) 29%, var(--ink));
	--on-primary: var(--surface);
	--accent: color-mix(in srgb, var(--accent-seed) 27%, var(--ink));
	--canvas: color-mix(in srgb, var(--surface) 86%, #000);
	--raised-edge: #ffffff1c;
	--shadow: inset 0 1px 0 var(--raised-edge), 0 2px 5px #0009, 0 10px 28px #0006;
	--raised-shadow: 0 0 0 1px var(--raised-edge), 0 3px 7px #0009, 0 8px 16px #0007;
	--raised-shadow-hover: 0 0 0 1px #ffffff2b, 0 5px 11px #000b, 0 12px 20px #0008;
}
@media (prefers-color-scheme: dark) {
	:root[data-mode="auto"]:not([data-appearance]), :root[data-mode="dark"]:not([data-appearance]), :root[data-mode="always-dark"]:not([data-appearance]) {
		color-scheme: dark;
		--surface: var(--surface-dark);
		--photo-brightness: .82;
		--ink: var(--surface-dark-ink, #dbe2df);
		--muted: color-mix(in srgb, var(--ink) 77%, var(--surface));
		--primary: color-mix(in srgb, var(--seed) 29%, var(--ink));
		--on-primary: var(--surface);
		--accent: color-mix(in srgb, var(--accent-seed) 27%, var(--ink));
		--canvas: color-mix(in srgb, var(--surface) 86%, #000);
		--raised-edge: #ffffff1c;
		--shadow: inset 0 1px 0 var(--raised-edge), 0 2px 5px #0009, 0 10px 28px #0006;
		--raised-shadow: 0 0 0 1px var(--raised-edge), 0 3px 7px #0009, 0 8px 16px #0007;
		--raised-shadow-hover: 0 0 0 1px #ffffff2b, 0 5px 11px #000b, 0 12px 20px #0008;
	}
}
:root[data-mode="dark"]:not([data-appearance]), :root[data-mode="always-dark"]:not([data-appearance]) {
	color-scheme: dark;
	--surface: var(--surface-dark);
	--photo-brightness: .82;
	--ink: var(--surface-dark-ink, #dbe2df);
	--muted: color-mix(in srgb, var(--ink) 77%, var(--surface));
	--primary: color-mix(in srgb, var(--seed) 29%, var(--ink));
	--on-primary: var(--surface);
	--accent: color-mix(in srgb, var(--accent-seed) 27%, var(--ink));
	--canvas: color-mix(in srgb, var(--surface) 86%, #000);
	--raised-edge: #ffffff1c;
	--shadow: inset 0 1px 0 var(--raised-edge), 0 2px 5px #0009, 0 10px 28px #0006;
	--raised-shadow: 0 0 0 1px var(--raised-edge), 0 3px 7px #0009, 0 8px 16px #0007;
	--raised-shadow-hover: 0 0 0 1px #ffffff2b, 0 5px 11px #000b, 0 12px 20px #0008;
}
:root[data-appearance="dark"][data-oled="1"],
:root[data-oled="1"]:is([data-mode="dark"], [data-mode="always-dark"]):not([data-appearance]) {
	--surface: #050505;
	--ink: #dbe2df;
	--canvas: #000;
}
@media (prefers-color-scheme: dark) {
	:root[data-mode="auto"][data-oled="1"]:not([data-appearance]) { --surface: #050505; --ink: #dbe2df; --canvas: #000; }
}
:is(.home-backdrop, .article-heading-backdrop, .article-cover, .related-thumbnail, .prose) img:not(.emoji, .wp-smiley),
img:is(.card-image, .featured-image), .card-image img, .featured-image img { filter: brightness(var(--photo-brightness)); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--bar-size) + 1rem + var(--top-offset)); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--canvas); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; }
body.admin-bar { --top-offset: 32px; }
main { flex: 1; min-width: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.03em; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.pointer-focus :focus-visible { outline: none; }
.pointer-focus .stretched-link:focus-visible::after { outline: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.screen-reader-text:focus { z-index: 100000; width: auto; height: auto; padding: 12px 16px; margin: 8px; overflow: visible; clip-path: none; background: var(--surface); color: var(--ink); }
.material-icons { display: inline-block; font: normal 24px/1 "Material Icons"; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }
.wrap { width: min(100% - 64px, 1224px); margin-inline: auto; }
.surface { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--card-radius); box-shadow: var(--shadow); }
.finish-classic { --card-radius: 9px; }
.button, .icon-button, .chip { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 1px solid transparent; text-decoration: none; font-weight: 650; line-height: 1.2; cursor: pointer; }
.button { border-radius: 100px; padding: 0 19px; }
.button .material-icons { font-size: 19px; }
.button:hover, .chip:hover, .icon-button:hover { box-shadow: inset 0 0 0 100px color-mix(in srgb, currentColor 9%, transparent); }
.filled { background: var(--primary); color: var(--on-primary); }
.tonal { background: var(--tonal); color: var(--primary); }
.subtle { background: transparent; color: var(--primary); }
.icon-button { background: transparent; color: inherit; width: 44px; min-width: 44px; padding: 0; border-radius: 50%; }
body { --bar-size: max(70px, calc(var(--logo-height, 56px) + 12px)); }
.site-bar { position: sticky; top: var(--top-offset); z-index: 15; background: var(--glass); backdrop-filter: blur(24px) saturate(1.4); border-bottom: 1px solid var(--outline); box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 11%, transparent); }
body:has(:is([data-home-hero], [data-article-hero])) .site-bar {
	--hero-surface: 0%;
	margin-bottom: calc(-1 * var(--bar-measured, var(--bar-size) + 1px));
	background: color-mix(in srgb, var(--glass) var(--hero-surface), transparent);
	border-bottom-color: color-mix(in srgb, var(--outline) var(--hero-surface), transparent);
	backdrop-filter: none;
	box-shadow: none;
	transition: none;
}
body:has(:is([data-home-hero], [data-article-hero])) .site-bar .bar-inner { color: color-mix(in srgb, var(--ink) var(--hero-surface), #fff); }
body:has(:is([data-home-hero], [data-article-hero])) .site-bar .bar-content :is(.site-brand > a, .desktop-nav > ul > li > a) { color: inherit; }
body:has(:is([data-home-hero], [data-article-hero])) .site-bar .bar-content :is(.current-menu-item > a, .current_page_item > a, .main-menu a:hover) { background: color-mix(in srgb, currentColor 14%, transparent); }
body:has(:is([data-home-hero], [data-article-hero])) .site-bar.is-below-hero {
	background: var(--glass);
	backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 11%, transparent);
}
.has-motion body:has(:is([data-home-hero], [data-article-hero])) .site-bar { transition: box-shadow 180ms var(--motion-standard), backdrop-filter 180ms var(--motion-standard); }
.page-loading-bar { display: none; position: fixed; z-index: 100001; inset: var(--top-offset, 0px) 0 auto; height: 3px; overflow: hidden; background: var(--tonal); pointer-events: none; }
.bai-page-loading .page-loading-bar { display: block; }
.page-loading-bar::after { content: ""; display: block; width: 45%; height: 100%; border-radius: 99px; background: var(--primary); animation: bai-page-loading 1.4s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes bai-page-loading { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
[data-home-hero] .home-backdrop::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #101820a8, #10182036 95px, transparent 175px); }
.bar-inner { position: relative; }
.bar-content { min-height: var(--bar-size); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bar-brand { display: grid; align-items: center; min-width: 0; }
.bar-brand > * { grid-area: 1 / 1; min-width: 0; transition: opacity 200ms var(--motion-standard), transform 250ms var(--motion-standard); }
.bar-page-title { max-inline-size: min(50vw, 44rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; font-size: 1.1rem; opacity: 0; transform: translateY(8px); pointer-events: none; }
.shows-page-title .bar-brand > .site-brand { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.shows-page-title .bar-page-title { opacity: 1; transform: translateY(0); }
#navigation .dialog-heading .site-brand { margin: 0; }
#navigation .dialog-heading .site-brand img { max-width: min(57vw, 230px); max-height: 48px; }
.site-brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 1.22rem; letter-spacing: -.045em; font-weight: 760; }
.site-brand a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.site-brand img { display: block; width: auto; max-width: min(39vw, 290px); height: var(--logo-height, 56px); object-fit: contain; object-position: left center; }
.appearance-toggle .material-icons { pointer-events: none; }
.has-motion :is(body, .site-bar, .surface, .site-footer, .button, .chip) { transition: background-color 220ms var(--motion-standard), color 220ms var(--motion-standard), border-color 220ms var(--motion-standard), box-shadow 180ms var(--motion-standard); }
:where(a[href]:not(.skip-link, .stretched-link), .button, .icon-button, .chip) { position: relative; }
.material-ripple { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.material-ripple > span { position: absolute; border-radius: 50%; background: currentColor; }
.bar-actions { display: flex; flex-shrink: 0; gap: 3px; align-items: center; margin-inline-start: auto; }
.desktop-nav + .bar-actions { margin-inline-start: 0; }
.main-menu { list-style: none; margin: 0; padding: 0; }
.desktop-nav { margin-inline-start: auto; }
.desktop-nav > .main-menu { display: flex; flex-wrap: wrap; justify-content: end; gap: 3px; }
.main-menu li { position: relative; }
.main-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 100px; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 620; }
.main-menu a:hover, .main-menu .current-menu-item > a, .main-menu .current_page_item > a { background: var(--tonal); color: var(--primary); }
.main-menu .material-icons { font-size: 19px; }
.desktop-nav .sub-menu, .desktop-nav .children { display: none; position: absolute; inset-inline-start: 0; top: 100%; min-width: 190px; margin: 0; list-style: none; padding: 8px; border: 1px solid var(--outline); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.desktop-nav .main-menu:not(.submenu-ready) li:is(:hover, :focus-within) > ul { display: block; }
.main-menu .submenu-branch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.main-menu .submenu-branch > ul { grid-column: 1 / -1; }
.main-menu .submenu-toggle { width: 36px; min-width: 36px; min-height: 36px; }
.main-menu .submenu-toggle .material-icons { transition: transform 180ms var(--motion-standard); }
.main-menu .submenu-toggle[aria-expanded="true"] .material-icons { transform: rotate(180deg); }
.desktop-nav .submenu-ready li > ul:not([hidden]) { display: block; }
.desktop-nav .submenu-ready > .submenu-branch > ul { inset-inline: auto 0; max-width: min(22rem, 90vw); max-height: min(65dvh, 480px); overflow: auto; }
.desktop-nav .submenu-ready ul ul { position: static; min-width: 0; box-shadow: none; border: 0; padding-block: 3px; padding-inline-start: 10px; background: var(--subtle); }
.desktop-nav:has(> .submenu-ready) { min-width: 0; }
#navigation .submenu-branch > ul { margin-inline-start: 10px; border-inline-start: 1px solid var(--outline); }
.menu-toggle { display: none; }
.offline-banner { padding: 9px 20px; background: var(--tonal); color: var(--ink); text-align: center; }
.home-intro { position: relative; isolation: isolate; }
.home-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-backdrop img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 55%; }
.home-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #061a19a6, #08272612 75%), linear-gradient(0deg, #04221d4d, #04221d0d); }
[data-appearance="dark"] .home-backdrop::after { background: linear-gradient(90deg, #000c, #07110d56); }
.hero-wrap { min-height: clamp(335px, 48vw, 500px); display: grid; align-items: center; padding-block: 56px; }
.home-photo .home-backdrop::after { background: linear-gradient(180deg, #0000000a 30%, #0b151747 100%); }
[data-appearance="dark"] .home-photo .home-backdrop::after { background: linear-gradient(180deg, #0000001a 30%, #050a0a73 100%); }
.home-photo .hero-wrap {
	display: flex;
	align-items: end;
	min-height: clamp(380px, 64svh, 690px);
	padding-block: 44px clamp(28px, 6vh, 78px);
}
.photo-introduction {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	width: 100%;
	padding: 23px clamp(20px, 3.4vw, 36px);
	border: 1px solid #ffffff40;
	border-radius: 22px;
	background: #14141cb5;
	backdrop-filter: blur(20px) saturate(1.15);
	color: #fff;
}
.photo-introduction-below { margin-block: clamp(16px, 3vw, 32px) clamp(20px, 4vw, 44px); }
.photo-introduction-below .photo-introduction { background: var(--surface); color: var(--ink); border-color: var(--outline); box-shadow: var(--shadow); backdrop-filter: none; }
.photo-introduction-below .photo-introduction p { color: var(--muted); }
.photo-introduction-below .photo-introduction .button { background: var(--tonal); color: var(--primary); }
.photo-introduction-copy { min-width: 0; }
.photo-introduction h2 { font-size: clamp(1.28rem, 2.4vw, 1.62rem); font-weight: 680; letter-spacing: -.01em; }
.photo-introduction p { margin-top: 5px; color: #f7f8f9; font-size: .95rem; white-space: pre-line; }
.photo-introduction .button { flex-shrink: 0; background: color-mix(in srgb, var(--seed) 17%, #f3f6f8); color: #172322; }
.hero-panel { width: fit-content; max-width: min(100%, 680px); padding: clamp(26px, 4.2vw, 62px); border-radius: 34px; border: 1px solid #ffffff43; background: color-mix(in srgb, color-mix(in srgb, var(--seed), #061211 76%) 80%, transparent); color: #fff; backdrop-filter: blur(21px) saturate(1.15); box-shadow: 0 16px 65px #071f2043; }
.hero-copy h1 { font-size: clamp(2.75rem, 6.5vw, 5.6rem); font-weight: 760; letter-spacing: -.075em; }
.hero-copy p { margin-top: 13px; max-width: 49ch; color: #ecf4f1; font-size: clamp(1rem, 1.55vw, 1.22rem); white-space: pre-line; }
.hero-copy .button { margin-top: 28px; background: color-mix(in srgb, var(--seed) 15%, #fff); color: #102823; }
.home-simple .hero-wrap { min-height: 275px; padding-block: 34px; }
.home-simple .hero-panel { padding: 25px 32px; }
.home-simple h1, .home-plain h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.home-split .hero-wrap { min-height: 345px; }
.home-split .hero-panel { width: 100%; max-width: 100%; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 32px; }
.hero-image img { display: block; width: 100%; height: 240px; object-fit: cover; border-radius: 20px; }
.home-plain .hero-wrap { min-height: 0; padding-block: 52px 14px; }
.home-plain .hero-panel { background: none; border: 0; color: var(--ink); box-shadow: none; padding: 0; backdrop-filter: none; }
.home-plain p { color: var(--muted); }
.home-plain .button { background: var(--primary); color: var(--on-primary); }
.home-content { margin-block: 30px 0; padding: clamp(20px, 4vw, 48px); }
.announcement { margin-block: 12px; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 15px; border-radius: 15px; background: var(--tonal); color: var(--ink); }
.announcement span:nth-child(2) { flex: 1; white-space: pre-line; }
.notice-warning { background: color-mix(in srgb, var(--surface), #c78906 22%); }
.notice-error { background: color-mix(in srgb, var(--surface), #ab222c 22%); }
.home-columns { --sidebar-width: 290px; display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); align-items: start; gap: clamp(18px, 2.5vw, 30px); transition: grid-template-columns 240ms var(--motion-standard); }
.home-sidebar-slot { min-width: 0; padding-top: clamp(36px, 5.2vw, 72px); }
.home-sidebar-slot > .home-sidebar { padding-top: 0; }
.desktop-sidebar-anchor { display: flex; justify-content: end; min-height: 44px; margin-bottom: 10px; }
.desktop-sidebar-toggle { display: inline-flex; background: var(--tonal); color: var(--primary); }
.sidebar-toolbar-dock { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; }
.sidebar-toolbar-dock .desktop-sidebar-toggle { background: transparent; color: inherit; }
@media (max-width: 782px) {
	.sidebar-toolbar-dock, .desktop-sidebar-anchor { display: none; }
}
.home-columns:has(> .sidebar-collapsed) { grid-template-columns: minmax(0, 1fr) 44px; }
@media (min-width: 783px) {
	.home-sidebar-slot { overflow: clip; overflow-clip-margin: 10px; }
	.home-sidebar-slot > .home-sidebar { width: var(--sidebar-width); }
}
.home-sidebar-fab { display: none; }
.home-sidebar { display: grid; gap: 10px; padding-block: clamp(36px, 5.2vw, 72px); min-width: 0; }
.home-sidebar .widget, .personal-card { padding: 16px; overflow-wrap: anywhere; }
.home-sidebar h2 { margin-bottom: 9px; font-size: 1.25rem; }
.home-sidebar .widget :is(ul, ol) { padding-inline-start: 20px; margin-block: 0; }
.personal-avatar { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 50%; margin-bottom: 13px; }
.personal-card h2 { margin-bottom: 4px; }
.personal-bio { white-space: pre-line; color: var(--muted); font-size: .91rem; }
.personal-contacts { display: grid; gap: 5px; margin: 15px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--outline); }
.personal-contacts :is(a, li > div) { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 6px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.personal-contacts a:hover { background: var(--tonal); }
.personal-contacts strong, .personal-contacts small { display: block; font-size: .86rem; line-height: 1.35; }
.personal-contacts small { color: var(--muted); }
.personal-contacts .material-icons, .social-brand { color: var(--primary); font-size: 20px; }
.social-monogram { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 5px; background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 700; }
.social-brand { display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; background: currentColor; mask: var(--brand-icon) center / contain no-repeat; }
.feed-section, .spotlight { padding-block: clamp(36px, 5.2vw, 72px); }
.spotlight { padding-bottom: 0; }
.feed-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 21px; }
.feed-head-hidden { margin: 0; }
.feed-head h1, .feed-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.archive-description { flex-basis: 100%; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 0 26px; }
.chip, .post-tags a, .tag-cloud a { background: var(--surface); border: 1px solid var(--outline); color: var(--muted); border-radius: 11px; padding: 8px 14px; min-height: 38px; font-size: .875rem; text-decoration: none; }
.tag-cloud.tag-cloud-colorful a { --tag-tone: #0b8b78; background: color-mix(in srgb, var(--tag-tone) 30%, var(--surface)); color: var(--ink); border-color: color-mix(in srgb, var(--tag-tone) 55%, var(--surface)); }
.tag-cloud.tag-cloud-colorful a:nth-of-type(6n + 2) { --tag-tone: #496cce; }
.tag-cloud.tag-cloud-colorful a:nth-of-type(6n + 3) { --tag-tone: #8755b8; }
.tag-cloud.tag-cloud-colorful a:nth-of-type(6n + 4) { --tag-tone: #bf5877; }
.tag-cloud.tag-cloud-colorful a:nth-of-type(6n + 5) { --tag-tone: #bb772c; }
.tag-cloud.tag-cloud-colorful a:nth-of-type(6n + 6) { --tag-tone: #638b35; }
.tag-cloud.tag-cloud-colorful a:hover { background: color-mix(in srgb, var(--tag-tone) 40%, var(--surface)); }
.chip.selected, .post-tags a:hover, .tag-cloud a:hover { background: var(--tonal); color: var(--primary); border-color: transparent; }
.chip .material-icons { font-size: 17px; }
.post-feed { --feed-gap: 20px; --columns: 3; display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: var(--feed-gap); align-items: start; }
.feed-masonry.is-waterfall { position: relative; display: block; }
.feed-masonry[data-columns="2"] { --columns: 2; }
.feed-masonry[data-columns="4"] { --columns: 4; }
.feed-masonry .card-inner { box-shadow: 0 1px 2px #0002, 0 3px 7px #0002; }
[data-appearance="dark"] .home .post-feed:not(.feed-plain) .card-inner:not(:hover, :focus-within) {
	box-shadow: inset 0 1px 0 #ffffff16, 0 0 0 1px #ffffff1f, 0 3px 7px #000b, 0 8px 17px #0009;
}
.is-waterfall > .post-card { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: calc((100% - (var(--columns) - 1) * var(--feed-gap)) / var(--columns)); }
.feed-masonry .card-image img { max-height: clamp(170px, 20vw, 265px); }
.card-inner { position: relative; overflow: hidden; transition: box-shadow .2s, background-color .2s; }
.card-inner:hover, .card-inner:focus-within { background: var(--subtle); box-shadow: var(--raised-shadow-hover); }
.card-image { overflow: hidden; background: var(--tonal); }
.card-image img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.card-copy { padding: 17px 18px 14px; }
.card-category { position: relative; z-index: 2; display: inline-block; margin-bottom: 8px; color: var(--accent); font-size: .79rem; font-weight: 740; text-decoration: none; }
.card-category:hover { text-decoration: underline; }
.card-copy h3 { font-size: clamp(1.12rem, 1.45vw, 1.35rem); font-weight: 720; line-height: 1.22; }
.card-copy h3 a { color: var(--ink); text-decoration: none; }
.stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--card-radius); }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -4px; }
.card-copy p { margin-top: 9px; color: var(--muted); font-size: .92rem; line-height: 1.54; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 5px 13px; min-height: 24px; align-items: center; margin-top: 12px; color: var(--muted); font-size: .78rem; }
.card-stat { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.card-stat .material-icons { font-size: 16px; }
.card-direction { display: inline-flex; margin-inline-start: auto; color: var(--primary); }
.card-direction .material-icons { font-size: 19px; }
.card-inner > .material-ripple { z-index: 3; }
.feed-grid { align-items: stretch; }
.feed-grid .card-inner { height: 100%; }
.card-cover-overlay .card-inner { display: grid; min-height: 232px; background: #151e21; }
.card-cover-overlay :is(.card-image, .card-copy) { grid-area: 1 / 1; }
.card-cover-overlay .card-image { position: absolute; inset: 0; }
.card-cover-overlay .card-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.card-cover-overlay .card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0003, #000c 55%, #000e); }
.card-cover-overlay .card-copy { align-self: end; z-index: 1; }
.card-cover-overlay .card-copy :is(h3 a, p, .card-meta, .card-direction, .card-category) { color: #fff; }
.feed-grid .card-image img, .list-image-fixed .feed-masonry .card-image img { aspect-ratio: 16 / 10; }
.donation-dialog { max-width: 360px; }
.donation-dialog img { display: block; margin: 12px auto 0; border-radius: 12px; }
.donation-dialog[open]:not(.is-closing) img { animation: bai-donation-enter 300ms var(--motion-enter) both; }
@keyframes bai-donation-enter { from { opacity: 0; transform: translateY(9px) scale(.95); } }
.donation-toggle { background: var(--tonal); color: var(--primary); }
.lightbox-caption { padding: 6px 12px; background: var(--surface); color: var(--ink); text-align: center; border-radius: 10px; }
.feed-list, .feed-plain { grid-template-columns: 1fr; }
.feed-list .with-image .card-inner { display: grid; grid-template-columns: minmax(120px, 26%) 1fr; }
.feed-list .card-image img { height: 100%; min-height: 150px; }
.feed-plain { gap: 0; }
.feed-plain .card-inner { background: none; border: 0; border-bottom: 1px solid var(--outline); border-radius: 0; box-shadow: none; }
.spotlight-grid, .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.spotlight-card, .related-card { overflow: hidden; color: var(--ink); font-weight: 700; text-decoration: none; }
.spotlight-card img { width: 100%; height: 116px; display: block; object-fit: cover; }
.spotlight-card span:first-of-type, .related-card { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 14px 16px; }
.spotlight-card .material-icons, .related-card .material-icons { color: var(--primary); font-size: 19px; }
.empty-page { padding-block: 62px; }
.empty-state { display: grid; justify-items: center; gap: 14px; padding: 42px 20px; text-align: center; }
.empty-state > .material-icons { font-size: 42px; color: var(--primary); }
.nav-links, .timeline-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-numbers, .post-pages a, .post-pages .post-page-numbers { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; background: var(--surface); border: 1px solid var(--outline); border-radius: 12px; text-decoration: none; }
.page-numbers.current, .post-pages .current { background: var(--tonal); color: var(--primary); }
.footer-credit { margin: 5px 0 0; font-size: .8rem; }
.site-footer .footer-credit a { color: inherit; }
.site-footer { margin-top: 22px; background: var(--surface); border-top: 1px solid var(--outline); color: var(--muted); }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-block: 30px; }
.footer-logo-gray .footer-identity img { filter: grayscale(1); opacity: .76; }
.footer-logo-watermark { position: relative; isolation: isolate; overflow: hidden; }
.footer-watermark { position: absolute; z-index: -1; left: 0; top: 50%; transform: translate(-14%, -50%); width: min(66vw, 440px); height: 150%; display: flex; align-items: center; pointer-events: none; user-select: none; color: var(--ink); opacity: .08; filter: grayscale(1); }
.footer-watermark img { display: block; max-width: 100%; height: 100%; object-fit: contain; object-position: left center; }
@media (min-width: 783px) {
	.footer-logo-watermark .footer-inner { position: relative; }
	.footer-watermark { inset-inline: 0 auto; transform: translateY(-50%); }
	.footer-center .footer-watermark { inset-inline: auto; left: 50%; transform: translate(-50%, -50%); justify-content: center; }
}
.footer-watermark span { font-size: clamp(68px, 12vw, 176px); font-weight: 800; line-height: 1; white-space: nowrap; }
.footer-identity .site-brand img { height: auto; width: min(130px, 36vw); max-height: 54px; object-fit: contain; }
.footer-identity { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.footer-identity .site-brand { display: flex; align-items: center; min-height: 54px; line-height: 1; }
.footer-identity .site-brand > a { display: inline-flex; align-items: center; min-height: 54px; line-height: 1; }
.footer-identity .site-brand img { display: block; }
.footer-custom { min-width: 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.footer-custom p + p { margin-top: 5px; }
.footer-custom a { color: inherit; }
.footer-custom :is(.footer-social-icon, a:has(> .footer-social-icon)) { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; vertical-align: middle; line-height: 1; text-decoration: none; }
.bai-tooltip { position: fixed; inset: auto; margin: 0; max-width: min(280px, calc(100vw - 16px)); overflow-wrap: anywhere; pointer-events: none; padding: 5px 9px; border: 0; border-radius: 6px; background: var(--ink); color: var(--surface); font-size: .78rem; line-height: 1.45; box-shadow: 0 2px 5px #0003; }
.bai-tooltip:popover-open { animation: bai-tooltip-in 160ms var(--motion-standard); }
@keyframes bai-tooltip-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }
.footer-custom .footer-social-icon :is(svg, .material-icons, .social-monogram) { display: block; width: 20px; height: 20px; font-size: 20px; line-height: 1; margin: 0; }
.footer-custom > a > .material-icons { vertical-align: middle; }
.footer-identity > a { color: var(--ink); font-weight: 730; text-decoration: none; }
.footer-description, .footer-links { font-size: .88rem; }
.footer-inner > :is(.footer-custom, .footer-links) { margin-inline-start: auto; text-align: end; }
.footer-inner > .footer-links { justify-content: end; }
.footer-links, .footer-links ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); }
.footer-center .footer-inner { flex-direction: column; align-items: center; text-align: center; }
.footer-center .footer-inner > :is(.footer-custom, .footer-links) { margin-inline-start: 0; text-align: center; justify-content: center; }
.footer-minimal .footer-identity > :not(.footer-credit) { display: none; }
.footer-minimal .footer-inner { padding-block: 16px; }
.article-wrap, .article-heading-inner { width: min(100% - 64px, 980px); }
.article-wrap { padding-block: 0 clamp(28px, 5vw, 65px); }
.article-wrap.article-wrap-wide, .article-heading-inner.heading-wide { width: min(100% - 64px, 1400px); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 24px; text-decoration: none; font-weight: 650; font-size: .9rem; }
.back-link .material-icons { font-size: 18px; }
.article-heading { margin-bottom: 24px; }
.article-heading-inner { padding-top: clamp(24px, 3.5vw, 48px); }
.article-heading h1 { max-width: 23ch; font-size: clamp(1.6875rem, 3.5vw, 2.75rem); font-weight: 750; }
.article-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.article-categories a { color: var(--accent); text-decoration: none; font-size: .88rem; font-weight: 680; }
.byline { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: .9rem; }
.byline a { color: var(--ink); font-weight: 700; text-decoration: none; }
.avatar { border-radius: 50%; }
.byline-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8rem; }
.article-cover { margin: 0 0 24px; overflow: hidden; border-radius: var(--card-radius); background: var(--tonal); }
.article-cover img { display: block; width: 100%; height: var(--article-cover-height, 42svh); object-fit: cover; }
.article-cover.article-cover-full { background: transparent; }
.article-cover.article-cover-full img { width: auto; max-width: 100%; max-height: none; height: auto; margin-inline: auto; object-fit: contain; }
.article-heading.article-heading-photo {
	position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end;
	min-height: var(--article-cover-height, 42svh); background: #151e23; color: #fff;
	padding: calc(var(--bar-measured, var(--bar-size) + 1px) + 32px) 0 clamp(24px, 4vw, 48px);
}
.article-heading-photo .article-heading-inner { padding-top: 0; }
.article-heading-immersive .article-heading-backdrop::after { background: linear-gradient(180deg, #101820a6 0%, #10182016 28%, #10182016 62%, #1018206f 100%); }
.article-heading-immersive .article-title-panel { padding: clamp(16px, 3vw, 34px); border: 1px solid #ffffff42; border-radius: 22px; background: #14141cb8; backdrop-filter: blur(18px) saturate(1.1); }
.article-heading-backdrop, .article-heading-backdrop::after { position: absolute; inset: 0; z-index: -1; }
.article-heading-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-heading-backdrop::after { content: ""; z-index: 0; background: linear-gradient(180deg, #0a121b9e 0%, #121c224a 32%, #0b1116f5 100%); }
.article-heading-photo :is(.article-categories a, .byline a, .byline-meta) { color: #f9fbff; }
.article-compact .post-heading h1 { font-size: clamp(1.6875rem, 3vw, 2.35rem); }
.article-compact .article-body { --article-padding: clamp(12px, 2.5vw, 27px); }
.article-compact .post-heading { margin-block-end: 12px; }
.article-compact .post-heading:not(.article-heading-photo) .article-heading-inner { padding-block-start: clamp(14px, 2vw, 28px); }
.article-compact .article-body .prose { line-height: 1.58; }
.article-compact .article-body .prose > * + * { margin-block-start: .75em; }
.article-glass main { background: linear-gradient(155deg, var(--tonal), var(--canvas) 38%, var(--accent-container)); }
.article-glass .article-body {
	background: color-mix(in srgb, var(--surface) 68%, transparent);
	border-color: color-mix(in srgb, var(--ink) 20%, transparent);
	box-shadow: inset 0 1px 0 #fff4, var(--shadow);
	backdrop-filter: blur(18px) saturate(1.2);
}
.article-glass .article-heading-photo .article-title-panel { padding: clamp(16px, 3vw, 34px); border-radius: 24px; background: #13202b75; backdrop-filter: blur(18px); }
.article-glass .post-heading:not(.article-heading-photo) .article-heading-inner { margin-top: 24px; padding: 24px clamp(18px, 4vw, 40px); border-radius: var(--card-radius); background: var(--tonal); }
.article-plain .article-cover { border-radius: 0; }
.article-plain .article-body { padding-inline: 0; border: 0; background: none; box-shadow: none; }
.article-body { --article-padding: clamp(20px, 4vw, 44px); min-width: 0; padding: var(--article-padding); }
@media (min-width: 783px) {
	.outline-wrap { display: flex; justify-content: end; min-height: 44px; margin-block-end: 12px; }
}
@media (max-width: 782px) {
	.outline-wrap { display: none; }
}
.outline-control { position: relative; }
.outline-toggle { background: var(--tonal); color: var(--primary); }
.sidebar-toolbar-dock .outline-toggle { background: transparent; color: inherit; }
.outline-control > .outline { position: absolute; z-index: 4; inset: calc(100% + 8px) 0 auto auto; inset-inline: auto 0; width: min(245px, calc(100vw - 42px)); color: var(--ink); }
@media (min-width: 1560px) {
	.article-wrap:not(.article-wrap-wide) .outline-wrap .outline { inset-block-start: 0; inset-inline: calc(100% + 16px) auto; }
}
@media (min-width: 1980px) {
	.article-wrap-wide .outline-wrap .outline { inset-block-start: 0; inset-inline: calc(100% + 16px) auto; }
}
.outline { padding: 17px; max-height: min(65vh, 600px); overflow: auto; overflow-wrap: anywhere; }
.outline h2 { font-size: 1rem; margin-bottom: 10px; }
.outline ul { list-style: none; margin: 0; padding: 0; }
.outline a { display: block; padding: 4px 0; color: var(--muted); font-size: .87rem; text-decoration: none; }
.outline a:hover, .outline a[aria-current] { color: var(--primary); text-decoration: underline; }
.outline-level-3 { padding-inline-start: 10px; }
.outline-level-4 { padding-inline-start: 18px; }
.outline-level-5, .outline-level-6 { padding-inline-start: 23px; }
.prose { font-size: 1rem; line-height: 1.75; min-width: 0; }
.prose > * + * { margin-block-start: 1em; }
.prose .prose-text-link {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size 200ms var(--motion-standard);
}
[dir="rtl"] .prose .prose-text-link { background-position: right bottom; }
.prose .prose-text-link:is(:hover, :focus-visible, :active) { background-size: 100% 1px; }
@media (forced-colors: active) {
	.prose .prose-text-link { text-decoration: underline; }
}
.prose :is(h2,h3,h4,h5,h6) { margin-block: 1.45em .55em; }
.article-body .prose :where(h1, h2, h3, h4, h5, h6) { color: var(--primary); }
.prose > :first-child { margin-block-start: 0; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose figure { margin-inline: 0; }
.prose :is(img, video, iframe, embed, object, audio) { max-width: 100%; }
.prose :is(.wp-block-embed, .wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-gallery, .wp-block-image) { min-width: 0; }
.prose .wp-block-embed__wrapper { overflow-wrap: anywhere; }
.prose :is(.wp-block-archives-dropdown, .wp-block-categories-dropdown) select { width: min(100%, 28rem); }
.prose .wp-block-table { max-width: 100%; }
.prose ul, .prose ol { padding-inline-start: 1.6em; }
.article-note { position: relative; isolation: isolate; overflow: hidden; margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--subtle); border: 1px solid var(--outline); overflow-wrap: anywhere; }
.article-note > .material-icons {
	position: absolute;
	z-index: -1;
	inset-block-start: -0.24em;
	inset-inline-end: -0.15em;
	font-size: clamp(96px, 15vw, 168px);
	line-height: 1;
	color: var(--ink);
	opacity: .08;
	filter: grayscale(1);
	pointer-events: none;
	user-select: none;
}
.article-note p + p { margin-top: 6px; }
.article-end { padding: 14px 16px; margin-top: 17px; border: 1px solid var(--outline); border-radius: 16px; background: var(--subtle); }
.article-endcap { margin: 24px calc(-1 * var(--article-padding)) calc(-1 * var(--article-padding)); padding: clamp(15px, 3vw, 28px) var(--article-padding); border-top: 1px solid var(--outline); border-radius: 0 0 var(--card-radius) var(--card-radius); background: var(--subtle); }
.article-endcap .article-note { margin-top: 0; background: var(--surface); }
.article-endcap .article-end { background: var(--surface); }
.article-endcap > .article-end:first-child { margin-top: 0; }
.article-end .post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.article-end .post-tags a { background: transparent; border: 0; min-height: 0; padding: 4px 7px; }
.article-end .post-tags a:hover { background: var(--tonal); }
.article-end .post-tags a::before { content: "#"; }
.article-trail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: var(--muted); font-size: .86rem; padding-top: 9px; border-top: 1px solid var(--outline); overflow-wrap: anywhere; }
.article-trail > * + *::before { content: "·"; margin-inline-end: 7px; color: var(--muted); }
.prose { display: flow-root; }
.prose .wp-caption { max-width: 100%; }
.wp-block-quote.is-style-baiglass-tonal-quote { padding: .85em 1.25em; border: 0; border-inline-start: 3px solid var(--primary, #0f766e); border-radius: 12px; background: var(--tonal, #e5f0ec); color: var(--ink, #192322); }
.prose :is(.wp-caption-text, .gallery-caption) { color: var(--muted); font-size: .9em; text-align: center; }
.prose .alignleft { float: left; margin: 0 1.25em .75em 0; }
.prose .alignright { float: right; margin: 0 0 .75em 1.25em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.post-card.sticky .card-inner { border-color: color-mix(in srgb, var(--primary) 38%, var(--outline)); }
.comment-list .bypostauthor > .comment-body { border-inline-start: 3px solid var(--primary); padding-inline-start: clamp(10px, 1.5vw, 18px); }
.prose figcaption { color: var(--muted); font-size: .87em; }
.prose :is(pre, .wp-block-code) { overflow: auto; padding: 15px; border-radius: 12px; background: #000; color: #f5f5f5; font-size: .9em; }
.prose pre code { color: inherit; background: transparent; }
.prose blockquote { margin-inline: 0; padding-inline-start: 17px; border-inline-start: 3px solid var(--primary); color: var(--muted); }
.prose :is(.wp-block-table, .table-scroll) { max-width: 100%; overflow-x: auto; border-radius: 14px; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--outline); border-radius: 14px; background: var(--surface); overflow: hidden; }
.prose table :is(th, td) { border: 0; border-block-end: 1px solid var(--outline); padding: 11px 14px; text-align: start; overflow-wrap: anywhere; }
.prose table thead th { background: var(--tonal); color: var(--primary); font-weight: 700; }
.prose table tbody th { font-weight: 650; }
.prose table :is(tbody, tfoot):last-child tr:last-child > :is(th, td) { border-block-end: 0; }
.prose .table-hover tbody tr:hover, .prose .wp-block-table tbody tr:hover { background: var(--subtle); }
.post-tags { margin-block: 20px 0; }
.post-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.article-share-toggle { background: var(--primary); color: var(--on-primary); }
.article-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 9px; }
.share-options { display: none; }
.share-options:popover-open { display: block; position: fixed; inset: auto; margin: 0; padding: 14px; width: min(480px, calc(100vw - 24px)); max-height: min(65dvh, 520px); overflow: auto; color: var(--ink); animation: bai-dialog-enter 210ms var(--motion-enter) both; }
.share-options { scrollbar-width: none; overscroll-behavior: contain; }
.share-options::-webkit-scrollbar { display: none; }
.share-options .dialog-heading { margin-bottom: 8px; }
.share-options .dialog-heading h2 { font-size: 1.15rem; }
.share-options .button :is(.material-icons, .social-brand) { flex: 0 0 19px; width: 19px; height: 19px; color: currentColor; }
.social-brand.social-brand-inline { fill: currentColor; background: none; mask: none; }
.share-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.share-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--outline); list-style: none; }
.share-services .button { width: 100%; justify-content: flex-start; padding-inline: 9px; min-width: 0; overflow-wrap: anywhere; }
.share-qr { display: grid; justify-items: center; margin: 12px 0 0; text-align: center; }
.share-qr canvas { width: min(100%, 230px); height: auto; border-radius: 10px; }
.share-status:empty { display: none; }
@media (max-width: 438px) {
	.share-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.material-fab.back-to-top { border-radius: 50%; }
body:has(.widget-toggle) .back-to-top { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); }
.reading-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2.5; transform: rotate(-90deg); pointer-events: none; }
.reading-track { stroke: color-mix(in srgb, currentColor 22%, transparent); }
.reading-value { stroke: currentColor; stroke-linecap: round; }
.post-navigation .nav-links > div { flex: 1 1 200px; }
.post-navigation a { display: block; text-decoration: none; padding: 13px 16px; background: var(--surface); border: 1px solid var(--outline); border-radius: 15px; }
.post-navigation a span { display: block; font-size: .8rem; color: var(--muted); }
.adjacent-strip { margin-block: 24px 8px; }
.adjacent-strip .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); width: min(100% - 32px, 1320px); margin: 0 auto; }
.adjacent-strip .nav-next { grid-column: 2; }
.adjacent-strip .nav-links a { text-decoration: none; display: flex; align-items: center; gap: clamp(8px, 2vw, 20px); height: 100%; min-height: clamp(116px, 13vw, 172px); padding: 16px clamp(10px, 3vw, 38px); background: var(--primary); border: 0; border-radius: 20px; color: var(--on-primary); box-shadow: var(--shadow); transition: box-shadow 180ms var(--motion-standard), filter 180ms var(--motion-standard); }
.adjacent-strip .nav-links a:hover { filter: brightness(.91); box-shadow: var(--raised-shadow-hover); }
.adjacent-strip .nav-links > div:only-child { grid-column: 1 / -1; }
.adjacent-strip .nav-links a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.adjacent-strip .nav-next a { justify-content: end; text-align: end; }
.adjacent-strip a .adjacent-copy { min-width: 0; color: inherit; }
.adjacent-strip a .adjacent-label { color: inherit; opacity: .82; }
.adjacent-strip a strong { display: block; font-size: clamp(.88rem, 1.8vw, 1.14rem); line-height: 1.4; overflow-wrap: anywhere; }
.adjacent-strip a .material-icons { flex: 0 0 auto; color: inherit; font-size: clamp(18px, 2.5vw, 26px); }
.related, .author-card, .comments { margin-top: 25px; }
.related-list { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.related-list .related-card { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 14px; padding: 10px; border-radius: 18px; transition: background-color 180ms var(--motion-standard); }
.related-list .related-card:hover { background: var(--tonal); }
.related-carousel { min-inline-size: 0; }
.related-carousel .related-list { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(155px, 31vw, 235px); gap: 16px; padding: 10px 9px 19px; scroll-padding-inline: 9px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-width: thin; scrollbar-color: var(--outline) transparent; }
.related-carousel li { scroll-snap-align: start; }
.related-carousel .related-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: 138px; height: 100%; background: var(--primary); color: var(--on-primary); padding: 28px 12px 12px; }
.related-carousel .related-card:has(img) { color: #fff; text-shadow: 0 1px 2px #000; }
.related-carousel .related-card { border: 0; box-shadow: 0 2px 5px #0004, 0 6px 12px #0004; transition: transform 180ms var(--motion-standard), box-shadow 180ms var(--motion-standard); }
.related-carousel .related-card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: 0 5px 9px #0005, 0 9px 16px #0005; }
[data-appearance="dark"] .related-carousel .related-card { box-shadow: 0 3px 8px #000b, 0 8px 16px #0009; }
.related-carousel .related-thumbnail { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; background: none; }
.related-carousel .related-thumbnail:has(img)::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, transparent, #000a 76%, #000c); }
.related-carousel .related-thumbnail > .material-icons { display: none; }
.related-carousel .related-card > .material-icons { position: absolute; inset-inline-end: 9px; inset-block-start: 9px; color: inherit; }
.related-carousel .related-copy p { display: none; }
.related-thumbnail { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--tonal); }
.related-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.related-copy h3 { font-size: 1rem; }
.related-copy p { color: var(--muted); font-size: .86rem; font-weight: 400; margin-top: 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.feed-load { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.feed-load [data-feed-status]:empty { display: none; }
.feed-load > * { grid-area: 1 / 1; }
.feed-load > [data-feed-status]:not(.screen-reader-text) { grid-row: 2; }
.feed-load[aria-busy="true"] > [data-feed-load] { opacity: 0; pointer-events: none; }
.feed-spinner { width: 40px; height: 40px; place-self: center; color: var(--primary); animation: bai-spin 1.5s linear infinite; }
.feed-spinner circle { stroke-dasharray: 14 100; animation: bai-spin-arc 1.5s var(--motion-standard) infinite; }
@keyframes bai-spin { to { transform: rotate(360deg); } }
@keyframes bai-spin-arc { 50% { stroke-dasharray: 76 100; stroke-dashoffset: -16; } 100% { stroke-dasharray: 14 100; stroke-dashoffset: -100; } }
.related h2, .comments h2 { margin-bottom: 13px; }
.author-card { display: flex; align-items: center; gap: 14px; padding: 20px; }
.author-card h2 { font-size: 1.12rem; }
.comments { padding: clamp(20px, 4vw, 40px); }
.comment-list, .comment-list .children { padding-inline-start: 0; list-style: none; }
.comment-list li::marker { content: ""; }
.comment-list .children { margin-inline-start: clamp(6px, 2vw, 20px); padding-inline-start: clamp(14px, 2vw, 22px); border-inline-start: 1px solid var(--outline); }
.comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--outline); overflow-wrap: anywhere; }
.comment-list .avatar { vertical-align: middle; margin-inline-end: 8px; }
.comment-list .comment-reply-link, .comments #cancel-comment-reply-link { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 12px; border-radius: 20px; color: var(--primary); font-weight: 650; font-size: .86rem; text-decoration: none; }
.comment-list .comment-reply-link:hover, .comments #cancel-comment-reply-link:hover { background: var(--tonal); }
.comment-list .comment-reply-link { gap: 6px; }
.comment-list .comment-reply-link .material-icons { font-size: 18px; }
.comments #respond { margin-block: 0 12px; padding: clamp(12px, 2vw, 24px); border-radius: 22px; background: color-mix(in srgb, var(--surface) 91%, var(--ink)); }
.comments:has(#respond) > h2 { display: none; }
.comments .comment-reply-title { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 650; margin-block-end: 14px; }
.comments .comment-form, .comment-details { display: grid; gap: 12px 26px; }
.comment-details { grid-template-columns: minmax(0, 1fr); }
.comment-details > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
@media (min-width: 600px) {
	.comment-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.comment-details > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
}
.comments .comment-form > p { margin: 0; }
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url) {
	position: relative; display: block; padding-inline-start: 39px; min-width: 0;
}
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url) > .material-icons {
	position: absolute; inset-inline-start: 2px; inset-block-start: 22px; color: var(--muted); font-size: 21px;
}
.comment-composer:has(.emoji-picker) .comment-form-comment { padding-inline-end: 38px; }
.comments .comment-form :is(#author, #email, #url, #comment) {
	display: block; width: 100%; min-height: 44px; margin: 10px 0 0;
	padding: 12px 0 4px; border: 0; border-bottom: 1px solid var(--outline);
	border-radius: 0; background: transparent; box-shadow: none;
	transition: border-color 180ms var(--motion-standard), box-shadow 180ms var(--motion-standard);
}
.comments .comment-form #comment { height: 60px; min-height: 60px; padding-block-start: 24px; resize: vertical; }
.comments .comment-form :is(#author, #email, #url, #comment):focus {
	border-color: var(--accent); box-shadow: 0 1px var(--accent); outline: none;
}
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url):focus-within > :is(label, .material-icons) { color: var(--accent); }
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url):has([placeholder=" "]) > label {
	position: absolute; inset-block-start: 0; inset-inline-start: 39px; pointer-events: none;
	color: var(--muted); transform-origin: left top; transform: translateY(20px);
	transition: transform 160ms var(--motion-standard), color 160ms var(--motion-standard);
}
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url):has([placeholder=" "]:is(:focus, :not(:placeholder-shown))) > label { transform: scale(.83); }
.comments .comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url):focus-within > label { color: var(--accent); }
[dir="rtl"] .comments .comment-form :has([placeholder=" "]) > label { transform-origin: right top; }
.comments .comment-form .form-submit { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-block-start: 8px; }
.comments .form-submit .button { min-width: 92px; border-radius: 8px; }
.comment-compose-toggle .material-icons { transition: transform 180ms var(--motion-standard); }
.comment-compose-toggle[aria-expanded="true"] .material-icons { transform: rotate(180deg); }
.comments .comment-form input[type="checkbox"] { accent-color: var(--primary); }
.comments [data-comment-more] { margin-top: 8px; }
.comments [data-comment-more]:disabled { opacity: .65; cursor: wait; }
.comment-metadata { font-size: .84rem; }
.comments .comment-form .comment-form-cookies-consent label { display: inline; }
:where(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, select) { background: var(--surface); color: var(--ink); border: 1px solid var(--outline); border-radius: 12px; padding: 10px 13px; max-width: 100%; }
.comment-form textarea { display: block; width: 100%; resize: vertical; }
.comment-composer { position: relative; }
.comment-composer .emoji-picker { position: absolute; inset-inline-end: 0; inset-block-start: 13px; }
.comment-composer:has(> .comment-form-smilies) .emoji-picker { position: static; }
.emoji-panel { display: none; }
.emoji-panel:popover-open { display: block; position: fixed; inset: auto; margin: 0; padding: 12px; width: min(375px, calc(100vw - 24px)); max-height: min(50dvh, 440px); overflow: auto; animation: bai-dialog-enter 210ms var(--motion-enter) both; }
.emoji-panel input { width: 100%; }
.emoji-categories { display: flex; flex-wrap: wrap; gap: 4px; margin-block: 8px; }
.emoji-categories button { border: 1px solid var(--outline); border-radius: 10px; font-size: .78rem; background: var(--surface); padding: 3px 6px; }
.emoji-categories [aria-pressed=true] { background: var(--tonal); color: var(--primary); }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 3px; }
.emoji-grid .icon-button { width: 38px; min-width: 38px; min-height: 38px; font-size: 1.35rem; border-radius: 10px; }
.emoji-panel [data-emoji-more] { margin-top: 8px; }
.emoji-panel [data-alu-emoji] { margin-top: 10px; border-top: 1px solid var(--outline); padding-top: 8px; }
.emoji-panel .comment-form-smilies { display: flex; flex-wrap: wrap; gap: 7px; }
.emoji-panel .add-smily { cursor: pointer; }
.comment-author { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.comment-content { margin: 6px 0; }
.comment-author .comment-metadata { margin-inline-start: auto; }
.dialog { width: min(100% - 30px, 610px); max-height: calc(100dvh - 35px); overflow: auto; margin: auto; border: 1px solid var(--outline); border-radius: 27px; padding: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 60px #001c1640; }
.dialog::backdrop { background: #08151379; backdrop-filter: blur(4px); }
.dialog[open] { animation: bai-dialog-enter 260ms var(--motion-enter) both; }
.dialog[open]::backdrop { animation: bai-fade-in 180ms var(--motion-standard) both; }
.dialog.is-closing { animation: bai-dialog-exit 140ms var(--motion-exit) both; }
.dialog.is-closing::backdrop { animation: bai-fade-in 140ms var(--motion-exit) reverse both; }
.drawer[open] { animation-name: bai-drawer-enter; --drawer-offset: 100%; }
html[dir="rtl"] .drawer[open] { --drawer-offset: -100%; }
.drawer.is-closing { animation-name: bai-drawer-exit; }
@keyframes bai-dialog-enter { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes bai-dialog-exit { to { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes bai-drawer-enter { from { transform: translateX(var(--drawer-offset)); } }
@keyframes bai-drawer-exit { to { transform: translateX(var(--drawer-offset)); } }
@keyframes bai-fade-in { from { opacity: 0; } }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.dialog-heading h2 { font-size: 1.5rem; }
.bar-inner { --search-controls-width: 48px; }
.bar-inner:has(.appearance-toggle) { --search-controls-width: 94px; }
@media (min-width: 783px) {
	.bar-inner { --search-controls-width: 95px; }
	.bar-inner:has(.appearance-toggle) { --search-controls-width: 141px; }
}
.bar-actions { position: relative; z-index: 3; }
.top-search { position: absolute; z-index: 2; inset-block: 0; inset-inline: 0 var(--search-controls-width); display: flex; align-items: center; justify-content: end; }
.top-search .search-form { position: relative; z-index: 1; align-items: center; width: min(100%, 720px); gap: 2px; min-height: 52px; padding: 2px 6px; border-radius: 28px; color: var(--ink); background: var(--tonal); border: 1px solid var(--outline); }
.top-search .search-form input { background: transparent; border: 0; margin: 0; padding: 8px 6px; min-height: 44px; border-radius: 7px; }
:root:not(.pointer-focus) .top-search .search-form:has(:focus-visible) { outline: 2px solid var(--primary); outline-offset: 1px; }
.top-search :is(input, .icon-button):focus-visible { outline-offset: -2px; }
.top-search-panel { position: absolute; z-index: 0; inset-block-start: calc(100% - 4px); width: min(100%, 720px); max-height: min(55vh, 460px); overflow: auto; padding: 8px 18px 12px; border: 1px solid var(--outline); border-radius: 20px; background: var(--surface); box-shadow: 0 8px 28px #10201b25; animation: bai-dialog-enter 180ms var(--motion-enter) both; }
.top-search-panel .search-status:empty { display: none; }
.top-search-panel .search-results a { border-radius: 12px; padding-inline: 10px; }
.top-search-panel .search-results a:hover { background: var(--tonal); }
.bar-content { transition: opacity 180ms var(--motion-standard), transform 220ms var(--motion-standard); }
.is-search-open .bar-content > :not(.bar-actions), .is-search-open .bar-actions > :not([data-search-open]) { visibility: hidden; }
.is-search-open .top-search { animation: bai-search-enter 270ms var(--motion-enter) both; }
.is-search-closing .top-search { animation: bai-search-exit 180ms var(--motion-exit) both; pointer-events: none; }
@keyframes bai-search-enter { from { opacity: 0; transform: translateY(-7px) scale(.96); } }
@keyframes bai-search-exit { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
.drawer { width: min(90%, 390px); height: 100%; max-height: 100%; margin: 0; margin-inline-start: auto; border-radius: 28px 0 0 28px; }
.drawer.drawer-left { margin: 0 auto 0 0; border-radius: 0 28px 28px 0; }
.drawer.drawer-left[open] { --drawer-offset: -100%; }
.navigation-profile { display: none; }
.navigation-tabs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 12px; border-bottom: 1px solid var(--outline); }
.navigation-tabs::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 50%; height: 3px; background: var(--primary); transition: inset-inline-start 210ms var(--motion-standard); pointer-events: none; }
.navigation-tabs.show-outline-tab::after { inset-inline-start: 50%; }
.navigation-tabs button { display: grid; justify-items: center; gap: 3px; padding: 8px 4px 11px; color: var(--muted); background: transparent; border: 0; }
.navigation-tabs button[aria-selected="true"] { color: var(--primary); }
#navigation { overflow-x: hidden; }
.navigation-tabs button:hover { background: var(--tonal); }
.outline-number { display: none; }
.drawer [data-drawer-outline-slot] .outline { padding: 4px 8px; max-height: none; overflow: visible; background: transparent; border: 0; box-shadow: none; }
.drawer [data-drawer-outline-slot] .outline h2 { display: none; }
.drawer [data-drawer-outline-slot] .outline a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-inline: 12px; border-radius: 24px; }
.drawer [data-drawer-outline-slot] .outline a[aria-current] { background: var(--tonal); text-decoration: none; font-weight: 700; }
.drawer .outline-number { display: inline-grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--tonal); color: var(--primary); font-size: .75rem; font-weight: 650; }
.drawer nav ul ul { list-style: none; padding-inline-start: 15px; }
.drawer .widget { margin-block: 0 8px; }
.drawer .home-sidebar .widget { margin-block: 0; }
.drawer .widget h2 { font-size: 1.16rem; }
.drawer #mapmyvisitors-widget, .drawer .mapmyvisitors-map { max-inline-size: 100%; }
.visitor-map-slot { width: 100%; min-width: 0; }
.drawer .mapmyvisitors-map { background-size: 100% 100%; }
.home-widgets .home-sidebar { padding: 0; }
.home-widgets { box-sizing: border-box; overflow-x: hidden; overscroll-behavior-x: none; }
.home-widgets .home-sidebar { width: 100%; grid-template-columns: minmax(0, 1fr); }
.home-widgets .widget { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.home-widgets .widget :is(iframe, embed, object, img, video, input, select) { max-inline-size: 100%; }
.home-widgets .widget :is(pre, table) { display: block; max-inline-size: 100%; overflow-x: auto; }
.drawer { background: var(--subtle); }
.drawer .main-menu > li > a { min-height: 48px; padding-inline: 16px; }
.drawer .main-menu .sub-menu a { min-height: 44px; }
.drawer .widget { border: 1px solid var(--outline); background: var(--surface); border-radius: 20px; padding: 16px; }
.material-fab { position: fixed; z-index: 14; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; padding: 0; border-radius: 16px; background: var(--accent-container); color: var(--accent); box-shadow: var(--raised-shadow); transition: box-shadow 180ms var(--motion-standard), background-color 180ms var(--motion-standard); }
.material-fab:hover { box-shadow: var(--raised-shadow-hover); }
.search-page { min-width: 0; }
.search-page-heading { display: grid; gap: 18px; margin-bottom: clamp(18px, 3vw, 28px); padding: clamp(18px, 3.5vw, 32px); }
.search-page-title { min-width: 0; }
.search-page-title h1 { font-size: clamp(1.6rem, 4vw, 2.55rem); }
.search-page-title p { color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.search-page-heading .search-form { width: min(100%, 44rem); box-sizing: border-box; }
.search-page-heading .search-form input { width: 100%; border-radius: 28px; background: var(--subtle); }
.search-page-heading .search-form button { flex-shrink: 0; max-width: 45%; }
.search-page .post-feed > * { min-width: 0; }
.search-form { display: flex; gap: 8px; max-width: 100%; }
.search-form input { flex: 1 1 auto; min-width: 0; }
.search-status { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.search-results { margin: 0; list-style: none; padding: 0; }
.search-results a { display: block; padding: 11px 5px; border-bottom: 1px solid var(--outline); text-decoration: none; font-weight: 690; }
.search-results small { display: block; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.search-results small:empty { display: none; }
@media (max-width: 430px) {
	.search-page-heading .search-form button { padding-inline: 10px; }
	.search-page-heading .search-form button .material-icons { display: none; }
}
.lightbox { width: fit-content; max-width: 94vw; padding: 4px; background: transparent; border: 0; }
.lightbox img { display: block; object-fit: contain; max-height: 87dvh; max-width: 91vw; border-radius: 18px; }
.lightbox .icon-button { position: absolute; inset-inline-end: 9px; top: 9px; background: #121212c9; color: #fff; }
.cookie-banner, .snackbar { position: fixed; z-index: 17; inset-inline-start: 16px; bottom: 16px; }
.cookie-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 13px; max-width: calc(100% - 32px); }
.snackbar { border-radius: 12px; background: var(--ink); color: var(--surface); padding: 12px 17px; }
.resume-card { display: flex; gap: 7px; align-items: center; margin-bottom: 15px; }
.shortcode-fold, .shortcode-card, .shortcode-ad { padding: 13px 17px; border: 1px solid var(--outline); border-radius: 16px; background: var(--subtle); }
.shortcode-fold { padding: 0; overflow: clip; transition: background-color 180ms var(--motion-standard); }
.shortcode-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 16px; list-style: none; font-weight: 680; }
.shortcode-fold summary::-webkit-details-marker { display: none; }
.shortcode-fold summary::after { content: ""; width: 9px; height: 9px; margin-inline-end: 3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 200ms var(--motion-standard); }
.shortcode-fold[open] { background: var(--surface); }
.shortcode-fold[open] summary, .shortcode-fold summary:hover { background: var(--tonal); }
.shortcode-fold[open] summary::after { transform: rotate(225deg); }
.shortcode-fold > div { padding: 12px 16px; }
.shortcode-fold[open] > div { animation: bai-fade-in 180ms var(--motion-enter) both; }
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
	.shortcode-fold { interpolate-size: allow-keywords; }
	.shortcode-fold::details-content { block-size: 0; overflow: clip; transition: block-size 240ms var(--motion-standard), content-visibility 240ms allow-discrete; }
	.shortcode-fold[open]::details-content { block-size: auto; }
}
/* Warning container and its matching foreground form a tonal surface. */
.shortcode-warning, .prose blockquote.mdx-warning {
	--warning-container: light-dark(#fff1cc, #3a2d17);
	--warning-on-container: light-dark(#302105, #f7e5b9);
	--warning-accent: light-dark(#674800, #f7ca70);
	padding: 14px clamp(13px, 2.3vw, 20px);
	border: 1px solid color-mix(in srgb, var(--warning-accent) 24%, transparent);
	border-radius: 16px;
	background: var(--warning-container, var(--tonal));
	color: var(--warning-on-container, var(--ink));
	overflow-wrap: anywhere;
}
.shortcode-warning { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.shortcode-warning-icon {
	display: grid;
	place-items: center;
	inline-size: 36px;
	block-size: 36px;
	border-radius: 50%;
	color: var(--warning-accent, var(--primary));
	background: color-mix(in srgb, currentColor 11%, transparent);
}
.shortcode-warning-icon .material-icons { font-size: 20px; }
.shortcode-warning-copy { padding-block: 2px; min-inline-size: 0; }
.shortcode-warning-title { display: block; font-size: 1rem; font-weight: 720; line-height: 1.4; }
.shortcode-warning-body { margin-block-start: 6px; font-size: .95em; line-height: 1.65; }
.shortcode-warning-body:empty { display: none; }
.shortcode-warning-body > :first-child { margin-block-start: 0; }
.shortcode-warning-body > :last-child { margin-block-end: 0; }
.shortcode-warning-body > * + * { margin-block-start: .65em; }
.prose blockquote.mdx-warning .material-icons { color: var(--warning-accent, var(--primary)); vertical-align: middle; }
.prose blockquote.mdx-warning br + strong { display: block; margin-block-start: 6px; font-weight: 400; }
.shortcode-progress { display: flex; align-items: center; gap: 10px; }
.shortcode-progress progress { flex: 1; accent-color: var(--primary); }
.shortcode-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.shortcode-card span:has(strong) { flex: 1; min-width: 0; }
.shortcode-card small { display: block; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.shortcode-card :is(img, .material-icons) { flex-shrink: 0; }
.shortcode-card img { width: 44px; height: 44px; object-fit: cover; border-radius: 9px; }
.link-preview { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(8px, 2vw, 16px); padding: clamp(10px, 2vw, 16px); background: var(--surface); box-shadow: var(--shadow); transition: background-color 180ms var(--motion-standard), box-shadow 180ms var(--motion-standard); }
.link-preview:is(:hover, :focus-visible) { background: var(--tonal); box-shadow: 0 3px 10px #0002; }
.link-preview-thumb { width: clamp(40px, 9vw, 68px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; overflow: hidden; color: var(--primary); background: var(--tonal); }
.link-preview-thumb img { width: 100%; height: 100%; border-radius: 0; }
.link-preview-thumb .social-brand { width: 26px; height: 26px; }
.link-preview-copy { display: grid; gap: 2px; overflow-wrap: anywhere; }
.link-preview-copy strong { line-height: 1.35; }
.link-preview-source, .link-preview [data-repo-meta] { color: var(--primary); font-size: .78rem; font-weight: 650; }
.link-preview > .material-icons { align-self: start; font-size: 19px; color: var(--primary); }
.friend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.friend-links-cards .friend-grid { grid-template-columns: 1fr; }
.friend-card { min-height: 80px; background: var(--surface); border-radius: 18px; box-shadow: 0 1px 2px #0002, 0 3px 8px #0002; transition: background-color 180ms var(--motion-standard), border-color 180ms var(--motion-standard), box-shadow 180ms var(--motion-standard), transform 180ms var(--motion-standard); }
.friend-avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px !important; overflow: hidden; border-radius: 13px; background: var(--primary); color: var(--on-primary); font-size: 1.1rem; font-weight: 720; }
.friend-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.friend-card:is(:hover, :focus-visible) { background: var(--tonal); border-color: var(--primary); box-shadow: 0 3px 6px #0002, 0 7px 17px #0002; transform: translateY(-2px); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 12px; border-inline-start: 2px solid var(--outline); }
.timeline time { color: var(--muted); font-size: .87rem; }
@media (max-width: 980px) {
	.home-columns { --sidebar-width: clamp(205px, 26vw, 255px); }
	.post-feed, .feed-masonry[data-columns] { --columns: 2; }
}
[data-home-hero] .hero-wrap {
	min-height: var(--hero-height, 64svh);
	padding-block-start: calc(var(--bar-size) + 14px);
}
@media (max-width: 782px) {
	.desktop-nav { display: none; }
	.desktop-nav + .bar-actions { margin-inline-start: auto; }
	.bar-content > .menu-toggle { order: -1; }
	.menu-toggle { display: inline-flex; }
}
@media (max-width: 782px) {
	.has-home-drawer .home-sidebar-fab:not([hidden]) { display: inline-flex; }
	.has-home-drawer .home-sidebar-slot { display: none; }
	.home-columns:has(> .sidebar-collapsed) { grid-template-columns: minmax(0, 1fr); }
	.home-sidebar-slot { padding-block-start: 0; }
	.has-home-drawer body:has(.home-sidebar-fab:not([hidden])) .widget-toggle { inset-inline-end: 82px; }
	.photo-introduction { flex-direction: column; align-items: flex-start; }
	.home-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.home-sidebar { padding-block: 0 36px; }
	body.admin-bar { --top-offset: 46px; }
	.desktop-nav { display: none; }
	.desktop-nav + .bar-actions { margin-inline-start: auto; }
	.bar-content > .menu-toggle { order: -1; }
	.menu-toggle { display: inline-flex; }
	.wrap, .article-wrap, .article-heading-inner { width: calc(100% - 36px); }
	.article-wrap.article-wrap-wide, .article-heading-inner.heading-wide { width: calc(100% - 36px); }
	.article-columns .article-body { --article-padding: 0px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
	.article-glass .article-columns .article-body {
		--article-padding: 14px;
		padding: var(--article-padding);
		border: 1px solid var(--outline);
		border-radius: 18px;
		background: color-mix(in srgb, var(--surface) 70%, transparent);
		backdrop-filter: blur(14px);
	}
	.article-endcap { padding-inline: 12px; border: 1px solid var(--outline); border-radius: var(--card-radius); }
	.navigation-profile { display: block; margin-bottom: 12px; }
	.navigation-profile:not(:has(.personal-card)) { display: none; }
	.home-widgets .personal-card { display: none; }
	.outline { max-height: 260px; }
	.spotlight-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html[dir="rtl"] .drawer:not(.drawer-left) { border-radius: 0 28px 28px 0; }
@media (max-width: 600px) {
	body.admin-bar { --top-offset: 0px; }
}
@media (max-width: 570px) {
	:root { --bar-size: 60px; }
	.article-wrap.article-wrap-wide, .article-heading-inner.heading-wide { width: calc(100% - 28px); }
	body { --bar-size: max(60px, calc(min(var(--logo-height, 56px), 61px) + 9px)); }
	.site-brand img { height: min(var(--logo-height, 56px), 61px); max-width: min(53vw, 270px); }
	body.admin-bar { --top-offset: 0px; }
	.wrap, .article-wrap, .article-heading-inner { width: calc(100% - 28px); }
	.post-feed, .feed-masonry[data-columns] { --columns: 1; --feed-gap: 12px; }
	.hero-wrap { min-height: 310px; padding-block: 34px; }
	[data-home-hero] .hero-wrap { padding-block-start: calc(var(--bar-size) + 14px); }
	.photo-introduction { padding: 17px; }
	.home-split .hero-panel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.hero-image img { height: 140px; }
	.hero-panel, .home-simple .hero-panel { padding: 23px; border-radius: 22px; }
	.home-plain .hero-panel { padding: 0; }
	.footer-inner { flex-wrap: wrap; }
	.spotlight-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
	.bar-content { gap: 5px; }
	.bar-actions { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
