/**
 * Starry Zen · 星空禅意
 *
 * Composition notes:
 * - One fixed night stage; nothing on the page is allowed to create a scrollbar.
 * - Typography is low-contrast by design; gold is reserved for state and detail.
 * - Dialogs blur the stage behind them instead of covering it with a flat colour.
 */

:root {
	--sz-ink: #05080b;
	--sz-ink-2: #080d12;
	--sz-paper: #ece6da;
	--sz-paper-72: rgba(236, 230, 218, 0.72);
	--sz-paper-60: rgba(236, 230, 218, 0.6);
	--sz-paper-42: rgba(236, 230, 218, 0.42);
	--sz-paper-30: rgba(236, 230, 218, 0.3);
	--sz-gold: #c9ab74;
	--sz-gold-70: rgba(201, 171, 116, 0.7);
	--sz-gold-40: rgba(201, 171, 116, 0.4);
	--sz-gold-16: rgba(201, 171, 116, 0.16);
	--sz-line: rgba(236, 230, 218, 0.1);
	--sz-line-strong: rgba(236, 230, 218, 0.22);
	--sz-serif: "Noto Serif SC", "Source Han Serif CN", "Source Han Serif SC", "Songti SC", "Songti TC", STSong, SimSun, Georgia, serif;
	--sz-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--sz-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	--sz-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--sz-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	--sz-nav-x: clamp(18px, 4vw, 52px);
	--sz-nav-y: clamp(18px, 2.6vw, 30px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

*::-webkit-scrollbar {
	width: 0;
	height: 0;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--sz-ink);
	color: var(--sz-paper);
	font-family: var(--sz-sans);
	font-size: 15px;
	line-height: 1.75;
	overflow: hidden;
	overscroll-behavior: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(120% 80% at 78% -12%, rgba(92, 112, 130, 0.2), transparent 60%),
		radial-gradient(90% 60% at 10% 110%, rgba(44, 66, 66, 0.22), transparent 62%),
		radial-gradient(60% 45% at 50% 46%, rgba(30, 43, 54, 0.26), transparent 72%),
		linear-gradient(180deg, #070b0f 0%, #05080b 55%, #030507 100%);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

::selection {
	background: rgba(201, 171, 116, 0.24);
	color: #fff;
}

:focus-visible {
	outline: 1px solid var(--sz-gold);
	outline-offset: 4px;
}

.sz-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.sz-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sz-skip {
	position: fixed;
	top: 8px;
	left: 50%;
	z-index: 200;
	padding: 8px 16px;
	background: var(--sz-paper);
	color: var(--sz-ink);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-decoration: none;
	transform: translate(-50%, -200%);
	transition: transform 0.3s var(--sz-ease);
}

.sz-skip:focus {
	transform: translate(-50%, 0);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.sz-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: max(var(--sz-nav-y), env(safe-area-inset-top, 0px)) var(--sz-nav-x) var(--sz-nav-y);
}

.sz-nav::before {
	content: "";
	position: absolute;
	inset: -1px 0 -30px;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(3, 6, 9, 0.78), rgba(3, 6, 9, 0));
}

/* Keep the fixed stage intact while the admin bar is visible. */
html {
	margin-top: 0 !important;
}

body.admin-bar .sz-nav {
	top: 32px;
}

body.admin-bar .sz-overlay {
	padding-top: max(48px, 6vh);
}

@media screen and (max-width: 782px) {
	body.admin-bar .sz-nav {
		top: 46px;
	}

	body.admin-bar .sz-overlay {
		padding-top: 58px;
	}
}

.sz-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--sz-paper);
	text-decoration: none;
}

.sz-brand-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	color: var(--sz-gold);
	opacity: 0.82;
	transition: transform 7s var(--sz-ease), opacity 0.4s var(--sz-ease);
}

.sz-brand-mark .sz-icon {
	width: 100%;
	height: 100%;
}

.sz-brand:hover .sz-brand-mark,
.sz-brand:focus-visible .sz-brand-mark {
	transform: rotate(180deg);
	opacity: 1;
}

.sz-brand-name {
	overflow: hidden;
	font-family: var(--sz-serif);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.32em;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--sz-paper-72);
}

.sz-nav-links {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.2vw, 30px);
	/* Custom dialogs can add up to eight entries, so the row scrolls instead
	   of pushing the brand mark off screen. */
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.sz-nav-links::-webkit-scrollbar {
	display: none;
}

/* Keep the hover underline from being clipped by the scroll container. */
.sz-nav-link {
	flex: 0 0 auto;
}

.sz-nav-link {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 2px 9px;
	background: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	color: var(--sz-paper-60);
	font-family: var(--sz-sans);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.18em;
	transition: color 0.35s var(--sz-ease);
}

.sz-nav-link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--sz-gold-70), var(--sz-gold-16));
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 0.8;
	transition: transform 0.6s var(--sz-ease);
}

.sz-nav-link:hover,
.sz-nav-link:focus-visible {
	color: var(--sz-paper);
}

.sz-nav-link:hover::after,
.sz-nav-link:focus-visible::after {
	transform: scaleX(1);
}

.sz-nav-index {
	font-family: var(--sz-serif);
	font-size: 9px;
	letter-spacing: 0.08em;
	color: var(--sz-gold);
	opacity: 0.55;
}

.sz-nav-sep {
	width: 1px;
	height: 10px;
	background: var(--sz-line-strong);
}

.sz-nav-text--short {
	display: none;
}

/* Site menu appended to the nav row.
   Same type and same underline as the dialog entries, so the row keeps one
   rhythm — but no sequence number: these are links, not numbered dialogs. */
.sz-nav-menu {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2.2vw, 30px);
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sz-nav-menu li {
	flex: 0 0 auto;
}

