@font-face {
  font-family: "rainy hearts";
  src: url("rainyhearts.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "kuchibue";
  src: url("Kuchibue.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "pixelated elegance";
  src: url("PixelatedElegance.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "remixicon";
  src: url("remixicon.woff2") format("woff2");
  font-display: block;
}

[class^="ri-"],
[class*=" ri-"] {
  display: inline-block;
  flex: 0 0 auto;
  font-family: "remixicon" !important;
  font-size: 0.92em;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  vertical-align: -0.08em;
  -webkit-font-smoothing: antialiased;
}

.ri-moon-line::before { content: "\ef75"; }
.ri-home-4-line::before { content: "\ee1d"; }
.ri-user-heart-line::before { content: "\f263"; }
.ri-heart-3-line::before { content: "\ee0b"; }
.ri-edit-line::before { content: "\ec86"; }
.ri-folder-line::before { content: "\ed6a"; }
.ri-music-2-line::before { content: "\ef83"; }
.ri-book-open-line::before { content: "\eadb"; }
.ri-star-line::before { content: "\f18b"; }
.ri-window-line::before { content: "\f2c6"; }
.ri-chat-1-line::before { content: "\eb4d"; }
.ri-links-line::before { content: "\eeb8"; }
.ri-copyright-line::before { content: "\ebe2"; }
.ri-calendar-line::before { content: "\eb27"; }
.ri-cloud-line::before { content: "\eb9d"; }
.ri-disc-line::before { content: "\ec36"; }
.ri-book-3-line::before { content: "\ead5"; }
.ri-booklet-line::before { content: "\eadf"; }
.ri-bookmark-3-line::before { content: "\eae3"; }
.ri-information-line::before { content: "\ee59"; }
.ri-sparkling-2-line::before { content: "\f36b"; }
.ri-emotion-sad-line::before { content: "\ec94"; }
.ri-shield-keyhole-line::before { content: "\f107"; }
.ri-headphone-line::before { content: "\ee05"; }
.ri-brain-line::before { content: "\f2f7"; }

:root {
  --sky: #b8b1d2;
  --grid: rgba(244, 240, 255, 0.25);
  --panel: #f3ecf8;
  --panel-blue: #d4e8f3;
  --header-lilac: #d1cee4;
  --header-blue: #bbd0e4;
  --ink: #1d306d;
  --purple: #5d61a2;
  --blue: #6d9ec9;
  --muted: #847ca9;
  --soft-line: #c3bbd9;
  --shadow: rgba(29, 48, 109, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--sky);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--sky);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 1.2px, transparent 1.3px),
    radial-gradient(circle, rgba(93, 97, 162, 0.52) 0 1.1px, transparent 1.2px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-position: 31px 40px, 76px 77px, 0 0, 0 0;
  background-size: 75px 75px, 150px 150px, 16px 16px, 16px 16px;
  font-family: "rainy hearts", "courier new", monospace;
  font-size: 20px;
  line-height: 1.35;
}

a {
  color: #4d4f9d;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px double var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 7px 11px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-wrap {
  width: min(1040px, calc(100% - 28px));
  margin: 24px auto 18px;
}

.panel {
  border: 2px solid var(--purple);
  background: var(--panel);
  box-shadow: 5px 5px 0 var(--shadow);
}

.site-header {
  position: relative;
  min-height: 220px;
  margin-bottom: 20px;
  padding: 27px 32px 38px;
  overflow: hidden;
  background: linear-gradient(100deg, var(--header-lilac), var(--header-blue));
}

.site-header::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(29, 48, 109, 0.55);
  content: "";
  pointer-events: none;
}

.site-header .tiny {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #5654a4;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.site-header h1 {
  position: relative;
  z-index: 1;
  max-width: 75%;
  margin: 0;
  color: #30306f;
  font-family: "kuchibue", "rainy hearts", monospace;
  font-size: clamp(58px, 8vw, 82px);
  font-weight: normal;
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-shadow: 4px 4px 0 #79bfe1;
}

.tagline {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: #4e467f;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.header-sparkles {
  position: absolute;
  z-index: 1;
  top: 17px;
  right: 22px;
  color: #8b84c7;
  font-size: 13px;
}

.moon {
  position: absolute;
  z-index: 1;
  top: 62px;
  right: 35px;
  color: white;
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 1;
  text-shadow: -4px 2px 0 #6c63b8, 4px 2px 0 #71c1df;
  transform: rotate(-9deg);
}

.pixel-ribbon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 13px;
  border-top: 2px solid #2f4a87;
  background: repeating-linear-gradient(
    90deg,
    #2f4a87 0 12px,
    #5d61a2 12px 24px,
    #6d9ec9 24px 36px,
    #d4e8f3 36px 48px
  );
}

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

