/* LottosLab portal — brand: navy #0B1F3B, accent #2563EB, highlight #06B6D4, bg #F4F7FB, text #1F2937 */
:root {
  --navy: #0B1F3B; --navy-2: #0E274A; --navy-3: #16345F; --ink: #1F2937; --muted: #5B6677;
  --accent: #2563EB; --cyan: #06B6D4; --bg: #F4F7FB; --surface: #FFFFFF; --line: #DCE3EE;
  --amber: #F59E0B; --rose: #E11D48; --ok: #10B981;
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans JP", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.note { color: var(--muted); font-size: .88rem; margin: .75rem 0 0; }
.empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--surface); }
.num { text-align: right; white-space: nowrap; }

/* header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: #C9D6EA; font-weight: 600; font-size: .95rem; padding: 21px 0 19px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; border-color: var(--cyan); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; color: #C9D6EA; font-weight: 700; font-size: .85rem; padding: 7px 11px; border: 1px solid #2A4670; border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 40px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: var(--r-md); box-shadow: 0 12px 30px rgba(11,31,59,.18); min-width: 140px; }
.lang li a { display: block; padding: 8px 12px; color: var(--ink); border-radius: var(--r-sm); }
.lang li a[aria-current="true"] { background: var(--bg); font-weight: 700; }
.login { white-space: nowrap; font: inherit; font-weight: 700; font-size: .9rem; color: var(--navy); background: #fff; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.ticker { background: #081730; border-top: 1px solid #13305A; }
.ticker-row { display: flex; align-items: center; gap: 10px; height: 36px; font-size: .88rem; color: #B7C6DD; overflow: hidden; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(6,182,212,.7); animation: pulse 2s infinite; flex: none; }
.ticker-label { color: #fff; font-weight: 700; flex: none; }
.ticker-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-text.fresh { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6,182,212,.6); } 70% { box-shadow: 0 0 0 8px rgba(6,182,212,0); } 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); } }

/* hero: 대표 결과 + 세계 추첨 보드 */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.featured { background: var(--surface); border-radius: var(--r-lg); padding: 28px 30px; border: 1px solid var(--line); }
.feat-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.feat-meta .op::before { content: "/"; margin-right: 8px; color: var(--line); }
.cc { display: inline-grid; place-items: center; min-width: 28px; height: 20px; padding: 0 5px; border-radius: 5px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.feat-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 4px; }
.feat-title span { color: var(--accent); }
.feat-date { color: var(--muted); margin: 0 0 22px; }
.feat-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.feat-facts dt, .facts dt { color: var(--muted); font-size: .82rem; margin-bottom: 2px; }
.feat-facts dd, .facts dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
.feat-next dd { color: var(--accent); }
.feat-links { display: flex; gap: 18px; margin: 22px 0 0; font-weight: 600; }
.feat-stats { margin-top: 22px; padding: 16px 18px; background: var(--bg); border-radius: var(--r-md); }
.feat-stats h2 { font-size: .85rem; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.feat-stats dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.feat-stats dt { color: var(--muted); font-size: .8rem; }
.feat-stats dd { margin: 0; font-weight: 800; font-size: 1.15rem; }
.sub { color: var(--muted); font-size: .78rem; font-weight: 400; }

/* 공 */
.balls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ball { --size: 40px; display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  font-weight: 800; font-size: calc(var(--size) * .42); color: var(--navy); background: #fff; border: 2px solid #C6D2E3;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.balls-lg .ball { --size: clamp(46px, 7vw, 62px); }
.balls-sm .ball { --size: 28px; border-width: 1.5px; box-shadow: none; }
.balls-sm { gap: 5px; }
.kr-1 { background: #FBC400; border-color: #FBC400; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.kr-2 { background: #69C8F2; border-color: #69C8F2; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.kr-3 { background: #FF7272; border-color: #FF7272; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.kr-4 { background: #AAAAAA; border-color: #AAAAAA; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.kr-5 { background: #B0D840; border-color: #B0D840; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.ball-bonus { background: #fff; border-style: dashed; border-color: var(--accent); color: var(--accent); }
.ball-x { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.ball-x-us_powerball { background: #E11D48; border-color: #E11D48; }
.ball-x-us_megamillions { background: #F5B301; border-color: #F5B301; color: var(--navy); }
.ball-plus { color: var(--muted); font-weight: 700; padding: 0 2px; }
.digits { font-size: 2rem; font-weight: 800; letter-spacing: .18em; color: var(--navy); }
.balls.drop .ball { animation: drop .5s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(var(--i) * 120ms); }
@keyframes drop { from { transform: translateY(-24px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* 세계 추첨 보드 (출발 안내판) */
.board { background: var(--navy); color: #E7EEF8; border-radius: var(--r-lg); padding: 24px 22px 12px; overflow: hidden; }
.board-head h2 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.board-head p { color: #8FA3C0; font-size: .85rem; margin: 0 0 14px; }
.board-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.board-table thead th { color: #7F95B6; font-weight: 600; font-size: .78rem; text-align: left; padding: 0 8px 8px; border-bottom: 1px solid #22416D; }
.board-table tbody th, .board-table td { padding: 11px 8px; border-bottom: 1px solid #16345F; text-align: left; font-weight: 500; vertical-align: middle; }
.board-table tbody tr:last-child > * { border-bottom: 0; }
.board-table tbody th { font-weight: 700; white-space: nowrap; }
.board-table tbody th a, .board-table tbody th span:not(.cc) { color: #fff; margin-left: 8px; }
.board-table .cc { background: #1E3E6B; }
.board-table time { color: #C9D6EA; white-space: nowrap; }
.board-table .count { font-weight: 700; color: #fff; white-space: nowrap; font-size: 1rem; }
.unverified { color: var(--amber); margin-left: 4px; cursor: help; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #1E3E6B; color: #B7C6DD; white-space: nowrap; }
.pill[data-state="soon"] { background: rgba(245,158,11,.18); color: #FCD34D; }
.pill[data-state="drawing"] { background: rgba(225,29,72,.2); color: #FDA4AF; }
.pill[data-state="drawing"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #FB7185; margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s infinite; }
.pill[data-state="waiting"] { background: rgba(6,182,212,.18); color: #67E8F9; }
.pill[data-state="done"] { background: rgba(16,185,129,.2); color: #6EE7B7; }

/* 나라별 */
.world { margin-top: 44px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tile { background: var(--surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: inset -1px -1px 0 var(--line); }
.tile[hidden] { display: none; }
.tile-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.tile-name { font-size: 1.05rem; margin: 2px 0 0; }
.tile-name a { color: var(--ink); }
.tile-rule { color: var(--muted); font-size: .82rem; margin: 0; }
.tile-draw { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.tile-label { font-size: .8rem; color: var(--muted); }
.tile-empty { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.tile-next { margin: auto 0 0; padding-top: 8px; font-size: .85rem; color: var(--muted); }
.tile-next span { color: var(--accent); font-weight: 700; }
.tile-off .tile-name { color: var(--muted); }

/* 최근 회차 + 빈도 */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-top: 44px; }
.recent, .freq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.draws { width: 100%; border-collapse: collapse; }
.draws th, .draws td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.draws tr:last-child > * { border-bottom: 0; }
.draws th { width: 30%; }
.draws th a { font-weight: 700; display: block; }
.draws .sub { color: var(--muted); font-size: .78rem; font-weight: 400; }
.freq-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.freq-grid li { aspect-ratio: 1; border-radius: var(--r-sm); display: grid; place-items: center; align-content: center; gap: 0;
  background: color-mix(in srgb, var(--accent) calc(var(--v) * 70%), #EEF2F8); color: var(--ink); }
.freq-grid li.hi { color: #fff; }
.fn { font-weight: 800; font-size: .9rem; line-height: 1; }
.fc { font-size: .68rem; opacity: .8; line-height: 1.2; }

/* 라이브 */
.live-strip { margin-top: 44px; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.video-facade, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); }
.video-facade { position: relative; cursor: pointer; background: var(--navy-2) center / cover no-repeat; }
.play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--navy); }
.live-badge { position: absolute; left: 12px; top: 12px; background: var(--rose); color: #fff; font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.video-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 2px 0; font-size: .9rem; }
.video-meta span { color: var(--muted); font-size: .82rem; }

/* 연구 */
.research { margin-top: 44px; padding: 36px 0 8px; border-top: 1px solid var(--line); max-width: 720px; }
.research h2 { font-size: 1.35rem; }
.research p { color: var(--muted); }
.research a { font-weight: 700; }

/* 서브 페이지 */
.page { padding: 32px 0 20px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 18px 0; }
.latest, .page section { margin-top: 28px; }
.prizes { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 18px; }
.prizes th, .prizes td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.prizes thead th { background: #EEF2F8; font-size: .82rem; color: var(--muted); }
.prizes .num { text-align: right; }
.crumbs { font-size: .9rem; margin-bottom: 8px; }
.source { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.prevnext { display: flex; justify-content: space-between; margin-top: 28px; font-weight: 700; }
.prose { max-width: 760px; }
.prose .lead { font-size: 1.15rem; }
.prose h2 { margin-top: 1.8em; }

/* footer */
.foot { background: var(--navy); color: #B7C6DD; margin-top: 64px; padding: 44px 0 24px; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.brand-foot { font-size: 1.05rem; }
.foot-tag { margin: 8px 0 12px; }
.foot-links { display: flex; gap: 16px; }
.foot a { color: #fff; }
.notice h2 { color: #fff; font-size: .95rem; }
.notice p { margin: 0 0 .7em; max-width: 78ch; line-height: 1.7; }
.notice-help { color: #fff; }
.foot-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid #1E3E6B; color: #7F95B6; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 10px 30px rgba(11,31,59,.3); z-index: 20; }

@media (max-width: 960px) {
  .hero, .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .top-row { gap: 14px; height: 56px; }
  .brand span { display: none; }
  .nav { gap: 16px; }
  .nav a { padding: 17px 0 15px; font-size: .9rem; }
  .login { padding: 7px 12px; font-size: .82rem; }
  .featured { padding: 22px 18px; }
  .board { padding: 20px 12px 8px; }
  .board-table thead th:nth-child(2), .board-table td:nth-child(2) { display: none; }
  .balls-lg { gap: 6px; }
  .balls-lg .ball { --size: 34px; }
  .board-table tbody th, .board-table td { padding: 10px 5px; font-size: .85rem; }
  .freq-grid { grid-template-columns: repeat(7, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- 커버리지 · 오늘의 조합 · 나만의 조합 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; color: #fff; background: var(--accent);
  border: 0; border-radius: 999px; padding: 11px 20px; cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; background: #1D4ED8; }
.btn[disabled] { opacity: .6; cursor: progress; }
.coverage { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px 26px;
  border-radius: var(--r-lg); background: linear-gradient(90deg, #0E274A, #123A6B); color: #DCE7F7; }
.coverage h2 { color: #fff; font-size: 1.2rem; margin: 0 0 4px; }
.coverage p { margin: 0; }
.coverage [data-cov-line] { color: #67E8F9; font-weight: 700; }
.coverage.bump [data-cov-line] { animation: bump .6s ease; }
@keyframes bump { 40% { color: #fff; } }
.gen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.picks, .daily { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-top: 0 !important; }
.picks fieldset { border: 0; padding: 0; margin: 14px 0 0; }
.picks legend { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.strats { display: grid; gap: 8px; }
.strat { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.strat:has(input:checked) { border-color: var(--accent); background: #EFF4FF; }
.strat input { grid-row: span 2; margin-top: 4px; accent-color: var(--accent); }
.strat-name { font-weight: 700; }
.strat-desc { color: var(--muted); font-size: .85rem; }
.picks-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.picks-row select { font: inherit; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); margin-left: 6px; }
.picks-status { margin-top: 10px; font-weight: 600; color: var(--accent); min-height: 1.4em; }
.picks-status.err { color: var(--rose); }
.picks h3 { font-size: 1rem; margin: 18px 0 8px; }
.games { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.games li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r-sm); background: var(--bg); }
.games li.new { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.games .gno { width: 24px; color: var(--muted); font-size: .78rem; text-align: right; }
.games .tier { margin-left: auto; font-size: .78rem; font-weight: 800; color: #fff; background: var(--ok); padding: 2px 8px; border-radius: 999px; }
.games .empty-li { color: var(--muted); background: none; }
.more summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-top: 10px; }
.hash { color: var(--muted); font-size: .75rem; margin: 12px 0 0; }
@media (max-width: 960px) { .gen-grid { grid-template-columns: 1fr; } .coverage { flex-direction: column; align-items: flex-start; } }

/* =====================================================================
   PORTAL THEME (v2) — 활기 있는 포털 톤: 파란 띠 헤더, 금·주황 강조
   ===================================================================== */
:root { --band: #1D4ED8; --band-2: #2563EB; --gold: #FFB800; --orange: #FF7A00; --violet: #7C3AED; --pink: #EC4899; }
body { background: #EEF2F8; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: transparent; }
.util { background: #fff; border-bottom: 1px solid var(--line); }
.util-row { display: flex; align-items: center; gap: 16px; height: 38px; font-size: .85rem; }
.util-ticker { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); min-width: 0; flex: 1; }
.util-ticker .ticker-label { color: var(--rose); font-weight: 800; }
.util-ticker .ticker-text { color: var(--ink); }
.util-ticker .ticker-text.fresh { color: var(--band); font-weight: 700; }
.util-links { display: flex; align-items: center; gap: 4px; flex: none; }
.linkbtn { font: inherit; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.linkbtn:hover { color: var(--ink); background: var(--bg); }
.util .lang summary { color: var(--muted); border-color: var(--line); padding: 3px 10px; }
.band { background: linear-gradient(90deg, var(--band), var(--band-2)); box-shadow: 0 4px 14px rgba(29,78,216,.25); }
.band-row { display: flex; align-items: center; gap: 36px; height: 68px; }
.band .brand { font-size: 1.35rem; }
.band .nav { gap: 30px; }
.band .nav a { color: #fff; opacity: .92; font-size: 1.05rem; font-weight: 800; padding: 22px 0 19px; }
.band .nav a:hover { opacity: 1; }
.band .nav a[aria-current="page"] { border-color: var(--gold); opacity: 1; }
.band-cta { margin-left: auto; }
.btn-gold { background: var(--gold); color: #3B2A00; box-shadow: 0 3px 0 #D99A00; }
.btn-gold:hover { background: #FFC733; color: #3B2A00; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 3px 0 #D66600; }
.btn-orange:hover { background: #FF8A1F; }
.btn-ghost { background: #fff; color: var(--band); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); }

/* app tab bar (mobile) */
.tabbar { display: none; }

/* ---------- portal top: hero slider + side ---------- */
.portal-top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 18px; }
.hero-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--navy); }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.slide { flex: 0 0 100%; position: relative; display: flex; align-items: center; padding: 40px 48px; color: #fff; min-height: 320px; overflow: hidden; }
.slide.s1 { background: linear-gradient(120deg, #1D4ED8 0%, #7C3AED 100%); }
.slide.s2 { background: linear-gradient(120deg, #0891B2 0%, #2563EB 100%); }
.slide.s3 { background: linear-gradient(120deg, #F97316 0%, #E11D48 100%); }
.slide.s4 { background: linear-gradient(120deg, #7C3AED 0%, #EC4899 100%); }
.slide-copy { position: relative; z-index: 2; max-width: 520px; }
.slide h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 900; line-height: 1.18; margin: 0 0 14px; letter-spacing: -0.02em; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.slide p { font-size: 1.02rem; opacity: .95; margin: 0 0 22px; }
.slide-decor { position: absolute; right: 4%; top: 0; bottom: 0; width: 44%; z-index: 1; }
.dball { position: absolute; display: grid; place-items: center; border-radius: 50%; font-weight: 900; color: #fff;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), rgba(255,255,255,.35) 18%, rgba(255,255,255,.12) 60%);
  box-shadow: inset -10px -14px 24px rgba(0,0,0,.18), 0 18px 30px rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.35);
  text-shadow: 0 2px 6px rgba(0,0,0,.25); animation: float 6s ease-in-out infinite; }
.dball.d0 { width: 118px; height: 118px; font-size: 2.6rem; right: 8%; top: 18%; }
.dball.d1 { width: 76px; height: 76px; font-size: 1.7rem; right: 44%; top: 12%; animation-delay: -1.5s; }
.dball.d2 { width: 90px; height: 90px; font-size: 2rem; right: 34%; bottom: 14%; animation-delay: -3s; }
.dball.d3 { width: 58px; height: 58px; font-size: 1.3rem; right: 2%; bottom: 12%; animation-delay: -2s; }
.dball.d4 { width: 46px; height: 46px; font-size: 1rem; right: 62%; top: 55%; animation-delay: -4s; opacity: .8; }
@keyframes float { 50% { transform: translateY(-10px); } }
.dots { position: absolute; left: 48px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s; }
.dots button[aria-current="true"] { width: 26px; background: #fff; }

.side { display: grid; gap: 14px; align-content: start; }
.login-box { background: #fff; border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--line); }
.login-box h2 { font-size: 1.05rem; margin-bottom: 4px; }
.login-box p { color: var(--muted); font-size: .84rem; margin: 0 0 14px; }
.social { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sbtn { height: 44px; border-radius: 12px; border: 0; font-weight: 900; font-size: 1.05rem; cursor: pointer; }
.sbtn.naver { background: #03C75A; color: #fff; }
.sbtn.kakao { background: #FEE500; color: #191600; }
.sbtn.google { background: #fff; color: #4285F4; border: 1px solid var(--line); }
.sbtn.apple { background: #111; color: #fff; }
.stats-card { border-radius: var(--r-lg); padding: 18px 20px; color: #fff; background: linear-gradient(140deg, #0B1F3B, #16345F); }
.stats-card h2 { font-size: .95rem; color: var(--gold); margin-bottom: 10px; }
.stats-card dl { margin: 0; display: grid; gap: 8px; }
.stats-card dl div { display: flex; justify-content: space-between; align-items: baseline; }
.stats-card dt { color: #B7C6DD; font-size: .85rem; }
.stats-card dd { margin: 0; font-size: 1.35rem; font-weight: 900; }
.stats-card p { color: #7F95B6; font-size: .78rem; margin: 10px 0 0; }

/* ---------- portal row: 성적 · 최신 결과 · 도전 현황 ---------- */
.portal-row { display: grid; grid-template-columns: 280px minmax(0, 1fr) 280px; gap: 18px; margin-top: 18px; }
.perf-card, .latest-widget, .cov-card, .cm-widget, .hits-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.perf-card h2, .cov-card h2, .hits-widget h2 { font-size: 1rem; margin-bottom: 10px; }
.perf-card table { width: 100%; border-collapse: separate; border-spacing: 0 5px; }
.perf-card th { font-size: .78rem; color: var(--muted); text-align: left; font-weight: 600; padding: 0 12px; }
.perf-card td { background: var(--bg); padding: 7px 12px; font-weight: 700; }
.perf-card td:first-child { border-radius: 999px 0 0 999px; }
.perf-card td:last-child { border-radius: 0 999px 999px 0; text-align: right; }
.perf-card tr.hit td { background: #FFF4D6; color: #8A5A00; }
.latest-widget { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lw-head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.lw-head h2 { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.lw-no { color: var(--rose); font-size: 2rem; font-weight: 900; }
.lw-date { color: var(--muted); font-size: 1rem; font-weight: 600; }
.arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 1.4rem; font-weight: 700; }
.arrow:hover { text-decoration: none; background: #E2E8F2; }
.lw-balls .balls { justify-content: center; }
.lw-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin: 16px 0 0; color: var(--muted); }
.lw-facts b { color: var(--rose); }
.cov-card dl { margin: 0 0 12px; display: grid; gap: 8px; }
.cov-card dl div { display: flex; justify-content: space-between; }
.cov-card dt { color: var(--muted); font-size: .85rem; }
.cov-card dd { margin: 0; font-weight: 900; color: var(--band); }
.cov-next { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.cov-next b { color: var(--ink); }
.cov-card .btn { width: 100%; }
.cov-card.bump dd { animation: bump .6s ease; }

/* ---------- portal row2: 커뮤니티 · 적중 기록 ---------- */
.portal-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 18px; }
.cm-widget ul, .hits-widget ul { list-style: none; margin: 0; padding: 0; }
.cm-widget li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cm-widget li:last-child { border-bottom: 0; }
.cm-widget li a { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-widget .w, .cm-widget .d { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.cmt { color: var(--orange); font-weight: 800; font-size: .82rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.b-PICKS { background: #E0EAFF; color: #1D4ED8; }
.b-DREAM { background: #EDE4FF; color: #6D28D9; }
.b-WIN { background: #FFEBD2; color: #C2410C; }
.b-FREE { background: #E6F6EF; color: #047857; }
.b-NOTICE { background: #FFE0E6; color: #BE123C; }
.hits-widget li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hits-widget li:last-child { border-bottom: 0; }
.hw-badge { grid-row: span 2; align-self: center; font-size: .78rem; font-weight: 900; padding: 5px 9px; border-radius: 8px; background: var(--bg); color: var(--muted); }
.hw-badge.t1, .hw-badge.t2 { background: linear-gradient(135deg, #FFB800, #FF7A00); color: #fff; }
.hw-badge.t3 { background: #FFE8B3; color: #8A5A00; }
.hw-badge.t4 { background: #E0EAFF; color: #1D4ED8; }
.hw-draw { font-size: .8rem; color: var(--muted); }
.balls-xs { gap: 3px; }
.balls-xs .ball { --size: 22px; border-width: 1px; box-shadow: none; font-size: 10px; }
.portal-row2 + .hero, .portal-row + .portal-row2 { }
.hero { margin-top: 18px; }

/* ---------- community ---------- */
.cm-tabs { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 16px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.seg a:hover { text-decoration: none; color: var(--ink); }
.seg a[aria-current="page"] { background: var(--band); color: #fff; }
.seg.small a { padding: 5px 11px; font-size: .82rem; }
.composer { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 14px; }
.composer textarea { width: 100%; font: inherit; font-size: 1.02rem; border: 0; resize: vertical; min-height: 64px; outline: none; }
.comp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.comp-row input, .comp-row select, .comment-form input { font: inherit; font-size: .88rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.comp-row input { width: 130px; }
.comp-row .btn { margin-left: auto; }
.comp-status { font-size: .85rem; margin: 6px 0 0; font-weight: 600; color: var(--band); min-height: 1.2em; }
.comp-status.err { color: var(--rose); }
.feed { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.post { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; background: #fff; padding: 16px 18px; }
.post:hover { background: #FBFCFE; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, hsl(var(--h, 212) 80% 55%), hsl(calc(var(--h, 212) + 40) 80% 50%)); }
.avatar.me { background: var(--bg); color: var(--muted); }
.avatar.sm { width: 32px; height: 32px; font-size: .8rem; }
.post header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; }
.post header .dot, .post header time { color: var(--muted); }
.post header .chip { margin-left: auto; }
.member { font-size: .7rem; font-weight: 800; color: var(--band); background: #E0EAFF; padding: 1px 6px; border-radius: 5px; }
.post h3 { font-size: 1.02rem; margin: 6px 0 2px; }
.post h3 a { color: var(--ink); }
.post-body { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; }
a.plain { color: inherit; }
a.plain:hover { text-decoration: none; }
.post-nums { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 10px; background: var(--bg); border-radius: 10px; width: fit-content; }
.actions { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.act { font: inherit; font-size: .85rem; color: var(--muted); background: none; border: 0; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.act:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.act.like.on { color: var(--rose); }
.act.report { margin-left: auto; font-size: .78rem; }
.board-list { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .92rem; }
.board-list thead th { background: #F4F6FA; color: var(--muted); font-size: .8rem; font-weight: 700; padding: 11px 10px; border-bottom: 2px solid #CBD5E1; text-align: center; }
.board-list td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.board-list td.c-subject { text-align: left; white-space: normal; }
.board-list td.c-subject a { color: var(--ink); }
.board-list tr.pinned td { background: #FFF8EC; }
.board-list .c-no, .board-list .c-n { color: var(--muted); width: 70px; }
.board-list .c-w { width: 130px; }
.board-list .c-d { width: 90px; color: var(--muted); }
.has-nums { color: var(--gold); font-size: .7rem; }
.older { text-align: center; margin-top: 16px; }
.comments { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; margin-top: 14px; }
.comments ul { list-style: none; margin: 0 0 14px; padding: 0; }
.comments li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.comments li p { margin: 2px 0 0; }
.comment-form { display: flex; gap: 8px; flex-wrap: wrap; }
.comment-form input[name="nickname"] { width: 120px; }
.comment-form input[name="body"] { flex: 1; min-width: 180px; }

/* ---------- responsive / app ---------- */
@media (max-width: 1100px) {
  .portal-row { grid-template-columns: 1fr 1fr; }
  .portal-row .latest-widget { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 960px) {
  .portal-top, .portal-row2 { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr 1fr; }
  .band-cta { display: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .util-links .linkbtn { display: none; }
  .band-row { height: 56px; gap: 14px; }
  .band .brand span { display: inline; font-size: 1.1rem; }
  .band .nav { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff;
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -6px 18px rgba(11,31,59,.08); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; font: inherit; font-size: .7rem; font-weight: 700; color: var(--muted); background: none; border: 0; }
  .tabbar a:hover { text-decoration: none; }
  .tabbar [aria-current="page"] { color: var(--band); }
  .ti { width: 22px; height: 22px; border-radius: 7px; background: currentColor; opacity: .85;
    -webkit-mask: var(--m) center / 22px no-repeat; mask: var(--m) center / 22px no-repeat; }
  .ti-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 3l9 8v10h-6v-6H9v6H3z'/%3E%3C/svg%3E"); }
  .ti-picks { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='7' cy='8' r='4'/%3E%3Ccircle cx='17' cy='8' r='4'/%3E%3Ccircle cx='12' cy='17' r='4'/%3E%3C/svg%3E"); }
  .ti-cm { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18v12H8l-5 4z'/%3E%3C/svg%3E"); }
  .ti-res { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V10h4v10zm6 0V4h4v16zm6 0v-7h4v7z'/%3E%3C/svg%3E"); }
  .ti-my { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4.5'/%3E%3Cpath d='M3 21c1-5 5-7 9-7s8 2 9 7z'/%3E%3C/svg%3E"); }
  .hero-slider, .slide { min-height: 260px; }
  .slide { padding: 28px 22px 44px; }
  .slide-decor { width: 60%; opacity: .55; }
  .dots { left: 22px; }
  .side { grid-template-columns: 1fr; }
  .portal-row { grid-template-columns: 1fr; }
  .cm-widget li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cm-widget .w { display: none; }
  .board-list .c-board, .board-list .c-w, .board-list .c-n:last-child { display: none; }
  .comp-row input { width: 100%; }
  .foot { margin-bottom: 0; }
}
.lw-no, .lw-date { white-space: nowrap; }
@media (max-width: 640px) {
  .login-box { display: none; }
  .lw-head { gap: 10px; }
  .lw-head h2 { flex-direction: column; align-items: center; gap: 0; }
  .lw-no { font-size: 1.7rem; }
  .lw-date { font-size: .85rem; }
}

/* ---- 앱(WebView) 모드: 네이티브 앱이 헤더·탭을 가짐 ---- */
body.in-app { padding-bottom: env(safe-area-inset-bottom, 0px); background: #F4F7FB; }
body.in-app .top, body.in-app .tabbar, body.in-app .foot, body.in-app .skip { display: none !important; }
body.in-app .page { padding-top: 12px; }
body.in-app .page-head h1 { font-size: 1.5rem; }
body.in-app .research, body.in-app .live-strip { display: none; }
body.in-app a, body.in-app button { -webkit-tap-highlight-color: transparent; }
body.in-app { -webkit-user-select: none; user-select: none; }
body.in-app input, body.in-app textarea { -webkit-user-select: text; user-select: text; }

/* ---- 구매 안내 ---- */
.playguide { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-top: 24px; }
.playguide-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.playguide-where { margin: 14px 0 0; }
.playguide-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.playguide-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 0; }
.playguide-facts div { background: var(--bg); border-radius: var(--r-md); padding: 10px 12px; }
.playguide-facts dt { color: var(--muted); font-size: .8rem; }
.playguide-facts dd { margin: 2px 0 0; font-weight: 700; }
/* ---- 광고 슬롯: 비어 있으면 자리도 차지하지 않는다 ---- */
.ad-slot:empty { display: none; }
.ad-slot { margin: 18px auto; max-width: var(--wrap, 1200px); min-height: 0; text-align: center; }

/* =====================================================================
   가독성 (주 사용자층 40~60대)
   · 기본 글자 17px, 줄간격 1.65, 본문 대비 강화
   · 0.8rem 이하로 작던 보조 텍스트는 0.9rem(≈15px) 이상으로 통일
   · 숫자는 tabular-nums 로 자릿수 정렬, 터치 영역 최소 44px
   · 사용자가 "글자 크게"를 누르면 루트 크기를 1.15배 (레이아웃은 rem 기반이라 그대로 확대)
   ===================================================================== */
:root { --muted: #4B5563; }                    /* 대비 개선 (기존 #5B6677) */
html { font-size: 17px; }
html.text-lg { font-size: 19.5px; }
@media (max-width: 640px) { html { font-size: 16.5px; } html.text-lg { font-size: 19px; } }
body { font-size: 1rem; line-height: 1.65; }

/* 작았던 보조 텍스트 상향 */
.sub, .note, .feat-meta, .feat-facts dt, .facts dt, .feat-stats dt, .feat-stats h2,
.tile-top, .tile-rule, .board-table thead th, .board-head p, .pill, .chip,
.cm-widget .w, .cm-widget .d, .cmt, .chip, .act, .games .gno, .hash, .hw-draw,
.post header, .strat-desc, .picks-row select, .coverage p, .cov-card dt, .stats-card dt,
.perf-card th, .board-list, .board-list thead th, .comp-status, .comments .sub { font-size: .92rem; }
.board-table { font-size: 1rem; }
.chip, .pill { font-size: .85rem; padding: 4px 11px; }
.cc { font-size: .78rem; min-width: 30px; height: 22px; }
.games .gno { min-width: 28px; }

/* 표: 행 간격과 숫자 정렬 */
.prizes th, .prizes td, .board-list td, .board-list thead th, .tbl td, .recent td { padding-top: 14px; padding-bottom: 14px; }
.prizes .num, .board-table .count, .board-list .c-n, .perf-card td, .cov-card dd, .stats-card dd,
.lw-facts b, .hits-widget li { font-variant-numeric: tabular-nums; }

/* 터치·클릭 영역 */
.btn, .chip, .act, .seg a, .side nav a, .tabbar a, .tabbar button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.act { padding: 8px 12px; }
.seg a { padding: 10px 16px; }
.games li { padding: 10px; }

/* 링크는 밑줄 없이도 구분되게 (색만으로 구분하지 않음) */
.post-body a, .playguide a, .note a { text-decoration: underline; text-underline-offset: 3px; }

/* 글자 크기 전환 버튼 */
.textsize { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.textsize button { font: inherit; font-weight: 800; line-height: 1; border: 1px solid var(--line); background: #fff;
  color: var(--muted); border-radius: 8px; padding: 6px 9px; cursor: pointer; min-height: 34px; }
.textsize button[aria-pressed="true"] { background: var(--band); color: #fff; border-color: var(--band); }
.textsize .a-sm { font-size: .8rem; }
.textsize .a-lg { font-size: 1.05rem; }
@media (max-width: 640px) { .textsize { display: none; } }   /* 모바일은 OS 글자 크기 설정을 따름 */

/* ---- 앱 설치 유도 띠 (헤더 아래, 닫으면 30일간 숨김) ---- */
.appstrip { background: linear-gradient(90deg, #0B1F3B, #16345F); color: #fff; }
.appstrip[hidden] { display: none; }
.appstrip-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.appstrip-icon { display: inline-flex; flex: none; }
.appstrip-copy { display: flex; flex-direction: column; gap: 1px; margin: 0; min-width: 0; }
.appstrip-copy b { font-size: .98rem; }
.appstrip-copy span { color: #B7C6DD; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appstrip-cta { margin-left: auto; flex: none; padding: 9px 18px; min-height: 40px; }
.appstrip-close { flex: none; background: none; border: 0; color: #8FA3C0; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; min-height: 40px; }
body.in-app .appstrip { display: none; }

/* ---- 앱 안내 페이지 ---- */
.app-get { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-top: 20px; }
.app-qr { text-align: center; }
.app-qr svg { width: 168px; height: 168px; }
.app-links { display: grid; gap: 10px; align-content: start; }
.store-badge { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 22px;
  border-radius: 12px; font-weight: 800; white-space: nowrap; background: var(--navy); color: #fff; }
.store-badge:hover { text-decoration: none; background: #16345F; }
.store-badge.soon { background: var(--bg); color: var(--muted); cursor: default; }
.app-features { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.app-features li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 4px; }
.app-features span { color: var(--muted); }
@media (max-width: 720px) {
  .app-get { grid-template-columns: 1fr; text-align: center; }
  .appstrip-copy span { display: none; }
}
