/**
 * OpenStation Diary — presentation layer.
 *
 * Built on the OpenStation brand system: Void as the base, Obsidian for
 * surfaces, Pulse and Nebula for identity moments, Sirius and Starlight for
 * contrast, and the Shade palette for text hierarchy and hairlines. Geist
 * carries everything human; Geist Mono is the instrument voice — labels,
 * dates, statuses, coordinates, always small, uppercase and letterspaced.
 *
 * theme.json owns colors, type and spacing tokens. This file owns what
 * theme.json can't express: the deep-space backdrop, the panel surfaces,
 * entrance motion and the drifting station chips.
 *
 * Structural spacing for group/paragraph/separator blocks is handled here via
 * plain classNames rather than block "style" or "layout" attributes on
 * purpose: those blocks are static (client-saved), and Gutenberg flags a
 * hand-authored template as invalid the moment its saved HTML doesn't match
 * byte-for-byte what the block's own save() would regenerate. className is an
 * unambiguous append with no such risk.
 *
 * Logical properties throughout, so the whole thing flips cleanly in RTL.
 */

/* ---------------------------------------------------------------------------
 * Base — the deep-space backdrop
 *
 * The brand's Space gradient (#010101 → #111114 → #1E1D23) is a flat linear
 * fill, so it is reproduced in CSS rather than loaded as an SVG. Galaxy is
 * layered on top the same way the brand builds it: Void base, soft Nebula
 * glows, then a Starlight starfield — drawn with radial-gradients instead of
 * an 80KB asset.
 * ------------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
	background-color: #0c0b0f;
}

body {
	position: relative;
	background-color: var( --wp--preset--color--void );
	/* The two glows from the landing page's .cosmos, converted from its
	   1600x900 viewBox to percentages: a Lagoon ellipse up and to the right, a
	   Pulse one down and to the left, both far fainter than the pair that used
	   to be here. The old backdrop was three layers including a 152deg linear
	   that lifted the bottom of the page to #1e1d23, and against that wash the
	   hatched gutters read as a different material to the landing page's.
	   Flat Void behind them is what makes the diagonals look the same. */
	background-image:
		radial-gradient( ellipse 31% 36% at 78% 16%, rgba( 159, 152, 255, 0.10 ), transparent 70% ),
		radial-gradient( ellipse 33% 38% at 16% 84%, rgba( 233, 79, 243, 0.07 ), transparent 70% );
	background-attachment: fixed;
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* clip, not hidden, and on both elements.
 *
 * The crosshairs are centred on the rails, so each one hangs 8px past the
 * frame; below 1440px the frame is the viewport and that 8px lands outside it.
 * overflow-x: hidden on body alone only hid the scrollbar: the document stayed
 * 8px too wide, which widened the layout viewport and left a strip of bare
 * background down the right on a phone. clip does not create a scroll
 * container, so the overflow is genuinely gone. Same fix, and same reason, as
 * landing_v1.html. */
html,
body {
	overflow-x: clip;
}

/* Starfield: layers at different sizes and opacities so the field reads with
   depth rather than as a regular dot grid. Fixed, so it behaves like a window
   onto space rather than wallpaper that scrolls with the content. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient( 1.6px 1.6px at 18% 22%, rgba( 255, 251, 255, 0.85 ), transparent 100% ),
		radial-gradient( 1.4px 1.4px at 73% 14%, rgba( 255, 251, 255, 0.70 ), transparent 100% ),
		radial-gradient( 1.2px 1.2px at 41% 61%, rgba( 255, 251, 255, 0.60 ), transparent 100% ),
		radial-gradient( 1.8px 1.8px at 88% 47%, rgba( 194, 241, 241, 0.75 ), transparent 100% ),
		radial-gradient( 1.1px 1.1px at 9% 74%, rgba( 255, 251, 255, 0.50 ), transparent 100% ),
		radial-gradient( 1.5px 1.5px at 57% 88%, rgba( 236, 155, 255, 0.65 ), transparent 100% ),
		radial-gradient( 1px 1px at 30% 38%, rgba( 255, 251, 255, 0.45 ), transparent 100% ),
		radial-gradient( 1.3px 1.3px at 94% 79%, rgba( 255, 251, 255, 0.55 ), transparent 100% ),
		radial-gradient( 1px 1px at 64% 33%, rgba( 255, 251, 255, 0.40 ), transparent 100% ),
		radial-gradient( 1.2px 1.2px at 24% 93%, rgba( 194, 241, 241, 0.45 ), transparent 100% );
	background-size: 620px 620px, 780px 780px, 540px 540px, 900px 900px, 460px 460px,
		700px 700px, 380px 380px, 820px 820px, 500px 500px, 660px 660px;
	opacity: 0.9;
}

::selection {
	background: rgba( 233, 79, 243, 0.32 );
	color: var( --wp--preset--color--starlight );
}

:focus-visible {
	outline: 2px solid var( --wp--preset--color--pulse );
	outline-offset: 3px;
}

.is-muted {
	color: var( --wp--preset--color--osmium );
}

samp,
:not( pre ) > code {
	font-family: var( --wp--preset--font-family--mono );
	font-size: 0.9em;
	color: var( --wp--preset--color--sirius );
	background: rgba( 255, 251, 255, 0.05 );
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 6px;
	padding: 0.12em 0.4em;
}

/* ---------------------------------------------------------------------------
 * Page structure
 *
 * Header, main and footer share one reading column. position + z-index lift
 * the whole column into a layer strictly above the decorative chip plane
 * (z-index: 0), so content can never be covered by an ornament, independent
 * of any stacking subtleties inside the column.
 * ------------------------------------------------------------------------ */

