@font-face{font-family:"Black Han Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/black-han-sans-400.ttf") format("truetype")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/ibm-plex-mono-400.ttf") format("truetype")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/ibm-plex-mono-600.ttf") format("truetype")}
@font-face{font-family:"IBM Plex Sans KR";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-kr-400.ttf") format("truetype")}
@font-face{font-family:"IBM Plex Sans KR";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-kr-600.ttf") format("truetype")}
@font-face{font-family:"IBM Plex Sans KR";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/ibm-plex-sans-kr-700.ttf") format("truetype")}

:root {
  color-scheme: light;
  --paper: #f1e8d6;
  --paper2: #fbf6ec;
  --card: #fdfaf3;
  --ink: #231d16;
  --ink2: #5c5347;
  --muted: #8a8073;
  --line: #d7cab1;
  --line2: #e6dcc7;
  --accent: #d8442c;
  --accent-deep: #b3331e;
  --accent-wash: #f7e0d9;
  --bad: #c0392b;
  --bad-wash: #f7e0db;
  --sh-rgb: 35, 29, 22;
  --shadow: 6px 6px 0 rgba(var(--sh-rgb), .13);
  --shadow-sm: 3px 3px 0 rgba(var(--sh-rgb), .16);
  --disp: "Black Han Sans", "IBM Plex Sans KR", system-ui, sans-serif;
  --sans: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* 기존 선택자와의 호환용 별칭 */
  --fg: var(--ink);
  --border: var(--line);
  --bg: var(--paper);
  --surface: var(--card);
  --pin-bg: var(--accent-wash);
  --pin-border: var(--accent);
  --button-bg: var(--paper2);
  --primary-fg: #fff;
  --error: var(--bad);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #15120e;
  --paper2: #211b15;
  --card: #1b1611;
  --ink: #f1e7d5;
  --ink2: #cabda6;
  --muted: #90836e;
  --line: #39301f;
  --line2: #2b2318;
  --accent: #f4593c;
  --accent-deep: #c23d28;
  --accent-wash: #3a201a;
  --bad: #ff6f5e;
  --bad-wash: #2c1714;
  --sh-rgb: 0, 0, 0;
  --primary-fg: #fff;
}

* { box-sizing: border-box; }
html {
  min-width: 280px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -.005em;
}
button, input, textarea { font: inherit; color: inherit; }

#app {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 22px 16px 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 4px 18px;
  border-bottom: 2px solid var(--ink);
}
.site-header h1 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notice-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.notice-card::before,
.notice-card::after {
  position: absolute;
  top: 49px;
  width: 12px;
  height: 20px;
  content: "";
  background: var(--paper);
}
.notice-card::before {
  left: -1px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}
.notice-card::after {
  right: -1px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
}
.notice-card.pinned {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.notice-card.pinned::before,
.notice-card.pinned::after { border-color: var(--accent); }
.notice-card h2 {
  margin: 0 -18px 14px;
  padding: 0 30px 13px;
  border-bottom: 1px dashed var(--line);
  font-size: 1.08rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.notice-body {
  margin: 0 0 12px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.notice-meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
}
.empty-state {
  margin: 18px 0;
  border: 1px dashed var(--line);
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
}

.admin-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.admin-panel h2,
.admin-panel h3 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.admin-panel form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.admin-panel label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
}
.admin-panel input[type="text"],
.admin-panel input[type="password"],
.admin-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: var(--paper2);
  color: var(--ink);
}
.admin-panel textarea {
  min-height: 220px;
  resize: vertical;
  line-height: 1.65;
}

button {
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 12px;
  background: var(--paper2);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: var(--paper); }
button.primary {
  border-color: var(--accent-deep);
  background: var(--accent);
  color: var(--primary-fg);
}
button.primary:hover { background: var(--accent-deep); }
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 17px;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--ink);
  background: var(--paper2);
}
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.notice-actions button:last-child {
  border-color: var(--bad);
  color: var(--bad);
}
.site-footer {
  margin-top: 36px;
  text-align: center;
}
.admin-toggle {
  min-height: auto;
  border: 0;
  padding: 6px;
  background: none;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-error {
  min-height: 1.1em;
  color: var(--bad);
  font-size: .82rem;
}

@media (max-width: 360px) {
  #app { padding: 10px 10px 56px; }
  .site-header { gap: 8px; padding: 10px 2px 14px; }
  .site-header h1 {
    min-width: 0;
    font-size: 1.65rem;
    white-space: nowrap;
  }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .theme-toggle { flex-basis: 36px; width: 36px; height: 36px; min-height: 36px; }
  .notice-card { padding: 15px; box-shadow: 4px 4px 0 rgba(var(--sh-rgb), .13); }
  .notice-card h2 { margin-inline: -15px; padding-inline: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 주황 코트 시각 체계 */
:root {
  --paper: #f3f0e8;
  --paper2: #fffaf1;
  --card: #fffdf8;
  --ink: #172238;
  --ink2: #465168;
  --muted: #737b89;
  --line: #cbd0d8;
  --line2: #e5e2da;
  --accent: #f26a21;
  --accent-deep: #cf4d0c;
  --accent-wash: #fde3d2;
  --sh-rgb: 23, 34, 56;
  --court-line: rgba(23, 34, 56, .055);
  --sport-white: #fffaf1;
  --sport-navy: #172238;
  --sport-navy-deep: #0d1525;
}
:root[data-theme="dark"] {
  --paper: #0d1421;
  --paper2: #172133;
  --card: #111b2b;
  --ink: #f5f1e8;
  --ink2: #c1c7d2;
  --muted: #8d97a8;
  --line: #344158;
  --line2: #263247;
  --accent: #ff7a2f;
  --accent-deep: #e65713;
  --accent-wash: #3a2419;
  --sh-rgb: 0, 0, 0;
  --court-line: rgba(255, 255, 255, .045);
  --sport-white: #fffaf1;
  --sport-navy: #111b2b;
  --sport-navy-deep: #080d17;
}
body {
  background-image:
    linear-gradient(var(--court-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--court-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.site-header {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 20px 18px;
  border: 0;
  border-bottom: 7px solid var(--accent);
  border-radius: 16px 16px 8px 8px;
  color: var(--sport-white);
  background: linear-gradient(118deg, var(--sport-navy-deep), var(--sport-navy));
  box-shadow: 0 12px 28px rgba(var(--sh-rgb), .18);
}
.site-header h1,
.site-header .theme-toggle { position: relative; z-index: 1; }
.site-header .theme-toggle { border-color: var(--sport-white); color: var(--sport-white); }
.site-header .theme-toggle:hover { background: var(--sport-white); color: var(--sport-navy); }
.notice-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--sport-navy);
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(var(--sh-rgb), .11);
}
.notice-card::before,
.notice-card::after { content: none; }
.notice-card.pinned {
  border-color: var(--accent);
  border-top-color: var(--accent);
}
.notice-card h2 {
  position: relative;
  padding-right: 74px;
  border-bottom-style: solid;
}
.notice-card h2::after {
  position: absolute;
  top: 5px;
  right: 24px;
  width: 36px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: var(--accent);
}
.admin-panel {
  border: 1px solid var(--line);
  border-top: 4px solid var(--sport-navy);
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(var(--sh-rgb), .11);
}
.admin-panel input[type="text"],
.admin-panel input[type="password"],
.admin-panel textarea,
button,
.theme-toggle {
  border-radius: 8px;
}
button { box-shadow: none; }
button:active { transform: translateY(1px); box-shadow: none; }
.primary-button { box-shadow: inset 0 -3px 0 rgba(var(--sh-rgb), .16); }
.notice-meta { letter-spacing: .02em; }

@media (max-width: 520px) {
  .site-header {
    padding: 17px 12px;
    border-bottom-width: 6px;
    border-radius: 12px 12px 7px 7px;
  }
  .site-header::before { right: -62px; bottom: -94px; }
  .site-header::after { right: 70px; width: 20px; }
  .notice-card { box-shadow: 0 7px 17px rgba(var(--sh-rgb), .1); }
  .notice-card h2 { padding-right: 27px; }
  .notice-card h2::after { display: none; }
  .admin-panel input[type="text"],
  .admin-panel input[type="password"],
  .admin-panel textarea { font-size: 16px; }
}

/* 로댕0819 공통 브랜드 */
:root {
  --paper: #f4eee3;
  --paper2: #fbf7ef;
  --card: #fffdf8;
  --ink: #29231d;
  --ink2: #5e554a;
  --muted: #81776a;
  --line: #d8cdbb;
  --line2: #e9e0d2;
  --accent: #e66f2f;
  --accent-deep: #bd4f20;
  --accent-wash: #f8dfcf;
  --brand-banner: #eee2d0;
  --brand-feather: #29231d;
  --brand-highlight: rgba(255,255,255,.14);
  --leaf: #65704d;
  --sh-rgb: 41, 35, 29;
}
:root[data-theme="dark"] {
  --paper: #17130f;
  --paper2: #211b15;
  --card: #1d1813;
  --ink: #f2e8d8;
  --ink2: #cabdaa;
  --muted: #9d907c;
  --line: #423729;
  --line2: #30271e;
  --accent: #f17a38;
  --accent-deep: #d45b24;
  --accent-wash: #3b251a;
  --brand-banner: #241d17;
  --brand-feather: #f2e8d8;
  --brand-highlight: rgba(255,255,255,.08);
  --leaf: #89936c;
  --sh-rgb: 0, 0, 0;
}
body {
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--sh-rgb), .045) 1px, transparent 1.2px);
  background-size: 18px 18px;
}
#app { width: min(100%, 760px); padding-top: 16px; }
.site-header {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 12px 12px 4px 4px;
  color: var(--ink);
  background: var(--brand-banner);
  box-shadow: 0 8px 22px rgba(var(--sh-rgb), .09);
}
.site-header::before,
.site-header::after { display: none; }
.brand-row {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 72px;
  padding: 0 18px;
  border-bottom: 3px solid var(--accent);
}
.brand-home {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-home strong {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
.brand-art {
  position: relative;
  width: 104px;
  height: 42px;
  margin-left: auto;
  margin-right: 12px;
  flex: 0 0 104px;
}
.brand-art::before {
  position: absolute;
  left: 4px;
  top: 17px;
  width: 46px;
  height: 14px;
  border-top: 1px dashed var(--brand-feather);
  border-radius: 50%;
  content: "";
  opacity: .48;
  transform: rotate(-7deg);
}
.brand-art::after {
  position: absolute;
  right: 4px;
  top: 9px;
  width: 30px;
  height: 12px;
  border-radius: 100% 0 100% 0;
  content: "";
  background: var(--brand-feather);
  transform: rotate(-22deg) skewX(-12deg);
}
.brand-art i {
  position: absolute;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent-deep);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 3px 2px 0 var(--brand-highlight);
}
.brand-art i:nth-child(1) { left: 4px; }
.brand-art i:nth-child(2) { left: 17px; bottom: 8px; width: 12px; height: 12px; }
.brand-art i:nth-child(3) { left: 27px; bottom: 2px; width: 11px; height: 11px; }
.brand-art i:nth-child(3)::after {
  position: absolute;
  left: 3px;
  top: -8px;
  width: 11px;
  height: 6px;
  border-radius: 100% 0 100% 0;
  content: "";
  background: var(--leaf);
  transform: rotate(-22deg);
}
.theme-toggle {
  position: relative;
  z-index: 1;
  border-color: var(--ink);
  background: var(--paper2);
}
.site-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--card);
}
.site-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  border-right: 1px solid var(--line2);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.site-tabs a:last-child { border-right: 0; }
.site-tabs a:hover { color: var(--ink); background: var(--paper2); }
.site-tabs a.active {
  color: var(--ink);
  background: var(--accent-wash);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.page-heading { margin: 0 2px 18px; }
.page-heading h1 {
  margin: 0;
  font-family: var(--disp);
  font-size: clamp(1.65rem, 7vw, 2.25rem);
  font-weight: 400;
}
.notice-card {
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(var(--sh-rgb), .08);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}
.contact-link { color: inherit; text-decoration: none; }
.contact-link:hover { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 360px) {
  #app { padding: 10px 10px 52px; }
  .site-header { margin-bottom: 20px; padding: 0; }
  .brand-row { height: 58px; padding: 0 10px; }
  .brand-home { gap: 7px; }
  .brand-home strong { font-size: 1.04rem; }
  .brand-mark { width: 24px; height: 24px; flex-basis: 24px; }
  .brand-art { width: 70px; flex-basis: 70px; margin-right: 7px; }
  .brand-art::before { width: 31px; }
  .brand-art::after { width: 23px; right: 1px; }
  .brand-art i:nth-child(3) { display: none; }
  .theme-toggle { width: 34px; height: 34px; min-height: 34px; flex-basis: 34px; }
  .site-tabs a { min-height: 44px; font-size: .82rem; letter-spacing: -.03em; }
}

/* 첨부 시안 기준 바인더 화면 */
:root {
  --binder-head: #3b3935;
  --binder-head-ink: #fffaf1;
  --binder-plastic: rgba(255,255,255,.52);
  --binder-plastic-line: rgba(70,62,52,.34);
  --binder-sheet: #fbfaf5;
  --binder-ring: #4a4844;
  --binder-green: #55735c;
  --binder-gold: #e6a750;
  --binder-olive: #8f8c58;
  --binder-glass: rgba(255,255,255,.15);
  --binder-toggle: rgba(255,255,255,.08);
  --binder-on-accent: #fff;
}
:root[data-theme="dark"] {
  --binder-head: #211f1c;
  --binder-head-ink: #f7ecdc;
  --binder-plastic: rgba(58,50,41,.58);
  --binder-plastic-line: rgba(242,232,216,.24);
  --binder-sheet: #28221c;
  --binder-ring: #c4b9a8;
  --binder-green: #77927a;
}
#app { width: min(100%, 1160px); }
.portal-board {
  overflow: hidden;
  width: 100%;
  margin: 0 auto 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper2);
  box-shadow: 0 12px 34px rgba(var(--sh-rgb),.12);
}
@media (min-width: 641px) {
  .portal-board { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; }
}
.portal-board .site-header { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.brand-row {
  height: 146px;
  padding: 0 28px;
  color: var(--binder-head-ink);
  background-color: var(--binder-head);
  background-image: url("/assets/rodang-banner.png");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -20px 30px rgba(var(--sh-rgb),.13);
}
.brand-home { margin-left: 19%; color: var(--binder-head-ink); }
.brand-home .brand-mark { display: none; }
.brand-home strong { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: .06em; text-shadow: 0 2px 8px var(--binder-head); }
.brand-art { display: none; }
.brand-art::before { left: 2px; top: 21px; width: 150px; border-color: var(--binder-head-ink); }
.brand-art::after { right: 0; top: 3px; width: 48px; height: 19px; background: var(--binder-head-ink); }
.brand-art i { width: 6px; height: 6px; border: 0; background: var(--binder-gold); box-shadow: none; }
.brand-art i:nth-child(1) { left: 38px; bottom: 25px; }
.brand-art i:nth-child(2) { left: 102px; bottom: 33px; width: 8px; height: 8px; }
.brand-art i:nth-child(3) { left: 136px; bottom: 17px; width: 5px; height: 5px; }
.brand-art i:nth-child(3)::after { display: none; }
.theme-toggle { margin-left: auto; border-color: var(--binder-head-ink); background: var(--binder-toggle); color: var(--binder-head-ink); }
.site-tabs a { min-height: 60px; font-size: 1.08rem; }
.binder-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: auto;
  margin: 0;
  padding: 68px 54px 62px;
  background: var(--paper2);
}
.binder-pocket {
  position: relative;
  min-width: 0;
  min-height: 430px;
  border: 1px solid var(--binder-plastic-line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--binder-plastic);
  box-shadow: 0 10px 24px rgba(var(--sh-rgb),.11), inset 0 0 0 7px var(--binder-glass);
  text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.binder-pocket:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 28px rgba(var(--sh-rgb),.16); }
