:root {
  /* 구미호: 밤하늘 보랏빛 검정 · 한지빛 글자 · 붉은 여우 · 푸른 여우불 */
  --bg: #0d0a12;
  --bg-2: #15101c;
  --surface: #1d1626;
  --line: #2c2238;
  --line-2: #3f3150;
  --text: #f1e9dc;
  --muted: #ab9fb3;
  --faint: #74687f;
  --fox: #e0475a;
  --fox-hi: #f2667a;
  --fox-dim: #3a1622;
  --foxfire: #9db8ff;
  --foxfire-2: #c49bff;
  --moon: #f6ecd8;
  --ok: #7fd1a8;
  --bad: #ff8466;
  --warn: #f0b35a;
  --serif: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --radius: 6px;
  --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(157, 184, 255, .07), transparent 62%),
    radial-gradient(700px 420px at -5% 105%, rgba(224, 71, 90, .05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.6 var(--sans);
  word-break: keep-all;
  overflow-wrap: anywhere;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
main { flex: 1; padding: 32px 0 72px; outline: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ── 상단 ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 10, 18, .86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .06em; font-size: 17px; white-space: nowrap; }
.logo img { height: 32px; width: auto; display: block; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: var(--radius); color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--fox); border-radius: 0; }
.top-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 209, 168, .6); animation: pulse 2.4s infinite; }
.dot.off { background: var(--bad); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 209, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 168, 0); } }

/* ── 첫 화면 ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.hero-main {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 44px 40px 40px;
  background:
    radial-gradient(420px 320px at 72% 34%, rgba(196, 155, 255, .12), transparent 70%),
    linear-gradient(180deg, #140e1d, var(--bg-2));
  border-right: 1px solid var(--line);
  animation: rise .5s ease-out both;
}
.hero-main > :not(.hero-art) { position: relative; z-index: 1; }
/* 보름달 · 아홉 꼬리 · 여우불 */
.hero-art { position: absolute; right: -24px; bottom: 0; width: min(420px, 60%); pointer-events: none; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art .moon { filter: drop-shadow(0 0 24px rgba(246, 236, 216, .35)); }
/* 엠블럼: 달 아래쪽에 겹쳐 앉힌다. 꼬리 층은 턱 밑을 축으로 흔들리고, 얼굴 층은 위에서 고정 */
.hero-art .emblem { position: absolute; left: 56%; bottom: 0; width: 64%; aspect-ratio: 1; transform: translateX(-50%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(224, 71, 90, .25)); }
.hero-art .emblem img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; }
.hero-art .emblem-tails { transform-origin: 50% 64%; animation: tailSway 6s ease-in-out infinite; }
@keyframes tailSway {
  0%, 100% { transform: rotate(-1.6deg) scale(1, 1); }
  25% { transform: rotate(0deg) scale(1.012, 1.025); }
  50% { transform: rotate(1.6deg) scale(1, 1); }
  75% { transform: rotate(0deg) scale(1.012, 1.025); }
}
.wisp {
  position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, var(--foxfire) 45%, transparent 72%);
  box-shadow: 0 0 14px 5px rgba(157, 184, 255, .35);
  opacity: .8; animation: wisp 6.5s ease-in-out infinite; animation-delay: var(--d);
}
.wisp:nth-child(3n) { background: radial-gradient(circle, #fff 0 18%, var(--foxfire-2) 45%, transparent 72%); box-shadow: 0 0 14px 5px rgba(196, 155, 255, .35); }
@keyframes wisp {
  0% { transform: translate(0, 0) scale(.7); opacity: 0; }
  20% { opacity: .95; }
  50% { transform: translate(7px, -24px) scale(1); }
  80% { opacity: .6; }
  100% { transform: translate(-5px, -50px) scale(.5); opacity: 0; }
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fox-hi); margin: 0 0 14px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 6.4vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em; text-shadow: 0 0 28px rgba(224, 71, 90, .35); }
.hero p.lead { margin: 18px 0 28px; color: var(--muted); font-size: 16px; max-width: 34em; }
.connect { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.connect code {
  display: flex; align-items: center;
  padding: 0 14px; min-height: 44px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg); font-family: var(--mono); font-size: 14px; color: var(--text);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
  font-weight: 700; font-size: 14px; transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--fox); border-color: var(--fox); color: #fff; }
.btn.primary:hover { background: var(--fox-hi); border-color: var(--fox-hi); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--fox-hi); outline-offset: 2px; }

