/* 로고 서체 (페이퍼로지). 본문은 기존 굴림/돋움을 그대로 두고 로고에만 씁니다. */
@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Paperozi";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --brand-red-light: #ff4d5c;
  --brand-red: #ea4651;
  --brand-red-dark: #ba3636;
  --brand-gradient: linear-gradient(180deg, #ff4d5c 0%, #ea4651 55%, #ba3636 100%);
  --blue-dark: #004b9a;
  --blue: #0b82db;
  --blue-light: #9ce8ff;
  --hot-pink: #ff4095;
  --red: #f31d12;
  --yellow: #fff138;
}

* {
  box-sizing: border-box;
}

/* display를 지정한 요소에서도 hidden 속성이 동작하도록 합니다. */
[hidden] {
  display: none !important;
}

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

body {
  min-width: 1040px;
  font-family: Dotum, Gulim, "MS PGothic", Arial, sans-serif;
  font-size: 12px;
  color: #1b3150;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 44px 36px, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(#73d5ff, #bff7ff 52%, #79d8ff);
  background-size: 64px 64px, 64px 64px, 32px 32px, 32px 32px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-bg {
  min-height: 100vh;
  padding: 18px 0 22px;
  background:
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(135deg, #69cfff, #c3fbff 45%, #78dbff);
  background-size: 48px 48px, 24px 24px, 24px 24px, auto;
}

.site-shell {
  width: 1000px;
  margin: 0 auto;
  background: #d9f1ff;
  border: 2px solid #0063bd;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px #8fdfff inset,
    0 2px 8px rgba(0, 48, 120, 0.55);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 96px;
  padding: 10px 20px 10px 30px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(#4ebcff, #0071cc 55%, #0058ad);
  border-bottom: 2px solid #064f9e;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 14px 0 auto 220px;
  height: 18px;
  background: rgba(255, 255, 255, 0.24);
  transform: skewX(-18deg);
}

/* 사우나 표시는 파비콘과 같은 아이콘을 씁니다. ♨ 글자는 font-size로 감춥니다. */
.steam-mark {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  margin-right: 14px;
  font-size: 0;
  background: url("assets/favicon.png") center / contain no-repeat;
}

.brand-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  height: 76px;
}

/* 로고는 두 겹입니다.
 * 아래(h1 본체)는 흰 글자 + 흰 획으로 바깥 테두리를 만들고,
 * 위(::before)는 같은 글자를 그라데이션으로 덮습니다.
 * 이렇게 하면 획이 글자 바깥으로만 보이고 그라데이션은 깎이지 않습니다. */
.brand-copy h1 {
  position: relative;
  margin: 0;
  font-family: "Paperozi", Dotum, Gulim, sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
  -webkit-text-stroke: 2.5px #fff;
}

.brand-copy h1::before {
  content: "너희천";
  position: absolute;
  left: 0;
  top: 0;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0;
}

.brand-copy p {
  margin: 3px 0 0;
  color: #d9f7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 1px 1px #003a76;
}

.header-promo {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: 275px;
  margin-left: auto;
  text-align: center;
}

.header-promo strong {
  color: #ff49a3;
  font-size: 30px;
  text-shadow:
    2px 2px #fff,
    3px 3px #0d3a79;
}

.header-promo span {
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px #002d67;
}

.pool-strip {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 210px;
  height: 60px;
  opacity: 0.75;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255, 255, 255, 0.75) 0 10%, transparent 11%),
    repeating-radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.55) 0 4px, rgba(0, 149, 214, 0.45) 5px 12px),
    linear-gradient(#abf2ff, #4cc3e7);
  transform: skewX(-12deg);
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 130px;
  height: 36px;
  background: linear-gradient(#78c8ff, #0069c6 50%, #004eab 51%, #2292e6);
  border-top: 1px solid #c8f2ff;
  border-bottom: 2px solid #014e9b;
}

.main-nav a {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 1px 1px #003a76;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.main-nav a:hover,
.main-nav .active,
.main-nav .board {
  color: #fff;
  background: linear-gradient(#ff7dc1, #e71172 52%, #ff65ad);
}

.marquee-line {
  height: 24px;
  padding-top: 4px;
  color: #e10000;
  font-weight: 700;
  background: #fffef1;
  border-bottom: 1px solid #91badb;
}

.content-grid {
  display: grid;
  grid-template-columns: 160px 1fr 250px;
  gap: 8px;
  padding: 8px;
  background: #eefaff;
}

.old-panel,
.health-box,
.notice-box,
.event-box,
.facility-table {
  background: #fff;
  border: 2px solid #2a8ad7;
  border-radius: 8px;
  box-shadow: 1px 1px 0 #fff inset, 0 1px 0 #9bd8ff;
  overflow: hidden;
}

.old-panel + .old-panel,
.notice-box,
.event-box,
.side-search {
  margin-top: 6px;
}

.old-panel h2 {
  margin: 0;
  padding: 5px 8px;
  color: #163c70;
  font-size: 12px;
  background: linear-gradient(#d8f6ff, #9ed8ff);
  border-bottom: 1px solid #2a8ad7;
}

.quick-list {
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.quick-list li {
  height: 28px;
  color: #244363;
  font-weight: 700;
  background: linear-gradient(#ffffff, #e9f7ff);
  border-bottom: 1px solid #c2def4;
}

.quick-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 10px;
}

.quick-list li:hover {
  color: #c60047;
  background: linear-gradient(#fff9c9, #e8f7ff);
}

.quick-list span {
  width: 20px;
  text-align: center;
}

.memo {
  text-align: center;
}

.memo p {
  margin: 12px 0;
  line-height: 1.7;
  color: #474747;
  font-weight: 700;
}

.stamp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-bottom: 10px;
}

.stamp-row b {
  color: #ff3e58;
  font-size: 28px;
}

.counter {
  text-align: center;
}

.digits {
  width: 120px;
  margin: 8px auto 5px;
  padding: 3px 4px;
  color: #f8ff00;
  font-family: "Courier New", monospace;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  background: #050505;
  border: 2px inset #606060;
  text-shadow: 0 0 4px #d8ff00;
}

.counter p {
  margin: 4px 0 8px;
  color: #404040;
}

.hero-photo {
  position: relative;
  margin: 0;
  height: 385px;
  background: #000;
  border: 3px solid #fff;
  outline: 1px solid #8fb7d0;
  box-shadow: 0 0 0 1px #477fa3;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.96) saturate(0.86);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 2px, rgba(255, 255, 255, 0.08) 3px),
    radial-gradient(circle at 56% 40%, rgba(255, 255, 255, 0.28), transparent 28%);
  background-size: auto, 100% 100%;
}

.hero-photo figcaption {
  position: absolute;
  right: 26px;
  top: 115px;
  display: grid;
  gap: 8px;
  color: #cb1100;
  font-size: 21px;
  font-weight: 900;
  text-align: center;
  text-shadow: 1px 1px #fff;
  writing-mode: vertical-rl;
}

.mini-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.mini-banners a {
  display: grid;
  align-content: center;
  min-height: 64px;
  padding: 6px 7px;
  color: #b51520;
  font-weight: 700;
  text-align: center;
  background:
    radial-gradient(circle at right 16px bottom 12px, rgba(255, 255, 255, 0.85) 0 12px, transparent 13px),
    linear-gradient(135deg, #fff2d5, #ffd5a3);
  border: 2px solid #dfa978;
  border-radius: 9px;
  box-shadow: 1px 1px 0 #fff inset;
}

.mini-banners a:nth-child(2) {
  color: #014d9b;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
    url("image/379669365_18984776765_1763822780962.png") center/cover;
}

.mini-banners a:nth-child(3) {
  color: #d80048;
  background: linear-gradient(135deg, #e7ffcf, #fff7a7);
}

.mini-banners a:nth-child(4) {
  color: #d21a25;
  background: linear-gradient(135deg, #e6f8ff, #bfeeff);
}

.mini-banners strong {
  display: block;
  font-size: 16px;
  text-shadow: 1px 1px #fff;
}

.mini-banners span {
  display: block;
  margin-top: 4px;
  color: #333;
  font-size: 12px;
}

.facility-table {
  margin-top: 8px;
  padding-bottom: 8px;
}

.facility-table h2 {
  margin: 0;
  padding: 7px 10px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(#42b1ff, #0074c9);
  border-bottom: 1px solid #005a9b;
}

.facility-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
}

.facility-photos img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 1px solid #8ebdd7;
  filter: saturate(0.84) contrast(0.94);
}

.facility-table table {
  width: calc(100% - 16px);
  margin: 0 8px;
  border-collapse: collapse;
  background: #fff;
}

.facility-table th,
.facility-table td {
  padding: 6px;
  border: 1px solid #9acbe8;
  white-space: nowrap;
}

.facility-table th {
  width: 78px;
  color: #005a98;
  background: #dff5ff;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 160px 1fr 250px;
  gap: 8px;
  padding: 8px;
  background: #eefaff;
}

.subpage-main {
  min-height: 560px;
}

.page-title {
  border: 2px solid #2a8ad7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 1px 1px 0 #fff inset, 0 1px 0 #9bd8ff;
}

.page-title h2 {
  margin: 0;
  padding: 10px 13px;
  color: #fff;
  font-size: 21px;
  text-shadow: 1px 1px #003d78;
  background: linear-gradient(#59bdff, #0075cb 50%, #0059af);
}

.page-title p {
  margin: 0;
  padding: 8px 12px;
  color: #555;
  font-weight: 700;
  background: #fffef1;
  border-top: 1px solid #b7ddf4;
}

.page-panel {
  margin-top: 8px;
  border: 2px solid #2a8ad7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 1px 1px 0 #fff inset, 0 1px 0 #9bd8ff;
}

.page-panel h3 {
  margin: 0;
  padding: 7px 10px;
  color: #003f7e;
  font-size: 15px;
  background: linear-gradient(#e9fbff, #a8e2ff);
  border-bottom: 1px solid #5aa6d8;
}

.page-panel .panel-body {
  padding: 12px;
  line-height: 1.65;
  color: #333;
}

.retro-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.retro-table th,
.retro-table td {
  padding: 8px;
  border: 1px solid #9acbe8;
  vertical-align: top;
}

.retro-table th {
  color: #005a98;
  background: #dff5ff;
  white-space: nowrap;
}

.retro-table .price {
  color: #e00048;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.price-table th,
.price-table td,
.price-table .price {
  text-align: center;
}

.price-table .none {
  color: #b0b0b0;
}

.price-notes {
  margin: 10px 0 0;
  padding: 10px 14px 10px 30px;
  background: #f2fbff;
  border: 1px solid #9acbe8;
}

.price-notes li {
  margin: 5px 0;
  color: #333;
  font-weight: 700;
  line-height: 1.6;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 5px 8px;
  color: #004b9a;
  font-weight: 700;
  background: #eef9ff;
  border: 1px solid #9acbe8;
}

.board-head em {
  font-style: normal;
  color: #e00048;
}

.board-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
}

.board-table th,
.board-table td {
  padding: 6px 5px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px dotted #a8cbe1;
}

.board-table thead th {
  color: #005a98;
  background: #dff5ff;
  border-top: 2px solid #2a8ad7;
  border-bottom: 1px solid #9acbe8;
}

.board-table thead th:nth-child(1) {
  width: 44px;
}

.board-table thead th:nth-child(3) {
  width: 74px;
}

.board-table thead th:nth-child(4) {
  width: 82px;
}

.board-table thead th:nth-child(5) {
  width: 48px;
}

.board-table tbody tr:hover {
  background: #fffce6;
}

.board-table .notice-row {
  font-weight: 700;
  background: #fff6d8;
}

.board-table .notice-row:hover {
  background: #fff0bf;
}

/* 제목만 줄이고 댓글 수와 N 표시는 항상 보이게 합니다. */
.board-table .subject {
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
}

.board-table .subject a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-table .subject .reply-count,
.board-table .subject .new-mark {
  flex: none;
}

.board-table .subject a:hover {
  color: #c60047;
  text-decoration: underline;
}

.board-table .writer {
  color: #345d80;
}

.board-table .hit {
  color: #777;
}

.board-table .empty-row {
  padding: 44px 10px;
  color: #777;
  font-weight: 700;
  text-align: center;
  white-space: normal;
}

.tag {
  display: inline-block;
  min-width: 34px;
  padding: 1px 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: #e00000;
  border-radius: 3px;
}

.reply-count {
  margin-left: 4px;
  color: #e00048;
  font-weight: 700;
}

.new-mark {
  margin-left: 4px;
  color: #ff6a00;
  font-size: 10px;
  font-weight: 900;
  vertical-align: top;
}

.board-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.paging {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.paging a {
  min-width: 22px;
  padding: 2px 6px;
  color: #005a98;
  font-weight: 700;
  text-align: center;
  background: #fff;
  border: 1px solid #9acbe8;
}

.paging a:hover {
  background: #fff9c9;
}

.paging .current {
  color: #fff;
  background: #0071cc;
  border-color: #004b9a;
}

.board-search {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  padding: 8px;
  background: #eef9ff;
  border: 1px solid #9acbe8;
}

.board-search select,
.board-search input {
  height: 26px;
  background: #fff;
  border: 2px inset #b5cadb;
}

.board-search input {
  width: 180px;
}

.board-search button {
  height: 26px;
  padding: 0 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(#42b2ff, #005cae);
  border: 1px solid #004781;
  border-radius: 4px;
}

.side-search form {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.side-search input {
  height: 24px;
  background: #fff;
  border: 2px inset #b5cadb;
}

.side-search button {
  height: 26px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(#42b2ff, #005cae);
  border: 1px solid #004781;
  border-radius: 4px;
  box-shadow: 1px 1px #a8e1ff inset;
}

.side-search a {
  color: #0060aa;
  font-weight: 700;
  text-align: center;
}

.side-search a:hover {
  color: #c60047;
  text-decoration: underline;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-strip.facility-focus {
  grid-template-columns: repeat(2, 1fr);
}

.photo-strip.facility-focus img {
  height: 150px;
}

.photo-strip figure {
  margin: 0;
  padding: 5px;
  background: #f5fcff;
  border: 1px solid #9acbe8;
}

.photo-strip img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 1px solid #8ebdd7;
  filter: saturate(0.82) contrast(0.94);
}

.photo-strip figcaption {
  padding-top: 5px;
  color: #005a98;
  font-weight: 700;
  text-align: center;
}

.greeting-sign {
  margin: 18px 0 4px;
  color: #1b3150;
  text-align: right;
}

.greeting-sign b {
  margin-left: 6px;
  font-size: 17px;
  letter-spacing: 2px;
}

.warning-note {
  margin: 8px 0 0;
  padding: 8px 10px;
  color: #d10000;
  font-weight: 700;
  background: #fff7b0;
  border: 2px dashed #ff5a00;
}

.retro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(#ff7dc1, #e71172 52%, #ff65ad);
  border: 1px solid #a10048;
  box-shadow: 1px 1px #ffd6eb inset;
}

.plain-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  color: #444;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(#fff, #e3eef6);
  border: 1px solid #9db6c8;
}

.view-updated {
  color: #c60047;
}

.plain-button:hover {
  color: #c60047;
}

.write-form {
  display: grid;
  gap: 8px;
}

.write-form label {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  align-items: center;
  color: #003f7e;
  font-weight: 700;
}

.write-form input[type="text"],
.write-form textarea {
  width: 100%;
  padding: 4px;
  background: #fff;
  border: 2px inset #b5cadb;
}

.write-form textarea {
  align-self: start;
  line-height: 1.6;
  resize: vertical;
}

.write-form .check-line {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.identity-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px;
  background: #eef9ff;
  border: 1px solid #9acbe8;
}

.identity-row label {
  grid-template-columns: 58px 1fr;
}

/* 자동 프로그램만 채우게 되는 함정 입력칸.
 * display:none 대신 화면 밖으로 밀어냅니다. 숨김 처리된 칸은 건너뛰는 봇이 있습니다. */
.bot-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-box:empty {
  display: none;
}

.form-note {
  margin: 0;
  color: #0060aa;
  font-weight: 700;
}

.admin-tag {
  padding: 1px 6px;
  color: #fff;
  font-size: 11px;
  background: #0071cc;
  border-radius: 3px;
}

.board-table .writer-admin {
  color: #0071cc;
  font-weight: 700;
}

.admin-box form,
.admin-status {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.admin-box label {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  color: #333;
  font-weight: 700;
}

.admin-box input {
  height: 24px;
  background: #fff;
  border: 2px inset #b5cadb;
}

.admin-status p {
  margin: 0;
  color: #0060aa;
  font-weight: 700;
  line-height: 1.5;
}

.admin-button {
  height: 26px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(#42b2ff, #005cae);
  border: 1px solid #004781;
  border-radius: 4px;
  box-shadow: 1px 1px #a8e1ff inset;
}

.comment-area {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 2px solid #2a8ad7;
}

.comment-head {
  margin: 0 0 8px;
  color: #003f7e;
  font-size: 14px;
}

.comment-head em {
  font-style: normal;
  color: #e00048;
}

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

.comment-item {
  padding: 8px 2px;
  border-bottom: 1px dotted #a8cbe1;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-weight: 700;
}

.comment-meta b {
  color: #345d80;
}

.comment-meta time {
  color: #888;
}

.comment-delete {
  margin-left: auto;
  padding: 1px 7px;
  color: #c60047;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d8a7bb;
}

.comment-delete:hover {
  background: #ffe9f2;
}

.comment-text {
  margin: 6px 0 0;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-empty {
  padding: 16px 0;
  color: #777;
  font-weight: 700;
  text-align: center;
}

.comment-form .comment-body-row {
  align-items: start;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #cfe7f7;
}

.cancel-link {
  color: #0060aa;
  font-weight: 700;
}

.cancel-link:hover {
  color: #c60047;
  text-decoration: underline;
}

.view-head {
  padding-bottom: 8px;
  border-bottom: 2px solid #2a8ad7;
}

.view-head h4 {
  margin: 0 0 6px;
  color: #003f7e;
  font-size: 16px;
}

.view-meta {
  display: flex;
  gap: 14px;
  margin: 0;
  color: #666;
  font-weight: 700;
}

.view-body {
  min-height: 180px;
  padding: 14px 4px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  border-bottom: 1px dotted #a8cbe1;
}

.health-box {
  min-height: 135px;
  background: #fff24f;
  border-color: #ffd000;
}

.health-box h2 {
  margin: 0;
  padding: 8px 6px;
  color: #ef0000;
  font-size: 18px;
  text-align: center;
  text-shadow: 1px 1px #fff;
}

.health-illust {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 12px 12px;
}

.bubble {
  display: grid;
  place-items: center;
  width: 94px;
  height: 58px;
  color: #333;
  font-weight: 700;
  text-align: center;
  background: #fff6c7;
  border: 2px solid #f0c800;
  border-radius: 50%;
}

.bath-man {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #ff4b83;
  font-size: 48px;
  background: #fff;
  border: 2px solid #f2b500;
  border-radius: 50%;
  animation: blink 1.1s steps(2, start) infinite;
}

.notice-box {
  border-color: #ff302a;
}

.notice-box h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 7px 9px;
  color: #fff;
  font-size: 15px;
  background: linear-gradient(#ff3d2a, #d60000);
}

.notice-box .more {
  display: inline-block;
  padding: 1px 6px;
  color: #d90000;
  font-size: 10px;
  font-weight: 700;
  background: #fff238;
  border: 1px solid #eeae00;
}

.notice-box .more:hover {
  background: #fff9c9;
}

.notice-box .empty-note {
  margin-left: -8px;
  color: #777;
  font-weight: 700;
  list-style: none;
}

.notice-box ul {
  margin: 0;
  padding: 8px 10px 10px 18px;
  background: #fff;
}

.notice-box li {
  margin: 6px 0;
  color: #333;
}

.notice-box a {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.notice-box time {
  float: right;
  color: #555;
}

.event-box {
  padding: 8px;
  color: #e80d68;
  text-align: center;
  background: #ffe6f3;
  border-color: #ff8cc2;
}

.event-box p {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
}

.event-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  color: #e1005a;
  text-shadow: 1px 1px #fff;
}

.event-box span {
  display: block;
  padding: 5px;
  color: #0072c2;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  border-radius: 4px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr 160px;
  align-items: center;
  min-height: 78px;
  padding: 10px 22px;
  color: #073152;
  background: linear-gradient(#a5e2ff, #4aa5df 55%, #1671b9);
  border-top: 2px solid #0265b3;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.8) inset;
}

.footer-brand {
  grid-row: 1 / span 2;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  text-shadow: 2px 2px #174b70;
}

.site-footer address,
.site-footer p {
  grid-column: 2;
  margin: 2px 0;
  font-style: normal;
  font-weight: 700;
}

.site-footer p {
  font-size: 10px;
  letter-spacing: 1px;
}

.footer-en {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: right;
  text-shadow: 1px 1px #174b70;
}

.footer-en span {
  display: block;
  margin-top: 3px;
  color: #e2f5ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes blink {
  50% {
    opacity: 0.38;
  }
}
