:root {
  --a-bg: #C8D8E4;
  --a-text: #23303a;
  --a-line: #9fb3bf;
  --seal: #343034;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--a-bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--a-text);
  font-family: Gulim, "MS Sans Serif", Arial, sans-serif;
  letter-spacing: 0;
  background: var(--a-bg);
}
body.phase-a {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.2) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px);
  background-size: 32px 32px;
}
button,
input { font: inherit; }
h1,
h2,
p { margin-top: 0; }
.site-shell {
  width: min(100%, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 44px 18px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.home-cute {
  width: min(100%, 780px);
  margin: 0 auto;
  border: 2px solid #7fa1b2;
  border-radius: 10px;
  background: #fffdfd;
  box-shadow: 10px 10px 0 rgba(43, 61, 75, .15);
  overflow: hidden;
}
.cute-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(90deg, #9ce0de, #ffc3dc 62%, #e7e3ff);
  color: #263948;
  font-weight: 700;
  border-bottom: 2px solid #7fa1b2;
}
.cute-bar span:first-child { margin-right: auto; }
.cute-bar i {
  width: 14px;
  height: 14px;
  border: 2px solid #7597aa;
  background: #fff;
}
.cute-header {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 24px 14px;
  border-bottom: 1px solid #8baabc;
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.54)),
    linear-gradient(135deg, rgba(255,224,236,.45), rgba(220,248,239,.32));
}
.cute-avatar {
  width: 70px;
  height: 70px;
  border: 2px solid #7fa1b2;
  background:
    linear-gradient(90deg, transparent 0 16px, #343034 16px 21px, transparent 21px 48px, #343034 48px 53px, transparent 53px),
    linear-gradient(#fff 0 16px, #a7c4cf 16px 21px, #fff 21px 50px, #343034 50px 55px, #fff 55px);
  image-rendering: pixelated;
}
.cute-header h1 {
  margin: 0;
  color: #8a3a56;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 400;
}
.cute-sub {
  margin: 5px 0 0;
  color: #617985;
  font-size: 13px;
}
.cute-counter {
  display: grid;
  gap: 5px;
  min-width: 108px;
}
.cute-counter span {
  border: 1px solid #8baabc;
  background: #fff;
  padding: 5px 8px;
  color: #386681;
  text-align: center;
  font: 12px "Courier New", monospace;
}
.cute-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px 0;
  border-bottom: 2px solid #8baabc;
  background: #fff;
}
.cute-tabs button {
  min-width: 88px;
  border: 1px solid #8baabc;
  border-bottom: 0;
  background: linear-gradient(#fff, #d9f0fb);
  color: #315e78;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}
.cute-tabs button:nth-child(2) { background: linear-gradient(#fff, #ffe0ec); }
.cute-tabs button:nth-child(3) { background: linear-gradient(#fff, #e7e3ff); }
.cute-tabs button:nth-child(4) { background: linear-gradient(#fff, #fff3c4); }
.cute-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #f7fcfd);
}
.cute-card,
.cute-album {
  border: 1px solid #8baabc;
  background: #fff;
  padding: 16px;
}
.cute-card {
  min-height: 286px;
  line-height: 1.75;
}
.cute-label {
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #d0b45b;
  background: #fff3c4;
  color: #8a3a56;
  padding: 3px 8px;
  font-weight: 700;
  font-size: 13px;
}
.cute-card h2 {
  margin: 0 0 12px;
  color: #8a3a56;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
}
.cute-card p { margin-bottom: 10px; }
.given {
  color: #7a2f2f;
  font-weight: 700;
}
.content-warning {
  margin: 14px 0 12px;
  border: 1px solid #8baabc;
  background: #f6fbfd;
  color: #2f4554;
}
.warning-main {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}
.warning-main strong {
  color: #8a3a56;
  font-size: 13px;
}
.warning-main p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.content-warning details { border-top: 1px dotted #a6bbc6; }
.content-warning summary {
  padding: 8px 12px;
  color: #315e78;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.content-warning ul {
  margin: 0;
  padding: 0 12px 12px 28px;
  color: #617985;
  font-size: 12px;
  line-height: 1.6;
}
.cute-address {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 56px;
  gap: 6px;
  align-items: center;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed #a6bbc6;
  color: #607783;
  font-size: 12px;
}
.cute-address input {
  min-width: 0;
  border: 1px solid #8baabc;
  background: #fafdff;
  padding: 7px;
  color: #789;
  font-family: "Courier New", monospace;
}
.cute-address button,
.album-open {
  border: 1px solid #8baabc;
  background: #edf8fa;
  color: #2b3d4b;
  padding: 7px;
  font-weight: 700;
  cursor: pointer;
}
.status-line {
  min-height: 22px;
  margin: 6px 0 0;
  color: #4b6270;
  font-family: "Courier New", monospace;
}
.cute-status {
  margin-bottom: 0;
  min-height: 18px;
}
.cute-album h2 {
  margin: 0 0 10px;
  color: #8a3a56;
  font-size: 18px;
  font-weight: 400;
}
.album-cover {
  width: 100%;
  height: 148px;
  display: grid;
  place-items: center;
  border: 2px solid #7fa1b2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.36) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.34) 0 1px, transparent 1px),
    linear-gradient(135deg, #ffe0ec, #dcf8ef 48%, #e7e3ff);
  background-size: 12px 12px, 12px 12px, auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.album-cover::before {
  content: "";
  width: 94px;
  height: 62px;
  border: 2px solid #7fa1b2;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(43, 61, 75, .12);
}
.album-cover span {
  position: absolute;
  border: 1px solid #d0b45b;
  background: #fff3c4;
  color: #8a3a56;
  padding: 6px 10px;
  font-weight: 700;
}
.album-open {
  width: 100%;
  margin-top: 10px;
  text-align: left;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--a-line);
  padding: 12px 30px;
  color: #5f6d74;
  font-size: 12px;
}
.site-footer b {
  background: var(--seal);
  color: #f8fbfc;
  padding: 3px 7px;
  font-family: "Courier New", monospace;
}
.cute-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: #fff;
  padding: 10px 24px;
}
@media (max-width: 720px) {
  .site-shell {
    padding: 18px 12px 22px;
    justify-content: flex-start;
  }
  .home-cute { border-radius: 6px; }
  .cute-header {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 16px;
  }
  .cute-avatar {
    width: 52px;
    height: 52px;
  }
  .cute-header h1 { font-size: 29px; }
  .cute-counter {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cute-tabs {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
  }
  .cute-tabs button { min-width: 78px; }
  .cute-body {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .cute-card h2 { font-size: 23px; }
  .cute-address { grid-template-columns: 1fr; }
  .cute-address button { width: 100%; }
  .cute-footer { grid-template-columns: auto minmax(0, 1fr); }
  .cute-footer span:last-child { display: none; }
}
