:root {
  --ink: #16283c;
  --accent: #1f4e79;
  --bg: #f6f8fa;
  --card: #ffffff;
  --line: #dde4ea;
  --muted: #68788a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; background: var(--accent); color: #fff;
}
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.badge {
  background: #ffb020; color: #222; border-radius: 10px;
  padding: 1px 8px; font-size: 12px; margin-left: 6px; vertical-align: middle;
}
.badge-premium {
  background: #eef3f8; color: var(--accent); border: 1px solid var(--line);
  border-radius: 10px; padding: 1px 8px; font-size: 12px; font-weight: 400;
}
.header-note { font-size: 13px; opacity: .85; }
main { max-width: 980px; margin: 0 auto; padding: 28px 18px 40px; }
.hero h1 { font-size: 30px; line-height: 1.3; margin: 10px 0; }
.hero-google { text-align: center; padding: 64px 0 40px; }
.hero-logo { font-size: 44px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.hero-tag { color: var(--muted); margin: 14px 0 26px; }
.search-box.google { max-width: 620px; margin: 0 auto; text-align: left; }
.search-box.google input {
  border-radius: 26px; padding: 15px 22px; font-size: 16.5px;
  box-shadow: 0 2px 12px rgba(20, 40, 60, .10); border: 1px solid var(--line);
}
.search-box.google input:focus { outline: 2px solid var(--accent); }
.search-box.google #search-results { top: 58px; border-radius: 14px; }
.hero-chips { margin-top: 18px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.chip-link {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 5px 13px; font-size: 13.5px; text-decoration: none; font-weight: 600;
}
.chip-link:hover { background: #eef4fa; }
.paywall { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.paywall-blur {
  filter: blur(5px); opacity: .55; pointer-events: none; user-select: none;
  padding: 14px 16px; max-height: 300px; overflow: hidden;
}
.paywall-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, rgba(246,248,250,.25), rgba(246,248,250,.88) 55%);
  padding: 20px;
}
.paywall-overlay .lock { font-size: 30px; }
.pay-btn {
  background: var(--accent); color: #fff; border: none; border-radius: 10px;
  padding: 12px 22px; font-size: 15.5px; font-weight: 700; cursor: pointer; margin-top: 6px;
}
.pay-btn:hover { filter: brightness(1.12); }
.search-box { position: relative; margin: 18px 0 6px; }
.search-box input {
  width: 100%; padding: 13px 15px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
#search-results {
  position: absolute; left: 0; right: 0; top: 52px; z-index: 5;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 40, 60, .12);
}
#search-results:empty { display: none; }
.search-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px;
}
.search-row.clickable { cursor: pointer; }
.search-row.clickable:hover { background: #eef4fa; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px; margin: 14px 0 30px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 15px 16px;
}
.card-top { display: flex; justify-content: space-between; font-size: 16px; }
.card-name { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.oneliner { font-size: 14px; margin: 6px 0 10px; }
.oneliner-big {
  font-size: 19px; font-weight: 600; background: #fff;
  border-left: 4px solid var(--accent); border-radius: 6px;
  padding: 14px 16px; margin: 16px 0;
}
.card-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.table th, .table td { padding: 9px 12px; border-top: 1px solid var(--line); text-align: left; font-size: 14px; }
.table th { background: var(--accent); color: #fff; border-top: none; }
.stock-head h1 { margin-bottom: 2px; }
.stock-name { font-size: 17px; color: var(--muted); font-weight: 400; }
.score-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.score-card { background: var(--accent); color: #fff; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.score-card span { font-size: 13px; opacity: .85; }
.score-card strong { font-size: 24px; }
.score-card em { font-style: normal; font-size: 14px; }
section { margin: 26px 0; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.kv { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; display: flex; flex-direction: column; }
.kv span { font-size: 12.5px; color: var(--muted); }
.kv strong { font-size: 17px; }
.items { list-style: none; padding: 0; margin: 6px 0 14px; }
.item-row {
  display: flex; gap: 10px; align-items: baseline; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; font-size: 14px;
}
.item-name { font-weight: 600; min-width: 170px; }
.item-detail { color: var(--muted); }
.muted { color: var(--muted); font-size: 13.5px; }
.disclaimer {
  max-width: 980px; margin: 0 auto; padding: 18px; color: var(--muted);
  font-size: 13px; border-top: 1px solid var(--line);
}
a { color: var(--accent); }
@media (max-width: 640px) {
  .hero h1 { font-size: 23px; }
  .item-name { min-width: 0; }
  .item-row { flex-wrap: wrap; }
}