.sz-nav-menu a {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	padding: 8px 2px 9px;
	color: var(--sz-paper-60);
	font-family: var(--sz-sans);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.35s var(--sz-ease);
}

.sz-nav-menu a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--sz-gold-70), var(--sz-gold-16));
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 0.8;
	transition: transform 0.6s var(--sz-ease);
}

.sz-nav-menu a:hover,
.sz-nav-menu a:focus-visible,
.sz-nav-menu .current-menu-item > a,
.sz-nav-menu .current_page_item > a {
	color: var(--sz-paper);
}

.sz-nav-menu a:hover::after,
.sz-nav-menu a:focus-visible::after,
.sz-nav-menu .current-menu-item > a::after,
.sz-nav-menu .current_page_item > a::after {
	transform: scaleX(1);
}

/* The open page keeps its underline, quieter than a hover. */
.sz-nav-menu .current-menu-item > a::after,
.sz-nav-menu .current_page_item > a::after {
	opacity: 0.4;
}

/* ==========================================================================
   Scene (front page)
   ========================================================================== */

.sz-scene {
	position: fixed;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.sz-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: manipulation;
}

.sz-canvas--ambient {
	z-index: 0;
}

.sz-veil {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.sz-veil::before {
	content: "";
	position: absolute;
	top: -22vmax;
	right: -14vmax;
	width: 62vmax;
	height: 62vmax;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 171, 116, 0.11) 0%, rgba(201, 171, 116, 0.045) 34%, transparent 68%);
}

.sz-veil::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 92% at 50% 42%, transparent 42%, rgba(2, 4, 6, 0.74) 100%);
}

.sz-moon {
	position: absolute;
	top: clamp(88px, 16vh, 180px);
	right: clamp(26px, 13vw, 186px);
	z-index: 0;
	width: clamp(148px, 21vw, 276px);
	aspect-ratio: 1;
	border: 1px solid rgba(236, 230, 218, 0.115);
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle at 42% 38%, rgba(236, 230, 218, 0.045), rgba(201, 171, 116, 0.02) 48%, transparent 72%);
	box-shadow: 0 0 90px rgba(201, 171, 116, 0.05), inset 0 0 60px rgba(236, 230, 218, 0.02);
}

.sz-moon::after {
	content: "";
	position: absolute;
	inset: 13%;
	border: 1px solid rgba(236, 230, 218, 0.03);
	border-radius: 50%;
}

.sz-side {
	position: absolute;
	left: var(--sz-nav-x);
	bottom: clamp(84px, 16vh, 150px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}

.sz-side-text {
	writing-mode: vertical-rl;
	font-family: var(--sz-serif);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.56em;
	color: var(--sz-paper-42);
}

.sz-side-rule {
	width: 1px;
	height: clamp(46px, 9vh, 96px);
	margin-top: 18px;
	background: linear-gradient(180deg, var(--sz-line-strong), transparent);
}

/*
 * Stage search.
 *
 * It stands where the plate counter used to: one hairline rule under a bare
 * field, the gold only arriving with focus. No box and no fill, so the night
 * behind it is never interrupted.
 */
.sz-stage-search {
	position: absolute;
	right: var(--sz-nav-x);
	bottom: max(clamp(20px, 4vh, 34px), env(safe-area-inset-bottom, 0px));
	z-index: 4;
	width: clamp(196px, 23vw, 288px);
}

.sz-stage-search[hidden] {
	display: none;
}

.sz-stage-search-form {
	display: flex;
	align-items: center;
	gap: 9px;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--sz-line-strong);
	transition: border-color 0.45s var(--sz-ease);
}

.sz-stage-search-form:focus-within {
	border-bottom-color: var(--sz-gold-70);
}

.sz-stage-search-icon {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	color: var(--sz-paper-30);
	transition: color 0.45s var(--sz-ease);
}

.sz-stage-search-form:focus-within .sz-stage-search-icon {
	color: var(--sz-gold);
}

.sz-stage-search-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 2px 0;
	background: none;
	border: 0;
	color: var(--sz-paper);
	font-family: var(--sz-sans);
	font-size: 11.5px;
	line-height: 1.45;
	letter-spacing: 0.16em;
	appearance: none;
}

.sz-stage-search-input:focus {
	outline: none;
}

.sz-stage-search-input::placeholder {
	color: var(--sz-paper-30);
	letter-spacing: 0.16em;
}

.sz-stage-search-input::-webkit-search-cancel-button,
.sz-stage-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	display: none;
}

.sz-stage-search-clear {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 16px;
	height: 16px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--sz-paper-42);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.3s var(--sz-ease);
}

.sz-stage-search-clear:hover {
	color: var(--sz-gold);
}

.sz-stage-search-clear[hidden],
.sz-stage-search-status[hidden] {
	display: none;
}

.sz-stage-search-status {
	margin: 9px 0 0;
	font-size: 9.5px;
	line-height: 1;
	letter-spacing: 0.22em;
	color: var(--sz-paper-42);
}

.sz-stage-search-status.is-empty {
	color: var(--sz-gold-70);
}

.sz-void {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: grid;
	place-content: center;
	gap: 20px;
	padding: 0 24px;
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 2.6s var(--sz-ease);
}

.sz-void[hidden] {
	display: none;
}

.sz-void.is-visible {
	opacity: 1;
}

.sz-void-title {
	margin: 0;
	font-family: var(--sz-serif);
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 400;
	letter-spacing: 0.42em;
	text-indent: 0.42em;
	color: var(--sz-gold-70);
}

.sz-void-hint {
	margin: 0;
	font-size: 10.5px;
	letter-spacing: 0.34em;
	color: var(--sz-paper-30);
}

/* Hover card -------------------------------------------------------------- */