.site-header,
.site-main,
.site-footer {
	max-width: 800px;
	margin-inline: auto;
	padding-inline: 1.25rem;
	position: relative;
	z-index: 1;
}

/* The header outranks the two below it.
 *
 * All three used to share z-index: 1, so .site-main painted over .site-header
 * simply by coming later. That is invisible until the mobile menu opens: its
 * panel is position: fixed with z-index: 100000, but z-index: 1 makes
 * .site-header a stacking context, so the panel could never rise above
 * .site-main and the page stayed clickable straight through it.
 *
 * 10 clears .site-main, the rails (2) and the crosshairs (3). Nothing is
 * covered by the change: .site-header paints no background of its own, so the
 * rails still show through it, and the crosshairs hang below its box. */
.site-header {
	z-index: 10;
}

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */

.site-header {
	/* The rest of the site sits in an 800px column. The header does not: it
	   uses openstation.me's measure and gutter so the lockup, the links and the
	   Install button land in the same places on both sites. */
	max-width: 1440px;
	padding-inline: clamp( 1.25rem, 5vw, 4rem );
	padding-block: 1.25rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.75rem;
	text-align: left;
}

/* ---------------------------------------------------------------------------
 * The frame, transcribed from openstation.me
 *
 * Two rails at the edges of a 1440px measure, running the height of the page,
 * with 72px of hatched gutter outside each one. Below 1440px the measure is the
 * viewport and the rails sit at its edges; the gutters only appear once there
 * is room for them, at 1600px, which is the same threshold the landing page
 * uses.
 *
 * Drawn once on .wp-site-blocks rather than per section: the landing page gets
 * continuous rails by giving every .frame the same border, and one pair running
 * the full height is the same picture with none of the bookkeeping. The header
 * is the exception, below.
 * ------------------------------------------------------------------------ */

/* The panel the content sits on. Every .frame section on the landing page
   carries `background: rgb(from --obsidian r g b / 0.55)`, which is what makes
   the column read as lighter than the gutters either side of it. Painted here
   as one band the width of the measure rather than per section, for the same
   reason the rails are.

   The header is exempt: it paints its own opaque Void over the top, which is
   what the landing page does by simply not tinting its header. */
.wp-site-blocks {
	position: relative;
	background:
		linear-gradient(
			rgba( 26, 23, 33, 0.55 ), rgba( 26, 23, 33, 0.55 )
		) 50% 0 / min( 1440px, 100% ) 100% no-repeat;
}

.wp-site-blocks::before,
.wp-site-blocks::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inline-size: 0;
	/* border-box because these carry their lines as borders and are positioned
	   by where those lines have to land. The theme's reset is `*`, which does
	   not match pseudo-elements, so without this the two 1px borders are added
	   outside the declared width and every measurement below is off by two. */
	box-sizing: border-box;
	/* Above the header's band (z-index 1), not below it. Two separate hatched
	   elements, one for the header and one for everything under it, restarted
	   the diagonal pattern at the seam and never lined up. One element the full
	   height of the page has a single background origin, so the diagonals run
	   straight through. Safe to paint over the header because the rails sit at
	   the edges of the measure and the header's content is inset from them. */
	z-index: 2;
	pointer-events: none;
	/* max() keeps the rail at the viewport edge until the viewport is wider
	   than the measure, which is what max-width + margin-inline: auto does for
	   the landing page's .frame. */
	border-inline-start: 1px solid rgba( 255, 251, 255, 0.11 );
}

.wp-site-blocks::before {
	inset-inline-start: max( 0px, calc( 50% - 720px ) );
}

.wp-site-blocks::after {
	inset-inline-end: max( 0px, calc( 50% - 720px ) );
}

/* The band behind the header. No z-index: the rails need to paint over it, and
   a stacking context here would trap the crosshairs below them too. */
.wp-site-blocks > header.wp-block-template-part {
	position: relative;
	background: var( --wp--preset--color--void );
	border-block-end: 1px dashed rgba( 255, 251, 255, 0.2 );
}

/* The crosshairs, where the rails cross the seam under the header. 17px, one
   pixel thick, centred on the corner, drawn as two gradients because the
   element has no children to make a cross out of.

   #e94ff3 is the landing page's Pulse. This theme's palette still carries the
   older #e94ff3, which is worth reconciling, but not by leaving one crosshair
   the wrong colour. */
.wp-site-blocks > header.wp-block-template-part::before,
.wp-site-blocks > header.wp-block-template-part::after {
	content: "";
	position: absolute;
	z-index: 3;
	inline-size: 17px;
	block-size: 17px;
	inset-block-end: -8px;
	pointer-events: none;
	background:
		linear-gradient( var( --wp--preset--color--pulse ), var( --wp--preset--color--pulse ) ) 8px 0 / 1px 17px no-repeat,
		linear-gradient( var( --wp--preset--color--pulse ), var( --wp--preset--color--pulse ) ) 0 8px / 17px 1px no-repeat;
}

.wp-site-blocks > header.wp-block-template-part::before {
	inset-inline-start: calc( max( 0px, 50% - 720px ) - 8px );
}

