/* Başarı Sıralamaları — 2026 Premium Editorial Theme */
:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --bg: #f8f6f3;
    --bg-elevated: #ffffff;
    --bg-muted: #f0ede8;
    --text: #1c1917;
    --text-muted: #57534e;
    --text-subtle: #78716c;
    --border: #e7e5e4;
    --primary: #0c4a6e;
    --primary-light: #0369a1;
    --accent: #ea580c;
    --accent-soft: #fff7ed;
    --success: #059669;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(28,25,23,.06), 0 8px 24px rgba(28,25,23,.06);
    --shadow-lg: 0 20px 50px rgba(28,25,23,.12);
    --container: 1180px;
    --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: var(--header-h);
    gap: 1rem 1.5rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity .2s, transform .15s;
}
.logo:hover {
    opacity: .92;
    transform: translateY(-1px);
}
.logo__img {
    display: block;
    width: auto;
    height: 68px;
    max-width: min(340px, 48vw);
    object-fit: contain;
    border-radius: 8px;
}
.nav-main { display: flex; align-items: center; gap: .25rem; }
.nav-main > a, .nav-drop > button, .nav-drop > .nav-drop__trigger {
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-main > a:hover, .nav-drop:hover > button, .nav-drop > .nav-drop__trigger:hover { background: var(--bg-muted); color: var(--text); }
.nav-drop { position: relative; }
.nav-drop__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    margin-top: .35rem;
}
/* Dropdown hover: desktop only — see responsive.css */
.nav-drop__menu a {
    display: block;
    padding: .55rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: .875rem;
}
.nav-drop__menu a:hover { background: var(--bg-muted); }
.nav-toggle {
    display: none;
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    cursor: pointer;
}

/* Header / footer ad banner */
.site-ad-banner:not(:has(.ad-wrap)) {
    display: none;
}
.site-ad-banner {
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border);
    padding: .65rem 0;
}
.site-ad-banner--footer {
    border-bottom: none;
    border-top: 1px solid var(--border);
    margin-top: 0;
}
.site-ad-banner__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}
.site-ad-banner .ad-wrap {
    margin: 0;
    width: 100%;
    max-width: 728px;
}
.site-ad-banner .ad-slot,
.site-ad-banner .ad-slot--placeholder {
    width: 100%;
    max-width: 728px;
    margin-inline: auto;
}
.site-ad-banner .ad-slot--live {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 90px;
}
.site-ad-banner .ad-slot--live iframe,
.site-ad-banner .ad-slot--live ins,
.site-ad-banner .ad-slot--live > * {
    max-width: 100%;
}

/* Ads (in-content & sidebar) */
.ad-wrap { margin: 1.25rem 0; }
.ad-slot--placeholder {
    min-height: 90px;
    background: linear-gradient(135deg, var(--bg-muted), #e7e5e4);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    color: var(--text-subtle);
    font-size: .75rem;
    text-align: center;
    padding: .75rem 1rem;
    width: 100%;
    box-sizing: border-box;
}
.ad-slot--placeholder .ad-slot__label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ad-slot--live {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
}
.ad-slot--live iframe,
.ad-slot--live ins {
    max-width: 100%;
    display: block;
    margin-inline: auto;
}
.ad-leaderboard { width: 100%; max-width: 728px; margin-inline: auto; }
.ad-leaderboard .ad-wrap { margin-inline: auto; }
.ad-leaderboard .ad-slot--placeholder { min-height: 90px; max-height: 120px; }
.ad-rectangle .ad-slot--placeholder { min-height: 250px; }
.ad-sidebar .ad-slot--placeholder { min-height: 280px; }
.ad-sidebar .ad-wrap { margin: 0 0 1.25rem; }

/* Layout */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2rem 0 4rem;
    align-items: start;
}
.page-main { min-width: 0; }
.page-aside { position: sticky; top: calc(var(--header-h) + 1rem); }

/* Hero */
.hero {
    padding: 2.5rem 0 1rem;
}
.hero--compact {
    padding-top: 0;
    padding-bottom: .5rem;
}
.hero__eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: .35rem .75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    color: var(--text);
}
.hero__lead { font-size: 1.125rem; color: var(--text-muted); max-width: 62ch; margin: 0; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    font-size: .8125rem;
    color: var(--text-subtle);
}
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .35rem; opacity: .5; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.card__body { padding: 1.25rem 1.35rem 1.35rem; }
.card__tag {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary-light);
}
.card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: .4rem 0 .5rem;
    line-height: 1.3;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary-light); }