.sz-card {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 40;
	width: min(304px, calc(100vw - 40px));
	padding: 19px 21px 17px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	background: linear-gradient(155deg, rgba(12, 17, 22, 0.84), rgba(5, 8, 11, 0.92));
	border: 1px solid var(--sz-line-strong);
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(16px) saturate(0.82);
	-webkit-backdrop-filter: blur(16px) saturate(0.82);
	transition: opacity 0.32s var(--sz-ease), filter 0.32s var(--sz-ease), visibility 0.32s;
	filter: blur(6px);
}

.sz-card.is-visible {
	opacity: 1;
	visibility: visible;
	filter: blur(0);
	/* Promotion is only worth its memory while the card is on screen; keeping
	   it on a permanently hidden element just parks a layer on the compositor. */
	will-change: transform, opacity;
}

.sz-card::before,
.sz-card::after {
	content: "";
	position: absolute;
	width: 11px;
	height: 11px;
	border: 1px solid var(--sz-gold-40);
}

.sz-card::before {
	top: -1px;
	left: -1px;
	border-right: 0;
	border-bottom: 0;
}

.sz-card::after {
	right: -1px;
	bottom: -1px;
	border-top: 0;
	border-left: 0;
}

.sz-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.sz-card-head[hidden] {
	display: none;
}

.sz-card-title {
	position: relative;
	margin: 0 0 10px;
	padding-top: 13px;
	font-family: var(--sz-serif);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.12em;
	color: var(--sz-paper);
}

/* Short gold rule anchoring the title: the resource name is the subject. */
.sz-card-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 22px;
	height: 1px;
	background: var(--sz-gold-70);
}

.sz-card-desc {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.92;
	letter-spacing: 0.02em;
	color: rgba(236, 230, 218, 0.64);
}

.sz-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 15px;
	padding-top: 11px;
	border-top: 1px solid var(--sz-line);
}

.sz-card-foot[hidden] {
	display: none;
}

.sz-card-meta {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	font-size: 9.5px;
	letter-spacing: 0.14em;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--sz-paper-30);
}

.sz-card-meta[hidden] {
	display: none;
}

.sz-card-author {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 7px;
	max-width: 60%;
	font-size: 10.5px;
	letter-spacing: 0.14em;
	white-space: nowrap;
	color: var(--sz-gold);
}

.sz-card-author[hidden] {
	display: none;
}

.sz-card-author-name {
	overflow: hidden;
	max-width: 100%;
	text-overflow: ellipsis;
}

.sz-card-avatar {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 1px solid var(--sz-gold-40);
	border-radius: 50%;
	background-position: center;
	background-size: cover;
}

.sz-card-avatar[hidden] {
	display: none;
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.sz-page {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(92px, 14vh, 148px) clamp(16px, 5vw, 40px) clamp(36px, 7vh, 68px);
	overflow: hidden;
}

/*
 * The frame follows `--sz-page-max` (printed from the reading-width setting) and
 * is always a maximum: below it the shell fills the viewport, above it the extra
 * space becomes margin instead of longer lines.
 */
.sz-page-inner {
	--sz-pad-x: clamp(20px, 3.6vw, 52px);

	container-type: inline-size;
	position: relative;
	z-index: 2;
	width: min(var(--sz-page-max, 960px), 100%);
	max-height: 100%;
	padding: clamp(26px, 3.4vw, 44px) var(--sz-pad-x);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: linear-gradient(165deg, rgba(10, 15, 20, 0.74), rgba(5, 8, 11, 0.86));
	border: 1px solid var(--sz-line);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.sz-page-inner--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
	justify-content: center;
	text-align: center;
	padding-top: clamp(40px, 8vh, 80px);
	padding-bottom: clamp(40px, 8vh, 80px);
}

.sz-page-head {
	margin-bottom: clamp(22px, 3vw, 34px);
}

.sz-eyebrow {
	margin: 0 0 14px;
	font-size: 9.5px;
	line-height: 1.6;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--sz-gold);
	opacity: 0.66;
}

.sz-page-title {
	/* Measured in its own em, so the display line stays a line on a wide shell. */
	max-width: 18em;
	margin: 0 0 18px;
	font-family: var(--sz-serif);
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 400;
	line-height: 1.42;
	letter-spacing: 0.1em;
	color: var(--sz-paper);
	overflow-wrap: break-word;
}

.sz-page-inner--center .sz-page-title {
	margin-right: auto;
	margin-left: auto;
}

.sz-page-title--void {
	letter-spacing: 0.22em;
	text-indent: 0.22em;
	color: var(--sz-paper-72);
}

.sz-page-rule {
	display: block;
	width: 64px;
	height: 1px;
	background: linear-gradient(90deg, var(--sz-gold-40), transparent);
}

.sz-page-rule--center {
	margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--sz-gold-40), transparent);
}

.sz-lede {
	max-width: 48ch;
	margin: 0 0 26px;
	font-size: 13px;
	line-height: 1.95;
	letter-spacing: 0.03em;
	color: var(--sz-paper-60);
}

.sz-lede--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.sz-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(26px, 4vw, 40px);
}

/*
 * Supporting blocks stay in the reading column: a comment form or a pair of
 * prev/next links stretched across a 1320px shell would look like a mistake.
 */
.sz-comments,
.sz-post-nav,
.sz-pagination,
.sz-entry-foot,
.sz-page-actions {
	max-width: 46em;
}

.sz-page-actions--center {
	justify-content: center;
}

/*
 * Line length, not frame width, decides readability. The prose column stops at a
 * comfortable measure and media blocks break out to the full frame, so a 1320px
 * shell reads as an editorial spread instead of a wall of text.
 */
