/* 입국노트 — 밝은 공항 테마 (흰 배경 + 하늘 그라데이션, 공항 안내판 색) */
:root {
  --bg: #ffffff;
  --sky-1: #e8f1fb;
  --sky-2: #f6f9fd;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --line: #e3e8ee;
  --ink: #15202b;
  --muted: #65727f;
  --navy: #0b2545;       /* 공항 안내판 남색 */
  --navy-soft: #e2ecf7;
  --yellow: #ffcc1f;     /* 안내판 노란 포인트 */
  --green: #15803d;  --green-soft: #e7f6ec;
  --amber: #b45309;  --amber-soft: #fff4e0;
  --red: #b91c1c;    --red-soft: #fdecec;
  --blue: #1d4ed8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 30, 50, .05), 0 6px 20px rgba(15, 30, 50, .06);
  --head: "Pretendard", "IBM Plex Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --text: "Pretendard", "IBM Plex Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.7; word-break: keep-all;
  background: var(--bg);
  background: #f8fafc;
}
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* 상단 안내 띠 */
.notice { background: var(--navy); color: #dbe6f5; font-size: 13px; text-align: center; padding: 7px 16px; line-height: 1.5; }

/* 헤더 */
header.top { background: rgba(255,255,255,.75); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo img { border-radius: 8px; }
.logo span { color: var(--navy); }
.top-right { display: flex; align-items: center; gap: 14px; }
.clock { font-family: var(--mono); color: var(--navy); font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
.clock small { color: var(--muted); font-size: 11px; margin-right: 5px; }
header nav { display: flex; gap: 16px; }
header nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
header nav a:hover { color: var(--navy); }

/* 제목 */
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; }
h1 { font-size: clamp(27px, 6vw, 40px); line-height: 1.3; margin: 40px 0 12px; font-weight: 800; }
h1 .hl { color: var(--navy); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); }
h2 { font-size: 20px; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.lead { color: #3b4753; font-size: 17px; margin: 0; }
.hero-points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: #3b4753; box-shadow: var(--shadow); }
.hero-points b { color: var(--navy); }
section { margin: 32px 0; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin: 0 0 6px; }

/* 패널 */
.card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.panel-head h2 { margin: 0; }
.panel-head .tag { font-size: 12px; color: var(--navy); background: var(--navy-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; font-weight: 600; }

/* 나라 목록 (공항 안내판) */
.board { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.board-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 10px 16px; }
.board-title h3 { margin: 0; font-size: 15px; color: #fff; }
.board-title span { font-size: 12px; color: #c7d5e8; }
.board-head, .board-row { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) 92px; gap: 12px; align-items: center; padding: 12px 16px; }
.board-head { font-size: 12px; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); padding-top: 8px; padding-bottom: 8px; }
.board-row { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; transition: background .12s; }
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: var(--navy-soft); }
.code { font-family: var(--mono); font-size: 15px; color: var(--navy); background: var(--navy-soft); border-radius: 6px; text-align: center; padding: 4px 0; letter-spacing: .06em; }
.dest { font-weight: 700; }
.dest .flag { margin-right: 6px; }
.form-name { color: #3b4753; }
.opens { color: var(--blue); font-size: 14px; }
.status { font-size: 12.5px; font-weight: 700; text-align: center; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.st-req { color: var(--green); background: var(--green-soft); }
.st-adv { color: var(--amber); background: var(--amber-soft); }
.st-opt { color: var(--muted); background: var(--surface-2); }
.st-fee { color: var(--red); background: var(--red-soft); margin-top: 4px; display: block; }
.status-cell { display: flex; flex-direction: column; align-items: stretch; }
.ko-tag { font-size: 11px; font-weight: 700; color: var(--navy); background: var(--yellow); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.search { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.search::placeholder { color: #98a2ad; }
.search:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.region { margin-bottom: 16px; }

/* 계산기 */
.calc .fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.calc .fields .full { grid-column: 1 / -1; }
.calc-fields { margin-top: 10px; }
.calc label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.calc select, .calc input, .form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.calc select:focus, .calc input:focus, .form :focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.calc-out { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 16px; }
.calc-dl { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 12px 0 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calc-dl dt, .calc-dl dd { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.calc-dl dt { color: var(--muted); font-size: 14px; background: var(--surface-2); }
.calc-dl dd { text-align: right; font-family: var(--mono); font-size: 16px; }
.calc-dl dd strong { color: var(--navy); font-weight: 400; }
.calc-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.calc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14.5px; }
.badge-green { color: var(--green); background: var(--green-soft); }
.badge-amber { color: var(--amber); background: var(--amber-soft); }
.badge-gray { color: var(--muted); background: var(--surface-2); }
.badge-red { color: var(--red); background: var(--red-soft); }
.calc-anytime { margin-top: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; flex: 1 1 auto; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #123a6b; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* 나라 페이지 */
.crumb { font-size: 13px; margin-top: 22px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.fids { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.fids-top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--navy); color: #fff; }
.fids-top .code { font-size: 18px; padding: 4px 10px; background: rgba(255,255,255,.14); color: var(--yellow); }
.fids-top .where { font-size: 18px; font-weight: 700; }
.fids-top .status { background: rgba(255,255,255,.14); color: #fff; }
.fids-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.fids-cell { padding: 12px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fids-cell b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.fids-cell span { font-weight: 700; font-size: 15px; }
.gate { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--navy); }
.gate .domain { font-family: var(--mono); font-size: 17px; color: var(--navy); word-break: break-all; background: var(--navy-soft); border-radius: 8px; padding: 10px 12px; }
.basis { margin: 0; font-size: 13.5px; background: var(--surface-2); border-left: 3px solid var(--yellow); border-radius: 8px; padding: 10px 12px; color: #3b4753; }
ol.steps { padding-left: 0; margin: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 9px 0 9px 42px; border-bottom: 1px solid var(--line); }
ol.steps li:last-child { border-bottom: 0; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
ul.tips { padding-left: 0; margin: 0; list-style: none; }
ul.tips li { position: relative; padding: 6px 0 6px 20px; }
ul.tips li::before { content: "•"; position: absolute; left: 4px; color: var(--navy); font-weight: 700; }
.warn { background: var(--amber-soft); border: 1px solid #f3dcb2; border-radius: var(--radius); padding: 16px 18px; }
.warn h2 { font-size: 17px; margin-bottom: 6px; color: var(--amber); }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist label:last-of-type { border-bottom: 0; }
.checklist input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }
.check-count { font-family: var(--mono); font-size: 15px; color: var(--navy); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 700; }
details summary::marker { color: var(--navy); }
details p { margin: 8px 0 0; color: #3b4753; }

/* 가이드 */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.guide-list a { display: block; padding: 13px 16px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.guide-list a::after { content: " →"; color: var(--navy); }
.guide-list a:hover { border-color: var(--navy); }
.stack { display: grid; gap: 10px; }
.stack .card { text-decoration: none; color: var(--ink); display: block; }
.stack a.card:hover { border-color: var(--navy); }
.stack .card p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.article h2 { margin-top: 30px; color: var(--navy); }
.article p, .article li { font-size: 16.5px; }

/* 표 */
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.compare th, table.compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { color: var(--muted); font-weight: 600; font-size: 13px; }
table.compare tr.group th { background: var(--navy-soft); color: var(--navy); font-size: 13.5px; }
table.compare code { font-family: var(--mono); color: var(--blue); word-break: break-all; font-size: 13px; }

/* 번역표 */
.fg-sec { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0; background: var(--surface); }
.fg-sec > summary { padding: 12px 14px; }
.fg-sec[open] > summary { border-bottom: 1px solid var(--line); color: var(--navy); }
.fg-n { font-size: 12px; color: var(--muted); margin-left: 6px; font-weight: 400; }
.fg-head, .fg-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.6fr); gap: 12px; padding: 10px 14px; }
.fg-head.fg4, .fg-row.fg4 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.5fr); }
.fg-head { font-size: 12px; color: var(--muted); background: var(--surface-2); }
.fg-row { border-top: 1px solid var(--line); }
.fg-label { font-family: var(--mono); color: var(--navy); font-size: 14.5px; word-break: break-word; }
.fg-ui { font-size: 14px; color: var(--muted); }
.fg-ui-tag { display: none; }
.fg-ko { font-weight: 700; font-size: 14.5px; }
.fg-how { font-size: 14.5px; color: #3b4753; }
.req { font-size: 11px; color: var(--red); background: var(--red-soft); border-radius: 4px; padding: 0 5px; margin-left: 4px; white-space: nowrap; font-family: var(--text); }

/* 제휴·양식 */
.aff { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.aff a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface); }
.aff a:hover { border-color: var(--navy); }
.aff p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.form { display: grid; gap: 6px; }
.form label { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.form textarea { resize: vertical; }
.form button { margin-top: 10px; }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; font-size: 13.5px; color: var(--muted); background: var(--surface-2); }
footer a { color: var(--muted); }

@media (max-width: 720px) {
  .board-head { display: none; }
  .board-row { grid-template-columns: 54px minmax(0, 1fr) 72px; grid-template-areas: "code dest status" "code form status" "code opens status"; row-gap: 2px; column-gap: 12px; padding: 12px 14px; }
  .board-row .code { grid-area: code; align-self: start; }
  .board-row .dest { grid-area: dest; }
  .board-row .form-name { grid-area: form; font-size: 13.5px; }
  .board-row .opens { grid-area: opens; font-size: 13px; }
  .board-row .status-cell { grid-area: status; align-self: center; }
  .status { font-size: 12px; padding: 4px 6px; }
  header nav a:not(:last-child) { display: none; }
  .calc .fields { grid-template-columns: 1fr; }
  table.compare th:nth-child(2), table.compare td:nth-child(2) { display: none; }
  .fg-head { display: none; }
  .fg-row, .fg-row.fg4 { grid-template-columns: 1fr; gap: 2px; }
  .fg-ko::before { content: "→ "; color: var(--muted); }
  .fg-ui-tag { display: inline; font-size: 11px; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-right: 6px; }
  .panel-head { flex-wrap: wrap; }
}


/* ===== AI Studio 라운지 디자인 이식 ===== */
body { background: #f8fafc; position: relative; }
.bg-airport { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-airport::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 520px; background: url("airport.jpg") center top / cover no-repeat; opacity: .35; mix-blend-mode: multiply; filter: contrast(1.05); }
.bg-airport::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,23,44,.30) 0, rgba(248,250,252,.75) 35%, #f8fafc 65%),
    linear-gradient(to right, rgba(11,37,69,.025) 1px, transparent 1px), linear-gradient(to bottom, rgba(11,37,69,.025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px; }
@media (min-width: 640px) { .bg-airport::before { height: 680px; } }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; flex: none; }
.dot-amber { background: #f59e0b; } .dot-green { background: #10b981; } .dot-blue { background: #3b82f6; } .dot-navy { background: var(--navy); }
.ico { width: 18px; height: 18px; flex: none; }

.notice { background: #07172c; color: #cbd5e1; border-bottom: 1px solid #122b4d; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 500; }
.notice strong { color: #fff; font-weight: 600; } .notice .sep { color: #64748b; } .notice .dot { margin: 0; }
header.top { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226,232,240,.8); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
header.top .wrap { min-height: 60px; }
.top-right { gap: 10px; }
.clock { display: inline-flex; align-items: center; gap: 4px; background: rgba(241,245,249,.9); border: 1px solid rgba(226,232,240,.8); border-radius: 8px; padding: 4px 8px; font-size: 13px; }
.clock small { margin-right: 2px; }
.clock .dot { width: 6px; height: 6px; margin-right: 2px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
header nav { gap: 6px; }
header nav a { padding: 4px 6px; }
header nav a.nav-warn { color: #92400e; background: #fffbeb; border: 1px solid rgba(252,211,77,.6); border-radius: 8px; font-weight: 700; font-size: 12px; white-space: nowrap; padding: 5px 9px; }
header nav a.nav-warn:hover { background: #fef3c7; }

.hero { margin-top: 28px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); padding: 22px 22px 20px; }
.hero h1 { margin: 0 0 10px; }
.hero .lead { font-size: 16px; }
h1 .hl { background: linear-gradient(transparent 68%, #fed766 68%, #ffd152 92%, transparent 92%); }
.hero-points li { display: inline-flex; align-items: center; background: rgba(255,255,255,.9); border-radius: 10px; padding: 7px 12px; font-weight: 500; }
.hero-points .dot { margin-right: 8px; }

.card, .panel, .board, .fids { box-shadow: 0 4px 20px -2px rgba(11,37,69,.06), 0 1px 3px rgba(11,37,69,.03); border-radius: 16px; }
.calc { padding: 0; overflow: hidden; }
.calc .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; background: linear-gradient(90deg, #0b2545, #123863); color: #fff; }
.calc .bar h2 { margin: 0; font-size: 17px; color: #fff; display: flex; align-items: center; }
.calc .bar .tag { background: rgba(255,255,255,.12); color: #fcd34d; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; border-radius: 6px; padding: 3px 9px; }
.calc-body { padding: 20px; }
.calc select, .calc input { background: #f8fafc; border-color: #cbd5e1; border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.calc select:focus, .calc input:focus { background: #fff; outline-color: var(--navy); }
.calc-anytime { background: rgba(236,253,245,.9); border: 1px solid rgba(167,243,208,.9); color: #064e3b; border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.calc-anytime p { margin: 0; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; }
.btn-sm { min-height: 38px; font-size: 13.5px; padding: 0 14px; flex: 0 0 auto; }
.badge { padding: 12px 14px; border-radius: 12px; width: 100%; font-size: 14.5px; border: 1px solid transparent; }
.badge-green { background: rgba(236,253,245,.9); border-color: #a7f3d0; color: #065f46; }
.badge-amber { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.badge-gray { background: #f1f5f9; border-color: #e2e8f0; color: #334155; }
.badge-red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 12px; margin-bottom: 14px; }
.sec-head h2, section > h2 { font-size: 22px; font-weight: 800; margin: 0; display: flex; align-items: center; }
.sec-head .eyebrow { display: flex; align-items: center; font-family: var(--mono); font-weight: 600; letter-spacing: .12em; margin-bottom: 2px; }
.sec-head p { margin: 0 0 6px; }
.search-wrap { position: relative; margin-bottom: 18px; }
.search-wrap .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; width: 20px; height: 20px; }
.search { padding-left: 44px; border-color: #cbd5e1; margin: 0; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.board { overflow: hidden; margin-bottom: 20px; }
.board-title { background: linear-gradient(135deg, #07172c, #0b2545); padding: 12px 18px; border-bottom: 1px solid #13325c; }
.board-title h3 { display: flex; align-items: center; gap: 9px; }
.board-title .ico { color: #fcd34d; width: 16px; height: 16px; }
.board-title span { color: #bae6fd; font-family: var(--mono); }
.board-head { padding: 9px 18px; font-weight: 600; }
.board-row { padding: 13px 18px; }
.board-row:hover { background: rgba(240,249,255,.7); }
.code { font-size: 12px; font-weight: 700; padding: 5px 0; border: 1px solid rgba(11,37,69,.15); background: rgba(11,37,69,.08); }
.board-row:hover .code { background: var(--navy); color: #fff; }
.ko-tag { background: #fcd34d; }
.opens { font-size: 13.5px; color: #1d4ed8; }
.status { font-size: 12px; padding: 3px 10px; }
.st-req { background: rgba(209,250,229,.8); border: 1px solid rgba(110,231,183,.8); color: #065f46; }
.st-opt { background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; }
.st-adv { border: 1px solid #fde68a; }

.warn-home { display: flex; gap: 14px; background: rgba(255,251,235,.9); border-color: rgba(253,230,138,.9); padding: 22px; }
.warn-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.25); color: #92400e; display: flex; align-items: center; justify-content: center; flex: none; }
.warn-ico .ico { width: 20px; height: 20px; }
.warn-home h2 { color: #451a03; font-size: 17px; }
.warn-home p { margin: 0 0 8px; color: #78350f; font-size: 14.5px; }
.warn-home strong { text-decoration: underline; text-decoration-color: #fbbf24; text-decoration-thickness: 2px; }
.warn-links { display: flex; flex-wrap: wrap; gap: 8px; }
.warn-links a { background: rgba(254,243,199,.8); border: 1px solid rgba(252,211,77,.6); color: #78350f; border-radius: 8px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.warn-links a:hover { background: #fde68a; }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; text-decoration: none; color: #1e293b; font-weight: 600; font-size: 15px; line-height: 1.45; transition: border-color .15s; }
.guide-grid a small { display: block; font-family: var(--mono); font-size: 11px; color: #64748b; font-weight: 600; margin-bottom: 4px; letter-spacing: .04em; }
.guide-grid a:hover { border-color: var(--navy); color: var(--navy); }
.guide-grid .arr { color: #94a3b8; }
.guide-grid a:hover .arr { color: var(--navy); }

footer { background: rgba(255,255,255,.7); backdrop-filter: blur(6px); margin-top: 70px; }

@media (max-width: 720px) {
  .clock { display: none; }
  header nav a:not(.nav-warn):not(:first-child) { display: none; }
  header nav a:first-child { display: inline-block; }
  .hero { padding: 20px 18px 18px; }
  .hero-points li { font-size: 13px; padding: 6px 11px; }
  .guide-grid { grid-template-columns: 1fr; }
  .warn-home { padding: 18px; }
  .board-row { grid-template-columns: 54px minmax(0, 1fr) 64px; }
}
@media (max-width: 420px) { .warn-ico { display: none; } }
.clock { flex-wrap: nowrap; white-space: nowrap; }
