:root{
  --ink:#122A2C;
  --sand:#F7F1E2;
  --ink-text:#17262A;
  --muted:#5E7270;
  --muted-2:#8FA6A2;
  --heart:#E85C7A;
  --stroke: rgba(247,241,226,0.14);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--ink);
  color:var(--sand);
  font-family:'Noto Sans KR', sans-serif;
  line-height:1.6;
}
.mono{ font-family:'JetBrains Mono', monospace; letter-spacing:.06em; }
a{ color:inherit; }

.backbtn{
  position:fixed;
  top:calc(14px + env(safe-area-inset-top));
  left:calc(14px + env(safe-area-inset-left));
  z-index:100;
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(18,42,44,0.85);
  border:1px solid var(--stroke);
  backdrop-filter: blur(6px);
  color:var(--sand); font-size:17px;
  text-decoration:none;
  box-shadow:0 3px 10px rgba(0,0,0,0.3);
}

.hero{
  position:relative;
  padding:64px 24px 24px;
  max-width:720px; margin:0 auto;
  text-align:center;
}
.hero .eyebrow{ font-size:11.5px; color:var(--muted-2); text-transform:uppercase; margin-bottom:14px; }
.hero h1{
  font-family:'Noto Serif KR', serif;
  font-weight:900;
  font-size:clamp(22px, 4.4vw, 34px);
  margin:0 0 12px;
  line-height:1.35;
}
.hero h1 span{ color:var(--heart); }
.hero p{ color:var(--muted-2); font-size:13.5px; max-width:520px; margin:0 auto; }

.hotline{
  max-width:520px; margin:0 auto 26px; padding:22px 24px;
  text-align:center;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(232,92,122,0.16), rgba(232,92,122,0.05));
  border:1px solid rgba(232,92,122,0.35);
}
.hotline-label{ font-size:11.5px; color:var(--muted-2); text-transform:uppercase; margin-bottom:10px; }
.hotline-number{
  display:inline-block;
  font-size:clamp(22px, 5vw, 30px); font-weight:700;
  color:#fff; text-decoration:none;
  background:var(--heart);
  padding:10px 22px; border-radius:999px;
  box-shadow:0 6px 18px rgba(232,92,122,0.35);
}
.hotline-sub{ margin-top:12px; font-size:11.5px; color:var(--muted-2); line-height:1.6; }

.searchwrap{ max-width:520px; margin:0 auto 20px; padding:0 24px; }
.search{
  width:100%; padding:12px 18px;
  border-radius:999px; border:1px solid var(--stroke);
  background:rgba(247,241,226,0.06); color:var(--sand);
  font-family:inherit; font-size:14px;
}
.search::placeholder{ color:var(--muted-2); }
.search:focus{ outline:none; border-color:var(--heart); }

main{ max-width:760px; margin:0 auto 60px; padding:0 24px; }

.continent-title{
  font-family:'Noto Serif KR', serif; font-size:15px; font-weight:700;
  color:var(--muted-2); margin:28px 0 12px; padding-bottom:6px;
  border-bottom:1px solid var(--stroke);
}
.continent-title:first-child{ margin-top:0; }

.country-card{
  background:var(--sand); color:var(--ink-text);
  border-radius:14px; padding:16px 18px;
  margin-bottom:10px;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px;
}
.country-card .name{
  flex:1 1 140px;
  font-family:'Noto Serif KR', serif; font-weight:700; font-size:15px;
}
.country-card .name .city{ display:block; font-size:11px; font-weight:500; color:#5E6B62; margin-top:2px; }
.country-card .numbers{ display:flex; flex-wrap:wrap; gap:8px; }
.numlink{
  display:flex; flex-direction:column; align-items:flex-start;
  text-decoration:none;
  background:#EFE5CE; border:1px solid #DFCFA0;
  padding:6px 12px; border-radius:10px;
  min-width:128px;
}
.numlink .k{ font-size:9.5px; font-weight:700; color:#7A5E2A; text-transform:uppercase; letter-spacing:.03em; }
.numlink .v{ font-family:'JetBrains Mono', monospace; font-size:12.5px; font-weight:700; color:#2A2318; }
.numlink.urgent{ background:rgba(232,92,122,0.16); border-color:rgba(232,92,122,0.45); }
.numlink.urgent .k{ color:#B23A57; }

.no-result{ text-align:center; color:var(--muted-2); padding:30px 0; font-size:13.5px; }

footer{ max-width:760px; margin:20px auto 70px; padding:0 24px; text-align:center; color:var(--muted-2); font-size:11.5px; line-height:1.8; }
footer .line{ width:60px; height:1px; background:var(--stroke); margin:0 auto 22px; }
footer a{ color:var(--heart); text-decoration:underline; }