.sz-prose {
	max-width: 46em;
	font-size: 14px;
	line-height: 2.05;
	letter-spacing: 0.015em;
	color: rgba(236, 230, 218, 0.68);
	overflow-wrap: break-word;
}

/*
 * `100cqw` is the frame's content box, so adding the padding back and pulling
 * the block left by the same amount makes media sit edge to edge with the frame.
 * Gated on the unit: an older browser keeps media inside the text column instead
 * of shifting it out of alignment.
 */
@supports (width: 100cqw) {
	.sz-prose > :is(figure, .wp-block-image, .wp-block-table, .wp-block-gallery, .wp-block-embed, .wp-block-cover, .wp-block-media-text) {
		max-width: none;
		width: calc(100cqw + var(--sz-pad-x, 0px) * 2);
		margin-left: calc(var(--sz-pad-x, 0px) * -1);
		margin-right: calc(var(--sz-pad-x, 0px) * -1);
	}
}

/*
 * A full-frame image still has to fit on the screen: without a height ceiling a
 * tall portrait would fill three viewports inside a scrolling frame.
 */
.sz-prose > :is(figure, .wp-block-image, .wp-block-gallery) img {
	width: auto;
	max-height: 72vh;
	margin-right: auto;
	margin-left: auto;
}

.sz-prose > *:first-child {
	margin-top: 0;
}

.sz-prose > *:last-child {
	margin-bottom: 0;
}

.sz-prose p {
	margin: 0 0 1.15em;
}

.sz-prose h2,
.sz-prose h3,
.sz-prose h4 {
	margin: 1.9em 0 0.8em;
	font-family: var(--sz-serif);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.08em;
	color: var(--sz-paper);
}

.sz-prose h2 {
	font-size: 21px;
}

.sz-prose h3 {
	font-size: 17px;
}

.sz-prose h4 {
	font-size: 15px;
}

.sz-prose a {
	color: var(--sz-gold);
	text-decoration: none;
	border-bottom: 1px solid var(--sz-gold-40);
	transition: border-color 0.3s var(--sz-ease);
}

.sz-prose a:hover {
	border-color: var(--sz-gold);
}

.sz-prose strong {
	font-weight: 500;
	color: var(--sz-paper);
}

.sz-prose blockquote {
	margin: 1.8em 0;
	padding: 2px 0 2px 20px;
	border-left: 1px solid var(--sz-gold-40);
	color: var(--sz-paper-60);
	font-style: normal;
}

.sz-prose ul,
.sz-prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.35em;
}

.sz-prose li {
	margin-bottom: 0.4em;
}

.sz-prose code {
	padding: 2px 6px;
	background: rgba(236, 230, 218, 0.06);
	border: 1px solid var(--sz-line);
	font-family: var(--sz-mono);
	font-size: 12px;
	color: var(--sz-paper-72);
}

.sz-prose pre {
	max-width: 100%;
	margin: 1.6em 0;
	padding: 16px;
	overflow-x: auto;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--sz-line);
}

.sz-prose pre code {
	padding: 0;
	background: none;
	border: 0;
}

.sz-prose img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 26px auto;
}

.sz-prose figure {
	max-width: 100%;
	margin: 26px 0;
}

.sz-prose figcaption {
	margin-top: 10px;
	font-size: 11.5px;
	text-align: center;
	color: var(--sz-paper-42);
}

.sz-prose hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--sz-line);
}

.sz-prose table {
	width: 100%;
	margin: 1.6em 0;
	border-collapse: collapse;
	font-size: 12.5px;
}

.sz-prose th,
.sz-prose td {
	padding: 9px 12px;
	border: 1px solid var(--sz-line);
	text-align: left;
}

.sz-prose th {
	font-weight: 500;
	color: var(--sz-paper);
	background: rgba(236, 230, 218, 0.03);
}

.sz-prose .wp-block-image img {
	margin-bottom: 0;
}

.sz-entries {
	display: grid;
	gap: 0;
}

.sz-entry {
	padding: 24px 0;
	border-top: 1px solid var(--sz-line);
}

.sz-entry:last-child {
	border-bottom: 1px solid var(--sz-line);
}

/*
 * Once the shell is genuinely wide, a single column of entries wastes half of it.
 * Two columns halve the scrolling without touching the markup, and the container
 * closes the last row with one rule instead of per-item borders.
 *
 * The query tests the frame, not the viewport: a visitor on a 4K monitor who set
 * the reading width to 640 must still get one column.
 */
@container (min-width: 980px) {
	.sz-entries {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(36px, 4vw, 64px);
		border-bottom: 1px solid var(--sz-line);
	}

	.sz-entry:last-child {
		border-bottom: 0;
	}

	.sz-search {
		max-width: 560px;
	}
}

.sz-entry .sz-eyebrow {
	margin-bottom: 8px;
	letter-spacing: 0.2em;
	text-transform: none;
	opacity: 0.5;
}

.sz-entry-title {
	margin: 0 0 10px;
	font-family: var(--sz-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.06em;
}

.sz-entry-title a {
	text-decoration: none;
	transition: color 0.3s var(--sz-ease);
}

.sz-entry-title a:hover {
	color: var(--sz-gold);
}

.sz-entry .sz-prose {
	font-size: 13px;
	line-height: 1.9;
}

.sz-entry-foot {
	margin-top: 30px;
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--sz-paper-42);
}

.sz-tags {
	color: var(--sz-paper-42);
}

.sz-post-nav {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--sz-line);
	font-size: 12px;
}

.sz-post-nav .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.sz-post-nav a {
	color: var(--sz-paper-60);
	text-decoration: none;
	transition: color 0.3s var(--sz-ease);
}

.sz-post-nav a:hover {
	color: var(--sz-gold);
}

