:root{font-family:"Pretendard","Malgun Gothic",system-ui,sans-serif;color:#172d28;background:#f5f7f2;font-synthesis:none;--muted:#566b63;--green:#17624c;--line:#d9e3db}
*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #417fe5;outline-offset:4px}
.wrap{width:min(1100px,calc(100% - 48px));margin-inline:auto}header{border-bottom:1px solid var(--line);background:#fbfcf8}.header{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:69px}.brand{font-weight:900;color:#15382f;font-size:21px;white-space:nowrap}.brand span{color:#38886c;font-size:15px}.header nav{display:flex;gap:26px;font-size:14px;font-weight:700}.header nav a[aria-current]{text-decoration:underline;text-underline-offset:5px}
main{padding-top:36px;padding-bottom:56px}h1,h2,p{margin-top:0}h1{font-size:clamp(30px,5vw,52px);letter-spacing:-.065em;line-height:1.2;margin-bottom:16px}h2{font-size:23px;letter-spacing:-.045em;margin-bottom:14px}p{line-height:1.65}
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f4f7fc 0%, #e3ecfa 100%);
  color: #162b4c;
  border: 1px solid #ccd9eb;
  border-radius: 23px;
  padding: 38px 42px 33px;
}
.hero > div:first-child, .hero form { position: relative; z-index: 1; }
.hero p { color: #425a7a; margin-bottom: 22px; }
.hero .eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .07em; margin-bottom: 14px; color: #36567d; }
.hero-decoration {
  position: absolute;
  top: 31px;
  right: 37px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: rotate(-12deg);
  color: #385983;
}
.hero-decoration span {
  font-family: Georgia, serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  background: #d5e3f7;
  border: 1px solid #bacdea;
  width: 102px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 52px;
}
.hero-decoration span:nth-child(2) { transform: translateY(25px); background: #bbd1f1; color: #203d68; }
.hero-decoration span:last-child { width: 63px; font-size: 36px; transform: translateY(21px); }
.search{display:flex;align-items:end;gap:12px;padding:16px;background:#e9f0e9;border-radius:12px;color:#213d33}.hero .search{width:fit-content;background:#f4f8ed}.search label,.checker label{display:grid;gap:7px;font-size:13px;font-weight:750}.search input{width:104px}input,select,button{font:inherit;border-radius:8px;min-height:43px}input,select{background:white;border:1px solid #aebfb5;color:#172d28;padding:8px 11px;min-width:0}button{padding:9px 15px;border:1px solid transparent;background:#17634e;color:white;font-weight:800;cursor:pointer}button:hover{background:#113d32}
.latest,.recent{margin-top:32px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.section-title>span,.section-title a{font-size:13px;color:var(--muted)}.cards{display:grid;grid-template-columns:1fr 1fr;gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px;min-width:0}.card.pension{background:#f2f3fc;border-color:#dce2f4}.card-top,.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.card-top{margin-bottom:17px;color:var(--muted);font-size:13px}.tag{background:#dceee3;color:#174e3d;padding:5px 9px;font-size:12px;font-weight:800;border-radius:6px}.pension .tag{background:#e1e5f9;color:#323f79}.card h2{margin-bottom:16px}.card-bottom{border-top:1px solid var(--line);padding-top:13px;margin-top:17px;font-size:13px;font-weight:700}.balls{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.ball,.digit,.group{display:grid;place-items:center;min-width:0;width:clamp(25px,4.5vw,46px);height:clamp(29px,4.7vw,46px);font-size:clamp(13px,2.2vw,20px);font-weight:900;letter-spacing:-.02em}.ball{border-radius:50%}.gold{background:#f2ca61}.blue{background:#91c6e9}.red{background:#f6a0a5}.grey{background:#d6dfe7}.green{background:#a9d4bb}.bonus{background:#f4f7f4;border:1px solid #8daba0}.plus{color:#586a63}.digit,.group{border-radius:8px;background:#fff;color:#283967;border:1px solid #d4dcef}.group{background:#3d4b92;color:#fff;min-width:38px;padding-inline:3px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:13px;background:#fff}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th,td{padding:12px 13px;white-space:nowrap}thead{background:#e9f0eb;color:#36574a}tbody tr+tr{border-top:1px solid #e9eeea}.crumb{font-size:13px;color:var(--muted);margin-bottom:14px}.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,345px);gap:22px;align-items:start}.checker{background:#e8f1e9;border:1px solid #d5e3d7;border-radius:16px;padding:24px}.checker p,.hint{color:var(--muted);font-size:13px}.card .hint{margin:14px 0 0}.checker form{display:grid;gap:12px}.checker form .hint{margin:-5px 0 0}.checker output{background:white;border-radius:7px;padding:10px;font-size:14px;line-height:1.6}.checker output:empty{display:none}.round-nav{display:grid;grid-template-columns:1fr 1fr 1fr;text-align:center;margin:24px 0;gap:8px}.round-nav a{border:1px solid var(--line);padding:11px;background:white;border-radius:8px;font-weight:750}.info{max-width:740px}.info p{color:#3c574b}
@media(max-width:760px){.wrap{width:calc(100% - 28px)}.hero{padding:28px 18px 20px}.hero-decoration{opacity:.11;right:-56px;top:8px}.cards,.detail{grid-template-columns:1fr}.header{min-height:62px}.header nav{gap:12px;font-size:12px}main{padding-top:23px}.card{padding:16px}.search{gap:8px;padding:11px;width:100%}.hero .search{width:100%}.search label:first-child{flex:1}.search select{width:100%}.search input{width:63px}.search button{padding-inline:8px;font-size:12px}.balls{gap:4px}.ball,.digit{width:clamp(25px,8vw,43px);height:clamp(29px,8vw,43px)}th,td{padding:10px 8px;font-size:12px}.brand{font-size:18px}.checker{padding:17px}}

.site-footer {
  --footer-heading: #252d29;
  --footer-line: #dddcd2;
  background: #faf8f2;
  color: #454e48;
  border-top: 1px solid var(--footer-line);
  padding: 34px 0 38px;
  font-size: 14px;
}

.footer-intro, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
}

.site-footer p { margin: 0; line-height: 1.75; }
.site-footer a { color: #1b604b; }
.site-footer .footer-brand, .footer-notes h2 { color: var(--footer-heading); }
.footer-brand span { color: #28705a; }
.footer-nav { margin-top: 16px; font-weight: 700; }
.footer-nav a { padding-block: 7px; }

.footer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px 24px;
  margin: 18px 0 22px;
  padding: 17px 0;
  border-block: 1px solid var(--footer-line);
}
.footer-facts dt { color: #59645d; font-size: 13px; }
.footer-facts dd { margin: 6px 0 0; color: var(--footer-heading); font-weight: 700; }

.footer-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
}
.footer-notes section:first-child { grid-column: 1 / -1; }
.footer-notes h2 { margin-bottom: 5px; font-size: 15px; letter-spacing: 0; }
.footer-notes a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .site-footer { padding-block: 24px 28px; }
  .footer-facts, .footer-notes { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { gap: 2px 15px; }
  .footer-facts { gap: 12px; }
}

.hero-check {
  display: inline-block;
  color: #234f8d;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero form.search { background: #fff; color: #233955; border: 1px solid #d3deed; }
.hero .search input, .hero .search select { border-color: #abbdd5; color: #162b4c; }
.hero .search button { background: #285895; }
.hero .search button:hover { background: #1b4276; }
@media (max-width: 760px) {
  .hero .search input { width: 73px; }
}
#quick-check { scroll-margin-top: 16px; }
.checker h3 { margin: 0 0 8px; font-size: 19px; }
.store-group {
  margin-bottom: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.store-group summary {
  padding: 12px 15px;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}
.store-group ul { list-style: none; margin: 0; padding: 0 15px; }
.store-group li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.store-group li span { color: var(--muted); }

.round-hero {
  --report-ink: #10243d;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 56px);
  border-radius: 23px;
  border: 1px solid #d9e3eb;
  background: #fff;
  color: var(--report-ink);
}
.round-hero::after {
  position: absolute;
  top: -30%;
  right: -5%;
  z-index: -1;
  width: min(56%, 450px);
  aspect-ratio: 1;
  content: '';
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 25px, #dce8ef 26px 27px),
              linear-gradient(145deg, #eef5f8, transparent 72%);
  mask-image: linear-gradient(120deg, transparent, #000 75%);
}
.round-hero .crumb, .round-hero p { color: #485f73; }
.round-hero .crumb a { color: #225a70; }
.round-hero h1 { max-width: 19ch; word-break: keep-all; }
.round-hero h1 span { color: #81561a; white-space: nowrap; }
.round-hero nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 24px;
}
.round-hero nav a {
  color: #225a70;
  border-bottom: 1px solid #9eb7c5;
  padding: 4px 0;
  font-weight: 700;
  font-size: 14px;
}
.report-result, .report-panel {
  border: 1px solid #d9e3eb;
  border-radius: 16px;
  background: #fff;
  min-width: 0;
}
.report-result {
  margin: 22px 0;
  overflow: hidden;
}
.report-result-title {
  padding: 17px 24px;
  background: #fff;
  border-bottom: 1px solid #d9e3eb;
  color: #10243d;
}
.report-result-title h2 { margin: 0; }
.report-result-content, .report-panel { padding: clamp(15px, 2.5vw, 26px); }
.report-nav { margin: 0 0 14px; }
.report-balls {
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid #d9e3eb;
  background: #fff;
  text-align: center;
}
.report-balls .balls { justify-content: center; }
.report-balls p { margin: 10px 0 0; }
.report-details > .report-panel .hint,
.report-panel > .hint:last-child { margin: 12px 0 0; }
.report-details > .report-panel .table-wrap { margin-top: 12px; }
.report-panel h3 { margin: 0 0 10px; font-size: 16px; }
.analysis-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0;
}
.analysis-metrics > div, .analysis-chart {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dae5ee;
  border-radius: 11px;
  background: #f6f9fc;
}
.analysis-metrics dt { color: #4b637b; font-size: 13px; }
.analysis-metrics dd { margin: 5px 0 0; overflow-wrap: anywhere; font-weight: 800; }
.analysis-metrics .metric-note { color: #52677b; font-size: 12px; font-weight: 400; }
.analysis-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.analysis-distribution { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.analysis-ring {
  display: grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
}
.analysis-ring span {
  display: grid;
  place-items: center;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6f9fc;
  font-weight: 800;
}
.analysis-distribution ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.analysis-distribution li { display: flex; align-items: center; gap: 7px; padding: 2px 0; }
.chart-key { width: 9px; height: 9px; border-radius: 2px; }
.analysis-bar { margin-top: 16px; }
.analysis-bar > div:first-child { display: flex; flex-wrap: wrap; gap: 3px 12px; justify-content: space-between; font-size: 13px; }
.analysis-track { display: flex; height: 14px; overflow: hidden; margin-top: 6px; border-radius: 8px; }
.analysis-track span:first-child { background: #bb762c; }
.analysis-track span:last-child { background: #287eaa; }
.number-history { margin-top: 20px; }
.number-history > p { margin-bottom: 9px; }
.number-history ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.number-history li { display: flex; align-items: baseline; gap: 7px; padding: 7px 10px; border-radius: 8px; background: #edf3f8; }
.number-history li span { color: #465e74; font-size: 13px; }
.report-faq { margin-top: 10px; padding: 11px 13px; border: 1px solid #dce6ed; border-radius: 8px; background: #f6f9fc; }
.report-faq summary { cursor: pointer; font-weight: 700; }
.report-faq p { margin: 9px 0 0; }
@media (max-width: 760px) {
  .analysis-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .analysis-charts { grid-template-columns: minmax(0, 1fr); }
  .round-hero nav { margin-top: 16px; }
  .round-hero h1 { max-width: 100%; }
}

.site-header { background: #fff; position: relative; z-index: 5; }
.site-header .header nav { gap: 6px; }
.site-menu { position: relative; }
.site-menu summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  color: #233e36;
  padding: 10px 11px;
  border-radius: 8px;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: '⌄'; color: #456960; margin-left: 6px; }
.site-menu[open] summary { background: #e8f2eb; color: #14513f; }
.site-menu[open] summary::after { content: '⌃'; }
.site-menu summary:focus-visible { outline: 2px solid #417fe5; outline-offset: 2px; }
.site-menu ul {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  min-width: 198px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #d6e4dc;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 26px #163e2d20;
}
.site-menu a { display: block; padding: 9px 11px; border-radius: 6px; white-space: nowrap; color: #23483d; }
.site-menu a:hover, .site-menu a[aria-current] { background: #edf5ef; }
.header-check {
  border-radius: 8px;
  background: #17634e;
  color: #fff;
  padding: 9px 13px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
}
.number-tool { margin-top: 20px; }
.number-tool label { display: grid; gap: 6px; font-weight: 700; }
.number-tool input { width: 100%; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tool-feedback { margin: 14px 0 0; }
.tool-page { max-width: 980px; margin-inline: auto; }
.tool-page > h1 { font-size: clamp(28px, 4.4vw, 43px); line-height: 1.3; }
.guide-steps { padding-left: 24px; line-height: 1.85; }
.guide-steps li + li { margin-top: 8px; }
.guide-definitions dt { margin-top: 18px; font-weight: 800; }
.guide-definitions dd { margin: 7px 0 0; line-height: 1.8; color: #3c574b; }
.related-tools { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; font-weight: 700; }
.tool-feedback:empty, .number-tool .analysis-metrics[hidden] { display: none; }
@media (max-width: 620px) {
  .site-header .header { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 10px 5px; }
  .site-header .header nav { grid-row: 2; grid-column: 1 / -1; }
  .site-menu summary { padding-inline: 9px; }
  .site-menu:last-child ul { left: auto; right: 0; }
  .header-check { font-size: 12px; }
}
