:root {
  --ink: #58445e;
  --pink: #f5cfdf;
  --lavender: #eae2f4;
  --line: #b8a0bd;
  --paper: #fffefc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 13px/1.8 Verdana, "MS PGothic", sans-serif;
  background-color: #fff9f7;
  background-image:
    linear-gradient(#f4e9ed 1px, transparent 1px),
    linear-gradient(90deg, #f4e9ed 1px, transparent 1px);
  background-size: 19px 19px;
}
a { color: #a16b93; }
a:hover { color: #e17aa1; }
button, input { font: inherit; }
button { cursor: pointer; }
.site {
  width: min(870px, calc(100% - 28px));
  margin: 36px auto;
  border: 2px solid #9c84a7;
  background: var(--paper);
  box-shadow: 6px 6px 0 #f0d6e3;
}
.microbar {
  padding: 3px 13px;
  background: #eae0f1;
  border-bottom: 1px solid #9c84a7;
  color: #685579;
  font-size: 10px;
  letter-spacing: 1px;
}
.header {
  padding: 31px 32px 26px;
  background: radial-gradient(#f7d6e4 1px, transparent 1px), #fff8fa;
  background-size: 11px 11px;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  line-height: 1;
  font-family: Georgia, serif;
  font-size: clamp(42px, 7vw, 65px);
  font-weight: bold;
  font-style: italic;
  letter-spacing: -4px;
  color: #a56e9d;
  text-shadow: 3px 3px 0 #f9dce9;
}
.logo span { color: #e49abb; }
.subtitle {
  margin: 12px 0 0 8px;
  font-size: 11px;
  letter-spacing: 2px;
}
.mascot {
  width: 105px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cda9c3;
  background: #fffdfa;
  transform: rotate(4deg);
}
.mascot b { font-size: 28px; font-weight: normal; }
.mascot small { font-size: 10px; }
.topnav {
  display: flex;
  flex-wrap: wrap;
  padding: 0 17px;
  background: #f9e3ec;
  border-bottom: 1px solid var(--line);
}
.topnav a {
  padding: 10px 14px;
  border-right: 1px dotted #d2adc3;
  text-decoration: none;
  font-size: 11px;
  font-weight: bold;
}
.topnav a:first-child { border-left: 1px dotted #d2adc3; }
.layout { display: grid; grid-template-columns: 175px minmax(0, 1fr); }
.sidebar {
  padding: 24px 17px;
  border-right: 1px solid #e5d4e6;
  background: #fffbfe;
}
.side-heading {
  padding: 3px 6px;
  margin-bottom: 10px;
  background: var(--lavender);
  border-left: 3px solid #ba99c4;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
}
.side-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 27px;
}
.side-menu a {
  text-decoration: none;
  border-bottom: 1px dotted #eee0e7;
  padding: 5px 4px;
  font-size: 12px;
}
.side-menu a:before { content: "☆ "; color: #d8a0c1; }
.side-note { font-size: 11px; line-height: 1.9; margin: 12px 4px 27px; }
.button88 {
  width: 88px;
  height: 31px;
  margin: 16px auto 9px;
  border: 1px solid #977d9f;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #fff0f6 0 5px, #f5d1e3 5px 10px);
  color: #765078;
  font: bold 14px Georgia, serif;
  letter-spacing: -.5px;
}
.side-caption { text-align: center; font-size: 10px; color: #9d8b9e; }
.content { padding: 26px 31px 38px; min-width: 0; }
.welcome { text-align: center; color: #b3789c; letter-spacing: 3px; font-size: 12px; }
.deco { text-align: center; color: #d4afc8; letter-spacing: 4px; margin: 14px 0; }
.intro { padding: 13px 0 20px; text-align: center; }
.intro h1 {
  font-size: clamp(20px, 4vw, 29px);
  font-weight: normal;
  letter-spacing: 2px;
  margin: 7px 0 14px;
  color: #825b82;
}
.intro p { font-size: 13px; line-height: 2.2; margin: 0; }
.section-title {
  margin: 28px 0 13px;
  padding: 5px 10px;
  background: #f7eaf1;
  border-top: 1px solid #d0b6c9;
  border-bottom: 1px solid #d0b6c9;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}
.section-title:before { content: "✿ "; color: #bc8ca9; }
.panel { padding: 18px; border: 1px solid #d6c5d9; background: #fffefa; }
.panel .help { margin: 0 0 13px; font-size: 12px; color: #817187; }
.name-form { display: flex; gap: 8px; }
.name-form input {
  width: 100%; min-width: 0; padding: 10px;
  background: white; border: 1px solid #b9a6bd;
  color: #5e4962; outline-offset: 3px;
}
.name-form button {
  border: 1px solid #9c779a; background: #f8ddea;
  color: #755275; padding: 9px 14px; white-space: nowrap;
}
.name-form button:hover { background: #f0c5db; }
.status { min-height: 23px; margin: 10px 0 0; font-size: 11px; color: #977d95; }
.status.error { color: #b84e76; }
.preview { margin-top: 16px; border: 1px dotted #bda6c1; background: #fcf7fd; }
.preview-head {
  padding: 4px 10px; border-bottom: 1px dotted #bda6c1;
  background: #e9e0f3; color: #765b83; font-size: 11px;
}
.preview-body { padding: 13px 15px; line-height: 2.5; }
.preview-body strong { color: #a66c9a; font-size: 14px; overflow-wrap: anywhere; }
.preview-label { display: inline-block; width: 57px; color: #99859c; font-size: 11px; }
.update { border-bottom: 1px dotted #e2d2e5; padding: 10px 3px; font-size: 12px; }
.update:last-child { border-bottom: 0; }
.update b { color: #aa7a9d; font-size: 11px; }
.update span { display: block; margin-left: 4px; color: #706477; }
.smallprint { margin: 18px 0 0; text-align: center; font-size: 11px; color: #968596; }
.footer {
  border-top: 1px solid #d9c6dc; background: #f9f1f7;
  padding: 12px; text-align: center; font-size: 10px; letter-spacing: 1px;
}
@media (max-width: 620px) {
  .site { margin: 14px auto; }
  .header { padding: 25px 18px; }
  .mascot { width: 78px; height: 75px; }
  .mascot b { font-size: 22px; }
  .logo { letter-spacing: -3px; }
  .subtitle { letter-spacing: 1px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid #e5d4e6; padding: 12px 17px; }
  .side-menu { flex-direction: row; flex-wrap: wrap; gap: 13px; margin-bottom: 0; }
  .side-menu a { border: 0; }
  .sidebar .side-heading,
  .sidebar .side-note,
  .sidebar .button88,
  .sidebar .side-caption { display: none; }
  .content { padding: 21px 18px 32px; }
}
@media (max-width: 390px) {
  .name-form { flex-direction: column; }
  .topnav a { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