.sz-pagination {
	margin-top: 28px;
}

.sz-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
}

.sz-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid var(--sz-line);
	color: var(--sz-paper-60);
	text-decoration: none;
	transition: border-color 0.3s var(--sz-ease), color 0.3s var(--sz-ease);
}

.sz-pagination .page-numbers.current,
.sz-pagination .page-numbers:hover {
	border-color: var(--sz-gold-40);
	color: var(--sz-gold);
}

.sz-comments {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--sz-line);
	font-size: 13px;
}

.sz-comments ol {
	list-style: none;
	padding: 0;
}

.sz-comments .comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--sz-line);
}

.sz-comments .comment-meta {
	font-size: 10.5px;
	letter-spacing: 0.04em;
	color: var(--sz-paper-42);
}

.sz-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.sz-comments .comment-author .fn {
	font-family: var(--sz-serif);
	font-size: 13px;
	font-style: normal;
	letter-spacing: 0.06em;
	color: var(--sz-paper-72);
}

.sz-comments .avatar {
	border-radius: 50%;
	filter: grayscale(1);
	opacity: 0.7;
}

.sz-comments .comment-content {
	margin-top: 8px;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--sz-paper-60);
}

.sz-comments .comment-content p {
	margin: 0 0 0.8em;
}

.sz-comments .reply a {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-decoration: none;
	color: var(--sz-gold);
	opacity: 0.7;
}

.sz-comments .comment-respond {
	margin-top: 26px;
}

.sz-comments .comment-reply-title {
	font-family: var(--sz-serif);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--sz-paper);
}

.sz-comments .comment-form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.sz-comments .comment-form p {
	margin: 0;
}

.sz-comments .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 9.5px;
	letter-spacing: 0.22em;
	color: var(--sz-paper-42);
}

.sz-comments .comment-form input[type="text"],
.sz-comments .comment-form input[type="email"],
.sz-comments .comment-form input[type="url"],
.sz-comments .comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	background: rgba(236, 230, 218, 0.03);
	border: 1px solid var(--sz-line);
	color: var(--sz-paper);
	font-family: var(--sz-sans);
	font-size: 12.5px;
	line-height: 1.8;
	transition: border-color 0.3s var(--sz-ease);
}

.sz-comments .comment-form input:focus,
.sz-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--sz-gold-40);
}

.sz-comments .comment-form textarea {
	min-height: 110px;
	resize: vertical;
}

.sz-comments .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 10.5px;
	color: var(--sz-paper-42);
}

.sz-comments .comment-form-cookies-consent label {
	margin: 0;
	letter-spacing: 0.04em;
}

.sz-comments .form-submit {
	margin-top: 4px;
}

.sz-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 460px;
	margin: 0 0 28px;
}

.sz-page-inner--center .sz-search {
	margin: 4px auto 0;
}

.sz-search input[type="search"],
.sz-search input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 2px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--sz-line-strong);
	color: var(--sz-paper);
	font-family: var(--sz-sans);
	font-size: 13px;
	letter-spacing: 0.06em;
	transition: border-color 0.3s var(--sz-ease);
}

.sz-search input::placeholder {
	color: var(--sz-paper-30);
}

.sz-search input:focus {
	outline: none;
	border-color: var(--sz-gold-40);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.sz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 20px;
	background: transparent;
	border: 1px solid var(--sz-line-strong);
	color: var(--sz-paper-72);
	font-family: var(--sz-sans);
	font-size: 11.5px;
	line-height: 1;
	letter-spacing: 0.18em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.35s var(--sz-ease), border-color 0.35s var(--sz-ease), background-color 0.35s var(--sz-ease);
}

.sz-btn .sz-icon {
	width: 14px;
	height: 14px;
	opacity: 0.8;
}

.sz-btn:hover,
.sz-btn:focus-visible {
	border-color: var(--sz-gold-40);
	color: var(--sz-gold);
	background: rgba(201, 171, 116, 0.06);
}

.sz-btn--solid {
	background: var(--sz-paper);
	border-color: var(--sz-paper);
	color: #080b0e;
}

.sz-btn--solid:hover,
.sz-btn--solid:focus-visible {
	background: var(--sz-gold);
	border-color: var(--sz-gold);
	color: #080b0e;
}

.sz-btn--solid .sz-icon {
	opacity: 0.9;
}

/* Quietest variant: used for "reveal"-style secondary actions that must not
   compete with the primary button next to it. */
.sz-btn--ghost {
	border-color: var(--sz-line);
	color: var(--sz-paper-42);
}

.sz-btn--ghost:hover,
.sz-btn--ghost:focus-visible {
	border-color: var(--sz-gold-40);
	color: var(--sz-gold);
}

/* ==========================================================================
   Dialogs
   ========================================================================== */

.sz-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: clamp(14px, 4vh, 44px) clamp(14px, 3vw, 32px);
}

.sz-overlay[hidden] {
	display: none;
}

.sz-overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 6, 9, 0.6);
	opacity: 0;
	/* No blur while closed: a full-viewport backdrop-filter is one of the most
	   expensive things a page can composite, and this one is invisible. */
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transition: opacity 0.5s var(--sz-ease);
}

.sz-overlay.is-open .sz-overlay-backdrop {
	opacity: 1;
	backdrop-filter: blur(18px) saturate(0.62);
	-webkit-backdrop-filter: blur(18px) saturate(0.62);
}

.sz-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	max-height: min(86dvh, 820px);
	background: linear-gradient(160deg, rgba(14, 20, 26, 0.95), rgba(6, 9, 12, 0.97));
	border: 1px solid var(--sz-line-strong);
	box-shadow: 0 50px 140px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(236, 230, 218, 0.05);
	opacity: 0;
	transform: translateY(22px) scale(0.985);
	filter: blur(8px);
	transition: opacity 0.5s var(--sz-ease), transform 0.65s var(--sz-ease-out), filter 0.5s var(--sz-ease);
}

