/*
Theme Name: Kokoro Win98 Pink
Theme URI: https://kokorotsuki.com/
Author: ChatGPT
Description: A pink Windows 98 inspired WordPress classic theme with strawberry desktop wallpaper, candy 3D bevel windows, rose title bars, pixel buttons, taskbar, and soft old personal homepage energy.
Version: 1.7.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kokoro-win98-pink
Tags: blog, custom-menu, featured-images, one-column, retro, windows-98, pink, classic
*/

:root {
  --kokoro-system-font: "MS Sans Serif", Tahoma, "Microsoft YaHei", "Noto Sans SC", "Noto Sans JP", sans-serif;
  --kokoro-pixel-font: "DotGothic16", "PixelMplus10", "PixelMplus12", "Jersey 10", "Pixelify Sans", "Silkscreen", "Press Start 2P", "MS Gothic", "MS PGothic", "SimSun", "Courier New", monospace;
  --desktop: #f7a8c9;
  --desktop-dark: #dc7fa8;
  --win-face: #f3c6d9;
  --win-light: #fff7fb;
  --win-mid: #ffe2ee;
  --win-shadow: #b97892;
  --win-dark: #6b4052;
  --title-a: #c01872;
  --title-b: #ff83b7;
  --title-inactive-a: #b77c94;
  --title-inactive-b: #f2cddd;
  --text: #2a111c;
  --link: #b0006b;
  --visited: #6b3da0;
  --hot: #ff2f92;
  --content: 1060px;
  --article: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: auto;
  image-rendering: pixelated;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 42px;
  color: var(--text);
  font-family: var(--kokoro-system-font);
  font-size: 13px;
  line-height: 1.55;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.18) 25%, transparent 25%) 0 0 / 4px 4px,
    linear-gradient(-45deg, rgba(144,48,91,0.08) 25%, transparent 25%) 0 0 / 4px 4px,
    radial-gradient(circle at 16% 15%, rgba(255,255,255,0.38), transparent 240px),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,0.25), transparent 220px),
    var(--desktop);
  overflow-x: hidden;
}

body.kokoro-pixel-font {
  font-family: var(--kokoro-pixel-font);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body.kokoro-pixel-font button,
body.kokoro-pixel-font input,
body.kokoro-pixel-font textarea,
body.kokoro-pixel-font select {
  font-family: inherit;
}

body.kokoro-pixel-font .site-profile-title {
  font-family: var(--kokoro-pixel-font);
  font-size: clamp(1.35rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  word-break: break-word;
}

body.kokoro-pixel-font .site-profile-title a,
body.kokoro-pixel-font .site-profile-title a:visited {
  text-shadow:
    1px 1px 0 #ffffff,
    2px 2px 0 #d993b4;
}

body.kokoro-pixel-font .win98-desktop-icons .win98-desktop-icon,
body.kokoro-pixel-font .site-profile-social-button,
body.kokoro-pixel-font .win98-explorer,
body.kokoro-pixel-font .post-title {
  letter-spacing: 0.015em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255,255,255,0.16) 63px 64px),
    repeating-linear-gradient(0deg, transparent 0 63px, rgba(255,255,255,0.16) 63px 64px);
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:visited {
  color: var(--visited);
}

a:hover {
  color: #fff7fb;
  background: var(--title-a);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

::selection {
  color: #fff7fb;
  background: var(--title-a);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.win98-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 26px), 1180px);
  margin: 18px auto 28px;
}

.win98-bevel,
.win98-topbar,
.site-header,
.content-area,
.win98-sidebar,
.post-card,
.type-page,
.single-post-card,
.not-found-card,
.comment-body,
.nav-previous,
.nav-next,
.win98-widget,


.win98-twitter-widget {
  position: relative;
  overflow: hidden;
}

.win98-twitter-widget::after {
  content: "";
  position: absolute;
  inset: 30px 8px 46px;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 4px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.win98-twitter-screen {
  position: relative;
  min-height: 150px;
  padding: 5px;
  margin: 7px 0 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,226,238,0.88)),
    var(--win-mid);
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  box-shadow: inset 1px 1px 0 rgba(0,0,0,0.12);
}