.wp-site-blocks > header.wp-block-template-part::after {
	inset-inline-end: calc( max( 0px, 50% - 720px ) - 8px );
}

/* The lockup: 26px mark, 10px gap, 20px SemiBold wordmark, the whole thing one
   link to openstation.me. It is hand-written rather than a wp:site-title block
   because that block always links to this site's home, and the mark and the
   name belong to the product, not to the diary. */
.site-lockup {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-family: var( --wp--preset--font-family--sans );
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	color: var( --wp--preset--color--starlight );
	text-decoration: none;
}

.site-mark svg {
	inline-size: 1.625rem;
	block-size: 1.625rem;
	display: block;
}

/* The external-link mark, transcribed from openstation.me. */
.site-header .wp-block-navigation-item__content .ext {
	inline-size: 0.75em;
	block-size: 0.75em;
	margin-inline-start: 0.2em;
	vertical-align: -0.02em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Blog is the current section throughout: it is the only nav entry this site
   still serves. Contribute and Press point at openstation.me now, and the local
   pages behind those slugs redirect there. */
.site-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content[href="/"] {
	color: var( --wp--preset--color--starlight );
}

/* ---------------------------------------------------------------------------
 * Blog intro: the tagline and the feed, above the list of posts
 * ------------------------------------------------------------------------ */

.blog-intro {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	flex-wrap: wrap;
	margin-block-end: 2.5rem;
	padding-block-end: 1.25rem;
	border-block-end: 1px solid rgba( 255, 251, 255, 0.11 );
}

.blog-intro .wp-block-site-tagline {
	margin: 0;
	max-width: 48ch;
}

.blog-rss {
	flex: none;
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --wp--preset--color--ash );
	text-decoration: none;
	border: 1px solid rgba( 255, 251, 255, 0.2 );
	border-radius: 100px;
	padding: 0.25rem 0.7rem;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.blog-rss:hover {
	color: var( --wp--preset--color--starlight );
	border-color: var( --wp--preset--color--starlight );
}

/* The hatched gutters. 72px of 1px diagonals every 9px, outside the rail, with
   a second line closing the far edge. */
@media ( min-width: 100rem ) {
	/* 74px, border-box: 1px outer line, 72px of hatch, 1px rail. That puts the
	   outer line, the hatch and the rail on exactly the pixels the landing page
	   puts them on, where the band and the frame's own border are two separate
	   elements. */
	.wp-site-blocks::before,
	.wp-site-blocks::after {
		inline-size: 74px;
		border-inline: 1px solid rgba( 255, 251, 255, 0.11 );
		/* An SVG tile, not the landing page's repeating-linear-gradient.

		   Same picture, but Chrome renders a repeating gradient by laying out
		   the whole thing across the element, and the spacing visibly widens as
		   the element grows: measured side by side, 180px tall is correct, 6000
		   is obviously wider, and this element is the height of the entire page.
		   The landing page never hits it because each of its bands is only as
		   tall as one section.

		   A tile is rasterised once at a fixed size and repeated, so the period
		   is exact at any height. 12.7279px is 9 x sqrt(2), the square that
		   holds one period of a 45-degree line spaced 9px apart, and the stroke
		   is 1px at that scale. Opacity 0.09 rather than 0.06 because the tile
		   is antialiased where the gradient's hard stop is not, and 0.09 is what
		   matched the landing page's weight when compared directly. */
		background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0,100 L100,0' stroke='%23fffbff' stroke-opacity='0.09' stroke-width='7.8567' fill='none'/%3E%3C/svg%3E" );
		background-size: 12.7279px 12.7279px;
	}

	.wp-site-blocks::before {
		inset-inline-start: calc( max( 0px, 50% - 720px ) - 73px );
	}

	.wp-site-blocks::after {
		inset-inline-end: calc( max( 0px, 50% - 720px ) - 73px );
	}

}

/* Core emits block-gap as margin-block-start on every sibling after the first.
   That is right for the stacked layout this used to be and wrong now: in a flex
   row it pushed the nav and the button down and made the header 28px taller
   than the one on openstation.me. The row's own gap does the spacing. */
.site-header > * {
	margin-block: 0;
}

/* margin-inline-end: auto is what pushes the nav and the Install button to
   the far side, the same way the landing page's lockup does it. */
.site-header__brand {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.625rem;
	width: auto;
	margin-inline-end: auto;
}

/* The wordmark carries the brand on its own — monochrome Starlight on Void,
   which is the preferred usage. A soft Pulse halo behind it lights the mark
   from within without putting a mesh behind the logo, which is explicitly not
   part of the system. */
.site-logo {
	position: relative;
	display: block;
	margin: 0;
	isolation: isolate;
}

.site-logo::after {
	content: none;
	position: absolute;
	inset: -30% -10%;
	z-index: -1;
	background: radial-gradient( closest-side, rgba( 233, 79, 243, 0.30 ), transparent 100% );
	filter: blur( 16px );
	pointer-events: none;
}

/* Sized by height, not width: the header is a fixed-height row now, and the
   wordmark has to sit on the same baseline as the nav beside it. */
.site-logo img,
.site-logo .custom-logo,
.wp-block-site-logo.is-default-size img {
	width: auto;
	height: 1.625rem;
	display: block;
	margin-inline: 0;
}

.wp-block-site-tagline {
	margin: 0;
	max-width: 48ch;
}

/* ---------------------------------------------------------------------------
 * Navigation — mono, uppercase, dot-separated, like a station readout
 * ------------------------------------------------------------------------ */

.site-header .wp-block-navigation,
.site-header .wp-block-navigation__container {
	gap: 1.75rem;
	flex-wrap: nowrap;
	justify-content: flex-end;
}

/* The header used to carry a station-readout treatment: mono, uppercase, items
   separated by interpuncts. It now matches openstation.me instead. The rules
   below are scoped to .site-header rather than replacing the originals, but the
   header holds the only navigation block on the site, so the unscoped versions
   further down are effectively dead.

   The doubled class is core's own trick, borrowed back. Core ships
   `.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content
   { color: inherit }`, which outweighs any two-class theme rule, so the links
   were taking the body colour rather than Ash.

   0.875rem is written out rather than read from --wp--preset--font-size--small,
   because WordPress.com redefines that preset to 13px whatever theme.json says. */
.site-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	font-family: var( --wp--preset--font-family--sans );
	font-size: 0.875rem;
	color: var( --wp--preset--color--ash );
	text-transform: none;
	letter-spacing: normal;
	padding: 0;
}