.sz-overlay.is-open .sz-dialog {
	opacity: 1;
	transform: none;
	filter: blur(0);
}

.sz-dialog::before {
	content: "";
	position: absolute;
	top: -1px;
	left: clamp(24px, 5vw, 56px);
	right: clamp(24px, 5vw, 56px);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 171, 116, 0.45), transparent);
	pointer-events: none;
}

.sz-dialog-body {
	padding: clamp(30px, 4.6vw, 52px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sz-dialog:focus {
	outline: none;
}

.sz-dialog-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--sz-paper-42);
	cursor: pointer;
	transition: color 0.3s var(--sz-ease), transform 0.5s var(--sz-ease);
}

.sz-dialog-close:hover,
.sz-dialog-close:focus-visible {
	color: var(--sz-gold);
	transform: rotate(90deg);
}

.sz-dialog-close .sz-icon {
	width: 17px;
	height: 17px;
}

.sz-panel[hidden] {
	display: none;
}

.sz-panel--custom .sz-dialog-actions {
	margin-top: 26px;
}

.sz-panel-source-note {
	margin: 0 0 14px;
	font-size: 9.5px;
	letter-spacing: 0.24em;
	color: var(--sz-paper-30);
}

.sz-panel.is-active {
	animation: sz-panel-in 0.7s var(--sz-ease-out) both;
}

@keyframes sz-panel-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.sz-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0.4em;
	color: var(--sz-gold);
	opacity: 0.8;
}

.sz-kicker span {
	font-family: var(--sz-serif);
	font-size: 10px;
	letter-spacing: 0.1em;
	padding-right: 12px;
	border-right: 1px solid var(--sz-gold-40);
}

.sz-dialog-title {
	margin: 0 0 18px;
	font-family: var(--sz-serif);
	font-size: clamp(24px, 3.2vw, 33px);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.14em;
	color: var(--sz-paper);
}

.sz-prose--dialog {
	max-width: 52ch;
	font-size: 13.5px;
	line-height: 2;
	color: var(--sz-paper-60);
}

.sz-prose--dialog p {
	margin-bottom: 1.15em;
}

.sz-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 30px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--sz-line);
}

.sz-facts > div {
	padding: 0 16px;
	border-left: 1px solid var(--sz-line);
}

.sz-facts > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.sz-facts dt {
	margin-bottom: 8px;
	font-size: 9px;
	letter-spacing: 0.3em;
	color: var(--sz-paper-30);
}

.sz-facts dd {
	margin: 0;
	font-family: var(--sz-serif);
	font-size: 14px;
	letter-spacing: 0.12em;
	color: var(--sz-paper-72);
}

.sz-download {
	display: grid;
	gap: clamp(22px, 3.4vw, 34px);
	margin-top: 26px;
}

/* Desktop shows the button, mobile shows the code: a visitor only ever gets
   the affordance that works on their device. */
.sz-download-pc {
	display: block;
}

.sz-download-mobile {
	display: none;
}

/* Only one kind of address was filled in: it stays visible on every screen,
   so the panel is never left empty. */
.sz-download--single .sz-download-pc,
.sz-download--single .sz-download-mobile {
	display: block;
}

/* Both kinds exist: split them by device. */
@media (max-width: 820px) {
	.sz-download:not(.sz-download--single) .sz-download-pc {
		display: none;
	}

	.sz-download:not(.sz-download--single) .sz-download-mobile {
		display: block;
	}
}

@media (min-width: 821px) {
	.sz-download:not(.sz-download--single) .sz-download-pc {
		display: block;
	}

	.sz-download:not(.sz-download--single) .sz-download-mobile {
		display: none;
	}
}

/* Only one kind of address was filled in: give it the full width instead of
   leaving a lopsided half-empty grid. */
.sz-download--single {
	max-width: 520px;
}

.sz-download--single .sz-download-main {
	margin-top: 6px;
}

.sz-download-main {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 4px 0 18px;
	padding: 20px 22px;
	background: rgba(236, 230, 218, 0.035);
	border: 1px solid var(--sz-line-strong);
	text-decoration: none;
	transition: border-color 0.4s var(--sz-ease), background-color 0.4s var(--sz-ease);
}

.sz-download-main:hover,
.sz-download-main:focus-visible {
	border-color: var(--sz-gold-40);
	background: rgba(201, 171, 116, 0.06);
}

.sz-download-main-label {
	font-family: var(--sz-serif);
	font-size: 19px;
	letter-spacing: 0.12em;
	color: var(--sz-gold);
}