.hero-side { display: grid; grid-template-rows: auto 1fr; animation: rise .5s .08s ease-out both; }
.live { padding: 28px 28px 24px; border-bottom: 1px solid var(--line); }
.live-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.live-count { margin: 10px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.live-count b { font-family: var(--mono); font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.live-count span { font-family: var(--mono); color: var(--muted); font-size: 20px; }
.bar { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; margin: 12px 0 10px; }
.bar i { display: block; height: 100%; background: var(--fox); border-radius: 3px; transition: width .6s ease; }
.live-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.live-meta b { color: var(--text); font-weight: 600; }
.next-wipe { padding: 24px 28px 28px; display: flex; flex-direction: column; justify-content: center; }
.label { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.countdown { display: flex; gap: 6px; font-family: var(--mono); }
.countdown div { flex: 1; text-align: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 0 6px; }
.countdown b { display: block; font-size: 30px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; color: var(--faint); font-family: var(--sans); }
.next-wipe .when { margin-top: 10px; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; background: var(--surface); color: var(--muted); border: 1px solid var(--line-2); vertical-align: 1px; white-space: nowrap; }
.tag.full { background: var(--fox-dim); color: #ffc2cb; border-color: #5e2333; }
.tag.admin { background: var(--fox); color: #fff; border-color: var(--fox); }
.tag.demo { color: var(--warn); border-color: #5a4521; background: #2a2114; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── 섹션 ── */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2, .page-head h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.section-head a { font-size: 13px; color: var(--muted); }
.section-head a:hover { color: var(--text); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 20px 22px; }
.mini-list { list-style: none; margin: 0; padding: 6px 0; }
.mini-list li a { display: flex; gap: 10px; align-items: baseline; padding: 9px 18px; transition: background .12s; }
.mini-list li a:hover { background: var(--surface); }
.mini-list .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list .d { font-size: 12px; color: var(--faint); font-family: var(--mono); flex: none; }
.empty { padding: 28px 18px; color: var(--faint); text-align: center; font-size: 14px; }
.card-title { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 4px; font-weight: 800; font-size: 15px; }
.card-title a { font-size: 12px; font-weight: 600; color: var(--faint); }
.card-title a:hover { color: var(--text); }

/* ── 페이지 머리 ── */
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 28px; font-family: var(--serif); font-weight: 700; }
.card-title, .wipe-hero h2 { font-family: var(--serif); }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ── 서버 현황 ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 18px 20px; }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat .v { font-family: var(--mono); font-size: 26px; font-weight: 700; margin-top: 4px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .v.text { font-family: var(--sans); font-size: 18px; }
.stat .s { font-size: 12px; color: var(--faint); margin-top: 2px; }
.chart-card { margin-top: 16px; padding: 20px 22px 14px; }
.chart-card h3 { margin: 0; font-size: 15px; font-weight: 800; }
.chart-card .sub { font-size: 12px; color: var(--faint); }
.chart { position: relative; margin-top: 14px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--faint); font: 11px var(--mono); }
.chart .area { fill: url(#fillFox); }
.chart .line { fill: none; stroke: var(--fox-hi); stroke-width: 2; stroke-linejoin: round; }
.chart .cap { stroke: var(--faint); stroke-dasharray: 3 4; }
.chart .cap-t { fill: var(--faint); font: 11px var(--mono); }
.chart .hover-line { stroke: var(--muted); stroke-width: 1; }
.chart .hover-dot { fill: var(--fox-hi); stroke: var(--bg); stroke-width: 2; }
.tip { position: absolute; pointer-events: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 9px; font-size: 12px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.tip b { font-family: var(--mono); }
.uptime-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.uptime-days div { text-align: center; }
.uptime-days i { display: block; height: 36px; border-radius: 4px; background: var(--ok); opacity: .85; }
.uptime-days i.mid { background: var(--warn); }
.uptime-days i.low { background: var(--bad); }
.uptime-days i.none { background: var(--surface); opacity: 1; }
.uptime-days span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.uptime-days small { display: block; font-family: var(--mono); font-size: 10px; color: var(--faint); white-space: nowrap; letter-spacing: -.03em; }
.two { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

/* ── 초기화 ── */
.wipe-hero { padding: 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.wipe-hero h2 { margin: 6px 0 4px; font-size: 26px; font-weight: 800; }
.wipe-hero .countdown b { font-size: 40px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .date { font-family: var(--mono); font-weight: 700; }
.timeline .date small { display: block; font-weight: 400; color: var(--faint); font-size: 12px; }
.timeline .in { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.notes { margin: 0; padding-left: 18px; color: var(--muted); }
.notes li { margin: 6px 0; }

/* ── 게시판 ── */
.board-tools { display: flex; gap: 8px; align-items: center; }
.search { display: flex; }
.search input { width: 200px; }
.input, .textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 10px 12px; min-height: 40px; transition: border-color .15s;
}
.input:focus, .textarea:focus { border-color: var(--fox); outline: none; }
.textarea { min-height: 260px; resize: vertical; line-height: 1.7; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; color: var(--faint); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.table tr.row { cursor: pointer; transition: background .12s; }
.table tr.row:hover td { background: var(--bg-2); }
.table .c-no, .table .c-date, .table .c-views { font-family: var(--mono); color: var(--faint); font-size: 13px; white-space: nowrap; }
.table .c-no { width: 64px; }
.table .c-author { width: 140px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.table .c-date { width: 110px; }
.table .c-views { width: 64px; text-align: right; }
.table th.c-views { text-align: right; }
.cmt-n { color: var(--fox-hi); font-family: var(--mono); font-size: 12px; margin-left: 6px; }
.new { color: var(--fox-hi); font-size: 10px; font-weight: 800; margin-left: 4px; vertical-align: 2px; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.pager button { min-width: 34px; height: 34px; border-radius: var(--radius); border: 1px solid transparent; background: none; cursor: pointer; font-family: var(--mono); color: var(--muted); }
.pager button:hover { border-color: var(--line-2); color: var(--text); }
.pager button[aria-current="page"] { background: var(--fox); color: #fff; }

.post-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.post-head h1 { margin: 8px 0 10px; font-size: 26px; line-height: 1.35; font-weight: 700; font-family: var(--serif); }
.meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; }
.meta .num { color: var(--faint); }
.post-body { padding: 26px 0 32px; white-space: pre-wrap; font-size: 16px; line-height: 1.8; border-bottom: 1px solid var(--line); min-height: 160px; }
.post-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.comments { margin-top: 36px; }
.comments h2 { font-size: 16px; margin: 0 0 12px; }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment .who { display: flex; gap: 10px; align-items: center; font-size: 13px; }
.comment .who b { font-weight: 700; }
.comment .who .d { color: var(--faint); font-family: var(--mono); font-size: 12px; }
.comment .who button { margin-left: auto; background: none; border: 0; color: var(--faint); font-size: 12px; cursor: pointer; }
.comment .who button:hover { color: var(--bad); }
.comment p { margin: 6px 0 0; white-space: pre-wrap; }
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form .hint { font-size: 12px; color: var(--faint); font-weight: 400; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.error { color: var(--bad); font-size: 13px; min-height: 1em; margin: 0; }
.inline-confirm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-confirm .input { width: 180px; min-height: 34px; padding: 6px 10px; }

.notice-banner { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); background: #2a2114; border: 1px solid #5a4521; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 20px; }

/* ── 바닥 ── */
.foot { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: baseline; }
.foot-in div { display: flex; gap: 10px; align-items: baseline; }
.foot-in p { margin: 0; max-width: 560px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; font-size: 14px; z-index: 50; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }

.skeleton { color: var(--faint); padding: 40px 0; text-align: center; }

/* ── 작은 화면 ── */
@media (max-width: 1060px) {
  .top-live { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 24px; min-height: 0; }
  .hero-art { width: min(300px, 70%); right: -40px; opacity: .55; }
  .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two { grid-template-columns: 1fr; }
  .wipe-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .top-in { gap: 14px; height: auto; flex-wrap: wrap; padding: 10px 0 0; }
  .nav { width: 100%; margin: 0 -8px; padding-bottom: 6px; }
  .live, .next-wipe { padding: 22px 20px; }
  .table .c-no, .table .c-views, .table th.c-no, .table th.c-views { display: none; }
  .table .c-author { width: 90px; max-width: 90px; }
  .table .c-date { width: 64px; }
  .search input { width: 140px; }
  .timeline li { grid-template-columns: 1fr auto; }
  .timeline .in { grid-column: 1 / -1; }
  .form .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── 회원 (상단 메뉴 · 로그인/가입 화면) ── */
.top-auth { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-auth .btn { white-space: nowrap; }
.top-live:not([hidden]) + .top-auth { margin-left: 14px; }
.top-auth .who { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
/* 로그인·가입: 그림 + 입력 칸 2단 (디자인 시안) */
.auth-split { display: grid; grid-template-columns: minmax(0, 46.8%) 1fr; min-height: calc(100svh - 200px); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg); }
.auth-art { position: relative; min-height: 560px; background: linear-gradient(0deg, rgba(17, 10, 18, .75), transparent 24%), url('/img/login-art.webp') center / cover; }
.auth-cap { position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #f6deca; }
.auth-cap::before { content: ""; width: 28px; height: 1px; background: #efb3a0; }
.auth-cap span:last-child { margin-left: auto; }
.auth-pane { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 7% 84px; }
.auth-page { width: 100%; max-width: 425px; padding: 0; }
.auth-page h1 { margin: 18px 0 14px; font-size: clamp(36px, 4vw, 52px); line-height: 1.3; font-weight: 700; font-family: var(--serif); letter-spacing: -.04em; }
.auth-page > p { margin: 0 0 30px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.auth-page .step { display: flex; align-items: center; gap: 13px; margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #f27c80; }
.auth-page .step::before { content: ""; width: 26px; height: 3px; background: #de515d; }
/* 입력 부품을 오른쪽 칸 너비에 맞추고, 로그인 버튼은 시안처럼 붉게 */
.auth-page .u403-form, .auth-page .u404-w, .auth-page .u411-s { width: 100%; }
.auth-page .u403-go:not(.is-busy):not(.is-ok), .auth-page .u404-go:not(.is-ok) { width: 100%; }
.auth-page .u403-go:not(.is-ok) { background: #c53d50; color: #fff5ee; box-shadow: inset 0 0 0 1px #d65363; }
.auth-page .u403-go:not(.is-ok):hover { background: #d24a5d; }
.auth-alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--text); font-weight: 700; box-shadow: inset 0 -1px 0 var(--fox); }
.auth-foot { position: absolute; left: 7%; right: 5%; bottom: 10px; display: flex; justify-content: space-between; padding: 16px 0 4px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--faint); }
@media (max-width: 760px) {
  .auth-split { display: flex; flex-direction: column; min-height: 0; }
  .auth-art { min-height: 0; height: clamp(180px, 28svh, 280px); background-position: center, center 63%; }
  .auth-cap { left: 16px; right: 16px; bottom: 12px; font-size: 9px; gap: 8px; }
  .auth-cap::before { width: 16px; }
  .auth-pane { padding: 36px 18px 76px; }
  .auth-page .step { font-size: 10px; letter-spacing: .14em; }
  .auth-page > p { font-size: 14px; }
  .auth-foot { left: 18px; right: 18px; font-size: 9px; }
}
.login-hint { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; margin-top: 16px; }
@media (max-width: 640px) {
  .logo { font-size: 15px; letter-spacing: .03em; gap: 8px; }
  .logo img { height: 24px; }
  .top-auth { order: 1; }
  .nav { order: 2; }
  .top-auth .who { display: none; }
}