/* No pulse halo on hover up here: the landing page just lifts the link to
   Starlight. */
.site-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var( --wp--preset--color--starlight );
	text-shadow: none;
}

.site-header .wp-block-navigation-item:not( :first-child )::before {
	content: none;
}

.wp-block-navigation-item.wp-block-navigation-link {
	margin: 0;
}

/* Interpunct between items, never before the first one. */
.wp-block-navigation-item:not( :first-child )::before {
	content: "·";
	color: var( --wp--preset--color--silver );
	margin-inline: 0.7rem;
	pointer-events: none;
}

.wp-block-navigation-item .wp-block-navigation-item__content {
	color: var( --wp--preset--color--ash );
	padding: 0.3rem 0.1rem;
	transition: color 0.18s ease, text-shadow 0.18s ease;
}

.wp-block-navigation-item .wp-block-navigation-item__content:hover,
.wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	color: var( --wp--preset--color--starlight );
	text-shadow: 0 0 18px rgba( 233, 79, 243, 0.55 );
}

.wp-block-navigation-item .wp-block-navigation-item__content:focus-visible {
	outline: 2px solid var( --wp--preset--color--pulse );
	outline-offset: 3px;
}

/* Install, the same control as the landing page's .btn.sm.solid: 2rem tall,
   Starlight on Void, Nebula on hover. */
/* flex on both wrappers so they hug the anchor. Each one otherwise builds a
   line box around it, and the inline-flex anchor sits on the baseline with the
   descender space left under it, which was making the header 4px taller than
   the landing page's. */
.site-header__cta,
.site-header__cta .wp-block-button {
	display: flex;
	align-items: center;
	flex: none;
}

.site-header__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 2rem;
	padding: 0 0.75rem;
	border: 0;
	border-radius: 4px;
	background: var( --wp--preset--color--starlight );
	color: var( --wp--preset--color--void );
	font-family: var( --wp--preset--font-family--sans );
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background 0.18s ease;
}

.site-header__cta .wp-block-button__link:hover {
	background: var( --wp--preset--color--nebula );
	color: var( --wp--preset--color--void );
}

/* The row holds the lockup, four links and the button. Below this it cannot,
   so the links collapse into the block's own overlay menu and the button and
   the wordmark keep the row. */
@media ( max-width: 40rem ) {
	.site-header {
		gap: 1rem;
	}

	.site-header .wp-block-navigation,
	.site-header .wp-block-navigation__container {
		gap: 1rem;
	}
}

/* Mobile overlay.
 *
 * Core ships
 * `.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open
 * { background-color: #fff }`, four classes, which outweighs a two-class theme
 * rule. The panel was white, and once the header's Ash link colour started
 * winning against core's `color: inherit` the text went white on white. Both
 * selectors below carry enough weight to settle it. */
.site-header .wp-block-navigation:not( .has-background ) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var( --wp--preset--color--void );
	padding: clamp( 2rem, 8vw, 4rem );
}

/* Core aligns the open panel with
   `align-items: var(--navigation-layout-justification-setting)`, and the block
   is set to justify right so the row sits beside the Install button. That is
   correct for the row and wrong for the panel, where it pinned every item to
   the right edge. */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
	align-items: center;
	justify-content: flex-start;
	gap: 0;
}

/* The justification setting reaches three levels down: the panel, the content
   wrapper that holds the list, and each item. Missing either of the last two
   leaves the list pinned right even once the panel itself is centred. */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: center;
}

/* The rules that lay the header out as a row (flex-end, nowrap, 1.75rem gaps)
   are for the row. Inside the overlay the menu is a centred column. */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item__content.wp-block-navigation-item__content {
	font-size: 1.125rem;
	color: var( --wp--preset--color--ash );
}

.site-header .wp-block-navigation__responsive-container.is-menu-open
	.current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var( --wp--preset--color--starlight );
}

/* The same section highlight the row gets. current-menu-item covers the two
   pages that are their own nav entries; Blog is matched on the body class, and
   that rule is two classes lighter than the one colouring the panel's links, so
   it needs restating here to survive. */
.site-header .wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item__content.wp-block-navigation-item__content[href="/"] {
	color: var( --wp--preset--color--starlight );
}