.win98-twitter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: -1px -1px 6px;
  padding: 2px 5px;
  color: #fff7fb;
  font-size: 11px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.win98-twitter-screen .twitter-timeline {
  display: block;
  min-height: 120px;
  padding: 8px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,0.42);
  border: 1px dotted var(--win-shadow);
}

.win98-twitter-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 7px;
  color: var(--text);
  text-decoration: none;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.45);
}

.win98-twitter-open-link:hover {
  color: #fff7fb;
  background: var(--title-a);
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.site-footer {
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 #000000;
}

.win98-topbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px;
  margin-bottom: 8px;
  font-size: 12px;
}

.win98-topbar > span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: var(--win-mid);
  white-space: nowrap;
}

.win98-net-meter {
  gap: 5px;
  min-width: 118px;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.win98-net-led {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  background: #81ff9c;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75), 0 0 4px rgba(129,255,156,0.9);
}

.win98-net-meter.is-idle .win98-net-led {
  background: #ffd7e9;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75);
}

.win98-net-meter.is-offline .win98-net-led {
  background: #7a5264;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.5);
}

.win98-net-meter.is-pulse .win98-net-led {
  background: #c4ff44;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.75), 0 0 6px rgba(196,255,68,0.95);
}

.win98-net-label {
  font-weight: 700;
  color: var(--title-a);
}

.win98-net-speed {
  min-width: 58px;
  text-align: right;
  color: #351725;
}



.win98-mobile-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 1px 7px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  background: var(--win-mid);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  white-space: nowrap;
}

.win98-mobile-mode-toggle:hover,
.win98-mobile-mode-toggle:focus {
  color: #fff7fb;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  outline: 1px dotted #000000;
  outline-offset: -3px;
}

.win98-mobile-mode-toggle.is-active {
  color: #fff7fb;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.win98-mobile-mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 14px;
  font-size: 13px;
  line-height: 1;
}

.win98-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 1px 3px;
  min-height: 20px;
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: var(--win-mid);
  white-space: nowrap;
}

.win98-language-title {
  margin-right: 2px;
  color: var(--win-dark);
  font-size: 11px;
}

.win98-language-switcher a {
  display: inline-grid;
  place-items: center;
  min-height: 16px;
  padding: 0 6px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  background: var(--win-face);
  line-height: 1.2;
}

.win98-language-switcher a:hover,
.win98-language-switcher a.is-active {
  color: #ffffff;
  background: var(--title-a);
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.win98-font-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  margin-left: 2px;
  padding: 1px 6px 1px 3px;
  color: #000000;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, #fffafd 0%, var(--win-face) 56%, #ffc6dd 100%);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.22);
}

.win98-font-switcher-icon {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 15px;
  padding: 0 3px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.32);
}

.win98-font-switcher:hover,
.win98-font-switcher:focus {
  color: #ffffff;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  outline: 1px dotted #000000;
  outline-offset: -4px;
}

.win98-font-switcher:hover .win98-font-switcher-icon,
.win98-font-switcher:focus .win98-font-switcher-icon,
.win98-font-switcher.is-active .win98-font-switcher-icon {
  color: var(--title-a);
  background: #fffafd;
}

.win98-font-switcher:active,
.win98-font-switcher.is-active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  transform: translate(1px, 1px);
}

body.kokoro-pixel-font .win98-font-switcher-icon {
  font-family: var(--kokoro-system-font);
}

.win98-desktop-icons {
  position: fixed;
  top: 16px;
  left: 12px;
  z-index: 0;
  display: grid;
  gap: 14px;
  width: 82px;
}

.win98-desktop-icons .win98-desktop-icon {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 #000000;
}

.win98-desktop-icons a.win98-desktop-icon:hover {
  outline: 1px dotted #ffffff;
  outline-offset: 2px;
}

.win98-desktop-icons b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 10px;
  font-weight: 700;
  color: #000000;
  text-shadow: none;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 0;
  margin-bottom: 8px;
}

.site-header::before,
.content-area::before,
.win98-sidebar::before,
.site-footer::before {
  display: flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 6px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
}

.site-header::before {
  content: var(--kokoro-header-window-title);
}

