:root {
  --ink: #0b1424;
  --ink-soft: #142238;
  --ink-muted: #526078;
  --canvas: #f5f7fb;
  --surface: #ffffff;
  --line: #e2e7ef;
  --line-dark: rgba(255, 255, 255, .12);
  --accent: #62e3b3;
  --accent-dark: #0d8d67;
  --blue: #6c9cff;
  --danger: #dc5f6f;
  --warning: #efb553;
  --shadow: 0 18px 60px rgba(11, 20, 36, .08);
  --radius: 18px;
}

html { font-size: 15px; min-height: 100%; }
body { min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: #087354; }
button, input, select, textarea { font: inherit; }
.container-xl { max-width: 1240px; }
.site-main { min-height: calc(100vh - 180px); padding: 2.5rem 0 5rem; }

.site-header { position: sticky; top: 0; z-index: 1020; background: rgba(11, 20, 36, .97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); }
.site-header .navbar { min-height: 72px; padding: .75rem 0; }
.brand-lockup { display: inline-flex; gap: .7rem; align-items: center; color: #fff !important; font-size: 1.16rem; font-weight: 760; letter-spacing: -.02em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(98,227,179,.65); border-radius: 10px; background: linear-gradient(145deg, rgba(98,227,179,.22), rgba(108,156,255,.08)); color: var(--accent); font-size: .92rem; }
.brand-accent { color: var(--accent); }
.site-header .nav-link { color: rgba(255,255,255,.7) !important; font-size: .88rem; font-weight: 590; margin: 0 .15rem; padding: .65rem .65rem !important; }
.site-header .nav-link:hover { color: #fff !important; }
.header-search { position: relative; display: flex; align-items: center; width: 210px; margin-right: 1rem; }
.header-search input { width: 100%; padding: .62rem 2.35rem .62rem .9rem; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: 0; background: rgba(255,255,255,.07); color: #fff; font-size: .84rem; }
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus { border-color: rgba(98,227,179,.55); box-shadow: 0 0 0 3px rgba(98,227,179,.09); }
.header-search button { position: absolute; right: .35rem; border: 0; background: transparent; color: var(--accent); font-size: 1.25rem; }
.account-nav { align-items: center; gap: .45rem; }
.account-button { display: flex; align-items: center; gap: .5rem; max-width: 180px; border: 0; background: transparent; color: rgba(255,255,255,.84); font-size: .82rem; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: rgba(98,227,179,.15); color: var(--accent); font-weight: 700; }
.notification-link { position: relative; }
.notification-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: .15rem; border-radius: 20px; background: var(--accent); color: var(--ink); font-size: .65rem; font-weight: 800; }
.sign-in-link { white-space: nowrap; }

.btn { border-radius: 10px; font-weight: 700; padding: .72rem 1.1rem; }
.btn-sm { padding: .52rem .85rem; border-radius: 8px; font-size: .82rem; }
.btn-accent { border: 1px solid var(--accent); background: var(--accent); color: #092218; box-shadow: 0 8px 24px rgba(98,227,179,.17); }
.btn-accent:hover, .btn-accent:focus { border-color: #76edc2; background: #76edc2; color: #061c14; transform: translateY(-1px); }
.btn-soft { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-soft:hover { border-color: #bac4d2; background: #fafbfe; color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.25); }
.app-alert { margin: 0 0 1.25rem; border: 0; border-radius: 12px; box-shadow: var(--shadow); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(98,227,179,.12); }
.hero-section { position: relative; display: grid; grid-template-columns: 1.22fr .78fr; min-height: 510px; margin-top: -2.5rem; margin-bottom: 2rem; padding: 5.2rem 5rem 4.5rem; overflow: hidden; border-radius: 0 0 28px 28px; background: var(--ink); color: #fff; box-shadow: 0 25px 70px rgba(11,20,36,.15); }
.hero-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 42%, rgba(98,227,179,.1), transparent 32%), linear-gradient(120deg, transparent 50%, rgba(108,156,255,.04)); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero-copy .eyebrow { color: var(--accent); }
.hero-copy h1 { margin: 0 0 1.25rem; font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.06em; font-weight: 760; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy > p { max-width: 590px; color: rgba(255,255,255,.65); font-size: 1.06rem; line-height: 1.7; }
.hero-search { display: flex; align-items: center; max-width: 640px; margin-top: 2rem; padding: .45rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); box-shadow: 0 18px 50px rgba(0,0,0,.15); }
.hero-search > span { padding-left: .8rem; color: var(--accent); font-size: 1.3rem; }
.hero-search input { flex: 1; min-width: 100px; padding: .8rem; border: 0; outline: 0; background: transparent; color: #fff; }
.hero-search input::placeholder { color: rgba(255,255,255,.42); }
.hero-search button { padding: .76rem 1rem; border: 0; border-radius: 10px; background: var(--accent); color: #092218; font-weight: 800; white-space: nowrap; }
.hero-links { display: flex; gap: 1.5rem; margin-top: 1.3rem; }
.hero-links a { color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 650; }
.hero-links a:hover { color: #fff; }
.hero-links span { color: var(--accent); }
.hero-orbit { position: relative; min-height: 380px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(98,227,179,.18); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 310px; height: 310px; }
.orbit-two { width: 430px; height: 430px; border-color: rgba(108,156,255,.09); }
.orbit-core { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 205px; height: 205px; border: 1px solid rgba(98,227,179,.4); border-radius: 50%; background: radial-gradient(circle, rgba(98,227,179,.18), rgba(11,20,36,.82) 65%); transform: translate(-50%,-50%); box-shadow: 0 0 80px rgba(98,227,179,.09); }
.core-label { color: var(--accent); font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.orbit-core strong { margin: .15rem 0; font-size: 2.35rem; letter-spacing: -.05em; }
.orbit-core small { color: rgba(255,255,255,.52); }
.orbit-card { position: absolute; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(20,34,56,.86); color: rgba(255,255,255,.72); font-size: .72rem; box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.orbit-card span { margin-right: .35rem; color: var(--accent); }
.orbit-card-one { top: 15%; right: -3%; }
.orbit-card-two { bottom: 12%; left: -5%; }

.data-notice { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 1.6rem; padding: .9rem 1rem; border: 1px solid #bfe9da; border-radius: 12px; background: #effbf6; color: #176b52; font-size: .86rem; }
.data-notice.muted { border-color: #dbe1ea; background: #fff; color: var(--ink-muted); }
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 4.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.stats-strip > div { padding: 1.5rem 1.7rem; border-right: 1px solid var(--line); }
.stats-strip > div:last-child { border-right: 0; }
.stats-strip span, .stats-strip small { display: block; color: var(--ink-muted); font-size: .72rem; }
.stats-strip span { font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.stats-strip strong { display: block; margin: .35rem 0 .1rem; font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; }
.content-section { margin: 0 0 4.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.3rem; }
.section-heading h2, .panel-heading h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.035em; }
.section-heading p { margin: .45rem 0 0; color: var(--ink-muted); font-size: .9rem; }
.section-heading .eyebrow { margin-bottom: .45rem; }
.section-heading.centered { justify-content: center; text-align: center; }
.text-link { font-size: .84rem; font-weight: 750; white-space: nowrap; }

.domain-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 38px rgba(11,20,36,.05); }
.domain-table { margin: 0; }
.domain-table thead th { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); background: #fafbfe; color: #788399; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.domain-table tbody td { padding: 1rem 1.2rem; border-color: #edf0f5; font-size: .82rem; vertical-align: middle; }
.domain-table tbody tr:last-child td { border-bottom: 0; }
.domain-table tbody tr:hover { background: #fbfcfe; }
.domain-name { color: var(--ink); font-size: .95rem; font-weight: 750; }
.domain-name:hover { color: var(--accent-dark); }
.suffix-chip { display: none; margin-left: .35rem; color: var(--ink-muted); font-size: .67rem; }
.status-pill { display: inline-flex; align-items: center; gap: .42rem; padding: .32rem .58rem; border-radius: 30px; background: #f1f4f8; color: #536078; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.status-pill > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-available { background: #e8faf3; color: #12815e; }
.status-registered { background: #edf1f7; color: #59667b; }
.status-withdrawn { background: #f2f3f6; color: #7b8392; }
.status-final { background: #fff2dc; color: #a9660a; }
.status-dropped { background: #edf2ff; color: #456fc9; }
.status-error { background: #fff0f2; color: #b63d50; }
.status-potential { background: #eef7ff; color: #3771a8; }
.drop-time { color: #4f5c70; white-space: nowrap; }
.countdown { color: var(--ink); font-size: .75rem; font-weight: 750; white-space: nowrap; }
.countdown.past { color: var(--ink-muted); font-weight: 600; }
.table-actions { min-width: 92px; white-space: nowrap; }
.watch-state { padding: .25rem; border: 0; background: none; color: #9ca6b5; font-size: 1.15rem; line-height: 1; }
.watch-state:hover, .watch-state.active { color: #e6a932; }
.row-arrow { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-left: .45rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 800; }
.row-arrow:hover { border-color: var(--accent); background: #ecfbf5; color: var(--accent-dark); }

.empty-state { padding: 4rem 2rem; border: 1px dashed #cbd3df; border-radius: var(--radius); background: rgba(255,255,255,.65); text-align: center; }
.empty-state.compact { padding: 2.5rem; }
.empty-state > span { display: block; margin-bottom: .7rem; color: var(--accent-dark); font-size: 2rem; }
.empty-state h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.empty-state p { margin: 0 0 1.1rem; color: var(--ink-muted); }
.how-it-works { margin: 1rem 0 3rem; padding: 3.5rem; border-radius: 24px; background: var(--ink); color: #fff; }
.how-it-works .eyebrow { color: var(--accent); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 2.2rem; background: rgba(255,255,255,.1); }
.steps-grid article { padding: 1.8rem; background: var(--ink); }
.step-number { color: var(--accent); font-size: .68rem; font-weight: 800; }
.steps-grid h3 { margin: 1.2rem 0 .6rem; font-size: 1rem; }
.steps-grid p { margin: 0; color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.6; }

.page-heading { padding: 2rem 0 2.2rem; }
.page-heading h1 { margin: 0; font-size: clamp(2.25rem,4vw,3.6rem); letter-spacing: -.055em; }
.page-heading p { max-width: 760px; margin: .8rem 0 0; color: var(--ink-muted); font-size: 1rem; line-height: 1.65; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.filter-panel { display: grid; grid-template-columns: minmax(200px,2fr) repeat(4,minmax(120px,1fr)) auto; align-items: end; gap: .8rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(11,20,36,.04); }
.filter-panel label, .watch-settings label, .form-field label { display: block; margin-bottom: .35rem; color: #667287; font-size: .69rem; font-weight: 780; letter-spacing: .04em; }
.filter-panel input, .filter-panel select, .watch-settings select, .watch-settings input[type="number"], .watch-settings textarea, .form-field select { width: 100%; min-height: 42px; padding: .62rem .7rem; border: 1px solid #d8dee8; border-radius: 9px; outline: 0; background: #fff; color: var(--ink); font-size: .82rem; }
.filter-panel input:focus, .filter-panel select:focus, .watch-settings textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(13,141,103,.08); }
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: .55rem .2rem 1rem; color: var(--ink-muted); font-size: .78rem; }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--ink); }
.pagination-wrap { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; }
.page-numbers { display: flex; gap: .35rem; }
.page-button, .page-number { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 700; }
.page-number.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.page-button.disabled { pointer-events: none; opacity: .4; }

.breadcrumb-row { display: flex; gap: .55rem; padding: .7rem 0 1.5rem; color: #8a94a4; font-size: .78rem; }
.domain-hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; padding: 2.6rem; border-radius: 22px; background: var(--ink); color: #fff; }
.domain-hero h1 { margin: .7rem 0 .55rem; font-size: clamp(2.2rem,5vw,4.3rem); letter-spacing: -.06em; word-break: break-word; }
.domain-hero p { max-width: 730px; margin: 0; color: rgba(255,255,255,.6); }
.domain-actions { display: flex; gap: .6rem; align-items: center; flex-shrink: 0; }
.details-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.panel { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 32px rgba(11,20,36,.045); }
.panel-heading { margin-bottom: 1.5rem; }
.timeline { position: relative; }
.timeline-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: .9rem; padding-bottom: 1.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; top: 13px; bottom: -4px; left: 5px; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item > span { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 4px; border: 2px solid #aeb8c6; border-radius: 50%; background: #fff; }
.timeline-item.complete > span { border-color: var(--accent-dark); background: var(--accent); }
.timeline-item.current > span { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(108,156,255,.12); }
.timeline-item small { display: block; color: var(--ink-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.timeline-item strong { display: block; margin: .18rem 0; font-size: .9rem; }
.timeline-item p { margin: 0; color: var(--ink-muted); font-size: .77rem; }
.facts-list { margin: 0; }
.facts-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid #edf0f4; }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { color: var(--ink-muted); font-size: .74rem; font-weight: 600; }
.facts-list dd { margin: 0; text-align: right; font-size: .76rem; font-weight: 720; word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.registration-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(125deg, #0d192b, #142a3b); color: #fff; }
.registration-panel .eyebrow { color: var(--accent); }
.registration-panel h2 { margin: 0 0 .4rem; }
.registration-panel p { max-width: 760px; margin: 0; color: rgba(255,255,255,.58); font-size: .84rem; }
.registration-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.attempt-list { display: grid; gap: .65rem; }
.attempt-list article { display: grid; grid-template-columns: 1fr auto; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.attempt-list article div span { display: block; color: var(--ink-muted); font-size: .72rem; }
.attempt-list article p { grid-column: 1/-1; margin: .5rem 0 0; color: var(--ink-muted); font-size: .78rem; }
.attempt-status { font-size: .72rem; font-weight: 750; }

.watchlist-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.watch-card { position: relative; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(11,20,36,.045); }
.watch-card-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.watch-card-header a { display: block; margin: .65rem 0 .2rem; color: var(--ink); font-size: 1.25rem; font-weight: 760; }
.watch-card-header time { color: var(--ink-muted); font-size: .72rem; }
.watch-settings { padding-top: 1rem; }
.watch-settings fieldset { display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem; margin: 0 0 1rem; }
.watch-settings legend { grid-column: 1/-1; margin: 0 0 .25rem; color: #667287; font-size: .69rem; font-weight: 780; }
.watch-settings fieldset label { display: flex; gap: .45rem; align-items: center; margin: 0; color: var(--ink); font-weight: 550; }
.watch-settings input[type="checkbox"] { accent-color: var(--accent-dark); }
.watch-settings input[type="hidden"] { display: none; }
.watch-form-row { display: grid; grid-template-columns: 1fr 90px; gap: .7rem; }
.watch-settings textarea { min-height: 62px; resize: vertical; }
.watch-card-footer { margin-top: .8rem; }
.remove-watch-form { position: absolute; right: 1.35rem; bottom: 1.7rem; }
.remove-watch-form button { border: 0; background: transparent; color: #a64e5d; font-size: .72rem; }

.notification-list { display: grid; gap: .65rem; }
.notification-item { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.notification-item.unread { border-color: #b9e9d8; box-shadow: 0 8px 30px rgba(13,141,103,.06); }
.notification-indicator { width: 7px; height: 7px; border-radius: 50%; background: #c6cdd7; }
.notification-item.unread .notification-indicator { background: var(--accent-dark); box-shadow: 0 0 0 5px rgba(13,141,103,.09); }
.notification-item h2 { margin: 0; font-size: .92rem; }
.notification-item p { margin: .2rem 0; color: var(--ink-muted); font-size: .78rem; }
.notification-item time { color: #929baa; font-size: .68rem; }

.narrow-page { max-width: 650px; margin: 2rem auto; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--ink-muted); font-size: .8rem; }
.confirmation-card { padding: 2rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.confirmation-card h1 { margin: 0 0 .8rem; font-size: 2rem; letter-spacing: -.04em; }
.confirmation-card > p { color: var(--ink-muted); line-height: 1.6; }
.confirmation-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 1.3rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.confirmation-facts div { padding: .9rem; background: #fafbfe; }
.confirmation-facts span { display: block; color: var(--ink-muted); font-size: .68rem; }
.confirmation-facts strong { font-size: .82rem; }
.form-field { margin: 1rem 0; }
.charge-confirmation { display: flex; gap: .65rem; align-items: start; margin: 1rem 0; color: var(--ink-muted); font-size: .78rem; line-height: 1.5; }
.charge-confirmation input { margin-top: .2rem; accent-color: var(--accent-dark); }

.status-overview { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: 1rem 1.2rem; border: 1px solid #cbe9dd; border-radius: 13px; background: #effaf6; }
.status-overview > span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-dark); box-shadow: 0 0 0 6px rgba(13,141,103,.1); }
.status-overview.waiting { border-color: #f1dab1; background: #fff8ec; }
.status-overview.waiting > span { background: var(--warning); }
.status-overview strong { font-size: .84rem; }
.status-overview p { margin: .1rem 0 0; color: var(--ink-muted); font-size: .73rem; }
.status-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1rem; }
.status-grid .panel > h2 { margin: 0; font-size: 1.75rem; }
.status-grid .panel > p { min-height: 35px; color: var(--ink-muted); font-size: .75rem; }
.source-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.source-panel h2 { margin: 0 0 .4rem; }
.source-panel p { max-width: 850px; margin: 0; color: var(--ink-muted); font-size: .82rem; line-height: 1.6; }
.prose-card { max-width: 820px; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose-card h2 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p { color: var(--ink-muted); line-height: 1.7; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.footer-brand { color: var(--ink); font-weight: 800; }
.site-footer p { margin: .35rem 0 0; color: var(--ink-muted); font-size: .75rem; }
.site-footer nav { display: flex; align-items: start; gap: 1.4rem; }
.site-footer nav a { color: var(--ink-muted); font-size: .75rem; }

.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 .2rem rgba(13,141,103,.1); }
.dropdown-menu { border-color: var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.dropdown-item { font-size: .82rem; }

@media (max-width: 991.98px) {
  .site-header { position: static; }
  .site-header .navbar-collapse { padding: 1rem 0; }
  .header-search { width: 100%; margin: .6rem 0; }
  .account-nav { align-items: stretch; }
  .hero-section { grid-template-columns: 1fr; padding: 4rem 2.5rem; }
  .hero-orbit { display: none; }
  .filter-panel { grid-template-columns: repeat(2,1fr); }
  .filter-search { grid-column: 1/-1; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .stats-strip > div:nth-child(2) { border-right: 0; }
  .stats-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .details-grid, .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  html { font-size: 14px; }
  .site-main { padding-top: 1.5rem; }
  .hero-section { min-height: auto; margin-top: -1.5rem; padding: 3.2rem 1.25rem; border-radius: 0 0 20px 20px; }
  .hero-copy h1 { font-size: 2.8rem; }
  .hero-search { align-items: stretch; flex-wrap: wrap; }
  .hero-search input { width: calc(100% - 40px); }
  .hero-search button { width: 100%; }
  .hero-links { flex-direction: column; gap: .6rem; }
  .stats-strip { margin-bottom: 3rem; }
  .stats-strip > div { padding: 1.1rem; }
  .section-heading, .split-heading, .domain-hero, .registration-panel, .source-panel, .footer-grid { align-items: stretch; flex-direction: column; }
  .domain-hero { padding: 1.5rem; }
  .domain-actions, .registration-actions { flex-wrap: wrap; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-search { grid-column: auto; }
  .filter-panel .btn { width: 100%; }
  .domain-table thead th:nth-child(2), .domain-table tbody td:nth-child(2), .domain-table thead th:nth-child(4), .domain-table tbody td:nth-child(4) { display: none; }
  .domain-table thead th, .domain-table tbody td { padding: .85rem .75rem; }
  .pagination-wrap { gap: .5rem; }
  .page-numbers { display: none; }
  .how-it-works { padding: 2.2rem 1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .watchlist-grid { grid-template-columns: 1fr; }
  .watch-settings fieldset { grid-template-columns: 1fr; }
  .notification-item { grid-template-columns: 8px 1fr; }
  .notification-item form, .notification-item > .row-arrow { grid-column: 2; justify-self: start; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Value scoring */
.nav-link-discover { color: var(--accent) !important; }
.value-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .55rem; border: 1px solid #e3e8ef; border-radius: 8px; background: #f7f9fc; color: #6b7789; font-size: .68rem; font-weight: 700; white-space: nowrap; cursor: help; }
.value-badge strong { min-width: 1.6em; color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: -.02em; text-align: center; }
.value-badge.tier-interesting { border-color: #cfe2f5; background: #eef6ff; color: #2f6aa5; }
.value-badge.tier-strong { border-color: #bfe9da; background: #e8faf3; color: #0d8d67; }
.value-badge.tier-strong strong { color: #0a6b4e; }
.value-badge.tier-premium { border-color: #f1d28c; background: linear-gradient(135deg, #fff5d6, #ffe9a8); color: #8a5a00; box-shadow: 0 4px 14px rgba(239,181,83,.25); }
.value-badge.tier-premium strong { color: #6b4300; }
.results-links { display: flex; gap: 1.2rem; }
.results-links a { font-weight: 700; }
.table-footnote { margin: .8rem .2rem 0; color: var(--ink-muted); font-size: .76rem; }
.discover-strip { margin-bottom: 3rem; }
.interests-section .section-heading p { max-width: 720px; }
.interest-panel { margin-bottom: 1.2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(11,20,36,.04); }
.interest-add { display: flex; gap: .6rem; max-width: 520px; }
.interest-add input { flex: 1; min-height: 44px; padding: .62rem .8rem; border: 1px solid #d8dee8; border-radius: 9px; outline: 0; font-size: .86rem; }
.interest-add input:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(13,141,103,.08); }
.interest-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.interest-chip { display: inline-flex; align-items: center; gap: .15rem; padding: .3rem .35rem .3rem .75rem; border: 1px solid #cfe2f5; border-radius: 30px; background: #eef6ff; font-size: .8rem; font-weight: 700; }
.interest-chip.muted { border-color: var(--line); background: #f4f6f9; color: var(--ink-muted); }
.interest-chip a { color: inherit; }
.interest-chip button { border: 0; background: transparent; color: #7b8695; font-size: .85rem; line-height: 1; padding: .2rem .35rem; border-radius: 50%; }
.interest-chip button:hover { background: rgba(11,20,36,.08); color: var(--ink); }
.interest-empty { margin: .9rem 0 0; color: var(--ink-muted); font-size: .82rem; }
.details-aside { display: grid; gap: 1.2rem; align-content: start; }
.value-panel h2 small { color: var(--ink-muted); font-size: .9rem; font-weight: 600; }
.value-meter { height: 8px; margin: -.5rem 0 1rem; overflow: hidden; border-radius: 6px; background: #edf0f5; }
.value-meter span { display: block; height: 100%; border-radius: 6px; background: #9ca6b5; transition: width .5s ease; }
.value-meter span.tier-interesting { background: #4b8bd0; }
.value-meter span.tier-strong { background: var(--accent-dark); }
.value-meter span.tier-premium { background: linear-gradient(90deg, #efb553, #f6d27a); }
.value-tier-line { margin: 0 0 .9rem; }
.value-reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.value-reasons li { position: relative; padding-left: 1.1rem; font-size: .8rem; font-weight: 600; }
.value-reasons li::before { content: "◆"; position: absolute; left: 0; top: .1rem; color: var(--accent-dark); font-size: .6rem; }
.value-none { margin: 0; color: var(--ink-muted); font-size: .8rem; }
.value-interests { margin: .9rem 0 0; padding: .6rem .75rem; border-radius: 9px; background: #eef6ff; color: #2f6aa5; font-size: .78rem; font-weight: 700; }
.value-caveat { margin: .9rem 0 0; color: #8a94a4; font-size: .7rem; line-height: 1.5; }
.scoring-explainer { margin-top: 1rem; }
@media (max-width: 991.98px) {
  .filter-panel { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 767.98px) {
  .domain-table thead th:nth-child(2), .domain-table tbody td:nth-child(2) { display: table-cell; }
  .domain-table thead th:nth-child(3), .domain-table tbody td:nth-child(3), .domain-table thead th:nth-child(5), .domain-table tbody td:nth-child(5) { display: none; }
  .value-badge span { display: none; }
  .results-bar { flex-direction: column; align-items: start; gap: .4rem; }
  .interest-add { flex-direction: column; }
  .filter-panel { grid-template-columns: 1fr; }
}

/* Named watch lists, bulk add, export */
.heading-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.list-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.list-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; }
.list-tab span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 20px; background: #eef1f6; color: var(--ink-muted); font-size: .68rem; }
.list-tab:hover { border-color: #bac4d2; color: var(--ink); }
.list-tab.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.list-tab.active span { background: rgba(255,255,255,.18); color: #fff; }
.list-rename { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.2rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .78rem; }
.list-rename label { margin: 0; color: #667287; font-weight: 780; }
.list-rename input { min-height: 36px; padding: .4rem .6rem; border: 1px solid #d8dee8; border-radius: 8px; font-size: .82rem; }
.list-rename-hint { color: var(--ink-muted); font-size: .72rem; }
.list-chip { display: inline-block; margin-left: .4rem; padding: .28rem .6rem; border-radius: 30px; background: #eef6ff; color: #2f6aa5 !important; font-size: .68rem !important; font-weight: 750 !important; vertical-align: middle; }
.watch-card-header .value-badge { margin-left: .4rem; vertical-align: middle; }
.watch-form-row.three { grid-template-columns: 1.2fr 1fr 80px; }
.watch-settings input[type="text"] { width: 100%; min-height: 42px; padding: .62rem .7rem; border: 1px solid #d8dee8; border-radius: 9px; outline: 0; background: #fff; color: var(--ink); font-size: .82rem; }
.bulk-watch { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: .75rem 1rem; border: 1px dashed #cbd3df; border-radius: 12px; background: rgba(255,255,255,.7); font-size: .78rem; }
.bulk-watch label { margin: 0; color: var(--ink); font-weight: 750; }
.bulk-watch input { min-width: 240px; min-height: 36px; padding: .4rem .6rem; border: 1px solid #d8dee8; border-radius: 8px; font-size: .8rem; }
.bulk-watch-hint { color: var(--ink-muted); font-size: .72rem; }
@media (max-width: 767.98px) {
  .heading-actions { flex-wrap: wrap; }
  .watch-form-row.three { grid-template-columns: 1fr; }
  .bulk-watch input { min-width: 0; width: 100%; }
}
