/*
Theme Name: NiaOS
Description: Tema de blog inspirado en los escritorios de PC de los años 90 y 2000.
Version: 2.0.2
Text Domain: escritorio-retro
*/

/* Palettes and shared colors */
:root {
	--ink: #211a38;
	--purple: #4a32a0;
	--title-end: #6b4db0;
	--night: #221744;
	--hero-glow: #583d9a;
	--paper: #fffdf8;
	--chrome: #dfdaed;
	--lime: #daf682;
	--edge: #342752;
	--window-shadow: #998bb5;
	--link: #4c2b94;
	--art-frame: #dcd1f7;
	--folder-fill: #f5cc70;
	--desktop: #e9e1f1;
	--desktop-dot: #b6a9cb;
	--season-detail: #a68de2;
	--art-sky: linear-gradient(#26164b, #763ead 76%, #fc8aa7);
	--art-sun: linear-gradient(#ffe988, #ff85c6);
	--art-sun-stripe: #833ca6;
	--art-land: #29194e;
	--art-ground: #35205f;
	--art-grid: #ad79ed;
	--mono: "Lucida Console", Monaco, monospace;
}

.escritorio-retro.estacion-primavera {
	--purple: #62408d;
	--title-end: #8a4276;
	--night: #272046;
	--hero-glow: #784686;
	--chrome: #eee1f1;
	--lime: #bcebd6;
	--desktop: #f3e8f4;
	--desktop-dot: #c5abcf;
	--season-detail: #d4a1ce;
	--art-sky: linear-gradient(#3b2869, #a55b9a 72%, #ffc3c8);
	--art-sun: linear-gradient(#e5ffbd, #a8eac8);
	--art-sun-stripe: #98588f;
	--art-land: #352651;
	--art-ground: #473057;
	--art-grid: #cfa0da;
}
.escritorio-retro.estacion-verano {
	--purple: #245771;
	--title-end: #1e6b70;
	--night: #152441;
	--hero-glow: #246873;
	--chrome: #d9edf0;
	--lime: #ffe49e;
	--desktop: #e2eff1;
	--desktop-dot: #99bdc4;
	--season-detail: #60c9c2;
	--art-sky: linear-gradient(#142b57, #217c84 73%, #ffb66e);
	--art-sun: linear-gradient(#fff1aa, #ffae57);
	--art-sun-stripe: #35858a;
	--art-land: #182d50;
	--art-ground: #173e57;
	--art-grid: #69d1c6;
}
.escritorio-retro.estacion-otono {
	--purple: #74384f;
	--title-end: #91432b;
	--night: #2b172d;
	--hero-glow: #824631;
	--chrome: #f2e1d8;
	--lime: #ffdc94;
	--desktop: #f3e6dc;
	--desktop-dot: #c8a48f;
	--season-detail: #d99866;
	--art-sky: linear-gradient(#391d3e, #ab5144 73%, #f8a25c);
	--art-sun: linear-gradient(#fff1af, #ffa459);
	--art-sun-stripe: #ad5547;
	--art-land: #47263e;
	--art-ground: #582d43;
	--art-grid: #e39771;
}
.escritorio-retro.estacion-invierno {
	--purple: #38477d;
	--title-end: #554888;
	--night: #171e3b;
	--hero-glow: #484e8a;
	--chrome: #e0e6f4;
	--lime: #d9efff;
	--desktop: #e8edf7;
	--desktop-dot: #a9b7d4;
	--season-detail: #a7bdec;
	--art-sky: linear-gradient(#1d2959, #526eba 73%, #b7d7f6);
	--art-sun: linear-gradient(#fff, #b8e3fc);
	--art-sun-stripe: #627fba;
	--art-land: #26395e;
	--art-ground: #293c65;
	--art-grid: #9dc8f0;
}

/* Base and navigation */
*, *::before, *::after { box-sizing: border-box; }
body {
	--title-background: linear-gradient(90deg, var(--purple), var(--title-end));
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: radial-gradient(var(--desktop-dot) 1px, transparent 1px) var(--desktop);
	background-size: 12px 12px;
	color: var(--ink);
	font: 1rem/1.65 Verdana, sans-serif;
	overflow-wrap: anywhere;
}
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #742470; }
:focus-visible { outline: 3px solid #9c49c1; outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.top {
	position: relative;
	z-index: 2;
	border-bottom: 2px solid var(--edge);
	background: var(--chrome);
	box-shadow: inset 0 2px #fff;
}
.top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	min-height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: .66rem;
	color: var(--ink);
	font: 700 1rem/1.3 var(--mono);
	text-decoration: none;
}
.brand .site-wordmark {
	--wordmark-size: 1.5rem;
	--wordmark-shadow: 1px 1px #5a356f;
	--wordmark-depth: 0 0 transparent;
	--wordmark-color: #6c3a16;
	--wordmark-fill: linear-gradient(180deg, #fff0bf 18%, #ffd782 47%, #d88828 75%, #ffe0a0 95%);
	-webkit-text-stroke: .6px #513017;
}
.pixel-logo { width: 23px; height: 18px; flex: none; border: 2px solid var(--edge); position: relative; background: #a793ff; box-shadow: inset 0 0 0 2px #eee5ff; }
.pixel-logo::after { content: ""; position: absolute; bottom: -5px; left: 5px; right: 5px; border-bottom: 2px solid var(--edge); }
.top-links, .top-links ul { padding: 0; margin: 0; list-style: none; }
.top-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.top-links a {
	display: block;
	padding: .35rem .55rem;
	border: 1px solid transparent;
	color: var(--ink);
	font: .875rem var(--mono);
	text-decoration: none;
}
.top-links a:hover { text-decoration: underline; }
.top-links :is(.current-menu-item, .current-menu-ancestor, .menu-item-object-category.current-menu-parent, .is-section-active) > a,
.top-links a[aria-current="page"] {
	border-color: var(--edge);
	background: var(--lime);
	box-shadow: inset 2px 2px rgb(33 26 56 / 24%), inset -1px -1px white;
}
.top-links .sub-menu { padding-inline-start: .8rem; }
.skip-link, .screen-reader-text { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; white-space: normal; z-index: 4; background: var(--lime); padding: .75rem; }

.site-wordmark {
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding-inline-end: .12em;
	color: var(--wordmark-color, #ffe5a4);
	font: italic 700 var(--wordmark-size, clamp(1.85rem, 6vw, 4.35rem))/1.12 Georgia, "Times New Roman", serif;
	letter-spacing: -.055em;
	text-shadow: var(--wordmark-shadow, 2px 2px #7750b9), var(--wordmark-depth, 4px 4px #190f30);
}
@supports (background-clip: text) {
	.site-wordmark {
		background: var(--wordmark-fill, linear-gradient(180deg, #fff7db 16%, #ffe5a4 47%, #f3b954 76%, #ffdc8c 95%));
		background-clip: text;
		color: transparent;
		text-shadow: none;
		filter: drop-shadow(var(--wordmark-shadow, 2px 2px #7750b9)) drop-shadow(var(--wordmark-depth, 2px 2px #190f30));
	}
}
@media (forced-colors: active) {
	.site-wordmark { background: none; color: CanvasText; filter: none; text-shadow: none; }
	.brand .site-wordmark { -webkit-text-stroke: 0; }
}

/* Shared controls */
.button, input[type="submit"], .comment-reply-link,
.escritorio-retro #nkp-banner button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .48rem .8rem;
	border: 1px solid var(--edge);
	box-shadow: inset 1px 1px #fff, inset -1px -1px #897aa6;
	background: #ebe5f7;
	color: var(--ink);
	font: 700 .875rem/1.3 var(--mono);
	text-decoration: none;
	cursor: pointer;
}
.button:hover, input[type="submit"]:hover, .comment-reply-link:hover,
.escritorio-retro #nkp-banner button:hover { color: var(--ink); background: #f9f2ff; }
.button.mobile-menu-toggle { display: none; }

/* Home banner and desktop illustration */
.hero {
	color: #fff;
	background: radial-gradient(ellipse at 62% 100%, var(--hero-glow), transparent 64%), var(--night);
	border-bottom: 4px solid var(--season-detail);
}
.hero-inner {
	display: grid;
	grid-template-columns: fit-content(30rem) 17rem;
	justify-content: center;
	align-items: center;
	gap: clamp(1rem, 4vw, 3rem);
	padding-block: clamp(1rem, 2.8vw, 1.8rem);
}
.hero-copy { min-width: 0; }
.hero p { color: #ece3ff; margin: .65rem 0 0; max-width: 48ch; line-height: 1.45; }
.desktop-art { width: 100%; aspect-ratio: 1.5; position: relative; }
.art-window, .art-shadow { position: absolute; width: 84%; height: 90%; border: 2px solid #181028; }
.art-shadow { top: 10%; left: 8%; background: #7b61bb; box-shadow: 7px 7px #17102b; }
.art-window { top: 2%; left: 2%; background: var(--art-frame); padding: 5px; display: flex; flex-direction: column; gap: 5px; box-shadow: inset 1px 1px #fff; }
.art-title { display: flex; justify-content: flex-end; align-items: center; gap: 4px; background: #4b3199; height: 22px; padding: 4px; }
.art-title i { display: block; width: 13px; height: 13px; background: var(--art-frame); box-shadow: inset -2px -2px #8f77c0; }
.art-screen { flex: 1; overflow: hidden; position: relative; border: 2px solid #584484; background: var(--art-sky); }
.art-sun { position: absolute; top: 14%; left: 55%; width: 26%; aspect-ratio: 1; background: repeating-linear-gradient(transparent 0 10px, var(--art-sun-stripe) 11px 13px), var(--art-sun); border-radius: 50%; }
.art-mountain { position: absolute; inset: 25% 0 20%; background: var(--art-land); clip-path: polygon(0 75%, 13% 36%, 20% 55%, 31% 17%, 51% 80%, 70% 62%, 82% 40%, 100% 72%, 100% 100%, 0 100%); }
.art-grid { position: absolute; inset: 77% -35% -75%; background: repeating-linear-gradient(90deg, var(--art-grid) 0 1px, transparent 1px 28px), repeating-linear-gradient(var(--art-grid) 0 1px, var(--art-ground) 1px 14px); transform-origin: top; transform: perspective(70px) rotateX(42deg); }
.art-status { display: flex; gap: 5px; }
.art-status i { display: block; width: 19%; height: 8px; border: 1px inset #d1bcec; }
.art-folder, .art-folder::before { position: absolute; background: var(--folder-fill); border: 2px solid #3c2658; }
.art-folder { right: 0; bottom: 8%; width: 23%; height: 24%; border-radius: 3px; box-shadow: inset 0 3px #ffe69e, 5px 5px #201339; transform: rotate(-7deg); }
.art-folder::before { content: ""; height: 10px; width: 48%; left: -2px; top: -10px; border-bottom: 0; }
.art-sparkle { position: absolute; right: 2%; top: 4%; color: #e4fa8f; font-size: 2rem; }

/* Windows and sidebar */
.layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(225px, 325px); align-items: start; gap: 1.5rem; padding-block: 2rem 3rem; }
.sidebar { display: grid; gap: 1.2rem; min-width: 0; }
.window { border: 1px solid var(--edge); background: var(--paper); box-shadow: 4px 4px var(--window-shadow); }
.window-bar, .comments .comment-reply-title, .escritorio-retro #nkp-title {
	color: white;
	background: var(--title-background);
	border-bottom: 1px solid var(--edge);
}
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 40px; margin: 0; padding: .5rem .8rem; font: 700 .875rem/1.35 var(--mono); }
.sidebar .window-bar { justify-content: flex-start; }
.sidebar-folders .window-bar { justify-content: space-between; cursor: pointer; list-style: none; }
.sidebar-folders summary::-webkit-details-marker { display: none; }
.sidebar-folders summary::after { content: ""; width: .55em; height: .55em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.sidebar-folders[open] summary::after { transform: rotate(45deg); }
.sidebar-folders:not([open]) summary { border-bottom: 0; }
.aw-social-widget .aw-social-icons { display: grid; gap: .45rem; padding: .75rem; }
.aw-social-widget .aw-social-btn {
	display: flex;
	align-items: center;
	gap: .55rem;
	min-height: 44px;
	padding: .45rem .65rem;
	border: 1px solid var(--edge);
	background: linear-gradient(var(--social-top), var(--social-bottom));
	color: white;
	box-shadow: inset 1px 1px rgb(255 255 255 / 40%), 2px 2px var(--window-shadow);
	font: 700 .875rem/1.35 var(--mono);
	text-decoration: none;
}
.aw-social-widget .aw-social-btn:hover { color: white; text-decoration: underline; }
.aw-social-widget .aw-x { --social-top: #383340; --social-bottom: #1a1720; }
.aw-social-widget .aw-yt { --social-top: #a3383f; --social-bottom: #701d2c; }
.aw-social-widget .aw-abyss { --social-top: #27549a; --social-bottom: #182d5c; }
.aw-social-widget .aw-igkc { --social-top: #b9163e; --social-bottom: #830e2b; }
.aw-social-widget .aw-izuna { --social-top: #a83e6b; --social-bottom: #762445; }
.aw-social-widget .aw-social-icon { flex: 0 0 1.5rem; text-align: center; }
.aw-social-widget .aw-shuriken::before {
	content: "";
	display: block;
	width: 1.15rem;
	aspect-ratio: 1;
	margin-inline: auto;
	background: radial-gradient(circle, var(--social-bottom) 0 12%, transparent 14%), var(--folder-fill);
	clip-path: polygon(50% 0, 62% 35%, 100% 50%, 65% 62%, 50% 100%, 38% 65%, 0 50%, 35% 38%);
	transform: rotate(20deg);
}
.aw-social-widget .aw-game-card::before {
	content: "";
	display: block;
	width: .75rem;
	height: 1rem;
	margin-inline: auto;
	border: 2px solid white;
	border-radius: 2px;
	background: linear-gradient(white 0 48%, transparent 48%);
}
.window-bar h1, .window-bar h2 { margin: 0; font: inherit; }
.window-mark { flex: 0 0 14px; height: 14px; border: 1px solid white; box-shadow: inset 0 2px white; opacity: .8; }

/* Entry lists and article pages */
.entry-reading-progress:not([hidden]) {
	position: sticky;
	inset-block-start: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 4px;
	flex: none;
	margin-bottom: -4px;
	border: 0;
	border-radius: 0;
	appearance: none;
	background: var(--night);
	accent-color: var(--season-detail);
}
.entry-reading-progress::-webkit-progress-bar { background: var(--night); }
.entry-reading-progress::-webkit-progress-value { background: var(--season-detail); }
.entry-reading-progress::-moz-progress-bar { background: var(--season-detail); }
@media (width > 600px) {
	.admin-bar .entry-reading-progress { inset-block-start: 46px; }
}
@media (width > 782px) {
	.admin-bar .entry-reading-progress { inset-block-start: 32px; }
}
.entry, .comments { padding: clamp(1rem, 3vw, 2rem); }
.entry-title { margin: .35rem 0 .6rem; font: 800 clamp(1.6rem, 3.6vw, 2.7rem)/1.15 Verdana, sans-serif; letter-spacing: -.055em; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { text-decoration: underline; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .25rem .85rem; color: #57496b; font: .8rem/1.5 var(--mono); }
.entry-image { display: block; width: 100%; height: auto; margin-bottom: 1rem; }
.entry-list { display: grid; gap: .85rem; }
.entry-list > :is(.window-bar, .entry, .panel, .pagination) {
	border: 1px solid var(--edge);
	box-shadow: 3px 3px var(--window-shadow);
}
.entry-list > :is(.entry, .panel, .pagination) { background: var(--paper); }
.entry-list .entry { padding: clamp(.75rem, 2vw, 1.1rem); }
.entry-list .entry-title {
	margin: 0;
	font-size: clamp(1.1rem, 2.4vw, 1.55rem);
	line-height: 1.35;
	letter-spacing: -.025em;
}
.entry-list .entry-title a, .single-entry .entry-title {
	display: inline-block;
	padding: .35rem .65rem;
	background: var(--purple);
	color: white;
	box-shadow: inset 0 1px #927ad0, 2px 2px var(--edge);
}
.entry-categories, .entry-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; }
.entry-categories a, .entry-tags a {
	padding: .12rem .42rem;
	border: 1px solid var(--edge);
	background: var(--lime);
	color: var(--ink);
	font: 700 .8rem/1.4 var(--mono);
}
.entry-media { position: relative; margin-top: .65rem; }
.entry-list .image-link { display: block; }
.entry-list .entry-image {
	height: clamp(6.5rem, 21vw, 9.5rem);
	margin: 0;
	object-fit: cover;
}
.entry-list .entry-meta { gap: .2rem .6rem; }
.entry-list .image-link + .entry-meta {
	position: absolute;
	inset-block-start: .45rem;
	inset-inline-end: .45rem;
	max-width: calc(100% - .9rem);
	padding: .2rem .45rem;
	background: var(--paper);
	border: 1px solid var(--edge);
}
.entry-list .entry-body { margin-block: .65rem; }
.entry-list .entry-body > :first-child { margin-top: 0; }
.entry-list .entry-body > :last-child { margin-bottom: 0; }
.single-entry { border-top: 4px solid var(--purple); }
.single-entry .entry, .single-entry .comments { padding: clamp(.85rem, 2vw, 1.25rem); }
.single-entry .entry-title { margin: 0; font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.3; letter-spacing: -.025em; }
.single-entry .entry-meta {
	width: fit-content;
	margin: .8rem 0 .8rem auto;
	padding: .25rem .45rem;
	border: 1px solid var(--edge);
	background: var(--lime);
	color: var(--ink);
}
.single-entry .entry-body { line-height: 1.75; }
.single-entry .entry-body > :first-child { margin-top: 0; }
.single-entry .entry-body :is(h2, h3, h4)[id] { scroll-margin-block-start: 3.75rem; }
.entry-toc { width: min(100%, 32rem); margin-bottom: 1rem; }
.entry-toc-list { margin: 0; padding: .5rem .85rem .6rem 2.15rem; font-size: .875rem; }
.entry-toc-list li { padding-block: .2rem; }
.entry-toc-list [data-depth="1"] { margin-inline-start: .65rem; }
.entry-toc-list [data-depth="2"] { margin-inline-start: 1.3rem; }
.entry-tags { margin-block: 1rem; }
.entry-author {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
	gap: .8rem;
	margin-top: 1.25rem;
}
.entry-author-profile { display: grid; justify-items: center; }
.entry-author-profile img { display: block; border: 1px solid var(--edge); box-shadow: 2px 2px var(--window-shadow); }
.entry-author-profile a {
	position: relative;
	margin-top: .35rem;
	padding: .25rem .55rem;
	border: 1px solid var(--edge);
	background: var(--lime);
	color: var(--ink);
	box-shadow: inset 1px 1px white, 2px 2px var(--window-shadow);
	font: 700 .875rem/1.4 var(--mono);
	text-decoration: none;
}
.entry-author-profile img + a { margin-top: -.6rem; }
.entry-author-profile a:hover { text-decoration: underline; }
.entry-author-bio {
	flex: 1 1 14rem;
	padding: .75rem 1rem;
	border: 1px solid var(--edge);
	background: #eee8f8;
	box-shadow: 2px 2px var(--window-shadow);
}
.entry-author-bio p { margin: 0; }
.entry-author-bio p + p { margin-top: .5rem; }
.entry-navigation { margin-top: clamp(2.75rem, 5vw, 3.5rem); }
.entry-navigation .nav-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.entry-navigation :is(.nav-previous, .nav-next) { flex: 1 1 13rem; min-width: 0; }
.entry-navigation a {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	border: 1px solid var(--edge);
	background: var(--paper);
	color: var(--ink);
	box-shadow: 3px 3px var(--window-shadow);
	text-decoration: none;
}
.entry-nav-label {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .4rem .65rem;
	border-bottom: 1px solid var(--edge);
	background: var(--title-background);
	color: white;
	font: 700 .8125rem/1.35 var(--mono);
}
.entry-nav-label::before {
	content: "";
	flex: 0 0 .8rem;
	height: .55rem;
	border: 1px solid var(--edge);
	background: var(--folder-fill);
	box-shadow: -2px -2px var(--season-detail);
}
.entry-nav-title {
	display: flex;
	align-items: center;
	padding: .65rem .75rem;
	font-size: .9375rem;
	font-weight: 700;
}
.entry-navigation a:hover .entry-nav-title,
.entry-navigation a:focus-visible .entry-nav-title { background: var(--lime); text-decoration: underline; }
.entry-navigation a:active { transform: translate(2px, 2px); box-shadow: 1px 1px var(--window-shadow); }
.entry-return { display: flex; justify-content: flex-end; margin-top: 1rem; }
.entry-home-key {
	min-height: 44px;
	border-width: 1px 1px 3px;
	background: var(--lime);
}
.entry-home-key:active { transform: translateY(1px); }
.entry-body :where(img, video, iframe, figure), .widget img { max-width: 100%; }
.entry-body img, .widget img { height: auto; }
.entry-body pre, .wp-block-table { overflow-x: auto; }
.entry-body blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid #a893d3; }
.panel, .widget > :not(.window-bar) { padding: 1rem; }
.panel > :first-child { margin-top: 0; }
.error-panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 1rem;
	padding: clamp(1rem, 4vw, 2rem);
}
.error-panel p { margin: 0 0 .9rem; }
.folder-list { margin: 0; padding: .45rem 1rem; list-style: none; font-size: .875rem; }
.folder-list li { padding-block: .5rem; }
.folder-list li + li { border-top: 1px solid #e7dfed; }
.folder-list a::before { content: ""; display: inline-block; width: .85rem; height: .65rem; margin-inline-end: .5rem; background: var(--folder-fill); border: 1px solid #85654b; box-shadow: -1px -2px #dcae50; }
.search-form { display: flex; gap: .35rem; flex-wrap: wrap; }
.search-form label { flex: 1 1 8rem; min-width: 0; }
.search-empty .search-form { max-width: 28rem; }
.search-shortcut { display: none; }
@media (width > 700px) and (pointer: fine) {
	.search-shortcut:not([hidden]) { display: block; margin: .55rem 0 0; text-align: end; font: .8125rem/1.5 var(--mono); }
	.search-shortcut kbd {
		display: inline-block;
		min-width: 1.5em;
		padding-inline: .2em;
		border: 1px solid var(--edge);
		border-bottom-width: 2px;
		background: var(--chrome);
		font: inherit;
		text-align: center;
	}
}
input:not([type="submit"], [type="checkbox"], [type="radio"]), textarea { max-width: 100%; padding: .5rem; color: var(--ink); background: white; border: 1px solid #615077; border-radius: 0; font: inherit; }
.search-field, textarea { width: 100%; }
.pagination, .comments-pagination { padding: 1rem; }
.page-numbers { padding: .25rem; }

/* Comments */
.comments { background: #f4eff9; border-top: 1px solid #b6a8cc; }
.comments > h2 { margin: 0 0 .85rem; font: 700 1.1rem/1.4 var(--mono); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children {
	margin-inline-start: clamp(.35rem, 1.5vw, 1rem);
	padding-inline-start: clamp(.35rem, 1.5vw, 1rem);
	border-inline-start: 2px solid #cab9df;
}
.comment-list .comment-body {
	margin-bottom: .8rem;
	padding: .85rem;
	border: 1px solid #a695bb;
	background: var(--paper);
	box-shadow: 2px 2px #d7cbe7;
}
.comment-body .avatar {
	margin-inline-end: .45rem;
	border: 1px solid #a695bb;
	vertical-align: middle;
}
.comment-body .comment-metadata { margin-top: .25rem; font-size: .8125rem; }
.comment-body .comment-content img { max-width: 100%; height: auto; }
.comment-body .comment-content p { margin-block: .55rem; }
.comment-body .comment-reply-link { margin-top: .25rem; }
.comments .comment-respond {
	margin-block: .25rem .75rem;
	border: 1px solid var(--edge);
	background: var(--paper);
	box-shadow: 3px 3px var(--window-shadow);
}
.comments .comment-reply-title {
	margin: 0;
	padding: .65rem .85rem;
	font: 700 .95rem/1.4 var(--mono);
}
.comments .comment-reply-title a { color: inherit; }
.comments .comment-reply-title small { margin-inline-start: .75em; }
.comments .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .8rem 1rem;
	padding: clamp(.85rem, 2.5vw, 1.25rem);
	font-size: .9375rem;
}
.comments .comment-form > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
.comments .comment-form > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
.comment-form :is(.comment-notes, .logged-in-as) { color: #514060; font-size: .875rem; }
.comment-form :is(.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url) label {
	display: block;
	margin-bottom: .25rem;
	font-weight: 700;
}
.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	display: block;
	width: 100%;
	border-color: #8d78a7;
	box-shadow: inset 1px 1px #e5ddee;
}
.comment-form textarea { min-height: 8rem; resize: vertical; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: baseline; gap: .5rem; }
.comment-form input[type="checkbox"] { flex: none; margin: 0; accent-color: var(--purple); }
.comment-form .submit { min-height: 44px; background: var(--lime); }
.comment-form .submit:hover { background: #efffb7; }
@media (max-width: 560px) {
	.comments .comment-form { grid-template-columns: minmax(0, 1fr); }
}

/* Footer and blog consent */
.retro-footer {
	border-top: 4px solid var(--season-detail);
	background: linear-gradient(#211731, #110c1a);
	color: #f5ecff;
	font-size: .875rem;
}
.retro-footer-inner { padding-block: 1rem; }
.retro-footer-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; }
.retro-footer-brand a { color: inherit; font-weight: 700; }
.retro-footer-version { color: var(--lime); font: .8125rem var(--mono); }
.retro-footer-copyright { margin: .75rem 0 0; color: #dfcfea; }
.retro-footer-status {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: .25rem .55rem;
	width: min(100%, 15.5rem);
	margin-top: .6rem;
	font: 700 .875rem/1.4 var(--mono);
}
.pixel-robot {
	position: relative;
	justify-self: center;
	width: 32px;
	height: 22px;
	margin: 6px 0 14px;
	border: 3px solid #bb9efb;
	background: linear-gradient(#bdf285, #bdf285) 5px 5px / 4px 6px no-repeat,
		linear-gradient(#bdf285, #bdf285) 16px 5px / 4px 6px no-repeat, #2c214a;
	box-shadow: 3px 3px #67469e, -3px 0 #67469e;
}
.pixel-robot::before { content: ""; position: absolute; inset: -9px auto auto 11px; width: 4px; height: 6px; background: var(--lime); }
.pixel-robot::after { content: ""; position: absolute; inset: auto 2px -11px; height: 8px; background: #8d68d2; box-shadow: -4px 3px #4a326e, 4px 3px #4a326e; }
.retro-footer-status .pixel-robot { grid-column: 1 / -1; }
.error-panel .pixel-robot { margin-top: .65rem; }
@media (prefers-reduced-motion: no-preference) {
	.pixel-robot { animation: pixel-robot-blink 8s step-end infinite; }
}
@keyframes pixel-robot-blink {
	0%, 96% { background-size: 4px 6px, 4px 6px, auto; }
	94% { background-size: 4px 1px, 4px 1px, auto; }
}
.footer-stat { display: contents; }
.footer-stat > span:last-child { text-align: end; }
.footer-stat meter { width: 100%; height: .75rem; background: #1b1228; border: 1px solid #9675b4; accent-color: var(--stat-color); }
.footer-hp { --stat-color: #ff927c; }
.footer-mp { --stat-color: #c6ef88; }
.footer-stat meter::-webkit-meter-bar { background: #1b1228; border: 0; border-radius: 0; }
.footer-stat meter::-webkit-meter-optimum-value { background: var(--stat-color); }
.footer-stat meter::-moz-meter-bar { background: var(--stat-color); }
.retro-footer .nkp-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .15rem .45rem;
	padding: .75rem 0 0;
	background: transparent;
	color: #e4d1ff;
	font: .8125rem/1.6 var(--mono);
}
.retro-footer .nkp-footer span[aria-hidden="true"] { display: none; }

.escritorio-retro #nkp-banner {
	padding: 0 clamp(.8rem, 3vw, 1.25rem) 1rem;
	border: 2px solid var(--edge);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 5px 5px var(--edge);
	font: .9375rem/1.5 Verdana, sans-serif;
}
.escritorio-retro #nkp-title {
	display: block;
	margin-inline: calc(-1 * clamp(.8rem, 3vw, 1.25rem));
	padding: .7rem clamp(.8rem, 3vw, 1.25rem);
	font: 700 .9375rem/1.4 var(--mono);
}
.escritorio-retro #nkp-banner p { margin-block: .85rem; }
.escritorio-retro #nkp-banner a { color: var(--link); }
.escritorio-retro #nkp-banner .nkp-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.escritorio-retro #nkp-banner .nkp-actions button { flex: 1 1 10rem; min-height: 44px; white-space: normal; }
.escritorio-retro #nkp-banner input { accent-color: var(--purple); }
.escritorio-retro #nkp-banner :focus-visible,
.retro-footer .nkp-footer :focus-visible { outline-color: #c6a0fa; }

.escritorio-retro .retro-mobile-project { display: none; }
@media (max-width: 700px) {
	.escritorio-retro .retro-mobile-project {
		display: flex; align-items: center; gap: 12px;
		margin-block: 16px; padding: 12px 14px; min-height: 76px;
		border: 1px solid var(--edge); border-inline-start: 4px solid #e60012;
		background: var(--paper); color: var(--ink);
		box-shadow: 3px 3px var(--window-shadow, #b7a8cb);
		text-decoration: none;
	}
	.retro-project-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
	.retro-project-copy strong { color: #b80010; font: 700 14px/1.35 var(--mono); }
	.retro-project-copy > span { color: var(--ink); font: 12px/1.5 Verdana, sans-serif; }
	.retro-project-icon { position: relative; flex: 0 0 22px; height: 29px; background: #e60012; border-radius: 4px; }
	.retro-project-icon::before { content: ""; position: absolute; inset: 4px 4px auto; height: 7px; background: #fff; border-radius: 1px; }
	.retro-project-arrow { margin-inline-start: auto; color: #b80010; font-size: 22px; }
	.escritorio-retro .retro-mobile-project:hover { background: #fff3f3; }
	.escritorio-retro .retro-mobile-project:focus-visible { outline: 3px solid #b80010; outline-offset: 4px; }
	.shell { width: calc(100% - 2rem); }
	.hero-inner { grid-template-columns: min(100%, 16rem); gap: 0; }
	.hero-copy, .desktop-art { grid-area: 1 / 1; }
	.hero-copy {
		align-self: start;
		z-index: 1;
		margin-block-start: 10px;
		margin-inline: calc(2% + 10px) calc(14% + 34px);
	}
	.hero-copy .site-wordmark {
		--wordmark-size: 1.2rem;
		overflow: hidden;
		line-height: 28px;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.hero-copy p { display: none; }
	.art-title { height: 28px; padding: 3px; gap: 3px; flex-shrink: 0; }
	.art-title i { width: 7px; height: 7px; }
	.art-status i { height: 4px; }
	.art-sparkle { font-size: 1rem; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.top-inner { flex-wrap: wrap; padding-block: .8rem; }
	.top-inner nav { margin-inline-start: auto; }
	.top-inner nav.menu-ready { position: relative; }
	.menu-ready .mobile-menu-toggle { display: inline-flex; }
	.menu-ready .top-links {
		position: absolute;
		inset-inline-end: 0;
		top: calc(100% + .4rem);
		display: grid;
		gap: 0;
		min-width: 10rem;
		background: var(--chrome);
		border: 1px solid var(--edge);
		box-shadow: 3px 3px var(--edge);
	}
	.menu-ready .top-links a { display: block; padding: .65rem .8rem; }
	.menu-ready .mobile-menu-toggle[aria-expanded="false"] + .top-links { display: none; }
}