.site-header::after,
.content-area::after,
.win98-sidebar::after,
.site-footer::after,
.post-card::after,
.single-post-card::after,
.type-page::after,
.not-found-card::after {
  content: "_ □ ×";
  position: absolute;
  top: 4px;
  right: 5px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.content-area,
.win98-sidebar,
.site-footer,
.post-card,
.single-post-card,
.type-page,
.not-found-card {
  position: relative;
}

.site-branding,
.site-profile {
  padding: 12px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18)),
    var(--win-face);
}

.site-profile-window {
  display: grid;
  grid-template-columns: minmax(118px, 172px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,226,238,0.78)),
    #fff7fb;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.site-profile-media {
  min-width: 0;
}

.site-profile-picture {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 118px;
  padding: 6px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,190,218,0.28)),
    repeating-linear-gradient(45deg, rgba(192,24,114,0.08) 0 6px, transparent 6px 12px),
    #fffafd;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  box-shadow: inset 1px 1px 0 rgba(0,0,0,0.08);
}

.site-profile-picture::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px dotted rgba(192,24,114,0.35);
}

.site-profile-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  image-rendering: auto;
}

.site-profile-placeholder {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff7fb;
  font: 700 34px/1 "MS Sans Serif", Tahoma, sans-serif;
  text-shadow: 1px 1px 0 var(--win-dark);
  background: linear-gradient(135deg, var(--title-a), var(--title-b));
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 2px 2px 0 rgba(107,64,82,0.25);
}

.site-profile-caption {
  display: block;
  margin-top: 6px;
  padding: 2px 5px;
  overflow: hidden;
  color: #000000;
  white-space: nowrap;
  text-align: center;
  text-overflow: ellipsis;
  background: var(--win-mid);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.site-profile-content {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.site-profile-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  overflow: hidden;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  border: 1px solid #fffafd;
}

.site-profile-title {
  margin: 0;
  font-family: "Arial Black", Impact, "MS Gothic", sans-serif;
  font-size: clamp(1.9rem, 5.2vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.site-profile-title a,
.site-profile-title a:visited {
  color: #000000;
  text-decoration: none;
  text-shadow:
    2px 2px 0 #ffffff,
    4px 4px 0 #d993b4;
  background: transparent;
}

.site-profile-title a:hover {
  color: var(--title-a);
  background: transparent;
}

.site-profile-intro {
  max-width: 56em;
  padding: 8px 9px;
  color: #2a111c;
  background: rgba(255,250,253,0.88);
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.site-profile-intro p {
  margin: 0 0 0.6em;
}

.site-profile-intro p:last-child {
  margin-bottom: 0;
}

.site-profile-intro img {
  display: block;
  max-width: min(100%, 280px);
  margin: 7px 0;
  image-rendering: auto;
}

.site-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.site-profile-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 8px;
  color: #000000;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.22);
}

.site-profile-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,215,233,0.6)),
    var(--win-mid);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.site-profile-social-button,
.site-profile-social-button:visited {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 3px 8px 3px 4px;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  background:
    linear-gradient(180deg, #fffafd 0%, var(--win-face) 54%, #ffc6dd 100%);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.22);
}

.site-profile-social-button:hover,
.site-profile-social-button:focus {
  color: #ffffff;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  outline: 1px dotted #000000;
  outline-offset: -4px;
}

.site-profile-social-button:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  transform: translate(1px, 1px);
}

.site-profile-social-icon,
.win98-social-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 20px;
  flex: 0 0 22px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 42%),
    linear-gradient(135deg, var(--title-a), var(--title-b));
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.35), 1px 1px 0 rgba(0,0,0,0.18);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.32);
}

.site-profile-social-icon svg,
.win98-social-mini-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.site-profile-social-button-twitter .site-profile-social-icon,
.win98-social-link-twitter .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #78d9ff 0%, #32a8ee 58%, #147ac0 100%);
}

.site-profile-social-button-telegram .site-profile-social-icon,
.win98-social-link-telegram .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #85e3ff 0%, #2aa4df 60%, #1579b7 100%);
}

.site-profile-social-button-steam .site-profile-social-icon,
.win98-social-link-steam .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #526477 0%, #202c3b 64%, #0b111a 100%);
}

.site-profile-social-button-instagram .site-profile-social-icon,
.win98-social-link-instagram .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #ffd45c 0%, #ff5caf 40%, #8b5cff 100%);
}