/* The panel's three wrappers carry no height of their own, so the list sat
   wherever it landed under the close button, about 200px above centre. Giving
   the chain the full height lets the innermost one centre the list in it. */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	block-size: 100%;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	justify-content: center;
	/* Core reserves 56px here, and 46px of margin on the dialog above it, to
	   clear its close button. That button is out of the flow now, in the
	   corner, so the reservation only pushed the list off centre. */
	padding-block-start: 0;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	margin-block-start: 0;
}

/* Out of the flow and into the corner, on the same pixel the toggle it
   replaces occupies: 20px down, and the header's own gutter in from the right. */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed;
	inset-block-start: 1.25rem;
	inset-inline-end: clamp( 1.25rem, 5vw, 4rem );
}

.wp-block-navigation__responsive-container-close {
	color: var( --wp--preset--color--starlight );
}

/* The toggle, matched to openstation.me: three stroked lines at 22px in Ash.
   The markup swap happens in functions.php; this is the same styling the
   landing page gives its own button. */
/* Both selectors are prefixed to outweigh core, which sets the button's colour
   and, at `.wp-block-navigation__responsive-container-open svg`, a 24px width
   and `fill: currentColor` on anything inside it. A bare `.nad-menu-icon` is one
   class against core's class-plus-element and loses. */
.site-header .wp-block-navigation__responsive-container-open {
	/* No `display` here. Core already sets flex on this button, and hides it
	   again at 600px with
	   `.wp-block-navigation__responsive-container-open:not(.always-shown)`,
	   which is also two classes. Declaring display at the same weight from a
	   sheet that loads later beat that hide and put the toggle on the desktop
	   header. Alignment still applies; the display value is core's to own. */
	align-items: center;
	justify-content: center;
	inline-size: 32px;
	block-size: 32px;
	color: var( --wp--preset--color--ash );
}

.site-header .wp-block-navigation__responsive-container-open:hover {
	color: var( --wp--preset--color--starlight );
}