.card p { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* Quick nav pills */
.pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1.5rem 0;
}
.pill-nav a {
    padding: .55rem 1.1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
}
.pill-nav a:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* Countdown */
.countdown {
    background: linear-gradient(135deg, var(--primary) 0%, #075985 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}
.countdown h2 { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 700; }
.countdown__grid { display: flex; gap: 1rem; flex-wrap: wrap; }
.countdown__item {
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    padding: .75rem 1.25rem;
    min-width: 72px;
    text-align: center;
}
.countdown__num { display: block; font-size: 1.75rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown__label { font-size: .7rem; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }

/* Tables */
.table-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 2rem 0;
    overflow: hidden;
}
.table-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-muted);
}
.table-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}
.table-card__badge {
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .65rem;
    background: var(--bg-elevated);
    border-radius: 999px;
    color: var(--text-muted);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.score-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}
.score-table th {
    position: sticky;
    top: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: .85rem 1rem;
    white-space: nowrap;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.score-table td {
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.score-table tbody tr:hover td { background: #f0f9ff; }
.score-table tbody tr:nth-child(even) td { background: #fafaf9; }
.score-table tbody tr:nth-child(even):hover td { background: #f0f9ff; }
.score-table__uni { font-weight: 600; color: var(--text); display: block; }
.score-table__city { font-size: .75rem; color: var(--text-subtle); }
.score-table__num { font-variant-numeric: tabular-nums; font-weight: 600; }
.score-table__rank { color: var(--primary); }

.university-dept-block .placement-flow {
    margin: 0;
}

.university-dept-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.university-dept-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.university-dept-block:last-child {
    border-bottom: none;
}

.university-dept-block__head {
    margin-bottom: .75rem;
}

.university-dept-block__title {
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.university-dept-block__title a {
    color: var(--text);
    text-decoration: none;
}

.university-dept-block__title a:hover {
    color: var(--primary);
}

.university-dept-block__meta {
    margin: 0;
    font-size: .85rem;
    color: var(--text-muted);
}

/* Multi-year placement table — full page flow, no inner scroll box */
.placement-flow {
    margin: 2rem 0 2.5rem;
}

.placement-flow__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--border);
}

.placement-flow__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.placement-flow__meta {
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.placement-flow .table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    -webkit-overflow-scrolling: touch;
}

.placement-flow .score-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
}

.score-table--multi .score-table__sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--bg-elevated);
    min-width: 11rem;
    box-shadow: 4px 0 8px -4px rgba(15, 23, 42, .12);
}
.score-table--multi thead .score-table__sticky-col {
    z-index: 4;
    background: var(--primary);
}
.score-table--multi .score-table__metric-col {
    min-width: 7.5rem;
    vertical-align: top;
}
.year-stack {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.year-stack__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    padding: .25rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .8125rem;
    line-height: 1.3;
}
.year-stack__row:last-child { border-bottom: none; padding-bottom: 0; }
.year-stack__row:first-child { padding-top: 0; }
.year-stack__year {
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-subtle);
    letter-spacing: .02em;
}
.year-stack__val { text-align: right; }
.score-table--multi .year-stack__val.score-table__rank { color: var(--primary); }