.binder-pocket.is-current { border-color: var(--accent); box-shadow: 0 12px 28px rgba(var(--sh-rgb),.14), inset 0 0 0 2px var(--accent-wash); }
.binder-pocket.is-current::after {
  position: absolute;
  top: 76px;
  right: 14px;
  z-index: 4;
  border-radius: 999px;
  padding: 5px 8px;
  content: "현재";
  color: var(--binder-on-accent);
  background: var(--accent);
  font-size: .7rem;
  font-weight: 700;
}
.binder-pocket:first-child.is-current::after { content: "중요"; }
.binder-rings {
  position: absolute;
  left: -9px;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 28px;
}
.binder-rings i {
  position: absolute;
  left: 0;
  width: 27px;
  height: 11px;
  border: 2px solid var(--binder-ring);
  border-radius: 50%;
  background: var(--paper2);
  box-shadow: inset 0 0 0 2px var(--line2);
}
.binder-rings i:nth-child(1) { top: 22%; }
.binder-rings i:nth-child(2) { top: 49%; }
.binder-rings i:nth-child(3) { top: 76%; }
.binder-sheet {
  position: absolute;
  inset: 26px 20px 22px 34px;
  overflow: hidden;
  border: 1px solid var(--binder-plastic-line);
  border-radius: 12px;
  background: var(--binder-sheet);
  box-shadow: 0 6px 14px rgba(var(--sh-rgb),.08);
}
.binder-label {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 3;
  min-width: 128px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 14px;
  background: var(--paper2);
  box-shadow: 0 7px 0 var(--ink);
  font-size: 1.02rem;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}