.sidebar,
.main-content {
  display: grid;
  gap: 18px;
}

.navigation-panel,
.status-panel,
.card,
.mini-card {
  padding: 17px;
}

.navigation-panel > h2,
.status-panel > h2,
.card > h2 {
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 2px dotted #b8add7;
  color: #514a9c;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.navigation-panel > h2 i,
.status-panel > h2 i,
.card > h2 i {
  color: var(--blue);
  font-size: 14px;
}

.menu-group {
  border-bottom: 1px dashed #b8add7;
}

.menu-group:last-child {
  border-bottom: 0;
}

.menu-group summary {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 34px;
  padding: 5px 3px;
  color: #514a86;
  cursor: pointer;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 14px;
  list-style: none;
}

.menu-group summary::-webkit-details-marker {
  display: none;
}

.menu-group summary::before {
  color: #70b7d4;
  content: "\25B6";
  font-family: monospace;
  font-size: 9px;
}

.menu-group[open] summary::before {
  content: "\25BC";
}

.menu-group summary:hover {
  color: var(--ink);
  background: rgba(212, 232, 243, 0.55);
}

.menu-group summary i {
  color: #7872b7;
  font-size: 13px;
}

.submenu {
  display: grid;
  gap: 3px;
  padding: 0 0 8px 19px;
}

.submenu a {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid transparent;
  text-decoration: none;
}

.submenu a:hover {
  border-color: #9fb9d5;
  background: #e6edf8;
}

.submenu a.active {
  border: 2px solid var(--blue);
  background: var(--panel-blue);
  box-shadow: 2px 2px 0 #a69bc9;
}

.submenu a i {
  width: 14px;
  color: #6865ad;
  text-align: center;
}

.status-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-panel li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 6px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px dotted #cdc4e1;
  font-size: 17px;
}

.status-panel li:last-child {
  border-bottom: 0;
}

.status-panel li i {
  margin-top: 4px;
  color: #6d9ec9;
  font-size: 12px;
}

.status-panel b {
  color: #6259a5;
  font-weight: normal;
}

.window {
  padding: 0;
  overflow: hidden;
}

.titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  color: white;
  background: linear-gradient(90deg, #3f347b, #5c55ae 55%, #6bb9dc);
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.titlebar i {
  margin-right: 3px;
}

.window-controls {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 3px;
}

.window-body {
  min-height: 245px;
  padding: 26px 28px;
  background:
    radial-gradient(circle at 18% 24%, rgba(109, 158, 201, 0.09) 0 1px, transparent 1.5px),
    var(--panel);
  background-size: 45px 45px;
}

.window-body h2 {
  margin: 8px 0 17px;
  color: #30306f;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: clamp(25px, 3.4vw, 34px);
  font-weight: normal;
  letter-spacing: 0.04em;
}

.window-body h3 {
  color: #514a9c;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 18px;
  font-weight: normal;
}

.window-body p {
  max-width: 66ch;
  margin: 0 0 15px;
}

.decoration {
  margin: 0 0 13px !important;
  color: #6865b0;
  text-align: center;
  letter-spacing: 0.18em;
}

.home-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  min-height: 230px;
}

.card time,
.entry-preview time {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid #6b75c1;
  background: #e6f2f8;
  font-family: "pixelated elegance", monospace;
  font-size: 11px;
}

.card p {
  margin: 13px 0 0;
  font-size: 17px;
}

.room-picker {
  display: flex;
  flex-direction: column;
}

.room-picker a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 7px;
  text-decoration: none;
}

.room-picker a:hover {
  background: var(--panel-blue);
}

.room-picker i {
  color: #6a70b8;
}

.quote {
  margin: 0;
  padding: 20px;
  border: 2px solid #6d9ec9;
  color: white;
  background: #1d3e7a;
  box-shadow: 5px 5px 0 var(--shadow);
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 0 7px #8fd8ee;
}

.note-box,
.empty-shelf,
.reading-now {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px dashed #8796c6;
  background: #e4ecf7;
}

.note-box i,
.empty-shelf i,
.reading-now > i {
  color: #6865ad;
  font-size: 20px;
}

.entry-preview {
  margin-top: 22px;
  padding: 16px;
  border-left: 4px solid #75b7d3;
  background: #e8e5f3;
}

.entry-preview h3 {
  margin: 12px 0 8px;
}

.entry-preview p {
  margin-bottom: 0;
}

