:root {
  --bg1: #fff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --window-bg: rgba(255, 255, 255, .78);
  --window-border: rgba(255, 255, 255, .6);
  --accent: #0a84ff;
  --sep: rgba(0, 0, 0, .08);
  --radius-window: 14px;
  --radius-card: 12px;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  background: var(--bg1);
}

button { font: inherit; }

/* ---------------------------------- */
/* menu bar */
/* ---------------------------------- */
.menubar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-size: 12.5px;
  color: #333;
}

.menubar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #555;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------- */
/* home / desktop */
/* ---------------------------------- */
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 90px 24px 140px;
}

.main-image-button {
  position: relative;
  width: min(420px, 80vw);
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 70px rgba(31, 26, 50, .26);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.main-image-button img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56vh;
  object-fit: cover;
}

.main-image-button:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 90px rgba(31, 26, 50, .32);
}

.click-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
  color: #333;
  font-size: 11.5px;
  font-weight: 500;
}

/* camcorder viewfinder overlay on the main photo — corner brackets only,
   no center focus box */
.rec-overlay {
  position: absolute;
  inset: 16px;
  z-index: 2;
  pointer-events: none;
  color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: .03em;
}

.rec-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, .9);
}

.rec-corner-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.rec-corner-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.rec-corner-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.rec-corner-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.rec-indicator {
  position: absolute;
  top: -2px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 5px rgba(255, 59, 48, .9);
  animation: rec-blink 1.4s ease-in-out infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.rec-battery {
  position: absolute;
  top: -1px;
  right: 28px;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

.rec-battery svg { width: 100%; height: 100%; display: block; }

.rec-timestamp {
  position: absolute;
  bottom: -2px;
  left: 28px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

.site-mark {
  margin: 0;
  color: rgba(60, 60, 67, .8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------------------------------- */
/* dock */
/* ---------------------------------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 35;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .35));
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(31, 26, 50, .18),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -14px 20px -14px rgba(255, 255, 255, .5);
}

.dock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .3) 100%);
  pointer-events: none;
}

.dock button {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1);
}

.dock button:hover { transform: translateY(-10px) scale(1.12); }
.dock button:active { transform: translateY(-4px) scale(1.04); }

.dock-about       { background: linear-gradient(160deg, #CFE6EC, #85BED2); }
.dock-characters  { background: linear-gradient(160deg, #C4D8E3, #678FA8); }
.dock-gallery     { background: linear-gradient(160deg, #95BBCE, #678FA8); }
.dock-diary       { background: linear-gradient(160deg, #E6EBEF, #95BBCE); }
.dock-world       { background: linear-gradient(160deg, #CFE6EC, #95BBCE); }
.dock-guestbook   { background: linear-gradient(160deg, #C4D8E3, #85BED2); }

/* ---------------------------------- */
/* modal base */
/* ---------------------------------- */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 30, .22);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal-layer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-window {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--window-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--window-border);
  border-radius: var(--radius-window);
  box-shadow: 0 30px 80px rgba(20, 15, 35, .35), inset 0 2px 0 rgba(255, 255, 255, .6);
  overflow: hidden;
  transform: translateY(16px) scale(.96);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.modal-layer.active .modal-window { transform: translateY(0) scale(1); }

/* ---- titlebar (traffic lights) ---- */
.titlebar {
  position: relative;
  flex: 0 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sep);
}

.traffic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
}

.traffic span,
.traffic button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: block;
}

.traffic .t-red { background: #AFCBE3; cursor: pointer; }
.traffic .t-yellow { background: #C9DEEF; }
.traffic .t-green { background: #E6F1FA; }

.titlebar-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  letter-spacing: .01em;
}

.back-button {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #555;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}

.back-button:hover { background: rgba(0, 0, 0, .1); }

/* ---------------------------------- */
/* menu window (sidebar list) */
/* ---------------------------------- */
.menu-window {
  width: min(360px, 92vw);
  max-height: min(80vh, 620px);
}

.menu-body {
  padding: 14px 14px 18px;
  overflow-y: auto;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 14px;
}

.profile-row .avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.profile-row .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-row .who {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.profile-row .who small {
  display: block;
  margin-top: 1px;
  color: #8a8a8e;
  font-size: 11px;
  font-weight: 400;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list button,
.nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease;
}

.nav-list button:hover,
.nav-list a:hover { background: rgba(0, 0, 0, .045); }
.nav-list button:active,
.nav-list a:active { background: rgba(10, 132, 255, .14); }

.nav-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
}

.nav-icon.c-blue   { background: linear-gradient(160deg, #6db8ff, #2f80ed); }
.nav-icon.c-purple { background: linear-gradient(160deg, #c39bff, #8a5cf6); }
.nav-icon.c-pink   { background: linear-gradient(160deg, #ff9ec4, #ec5e93); }
.nav-icon.c-orange { background: linear-gradient(160deg, #ffc36b, #f2994a); }
.nav-icon.c-green  { background: linear-gradient(160deg, #7be0b8, #2fbf71); }
.nav-icon.c-teal   { background: linear-gradient(160deg, #7fe0e0, #2fb6b6); }

/* icon with no colored badge behind it, just the glyph */
.nav-icon-plain {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #8a8a8e;
}

.nav-chevron {
  margin-left: auto;
  color: #c7c7cc;
  font-size: 12px;
}

/* ---------------------------------- */
/* content window */
/* ---------------------------------- */
.content-window {
  width: min(720px, 92vw);
  max-height: min(84vh, 760px);
}

.content-body-wrap {
  padding: 26px 30px 34px;
  overflow-y: auto;
}

/* feed cards -> grouped mac list style */
.feed-card {
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.card-header .card-icon {
  color: var(--accent);
  font-size: 11px;
}

.card-header .card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #8a8a8e;
  text-transform: uppercase;
}

.feed-card p:last-child { margin-bottom: 0; }

.intro-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.fake-photo,
.character-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: linear-gradient(160deg, #eef3fb, #fff);
}

/* gallery post photos: fit fully inside the window at a glance, no crop,
   no scrolling to see the rest — shrink by whichever side hits its limit
   first and keep the original ratio */
.gallery-photo {
  display: block;
  max-width: 100%;
  max-height: min(52vh, 460px);
  width: auto;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
}

.content-body h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.content-body p {
  margin: 0 0 10px;
  color: #3c3c43;
  font-size: 13px;
  line-height: 1.75;
}

.info-list {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.9;
}

.gallery-tabs {
  display: flex;
  gap: 6px;
  padding: 3px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, .05);
  border-radius: 10px;
}

.gallery-tab {
  flex: 1;
  padding: 7px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.gallery-tab:hover { color: #3c3c43; }

.gallery-tab.active {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.character-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.character-grid .character-card {
  flex: 0 1 180px;
}

.character-card,
.gallery-item {
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .6);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.character-card:hover,
.gallery-item:hover {
  background: rgba(10, 132, 255, .06);
  transform: translateY(-1px);
}

.character-card h3 {
  margin: 10px 0 3px;
  color: var(--text);
  font-size: 13px;
}

.character-card p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  color: #9a9aa0;
  font-size: 12px;
}

.gallery-item:has(img) { padding: 0; }

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.gallery-item img.thumb-blur {
  filter: blur(18px);
  transform: scale(1.1);
}

/* playlist card */
.playlist-card .track-thumb,
.playlist-card .track-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: linear-gradient(160deg, #eef3fb, #fff);
  display: grid;
  place-items: center;
  color: #9a9aa0;
  font-size: 22px;
  overflow: hidden;
}

.playlist-card .track-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.playlist-card .track-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.playlist-card .track-list li { border-bottom: 1px solid rgba(0, 0, 0, .05); }
.playlist-card .track-list li:last-child { border-bottom: 0; }

.playlist-card .track-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #3c3c43;
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}

.playlist-card .track-btn:hover { background: rgba(10, 132, 255, .06); }

.playlist-card .track-list li.active .track-btn {
  color: var(--accent);
  font-weight: 600;
}

.playlist-card .track-num {
  width: 18px;
  color: #a0a0a5;
  font-size: 11px;
}

.playlist-card .track-list li.active .track-num { color: var(--accent); }

/* simple divided-row list, shared by diary / world / guestbook */
.entry-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10, 132, 255, .18);
}

.entry-list button {
  width: 100%;
  padding: 20px 6px;
  border: 0;
  border-bottom: 1px solid rgba(10, 132, 255, .18);
  background: transparent;
  color: #8a8a8e;
  font: inherit;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.entry-list button:hover {
  color: #3c3c43;
  background: rgba(10, 132, 255, .05);
}

.loading-hint {
  padding: 30px 4px;
  text-align: center;
  color: #9a9aa0;
  font-size: 13px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.pager-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
  color: #3c3c43;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}

.pager-btn:hover:not(:disabled) { background: #fff; }

.pager-btn:disabled {
  opacity: .35;
  cursor: default;
}

.pager-status {
  min-width: 46px;
  text-align: center;
  color: #8a8a8e;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* locked posts */
.lock-badge {
  display: inline-flex;
  margin-right: 6px;
  color: #c7c7cc;
  vertical-align: -2px;
}

.lock-badge svg { width: 12px; height: 12px; display: block; }

.gallery-item .lock-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  margin: 0;
  padding: 3px;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  border-radius: 6px;
}

.lock-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
}

.lock-gate-icon { width: 34px; height: 34px; color: #c7c7cc; }
.lock-gate-icon svg { width: 100%; height: 100%; display: block; }

.lock-gate-hint {
  margin: 0;
  color: #8a8a8e;
  font-size: 13px;
}

.lock-gate-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.lock-gate-input {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  width: 160px;
}

.lock-gate-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.lock-gate-submit {
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lock-gate-submit:disabled { opacity: .6; cursor: default; }

.lock-gate-error {
  margin: 4px 0 0;
  color: #ff3b30;
  font-size: 12px;
}

.blur-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 24px;
  text-align: center;
}

.blur-gate-icon { font-size: 30px; }

.blur-gate-hint {
  margin: 0;
  color: #3c3c43;
  font-size: 14px;
  font-weight: 600;
}

.blur-gate-submit {
  margin-top: 4px;
  padding: 8px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* prompt blocks with their own copy button (e.g. the PROMPT page) */
.prompt-block {
  position: relative;
  padding-right: 34px;
  margin-bottom: 14px;
}

.prompt-block:last-child { margin-bottom: 0; }

.prompt-block .copy-button {
  position: absolute;
  top: 0;
  right: 0;
}

/* banner exchange page */
.my-banner {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(0, 0, 0, .12);
}

.my-banner-btn {
  display: inline-block;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  line-height: 0;
}

.my-banner-btn img {
  display: block;
  max-width: 100%;
}

.my-banner-hint {
  margin: 8px 0 0;
  color: #8a8a8e;
  font-size: 11px;
}

.banner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.banner-grid img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

/* guestbook message form */
.guestbook-hint {
  margin: 0 0 4px;
  color: #8a8a8e;
  font-size: 11.5px;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.message-form input,
.message-form textarea {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

.message-form input:focus,
.message-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.message-form button {
  align-self: flex-end;
  padding: 8px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.message-form button:disabled { opacity: .6; cursor: default; }

.message-form-status {
  margin: 0;
  text-align: right;
  color: #34c759;
  font-size: 12px;
}

.message-form-status.error { color: #ff3b30; }

.note-card {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 14px;
  padding: 22px 24px 18px;
  background: rgba(255, 255, 255, .55);
}

.note-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 2px 10px;
  border: 1px dashed rgba(10, 132, 255, .4);
  border-radius: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.note-body p {
  margin: 0 0 16px;
  color: #3c3c43;
  font-size: 13.5px;
  line-height: 1.9;
  white-space: pre-line;
}

.note-body p:last-child { margin-bottom: 0; }

.note-gap { margin-top: 26px !important; }

.note-dots {
  text-align: center;
  color: #c7c7cc;
  letter-spacing: 6px;
  margin: 22px 0;
  font-size: 13px;
}

.note-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: #c7c7cc;
}

.note-cursor { font-size: 13px; }

.note-icon {
  width: 18px;
  height: 18px;
  opacity: .5;
}

.note-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.copy-button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .7);
  color: #8a8a8e;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.copy-button svg {
  width: 14px;
  height: 14px;
  display: block;
}

.copy-button:hover {
  color: #3c3c43;
  background: #fff;
}

.copy-button.copied {
  color: #34c759;
  border-color: rgba(52, 199, 89, .4);
}

.diary-entry,
.world-entry,
.guestbook-entry {
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .6);
}

.entry-date {
  margin-bottom: 6px !important;
  color: #9a9aa0 !important;
  font-size: 10.5px !important;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.guestbook-entry strong {
  color: var(--text);
  font-size: 12.5px;
}

/* ---------------------------------- */
/* mobile */
/* ---------------------------------- */
@media (max-width: 600px) {
  .home { padding: 60px 18px 130px; }

  .main-image-button { width: 88vw; }

  .site-mark { font-size: 12px; }

  .menubar { padding: 0 12px; font-size: 11.5px; }

  .dock { gap: 8px; padding: 8px 10px; border-radius: 18px; }
  .dock button { width: 40px; height: 40px; font-size: 18px; border-radius: 11px; }
  .dock button:hover { transform: translateY(-6px) scale(1.08); }

  .modal-layer { padding: 12px; }

  .menu-window { width: 100%; }
  .content-window { width: 100%; max-height: 88vh; }

  .content-body-wrap { padding: 20px 18px 28px; }

  .intro-card { grid-template-columns: 1fr; gap: 14px; }
  .fake-photo { width: min(160px, 55vw); margin: 0 auto; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .character-grid .character-card { flex: 0 1 45%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
