:root {
    --bg: #07100e;
    --bg-deep: #040a09;
    --surface: #0d1916;
    --surface-2: #12231e;
    --surface-3: #172b25;
    --line: rgba(187, 255, 224, .11);
    --line-strong: rgba(126, 255, 195, .28);
    --text: #edf9f3;
    --muted: #8fa79c;
    --green: #55f5b2;
    --green-dark: #1bc981;
    --yellow: #ffd469;
    --orange: #ff9f5a;
    --red: #ff6b72;
    --blue: #7eb7ff;
    --shadow: 0 22px 70px rgba(0, 0, 0, .28);
    --radius: 22px;
    --mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
    --sans: Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 12%, rgba(34, 153, 104, .08), transparent 32rem),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    font-family: var(--sans);
    line-height: 1.65;
    min-width: 320px;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    z-index: -1;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 999; padding: 10px 16px; background: var(--green); color: #03120c; border-radius: 8px; text-decoration: none; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    padding: 0 max(18px, calc((100vw - 1120px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 13, 11, .78);
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--green); border-radius: 11px; color: var(--green); font-family: var(--mono); font-weight: 700; box-shadow: inset 0 0 20px rgba(85,245,178,.09), 0 0 24px rgba(85,245,178,.08); }
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--mono); font-size: 14px; letter-spacing: .18em; }
.brand small { margin-top: 4px; font-family: var(--mono); color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.site-header nav a { color: #b7c9c0; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--green); }
.icon-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(85,245,178,.05); cursor: pointer; font-size: 13px; font-weight: 700; }
.icon-button:hover { background: rgba(85,245,178,.11); }
.icon-button.loading span:first-child { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

main { overflow: hidden; }
.hero { min-height: 570px; max-width: 1500px; margin: 0 auto; padding: 96px clamp(22px, 6vw, 96px) 82px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 40px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: var(--green); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(85,245,178,.04); }
.live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(85,245,178,.10), 0 0 14px var(--green); }
.hero h1, .hero h2 { margin: 26px 0 18px; font-size: clamp(48px, 7vw, 92px); line-height: 1.04; letter-spacing: -.055em; font-weight: 900; }
.hero h1 em, .hero h2 em { color: var(--green); font-style: normal; text-shadow: 0 0 42px rgba(85,245,178,.16); }
.hero-copy > p { max-width: 690px; margin: 0; color: #a5bab0; font-size: clamp(16px, 2vw, 20px); }
.freshness-row { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.freshness-row strong { color: #dcebe4; font-family: var(--mono); font-size: 12px; }
.source-pill { padding: 4px 9px; border-radius: 99px; background: rgba(85,245,178,.08); color: var(--green); }
.source-pill.delayed { color: var(--yellow); background: rgba(255,212,105,.08); }
.hero-orbit { width: min(34vw, 410px); aspect-ratio: 1; margin-left: auto; position: relative; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(85,245,178,.18); border-radius: 50%; }
.orbit-ring::before { content: ''; position: absolute; width: 7px; height: 7px; top: 14%; left: 15%; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.ring-one { inset: 2%; animation: orbit 18s linear infinite; }
.ring-two { inset: 17%; border-style: dashed; animation: orbit 11s linear reverse infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit-core { display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(85,245,178,.28), rgba(12,41,31,.9) 65%); border: 1px solid rgba(85,245,178,.34); box-shadow: 0 0 70px rgba(85,245,178,.13), inset 0 0 45px rgba(85,245,178,.1); }
.orbit-core span { font-family: var(--mono); font-size: clamp(28px, 4vw, 52px); color: var(--green); font-weight: 700; line-height: 1; }
.orbit-core small { margin-top: -30%; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .18em; }
.ambient { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; pointer-events: none; }
.ambient-one { width: 270px; height: 270px; background: var(--green-dark); right: 16%; top: 24%; }
.ambient-two { width: 230px; height: 230px; background: #186b86; left: -9%; bottom: -6%; }

.section { width: min(1120px, calc(100% - 36px)); margin: 0 auto 120px; }
.forecast-section { padding-top: clamp(52px, 7vw, 92px); margin-bottom: 34px; }
.forecast-section + .dual-layout { margin-bottom: 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-heading.compact { align-items: center; }
.section h2 { margin: 6px 0 0; font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.forecast-section h1 { margin: 6px 0 0; font-size: clamp(31px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.15; }
.forecast-intro { max-width: 720px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.section-heading > div > p { margin: 9px 0 0; color: var(--muted); }
.confidence-box { min-width: 140px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); text-align: right; }
.confidence-box span { display: block; color: var(--muted); font-size: 11px; }
.confidence-box strong { color: var(--green); font-size: 17px; }
.warning-banner { margin-bottom: 18px; padding: 11px 15px; border: 1px solid rgba(255,212,105,.2); border-radius: 12px; background: rgba(255,212,105,.07); color: #ffdda1; font-size: 13px; }

.probability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.probability-card { position: relative; min-height: 320px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,35,30,.95), rgba(9,20,17,.96)); box-shadow: var(--shadow); overflow: hidden; }
.probability-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -100px; border-radius: 50%; background: var(--card-color, var(--green)); filter: blur(55px); opacity: .08; }
.probability-card.featured { border-color: rgba(85,245,178,.38); transform: translateY(-8px); box-shadow: 0 28px 80px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.04); }
.recommended { position: absolute; top: 0; right: 24px; padding: 6px 12px; border-radius: 0 0 9px 9px; background: var(--green); color: #02120b; font-size: 10px; font-weight: 900; }
.card-top { display: flex; justify-content: space-between; align-items: center; color: #c4d8ce; font-weight: 700; }
.level { padding: 4px 8px; border-radius: 7px; background: rgba(255,255,255,.05); color: var(--card-color, var(--green)); font-size: 11px; }
.probability-value { display: flex; align-items: baseline; margin: 29px 0 20px; font-family: var(--mono); }
.probability-value strong { font-size: clamp(64px, 7vw, 96px); line-height: .92; letter-spacing: -.08em; }
.probability-value span { margin-left: 7px; color: var(--muted); font-size: 24px; }
.progress-track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress-value { width: 0; height: 100%; border-radius: inherit; background: var(--card-color, var(--green)); box-shadow: 0 0 14px color-mix(in srgb, var(--card-color, var(--green)) 65%, transparent); transition: width .8s cubic-bezier(.22,.9,.35,1); }
.probability-card > p { position: relative; z-index: 1; margin: 16px 0 0; color: #9eb5aa; font-size: 12px; line-height: 1.7; }
.forecast-actions { margin-top: 18px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.analysis-panel { margin-top: 20px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(90deg, rgba(85,245,178,.055), rgba(13,25,22,.72)); }
.analysis-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(85,245,178,.09); color: var(--green); font-size: 26px; }
.analysis-label { color: var(--green); font-size: 11px; font-family: var(--mono); letter-spacing: .1em; }
.analysis-panel p { margin: 5px 0 6px; color: #c5d8ce; }
.text-button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.text-button:hover { color: var(--green); }
.share-button, .notification-button { padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(85,245,178,.07); cursor: pointer; font-size: 13px; font-weight: 700; white-space: nowrap; }
.share-button:hover, .notification-button:hover { background: rgba(85,245,178,.14); }

.signal-layout { display: grid; grid-template-columns: 1.65fr .75fr; gap: 18px; }
.signal-card, .last-reset-card, .chart-section, .chat-panel, .alert-panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,25,22,.82); box-shadow: var(--shadow); }
.signal-card { padding: 30px; }
.signal-header, .panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.signal-strength { padding: 6px 10px; border-radius: 9px; color: var(--yellow); background: rgba(255,212,105,.08); border: 1px solid rgba(255,212,105,.15); font-size: 11px; font-weight: 800; }
.signal-content { margin-top: 26px; }
.signal-summary-row { display: flex; align-items: flex-start; gap: 14px; }
.signal-quote { flex: 1; min-width: 0; margin: 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--green); font-size: 22px; color: #f3fff9; }
.signal-quote strong { font-weight: 900; }
.signal-translation { margin: 0; color: #a9bdb3; }
.signal-original-toggle { flex: 0 0 auto; margin-top: 1px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(85,245,178,.05); color: var(--green); cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.signal-original-toggle:hover { background: rgba(85,245,178,.11); }
.signal-original { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.signal-original span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.signal-original p { margin: 5px 0 0; color: #c3d5cc; font-family: var(--mono); font-size: 12px; }
.signal-meta { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.signal-meta div { padding: 12px; background: rgba(255,255,255,.025); border-radius: 11px; }
.signal-meta span { display: block; color: var(--muted); font-size: 10px; }
.signal-meta strong, .signal-meta a { display: block; margin-top: 4px; color: #d9e9e1; font-size: 12px; text-decoration: none; }
.loading-block { color: var(--muted); }
.last-reset-card { padding: 30px; display: flex; flex-direction: column; }
.last-reset-card time { margin-top: 25px; color: #dcece4; font-family: var(--mono); font-size: 15px; }
.elapsed { margin: 7px 0 5px; color: var(--green); font-family: var(--mono); font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.04em; }
.last-reset-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.mini-source { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mini-source a { color: #c5d8ce; text-decoration: none; }

.chart-section { padding: 30px; }
.chart-legend { display: flex; gap: 18px; color: var(--muted); font-size: 11px; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; }
.dot-24 { background: var(--green); }.dot-48 { background: var(--yellow); }.dot-72 { background: var(--orange); }
.chart-wrap { position: relative; min-height: 280px; }
.chart-wrap canvas { display: block; width: 100%; height: 280px; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; pointer-events: none; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.filter.active, .filter:hover { color: #062116; background: var(--green); border-color: var(--green); font-weight: 800; }
.history-list { border-top: 1px solid var(--line); }
.history-item { display: grid; grid-template-columns: 150px 110px 1fr auto; align-items: center; gap: 18px; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.history-date { font-family: var(--mono); color: #d5e6de; font-size: 13px; }
.history-type { width: fit-content; padding: 5px 9px; border-radius: 8px; background: rgba(85,245,178,.08); color: var(--green); font-size: 10px; font-weight: 800; }
.history-type[data-type="보상"] { color: var(--yellow); background: rgba(255,212,105,.08); }
.history-copy strong { display: block; font-size: 14px; }
.history-copy small { color: var(--muted); font-size: 11px; }
.history-item > a { color: var(--muted); text-decoration: none; font-size: 12px; }
.history-item > a:hover { color: var(--green); }
.skeleton-row, .news-skeleton { background: linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.055), rgba(255,255,255,.025)); background-size: 220% 100%; animation: shimmer 1.5s infinite; }
.skeleton-row { height: 72px; margin-top: 1px; }
@keyframes shimmer { to { background-position: -220% 0; } }

.dual-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.chat-panel, .alert-panel { padding: 28px; min-width: 0; }
.online { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.nickname-row { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; }
.nickname-row label { color: var(--muted); font-size: 11px; }
.nickname-row input { width: 160px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.03); color: var(--text); outline: none; }
.nickname-row input:focus { border-color: var(--green); }
.chat-messages { height: 330px; overflow-y: auto; padding: 15px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(3,9,8,.42); scrollbar-color: var(--surface-3) transparent; }
.chat-message { display: grid; grid-template-columns: auto 1fr auto; column-gap: 9px; align-items: baseline; padding: 8px 3px; }
.chat-message strong { color: var(--green); font-size: 11px; }
.chat-message p { min-width: 0; margin: 0; color: #d1e0d9; font-size: 13px; word-break: break-word; }
.chat-message time { color: #60756b; font-family: var(--mono); font-size: 9px; }
.report-message { grid-column: 3; padding: 0; border: 0; background: none; color: #60756b; font-size: 9px; cursor: pointer; }
.report-message:hover { color: var(--red); }
.empty-state { color: var(--muted); text-align: center; margin-top: 120px; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 10px; }
.chat-form input { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); color: var(--text); outline: none; }
.chat-form input:focus { border-color: var(--green); }
.chat-form button { padding: 0 18px; border: 0; border-radius: 12px; background: var(--green); color: #05150e; font-weight: 900; cursor: pointer; }
.chat-policy { margin: 9px 0 0; color: #60756b; font-size: 10px; }
.alert-panel > p { color: var(--muted); font-size: 13px; }
.beta { color: var(--green); font-family: var(--mono); font-size: 10px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row span { display: flex; flex-direction: column; }
.toggle-row strong { font-size: 13px; }
.toggle-row small { color: var(--muted); font-size: 10px; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row i { flex: 0 0 auto; position: relative; width: 42px; height: 24px; border-radius: 99px; background: #24352e; transition: .2s; }
.toggle-row i::after { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #788d83; transition: .2s; }
.toggle-row input:checked + i { background: rgba(85,245,178,.25); }
.toggle-row input:checked + i::after { left: 21px; background: var(--green); }
.notification-button { width: 100%; margin-top: 20px; }
.fine-print { color: #6e8479 !important; font-size: 10px !important; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { min-height: 300px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(17,32,27,.92), rgba(8,17,15,.94)); color: inherit; text-decoration: none; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-badges { min-height: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.news-badges span { padding: 4px 7px; border-radius: 7px; background: rgba(85,245,178,.08); color: var(--green); font-size: 9px; font-weight: 800; }
.news-badges span.urgent { background: rgba(255,107,114,.1); color: var(--red); }
.news-card h3 { margin: 17px 0 11px; font-size: 19px; line-height: 1.45; letter-spacing: -.02em; }
.news-card p { margin: 0; color: var(--muted); font-size: 12px; }
.news-meta { margin-top: auto; padding-top: 21px; display: flex; justify-content: space-between; color: #6c8177; font-size: 10px; }
.news-skeleton { height: 300px; border-radius: 18px; }
.news-updated { color: var(--muted); font-family: var(--mono); font-size: 10px; }

dialog { width: min(650px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 32px; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--text); background: #0c1815; box-shadow: 0 40px 100px rgba(0,0,0,.65); overflow-y: auto; }
dialog::backdrop { background: rgba(1,6,5,.78); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: 15px; top: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.05); cursor: pointer; font-size: 22px; }
dialog h2 { margin: 7px 0 16px; }
dialog p { color: #b0c3b9; }
.method-list { margin: 25px 0; }
.method-list div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.method-list dt { color: var(--muted); font-size: 12px; }
.method-list dd { margin: 0; text-align: right; font-size: 12px; }
.news-detail-badges { display: flex; gap: 7px; margin-bottom: 15px; }
.news-detail-badges span { padding: 5px 8px; border-radius: 8px; background: rgba(85,245,178,.08); color: var(--green); font-size: 10px; }
.news-original { padding: 12px; border-radius: 11px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 11px; }
.news-detail-section { margin-top: 22px; }
.news-detail-section h3 { margin-bottom: 7px; font-size: 14px; }
.source-link { display: inline-flex; margin-top: 20px; padding: 10px 15px; border-radius: 10px; background: var(--green); color: #04150d; text-decoration: none; font-weight: 800; font-size: 12px; }

.intro-dialog { width: min(1180px, calc(100% - 34px)); max-height: calc(100vh - 34px); padding: 0; overflow: hidden; background: #06110e; }
.intro-dialog .dialog-close { z-index: 8; right: 20px; top: 18px; }
.intro-dialog .intro-hero { width: 100%; min-height: 570px; margin: 0; padding: 72px clamp(34px, 6vw, 82px); }
.intro-dialog .hero h1, .intro-dialog .hero h2 { font-size: clamp(46px, 5.4vw, 70px); }

.seo-guide { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,25,22,.68); box-shadow: var(--shadow); }
.seo-guide h2 { max-width: 760px; }
.seo-guide-lead { max-width: 900px; margin: 18px 0 28px; color: #afc2b8; font-size: 15px; line-height: 1.85; word-break: keep-all; }
.seo-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.seo-guide-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); }
.seo-guide-grid h3 { margin: 0 0 10px; color: #e5f4ed; font-size: 16px; }
.seo-guide-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; word-break: keep-all; }
.seo-guide-grid a { color: var(--green); text-underline-offset: 3px; }
.seo-guide-grid code { padding: 2px 5px; border-radius: 5px; background: rgba(85,245,178,.08); color: #dff8eb; font-family: var(--mono); font-size: .95em; }
.intro-launcher { position: fixed; left: 24px; bottom: calc(24px + var(--intro-footer-offset, var(--ad-anchor-offset, 0px))); z-index: 44; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(85,245,178,.48); border-radius: 50%; background: rgba(8,28,22,.92); color: var(--green); box-shadow: 0 12px 34px rgba(0,0,0,.42), 0 0 24px rgba(85,245,178,.12); backdrop-filter: blur(12px); cursor: pointer; }
.intro-launcher:hover { background: #12382b; transform: translateY(-2px); }
.intro-launcher-mark { font-family: var(--mono); font-size: 15px; font-weight: 800; }
.intro-launcher-label { position: absolute; left: 64px; padding: 6px 9px; border-radius: 8px; background: #132720; color: #dff8eb; font-size: 10px; white-space: nowrap; opacity: 0; transform: translateX(-5px); pointer-events: none; transition: .2s ease; }
.intro-launcher:hover .intro-launcher-label, .intro-launcher:focus-visible .intro-launcher-label { opacity: 1; transform: translateX(0); }

.ad-shell { position: relative; display: grid; justify-items: center; width: 100%; overflow: hidden; }
.ad-top { width: min(1120px, calc(100% - 36px)); min-height: 108px; margin: 24px auto 0; padding: 9px 0; border: 1px solid rgba(187,255,224,.06); border-radius: 16px; background: rgba(255,255,255,.012); }
.adsbygoogle { max-width: 100%; }
.responsive-ad { display: inline-block; width: 100%; height: 90px; }
.vertical-ad { display: inline-block; width: 300px; height: 600px; }

.global-share-dock { position: fixed; right: 22px; bottom: calc(22px + var(--ad-anchor-offset, 0px)); z-index: 62; display: flex; flex-direction: column; gap: 8px; width: 178px; }
.global-share-dock button { min-height: 44px; padding: 10px 13px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12,26,22,.95); color: #e9f6ef; box-shadow: 0 10px 30px rgba(0,0,0,.34); backdrop-filter: blur(14px); cursor: pointer; font-size: 12px; font-weight: 800; }
.global-share-dock button:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.global-share-dock .share-kakao { border-color: rgba(254,229,0,.5); background: #fee500; color: #181600; }
.share-icon { width: 18px; height: 18px; flex: 0 0 18px; display: block; }
.share-icon-kakao { width: 22px; height: 22px; flex-basis: 22px; fill: currentColor; }
.share-icon-kakao text { fill: #fee500; font-family: Arial, sans-serif; font-size: 4.2px; font-weight: 900; letter-spacing: -.2px; }
.share-icon-link { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.news-post-shell { width: min(1120px, calc(100% - 36px)); margin: 54px auto 110px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 30px; overflow: visible; }
.news-post { min-width: 0; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: rgba(13,25,22,.82); box-shadow: var(--shadow); }
.post-breadcrumb { color: var(--green); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.news-post .news-detail-badges { margin: 26px 0 12px; }
.news-post h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.15; letter-spacing: -.055em; }
.post-lead { margin: 28px 0 18px; color: #c8dbd1; font-size: clamp(17px, 2vw, 21px); line-height: 1.8; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 12px; }
.post-meta strong { color: var(--green); }
.news-post .news-original { margin: 20px 0 44px; }
.post-section { margin-top: 52px; }
.post-section h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; }
.post-section > p { margin: 24px 0 0; color: #c0d3c9; font-size: 16px; line-height: 1.95; word-break: keep-all; }
.post-section > p + p { margin-top: 15px; }
.post-section ul { margin: 22px 0 0; padding: 18px 22px 18px 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(85,245,178,.035); color: #c8dbd1; }
.post-section li { margin: 8px 0; padding-left: 4px; }
.post-section li::marker { color: var(--green); }
.post-source-note { margin: 48px 0 20px; padding: 16px 18px; border-left: 2px solid var(--green); background: rgba(85,245,178,.035); color: var(--muted); font-size: 12px; line-height: 1.8; }
.post-reset-cta { margin-top: 32px; padding: 24px; border: 1px solid rgba(85,245,178,.24); border-radius: 16px; background: linear-gradient(135deg, rgba(85,245,178,.09), rgba(85,245,178,.025)); }
.post-reset-cta > span { color: var(--green); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.post-reset-cta strong { display: block; margin-top: 8px; font-size: 20px; }
.post-reset-cta p { margin: 8px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.post-reset-cta a { display: inline-flex; padding: 10px 14px; border-radius: 10px; background: var(--green); color: #04150d; text-decoration: none; font-size: 12px; font-weight: 900; }
.ad-inline { min-height: 108px; margin: 16px 0 8px; padding: 9px 0; border-radius: 14px; background: rgba(255,255,255,.012); }
.post-ad-sidebar { position: sticky; top: 94px; min-height: 616px; padding-top: 8px; display: grid; place-items: start center; border: 1px solid rgba(187,255,224,.06); border-radius: 18px; background: rgba(255,255,255,.012); overflow: hidden; }
.related-news { margin-top: 62px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-news h3 { margin: 0 0 18px; font-size: 19px; }
.related-news-list { display: grid; gap: 10px; }
.related-news-list a { padding: 16px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 13px; color: inherit; text-decoration: none; background: rgba(255,255,255,.018); }
.related-news-list a:hover { border-color: var(--line-strong); }
.related-news-list span { color: var(--green); font-size: 9px; }
.related-news-list strong { font-size: 13px; }
.post-footer { grid-template-columns: auto 1fr; }
.post-home-button { text-decoration: none; }

@media (max-width: 700px) {
    body { padding-bottom: calc(68px + var(--ad-anchor-offset, 0px) + env(safe-area-inset-bottom)); }
    .global-share-dock { left: 0; right: 0; bottom: var(--ad-anchor-offset, 0px); z-index: 80; width: 100%; padding: 9px 10px max(9px, env(safe-area-inset-bottom)); flex-direction: row; gap: 8px; border-top: 1px solid var(--line); background: rgba(4,12,10,.94); backdrop-filter: blur(18px); }
    .global-share-dock button { flex: 1; min-width: 0; min-height: 46px; padding: 9px 7px; box-shadow: none; font-size: 11px; }
    .toast { bottom: calc(78px + var(--ad-anchor-offset, 0px) + env(safe-area-inset-bottom)); }
    .intro-launcher { position: relative; left: auto; bottom: auto; z-index: 1; width: max-content; height: 56px; margin: 24px auto; padding: 0 20px; display: flex; gap: 8px; border-radius: 999px; }
    .intro-launcher-label { position: static; padding: 0; background: transparent; color: #dff8eb; opacity: 1; transform: none; }
}

footer { padding: 44px clamp(22px, 5vw, 76px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; border-top: 1px solid var(--line); background: rgba(3,8,7,.65); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > div { display: flex; flex-direction: column; }
.footer-brand strong { font-size: 13px; }.footer-brand small { color: var(--muted); font-size: 9px; }
footer > p { max-width: 710px; margin: 0 auto; color: #6f847a; font-size: 10px; text-align: center; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 11px; background: #12251f; color: var(--text); box-shadow: var(--shadow); font-size: 12px; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
    .site-header nav { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
    .hero-orbit { position: absolute; width: 330px; right: -120px; top: 80px; opacity: .46; }
    .hero-copy { max-width: 680px; }
    .probability-grid { grid-template-columns: 1fr; }
    .probability-card { min-height: 260px; }
    .probability-card.featured { transform: none; }
    .seo-guide-grid { grid-template-columns: 1fr; }
    .signal-layout, .dual-layout { grid-template-columns: 1fr; }
    .last-reset-card { min-height: 300px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-post-shell { grid-template-columns: 1fr; }
    .post-ad-sidebar { display: none; }
    footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 620px) {
    body { padding-bottom: calc(68px + var(--ad-anchor-offset, 0px) + env(safe-area-inset-bottom)); }
    .desktop-only { display: none; }
    .site-header { height: 64px; padding: 0 12px; }
    .hero { width: 100%; padding: 64px 20px 70px; }
    .hero h1 { font-size: clamp(40px, 11vw, 48px); }
    .hero-copy > p { max-width: 90%; font-size: 15px; }
    .hero-orbit { width: 250px; right: -125px; top: 130px; opacity: .18; }
    .freshness-row { max-width: 290px; }
    .section { width: min(100% - 24px, 1120px); margin-bottom: 82px; }
    .forecast-section { padding-top: 44px; margin-bottom: 24px; }
    .forecast-section + .dual-layout { margin-bottom: 58px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .confidence-box { text-align: left; }
    .probability-card { padding: 22px; }
    .probability-value strong { font-size: 70px; }
    .forecast-actions { justify-content: space-between; }
    .signal-card, .last-reset-card, .chart-section, .chat-panel, .alert-panel { padding: 22px; }
    .signal-summary-row { gap: 9px; }
    .signal-quote { padding-left: 13px; font-size: 18px; }
    .signal-original-toggle { padding: 7px 9px; font-size: 10px; }
    .signal-meta { grid-template-columns: 1fr; }
    .chart-legend { flex-wrap: wrap; }
    .history-item { grid-template-columns: 1fr auto; gap: 8px 12px; }
    .history-date { grid-column: 1; }.history-type { grid-column: 2; grid-row: 1; }
    .history-copy { grid-column: 1 / -1; }.history-item > a { grid-column: 1 / -1; }
    .news-grid { grid-template-columns: 1fr; }
    .chat-message { grid-template-columns: auto 1fr; }
    .chat-message time { display: none; }
    .report-message { grid-column: 2; justify-self: end; }
    dialog { padding: 28px 21px; }
    .intro-dialog { width: calc(100% - 14px); max-height: calc(100vh - 14px); padding: 0; }
    .intro-dialog .intro-hero { min-height: 610px; padding: 64px 20px 70px; }
    .intro-dialog .hero h1 { font-size: clamp(40px, 11vw, 48px); }
    .intro-launcher { position: relative; left: auto; bottom: auto; z-index: 1; width: max-content; height: 56px; margin: 24px auto max(24px, env(safe-area-inset-bottom)); padding: 0 20px; display: flex; gap: 8px; border-radius: 999px; }
    .intro-launcher-label { position: static; padding: 0; background: transparent; color: #dff8eb; opacity: 1; transform: none; }
    .ad-top { width: calc(100% - 24px); min-height: 266px; margin-top: 12px; padding: 8px 0; }
    .responsive-ad { width: min(300px, 100%); height: 250px; }
    .global-share-dock { bottom: var(--ad-anchor-offset, 0px); }
    .global-share-dock button { flex: 1; min-width: 0; min-height: 46px; padding: 9px 7px; box-shadow: none; font-size: 11px; }
    .toast { bottom: calc(78px + var(--ad-anchor-offset, 0px) + env(safe-area-inset-bottom)); }
    .news-post-shell { width: calc(100% - 20px); margin: 22px auto 70px; }
    .news-post { padding: 26px 18px 36px; border-radius: 18px; }
    .news-post h1 { font-size: clamp(32px, 10vw, 44px); }
    .post-lead { font-size: 16px; }
    .post-section { margin-top: 44px; }
    .post-section > p { font-size: 15px; }
    .ad-inline { min-height: 266px; margin: 15px -8px 8px; padding: 8px 0; }
    .post-home-button { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.admin-home { text-decoration: none; }
.admin-main { width: min(1180px, calc(100% - 28px)); margin: 70px auto 110px; }
.admin-login { max-width: 560px; margin: 12vh auto; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-login h1 { margin: 8px 0; }.admin-login p { color: var(--muted); }
.admin-login form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 22px; }
.admin-login input, .admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); color: var(--text); outline: none; }
.admin-form select option { background: var(--surface); }.admin-form textarea { min-height: 90px; resize: vertical; }
.admin-login button, .admin-form button, .admin-row button { padding: 10px 15px; border: 0; border-radius: 10px; background: var(--green); color: #04150d; font-weight: 800; cursor: pointer; }
.admin-error { color: var(--red) !important; }
.admin-console { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.admin-card h2 { margin: 5px 0 20px; }.admin-wide { grid-column: 1 / -1; }
.admin-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.admin-form label { color: var(--muted); font-size: 11px; }.admin-form label > * { margin-top: 5px; }.admin-form .wide { grid-column: 1 / -1; }
.admin-actions { display: flex; gap: 8px; }.admin-form .secondary, .admin-row .secondary { border: 1px solid var(--line); background: transparent; color: var(--muted); }
.admin-list { max-height: 500px; overflow: auto; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.admin-row > div { min-width: 0; }.admin-row strong { display: block; font-size: 12px; word-break: break-word; }.admin-row small { color: var(--muted); font-size: 9px; }
@media (max-width: 760px) { .admin-console { grid-template-columns: 1fr; }.admin-wide { grid-column: auto; }.admin-form { grid-template-columns: 1fr; }.admin-form .wide { grid-column: auto; }.admin-row { align-items: flex-start; flex-direction: column; } }