.wp-block-navigation__responsive-container-open .nad-menu-icon {
	inline-size: 22px;
	block-size: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.25rem;
	flex-direction: column;
	align-items: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.wp-block-navigation-link {
	font-size: 1.2rem;
}

/* The interpunct is a horizontal-row device; it makes no sense stacked. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:not( :first-child )::before {
	content: none;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	color: var( --wp--preset--color--starlight );
}

.wp-block-navigation__responsive-dialog {
	margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * Main
 * ------------------------------------------------------------------------ */

.site-main {
	padding-block-end: clamp( 3rem, 8vw, 6rem );
}

/* ---------------------------------------------------------------------------
 * Diary entries — Obsidian panels, like log records aboard the station
 * ------------------------------------------------------------------------ */

.post-entry,
.post-article {
	position: relative;
	background: linear-gradient(
		180deg,
		rgba( 26, 23, 33, 0.92 ) 0%,
		rgba( 26, 23, 33, 0.70 ) 100%
	);
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 13px;
	padding: clamp( 1.5rem, 4vw, 2.75rem );
	backdrop-filter: blur( 10px );
	-webkit-backdrop-filter: blur( 10px );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 24px 60px -32px rgba( 0, 0, 0, 0.9 );
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-entry:hover {
	border-color: var( --wp--preset--color--silver );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.07 ) inset,
		0 28px 70px -32px rgba( 0, 0, 0, 0.95 ),
		0 0 0 1px rgba( 233, 79, 243, 0.12 );
}

.post-entry > *:first-child,
.post-article > *:first-child {
	margin-block-start: 0;
}

.post-entry > *:last-child,
.post-article > *:last-child {
	margin-block-end: 0;
}

/* Author presence — this is a diary, so the face stays. The Pulse ring reads
   as "signed by a human" against all the machine-voice metadata. */
.post-avatar {
	margin-block-end: 1rem;
}

.post-avatar img {
	border-radius: 999px;
	border: 1px solid var( --wp--preset--color--astro );
	box-shadow:
		0 0 0 4px rgba( 12, 11, 15, 0.9 ),
		0 0 26px -4px rgba( 233, 79, 243, 0.55 );
	background: var( --wp--preset--color--obsidian );
	display: block;
}

.post-meta-block {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-block-end: 1.5rem;
}

.wp-block-post-date time {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* A small lit indicator before the timestamp — the station reporting in. */
.wp-block-post-date time::before {
	content: "";
	inline-size: 5px;
	block-size: 5px;
	border-radius: 999px;
	background: var( --wp--preset--color--sirius );
	box-shadow: 0 0 10px 1px rgba( 194, 241, 241, 0.9 );
	flex: none;
}

.wp-block-post-title {
	margin-block: 0.35rem 1rem;
}

.wp-block-post-title a {
	color: var( --wp--preset--color--starlight );
	text-decoration: none;
	background-image: none;
	transition: color 0.2s ease;
}

.wp-block-post-title a:hover {
	color: var( --wp--preset--color--nebula );
}

.wp-block-post-terms a {
	color: var( --wp--preset--color--pulse );
}

.wp-block-post-template {
	list-style: none;
	padding: 0;
}

/* ---------------------------------------------------------------------------
 * Long-form content
 * ------------------------------------------------------------------------ */

.full-post-content,
.entry-content {
	color: var( --wp--preset--color--mist );
}

.full-post-content > *:first-child {
	margin-block-start: 0;
}

.entry-content a,
.full-post-content a,
.wp-block-post-content a {
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	text-decoration-color: rgba( 233, 79, 243, 0.45 );
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.entry-content a:hover,
.full-post-content a:hover,
.wp-block-post-content a:hover {
	text-decoration-color: var( --wp--preset--color--nebula );
}

.full-post-content img,
.entry-content img,
.wp-block-post-featured-image img {
	border-radius: 10px;
	border: 1px solid var( --wp--preset--color--astro );
	max-width: 100%;
	height: auto;
}

.wp-block-quote {
	margin-inline: 0;
	padding: 1.15rem 1.4rem;
	padding-inline-start: 1.6rem;
	background: rgba( 12, 11, 15, 0.55 );
	border: 1px solid var( --wp--preset--color--astro );
	border-inline-start: 2px solid var( --wp--preset--color--pulse );
	border-radius: 10px;
	font-style: normal;
	color: var( --wp--preset--color--cloud );
}

.wp-block-quote::before {
	content: none;
}

.wp-block-quote cite {
	display: block;
	margin-block-start: 0.75rem;
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var( --wp--preset--color--osmium );
}

hr.wp-block-separator,
.post-separator {
	border: 0;
	block-size: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		var( --wp--preset--color--astro ) 18%,
		var( --wp--preset--color--silver ) 50%,
		var( --wp--preset--color--astro ) 82%,
		transparent
	);
	margin-block: clamp( 2.5rem, 6vw, 3.5rem );
	opacity: 1;
}

.wp-block-button__link {
	box-shadow: 0 0 30px -8px rgba( 233, 79, 243, 0.8 );
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wp-block-button__link:hover {
	box-shadow: 0 0 38px -6px rgba( 236, 155, 255, 0.9 );
	transform: translateY( -1px );
}

.wp-block-table td,
.wp-block-table th {
	border-color: var( --wp--preset--color--astro );
}

/* ---------------------------------------------------------------------------
 * Pagination & post navigation
 * ------------------------------------------------------------------------ */

.post-nav-row {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.wp-block-post-navigation-link a,
.wp-block-query-pagination a,
.wp-block-query-pagination .current {
	display: inline-block;
	color: var( --wp--preset--color--ash );
	text-decoration: none;
	padding: 0.45rem 0.8rem;
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 8px;
	background: rgba( 26, 23, 33, 0.6 );
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.wp-block-post-navigation-link a:hover,
.wp-block-query-pagination a:hover {
	color: var( --wp--preset--color--starlight );
	border-color: var( --wp--preset--color--pulse );
	background: rgba( 233, 79, 243, 0.12 );
}

.wp-block-query-pagination .current {
	color: var( --wp--preset--color--void );
	background: var( --wp--preset--color--pulse );
	border-color: var( --wp--preset--color--pulse );
}

.wp-block-post-navigation-link a:focus-visible {
	outline: 2px solid var( --wp--preset--color--pulse );
	outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
 * Infinite scroll
 * ------------------------------------------------------------------------ */

.infinite-scroll-sentinel {
	block-size: 1px;
	margin-block-start: 3rem;
	position: relative;
}

.infinite-scroll-sentinel.is-loading::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 0;
	inline-size: 20px;
	block-size: 20px;
	margin-inline-start: -10px;
	border: 2px solid var( --wp--preset--color--astro );
	border-top-color: var( --wp--preset--color--pulse );
	border-radius: 999px;
	animation: next-admin-diary-spin 0.7s linear infinite;
}

@keyframes next-admin-diary-spin {
	to {
		transform: rotate( 360deg );
	}
}

/* ---------------------------------------------------------------------------
 * Entry reveal — staggered, first screenful only
 * ------------------------------------------------------------------------ */

@keyframes next-admin-diary-fade-up {
	from {
		opacity: 0;
		transform: translateY( 14px );
	}

	to {
		opacity: 1;
		transform: translateY( 0 );
	}
}

.wp-block-post-template > li {
	animation: next-admin-diary-fade-up 0.55s ease both;
}

.wp-block-post-template > li:nth-child( 1 ) { animation-delay: 0.02s; }
.wp-block-post-template > li:nth-child( 2 ) { animation-delay: 0.08s; }
.wp-block-post-template > li:nth-child( 3 ) { animation-delay: 0.14s; }
.wp-block-post-template > li:nth-child( 4 ) { animation-delay: 0.20s; }
.wp-block-post-template > li:nth-child( 5 ) { animation-delay: 0.26s; }
.wp-block-post-template > li:nth-child( 6 ) { animation-delay: 0.32s; }

/* Entries appended by infinite scroll should appear immediately, not wait out
   a stagger designed for the first paint. */
.wp-block-post-template > li:nth-child( n + 7 ) {
	animation: none;
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	padding-block: clamp( 2.5rem, 6vw, 3.5rem );
	text-align: center;
	border-block-start: 1px solid var( --wp--preset--color--astro );
	margin-block-start: clamp( 3rem, 8vw, 5rem );
}

.site-footer p {
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Station log chips
 *
 * These were paper sticky notes in the previous identity. The markup and the
 * motion script are unchanged — sticky-notes.js drives the .sticky-note*
 * class names, data-parallax and the --tilt-x / --tilt-y custom properties —
 * but the surface is now an Obsidian chip with a hairline edge and one lit
 * accent: fragments of station telemetry drifting past the content, in the
 * mono instrument voice.
 * ------------------------------------------------------------------------ */

.sticky-notes {
	position: absolute;
	/* Clear of the header. The notes are placed at 4vh, 21vh, 38vh and so on
	   from the top of this layer, so the first one landed at 38px on a 950px
	   viewport and ran straight through a header that ends at 73px. Offsetting
	   the layer moves the whole sequence rather than respacing it. */
	inset-block-start: 6rem;
	inset-inline: 0;
	block-size: calc( 100% - 6rem );
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
	display: none;
}

.sticky-note {
	position: absolute;
	inline-size: 170px;
	will-change: transform;
}

.sticky-note__float {
	animation: sticky-note-float 9s ease-in-out infinite;
}

.sticky-note__card {
	position: relative;
	padding: 0.8rem 0.95rem;
	background: rgba( 26, 23, 33, 0.66 );
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 10px;
	backdrop-filter: blur( 8px );
	-webkit-backdrop-filter: blur( 8px );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 18px 40px -28px rgba( 0, 0, 0, 0.95 );
	transform: rotate( var( --rot, 0deg ) ) rotateX( var( --tilt-x, 0deg ) ) rotateY( var( --tilt-y, 0deg ) );
	transition: transform 0.35s ease;
}

/* One lit edge per chip, cycling through the accent trio. The old --yellow /
   --blue / --green modifiers are reused so the existing markup and script
   keep working; only what they mean has changed. */
.sticky-note--yellow .sticky-note__card {
	border-inline-start: 2px solid var( --wp--preset--color--pulse );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 18px 40px -28px rgba( 0, 0, 0, 0.95 ),
		-6px 0 24px -14px rgba( 233, 79, 243, 0.9 );
}

.sticky-note--blue .sticky-note__card {
	border-inline-start: 2px solid var( --wp--preset--color--sirius );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 18px 40px -28px rgba( 0, 0, 0, 0.95 ),
		-6px 0 24px -14px rgba( 194, 241, 241, 0.9 );
}

.sticky-note--green .sticky-note__card {
	border-inline-start: 2px solid var( --wp--preset--color--nebula );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 18px 40px -28px rgba( 0, 0, 0, 0.95 ),
		-6px 0 24px -14px rgba( 236, 155, 255, 0.9 );
}

.sticky-note__text {
	margin: 0;
	font-family: var( --wp--preset--font-family--mono );
	font-size: 0.6875rem;
	line-height: 1.55;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var( --wp--preset--color--osmium );
}

/* Tape and pins were paper devices; in space a chip just floats. */
.sticky-note--taped .sticky-note__card::before,
.sticky-note--pinned .sticky-note__card::before {
	content: none;
}

@keyframes sticky-note-float {
	0%,
	100% {
		transform: translateY( 0 );
	}

	50% {
		transform: translateY( -9px );
	}
}

/* Only show the drifting chips when there is genuinely empty space beside the
   reading column, so they never crowd the measure. */
@media ( min-width: 1320px ) {
	.sticky-notes {
		display: block;
	}
}

@media ( min-width: 1400px ) {
	.sticky-note {
		inline-size: 186px;
	}
}

/* ---------------------------------------------------------------------------
 * Comments
 *
 * A block theme only outputs comments where a template includes the comments
 * block, so this whole section is dead weight unless single.html carries one.
 *
 * Form controls get explicit surfaces on purpose: left to the browser default
 * they render as light chrome with dark text, which is invisible against Void
 * and reads as a broken form rather than a styled one.
 * ------------------------------------------------------------------------ */

.post-comments {
	margin-block-start: clamp( 2rem, 5vw, 3rem );
	background: linear-gradient(
		180deg,
		rgba( 26, 23, 33, 0.92 ) 0%,
		rgba( 26, 23, 33, 0.70 ) 100%
	);
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 13px;
	padding: clamp( 1.5rem, 4vw, 2.75rem );
	backdrop-filter: blur( 10px );
	-webkit-backdrop-filter: blur( 10px );
	box-shadow:
		0 1px 0 0 rgba( 255, 251, 255, 0.05 ) inset,
		0 24px 60px -32px rgba( 0, 0, 0, 0.9 );
}

.wp-block-comments-title {
	margin-block: 0 1.5rem;
	font-size: 1.5rem;
}

/* Comment list */
.wp-block-comment-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wp-block-comment-template li + li {
	margin-block-start: 1.5rem;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var( --wp--preset--color--astro );
}

/* Threaded replies step inward with a hairline to trace the thread. */
.wp-block-comment-template ol {
	list-style: none;
	margin-block-start: 1.5rem;
	margin-inline-start: 0;
	padding-inline-start: clamp( 1rem, 3vw, 2rem );
	border-inline-start: 1px solid var( --wp--preset--color--astro );
}

.comment-entry__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-block-end: 0.75rem;
}

.comment-entry__byline {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.comment-avatar img,
.wp-block-avatar img {
	border-radius: 999px;
	border: 1px solid var( --wp--preset--color--astro );
	background: var( --wp--preset--color--obsidian );
	display: block;
}

.wp-block-comment-author-name,
.wp-block-comment-author-name a {
	color: var( --wp--preset--color--starlight );
	font-weight: 500;
	text-decoration: none;
}

.wp-block-comment-date,
.wp-block-comment-date a {
	color: var( --wp--preset--color--osmium );
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.comment-body,
.wp-block-comment-content {
	color: var( --wp--preset--color--mist );
}

.comment-body p:last-child,
.wp-block-comment-content p:last-child {
	margin-block-end: 0;
}

.wp-block-comment-reply-link {
	margin-block-start: 0.85rem;
}

.wp-block-comment-reply-link a {
	display: inline-block;
	color: var( --wp--preset--color--ash );
	text-decoration: none;
	padding: 0.3rem 0.7rem;
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 8px;
	background: rgba( 12, 11, 15, 0.5 );
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.wp-block-comment-reply-link a:hover {
	color: var( --wp--preset--color--starlight );
	border-color: var( --wp--preset--color--pulse );
	background: rgba( 233, 79, 243, 0.12 );
}

.comment-pagination {
	margin-block-start: 2rem;
}

/* ---------------------------------------------------------------------------
 * Comment form
 * ------------------------------------------------------------------------ */

.comment-form-panel,
.wp-block-post-comments-form {
	margin-block-start: 2.5rem;
	padding-block-start: 2rem;
	border-block-start: 1px solid var( --wp--preset--color--astro );
}

/* With no comments yet, WordPress omits the title, list and pagination
   entirely, so the form is the panel's first child — and that divider ends up
   separating it from nothing. Drop the rule in that case. */
.post-comments > .wp-block-post-comments-form:first-child {
	margin-block-start: 0;
	padding-block-start: 0;
	border-block-start: 0;
}

.wp-block-comments-title:empty,
.wp-block-comment-template:empty {
	display: none;
}

.comment-reply-title {
	font-size: 1.25rem;
	margin-block: 0 0.5rem;
	color: var( --wp--preset--color--starlight );
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent label {
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	color: var( --wp--preset--color--osmium );
	line-height: 1.6;
}

.comment-form label {
	display: block;
	margin-block-end: 0.4rem;
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var( --wp--preset--color--osmium );
}

.comment-form p {
	margin-block: 0 1.15rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.wp-block-post-comments-form input:not( [type="submit"] ):not( [type="checkbox"] ),
.wp-block-post-comments-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.9rem;
	color: var( --wp--preset--color--mist );
	background: rgba( 12, 11, 15, 0.65 );
	border: 1px solid var( --wp--preset--color--astro );
	border-radius: 8px;
	font-family: inherit;
	font-size: var( --wp--preset--font-size--small );
	line-height: 1.6;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.comment-form textarea,
.wp-block-post-comments-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
	color: var( --wp--preset--color--pewter );
}

.comment-form input:focus,
.comment-form textarea:focus,
.wp-block-post-comments-form input:focus,
.wp-block-post-comments-form textarea:focus {
	outline: none;
	border-color: var( --wp--preset--color--pulse );
	box-shadow: 0 0 0 3px rgba( 233, 79, 243, 0.22 );
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
	margin-block-start: 0.2rem;
	accent-color: var( --wp--preset--color--pulse );
	flex: none;
}

.comment-form-cookies-consent label {
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
}

.comment-form .form-submit {
	margin-block-end: 0;
}

.comment-form input[type="submit"],
.wp-block-post-comments-form input[type="submit"],
.wp-block-post-comments-form .wp-block-button__link {
	display: inline-block;
	width: auto;
	cursor: pointer;
	color: var( --wp--preset--color--void );
	background: var( --wp--preset--color--pulse );
	border: 0;
	border-radius: 10px;
	padding: 0.7em 1.4em;
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--small );
	font-weight: 500;
	box-shadow: 0 0 30px -8px rgba( 233, 79, 243, 0.8 );
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.comment-form input[type="submit"]:hover,
.wp-block-post-comments-form input[type="submit"]:hover {
	background: var( --wp--preset--color--nebula );
	box-shadow: 0 0 38px -6px rgba( 236, 155, 255, 0.9 );
	transform: translateY( -1px );
}

/* "Cancel reply" sits next to the reply title when answering a comment. */
#cancel-comment-reply-link {
	margin-inline-start: 0.75rem;
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.comment-respond {
	scroll-margin-block-start: 2rem;
}

/* Closed-comments notice */
.no-comments,
.comment-form-closed {
	font-family: var( --wp--preset--font-family--mono );
	font-size: var( --wp--preset--font-size--meta );
	color: var( --wp--preset--color--osmium );
}

/* ---------------------------------------------------------------------------
 * Motion preferences
 * ------------------------------------------------------------------------ */

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.wp-block-post-template > li {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * Sandbox chrome
 * ------------------------------------------------------------------------ */

/* The Atomic proxy injects this strip at the top of the document when the site
   is viewed through the a8c proxy. Ordinary visitors never receive it, so this
   only changes what the team sees. There is no filter for it: it is added by
   the proxy rather than by WordPress, so CSS is the only lever. */
#atomic-proxy-bar {
	display: none !important;
}

/* Same story for the toolbar. show_admin_bar in functions.php turns off core's,
   and WordPress.com puts its own back from outside wp-content.

   :root alongside html only to raise specificity to (0,1,1). The two offsets it
   prints, 32px and 46px under a narrow media query, are inline and !important,
   so a plain `html` rule at (0,0,1) would lose to them whatever the order. */
#wpadminbar {
	display: none !important;
}

html:root {
	margin-top: 0 !important;
}