/* Content article */
.article {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow);
}
.article h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
}
.article__meta { font-size: .875rem; color: var(--text-subtle); margin-bottom: 1.5rem; }
.prose { font-size: 1.05rem; }
.prose h2 { font-family: var(--font-display); margin: 2rem 0 .75rem; font-size: 1.4rem; }
.prose h3 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.35rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.seo-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.seo-content__body.prose h1 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    line-height: 1.25;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
    color: var(--text);
}
.seo-content__body.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    margin: 2rem 0 .75rem;
    color: var(--text);
}
.seo-content__body.prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.5rem 0 .5rem;
}
.seo-content__body.prose h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.25rem 0 .4rem;
}
.seo-content__body.prose p:last-child { margin-bottom: 0; }
.seo-content__body.prose blockquote {
    margin: 0 0 1rem;
    padding: .75rem 1rem;
    border-left: 3px solid var(--primary-light);
    background: var(--bg-muted);
    color: var(--text-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.seo-content__body.prose ul li,
.seo-content__body.prose ol li { margin-bottom: .35rem; }
.seo-content__body.prose a {
    color: var(--primary);
    font-weight: 500;
}
.seo-content__body.prose a:hover { color: var(--primary-light); }

/* Dept list */
.dept-index {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.dept-index ul {
    columns: 2;
    column-gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dept-index li { break-inside: avoid; margin-bottom: .5rem; }
.dept-index a { font-size: .9rem; font-weight: 500; }
.badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .45rem;
    border-radius: 4px;
    background: var(--bg-muted);
    color: var(--text-subtle);
    margin-left: .35rem;
    vertical-align: middle;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.25rem 0;
}
.filters input, .filters select {
    padding: .65rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--bg-elevated);
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .65rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
}
.btn:hover { background: var(--primary-light); color: #fff; }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: #c2410c; color: #fff; }
.btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn--sm {
    padding: .35rem .65rem;
    font-size: .8rem;
    min-height: auto;
}
.btn-add-pref--added { background: var(--success); border-color: var(--success); }

/* Feature grid (home) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
.feature-card {
    display: block;
    padding: 1.35rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    color: var(--text);
}
.feature-card__icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    margin-bottom: .75rem;
}
.feature-card h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 .4rem;
}
.feature-card p { margin: 0; font-size: .875rem; color: var(--text-muted); }

/* Tools */
.tool-form__tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.tool-form__tab {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-muted);
}
.tool-form__tab:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.tool-form__tab input { accent-color: #fff; }
.tool-form__label { display: block; font-weight: 600; font-size: .875rem; margin: 1rem 0 .35rem; }
.tool-form__panel input,
.tool-form__panel select { width: 100%; max-width: 320px; }

.result-card {
    background: linear-gradient(135deg, var(--primary) 0%, #075985 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-lg);
}
.result-card h2, .result-card h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.result-card__big { font-size: 2.25rem; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.result-card__meta, .result-card__trend { opacity: .9; font-size: .875rem; margin: .5rem 0 0; }
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.result-grid__label { display: block; font-size: .75rem; opacity: .85; margin-bottom: .2rem; }
.result-scores { list-style: none; margin: 0; padding: 0; }
.result-scores li {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    font-size: 1rem;
}
.calc-form__note { font-size: .85rem; color: var(--text-muted); margin: 0 0 1rem; }
.calc-form__section { border: none; margin: 0 0 1.5rem; padding: 0; }
.calc-form__section legend { font-weight: 700; margin-bottom: .65rem; }

.disclaimer {
    margin-top: 2rem;
    font-size: .8rem;
    color: var(--text-subtle);
}
.flash { padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.flash--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

.affiliate-list { list-style: none; margin: 0; padding: 0; }
.affiliate-list li { margin-bottom: .75rem; }
.affiliate-list a { font-weight: 600; font-size: .875rem; }
.affiliate-list__desc { display: block; font-size: .75rem; color: var(--text-subtle); margin-top: .15rem; }
.pref-count { display: none; }
.table-filters { margin-bottom: 1.25rem; }

.header-auth {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.header-auth__name {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header-auth__form { margin: 0; }

.flash--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.tier-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tier-badge--safe { background: #ecfdf5; color: #047857; }
.tier-badge--risk { background: #fff7ed; color: #c2410c; }
.tier-badge--dream { background: #eff6ff; color: #1d4ed8; }

.robot-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.5rem 0;
}
.robot-stat {
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
}
.robot-stat--safe { background: #ecfdf5; color: #047857; }
.robot-stat--risk { background: #fff7ed; color: #c2410c; }
.robot-stat--dream { background: #eff6ff; color: #1d4ed8; }

.robot-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
@media (max-width: 960px) {
    .robot-columns { grid-template-columns: 1fr; }
}
.robot-column {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}
.robot-column h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.robot-column--safe { border-top: 3px solid #059669; }
.robot-column--risk { border-top: 3px solid #ea580c; }
.robot-column--dream { border-top: 3px solid #2563eb; }
.robot-card {
    padding: .65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .875rem;
}
.robot-card strong { display: block; }
.robot-card span { color: var(--text-muted); font-size: .8rem; }
.robot-card small { color: var(--text-subtle); }
.robot-empty { font-size: .85rem; color: var(--text-subtle); margin: 0; }

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 900px) {
    .compare-grid { grid-template-columns: 1fr; }
}
.compare-form .filters { margin: 0; }

/* Sidebar widget */
.widget {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.widget h3 {
    margin: 0 0 1rem;
    font-size: .95rem;
    font-weight: 700;
    padding-bottom: .65rem;
    border-bottom: 2px solid var(--accent);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin-bottom: .45rem; }
.widget a { font-size: .875rem; color: var(--text-muted); }
.widget a:hover { color: var(--primary-light); }

/* Footer */
.site-footer {
    background: var(--text);
    color: #a8a29e;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}
.site-footer a { color: #e7e5e4; }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #44403c;
    text-align: center;
    font-size: .85rem;
}

/* Pagination */
.pager-wrap {
    margin: 2rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.pager__summary {
    margin: 0;
    font-size: .875rem;
    color: var(--text-muted);
    text-align: center;
}
.pager__summary strong {
    color: var(--text);
    font-weight: 700;
}
.pager__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}
.pager__item { margin: 0; }
.pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: .45rem .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
a.pager__link:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: #f0f9ff;
}
.pager__item--active .pager__link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    cursor: default;
}
.pager__item--disabled .pager__link {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}
.pager__item--gap .pager__link {
    border: none;
    background: transparent;
    min-width: auto;
    padding: .45rem .25rem;
    color: var(--text-subtle);
    font-weight: 500;
}

/* Mobile & tablet: see responsive.css */