.soft-note {
  margin-top: 20px !important;
  color: #6d669a;
  font-size: 17px;
}

.player-card {
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 440px;
  padding: 18px;
  border: 2px solid #5d61a2;
  background: linear-gradient(90deg, #d8d4e9, #d4e8f3);
  box-shadow: 4px 4px 0 #a9a2c4;
}

.player-card > i {
  color: #4c529a;
  font-size: 54px;
}

.player-card div,
.reading-now div {
  display: grid;
  gap: 5px;
}

.player-card strong,
.reading-now strong {
  color: #30306f;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 18px;
  font-weight: normal;
}

.eyebrow {
  color: #706aa5;
  font-size: 15px;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-card {
  min-height: 135px;
  text-align: center;
}

.mini-card > i {
  color: var(--blue);
  font-size: 25px;
}

.mini-card h3 {
  margin: 8px 0 4px;
  color: #514a9c;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 16px;
  font-weight: normal;
}

.mini-card p {
  margin: 0;
  color: #746c9b;
  font-size: 16px;
}

.credits-window .window-body {
  padding-bottom: 20px;
}

.credit-section {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px dotted #9f96c5;
  background: rgba(225, 232, 246, 0.68);
}

.credit-section h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.credit-section p,
.credit-section ul {
  margin: 0;
  font-size: 17px;
}

.credit-section ul {
  padding-left: 22px;
}

.credit-section li + li {
  margin-top: 5px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  padding: 14px 8px 4px;
  color: #4e467f;
  font-size: 15px;
  text-align: center;
}

footer a {
  text-decoration: none;
}

@media (max-width: 760px) {
  body {
    font-size: 19px;
  }

  .site-wrap {
    width: min(100% - 20px, 620px);
    margin-top: 10px;
  }

  .site-header {
    min-height: 190px;
    padding: 27px 25px 36px;
  }

  .site-header h1 {
    font-size: clamp(52px, 15vw, 70px);
  }

  .moon {
    top: 75px;
    right: 26px;
    font-size: 58px;
  }

  .tagline {
    max-width: 70%;
    font-size: 14px;
  }

  .site-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .main-content {
    grid-row: 1;
  }

  .sidebar {
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 180px;
    padding-left: 18px;
  }

  .site-header .tiny {
    font-size: 14px;
  }

  .site-header h1 {
    max-width: 82%;
    font-size: 50px;
  }

  .moon {
    top: 84px;
    right: 20px;
    font-size: 47px;
  }

  .header-sparkles {
    display: none;
  }

  .home-cards,
  .three-cards,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .window-body {
    padding: 22px 19px;
  }

  .card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
  gap: 18px;
}


/* first about window */

.about-window .window-body {
  min-height: 0;
}


/* two little panels */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-box {
  min-height: 245px;
  padding: 17px;
}

.about-box > h2 {
  margin: 0 0 13px;
  padding-bottom: 9px;
  border-bottom: 2px dotted #b8add7;
  color: #514a9c;
  font-family: "pixelated elegance", "rainy hearts", monospace;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.about-box > h2 i {
  margin-right: 4px;
  color: var(--blue);
  font-size: 14px;
}


/* little things list */

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

.about-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 7px;
  padding: 7px 2px;
  border-bottom: 1px dotted #cdc4e1;
  font-size: 16px;
}

.about-list li:last-child {
  border-bottom: 0;
}

.about-list li span {
  color: #6964aa;
  text-align: center;
}


/* interest tags */

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags span {
  padding: 5px 9px;
  border: 1px solid #9694c5;
  background: #e5edf7;
  box-shadow: 2px 2px 0 rgba(93, 97, 162, 0.18);
  color: #514a86;
  font-size: 15px;
}

.about-tags span::before {
  margin-right: 5px;
  color: #6d9ec9;
  content: "♡";
}

.about-tags span:hover {
  background: var(--panel-blue);
  transform: translate(-1px, -1px);
}


/* bottom note */

.about-note-window .window-body {
  min-height: 0;
  padding-top: 23px;
  padding-bottom: 20px;
}

.about-signoff {
  margin-top: 25px !important;
  margin-bottom: 0 !important;
  padding-top: 10px;
  border-top: 1px dotted #c3bbd9;
  color: #746c9b;
  font-size: 15px;
  text-align: right;
}


/* mobile */

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-box {
    min-height: 0;
  }
}


@media (max-width: 520px) {
  .about-tags {
    gap: 6px;
  }

  .about-tags span {
    padding: 5px 7px;
    font-size: 14px;
  }

  .about-signoff {
    text-align: left;
  }
}