.site-profile-social-button-email .site-profile-social-icon,
.win98-social-link-email .win98-social-mini-icon {
  color: #7e3158;
  background: linear-gradient(135deg, #fffdf7 0%, #ffd6e7 58%, #ffa6cc 100%);
}

.site-profile-social-button-facebook .site-profile-social-icon,
.win98-social-link-facebook .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #87a9ff 0%, #4267b2 60%, #244483 100%);
}

.site-profile-social-button-psn .site-profile-social-icon,
.win98-social-link-psn .win98-social-mini-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #6aa9ff 0%, #1456c8 58%, #07318b 100%);
}

.site-profile-status {
  min-height: 20px;
  padding: 2px 6px;
  color: #000000;
  background: var(--win-mid);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.site-title {
  margin: 0;
}

.site-description {
  display: inline-block;
  margin: 10px 0 0;
  padding: 3px 8px;
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
  background: #fff7fb;
}



body.kokoro-mobile-mode {
  font-size: 12px;
  overflow-x: hidden;
}

body.kokoro-mobile-mode .win98-shell {
  width: min(calc(100% - 12px), 430px);
  margin: 6px auto 54px;
}

body.kokoro-mobile-mode .win98-topbar {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  padding: 4px;
  font-size: 11px;
}

body.kokoro-mobile-mode .win98-topbar > span,
body.kokoro-mobile-mode .win98-language-switcher,
body.kokoro-mobile-mode .win98-font-switcher,
body.kokoro-mobile-mode .win98-mobile-mode-toggle {
  min-height: 19px;
  padding: 1px 5px;
}

body.kokoro-mobile-mode .win98-net-meter {
  min-width: auto;
}

body.kokoro-mobile-mode .win98-net-speed {
  min-width: 44px;
}

body.kokoro-mobile-mode .win98-language-switcher {
  margin-left: 0;
}

body.kokoro-mobile-mode .site-profile-window {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.kokoro-mobile-mode .site-profile-picture {
  max-width: 176px;
}

body.kokoro-mobile-mode .site-profile-title {
  font-size: clamp(1.45rem, 10vw, 2.35rem);
}

body.kokoro-mobile-mode .site-main,
body.kokoro-mobile-mode .site-content,
body.kokoro-mobile-mode .win98-layout,
body.kokoro-mobile-mode main {
  display: block;
}

body.kokoro-mobile-mode .content-area,
body.kokoro-mobile-mode .win98-sidebar {
  width: 100%;
  max-width: 100%;
}

body.kokoro-mobile-mode .win98-sidebar {
  margin-top: 8px;
}

body.kokoro-mobile-mode .win98-desktop-icons {
  position: static;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(52px, 1fr));
  gap: 4px;
  width: min(calc(100% - 12px), 430px);
  margin: 6px auto 0;
  padding: 4px;
}

body.kokoro-mobile-mode .win98-desktop-icon {
  min-width: 0;
  max-width: 100%;
  font-size: 10px;
}

body.kokoro-mobile-mode .win98-explorer-toolbar {
  align-items: flex-start;
  flex-wrap: wrap;
}

body.kokoro-mobile-mode .win98-explorer-toolbar-text {
  width: 100%;
  white-space: normal;
}

body.kokoro-mobile-mode .win98-explorer-folder-actions {
  width: 100%;
  margin-left: 0;
}

body.kokoro-mobile-mode .kokoro-music-player {
  right: 4px;
  bottom: 46px;
  max-width: min(310px, calc(100vw - 10px));
}

body.kokoro-mobile-mode .kokoro-music-panel {
  width: min(268px, calc(100vw - 48px));
}

body.kokoro-mobile-mode .win98-taskbar {
  min-height: 34px;
}

body.kokoro-mobile-mode .win98-task {
  display: none;
}

body.kokoro-mobile-mode .win98-tray {
  margin-left: auto;
}


@media (max-width: 700px) {
  .site-profile-window {
    grid-template-columns: 1fr;
  }

  .site-profile-picture {
    max-width: 210px;
  }
}

.main-navigation {
  position: relative;
  padding: 0;
  border-top: 1px solid var(--win-shadow);
  background: var(--win-face);
}

.win98-explorer-titlebar {
  display: flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
}

.win98-explorer-menubar {
  padding: 3px 6px;
  color: #000000;
  border-bottom: 1px solid var(--win-shadow);
  background: var(--win-face);
  word-spacing: 8px;
}

.win98-explorer-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 4px 6px;
  color: #000000;
  border-top: 1px solid var(--win-light);
  border-bottom: 1px solid var(--win-shadow);
  background: var(--win-mid);
  box-shadow: inset 0 1px 0 var(--win-light);
}