.sz-download-main-meta {
	font-family: var(--sz-mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	word-break: break-all;
	color: var(--sz-paper-30);
}

.sz-download-mobile .sz-qr-link {
	display: block;
	margin: 4px 0 16px;
}

.sz-download-mobile .sz-qr-frame {
	width: min(248px, 62vw);
	margin: 0 auto;
}

/* Shown instead of a code when the visitor's system has no address. */
.sz-qr-none {
	margin: 4px 0 16px;
	padding: 22px 18px;
	border: 1px dashed var(--sz-line-strong);
	font-size: 11px;
	line-height: 1.9;
	letter-spacing: 0.1em;
	text-align: center;
	color: var(--sz-paper-42);
}

.sz-qr-platform {
	margin-right: 8px;
	padding-right: 8px;
	border-right: 1px solid var(--sz-gold-40);
	color: var(--sz-gold);
}

.sz-download-mobile .sz-qr-caption {
	display: block;
	text-align: center;
}

.sz-download-mobile-button {
	display: flex;
	margin: 0 auto;
}

/* The `hidden` attribute must win over the display rules above. */
.sz-qr-link[hidden],
.sz-qr-frame[hidden],
.sz-qr-caption[hidden],
.sz-qr-none[hidden],
.sz-download-mobile-button[hidden] {
	display: none;
}

.sz-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.sz-qr-frame {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	padding: 12px;
	background: #f1ebdf;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.sz-qr-frame::after {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid rgba(8, 11, 14, 0.08);
	pointer-events: none;
}

.sz-qr-frame canvas {
	display: block;
	width: 100%;
	height: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.sz-qr-status {
	position: absolute;
	inset: 12px;
	display: grid;
	place-items: center;
	padding: 16px;
	text-align: center;
	font-size: 10.5px;
	line-height: 1.8;
	letter-spacing: 0.1em;
	color: rgba(8, 11, 14, 0.5);
	background: #f1ebdf;
}

.sz-qr-status:empty,
.sz-qr-frame.is-ready .sz-qr-status {
	display: none;
}

.sz-qr-caption {
	font-size: 9px;
	letter-spacing: 0.32em;
	color: var(--sz-paper-30);
}

.sz-download-info {
	min-width: 0;
}

.sz-label {
	display: block;
	margin-bottom: 9px;
	font-size: 9px;
	letter-spacing: 0.32em;
	color: var(--sz-paper-30);
}

.sz-url-masked {
	display: block;
	margin: 0;
	padding: 11px 13px;
	background: rgba(236, 230, 218, 0.04);
	border: 1px solid var(--sz-line);
	font-family: var(--sz-mono);
	font-size: 11px;
	line-height: 1.7;
	letter-spacing: 0.04em;
	word-break: break-all;
	color: var(--sz-paper-42);
	transition: color 0.35s var(--sz-ease), border-color 0.35s var(--sz-ease);
}

.sz-url-masked[hidden] {
	display: none;
}

.sz-url-masked.is-open {
	border-color: var(--sz-gold-40);
	color: var(--sz-gold);
}

.sz-note {
	margin: 14px 0 0;
	padding-left: 12px;
	border-left: 1px solid var(--sz-gold-16);
	font-size: 10.5px;
	line-height: 1.85;
	letter-spacing: 0.02em;
	color: var(--sz-paper-42);
}

.sz-dialog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.sz-lede--tight {
	margin-bottom: 20px;
	font-size: 12px;
	line-height: 1.85;
	color: var(--sz-paper-42);
}

.sz-products {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.sz-product {
	position: relative;
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 18px;
	padding: 18px 0 18px 14px;
	border-bottom: 1px solid var(--sz-line);
}

/* Leading rule that lights up on hover: an editorial marker instead of a
   card lift, which keeps the list calm. */
.sz-product::before {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	left: 0;
	width: 1px;
	background: transparent;
	transition: background-color 0.35s var(--sz-ease);
}

.sz-product:hover::before,
.sz-product:focus-within::before {
	background: var(--sz-gold-40);
}

.sz-product-figure {
	position: relative;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	overflow: hidden;
	background: rgba(236, 230, 218, 0.045);
	border: 1px solid var(--sz-line);
	transition: border-color 0.35s var(--sz-ease);
}

.sz-product-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.78) brightness(0.92);
	transition: transform 0.7s var(--sz-ease-out), filter 0.5s var(--sz-ease);
}

.sz-product-figure:hover,
.sz-product-figure:focus-visible {
	border-color: var(--sz-gold-40);
}

.sz-product-figure:hover img {
	transform: scale(1.05);
	filter: saturate(0.92) brightness(1);
}

.sz-product-figure-fallback {
	display: grid;
	place-items: center;
	color: var(--sz-gold-40);
}

.sz-product-figure-fallback .sz-icon {
	width: 20px;
	height: 20px;
}

.sz-product-body {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.sz-product-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}

.sz-product-name {
	margin: 0;
	min-width: 0;
	font-family: var(--sz-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.08em;
}

.sz-product-name a {
	color: var(--sz-paper);
	text-decoration: none;
	transition: color 0.35s var(--sz-ease);
}

.sz-product-name a:hover,
.sz-product-name a:focus-visible {
	color: var(--sz-gold);
}

.sz-product-price {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--sz-serif);
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--sz-gold);
}

.sz-product-price del {
	color: var(--sz-paper-30);
	font-weight: 400;
}

.sz-product-price ins {
	text-decoration: none;
}

.sz-product-desc {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 11.5px;
	line-height: 1.9;
	letter-spacing: 0.02em;
	color: var(--sz-paper-42);
}

.sz-product-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin-top: 3px;
}

.sz-add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 14px;
	background: transparent;
	border: 1px solid var(--sz-gold-40);
	font-family: inherit;
	font-size: 10.5px;
	line-height: 1;
	letter-spacing: 0.18em;
	text-decoration: none;
	color: var(--sz-gold);
	cursor: pointer;
	transition: background-color 0.35s var(--sz-ease), border-color 0.35s var(--sz-ease), color 0.35s var(--sz-ease), opacity 0.35s var(--sz-ease);
}

.sz-add .sz-icon {
	width: 13px;
	height: 13px;
	opacity: 0.85;
}

.sz-add:hover,
.sz-add:focus-visible,
.sz-add.is-added {
	background: var(--sz-gold);
	border-color: var(--sz-gold);
	color: #080b0e;
}

.sz-add:hover .sz-icon,
.sz-add:focus-visible .sz-icon,
.sz-add.is-added .sz-icon {
	opacity: 0.9;
}

.sz-add.is-busy {
	opacity: 0.55;
	cursor: progress;
}