.binder-visual {
  position: absolute;
  left: 50%;
  top: 104px;
  width: 72%;
  height: 230px;
  border: 1.5px solid var(--ink);
  background-color: var(--paper2);
  transform: translateX(-50%);
}
.memo-visual {
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, var(--line2) 30px 31px);
}
.visual-clip {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 48px;
  height: 17px;
  border: 2px solid var(--ink);
  border-radius: 5px 5px 2px 2px;
  background: var(--binder-sheet);
  transform: translateX(-50%);
}
.visual-clip::before { position: absolute; left: 18px; top: -10px; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; content: ""; background: var(--binder-sheet); }
.visual-star { position: absolute; left: 13px; top: 12px; color: var(--accent); }
.visual-star::before { content: "★"; }
.visual-feather {
  position: absolute;
  right: 9px;
  bottom: 13px;
  width: 62px;
  height: 20px;
  border-radius: 100% 0 100% 0;
  background: var(--ink);
  transform: rotate(-58deg);
}
.draw-visual {
  background-image:
    linear-gradient(var(--line2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line2) 1px, transparent 1px);
  background-size: 28px 28px;
}
.draw-visual i { position: absolute; width: 74px; height: 88px; border: 2px solid var(--ink); background: var(--card); box-shadow: 0 4px 0 rgba(var(--sh-rgb),.18); }
.draw-visual i::before { position: absolute; left: 50%; top: -12px; width: 8px; height: 18px; border: 2px solid var(--ink); border-radius: 4px; content: ""; transform: translateX(-50%); }
.draw-visual i:nth-child(1) { left: 16px; top: 42px; background: var(--accent-wash); transform: rotate(-3deg); }
.draw-visual i:nth-child(2) { right: 16px; top: 31px; background: var(--ink); }
.draw-visual i:nth-child(3) { left: 50%; bottom: 17px; width: 112px; height: 96px; background: var(--card); transform: translateX(-50%); }
.progress-visual { border-bottom: 18px solid var(--binder-green); }
.progress-visual::before {
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 3px;
  height: 112px;
  content: "";
  background: var(--binder-green);
  box-shadow: 8px -18px 0 -1px var(--binder-green), -7px -38px 0 -1px var(--binder-green), 10px -58px 0 -1px var(--binder-green);
  transform: rotate(-7deg);
}
.progress-visual i { position: absolute; bottom: 14px; border: 1.5px solid var(--ink); background: var(--paper); }
.progress-visual i:nth-child(1) { left: 52px; width: 66px; height: 78px; }
.progress-visual i:nth-child(2) { right: 15px; width: 78px; height: 104px; }
.progress-visual i:nth-child(3) { left: 82px; bottom: 93px; width: 88px; height: 54px; }
.binder-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 13px; background: var(--ink); }
.binder-pocket:nth-child(2) .binder-strip { background: var(--accent); }
.binder-pocket:nth-child(3) .binder-strip { background: var(--binder-green); }
.overview-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  min-height: 56px;
  padding: 10px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink2);
  background: var(--paper2);
  font-size: .82rem;
}
.overview-footer a { color: inherit; text-decoration: none; }
.overview-footer a:hover { color: var(--accent-deep); text-decoration: underline; }
.back-home {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.back-home:hover { color: var(--accent-deep); text-decoration: underline; }
.page-heading,
#notice-list,
.empty-state,
.admin-panel { width: min(100%, 720px); margin-left: auto; margin-right: auto; }
.site-footer { width: min(100%, 1030px); margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  #app { padding-inline: 10px; }
  .portal-board { margin-bottom: 28px; border-radius: 16px; }
  .brand-row { height: 88px; padding: 0 10px; background-position:center; background-size:cover; }
  .brand-home { margin-left: 22%; }
  .brand-home strong { font-size: 1.2rem; letter-spacing: .03em; }
  .brand-art { width: 88px; flex-basis: 88px; margin-right: 4px; }
  .brand-art::before { width: 56px; }
  .brand-art::after { width: 29px; height: 12px; }
  .site-tabs a { min-height: 48px; font-size: .82rem; }
  .binder-overview { grid-template-columns: 1fr; gap: 13px; width: auto; margin: 0; padding: 22px 18px 24px; }
  .binder-pocket { min-height: 275px; border-radius: 14px; }
  .binder-sheet { inset: 14px 14px 13px 30px; }
  .binder-label { top: 13px; min-width: 112px; padding: 6px 11px; font-size: .88rem; box-shadow: 0 5px 0 var(--ink); }
  .binder-visual { top: 72px; width: 70%; height: 155px; }
  .draw-visual i { width: 50px; height: 58px; }
  .draw-visual i:nth-child(3) { width: 78px; height: 62px; }
  .progress-visual i:nth-child(1) { left: 47px; width: 48px; height: 53px; }
  .progress-visual i:nth-child(2) { width: 54px; height: 72px; }
  .progress-visual i:nth-child(3) { left: 69px; bottom: 65px; width: 64px; height: 38px; }
  .progress-visual::before { height: 76px; }
  .visual-feather { width: 46px; height: 15px; }
  .overview-footer { flex-wrap: wrap; gap: 5px 18px; min-height: 58px; padding: 9px 12px; font-size: .72rem; }
}
/* 통합 사이트 4개 메뉴 */
.site-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:360px){.site-tabs a{font-size:.75rem;padding-inline:2px}}