.win98-explorer-toolbar-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-spacing: 10px;
}

.win98-explorer-toolbar-separator {
  align-self: stretch;
  width: 2px;
  margin: 0 1px;
  border-left: 1px solid var(--win-shadow);
  border-right: 1px solid var(--win-light);
}

.win98-explorer-folder-actions {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}

.win98-explorer-home,
.win98-explorer-folder-close {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 8px;
  color: #000000;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.18);
}

.win98-explorer-home:visited {
  color: #000000;
}

.win98-explorer-home:hover,
.win98-explorer-folder-close:hover,
.win98-explorer-home:focus-visible,
.win98-explorer-folder-close:focus-visible {
  color: #ffffff;
  background: var(--title-a);
  outline: 1px dotted #ffffff;
  outline-offset: -4px;
}

.win98-explorer-home:active,
.win98-explorer-folder-close:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  transform: translate(1px, 1px);
  box-shadow: none;
}

.win98-explorer-address {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: center;
  padding: 5px 6px;
  border-bottom: 1px solid var(--win-shadow);
  background: var(--win-face);
}

.win98-explorer-address span {
  color: #000000;
}

.win98-explorer-address strong {
  display: block;
  min-height: 22px;
  padding: 2px 6px;
  overflow: hidden;
  color: #000000;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #fffafd;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.win98-explorer-pane {
  min-height: 168px;
  margin: 6px;
  padding: 6px;
  overflow-x: auto;
  background: #fffafd;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.win98-explorer-status {
  min-height: 22px;
  margin: 0 6px 6px;
  padding: 2px 6px;
  color: #000000;
  background: var(--win-face);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.main-navigation ul {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.main-navigation li {
  position: relative;
  margin: 1px 0;
  list-style: none;
}

.main-navigation li::marker {
  content: "";
}

.win98-tree-folder > .win98-tree-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  padding: 0;
  margin: 0 3px 0 0;
  color: #000000;
  font: 700 11px/1 "MS Sans Serif", "Pixelated MS Sans Serif", Arial, sans-serif;
  vertical-align: middle;
  cursor: pointer;
  background: var(--win-face);
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: inset -1px -1px 0 var(--win-shadow), inset 1px 1px 0 #ffffff;
}

.win98-tree-folder > .win98-tree-toggle:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  box-shadow: inset 1px 1px 0 var(--win-shadow);
  transform: translate(1px, 1px);
}

.win98-tree-folder > .win98-tree-toggle:focus-visible {
  outline: 1px dotted #000000;
  outline-offset: 1px;
}

.win98-tree-folder.is-collapsed > .sub-menu,
.win98-tree-folder.is-collapsed > .children {
  display: none;
}

.win98-tree-folder.is-collapsed > a::before {
  filter: saturate(0.95) brightness(0.98);
}

.main-navigation .sub-menu,
.main-navigation .children {
  position: relative;
  margin: 1px 0 2px 18px;
  padding-left: 13px;
  border-left: 1px dotted #b97892;
}

.main-navigation .sub-menu > li::before,
.main-navigation .children > li::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 12px;
  width: 11px;
  border-top: 1px dotted #b97892;
}

.main-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 6px 1px 4px;
  color: #000000;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
}

.main-navigation a::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 15px;
  margin-right: 6px;
  background:
    linear-gradient(135deg, transparent 0 7px, #f6d7e4 7px 9px, #ffffff 9px) top right / 8px 8px no-repeat,
    #ffffff;
  border: 1px solid #6b4052;
  box-shadow: inset 1px 1px 0 #ffffff;
}