.sz-add--muted,
.sz-add--muted:hover,
.sz-add--muted:focus-visible {
	border-color: var(--sz-line);
	background: transparent;
	color: var(--sz-paper-30);
	cursor: not-allowed;
}

.sz-product-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-decoration: none;
	color: var(--sz-paper-30);
	transition: color 0.35s var(--sz-ease);
}

.sz-product-more .sz-icon {
	width: 12px;
	height: 12px;
	opacity: 0.6;
}

.sz-product-more:hover,
.sz-product-more:focus-visible {
	color: var(--sz-paper-72);
}

.sz-cart-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 4px;
	padding: 12px 16px;
	background: rgba(236, 230, 218, 0.045);
	border: 1px solid var(--sz-line);
}

.sz-cart-line {
	display: flex;
	align-items: baseline;
	gap: 9px;
	margin: 0;
	font-size: 10px;
	letter-spacing: 0.28em;
	color: var(--sz-paper-42);
}

.sz-cart-count {
	font-family: var(--sz-serif);
	font-size: 21px;
	line-height: 1;
	letter-spacing: 0.04em;
	color: var(--sz-gold);
}

.sz-cart-unit {
	font-size: 9.5px;
	letter-spacing: 0.24em;
	color: var(--sz-paper-30);
}

.sz-cart-link {
	padding: 10px 18px;
}

.sz-product-empty {
	padding-top: 6px;
}

.sz-product-empty-title {
	margin: 0 0 12px;
	font-family: var(--sz-serif);
	font-size: 17px;
	letter-spacing: 0.1em;
	color: var(--sz-paper-72);
}

.sz-toast {
	position: fixed;
	left: 50%;
	bottom: clamp(26px, 6vh, 52px);
	z-index: 120;
	max-width: calc(100vw - 40px);
	padding: 10px 20px;
	transform: translate(-50%, 10px);
	background: rgba(10, 15, 20, 0.92);
	border: 1px solid var(--sz-line-strong);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	font-size: 11px;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-align: center;
	color: var(--sz-paper-72);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s var(--sz-ease), transform 0.35s var(--sz-ease);
}

.sz-toast[hidden] {
	display: none;
}

.sz-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
	.sz-download-main {
		padding: 18px 18px;
	}

	.sz-facts > div {
		padding: 0 12px;
	}
}

@media (max-width: 720px) {
	.sz-nav-links {
		gap: 12px;
	}

	.sz-nav-link {
		font-size: 11.5px;
		letter-spacing: 0.12em;
		gap: 6px;
	}

	.sz-nav-menu {
		gap: 12px;
	}

	.sz-nav-menu a {
		font-size: 11.5px;
		letter-spacing: 0.12em;
	}

	.sz-nav-index {
		font-size: 8px;
	}

	.sz-nav-text--long {
		display: none;
	}

	.sz-nav-text--short {
		display: inline;
	}

	.sz-brand-name {
		font-size: 11px;
		letter-spacing: 0.22em;
	}

	.sz-side {
		display: none;
	}

	.sz-moon {
		top: 88px;
		right: 18px;
		width: 36vw;
	}

	.sz-page {
		padding-top: clamp(84px, 12vh, 110px);
		padding-bottom: 28px;
	}

	.sz-page-inner {
		--sz-pad-x: 20px;

		padding: 26px var(--sz-pad-x);
	}

	.sz-dialog-body {
		padding: 34px 22px 28px;
	}

	.sz-dialog {
		max-height: 88dvh;
	}
}

@media (max-width: 520px) {
	.sz-brand-name {
		display: none;
	}

	.sz-nav-links {
		gap: 10px;
	}

	.sz-nav-link {
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.sz-nav-menu {
		gap: 10px;
	}

	.sz-nav-menu a {
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.sz-nav-sep {
		display: none;
	}

	.sz-stage-search {
		width: clamp(168px, 54vw, 236px);
	}

	.sz-stage-search-input {
		font-size: 11px;
		letter-spacing: 0.12em;
	}

	.sz-stage-search-status {
		font-size: 9px;
		letter-spacing: 0.18em;
	}

	.sz-card {
		width: min(268px, calc(100vw - 32px));
		padding: 16px 17px 14px;
	}

	.sz-card-title {
		font-size: 15.5px;
	}

	.sz-card-desc {
		font-size: 12px;
	}

	.sz-facts {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.sz-facts > div {
		padding: 0 0 0 12px;
		border-left: 1px solid var(--sz-line);
	}

	.sz-facts > div:first-child {
		padding-left: 12px;
		border-left: 1px solid var(--sz-line);
	}

	.sz-dialog-actions .sz-btn {
		flex: 1 1 auto;
	}

	.sz-product {
		position: relative;
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
		padding: 15px 0 15px 10px;
	}

	.sz-product::before {
		top: 15px;
		bottom: 15px;
	}

	.sz-product-figure {
		width: 72px;
		height: 72px;
	}

	.sz-product-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 3px;
	}

	.sz-product-name {
		font-size: 15px;
	}

	.sz-add {
		padding: 9px 14px;
	}

	.sz-cart-bar {
		padding: 13px 14px;
	}

	.sz-cart-link {
		flex: 0 0 auto;
	}
}

@media (max-height: 540px) {
	.sz-side {
		display: none;
	}

	.sz-page {
		padding-top: 78px;
	}

	.sz-dialog {
		max-height: 92dvh;
	}
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.sz-brand-mark,
	.sz-btn,
	.sz-nav-link::after,
	.sz-nav-menu a::after,
	.sz-dialog,
	.sz-overlay-backdrop,
	.sz-card {
		transition-duration: 0.01ms !important;
	}

	.sz-panel.is-active {
		animation-duration: 0.01ms !important;
	}

	.sz-brand:hover .sz-brand-mark {
		transform: none;
	}
}