.main-navigation .menu-item-has-children > a::before,
.main-navigation .page_item_has_children > a::before,
.main-navigation .win98-default-tree > li > a::before {
  height: 10px;
  background:
    linear-gradient(#fce58b 0 0) 2px -4px / 8px 6px no-repeat,
    linear-gradient(#ffd75e, #e6aa28);
  border-color: #8a6c22;
  box-shadow:
    inset 1px 1px 0 #fff6ad,
    1px 1px 0 rgba(107,64,82,0.25);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_ancestor > a {
  color: #ffffff;
  background: var(--title-a);
  border-color: #fffafd;
  outline: 1px dotted #000000;
  outline-offset: -3px;
}

.main-navigation a:hover::before,
.main-navigation .current-menu-item > a::before,
.main-navigation .current_page_item > a::before,
.main-navigation .current-menu-ancestor > a::before,
.main-navigation .current_page_ancestor > a::before {
  filter: saturate(1.15) brightness(1.05);
}

.win98-marquee {
  margin: 8px 0;
  padding: 3px 0;
  overflow: hidden;
  color: #000000;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.win98-marquee span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  white-space: nowrap;
  animation: win98-marquee 24s linear infinite;
}

@keyframes win98-marquee {
  to { transform: translateX(-100%); }
}

.site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 8px;
  align-items: start;
}

.content-area {
  min-width: 0;
  padding: 30px 8px 8px;
}

.content-area::before {
  content: var(--kokoro-content-window-title);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.win98-sidebar {
  position: sticky;
  top: 10px;
  padding: 30px 8px 8px;
}

.win98-sidebar::before {
  content: var(--kokoro-sidebar-window-title);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.win98-widget {
  padding: 8px;
  margin-bottom: 8px;
}

.win98-widget:last-child {
  margin-bottom: 0;
}

.win98-widget-title {
  margin: -4px -4px 8px;
  padding: 3px 5px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--title-inactive-a), var(--title-inactive-b));
}

.win98-status {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.win98-status li {
  padding: 3px 4px;
  background: #fff7fb;
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.post-card,
.type-page,
.single-post-card,
.not-found-card {
  padding: 32px 10px 10px;
  margin-bottom: 8px;
  background: #fffafd;
}

.post-card::before,
.single-post-card::before,
.type-page::before,
.not-found-card::before {
  content: var(--kokoro-document-window-title);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 6px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
}

.entry-header {
  margin-bottom: 8px;
}

.entry-title {
  margin: 0 0 8px;
  color: #000000;
  font-family: "Arial Black", Impact, "MS Gothic", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.entry-title a,
.entry-title a:visited {
  color: #000000;
  text-decoration: none;
  background: transparent;
}

.entry-title a:hover {
  color: #fff7fb;
  background: var(--title-a);
}

.entry-meta,
.entry-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin: 6px 0;
  font-size: 12px;
}

.entry-meta span,
.entry-footer span,
.cat-links a,
.tags-links a {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  color: #000000;
  text-decoration: none;
  background: var(--win-face);
  border: 1px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.post-thumbnail {
  display: block;
  margin: 10px 0;
}

.post-thumbnail img {
  width: 100%;
}

.entry-content {
  max-width: var(--article);
}

.single-post-card .entry-content,
.type-page .entry-content {
  margin-inline: auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.8em;
  line-height: 1.15;
  font-family: "Arial Black", Impact, "MS Gothic", sans-serif;
}

.entry-content h2 {
  padding: 3px 6px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
}

.entry-content p {
  margin: 1em 0;
}

.entry-content blockquote {
  margin: 1.2em 0;
  padding: 8px 10px;
  background: #fff1f7;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.entry-content code,
.entry-content pre {
  font-family: "Courier New", ui-monospace, monospace;
}

.entry-content code {
  padding: 1px 4px;
  color: #000000;
  background: #fff0f8;
  border: 1px solid var(--win-shadow);
}

.entry-content pre {
  overflow: auto;
  padding: 9px;
  color: #ffb9d6;
  background: #2a111c;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.entry-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.more-link,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 2px 12px;
  color: #000000;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  border-radius: 0;
  box-shadow: 1px 1px 0 #000000;
  cursor: pointer;
}

.more-link:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.more-link:focus,
.wp-block-button__link:focus,
button:focus,
input[type="submit"]:focus {
  color: #000000;
  background: #ffd7e8;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  outline: 1px dotted #000000;
  outline-offset: -5px;
}

.post-navigation,
.posts-navigation,
.pagination {
  margin: 8px 0 0;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.nav-previous,
.nav-next {
  flex: 1;
  padding: 8px;
  background: var(--win-face);
}

.nav-next {
  text-align: right;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  min-height: 24px;
  padding: 3px 5px;
  color: #000000;
  font-family: inherit;
  font-size: 13px;
  background: #fff7fb;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  border-radius: 0;
}

textarea {
  min-height: 110px;
}

.search-form {
  display: grid;
  gap: 5px;
}

.comment-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-body {
  padding: 8px;
  margin: 8px 0;
  background: #fff7fb;
}

.site-footer {
  position: relative;
  margin-top: 8px;
  padding: 30px 8px 8px;
  text-align: center;
}

.site-footer::before {
  content: var(--kokoro-footer-window-title);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}



.kokoro-footer-credit-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 42px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,226,238,0.78)),
    var(--win-mid);
  border: 1px solid;
  border-color: var(--win-shadow) var(--win-light) var(--win-light) var(--win-shadow);
}

.kokoro-footer-crafted,
.kokoro-footer-theme-credit {
  display: block;
  width: 100%;
  min-height: 18px;
  text-align: center;
  white-space: normal;
}

.kokoro-footer-theme-credit {
  font-weight: 700;
}

.win98-footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  margin: 0 0 6px;
  font-weight: 700;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.win98-social-links {
  display: grid;
  gap: 6px;
}

.win98-social-links a,
.win98-social-links a:visited {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 8px 3px 4px;
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.win98-social-links a:hover,
.win98-social-links a:focus {
  color: #ffffff;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  outline: 1px dotted #000000;
  outline-offset: -4px;
}



.kokoro-music-player {
  position: fixed;
  right: 8px;
  bottom: 52px;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  gap: 0;
  max-width: min(330px, calc(100vw - 18px));
  transition: transform 180ms steps(4, end);
}

.kokoro-music-player.is-collapsed {
  transform: translateX(calc(100% - 34px));
}

.kokoro-music-tab {
  writing-mode: horizontal-tb;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  min-height: 92px;
  padding: 8px 5px;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.15;
  text-orientation: mixed;
  cursor: pointer;
  background: linear-gradient(180deg, #fff7fb, var(--win-face));
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 #000000;
}

.kokoro-music-tab span {
  display: block;
  writing-mode: horizontal-tb;
  transform: none;
  white-space: nowrap;
}

.kokoro-music-tab span + span {
  max-width: 1.1em;
  white-space: normal;
  text-align: center;
  word-break: keep-all;
}


.kokoro-music-tab:hover {
  color: #fff7fb;
  background: linear-gradient(180deg, var(--title-b), var(--title-a));
}

.kokoro-music-panel {
  width: min(296px, calc(100vw - 50px));
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
  box-shadow: 1px 1px 0 #000000, 0 0 18px rgba(255,79,161,0.25);
}

.kokoro-music-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 23px;
  padding: 2px 3px 2px 7px;
  color: #fff7fb;
  font-weight: 700;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
}

.kokoro-music-hide {
  min-width: 46px;
  padding: 1px 6px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  line-height: 1.25;
  cursor: pointer;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.kokoro-music-hide:active {
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
}

.kokoro-music-body {
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,226,238,0.78)),
    var(--win-mid);
}

.kokoro-music-display {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "eq now"
    "eq track";
  gap: 2px 8px;
  min-height: 54px;
  padding: 6px;
  margin-bottom: 7px;
  background:
    linear-gradient(180deg, #2b1622, #6d254a);
  color: #ffe8f1;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  text-shadow: 1px 1px 0 #000;
}

.kokoro-music-eq {
  grid-area: eq;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 6px 5px;
  background: rgba(255,255,255,0.08);
  border: 1px dotted rgba(255,255,255,0.36);
}

.kokoro-music-eq i {
  display: block;
  width: 5px;
  height: 13px;
  background: linear-gradient(180deg, #fff7fb, #ff77b7);
}

.kokoro-music-eq i:nth-child(2) { height: 24px; }
.kokoro-music-eq i:nth-child(3) { height: 18px; }
.kokoro-music-eq i:nth-child(4) { height: 30px; }

.kokoro-music-player.is-playing .kokoro-music-eq i {
  animation: kokoro-music-bars 620ms steps(4, end) infinite alternate;
}

.kokoro-music-player.is-playing .kokoro-music-eq i:nth-child(2) { animation-delay: 120ms; }
.kokoro-music-player.is-playing .kokoro-music-eq i:nth-child(3) { animation-delay: 240ms; }
.kokoro-music-player.is-playing .kokoro-music-eq i:nth-child(4) { animation-delay: 360ms; }

@keyframes kokoro-music-bars {
  from { transform: scaleY(0.48); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.kokoro-music-now {
  grid-area: now;
  align-self: end;
  font-size: 11px;
  color: #ffd1e3;
}

.kokoro-music-track {
  grid-area: track;
  align-self: start;
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kokoro-music-audio {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 7px;
  filter: sepia(0.12) saturate(1.35) hue-rotate(292deg);
}

.kokoro-music-actions {
  display: flex;
  justify-content: flex-end;
}

.kokoro-music-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  color: var(--text);
  text-decoration: none;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.kokoro-music-actions a:hover {
  color: #fff7fb;
  background: var(--title-a);
}

@media (max-width: 700px) {
  .kokoro-music-player {
    right: 6px;
    bottom: 48px;
  }

  .kokoro-music-panel {
    width: min(286px, calc(100vw - 48px));
  }
}

.win98-taskbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 3px 4px;
  background: var(--win-face);
  border-top: 2px solid var(--win-light);
  box-shadow: 0 -1px 0 var(--win-shadow);
}

.win98-start {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 2px 8px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  background: var(--win-face);
  border: 2px solid;
  border-color: var(--win-light) var(--win-dark) var(--win-dark) var(--win-light);
}

.win98-start:hover {
  color: #000000;
  background: #ffd7e8;
}

.win98-task {
  flex: 1 1 auto;
  max-width: 300px;
  min-height: 24px;
  padding: 3px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  background: var(--win-mid);
}

.win98-tray {
  min-height: 24px;
  padding: 3px 8px;
  border: 2px solid;
  border-color: var(--win-dark) var(--win-light) var(--win-light) var(--win-dark);
  background: var(--win-mid);
  white-space: nowrap;
}

.win98-cursor-dot {
  position: fixed;
  z-index: 9999;
  width: 6px;
  height: 6px;
  pointer-events: none;
  background: #fff7fb;
  border: 1px solid #000000;
  box-shadow: 1px 1px 0 #000000;
  transform: translate(-50%, -50%);
}

.wp-caption,
.gallery-caption {
  color: #6b4052;
  font-size: 12px;
}

.bypostauthor .comment-body {
  background: #fff1f7;
}

.alignwide {
  max-width: min(100%, 980px);
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* tiny pink desktop sparkle pattern */
.win98-shell::before {
  content: var(--kokoro-sparkle-text);
  position: fixed;
  right: 18px;
  top: 16px;
  z-index: -1;
  color: rgba(255,255,255,0.55);
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 22px;
  letter-spacing: 8px;
  text-shadow: 1px 1px 0 rgba(139,49,91,0.35);
  pointer-events: none;
}

@media (max-width: 980px) {
  .win98-desktop-icons {
    display: none;
  }
}

@media (max-width: 880px) {
  .site-main {
    grid-template-columns: 1fr;
  }

  .win98-sidebar {
    position: static;
  }

  .win98-topbar {
    flex-direction: column;
  }

  .win98-language-switcher {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .win98-explorer-address {
    grid-template-columns: 1fr;
  }

  .main-navigation a {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 14px;
  }

  .win98-shell {
    width: min(calc(100% - 12px), 1180px);
    margin-top: 6px;
  }

  .site-title {
    font-size: clamp(2.2rem, 15vw, 3.5rem);
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-next {
    text-align: left;
  }

  .win98-task {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .win98-explorer-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .win98-explorer-toolbar-text {
    flex: 1 1 100%;
  }

  .win98-explorer-toolbar-separator {
    display: none;
  }

  .win98-explorer-folder-actions {
    width: 100%;
    margin-left: 0;
  }

  .win98-explorer-home,
  .win98-explorer-folder-close {
    justify-content: center;
  }
}
