/* =========================================================================
   Soredu ? kurumsal SaaS aray?z?
   ========================================================================= */

:root {
    --bg: #f4f6fa;
    --bg-soft: #eef2f8;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #eef2f7;

    --border: #dde3ee;
    --border-strong: #c5cedd;

    --text: #0c1b2e;
    --text-dim: #2a3f57;
    --muted: #64748b;
    --faint: #94a3b8;

    /* Marka: logo lacivert + alt?n */
    --navy: #0A3D7A;
    --accent: #0B4F9C;
    --accent-hover: #083D7A;
    --accent-soft: rgba(11, 79, 156, 0.1);
    --accent-line: rgba(11, 79, 156, 0.28);
    --gold: #F0A020;
    --gold-light: #F6C05A;
    --gold-dark: #D4860E;
    --gold-soft: rgba(240, 160, 32, 0.16);
    --gold-line: rgba(240, 160, 32, 0.5);

    --ok: #0f8a5f;
    --ok-soft: rgba(15, 138, 95, 0.1);
    --warn: #C9A227;
    --warn-soft: rgba(201, 162, 39, 0.14);
    --danger: #c03545;
    --danger-soft: rgba(192, 53, 69, 0.09);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;

    --shadow-sm: 0 1px 2px rgba(10, 46, 92, 0.05);
    --shadow-md: 0 8px 24px rgba(10, 46, 92, 0.07);
    --shadow-lg: 0 24px 48px rgba(10, 46, 92, 0.1);

    --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --display: "Sora", "Source Sans 3", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

    --sx-accent: #0B4F9C;
    --sx-accent-hover: #083D7A;
    --sx-dark: #0A3D7A;
    --sx-dark-2: #0E4A8C;
    --sx-muted: #64748b;
    --sx-line: #dde3ee;
    --sx-soft: #f1f5f9;

    /* Bootstrap 5.3 tema k?pr?leri */
    --bs-primary: #0B4F9C;
    --bs-primary-rgb: 11, 79, 156;
    /* Bootstrap secondary = gri (okunabilir); alt?n marka rengi --gold / .btn-gold */
    --bs-secondary: #64748b;
    --bs-secondary-rgb: 100, 116, 139;
    --bs-secondary-color: #64748b;
    --bs-body-font-family: var(--sans);
    --bs-body-color: var(--text);
    --bs-body-bg: var(--bg);
    --bs-link-color: var(--accent);
    --bs-link-hover-color: var(--accent-hover);
    --bs-border-radius: 0.75rem;
    --bs-border-color: var(--border);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* ??renci telefonu: ?ift dokunu?la sayfa b?y?tmeyi kapat */
body.is-student-touch {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}
body.is-student-touch input,
body.is-student-touch textarea,
body.is-student-touch select,
body.is-student-touch button,
body.is-student-touch a,
body.is-student-touch label,
body.is-student-touch .mil-opt,
body.is-student-touch .let,
body.is-student-touch .btn {
    touch-action: manipulation;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.muted { color: var(--muted); }
.dim { color: var(--text-dim); }
.tnum { font-variant-numeric: tabular-nums; }

.container {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.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;
}

.eyebrow {
    font-family: var(--display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

/* ------------------------------------------------------------- butonlar */

.btn,
a.btn,
button.btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    --btn-border: transparent;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 94, 168, 0.18);
    --bs-btn-color: var(--btn-fg);
    --bs-btn-bg: var(--btn-bg);
    --bs-btn-border-color: var(--btn-border);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-hover);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--accent-hover);
    --bs-btn-active-border-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    min-height: 42px;
    height: auto;
    border: 1px solid var(--btn-border);
    border-radius: 11px;
    background: var(--btn-bg) !important;
    background-color: var(--btn-bg) !important;
    color: var(--btn-fg) !important;
    font: inherit;
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--btn-shadow);
    transition:
        background 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease,
        transform 0.1s ease,
        opacity 0.15s ease;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
.btn:focus-visible,
a.btn:focus-visible,
button.btn:focus-visible {
    --btn-bg: var(--accent-hover);
    --btn-fg: #fff;
    --bs-btn-hover-bg: var(--accent-hover);
    --bs-btn-hover-color: #fff;
    background: var(--accent-hover) !important;
    background-color: var(--accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(15, 94, 168, 0.24);
}

.btn:active,
a.btn:active,
button.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn[disabled],
.btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn-outline,
a.btn-outline,
button.btn-outline {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: #cbd5e1;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    --bs-btn-hover-bg: var(--accent-soft);
    --bs-btn-hover-color: var(--navy);
    --bs-btn-hover-border-color: var(--accent-line);
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover {
    --btn-bg: var(--accent-soft);
    --btn-fg: var(--navy);
    --btn-border: var(--accent-line);
    background: var(--accent-soft) !important;
    background-color: var(--accent-soft) !important;
    color: var(--navy) !important;
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.btn-ghost,
a.btn-ghost,
button.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--text-dim);
    --btn-border: transparent;
    --btn-shadow: none;
}

.btn-ghost:hover,
a.btn-ghost:hover,
button.btn-ghost:hover {
    --btn-bg: var(--surface-3);
    --btn-fg: var(--text);
    color: var(--text) !important;
    box-shadow: none;
}

.btn-cancel,
a.btn-cancel,
button.btn-cancel {
    --btn-bg: #fff;
    --btn-fg: var(--text-dim);
    --btn-border: #d0d7e3;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-cancel:hover,
a.btn-cancel:hover,
button.btn-cancel:hover {
    --btn-bg: #f1f5f9;
    --btn-fg: var(--navy);
    --btn-border: #b8c4d6;
    background: #f1f5f9 !important;
    color: var(--navy) !important;
    box-shadow: none;
}

.conf-top-bar .btn-cancel,
.conf-lobby-modern > .conf-top-bar .btn-cancel,
.conf-shell .btn-cancel,
.conf-results .btn-cancel,
.conf-run-actions .btn-cancel {
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-fg: #f4f8fc;
    --btn-border: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1) !important;
    color: #f4f8fc !important;
}

.conf-top-bar .btn-cancel:hover,
.conf-lobby-modern > .conf-top-bar .btn-cancel:hover,
.conf-shell .btn-cancel:hover,
.conf-results .btn-cancel:hover,
.conf-run-actions .btn-cancel:hover {
    --btn-bg: rgba(255, 255, 255, 0.18);
    --btn-fg: #fff;
    --btn-border: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.icon-btn:hover:not([disabled]) {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--navy);
}

.icon-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.icon-btn .bi { font-size: 14px; }

.btn-danger,
a.btn-danger,
button.btn-danger {
    --btn-bg: #fff;
    --btn-fg: var(--danger);
    --btn-border: rgba(192, 53, 69, 0.28);
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-danger:hover,
a.btn-danger:hover,
button.btn-danger:hover {
    --btn-bg: var(--danger-soft);
    --btn-fg: #9f2a37;
    color: #9f2a37 !important;
    box-shadow: none;
}

.btn-success,
a.btn-success,
button.btn-success {
    --btn-bg: var(--ok);
    --btn-fg: #fff;
    --btn-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(15, 138, 95, 0.18);
}

.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover {
    --btn-bg: #0c7550;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(15, 138, 95, 0.24);
}

.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ------------------------------------------------------------- formlar */

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field > label,
.label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dim);
}

.hint {
    font-size: 13px;
    color: var(--muted);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    background: #f4f7fb;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
}

input::placeholder,
textarea::placeholder { color: var(--faint); }

input:hover,
select:hover,
textarea:hover {
    background: #eef3f9;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(15, 94, 168, 0.35);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.12);
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.input-code {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-align: center;
    padding: 14px 12px 14px 22px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
    cursor: pointer;
}

.checkbox input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--accent);
    flex: none;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.form-error {
    padding: 10px 12px;
    border: 1px solid rgba(192, 53, 69, 0.28);
    border-radius: var(--r-sm);
    background: var(--danger-soft);
    color: #9f2a37;
    font-size: 13.5px;
}

/* ------------------------------------------------------------- kartlar */

.card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 28px rgba(11, 42, 74, 0.05);
    backdrop-filter: blur(8px);
}

.card-pad { padding: 20px; }

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.card-head h2,
.card-head h3 { font-size: 15px; }

.card-body { padding: 20px; }

.panel-note {
    padding: 14px 16px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface-2);
    font-size: 13.5px;
    color: var(--muted);
}

/* ------------------------------------------------------------- rozetler */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-dim);
    white-space: nowrap;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
}

.badge-plain::before { display: none; }

.badge-active {
    border-color: rgba(15, 138, 95, 0.28);
    background: var(--ok-soft);
    color: var(--ok);
}

.badge-ok {
    border-color: rgba(15, 138, 95, 0.28);
    background: var(--ok-soft);
    color: var(--ok);
}

.badge-draft {
    border-color: rgba(183, 129, 10, 0.28);
    background: var(--warn-soft);
    color: var(--warn);
}

.badge-closed {
    border-color: var(--border);
    background: var(--surface-2);
    color: var(--muted);
}

.badge-scheduled {
    border-color: rgba(240, 160, 32, 0.4);
    background: var(--gold-soft);
    color: #8a5a08;
}

.badge-danger {
    border-color: rgba(192, 53, 69, 0.28);
    background: var(--danger-soft);
    color: var(--danger);
}

/* ------------------------------------------------------------- tablolar */

.table-wrap { overflow-x: auto; }

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.data th {
    padding: 11px 14px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--faint);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    white-space: nowrap;
}

table.data td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-dim);
}

table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #f8fafc; }

table.data td.num,
table.data th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cell-primary {
    color: var(--text);
    font-weight: 600;
}

.cell-sub {
    display: block;
    font-size: 12.5px;
    color: var(--faint);
    font-weight: 400;
}

.rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.rank-pill.top-1 { background: #fff7e6; border-color: #f0d48a; color: #9a6b00; }
.rank-pill.top-2 { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
.rank-pill.top-3 { background: #f8efe6; border-color: #e2c4a6; color: #8a5a2b; }

.score-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.score-value {
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    min-width: 42px;
    text-align: right;
}

.score-value.is-pass { color: var(--ok); }
.score-value.is-fail { color: var(--danger); }

.meter {
    width: 96px;
    height: 6px;
    border-radius: 100px;
    background: var(--surface-3);
    overflow: hidden;
    flex: none;
}

.meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent);
    transition: width 0.4s ease;
}

.meter.is-pass span { background: var(--ok); }
.meter.is-fail span { background: var(--danger); }

/* ------------------------------------------------------------- istatistik */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stat {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.stat-label {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

.stat-value {
    margin-top: 6px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--navy);
}

.stat-foot {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

/* ------------------------------------------------------------- header */

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 30;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand:hover { color: var(--navy); }

.brand-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(155deg, #1B6FD4, var(--navy));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(11, 42, 74, 0.22);
}

.brand-name { font-size: 17px; }

/* ------------------------------------------------------------- Softinays tarz? ?r?n chrome */

.sx-header {
    position: sticky;
    top: 0;
    z-index: 60;
}

.sx-header.is-open {
    z-index: 130;
}

/* Mobil men? karartmas? ? masa?st?nde asla g?r?nmesin */
.sx-header-backdrop {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 110;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 46, 92, 0.28);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.sx-topbar {
    background: var(--sx-dark);
    color: #fff;
    font-size: 13px;
}

.sx-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding-block: 6px;
}

.sx-topbar-left,
.sx-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.sx-hours-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--sx-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sx-hours-text {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    margin-right: 4px;
}

.sx-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 8px;
    background: var(--sx-dark-2);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.sx-pill:hover { color: #fff; background: #1a3a58; }

button.sx-pill {
    font: inherit;
    cursor: pointer;
}

.sx-pill-ico { opacity: 0.9; }

.ico,
svg.ico {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
    flex: none;
    display: block;
}

.ico-sm,
svg.ico-sm {
    width: 14px;
    height: 14px;
}

.sx-feature-ico .ico,
.sx-feature-ico svg.ico {
    width: 18px;
    height: 18px;
}

.sx-social-btn .ico,
.sx-social-btn svg.ico,
.sx-social-btn .fa-brands {
    width: auto;
    height: auto;
    font-size: 14px;
    line-height: 1;
    display: block;
}

.sx-cta-ico,
.sx-cta .ico {
    width: 16px;
    height: 16px;
}

.sx-account-avatar .ico {
    width: 14px;
    height: 14px;
    color: var(--sx-accent);
}

.sx-dropdown-menu a .ico {
    width: 16px;
    height: 16px;
    color: var(--sx-muted);
}

.sx-dropdown-menu a:hover .ico {
    color: var(--sx-accent);
}

.sx-dropdown-sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--sx-line);
}

.side-link .ico {
    width: 15px;
    height: 15px;
    color: inherit;
    opacity: 0.95;
}

.nav-close .ico {
    width: 18px;
    height: 18px;
}

.sx-social {
    display: flex;
    gap: 6px;
}

.sx-social-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sx-social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.sx-social-light .sx-social-btn {
    border-color: var(--sx-line);
    color: var(--text-dim);
    background: #fff;
}

.sx-social-light .sx-social-btn:hover {
    border-color: var(--sx-accent);
    color: var(--sx-accent);
    background: var(--accent-soft);
}

.sx-mainbar {
    background: #fff;
    border-bottom: 1px solid var(--sx-line);
}

.sx-mainbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
}

.sx-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.04em;
    color: var(--navy);
    flex: none;
    order: 1;
}

.sx-logo:hover { color: var(--navy); }

.sx-logo-accent { color: var(--gold); }

.sx-logo-mark {
    width: 0;
    height: 0;
    margin: 0 3px;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent var(--sx-accent);
}

.sx-menu-btn {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    flex: none;
    order: 0;
}

.sx-menu-btn:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
}

.sx-menu-lines {
    display: grid;
    gap: 5px;
    width: 18px;
}

.sx-menu-lines i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.sx-header.is-open .sx-menu-lines i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sx-header.is-open .sx-menu-lines i:nth-child(2) {
    opacity: 0;
}

.sx-header.is-open .sx-menu-lines i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sx-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    order: 2;
    flex: 1;
    min-width: 0;
}

.sx-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: #374151;
}

.sx-nav a:hover,
.sx-nav a.is-active {
    color: var(--navy);
    background: var(--accent-soft);
}

.sx-nav-mobile-only,
.sx-nav-mobile-menu { display: none !important; }

.sx-mainbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-left: auto;
    order: 3;
    flex: none;
}

.sx-dock {
    display: none;
}

.sx-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #0b1f3a;
    color: #fff !important;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.sx-cta:hover {
    background: #07162c;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(7, 22, 44, 0.22);
}

.sx-cta:active { transform: translateY(1px); }

.sx-cta-ico { font-size: 12px; opacity: 0.95; }

.sx-auth-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
}
.sx-auth-link:hover {
    color: var(--sx-accent);
    background: var(--accent-soft);
}

.sx-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1.5px solid var(--accent-line);
    background: #fff;
    color: var(--sx-accent);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sx-auth-btn:hover {
    background: var(--accent-soft);
    border-color: var(--sx-accent);
    color: var(--navy);
}

.sx-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px 0 6px;
    border-radius: 11px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sx-account:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.sx-account-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--sx-accent);
}

.sx-account-label { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sx-dropdown { position: relative; }

.sx-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--sx-line);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    z-index: 80;
}

.sx-dropdown-menu-right { left: auto; right: 0; }

.sx-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.sx-dropdown-menu a:hover {
    background: var(--sx-soft);
    color: #111;
}

.sx-dropdown-menu a:hover .ico {
    color: var(--sx-accent);
}

.sx-topbar .sx-dropdown-menu a .ico {
    color: rgba(255, 255, 255, 0.7);
}

.sx-topbar .sx-dropdown-menu a:hover .ico {
    color: #fff;
}

.sx-topbar .sx-dropdown-menu {
    background: var(--sx-dark-2);
    border-color: #1e3a55;
}

.sx-topbar .sx-dropdown-menu a { color: rgba(255, 255, 255, 0.88); }
.sx-topbar .sx-dropdown-menu a:hover { background: #1a3a58; color: #fff; }

.sx-footer {
    background: #f7f8fb;
    border-top: 1px solid var(--sx-line);
    padding: 48px 0 0;
    color: var(--text-dim);
}

.sx-footer .sx-logo-img img {
    height: 40px;
    filter: none;
}

.sx-footer-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--sx-line);
}

.sx-footer-lead {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--sx-muted);
}

.sx-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 28px 0;
}

.sx-footer-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

.sx-footer-card {
    padding: 18px;
    border: 1px solid var(--sx-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    display: grid;
    gap: 10px;
    align-content: start;
}

.sx-footer-card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sx-footer-card-brand .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 13px;
    background: linear-gradient(155deg, var(--sx-accent), var(--navy));
}

.sx-footer-card-brand strong {
    font-size: 14px;
    color: #111;
}

.sx-footer-card h3 {
    margin: 0;
    font-size: 16px;
    color: #111;
}

.sx-footer-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sx-muted);
}

.sx-footer-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 11px;
    background: var(--sx-accent);
    border: 1px solid transparent;
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 18px rgba(20, 100, 176, 0.18);
    transition: background 0.16s ease, box-shadow 0.16s ease;
}

.sx-footer-card-btn:hover {
    background: var(--sx-accent-hover);
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 10px 22px rgba(20, 100, 176, 0.24);
}

.sx-footer-heading {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.sx-footer-links {
    display: grid;
    gap: 8px;
}

.sx-footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 11px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy) !important;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sx-footer-links a:hover {
    background: var(--accent-soft);
    border-color: var(--accent-line);
    color: var(--sx-accent) !important;
    box-shadow: 0 4px 12px rgba(15, 94, 168, 0.1);
}

.sx-footer-features {
    display: grid;
    gap: 14px;
}

.sx-feature-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.sx-feature-ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.sx-feature-ico.is-blue { background: #e8f1ff; color: #1464b0; }
.sx-feature-ico.is-green { background: #e8f8ef; color: #0f8a5f; }
.sx-feature-ico.is-orange { background: #eef5ff; color: #1464b0; }
.sx-feature-ico.is-purple { background: #eef2ff; color: #3b5bcc; }
.sx-feature-ico.is-navy { background: #e8eef7; color: #0A2E5C; }
.sx-feature-ico.is-pink { background: #eef6ff; color: #1d4ed8; }

.sx-feature-row strong {
    display: block;
    font-size: 14px;
    color: #111;
    line-height: 1.3;
}

.sx-feature-row span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--sx-muted);
    line-height: 1.45;
}

.sx-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0 22px;
    border-top: 1px solid var(--sx-line);
    font-size: 13px;
    color: var(--sx-muted);
}

.sx-footer-copy-text {
    min-width: 0;
}

.sx-footer-pay {
    display: block;
    height: 34px;
    width: auto;
    max-width: min(240px, 52vw);
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    margin-left: auto;
}

.sx-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sx-footer-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 100px;
    border: 1px solid var(--sx-line);
    background: #fff;
    color: var(--navy) !important;
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sx-footer-pills a:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--sx-accent) !important;
}

.admin-sidebar {
    background: #f8fafc;
}

.admin-shell .brand-mark {
    background: linear-gradient(155deg, #1a6bb8, #071a30);
}

.page-home .site-footer { display: none; }
.page-account .site-footer { display: none; }

.account-main {
    padding: 36px 0 56px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
    min-height: 60vh;
}

.account-wrap {
    max-width: 980px;
}

.account-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.account-hero h1 {
    margin-top: 6px;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--navy);
}

.account-lead {
    margin-top: 10px;
    max-width: 540px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.account-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 650;
}

.account-tabs a:hover {
    background: var(--surface-2);
    color: var(--navy);
}

.account-tabs a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.account-quick {
    display: grid;
    gap: 10px;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.account-panel {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 28px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.account-panel-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fbfcfe, #fff);
}

.account-panel-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.account-panel-ico.is-soft {
    background: var(--surface-3);
    color: var(--navy);
}

.account-panel-ico .ico {
    width: 20px;
    height: 20px;
}

.account-panel-head h2 {
    margin: 0;
    font-size: 17px;
    color: var(--navy);
}

.account-panel-head p {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.45;
}

.account-panel-body {
    padding: 20px 22px 22px;
}

.account-form {
    display: grid;
    gap: 14px;
}

.account-form.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-form .span-2 {
    grid-column: 1 / -1;
}

.account-form .field label {
    font-size: 13px;
    font-weight: 650;
    color: var(--text-dim);
}

.account-form .field input,
.account-form .field textarea {
    margin-top: 2px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: #f4f7fb;
    min-height: 48px;
    padding: 12px 14px;
}

.account-form .field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.5;
}

.account-form .field input:focus,
.account-form .field textarea:focus {
    background: #fff;
    border-color: rgba(15, 94, 168, 0.35);
    box-shadow: 0 0 0 4px rgba(15, 94, 168, 0.12);
}

.account-form .field input:disabled {
    background: #eef2f7;
    color: var(--muted);
}

.account-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.plan-box {
    position: relative;
    padding: 24px 22px;
    border-radius: 20px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background:
        radial-gradient(320px 140px at 100% 0%, rgba(240, 160, 32, 0.12), transparent 65%),
        #fff;
    box-shadow: 0 12px 32px rgba(10, 46, 92, 0.07);
    overflow: hidden;
}

.plan-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0A2E5C, #F0A020);
}

.plan-box.is-expired {
    border-color: rgba(192, 53, 69, 0.22);
    background:
        radial-gradient(320px 140px at 100% 0%, rgba(192, 53, 69, 0.1), transparent 65%),
        #fff;
}

.plan-box.is-expired::before {
    background: linear-gradient(90deg, #c03545, #e07a86);
}

.plan-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan-name {
    display: block;
    margin-top: 8px;
    font-family: var(--display);
    font-size: 30px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.plan-meta {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--text-dim);
}

.plan-features {
    margin: 18px 0 20px;
    padding: 16px 0 0;
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
    border-top: 1px solid rgba(10, 46, 92, 0.08);
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(240, 160, 32, 0.18);
    flex: none;
}

.plan-box .btn {
    margin-top: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.join-fields-builder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.join-field-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    border-radius: 12px;
    background: #f4f7fb;
    min-height: 44px;
}

.join-field-row.is-on {
    background: #fff;
    border-color: rgba(15, 94, 168, 0.22);
}

.join-field-main {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.join-field-main strong {
    color: var(--navy);
    font-size: 14px;
}

.join-field-enable {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    gap: 8px;
}

.join-field-options {
    flex: 1 1 100%;
    display: grid;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--muted);
}
.join-field-options textarea {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    font-size: 13.5px;
    color: var(--text);
    background: #fff;
}
.auth-field-select .auth-select,
.auth-select {
    appearance: none;
    width: 100%;
    min-height: 48px;
    padding: 14px 40px 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat,
        #fff;
    color: var(--text);
    font: inherit;
}
.auth-field-select .auth-label.is-float {
    top: 8px;
    font-size: 11px;
}

.join-field-enable-label {
    font-size: 13.5px;
    font-weight: 650;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-field-label {
    flex: 1 1 120px;
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #eef3f9;
    font: inherit;
    font-size: 13.5px;
}

.join-field-req {
    margin: 0;
    font-size: 12.5px;
}

.join-field-req.is-disabled {
    opacity: 0.45;
}

.join-field-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1;
}

.settings-stack {
    display: grid;
    gap: 18px;
}

.settings-block {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 42, 74, 0.06);
}

.settings-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.settings-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.settings-check {
    margin: 0;
}

@media (max-width: 720px) {
    .join-fields-builder {
        grid-template-columns: 1fr;
    }
}

.join-dynamic-fields {
    margin-top: 8px;
}

.join-dynamic-fields .form-grid {
    margin-top: 4px;
}

.ticket-list {
    display: grid;
    gap: 10px;
}

.ticket-item {
    padding: 14px 15px;
    border: 1px solid #e8eef6;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfe, #f8fafc);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticket-item:hover {
    border-color: var(--accent-line);
    box-shadow: 0 8px 18px rgba(15, 94, 168, 0.06);
}

a.ticket-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.ticket-item-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.ticket-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ticket-item-top strong {
    color: var(--navy);
    font-size: 14.5px;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: var(--surface-3);
    color: var(--text-dim);
}

.ticket-status.is-open {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.ticket-status.is-answered {
    background: var(--ok-soft);
    color: var(--ok);
}

.ticket-status.is-closed {
    background: #eef2f7;
    color: var(--muted);
}

.ticket-item p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.55;
}

.ticket-date {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.ticket-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 28px 16px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed #d8e0ea;
    border-radius: 14px;
    background: #f8fafc;
}

.ticket-empty-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--accent);
}

.ticket-empty-ico .ico {
    width: 20px;
    height: 20px;
}

.support-detail-head {
    margin-bottom: 18px;
}

.support-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.support-back .ico {
    width: 16px;
    height: 16px;
}

.support-back:hover {
    text-decoration: underline;
}

.admin-support-back {
    display: inline-flex;
    margin-bottom: 8px;
}

.support-detail-title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.support-detail-title h1 {
    margin: 4px 0 8px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.support-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.support-thread-panel {
    max-width: 820px;
}

.support-thread {
    display: grid;
    gap: 12px;
    max-height: min(52vh, 480px);
    overflow: auto;
    padding: 14px;
    border: 1px solid #e8eef6;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(20, 100, 176, 0.06), transparent 42%),
        linear-gradient(180deg, #fbfcfe, #f4f7fb);
}

.support-bubble {
    max-width: min(92%, 520px);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid transparent;
}

.support-bubble.is-teacher {
    justify-self: end;
    background: linear-gradient(180deg, #0A2E5C, #1464b0);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.support-bubble.is-admin {
    justify-self: start;
    background: #fff;
    border-color: #dbe5f0;
    color: var(--text);
    border-bottom-left-radius: 6px;
    box-shadow: 0 6px 16px rgba(15, 40, 70, 0.05);
}

.support-bubble-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.support-bubble.is-teacher .support-bubble-meta {
    color: rgba(255, 255, 255, 0.78);
}

.support-bubble.is-admin .support-bubble-meta {
    color: var(--muted);
}

.support-bubble-meta strong {
    font-size: 12.5px;
    font-weight: 700;
}

.support-bubble.is-teacher .support-bubble-meta strong {
    color: #fff;
}

.support-bubble.is-admin .support-bubble-meta strong {
    color: var(--navy);
}

.support-bubble-body {
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
}

.support-reply-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.support-closed-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3f6fa;
    border: 1px dashed #d5dee9;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
}

.support-closed-note a {
    color: var(--accent);
    font-weight: 600;
}

.support-admin-side {
    display: grid;
    gap: 10px;
}

.support-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.admin-ticket-table-wrap {
    overflow-x: auto;
}

.admin-ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-ticket-table th,
.admin-ticket-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.admin-ticket-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: #f8fafc;
}

.admin-ticket-table tr.is-priority {
    background: rgba(15, 94, 168, 0.04);
}

.admin-ticket-table td strong {
    color: var(--navy);
}

.admin-ticket-table .small,
.muted.small {
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.4;
}

.field .tox-tinymce {
    border-radius: 12px !important;
    border: 1px solid var(--border) !important;
    overflow: hidden;
}

.tox-tinymce-aux {
    z-index: 13000 !important;
}

.tox .tox-toolbar,
.tox .tox-toolbar__overflow,
.tox .tox-toolbar__primary {
    background: #f8fafc !important;
}

.tox .tox-edit-area__iframe {
    background: #fff !important;
}

.profile-cta-card {
    margin-top: 18px;
    padding: 24px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0A2E5C, #1464b0);
    border: 0;
    color: #fff;
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.22);
}

.profile-cta-card h2 {
    color: #fff;
    font-size: 20px;
}

.profile-cta-card .muted {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
}

.profile-cta-card .btn {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.profile-cta-card .btn:hover {
    --btn-bg: #eef5ff;
    color: var(--navy) !important;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .account-form.cols-2 {
        grid-template-columns: 1fr;
    }

    .account-form .span-2 {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .account-hero .btn-lg {
        width: 100%;
    }
}

/* ------------------------------------------------------------- bilgi sayfalar? */

.page-info {
    background: var(--bg);
}

.page-info > main {
    overflow-x: clip;
}

.page-info .site-footer { display: none; }

.info-main {
    padding: 48px 0 64px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

.info-main.ip-page {
    padding: 0 0 0;
    background: var(--bg);
}

/* ---- Ortak info sayfa g?rsel dili (ip) ---- */

.ip-hero {
    position: relative;
    overflow: clip;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
    background:
        radial-gradient(820px 360px at 12% -10%, rgba(20, 100, 176, 0.14), transparent 58%),
        radial-gradient(640px 300px at 90% 10%, rgba(11, 42, 74, 0.08), transparent 55%),
        linear-gradient(180deg, #eef5fb 0%, #f7fafd 55%, var(--bg) 100%);
}

.ip-hero.is-media {
    min-height: min(78vh, 640px);
    display: grid;
    align-items: end;
    padding: 0;
    border-bottom: 0;
    background: #071a33;
}

.ip-hero.is-illust {
    padding: 40px 0 28px;
    background:
        radial-gradient(700px 280px at 85% 10%, rgba(20, 86, 160, 0.12), transparent 60%),
        radial-gradient(520px 240px at 8% 0%, rgba(201, 162, 39, 0.1), transparent 55%),
        linear-gradient(180deg, #f3f7fb 0%, #f8fafc 55%, var(--bg) 100%);
}

.ip-hero-art {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    box-shadow: 0 18px 40px rgba(10, 46, 92, 0.1);
    animation: ip-rise 0.55s ease 0.1s both;
}

.ip-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.ip-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ip-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    animation: ip-kenburns 18s ease-in-out infinite alternate;
}

.ip-hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(7, 26, 51, 0.88) 0%, rgba(10, 46, 92, 0.62) 48%, rgba(7, 26, 51, 0.35) 100%),
        linear-gradient(180deg, rgba(7, 26, 51, 0.25) 0%, rgba(7, 26, 51, 0.72) 100%);
}

.ip-hero-spark {
    position: absolute;
    inset: 0;
    background-image: url("brand/pattern-spark.svg");
    background-size: 96px 96px;
    opacity: 0.45;
    pointer-events: none;
    animation: ip-spark-drift 22s linear infinite;
}

.ip-hero.is-media .container {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 56px;
}

.ip-hero-grid.is-solo-media {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
}

.ip-hero-copy.is-on-media .ip-brand-name,
.ip-hero-copy.is-on-media h1 {
    color: #fff;
}

.ip-hero-copy.is-on-media .eyebrow {
    color: var(--gold-light);
}

.ip-hero-copy.is-on-media .info-lead {
    color: rgba(232, 238, 246, 0.88);
}

.ip-hero-copy.is-on-media .btn-outline,
.ip-hero-copy.is-on-media a.btn-outline {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-fg: #fff;
    --btn-border: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.ip-hero-copy.is-on-media .btn-outline:hover,
.ip-hero-copy.is-on-media a.btn-outline:hover {
    --btn-bg: rgba(255, 255, 255, 0.16);
    --btn-fg: #fff;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
}

@keyframes ip-kenburns {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes ip-spark-drift {
    from { background-position: 0 0; }
    to { background-position: 96px 48px; }
}

/* Eski b?y?k foto ?eritleri ? art?k kullan?lm?yor, kompakt tutuluyor */
.ip-mosaic,
.ip-scene-strip,
.ip-trust-band {
    display: none !important;
}

.refs-main .refs-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.refs-main .refs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(10, 46, 92, 0.12);
}


.fx-hero-art {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    box-shadow: 0 18px 40px rgba(10, 46, 92, 0.1);
}

.fx-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 900px) {
    .ip-hero.is-media { min-height: 70vh; }
    .ip-hero-art img,
    .fx-hero-art img { max-height: 200px; }
}

.ip-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: center;
}

.ip-hero-grid.is-solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
}

.ip-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    animation: ip-rise 0.5s ease both;
}

.ip-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(15, 94, 168, 0.25);
}

.ip-brand-name {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.ip-hero .eyebrow {
    animation: ip-rise 0.5s ease 0.04s both;
}

.ip-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--navy);
    line-height: 1.15;
    animation: ip-rise 0.5s ease 0.08s both;
}

.ip-hero .info-lead,
.ip-hero-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
    max-width: 36em;
    animation: ip-rise 0.5s ease 0.12s both;
}

.ip-hero-cta {
    margin-top: 22px;
    animation: ip-rise 0.5s ease 0.16s both;
}

.ip-hero-visual {
    position: relative;
    min-height: 260px;
    animation: ip-rise 0.55s ease 0.1s both;
}

.ip-mock {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 18px 40px rgba(11, 42, 74, 0.1);
}

.ip-mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.ip-mock-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.ip-mock-bar i:nth-child(1) { background: #f4a4a4; }
.ip-mock-bar i:nth-child(2) { background: #f0d48a; }
.ip-mock-bar i:nth-child(3) { background: #9fd4b0; }

.ip-mock-bar em {
    margin-left: 6px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.ip-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 14px 28px rgba(11, 42, 74, 0.12);
    animation: ip-float 4.5s ease-in-out infinite;
}

.ip-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 18px;
    color: var(--accent);
}

.ip-float strong {
    font-size: 14px;
    color: var(--navy);
}

.ip-float span {
    font-size: 11px;
    color: var(--muted);
}

@keyframes ip-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes ip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.ip-section {
    padding: 48px 0;
}

.ip-section.is-soft {
    background:
        radial-gradient(700px 260px at 80% 0%, rgba(15, 94, 168, 0.06), transparent 65%),
        linear-gradient(180deg, #f6f9fc, #f3f6fa);
}

/* Sayfa i?i dijital ill?strasyon ?eritleri */
.ip-mid-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 36px;
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.ip-mid-split.is-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.ip-mid-split.is-reverse .ip-mid-copy { order: 2; }
.ip-mid-split.is-reverse .ip-mid-art { order: 1; }

.ip-mid-copy .eyebrow {
    margin-bottom: 8px;
}

.ip-mid-copy h2 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: clamp(22px, 2.8vw, 30px);
    color: var(--navy);
    line-height: 1.25;
}

.ip-mid-copy > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.ip-mid-copy .btn-row {
    margin-top: 20px;
}

.ip-mid-art {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    box-shadow: 0 14px 32px rgba(10, 46, 92, 0.08);
}

.ip-mid-art img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    background: #fff;
}

.ip-mid-banner {
    margin: 0 0 28px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.07);
    box-shadow: 0 12px 28px rgba(10, 46, 92, 0.07);
    max-width: 720px;
}

.ip-mid-banner.is-center {
    margin-inline: auto;
}

.ip-mid-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    background: #fff;
}

.hm-steps-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
}

.hm-steps-layout .hm-steps {
    margin: 0;
    grid-template-columns: 1fr;
}

.ip-mid-copy .fx-steps {
    grid-template-columns: 1fr;
}

.ip-mid-copy .ip-pillars {
    grid-template-columns: 1fr;
}

@media (max-width: 900px) {
    .ip-mid-split,
    .ip-mid-split.is-reverse,
    .hm-steps-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ip-mid-split.is-reverse .ip-mid-copy,
    .ip-mid-split.is-reverse .ip-mid-art {
        order: initial;
    }

    .ip-mid-art img { max-height: 200px; }
    .ip-mid-banner img { max-height: 180px; }
}

.ip-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ip-pillar {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.ip-pillar-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.14), rgba(15, 94, 168, 0.04));
    color: var(--accent);
    font-size: 18px;
}

.ip-pillar h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--navy);
}

.ip-pillar p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.ip-body-panel {
    margin-top: 0;
    padding: 28px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
}

.ip-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ip-contact-card {
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 22px rgba(11, 42, 74, 0.04);
}

.ip-contact-card .bi {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.ip-contact-card h2 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--navy);
}

.ip-contact-card p {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--muted);
}

.ip-form-panel {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: linear-gradient(180deg, #fff, #f7fafd);
    box-shadow: 0 14px 32px rgba(11, 42, 74, 0.06);
}

.ip-form-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--navy);
}

.ip-form-panel > p {
    margin: 0;
    color: var(--text-dim);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px 48px;
    align-items: start;
}

.home-contact-copy h2 {
    margin: 0 0 10px;
}

.home-contact-copy > p {
    margin: 0;
    max-width: 42ch;
    color: var(--text-dim);
}

.home-contact-meta {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.home-contact-meta a,
.home-contact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
}

.home-contact-meta .bi {
    color: var(--accent);
}

.home-contact-panel {
    margin-top: 0;
}

.contact-captcha-field input {
    max-width: 240px;
}

.contact-captcha-field .muted {
    margin-top: 6px;
}

@media (max-width: 900px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
    }
}

.ip-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 42, 74, 0.08);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
}

.ip-chip .bi { color: var(--accent); }

.blog-card,
.refs-card,
.pricing-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover,
.refs-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.09);
}

.pricing-features .bi {
    color: var(--ok);
    font-size: 15px;
    flex: none;
    margin-top: 2px;
}

@media (max-width: 980px) {
    .ip-hero-grid {
        grid-template-columns: 1fr;
    }

    .ip-hero-visual { min-height: 0; }

    .ip-pillars,
    .ip-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ip-brand,
    .ip-hero .eyebrow,
    .ip-hero h1,
    .ip-hero .info-lead,
    .ip-hero-lead,
    .ip-hero-cta,
    .ip-hero-visual,
    .ip-float {
        animation: none !important;
    }
}

.info-wrap {
    max-width: 760px;
}

.info-wrap.is-wide {
    max-width: 920px;
}

.info-wrap > h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--navy);
}

.info-lead {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.info-body {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.info-body h2 {
    margin: 22px 0 8px;
    font-size: 18px;
    color: var(--navy);
}

.info-body h2:first-child { margin-top: 0; }

.info-body p,
.info-body li {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
}

.info-body p + p { margin-top: 12px; }

.info-body ul {
    margin: 10px 0 0;
    padding-left: 1.2em;
    display: grid;
    gap: 8px;
}

/* ---- Hakk?m?zda (tan?t?m / misyon / vizyon) ---- */
.about-page {
    padding-bottom: 56px;
}

.about-hero {
    padding: 48px 0 28px;
    background:
        radial-gradient(ellipse 70% 80% at 10% 0%, rgba(20, 86, 160, 0.08), transparent 55%),
        linear-gradient(180deg, #f4f7fb 0%, transparent 100%);
    border-bottom: 1px solid var(--border, #e5eaf0);
}

.about-hero-inner {
    max-width: 760px;
}

.about-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.about-lead {
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 62ch;
}

.about-section {
    padding: 36px 0 8px;
}

.about-wrap {
    max-width: 960px;
}

.about-prose.info-body {
    margin-top: 0;
}

.about-mv {
    padding-top: 12px;
    padding-bottom: 12px;
}

.about-mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-card {
    padding: 24px 22px;
    border: 1px solid var(--border, #e5eaf0);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 23, 42, 0.04));
}

.about-card-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent, #1456A0);
}

.about-card-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-dim, #334155);
}

@media (max-width: 760px) {
    .about-hero { padding: 36px 0 22px; }
    .about-mv-grid { grid-template-columns: 1fr; }
}

.info-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.info-contact-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 12px;
}

.info-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 8px;
    align-content: start;
}

.info-card h2 {
    font-size: 16px;
    color: var(--navy);
}

.info-card p {
    font-size: 14px;
    color: var(--muted);
}

.info-strong {
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.02em;
}

/* ------------------------------------------------------------- ana sayfa */

.page-home {
    background: var(--surface);
}

.page-home > main {
    overflow-x: clip;
}

.page-home main,
.page-home .container,
.page-home .hero-layout,
.page-home .hero-copy,
.page-home .hero-product {
    min-width: 0;
    max-width: 100%;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(15, 94, 168, 0.1), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f3f5f8 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 94, 168, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 94, 168, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 35%, transparent 92%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: end;
    padding-bottom: 64px;
}

.hero-copy { max-width: 560px; padding-bottom: 24px; }

.hero-brand {
    font-family: var(--display);
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--navy);
}

.hero-title {
    margin-top: 18px;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    color: var(--muted);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-trust .bi {
    color: var(--ok);
    font-size: 15px;
}

.hero-product {
    position: relative;
    min-height: 380px;
    padding: 12px 8px 0 0;
}

/* ---- Anasayfa zengin g?rseller (hm) ---- */

.hm-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        url("brand/hero-wash.svg") center/cover no-repeat,
        url("brand/pattern-dots.svg"),
        radial-gradient(820px 380px at 18% -8%, rgba(20, 86, 160, 0.14), transparent 58%),
        radial-gradient(640px 320px at 92% 18%, rgba(201, 162, 39, 0.16), transparent 55%);
    opacity: 1;
}
.hm-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(244, 246, 250, 0.55), rgba(244, 246, 250, 0.92));
}

.hm-rise {
    animation: hm-rise 0.55s ease both;
}

.hm-delay-1 { animation-delay: 0.06s; }
.hm-delay-2 { animation-delay: 0.12s; }
.hm-delay-3 { animation-delay: 0.18s; }
.hm-delay-4 { animation-delay: 0.24s; }

@keyframes hm-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hm-device {
    position: relative;
    z-index: 1;
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(15, 42, 74, 0.1);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(11, 42, 74, 0.12);
    overflow: hidden;
}

.hm-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f4f7fb, #eaf0f6);
    border-bottom: 1px solid #e2e8f0;
}

.hm-device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hm-device-bar span:nth-child(1) { background: #f4a4a4; }
.hm-device-bar span:nth-child(2) { background: #f0d48a; }
.hm-device-bar span:nth-child(3) { background: #9fd4b0; }

.hm-device-bar em {
    margin-left: 8px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.hm-device-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.hm-live-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hm-live-head strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
}

.hm-live-head span {
    font-size: 12.5px;
    color: var(--muted);
}

.hm-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    white-space: nowrap;
}

.hm-live-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.18);
    animation: hm-pulse 1.6s ease-in-out infinite;
}

.hm-live-badge .bi { display: none; }

@keyframes hm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hm-live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hm-live-stats div {
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f7fafc;
    border: 1px solid #e8eef5;
}

.hm-live-stats b {
    display: block;
    font-size: 18px;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.hm-live-stats span {
    font-size: 11.5px;
    color: var(--muted);
}

.hm-live-rows {
    display: grid;
    gap: 6px;
}

.hm-live-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    font-size: 13px;
}

.hm-live-row span { font-weight: 600; color: var(--text); }
.hm-live-row b { color: var(--navy); font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; }

.hm-live-row i {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.hm-live-row i.is-ok {
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
}

.hm-live-row i.is-run {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.hm-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.12);
    animation: hm-float 4.6s ease-in-out infinite;
}

.hm-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 20px;
    color: var(--accent);
}

.hm-float strong {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.2;
}

.hm-float span {
    font-size: 11.5px;
    color: var(--muted);
}

.hm-float-timer {
    top: 28px;
    right: -6px;
}

.hm-float-save {
    bottom: 36px;
    left: -10px;
    animation-delay: 1.1s;
}

.hm-float-save .bi { color: #0f8a5f; }

@keyframes hm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hm-feature-ico {
    font-size: 18px;
}

.hm-feature-ico .bi {
    line-height: 1;
}

.hm-feature-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hm-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.09);
}

.section-cta .bi {
    margin-left: 6px;
    font-size: 14px;
    vertical-align: -1px;
}

.hm-showcase {
    overflow: clip;
}

.hm-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 36px;
    align-items: center;
}

.hm-showcase-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--navy);
}

.hm-showcase-copy > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.hm-checks {
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.hm-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
}

.hm-checks .bi {
    margin-top: 2px;
    color: var(--ok);
    flex: none;
}

.hm-showcase-visuals {
    position: relative;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
}

.hm-mock {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.08);
}

.hm-mock-join {
    align-self: end;
}

.hm-mock-chart {
    align-self: start;
    margin-top: 28px;
}

.hm-mock-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--muted);
}

.hm-mock-label .bi { color: var(--accent); }

.hm-code {
    text-align: center;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--navy);
    padding: 14px 8px;
    border-radius: 12px;
    background: #eef5fb;
}

.hm-mock-meta {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.hm-mock-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5ebf2;
    font-size: 12.5px;
    color: var(--text-dim);
}

.hm-mock-cta {
    margin-top: 12px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
}

.hm-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    padding-top: 4px;
}

.hm-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, #1456A0, #0A2E5C);
    opacity: 0.88;
    transform-origin: bottom;
    animation: hm-bar 1.1s ease both;
}

.hm-bars i:nth-child(2) { animation-delay: 0.05s; }
.hm-bars i:nth-child(3) { animation-delay: 0.1s; }
.hm-bars i:nth-child(4) { animation-delay: 0.15s; }
.hm-bars i:nth-child(5) { animation-delay: 0.2s; }
.hm-bars i:nth-child(6) { animation-delay: 0.25s; }

@keyframes hm-bar {
    from { transform: scaleY(0.2); opacity: 0.35; }
    to { transform: none; opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-rise,
    .hm-float,
    .hm-bars i,
    .hm-live-badge::before {
        animation: none !important;
    }
}

.hm-chart-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.hm-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hm-steps li {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.hm-step-num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.hm-step-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: 18px;
}

.hm-steps h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.hm-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

@media (max-width: 980px) {
    .hm-showcase-grid {
        grid-template-columns: 1fr;
    }

    .hm-steps {
        grid-template-columns: 1fr;
    }

    .hm-float-timer { right: 0; }
    .hm-float-save { left: 0; }
}

@media (max-width: 560px) {
    .hm-showcase-visuals {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hm-mock-chart { margin-top: 0; }
}

.product-frame {
    position: relative;
    height: 100%;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(165deg, #ffffff, #f1f5f9);
    box-shadow: 0 -4px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.product-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.product-chrome i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.product-chrome i:nth-child(1) { background: #f87171; }
.product-chrome i:nth-child(2) { background: #fbbf24; }
.product-chrome i:nth-child(3) { background: #34d399; }

.product-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    margin-bottom: 12px;
}

.product-bar strong {
    display: block;
    font-size: 13.5px;
    color: var(--navy);
}

.product-bar span {
    font-size: 12px;
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
}

.product-panel {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.product-panel h4 {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.product-row:last-child { border-bottom: 0; }

.product-row b {
    font-variant-numeric: tabular-nums;
    color: var(--navy);
}

.product-score {
    display: grid;
    place-items: center;
    min-height: 148px;
    border-radius: 10px;
    background: linear-gradient(160deg, var(--navy), #1B6FD4);
    color: #fff;
    text-align: center;
}

.product-score strong {
    display: block;
    font-family: var(--display);
    font-size: 42px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.product-score span {
    font-size: 12px;
    opacity: 0.8;
}

.home-section {
    padding: 72px 0;
    background: var(--surface);
}

.home-section.is-soft { background: var(--bg); }
.home-section + .home-section { border-top: 1px solid var(--border); }

.section-head {
    max-width: 560px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin-top: 8px;
    font-size: 28px;
}

.section-head p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
}

.section-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
    margin-bottom: 28px;
}

.section-head-row > div {
    max-width: 560px;
}

.section-cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-feature-card {
    padding: 24px 22px;
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.08);
}

.home-feature-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.12), rgba(15, 94, 168, 0.04));
    color: var(--accent);
}

.home-feature-ico .ico,
.home-feature-ico .bi {
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 1;
}

.home-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
    color: var(--navy);
}

.home-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-grid-wrap {
    max-width: 1100px;
    margin-inline: auto;
    padding-block: 28px 48px;
}

.blog-card,
.blog-list-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px;
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f7fafd);
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.05);
    overflow: hidden;
}

.blog-card.has-cover {
    padding: 0 0 20px;
}

.blog-card.has-cover .blog-card-meta,
.blog-card.has-cover h3,
.blog-card.has-cover p,
.blog-card.has-cover .blog-card-more {
    padding-inline: 20px;
}

.blog-card-cover {
    display: block;
    margin: 0 0 4px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-article-cover {
    margin: 8px 0 22px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.blog-article-cover img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.blog-card-cat {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 100px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
}

.blog-card h3,
.blog-list-item h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: var(--navy);
}

.blog-card h3 a,
.blog-list-item h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover,
.blog-list-item h2 a:hover {
    color: var(--accent);
}

.blog-card p,
.blog-list-item p {
    margin: 0;
    flex: 1;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-dim);
}

.blog-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.blog-card-more:hover {
    text-decoration: underline;
}

.refs-wrap {
    max-width: 1100px;
    margin-inline: auto;
}

.refs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.refs-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.refs-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.refs-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.refs-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.refs-logo.is-fallback {
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--accent-line);
}

.refs-card-identity h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    color: var(--navy);
}

.refs-card-identity p {
    margin: 4px 0 0;
    font-size: 13px;
}

.refs-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-dim);
    font-style: italic;
}

.refs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.refs-link:hover { color: var(--navy); }

@media (max-width: 980px) {
    .refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .refs-grid { grid-template-columns: minmax(0, 1fr); }
}

.blog-main {
    padding: 48px 0 72px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(15, 94, 168, 0.07), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

/* ---- Blog indeks (yeniden tasar?m) ---- */
.blog-index {
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(10, 61, 122, 0.07), transparent 55%),
        radial-gradient(700px 360px at 100% 0%, rgba(240, 160, 32, 0.08), transparent 50%),
        linear-gradient(180deg, #f5f8fc 0%, var(--bg) 42%);
    padding-bottom: 72px;
}

.blog-index-head {
    padding: 40px 0 8px;
    border-bottom: 1px solid rgba(10, 61, 122, 0.08);
}

.blog-index-head-inner {
    max-width: 720px;
}

.blog-index-brand {
    margin: 0;
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.blog-index-head h1 {
    margin: 10px 0 0;
    font-family: var(--display);
    font-size: clamp(2.2rem, 4.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.blog-index-lead {
    margin: 14px 0 0;
    max-width: 42ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted);
}

.blog-index-body { padding-top: 28px; }

.blog-index-wrap {
    max-width: 1080px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-index-empty {
    text-align: center;
    color: var(--muted);
    padding: 48px 16px;
}

.blog-cat {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 61, 122, 0.08);
    box-shadow: 0 18px 40px rgba(10, 46, 92, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(10, 46, 92, 0.1);
    color: inherit;
}

.blog-feature:not(.has-cover) {
    grid-template-columns: 1fr;
}

.blog-feature-media {
    display: block;
    min-height: 280px;
    background:
        linear-gradient(145deg, rgba(10, 61, 122, 0.12), rgba(240, 160, 32, 0.12)),
        var(--surface-2);
}

.blog-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}

.blog-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 32px 34px;
}

.blog-feature-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}

.blog-feature-title {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.blog-feature:hover .blog-feature-title { color: var(--accent); }

.blog-feature-excerpt {
    display: block;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-dim);
}

.blog-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--accent);
}

.blog-feature-cta .bi {
    transition: transform 0.18s ease;
}

.blog-feature:hover .blog-feature-cta .bi {
    transform: translateX(3px);
}

.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(10, 61, 122, 0.07);
    border-radius: 18px;
    overflow: hidden;
    min-height: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-tile:hover {
    border-color: var(--accent-line);
    box-shadow: 0 14px 32px rgba(10, 46, 92, 0.08);
    transform: translateY(-2px);
    color: inherit;
}

.blog-tile-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.blog-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-tile:hover .blog-tile-media img {
    transform: scale(1.04);
}

.blog-tile-mark {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 750;
    color: var(--navy);
    background:
        linear-gradient(145deg, rgba(10, 61, 122, 0.08), rgba(240, 160, 32, 0.1)),
        #f8fafc;
}

.blog-tile-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 16px;
    flex: 1;
}

.blog-tile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
}

.blog-tile-title {
    display: block;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    letter-spacing: -0.015em;
}

.blog-tile:hover .blog-tile-title { color: var(--accent); }

.blog-tile-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-dim);
    flex: 1;
}

.blog-tile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(10, 61, 122, 0.06);
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--muted);
}

.blog-tile-more {
    color: var(--accent);
    font-weight: 750;
}

@media (max-width: 960px) {
    .blog-feature {
        grid-template-columns: 1fr;
    }
    .blog-feature-media,
    .blog-feature-media img {
        min-height: 200px;
    }
    .blog-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-index-head { padding-top: 28px; }
    .blog-feature-copy { padding: 22px 20px; }
    .blog-index-grid { grid-template-columns: 1fr; }
}

.blog-wrap,
.blog-article {
    max-width: 820px;
}

.blog-page-head {
    margin-bottom: 28px;
}

.blog-page-head h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4vw, 36px);
    color: var(--navy);
}

.blog-list {
    display: grid;
    gap: 14px;
}

.blog-article h1 {
    margin: 10px 0 12px;
    font-size: clamp(28px, 4vw, 38px);
    color: var(--navy);
    line-height: 1.2;
}

.blog-article-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 24px;
}

.blog-article-body {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.blog-article-body h2 {
    margin: 22px 0 8px;
    font-size: 18px;
    color: var(--navy);
}

.blog-article-body h2:first-child { margin-top: 0; }

.blog-article-body p,
.blog-article-body li {
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.7;
}

.blog-article-body p + p { margin-top: 12px; }

.blog-article-body ul {
    margin: 10px 0 0;
    padding-left: 1.2em;
    display: grid;
    gap: 8px;
}

.blog-article-foot {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.features-main {
    background: var(--bg);
}

/* ---- ?zellikler sayfas? (fx) ---- */

.fx-hero {
    position: relative;
    overflow: clip;
    padding: 40px 0 48px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}

.fx-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(20, 100, 176, 0.16), transparent 60%),
        radial-gradient(700px 380px at 88% 20%, rgba(11, 42, 74, 0.1), transparent 55%),
        linear-gradient(180deg, #eef5fb 0%, #f7fafd 48%, var(--bg) 100%);
    pointer-events: none;
}

.fx-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 94, 168, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 94, 168, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
    opacity: 0.7;
}

.fx-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
}

.fx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    animation: fx-rise 0.55s ease both;
}

.fx-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(15, 94, 168, 0.28);
}

.fx-brand-name {
    font-family: var(--display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.fx-hero-copy h1 {
    margin: 0;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.15;
    color: var(--navy);
    animation: fx-rise 0.55s ease 0.06s both;
}

.fx-hero-lead {
    max-width: 34em;
    margin: 14px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-dim);
    animation: fx-rise 0.55s ease 0.12s both;
}

.fx-hero-cta {
    margin-top: 24px;
    animation: fx-rise 0.55s ease 0.18s both;
}

.fx-hero-visual {
    position: relative;
    min-height: 0;
    animation: fx-rise 0.65s ease 0.14s both;
}

.fx-hero-visual .fx-hero-art {
    position: relative;
    z-index: 1;
}

.fx-device {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.1);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 56px rgba(11, 42, 74, 0.14);
    overflow: hidden;
}

.fx-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f4f7fb, #eaf0f6);
    border-bottom: 1px solid #e2e8f0;
}

.fx-device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.fx-device-bar span:nth-child(1) { background: #f4a4a4; }
.fx-device-bar span:nth-child(2) { background: #f0d48a; }
.fx-device-bar span:nth-child(3) { background: #9fd4b0; }

.fx-device-bar em {
    margin-left: 8px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.fx-device-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 260px;
}

.fx-side {
    padding: 12px 8px;
    background: #f7fafc;
    border-right: 1px solid #e8eef5;
    display: grid;
    gap: 6px;
    align-content: start;
}

.fx-side-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-side-item.is-active {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(11, 42, 74, 0.06);
}

.fx-editor {
    padding: 16px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.fx-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fx-pill {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.fx-pill.is-on {
    background: rgba(15, 94, 168, 0.12);
    color: var(--accent);
}

.fx-qline {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d7e3f0, #eef3f8);
}

.fx-qline.is-short { width: 62%; }

.fx-opts {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.fx-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: var(--text-dim);
}

.fx-opt.is-correct {
    border-color: rgba(15, 138, 95, 0.35);
    background: rgba(15, 138, 95, 0.06);
    color: #0f8a5f;
}

.fx-opt .bi { font-size: 14px; }

.fx-float {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 42, 74, 0.08);
    box-shadow: 0 16px 32px rgba(11, 42, 74, 0.12);
    animation: fx-float 4.5s ease-in-out infinite;
}

.fx-float .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 20px;
    color: var(--accent);
}

.fx-float strong {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.2;
}

.fx-float span {
    font-size: 11.5px;
    color: var(--muted);
}

.fx-float-timer {
    top: 18px;
    right: -8px;
}

.fx-float-live {
    bottom: 28px;
    left: -12px;
    animation-delay: 1.2s;
}

.fx-float-live .bi { color: #0f8a5f; }

@keyframes fx-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.fx-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    padding-bottom: 8px;
}

.fx-toc a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #fff;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.fx-toc a .bi {
    font-size: 14px;
    color: var(--accent);
}

.fx-toc a:hover {
    border-color: var(--accent-line);
    color: var(--accent);
    background: var(--accent-soft);
}

.fx-section {
    padding: 64px 0;
    border-bottom: 1px solid rgba(15, 42, 74, 0.05);
    scroll-margin-top: 88px;
}

.fx-section.is-soft {
    background:
        radial-gradient(700px 280px at 80% 0%, rgba(15, 94, 168, 0.06), transparent 65%),
        linear-gradient(180deg, #f6f9fc, #f3f6fa);
}

.fx-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

.fx-split.is-reverse .fx-copy { order: 2; }
.fx-split.is-reverse .fx-panel { order: 1; }

.fx-copy .eyebrow {
    margin-bottom: 8px;
}

.fx-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--navy);
    line-height: 1.2;
}

.fx-copy > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.fx-checks {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.fx-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.45;
}

.fx-checks .bi {
    margin-top: 2px;
    color: var(--ok);
    font-size: 16px;
    flex: none;
}

.fx-mock {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: linear-gradient(180deg, #fff, #f5f8fc);
    box-shadow: 0 20px 44px rgba(11, 42, 74, 0.1);
    display: grid;
    gap: 12px;
}

.fx-mock-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fx-mock-head strong {
    color: var(--navy);
    font-size: 15px;
}

.fx-mock-head em {
    margin-left: auto;
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0f8a5f;
    box-shadow: 0 0 0 4px rgba(15, 138, 95, 0.15);
}

.fx-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(183, 129, 10, 0.12);
    color: #9a6d08;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
}

.fx-field {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5ebf2;
}

.fx-field span {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fx-field b {
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 650;
}

.fx-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fx-mono {
    font-family: var(--mono);
    letter-spacing: 0.12em;
}

.fx-progress {
    display: grid;
    gap: 8px;
}

.fx-progress span {
    font-size: 12.5px;
    color: var(--muted);
}

.fx-progress i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e8eef5;
    position: relative;
    overflow: hidden;
}

.fx-progress i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 50%);
    border-radius: inherit;
    background: linear-gradient(90deg, #1464b0, #0A2E5C);
}

.fx-mock-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.fx-btn,
.fx-btn-ghost {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
}

.fx-btn {
    background: var(--navy);
    color: #fff;
}

.fx-btn-ghost {
    background: #eef3f8;
    color: var(--text-dim);
}

.fx-code-display {
    text-align: center;
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--navy);
    padding: 14px 8px;
    border-radius: 12px;
    background: #eef5fb;
}

.fx-student-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fx-student-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5ebf2;
    font-size: 13px;
    color: var(--text-dim);
}

.fx-timer-ring {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 4px auto;
}

.fx-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fx-ring-bg {
    fill: none;
    stroke: #e5ebf2;
    stroke-width: 3;
}

.fx-ring-fg {
    fill: none;
    stroke: #1464b0;
    stroke-width: 3;
    stroke-linecap: round;
    animation: fx-ring 2.4s ease-in-out infinite alternate;
}

.fx-timer-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.fx-timer-label b {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--navy);
}

.fx-timer-label span {
    font-size: 11px;
    color: var(--muted);
}

@keyframes fx-ring {
    from { stroke-dasharray: 68, 100; }
    to { stroke-dasharray: 82, 100; }
}

.fx-mock-note {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ok);
}

.fx-live-dot {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
    font-size: 12px;
    font-weight: 700;
}

.fx-live-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.18);
    animation: fx-pulse 1.6s ease-in-out infinite;
}

@keyframes fx-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.fx-live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.fx-live-stats div {
    padding: 12px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5ebf2;
    text-align: center;
}

.fx-live-stats b {
    display: block;
    font-size: 20px;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.fx-live-stats span {
    font-size: 11.5px;
    color: var(--muted);
}

.fx-live-table {
    display: grid;
    gap: 6px;
}

.fx-live-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8eef5;
    font-size: 13px;
}

.fx-live-row span { color: var(--text); font-weight: 600; }
.fx-live-row b { color: var(--navy); font-variant-numeric: tabular-nums; min-width: 1.5em; text-align: right; }

.fx-live-row i {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.fx-live-row i.is-ok {
    background: rgba(15, 138, 95, 0.1);
    color: #0f8a5f;
}

.fx-live-row i.is-run {
    background: rgba(15, 94, 168, 0.1);
    color: var(--accent);
}

.fx-export {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: #eef3f8;
    color: var(--text-dim);
    font-size: 12.5px;
    font-weight: 650;
}

.fx-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding: 8px 4px 0;
}

.fx-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #1456A0, #0A2E5C);
    opacity: 0.88;
    transform-origin: bottom;
    animation: fx-bar 1.1s ease both;
}

.fx-bars i:nth-child(2) { animation-delay: 0.05s; }
.fx-bars i:nth-child(3) { animation-delay: 0.1s; }
.fx-bars i:nth-child(4) { animation-delay: 0.15s; }
.fx-bars i:nth-child(5) { animation-delay: 0.2s; }
.fx-bars i:nth-child(6) { animation-delay: 0.25s; }
.fx-bars i:nth-child(7) { animation-delay: 0.3s; }

@keyframes fx-bar {
    from { transform: scaleY(0.2); opacity: 0.3; }
    to { transform: none; opacity: 0.88; }
}

.fx-report-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12.5px;
    color: var(--muted);
}

.fx-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.fx-type {
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}

.fx-type-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(15, 94, 168, 0.14), rgba(15, 94, 168, 0.04));
    color: var(--accent);
    font-size: 18px;
}

.fx-type h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--navy);
}

.fx-type p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.fx-subhead {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--navy);
}

.fx-feature-pills {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}
.fx-feature-pills article {
    padding: 18px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 42, 74, 0.07);
    box-shadow: 0 8px 20px rgba(11, 42, 74, 0.04);
}
.fx-feature-pills i {
    font-size: 20px;
    color: var(--accent);
}
.fx-feature-pills h3 {
    margin: 10px 0 6px;
    font-size: 15px;
    color: var(--navy);
}
.fx-feature-pills p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
}

.fx-game-intro {
    margin: 0 0 20px;
}
.fx-checks-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.fx-checks-inline li {
    margin: 0;
}

.fx-game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.fx-game {
    padding: 22px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #fff;
    box-shadow: 0 10px 24px rgba(11, 42, 74, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.fx-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(11, 42, 74, 0.08);
}
.fx-game-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(240, 160, 32, 0.2), rgba(15, 94, 168, 0.1));
    color: var(--navy);
    font-size: 20px;
}
.fx-game h3 {
    margin: 4px 0 0;
    font-size: 17px;
    color: var(--navy);
}
.fx-game p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-dim);
    flex: 1;
}
.fx-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.fx-game-tags span {
    font-size: 11px;
    font-weight: 650;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(10, 46, 92, 0.06);
    color: var(--navy);
}

.fx-callout {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(15, 94, 168, 0.15);
    background: linear-gradient(120deg, rgba(15, 94, 168, 0.06), rgba(240, 160, 32, 0.08));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.fx-callout strong {
    display: block;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 4px;
}
.fx-callout p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-dim);
    max-width: 52ch;
    line-height: 1.5;
}

.fx-mock-conf .fx-conf-q {
    padding: 12px 0 10px;
}
.fx-mock-conf .fx-conf-q em {
    display: block;
    font-size: 11px;
    font-style: normal;
    font-weight: 650;
    color: var(--accent);
    margin-bottom: 6px;
}
.fx-mock-conf .fx-conf-q b {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: var(--navy);
}
.fx-conf-opts {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}
.fx-conf-opts span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(10, 46, 92, 0.04);
    font-size: 12.5px;
    color: var(--navy);
}
.fx-conf-opts span.is-hot {
    background: rgba(15, 94, 168, 0.12);
    font-weight: 650;
}
.fx-conf-opts i {
    font-style: normal;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.fx-conf-bar {
    margin-bottom: 12px;
}
.fx-conf-bar span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}
.fx-conf-bar > i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(10, 46, 92, 0.08);
    position: relative;
    overflow: hidden;
}
.fx-conf-bar > i::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--w, 50%);
    background: linear-gradient(90deg, var(--accent), #3b82f6);
    border-radius: inherit;
}

@media (max-width: 980px) {
    .fx-feature-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fx-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .fx-feature-pills,
    .fx-game-grid { grid-template-columns: 1fr; }
}

.fx-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    counter-reset: none;
}

.fx-steps li {
    position: relative;
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: #fff;
}

.fx-step-num {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.fx-step-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-size: 18px;
}

.fx-steps h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.fx-steps p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
}

.fx-cap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fx-cap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 42, 74, 0.03);
    text-decoration: none;
    color: inherit;
}

.fx-cap.is-link:hover {
    border-color: rgba(14, 68, 127, 0.28);
    box-shadow: 0 8px 20px rgba(14, 68, 127, 0.08);
}

.fx-cap-ico {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef4fa;
    color: var(--accent);
    font-size: 17px;
}

.fx-cap-body {
    min-width: 0;
}

.fx-cap h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--navy);
}

.fx-cap p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-dim);
}

.fx-demo-wheel {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 18px 12px 8px;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.fx-demo-wheel-pointer {
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    margin-bottom: -10px;
}

.fx-demo-wheel-pointer span {
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid #f0c65a;
    filter: drop-shadow(0 2px 4px rgba(10, 46, 92, 0.25));
}

.fx-demo-wheel-frame {
    position: relative;
    width: min(300px, 78vw);
    aspect-ratio: 1;
}

.fx-demo-wheel-rotor {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 3.4s cubic-bezier(0.12, 0.75, 0.12, 1);
    will-change: transform;
}

.fx-demo-wheel-disc {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.22),
        0 16px 36px rgba(10, 46, 92, 0.22);
    overflow: hidden;
}

.fx-demo-wheel-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transform: rotate(var(--a)) translateY(-34%);
    pointer-events: none;
}

.fx-demo-wheel-label em {
    transform: rotate(calc(var(--a) * -1));
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    max-width: 72px;
    text-align: center;
    line-height: 1.15;
}

.fx-demo-wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 86px;
    height: 86px;
    margin: -43px 0 0 -43px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff8e7, #f0c65a 55%, #d4a017);
    color: #0a2e5c;
    box-shadow:
        0 0 0 5px #fff,
        0 10px 22px rgba(10, 46, 92, 0.28);
    cursor: pointer;
    display: grid;
    place-content: center;
    font: inherit;
    transition: transform 0.15s ease;
}

.fx-demo-wheel-hub:hover:not(:disabled) {
    transform: scale(1.04);
}

.fx-demo-wheel-hub:disabled {
    cursor: wait;
    opacity: 0.9;
}

.fx-demo-wheel-hub strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.fx-demo-wheel-hub em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.75;
}

.fx-demo-wheel-result {
    margin: 0;
    min-height: 2.6em;
    max-width: 320px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dim);
}

.fx-demo-wheel-result strong {
    color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
    .fx-demo-wheel-rotor {
        transition: none;
    }
}

.fx-trust {
    padding: 28px 0 8px;
}

.fx-trust-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(15, 42, 74, 0.06);
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}

.fx-trust-inner > div {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
}

.fx-trust-inner .bi {
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 22px;
    color: var(--accent);
}

.fx-trust-inner strong {
    font-size: 14.5px;
    color: var(--navy);
}

.fx-trust-inner span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 980px) {
    .fx-hero-grid,
    .fx-split,
    .fx-split.is-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fx-split.is-reverse .fx-copy,
    .fx-split.is-reverse .fx-panel {
        order: initial;
    }

    .fx-hero-visual {
        min-height: 0;
        max-width: 520px;
    }

    .fx-float-timer { right: 0; }
    .fx-float-live { left: 0; }

    .fx-steps {
        grid-template-columns: 1fr;
    }

    .fx-cap-grid,
    .fx-trust-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fx-hero { padding: 28px 0 36px; }
    .fx-section { padding: 44px 0; }
    .fx-device-body { grid-template-columns: 1fr; }
    .fx-side { display: none; }
    .fx-field-row,
    .fx-student-meta,
    .fx-live-stats {
        grid-template-columns: 1fr;
    }
    .fx-brand-name { font-size: 26px; }
}

.features-hero {
    padding: 52px 0 36px;
    background:
        radial-gradient(800px 360px at 20% 0%, rgba(15, 94, 168, 0.12), transparent 65%),
        linear-gradient(180deg, #f4f8fd, var(--bg));
    border-bottom: 1px solid var(--border);
}

.features-hero h1 {
    margin-top: 8px;
    font-size: clamp(30px, 4.2vw, 42px);
    color: var(--navy);
}

.features-lead {
    max-width: 640px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}

.features-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.features-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.features-toc a:hover {
    border-color: var(--accent-line);
    color: var(--accent);
}

.features-block {
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
}

.features-block.is-soft {
    background: #f7fafc;
}

.features-block-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.features-block-inner.is-reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.features-block-inner.is-reverse .features-block-copy {
    order: 2;
}

.features-block-inner.is-reverse .features-block-panel {
    order: 1;
}

.features-block-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.features-block-ico .ico {
    width: 20px;
    height: 20px;
}

.features-block-copy h2,
.features-block .section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 30px);
    color: var(--navy);
}

.features-block-copy > p,
.features-block .section-head > p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-dim);
}

.features-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.features-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.45;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.features-mock {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid #dbe5f0;
    background: linear-gradient(180deg, #fff, #f4f8fd);
    box-shadow: 0 18px 40px rgba(11, 42, 74, 0.08);
    display: grid;
    gap: 8px;
}

.features-mock strong {
    color: var(--navy);
    font-size: 16px;
}

.features-mock > span {
    color: var(--muted);
    font-size: 13px;
}

.features-mock-time {
    font-size: 42px;
    font-family: var(--mono, monospace);
    color: var(--accent);
    letter-spacing: -0.04em;
}

.features-mock-row {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.features-mock-row i {
    display: block;
    height: 10px;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(20, 100, 176, 0.2), rgba(20, 100, 176, 0.05));
}

.features-mock-row i:nth-child(2) { width: 78%; }
.features-mock-row i:nth-child(3) { width: 62%; }

.features-mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 88px;
    margin-top: 10px;
}

.features-mock-bars i {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #1464b0, #0A2E5C);
    opacity: 0.85;
}

.features-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.features-type-grid article {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
}

.features-type-grid h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--navy);
}

.features-type-grid p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.5;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}

.feature {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-section.is-soft .feature { background: var(--surface); }

.feature:hover {
    border-color: var(--accent-line);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-index {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.feature h3 { margin-top: 12px; font-size: 17px; }

.feature p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

.type-list {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-chip {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dim);
}

.cta-band {
    margin: 0;
    padding: 56px 0;
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(240, 160, 32, 0.14), transparent 55%),
        linear-gradient(180deg, #f7f5ef 0%, #f3f7fb 100%);
    color: var(--navy);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -40px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 160, 32, 0.22), transparent 68%);
    pointer-events: none;
}

.cta-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band h2 {
    color: var(--navy);
    font-size: 28px;
}

.cta-band p {
    margin-top: 8px;
    color: var(--muted);
    max-width: 480px;
}

.cta-band .btn,
.cta-band a.btn {
    --btn-bg: var(--gold);
    --btn-fg: #0b1f3a;
    --btn-shadow: 0 8px 20px rgba(240, 160, 32, 0.28);
}

.cta-band .btn:hover,
.cta-band a.btn:hover {
    --btn-bg: var(--gold-dark);
    color: #0b1f3a !important;
}

.cta-band .btn-outline,
.cta-band a.btn-outline {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: var(--border-strong);
    --btn-shadow: none;
}

.cta-band .btn-outline:hover,
.cta-band a.btn-outline:hover {
    --btn-bg: var(--accent-soft);
    --btn-fg: var(--navy);
    color: var(--navy) !important;
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
    font-size: 13.5px;
    color: var(--muted);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.site-footer strong {
    color: var(--navy);
    font-family: var(--display);
}

/* ------------------------------------------------------- odak sayfalar? */

.focus-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px calc(48px + env(safe-area-inset-bottom, 0px));
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(15, 94, 168, 0.1), transparent 70%),
        linear-gradient(180deg, #f8fbff, var(--bg));
}

body.has-mobile-dock .focus-shell {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

.focus-card {
    width: min(460px, 100%);
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 42, 74, 0.06);
    border-radius: 24px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(11, 42, 74, 0.1);
    backdrop-filter: blur(12px);
}

.focus-card.is-wide { width: min(560px, 100%); }

.auth-card .form-error { margin-top: 18px; }

.auth-form {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.auth-form [data-register-panel] {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.auth-form [data-register-panel][hidden] {
    display: none !important;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-width: 0;
}

/* Kay?t formunda t?m kutular ayn? geni?likte (tek s?tun) */
.auth-form[data-register-form] .auth-row {
    grid-template-columns: 1fr;
}

@media (max-width: 560px) {
    .auth-row { grid-template-columns: 1fr; }
}

.focus-card.auth-card {
    width: min(560px, 100%);
}

.auth-type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 2px;
}

.auth-type-option {
    position: relative;
    display: block;
    cursor: pointer;
    min-width: 0;
}

.auth-type-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-type-option span {
    display: grid;
    gap: 2px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    background: #f7f9fc;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-type-option strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
}

.auth-type-option em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
}

.auth-type-option input:checked + span {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(20, 86, 160, 0.12);
}

.auth-type-option:hover span {
    border-color: var(--accent-line);
}

.auth-field {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    cursor: text;
}

.auth-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 66px;
    min-height: 66px;
    max-height: 66px;
    padding: 32px 16px 12px;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    background: #f7f9fc;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input::placeholder { color: transparent; }

.auth-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    pointer-events: none;
    transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.auth-input:hover { border-color: #94a3b8; }

.auth-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.auth-input:focus + .auth-label,
.auth-input:not(:placeholder-shown) + .auth-label,
.auth-input:-webkit-autofill + .auth-label,
.auth-field.is-filled > .auth-label,
.auth-field:has(.auth-input:-webkit-autofill) > .auth-label {
    top: 10px;
    transform: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Chrome autofill: de?er dolu ama :placeholder-shown tetiklenmez */
@keyframes auth-autofill-on {
    from { opacity: 0.99; }
    to { opacity: 1; }
}
@keyframes auth-autofill-off {
    from { opacity: 0.99; }
    to { opacity: 1; }
}
.auth-input:-webkit-autofill {
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    box-shadow: 0 0 0 1000px #eef4fb inset;
    border-color: var(--accent-line);
    animation-name: auth-autofill-on;
    animation-duration: 0.001s;
}
.auth-input:not(:-webkit-autofill) {
    animation-name: auth-autofill-off;
    animation-duration: 0.001s;
}

.auth-submit {
    margin-top: 8px;
    height: 52px;
    border-radius: 12px;
    font-size: 15.5px;
}

.auth-field-with-scan {
    position: relative;
}

.auth-field-with-scan .join-scan-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--border-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--navy, #0a2e5c);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field-with-scan .join-scan-btn:hover,
.auth-field-with-scan .join-scan-btn:focus-visible {
    border-color: var(--accent-line, #2b6cb0);
    background: var(--accent-soft, #e8f1fb);
    color: var(--accent, #1a5fb4);
    box-shadow: 0 0 0 3px var(--accent-soft, #e8f1fb);
    outline: none;
}

.auth-field-with-scan .join-scan-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.qr-scan-overlay {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 18, 36, 0.72);
    backdrop-filter: blur(4px);
}

.qr-scan-sheet {
    width: min(420px, 100%);
    padding: 18px 18px 20px;
    border-radius: 18px 18px 16px 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8, 18, 36, 0.28);
    color: var(--text);
}

.qr-scan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.qr-scan-head strong {
    font-size: 17px;
    color: var(--navy, #0a2e5c);
}

.qr-scan-close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #eef2f7;
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
}

.qr-scan-viewport {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 14px;
    background: #0b1220;
}

.qr-scan-viewport video,
.qr-scan-viewport canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-scan-frame {
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.qr-scan-hint {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.qr-scan-fallback {
    padding: 16px 14px;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #e2e8f0;
}

.qr-scan-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.qr-scan-file-btn {
    cursor: pointer;
    margin: 0;
}

.qr-scan-file-btn input {
    display: none;
}

@media (min-width: 640px) {
    .qr-scan-overlay {
        align-items: center;
    }
    .qr-scan-sheet {
        border-radius: 18px;
    }
}

.focus-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.focus-card h1 {
    font-size: 24px;
    color: var(--navy);
}

.focus-card > .hint { margin-top: 8px; }

.focus-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.focus-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.demo-hint {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 13px;
    color: var(--muted);
}

.demo-hint code {
    font-family: var(--mono);
    color: var(--text-dim);
}

/* ------------------------------------------------------- ??retmen kabu?u */

.teacher-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    background: var(--bg);
}

.nav-backdrop,
.teacher-mobilebar,
.nav-close {
    display: none;
}

.teacher-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 10px 18px 14px;
    background: #f8fafc;
    color: var(--navy);
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    z-index: 60;
    border-right: 1px solid var(--border);
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 4px 12px;
    flex: none;
}

.sidebar-brand { color: var(--navy); }
.sidebar-brand:hover { color: var(--navy); }
.sidebar-brand .brand-name { color: var(--navy); }
.sidebar-brand .brand-mark {
    background: var(--accent-soft);
    box-shadow: none;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(20, 86, 160, 0.38) transparent;
}

.side-nav::-webkit-scrollbar {
    width: 5px;
}

.side-nav::-webkit-scrollbar-track {
    background: transparent;
    margin: 10px 0;
}

.side-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(20, 86, 160, 0.45), rgba(201, 162, 39, 0.55));
    border-radius: 999px;
}

.side-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1456A0, #C9A227);
}

.side-nav::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

.side-section {
    margin: 16px 10px 6px;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.side-section:first-child { margin-top: 4px; }

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dim);
    transition: background 0.14s ease, color 0.14s ease;
}

.side-ico {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    flex: none;
}

.side-ico .ico {
    width: 15px;
    height: 15px;
}

.side-link:hover {
    background: #eef4fb;
    color: var(--navy);
}

.side-link.is-active {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(10, 46, 92, 0.06);
}

.side-link.is-locked {
    opacity: 0.72;
}

.side-link .side-lock {
    margin-left: auto;
    display: grid;
    place-items: center;
    color: var(--muted);
}

.side-link .side-lock .ico {
    width: 14px;
    height: 14px;
}

.fun-lock-card {
    max-width: 560px;
    margin: 24px auto;
    padding: 36px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(10, 46, 92, 0.08);
}

.fun-lock-card .fun-lock-ico {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.fun-lock-card h1 {
    margin: 8px 0 12px;
    font-size: 1.6rem;
}

.fun-lock-card .btn-row {
    justify-content: center;
    margin-top: 20px;
}

.side-link.is-active .side-ico {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.side-link-danger {
    color: var(--danger);
}

.side-link-danger:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

.sidebar-foot {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    flex: none;
}

.teacher-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
}

.teacher-chip-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.teacher-chip strong {
    display: block;
    font-size: 13.5px;
    line-height: 1.3;
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teacher-chip-user {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teacher-chip-plan {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1px;
}
.teacher-chip-plan.is-muted { color: var(--muted); font-weight: 650; }
.teacher-chip-plan.is-info { color: var(--accent); }
.teacher-chip-plan.is-warn { color: #b45309; }
.teacher-chip-plan.is-danger { color: #b91c1c; }
.teacher-chip-ai {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-top: 5px;
    padding: 3px 8px 3px 6px;
    border-radius: 999px;
    border: 1px solid #c7ddf5;
    background: linear-gradient(180deg, #f4f9ff 0%, #e8f2fc 100%);
    color: #0b4f9c;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.teacher-chip-ai:hover {
    border-color: #9ec4eb;
    background: linear-gradient(180deg, #eef6ff 0%, #dcecfb 100%);
}
.teacher-chip-ai-ico {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0b4f9c;
    color: #fff;
    font-size: 9px;
    line-height: 1;
}
.teacher-chip-ai-num {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}
.teacher-chip-ai-unit {
    font-weight: 650;
    opacity: 0.78;
}
.teacher-chip-ai.is-low {
    border-color: #f0c48a;
    background: linear-gradient(180deg, #fff8ef 0%, #ffefd8 100%);
    color: #9a5b0a;
}
.teacher-chip-ai.is-low .teacher-chip-ai-ico {
    background: #c57a12;
}
.teacher-chip-ai.is-empty {
    border-color: #f0b4b4;
    background: linear-gradient(180deg, #fff5f5 0%, #ffe8e8 100%);
    color: #b91c1c;
}
.teacher-chip-ai.is-empty .teacher-chip-ai-ico {
    background: #b91c1c;
}
.teacher-chip-ai.is-tick {
    animation: teacher-ai-tick 0.45s ease;
}
@keyframes teacher-ai-tick {
    0% { transform: scale(1); }
    35% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.teacher-chip p {
    font-size: 12px;
    color: var(--muted);
}

.teacher-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    font-weight: 650;
    font-size: 14px;
    color: var(--accent);
}

.teacher-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.teacher-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    height: 64px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.teacher-topbar strong {
    font-size: 14.5px;
    color: var(--navy);
}

.topbar-actions { display: flex; gap: 8px; }

.teacher-content {
    padding: 28px;
    display: grid;
    gap: 22px;
    align-content: start;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.page-head h1 {
    font-size: 26px;
    color: var(--navy);
}

.page-head p {
    margin-top: 6px;
    font-size: 14.5px;
}

.form-success {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 138, 95, 0.25);
    background: var(--ok-soft);
    color: var(--ok);
    font-size: 14px;
    font-weight: 600;
}

/* ------------------------------------------------------- s?nav listesi */

.quiz-list { display: grid; gap: 12px; }

.quiz-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.quiz-row:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.quiz-main { min-width: 0; }

.quiz-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quiz-title-row h3 {
    font-size: 16px;
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.quiz-facts {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 13px;
    color: var(--muted);
}

.quiz-facts b {
    color: var(--text-dim);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.quiz-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.code-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--navy);
    cursor: pointer;
}

.empty-state {
    padding: 52px 24px;
    text-align: center;
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface);
}

.empty-state h3 {
    font-size: 17px;
    color: var(--navy);
}

.empty-state p {
    margin: 8px auto 18px;
    max-width: 380px;
    font-size: 14px;
    color: var(--muted);
}

.student-list {
    display: grid;
    gap: 10px;
}

.student-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.student-row:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.student-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.student-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
}

.student-text {
    min-width: 0;
}

.student-text h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0;
}

.student-chevron {
    color: var(--muted);
    font-size: 18px;
    flex: 0 0 auto;
}

.loading-state {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ------------------------------------------------------- soru d?zenleyici */

.builder { display: grid; gap: 18px; }

.builder-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.builder-split > .card {
    min-width: 0;
}

.builder-split .settings-stack {
    gap: 12px;
}

.builder-split .field {
    gap: 8px;
}

.builder-split .field > label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #35506a;
}

.builder-split input[type="text"],
.builder-split input[type="number"],
.builder-split input[type="email"],
.builder-split input[type="tel"],
.builder-split input[type="url"],
.builder-split input[type="datetime-local"],
.builder-split select,
.builder-split textarea {
    min-height: 48px;
    padding: 13px 16px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    border-radius: 16px;
    background: #f4f7fb;
    color: #10243a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 1px 2px rgba(15, 42, 74, 0.03);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.builder-split textarea {
    min-height: 112px;
    padding-top: 14px;
}

.builder-split input::placeholder,
.builder-split textarea::placeholder {
    color: #8aa0b6;
}

.builder-split input:hover,
.builder-split select:hover,
.builder-split textarea:hover {
    background: #eef3f9;
    border-color: rgba(27, 98, 176, 0.18);
}

.builder-split input:focus,
.builder-split select:focus,
.builder-split textarea:focus {
    outline: none;
    background: #fff;
    border-color: #2b7de1;
    box-shadow:
        0 0 0 4px rgba(43, 125, 225, 0.14),
        0 8px 20px rgba(15, 42, 74, 0.06);
}

.builder-split select {
    cursor: pointer;
    background-color: #f4f7fb;
    background-image:
        linear-gradient(45deg, transparent 50%, #5d7a94 50%),
        linear-gradient(135deg, #5d7a94 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 1px), calc(100% - 13px) calc(50% - 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.builder-split .sched-picker-date,
.builder-split .sched-picker-time select {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #f4f7fb;
}

@media (max-width: 1080px) {
    .builder-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

.question-card {
    background: var(--surface);
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(10, 46, 92, 0.05);
    transition: box-shadow 0.16s ease, opacity 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}

.question-card:hover {
    border-color: rgba(11, 79, 156, 0.22);
    box-shadow: 0 12px 28px rgba(10, 46, 92, 0.08);
}

.question-card.is-dragging {
    opacity: 0.55;
}

.question-card.is-drag-over-before {
    box-shadow: inset 0 3px 0 0 var(--accent), 0 8px 24px rgba(10, 46, 92, 0.05);
}

.question-card.is-drag-over-after {
    box-shadow: inset 0 -3px 0 0 var(--accent), 0 8px 24px rgba(10, 46, 92, 0.05);
}

.question-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid rgba(10, 46, 92, 0.08);
}

.question-head-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.drag-handle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    cursor: grab;
    touch-action: none;
    user-select: none;
    flex-shrink: 0;
}

.drag-handle:hover {
    color: var(--navy);
    background: #fff;
    border-color: var(--border);
}

.drag-handle:active,
.question-card.is-dragging .drag-handle {
    cursor: grabbing;
}

.question-no {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.question-no i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f1fb, #d7e8f8);
    color: var(--accent);
    font-style: normal;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 0 0 1px rgba(20, 86, 160, 0.12);
}

.question-head-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.points-input {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.points-input input {
    width: 68px;
    padding: 7px 8px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    border-radius: 10px;
}

.points-input.is-auto input:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.06);
}

.question-body {
    padding: 18px 18px 20px;
    display: grid;
    gap: 16px;
}

.type-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-option {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.type-option:hover {
    border-color: var(--border-strong);
    color: var(--navy);
}

.type-option.is-active {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 0 0 1px rgba(11, 79, 156, 0.08);
}

.option-rows { display: grid; gap: 10px; }

.option-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 10px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(10, 46, 92, 0.03);
    transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.option-row:focus-within {
    border-color: var(--accent-line);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 79, 156, 0.08);
}

.option-row.is-correct {
    border-color: rgba(15, 138, 95, 0.42);
    background: linear-gradient(180deg, #f3fbf7, #eaf8f1);
}

.option-letter {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 750;
    color: var(--navy);
}

.option-row.is-correct .option-letter {
    background: rgba(15, 138, 95, 0.16);
    border-color: transparent;
    color: var(--ok);
}

.option-row input[type="text"] {
    background: transparent;
    border: 0;
    padding: 6px 0;
    min-width: 0;
}

.option-row input[type="text"]:focus {
    box-shadow: none;
    background: transparent;
}

.option-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.option-media {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.media-attach {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px dashed rgba(15, 94, 168, 0.28);
    border-radius: 10px;
    background: rgba(15, 94, 168, 0.05);
    color: var(--accent);
    cursor: pointer;
    flex: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.media-attach:hover {
    background: rgba(15, 94, 168, 0.1);
    border-color: var(--accent);
}

.media-attach .bi {
    font-size: 16px;
    line-height: 1;
}

.media-attach.has-file {
    border-style: solid;
    border-color: var(--border);
    background: #fff;
    overflow: hidden;
}

.media-attach-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-attach-x {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.media-attach-x.is-lg {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 18px;
}

.media-dropzone {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    padding: 18px 14px;
    border: 1px dashed rgba(15, 94, 168, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(15, 94, 168, 0.04), rgba(15, 94, 168, 0.02));
    color: var(--navy);
    cursor: pointer;
    text-align: center;
    font: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.media-dropzone:hover {
    border-color: var(--accent);
    background: rgba(15, 94, 168, 0.08);
}

.media-dropzone.is-dragover,
.media-attach.is-dragover,
.media-question-preview-wrap.is-dragover {
    border-color: var(--accent);
    border-style: solid;
    background: rgba(15, 94, 168, 0.14);
    box-shadow: inset 0 0 0 2px rgba(15, 94, 168, 0.22);
}

.media-dropzone.is-uploading,
.media-attach.is-uploading,
.media-question-preview-wrap.is-uploading {
    opacity: 0.65;
    pointer-events: none;
}

.media-dropzone .bi {
    font-size: 22px;
    color: var(--accent);
}

.media-dropzone span {
    font-size: 14px;
    font-weight: 650;
}

.media-dropzone small {
    font-size: 12px;
    color: var(--muted);
}

.media-question-preview-wrap {
    position: relative;
    display: inline-block;
    max-width: min(100%, 360px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.media-question-preview-wrap:hover {
    border-color: rgba(15, 94, 168, 0.35);
}

.media-question-preview-wrap img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.pair-side-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.media-thumb,
.media-preview,
.choice-media,
.question-media img,
.review-media img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.media-thumb {
    max-width: 96px;
    max-height: 72px;
    object-fit: cover;
}

.media-preview {
    max-width: 320px;
    max-height: 220px;
    object-fit: contain;
}

.media-block {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.question-media {
    padding: 0 24px 4px;
    min-height: 140px;
    display: grid;
    place-items: center;
}

.question-media img {
    max-height: 320px;
    width: 100%;
    object-fit: contain;
    display: block;
}

.page-exam .question-media {
    min-height: 160px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    margin: 0 12px 8px;
    padding: 8px 12px;
}

.choice-body,
.reorder-body,
.match-left {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.choice-media {
    max-width: 220px;
    max-height: 140px;
    object-fit: contain;
}

.pair-row-rich {
    align-items: start;
}

.pair-side {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.review-media {
    margin: 0 0 12px;
}

.review-media img {
    max-width: 360px;
    max-height: 240px;
    object-fit: contain;
}

.review-option-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

.review-option-media figure {
    margin: 0;
    display: grid;
    gap: 4px;
    justify-items: start;
}

.review-option-media span {
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
}

.review-option-media img {
    max-width: 120px;
    max-height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.mark-correct {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.mark-correct input {
    accent-color: var(--ok);
    width: 15px;
    height: 15px;
}

.pair-rows { display: grid; gap: 10px; }

.pair-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: #fff;
}

.pair-row .arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f1fb, #d7e8f8);
    border: 1px solid rgba(11, 79, 156, 0.12);
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
}

.builder-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10, 46, 92, 0.05);
    position: sticky;
    bottom: 16px;
}

.builder-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.builder-summary b {
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------- yay?n kart? */

.publish-card {
    display: grid;
    gap: 18px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--accent-line);
    border-radius: var(--r-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.publish-share {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.publish-pin,
.publish-qr {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.publish-code {
    font-family: var(--mono);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    color: var(--navy);
}

.publish-qr-frame {
    display: grid;
    place-items: center;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.publish-qr-frame canvas {
    display: block;
    width: 200px;
    height: 200px;
}

.publish-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.link-box {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
}

.link-box input {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-dim);
}

@media (max-width: 560px) {
    .publish-share { grid-template-columns: minmax(0, 1fr); }
    .publish-code { font-size: 34px; }
}

/* ------------------------------------------------------------- izleme */

.monitor-layout {
    display: grid;
    gap: 18px;
    min-width: 0;
    width: 100%;
}

.monitor-head {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(0, auto);
    gap: 16px 20px;
    align-items: start;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.monitor-head-main { min-width: 0; grid-column: 1; }
.monitor-actions { grid-column: 2; }
.monitor-head > .monitor-qr-panel { grid-column: 1 / -1; }

.monitor-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.monitor-title h1 {
    font-size: 22px;
    color: var(--navy);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: min(100%, 12rem);
    max-width: 100%;
}

.monitor-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--surface-2);
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
}

.meta-chip b {
    color: var(--navy);
    font-family: var(--mono);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.monitor-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
}

.monitor-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .monitor-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.monitor-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.monitor-chart-card {
    padding: 16px 18px 18px;
    min-width: 0;
}

.monitor-chart-card h3 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--navy);
}

.monitor-chart-wide {
    grid-column: 1 / -1;
}

.monitor-chart-wrap {
    position: relative;
    height: 220px;
}

.monitor-chart-wrap.is-tall {
    height: 280px;
}

.monitor-chart-empty {
    margin: 28px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.monitor-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.monitor-podium[hidden] { display: none; }

.podium-card {
    display: grid;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-align: center;
    align-content: start;
}

.podium-card strong {
    font-size: 15px;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.podium-place {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.podium-score {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.podium-score small {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 2px;
}

.podium-meta {
    font-size: 12.5px;
    color: var(--muted);
}

.podium-card.is-first {
    border-color: rgba(212, 175, 55, 0.45);
    background: linear-gradient(180deg, #fff9e9, #fff);
}

.podium-card.is-second {
    border-color: rgba(148, 163, 184, 0.55);
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.podium-card.is-third {
    border-color: rgba(180, 120, 80, 0.4);
    background: linear-gradient(180deg, #fff6ef, #fff);
}

.monitor-podium.has-three .podium-card.is-first { order: 2; }
.monitor-podium.has-three .podium-card.is-second { order: 1; margin-top: 12px; }
.monitor-podium.has-three .podium-card.is-third { order: 3; margin-top: 18px; }

.podium-card.is-first .podium-place { color: #b8860b; }
.podium-card.is-second .podium-place { color: #64748b; }
.podium-card.is-third .podium-place { color: #9a6b45; }

.monitor-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
}
.monitor-table-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 0 10px;
    position: sticky;
    left: 0;
}
.linkish-name {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
.linkish-name:hover strong,
.linkish-name:focus-visible strong {
    color: var(--accent);
    text-decoration: underline;
}

.monitor-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.monitor-table th,
.monitor-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 13.5px;
    white-space: nowrap;
}

.monitor-table th {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-2);
}

.monitor-table th:nth-child(2),
.monitor-table td:nth-child(2) {
    white-space: normal;
    min-width: 148px;
    max-width: 220px;
}

.monitor-table td.tnum {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.monitor-table th.is-num {
    text-align: right;
}

.monitor-table th.is-status,
.monitor-table td.is-status {
    text-align: center;
    vertical-align: middle;
}

.monitor-table td.is-status .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto;
}

.monitor-table td.is-status .badge::before {
    display: none;
}

.monitor-table td.is-status .badge .bi {
    font-size: 12px;
    line-height: 1;
}

.monitor-table th.is-actions,
.monitor-table td.is-actions {
    text-align: right;
    width: 1%;
}

.monitor-table td strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
}

.monitor-table td .muted {
    display: block;
    margin-top: 2px;
    font-size: 12px;
}

.monitor-table td .is-pass { color: var(--ok); }
.monitor-table td .is-fail { color: var(--danger); }
.monitor-table td .is-timer {
    font-family: var(--mono);
    font-weight: 600;
    color: var(--text-dim);
}
.monitor-table td .is-low { color: var(--danger); }

.monitor-table tr.is-active td {
    background: rgba(20, 100, 176, 0.03);
}

.monitor-card {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}

.monitor-section { min-width: 0; }

.monitor-list {
    display: grid;
}

.monitor-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.monitor-item:last-child { border-bottom: 0; }

.monitor-item-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.monitor-item-who {
    min-width: 0;
}

.monitor-item-who strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.monitor-item-who span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

.monitor-item-score {
    text-align: right;
    flex: none;
}

.monitor-item-score strong {
    display: block;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--navy);
}

.monitor-item-score strong.is-pass { color: var(--ok); }
.monitor-item-score strong.is-fail { color: var(--danger); }
.monitor-item-score strong.is-timer { font-family: var(--mono); font-size: 16px; }
.monitor-item-score strong.is-low { color: var(--danger); }

.monitor-item-score span {
    font-size: 11px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 650;
}

.monitor-item-bar {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.monitor-item-bar .meter {
    width: 100%;
    height: 7px;
}

.monitor-item-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12.5px;
    color: var(--muted);
}

.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--muted);
    flex: none;
}

.live-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.82); }
}

.progress-cell,
.analysis-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.remaining {
    font-family: var(--mono);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
}

.remaining.is-low { color: var(--danger); }

/* ------------------------------------------------ ??renci s?nav ekran? */

/* ------------------------------------------------------- s?nav (??renci ? koyu) */

.page-exam {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(20, 86, 160, 0.42), transparent 55%),
        linear-gradient(165deg, #071a33 0%, #0A2E5C 42%, #0d3a6e 100%);
    color: #e8eef6;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
}

.page-exam.exam-no-copy,
.page-exam.exam-no-copy *:not(input):not(textarea):not(select) {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.page-exam.exam-no-copy img,
.page-exam.exam-no-copy canvas {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}

.page-exam.exam-no-copy input,
.page-exam.exam-no-copy textarea,
.page-exam.exam-no-copy select {
    user-select: text;
    -webkit-user-select: text;
}

.page-exam .exam-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.page-exam .exam-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: rgba(7, 26, 51, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-exam .exam-identity strong {
    display: block;
    font-size: 14.5px;
    font-weight: 650;
    color: #f4f8fc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-exam .exam-identity span {
    font-size: 12.5px;
    color: #9eb4c9;
}

.page-exam .exam-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    justify-self: center;
}

.page-exam .exam-clock .clock-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8ec5f0;
}

.page-exam .exam-clock .clock-value {
    font-family: var(--mono);
    font-size: 19px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #fff;
}

.page-exam .exam-clock.is-warning {
    border-color: rgba(240, 198, 90, 0.55);
    background: rgba(240, 198, 90, 0.12);
}

.page-exam .exam-clock.is-warning .clock-value { color: #f0c65a; }

.page-exam .exam-clock.is-critical {
    border-color: rgba(255, 120, 130, 0.55);
    background: rgba(192, 53, 69, 0.22);
    animation: clockPulse 1s ease-in-out infinite;
}

.page-exam .exam-clock.is-critical .clock-value { color: #ffb4ba; }

@keyframes clockPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 53, 69, 0.2); }
    50% { box-shadow: 0 0 0 7px rgba(192, 53, 69, 0); }
}

.page-exam .exam-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.page-exam .save-state {
    font-size: 12.5px;
    color: #9eb4c9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 96px;
    justify-content: flex-end;
}

.page-exam .save-state.is-saving { color: #f0c65a; }
.page-exam .save-state.is-saved { color: #9aefc4; }
.page-exam .save-state.is-error { color: #ffb4ba; }

.page-exam .exam-body {
    flex: 1;
    width: min(1180px, 100% - 40px);
    margin: 26px auto 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}

.page-exam .question-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    min-height: min(70vh, 640px);
    backdrop-filter: blur(8px);
}

.page-exam .question-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.page-exam .question-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.page-exam .question-counter {
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    color: #f4f8fc;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.page-exam .question-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-exam .badge-plain {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    color: #d7e6f5;
}

.page-exam .question-text {
    padding: 28px 24px 8px;
    font-family: var(--display);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.015em;
    white-space: pre-wrap;
    color: #f7fbff;
}

.page-exam .question-help {
    padding: 8px 24px 0;
    font-size: 13px;
    color: #9eb4c9;
}

.page-exam .answer-area {
    padding: 20px 24px 26px;
    display: grid;
    gap: 12px;
}

.page-exam .choice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(18, 48, 88, 0.55));
    color: #f2f7fc;
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.1s ease, box-shadow 0.14s ease;
}

.page-exam .choice:hover {
    border-color: rgba(142, 197, 240, 0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(28, 68, 118, 0.82));
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.page-exam .choice:active { transform: translateY(1px); }

.page-exam .choice-letter {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    transition: inherit;
}

.page-exam .choice.is-selected {
    border-color: rgba(240, 198, 90, 0.8);
    background: linear-gradient(180deg, rgba(240, 198, 90, 0.28), rgba(240, 198, 90, 0.14));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(240, 198, 90, 0.28), 0 12px 24px rgba(0, 0, 0, 0.16);
}

.page-exam .choice.is-selected:hover {
    background: linear-gradient(180deg, rgba(240, 198, 90, 0.34), rgba(240, 198, 90, 0.18));
    border-color: rgba(240, 198, 90, 0.9);
    color: #fff;
}

.page-exam .choice.is-selected .choice-letter {
    background: linear-gradient(145deg, #f0c65a, #e8b923);
    border-color: transparent;
    color: #0A2E5C;
}

.page-exam .choice-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.page-exam .answer-text-input {
    font-size: 16px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 12px;
}

.page-exam .answer-text-input::placeholder { color: #8aa0b5; }

.page-exam .reorder-list { display: grid; gap: 8px; }

.page-exam .reorder-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #f2f7fc;
}

.page-exam .reorder-index {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(240, 198, 90, 0.2);
    color: #f0c65a;
    font-size: 12.5px;
    font-weight: 650;
}

.page-exam .reorder-controls { display: flex; gap: 4px; }

.page-exam .icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #e8eef6;
    font-size: 14px;
    cursor: pointer;
}

.page-exam .icon-btn:hover:not([disabled]) {
    border-color: rgba(142, 197, 240, 0.5);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.page-exam .icon-btn[disabled] { opacity: 0.3; cursor: not-allowed; }

.page-exam .match-hint {
    margin: 0 0 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #9eb4c9;
}

.page-exam .match-board {
    position: relative;
    isolation: isolate;
}

.page-exam .match-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.page-exam .match-cols {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 12vw, 120px);
    align-items: start;
}

.page-exam .match-col {
    display: grid;
    gap: 10px;
}

.page-exam .match-chip {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    color: #f2f7fc;
    text-align: left;
    font: inherit;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-exam .match-col.is-right .match-chip {
    grid-template-columns: auto minmax(0, 1fr);
}

.page-exam .match-chip:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
    transform: translateY(-1px);
}

.page-exam .match-chip:focus-visible {
    outline: 2px solid #f0c65a;
    outline-offset: 2px;
}

.page-exam .match-chip.is-picking {
    border-color: #f0c65a;
    box-shadow: 0 0 0 3px rgba(240, 198, 90, 0.28), 0 10px 24px rgba(0, 0, 0, 0.18);
    background: linear-gradient(165deg, rgba(240, 198, 90, 0.22), rgba(255, 255, 255, 0.08));
}

.page-exam .match-chip.is-paired {
    border-color: var(--pair-color, #5b9fff);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px var(--pair-color, #5b9fff),
        0 10px 22px rgba(0, 0, 0, 0.14);
}

.page-exam .match-chip-mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    flex-shrink: 0;
}

.page-exam .match-chip.is-paired .match-chip-mark {
    background: var(--pair-color, #5b9fff);
    border-color: transparent;
    color: #0a2e5c;
}

.page-exam .match-chip-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.page-exam .match-chip-body .choice-media {
    max-width: 100%;
    max-height: 110px;
    border-radius: 10px;
}

.page-exam .match-chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
    justify-self: end;
}

.page-exam .match-col.is-right .match-chip-dot {
    justify-self: start;
}

.page-exam .match-chip.is-paired .match-chip-dot,
.page-exam .match-chip.is-picking .match-chip-dot {
    background: var(--pair-color, #f0c65a);
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.page-exam .match-chip.is-picking .match-chip-dot {
    --pair-color: #f0c65a;
}

.page-exam .match-chip.is-disabled,
.page-exam .match-chip[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.page-exam .question-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    position: sticky;
    bottom: 0;
    z-index: 5;
    flex-wrap: wrap;
}

.page-exam .question-nav .exam-nav-btn:last-child,
.page-exam .question-nav .exam-nav-hint {
    margin-left: auto;
}

.page-exam .exam-nav-meta {
    font-size: 15px;
    font-weight: 600;
    color: #d7e6f5;
    text-align: center;
    flex: 1 1 auto;
}

.page-exam .exam-nav-btn {
    min-width: 120px;
    min-height: 44px;
}

.page-exam .exam-nav-hint {
    font-size: 13px;
    font-weight: 600;
    color: #9eb4c9;
    margin-left: auto;
}

.page-exam .exam-side {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 88px;
}

.page-exam .palette-card,
.page-exam .submit-card,
.page-exam .panel-note {
    padding: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: none;
    color: #c5d6e8;
}

.page-exam .palette-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.page-exam .palette-head h3 { font-size: 13.5px; color: #f4f8fc; }

.page-exam .palette-progress {
    font-size: 12.5px;
    color: #9eb4c9;
    font-variant-numeric: tabular-nums;
}

.page-exam .palette-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.page-exam .palette-btn {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #e8eef6;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    cursor: default;
    min-height: 40px;
    user-select: none;
}

.page-exam .palette-btn[data-goto] {
    cursor: pointer;
}

.page-exam .palette-btn[data-goto]:hover {
    border-color: rgba(142, 197, 240, 0.5);
    color: #fff;
}

.page-exam .palette-btn.is-locked {
    opacity: 0.72;
}

.page-exam .palette-btn.is-answered {
    border-color: rgba(61, 214, 140, 0.45);
    background: rgba(61, 214, 140, 0.16);
    color: #9aefc4;
}

.page-exam .palette-btn.is-flagged {
    border-color: rgba(240, 198, 90, 0.5);
    background: rgba(240, 198, 90, 0.14);
    color: #f0c65a;
}

.page-exam .palette-btn.is-current {
    border-color: #4ea1e0;
    background: #1456A0;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(78, 161, 224, 0.25);
}

.page-exam .palette-legend {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #9eb4c9;
}

.page-exam .palette-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-exam .legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    flex: none;
}

.page-exam .legend-dot.answered { border-color: rgba(61, 214, 140, 0.5); background: rgba(61, 214, 140, 0.35); }
.page-exam .legend-dot.flagged { border-color: rgba(240, 198, 90, 0.55); background: rgba(240, 198, 90, 0.4); }
.page-exam .legend-dot.current { border-color: #4ea1e0; background: #1456A0; }

.page-exam .submit-card { display: grid; gap: 12px; }
.page-exam .submit-card p { font-size: 13px; color: #9eb4c9; }

.page-exam .btn-outline,
.page-exam a.btn-outline,
.page-exam button.btn-outline {
    --btn-bg: rgba(255, 255, 255, 0.08);
    --btn-fg: #f4f8fc;
    --btn-border: rgba(255, 255, 255, 0.22);
    --btn-shadow: none;
    color: #f4f8fc !important;
}

.page-exam .btn-outline:hover,
.page-exam a.btn-outline:hover,
.page-exam button.btn-outline:hover {
    --btn-bg: rgba(255, 255, 255, 0.14);
    --btn-fg: #fff;
    --btn-border: rgba(142, 197, 240, 0.55);
    color: #fff !important;
}

.page-exam .btn-ghost,
.page-exam button.btn-ghost {
    --btn-fg: #c5d6e8;
    color: #c5d6e8 !important;
}

.page-exam .btn-ghost:hover,
.page-exam button.btn-ghost:hover {
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-fg: #fff;
    color: #fff !important;
}

.page-exam .loading-state {
    color: #c5d6e8;
    text-align: center;
    padding: 48px 16px;
}

.page-exam .exam-submit-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    background: rgba(4, 14, 28, 0.72);
    backdrop-filter: blur(6px);
    padding: 24px;
}

.page-exam .exam-submit-overlay[hidden] { display: none !important; }

.page-exam .exam-submit-card {
    width: min(360px, 100%);
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(10, 46, 92, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    color: #f4f8fc;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.page-exam .exam-submit-card p { color: #9eb4c9; font-size: 14px; margin: 0; }

.page-exam .spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #8ec5f0;
    border-radius: 50%;
    animation: examSpin 0.8s linear infinite;
}

@keyframes examSpin {
    to { transform: rotate(360deg); }
}

.page-exam .focus-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.page-exam .focus-card,
.page-exam .exam-dark-card,
.page-exam .conf-student-card {
    width: min(560px, 100%);
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 20px !important;
    color: #e8eef6;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.page-exam .focus-card.is-wide,
.page-exam .conf-student-card.is-wide {
    width: min(720px, 100%);
}

.page-exam .focus-card h1,
.page-exam .conf-student-card h1 {
    color: #fff;
}

.page-exam .focus-card .hint,
.page-exam .focus-card .muted,
.page-exam .conf-student-card .hint,
.page-exam .conf-student-card .muted {
    color: #9eb4c9;
}

.page-exam .conf-student-opts { gap: 12px; }

.page-exam .conf-student-opt {
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    background: rgba(18, 48, 88, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8fc;
    font-size: 16px;
    min-height: 56px;
    text-align: left;
}

.page-exam .conf-student-opt span {
    line-height: 1.4;
}

.page-exam .conf-student-opt b {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.page-exam .conf-student-opt:hover,
.page-exam .conf-student-opt:focus-visible {
    border-color: rgba(142, 197, 240, 0.55);
    background: rgba(28, 68, 118, 0.92);
    color: #fff;
}

.page-exam .conf-student-opt.is-on {
    border-color: rgba(240, 198, 90, 0.75);
    background: rgba(240, 198, 90, 0.22);
    color: #fff;
}

.page-exam .conf-student-opt.is-on:hover {
    background: rgba(240, 198, 90, 0.28);
}

.page-exam .result-shell {
    color: #e8eef6;
}

.page-exam .result-shell .site-header {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-exam .result-hero,
.page-exam .result-ranking,
.page-exam .review-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: #e8eef6;
}

.page-exam .result-summary h1,
.page-exam .section-title h2,
.page-exam .review-question {
    color: #fff;
}

.page-exam .result-summary > p,
.page-exam .muted,
.page-exam .review-no {
    color: #9eb4c9;
}

.page-exam .result-review-note {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #c5d6e8;
}

.page-exam .result-rank-meta {
    color: #9eb4c9;
}

.page-exam .result-rank-meta b {
    color: #f0c65a;
}

.page-exam .result-rank-item {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.page-exam .result-rank-item.is-me {
    border-color: rgba(240, 198, 90, 0.45);
    background: rgba(240, 198, 90, 0.12);
    box-shadow: none;
}

.page-exam .result-rank-place {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.page-exam .result-rank-item.top-1 .result-rank-place { color: #f0c65a; }
.page-exam .result-rank-item.top-2 .result-rank-place { color: #c5d6e8; }
.page-exam .result-rank-item.top-3 .result-rank-place { color: #e0b589; }

.page-exam .result-rank-info strong {
    color: #fff;
}

.page-exam .result-rank-info em {
    color: #f0c65a;
}

.page-exam .result-rank-info span {
    color: #9eb4c9;
}

.page-exam .result-rank-score {
    color: #fff;
}

.page-exam .result-rank-score::after {
    color: #9eb4c9;
}

.page-exam .tally {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.page-exam .tally strong {
    color: #fff;
}

.page-exam .tally span {
    color: #c5d4e3;
}

.page-exam .tally.ok strong { color: #7dffc4; }
.page-exam .tally.bad strong { color: #ffb4ba; }
.page-exam .tally.empty strong { color: #d5e3f0; }

.page-exam .score-ring::after {
    background: #0d2a52;
}

.page-exam .score-ring-inner strong {
    color: #fff;
}

.page-exam .score-ring-inner span {
    color: #c5d4e3;
}

.page-exam .dialog-backdrop {
    background: rgba(4, 14, 28, 0.72);
}

.page-exam .dialog {
    background: #0d2a52;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e8eef6;
}

.page-exam .dialog h2 { color: #fff; }
.page-exam .dialog p { color: #9eb4c9; }
.page-exam .dialog-facts {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #c5d6e8;
}

.page-exam .review-choices .review-choice {
    background: rgba(18, 48, 88, 0.72);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f2f7fc;
}

.page-exam .review-choice .choice-letter {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.page-exam .review-choice.is-truth {
    background: rgba(15, 138, 95, 0.22);
    border-color: rgba(72, 200, 150, 0.55);
    color: #eafff5;
}

.page-exam .review-choice.is-miss {
    background: rgba(196, 64, 64, 0.22);
    border-color: rgba(240, 120, 120, 0.5);
    color: #ffe8e8;
}

.page-exam .review-choice.is-given:not(.is-truth):not(.is-miss) {
    background: rgba(240, 198, 90, 0.16);
    border-color: rgba(240, 198, 90, 0.45);
}

.page-exam .review-choice-tag {
    color: #c5d6e8;
}

.page-exam .review-choice.is-truth .review-choice-tag { color: #7dffc4; }
.page-exam .review-choice.is-miss .review-choice-tag { color: #ffb0b0; }

.page-exam .review-answer dt { color: #9eb4c9; }
.page-exam .review-answer dd { color: #f2f7fc; }
.page-exam .review-answer.given dd.correct { color: #7dffc4; }
.page-exam .review-answer.given dd.wrong { color: #ffb0b0; }
.page-exam .review-answer.truth dd { color: #7dffc4; }

.page-exam .review-correct-line { color: #7dffc4; }

/* Eski a??k tema s?n?flar? (geriye d?n?k) ? page-exam d???nda kullan?lmaz */
.exam-shell { min-height: 100vh; display: flex; flex-direction: column; }
.question-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* -------------------------------------------------------- sonu? ekran? */

.result-shell {
    width: min(880px, calc(100% - 40px));
    max-width: 100%;
    margin: 48px auto 60px;
    display: grid;
    gap: 20px;
    min-width: 0;
    box-sizing: border-box;
}

.page-exam .result-shell {
    width: min(880px, calc(100% - 24px));
    margin: 20px auto 36px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
}

.exam-shell > .site-header,
#exam-root > .site-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.result-summary {
    min-width: 0;
    width: 100%;
}

.result-summary h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.result-ranking {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.result-rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: -6px 0 14px;
    font-size: 13.5px;
    color: var(--muted);
}

.result-rank-meta b {
    color: var(--navy);
}

.result-rank-list {
    display: grid;
    gap: 8px;
    max-height: min(52vh, 420px);
    overflow: auto;
}

.result-rank-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e8eef6;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfe, #f7fafc);
}

.result-rank-item.is-me {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    box-shadow: 0 8px 18px rgba(15, 94, 168, 0.08);
}

.result-rank-item.top-1 .result-rank-place { color: #b8860b; }
.result-rank-item.top-2 .result-rank-place { color: #64748b; }
.result-rank-item.top-3 .result-rank-place { color: #9a6b45; }

.result-rank-place {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 800;
    color: var(--navy);
}

.result-rank-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.result-rank-info strong {
    color: var(--navy);
    font-size: 14.5px;
}

.result-rank-info em {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

.result-rank-info span {
    font-size: 12.5px;
    color: var(--muted);
}

.result-rank-score {
    font-size: 20px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.result-rank-score::after {
    content: "%";
    margin-left: 1px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}

.result-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.score-ring {
    --pct: 0;
    position: relative;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--pct) * 1%), var(--surface-3) 0);
    display: grid;
    place-items: center;
}

.score-ring::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: var(--surface);
}

.score-ring-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.score-ring-inner strong {
    display: block;
    font-family: var(--display);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--navy);
}

.score-ring-inner span {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
}

.result-summary h1 {
    font-size: 24px;
    color: var(--navy);
}

.result-summary > p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.result-review-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-2, #f3f6fa);
    color: var(--text-dim, #4a5d73);
    font-size: 13.5px;
    line-height: 1.45;
}

.result-tally {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    -webkit-touch-callout: none;
    min-width: 0;
    width: 100%;
}

.tally {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    min-width: 0;
    overflow-wrap: anywhere;
}

.tally strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    color: var(--navy);
}

.tally span { font-size: 12px; color: var(--muted); }
.tally.ok strong { color: var(--ok); }
.tally.bad strong { color: var(--danger); }
.tally.empty strong { color: var(--muted); }

.review-list { display: grid; gap: 10px; }

.review-item {
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.review-item.is-correct { border-left-color: var(--ok); }
.review-item.is-wrong { border-left-color: var(--danger); }
.review-item.is-blank { border-left-color: var(--warn); }

.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-no {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.review-question {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-wrap;
    color: var(--navy);
}

.review-choices {
    display: grid;
    gap: 10px;
    margin: 14px 0 10px;
}

.review-choice {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: #fff;
    font-size: 14.5px;
    box-shadow: 0 2px 8px rgba(10, 46, 92, 0.04);
}

.review-choice.is-truth {
    border-color: rgba(15, 138, 95, 0.45);
    background: var(--ok-soft);
}

.review-choice.is-miss {
    border-color: rgba(196, 64, 64, 0.4);
    background: var(--danger-soft, #fdeeee);
}

.review-choice-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.review-choice-tag {
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
    white-space: nowrap;
}

.review-choice.is-truth .review-choice-tag { color: var(--ok); }
.review-choice.is-miss .review-choice-tag { color: var(--danger); }

.review-correct-line {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--ok);
}

.review-answers {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.review-answer {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
}

.review-answer dt {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--faint);
}

.review-answer dd {
    margin: 0;
    color: var(--text-dim);
}

.review-answer.given dd.correct { color: var(--ok); }
.review-answer.given dd.wrong { color: var(--danger); }
.review-answer.truth dd { color: var(--ok); }

/* ----------------------------------------------------------- geri bildirim */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(14px);
    z-index: 200;
    max-width: min(420px, calc(100% - 40px));
    padding: 12px 18px;
    background: var(--navy);
    border: 1px solid transparent;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.is-error {
    background: #7f1d28;
    color: #ffe4e7;
}

.toast.is-success {
    background: #0b5c40;
    color: #d8fff0;
}

[hidden] { display: none !important; }

.dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
}

.dialog {
    width: min(440px, 100%);
    padding: 28px;
    background: var(--surface);
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(10, 46, 92, 0.18);
}

.dialog h2 {
    font-size: 18px;
    color: var(--navy);
}

.dialog p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.dialog-actions {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dialog-facts {
    margin-top: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface-2);
    font-size: 13.5px;
}

.dialog-facts div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dialog-facts b { font-variant-numeric: tabular-nums; color: var(--navy); }

.dialog-import-help { max-width: 520px; }
.import-template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 12px;
}
.import-template-card {
    appearance: none;
    display: grid;
    gap: 4px;
    text-align: left;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 46, 92, 0.12);
    background: #f5f8fc;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.import-template-card:hover {
    border-color: rgba(20, 86, 160, 0.45);
    background: #eef4fb;
    transform: translateY(-1px);
}
.import-template-card:disabled { opacity: 0.6; cursor: wait; }
.import-template-card strong {
    color: var(--navy);
    font-size: 14px;
}
.import-template-card span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
.import-template-hint {
    margin: 0 0 4px !important;
    font-size: 12.5px !important;
    color: var(--muted) !important;
    line-height: 1.4;
}
.import-template-hint b { color: var(--navy); font-weight: 650; }
.import-template-tips {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    margin-bottom: 4px;
}
.import-template-tips p {
    margin: 0 !important;
    font-size: 13px !important;
    color: var(--text-dim) !important;
    line-height: 1.45;
}
.import-template-tips code {
    font-family: var(--mono);
    font-size: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
}
.import-template-tips b { color: var(--navy); font-weight: 650; }
.btn-icon .bi {
    font-size: 1.15rem;
    line-height: 1;
}
@media (max-width: 560px) {
    .import-template-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- auth modal */

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 28, 48, 0.52);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overflow-y: auto;
}

.auth-modal-backdrop[hidden] {
    display: none !important;
}

.auth-modal {
    position: relative;
    width: min(480px, 100%);
    margin: auto;
    padding: 28px 24px 22px;
    border-radius: 22px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 28px 56px rgba(11, 42, 74, 0.18);
    animation: auth-modal-in 0.22s ease;
}

@keyframes auth-modal-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.auth-modal-close:hover {
    background: var(--accent-soft);
    color: var(--navy);
}

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.auth-modal-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.auth-modal-brand .brand-name {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.auth-modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #eef3f8;
}

.auth-modal.is-register-only .auth-modal-tabs,
#auth-modal.is-register-only .auth-modal-tabs,
.auth-modal.is-register-only [data-auth-panel="register"] .auth-modal-foot,
#auth-modal.is-register-only [data-auth-panel="register"] .auth-modal-foot {
    display: none !important;
}

.auth-modal-tab {
    border: 0;
    border-radius: 10px;
    padding: 10px 12px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth-modal-tab.is-active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(11, 42, 74, 0.08);
}

.auth-modal-panel h2 {
    margin: 0;
    font-size: 22px;
    color: var(--navy);
}

.auth-modal-panel .hint {
    margin-top: 6px;
}

.auth-modal-panel .form-error {
    margin-top: 14px;
}

.auth-modal-panel .auth-form {
    margin-top: 16px;
}

.auth-modal-foot {
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}

.auth-modal-foot a {
    color: var(--accent);
    font-weight: 600;
}

.auth-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.auth-security-note {
    margin: -4px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 14px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-dim);
    cursor: pointer;
}

.auth-terms-check input {
    margin-top: 3px;
    flex: none;
}

.auth-terms-check strong {
    color: var(--navy);
}

.auth-captcha-field .auth-label {
    font-size: 13px;
}

@media (max-width: 560px) {
    .auth-modal {
        padding: 24px 16px 18px;
        border-radius: 18px;
    }

    .auth-modal .auth-row {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------- duyarl?l?k */

@media (max-width: 1100px) {
    .sx-pill-hide-sm { display: none; }
    .sx-hours-text { display: none; }
}

@media (max-width: 980px) {
    .sx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sx-footer-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
        padding-bottom: 40px;
    }

    .hero-product {
        min-height: 0;
        width: 100%;
        padding: 0;
    }

    .product-frame,
    .hm-device {
        border-radius: 16px;
    }

    .home-feature-grid,
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-block-inner,
    .features-block-inner.is-reverse {
        grid-template-columns: 1fr;
    }

    .features-block-inner.is-reverse .features-block-copy,
    .features-block-inner.is-reverse .features-block-panel {
        order: initial;
    }
}

@media (max-width: 900px) {
    .sx-topbar {
        display: none;
    }

    .sx-menu-btn {
        display: grid;
        z-index: 2;
    }

    .sx-mainbar-inner {
        display: grid;
        grid-template-columns: 42px 1fr 42px;
        align-items: center;
        min-height: 60px;
        gap: 8px;
    }

    .sx-logo {
        grid-column: 2;
        justify-self: center;
        order: 0;
        font-size: 20px;
        z-index: 1;
    }

    .sx-menu-btn {
        grid-column: 1;
        justify-self: start;
    }

    /* Mobilde giri?/kay?t alt dock?ta; header sa??n? bo? b?rak */
    .sx-mainbar-right {
        display: none;
    }

    .sx-header,
    .sx-mainbar,
    .sx-mainbar-inner {
        overflow: visible;
    }

    .sx-nav {
        display: none;
        position: fixed;
        top: var(--sx-nav-top, 60px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: min(72vh, calc(100dvh - var(--sx-nav-top, 60px) - 12px));
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--sx-line);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
        z-index: 120;
        order: 10;
        flex: none;
    }

    .sx-header.is-open .sx-nav {
        display: flex;
    }

    .sx-header-backdrop {
        display: none !important;
    }

    .sx-header.is-open .sx-header-backdrop {
        display: block !important;
    }

    .sx-nav a { padding: 12px 14px; }
    .sx-nav-desktop-only { display: none !important; }
    .sx-nav-mobile-only,
    .sx-nav-mobile-menu { display: block !important; }

    .sx-footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 14px;
    }

    .sx-footer-top .sx-logo {
        order: 0;
        margin: 0 auto;
        justify-content: center;
        align-self: center;
    }

    .sx-footer-lead {
        margin: 0 auto;
        max-width: 36rem;
        text-align: center;
    }

    .sx-footer-top .sx-social {
        justify-content: center;
        margin: 0 auto;
    }

    .sx-footer-grid-2 {
        max-width: none;
    }

    .hero-actions .btn,
    .cta-band .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-actions,
    .cta-band .btn-row {
        width: 100%;
    }

    .cta-band .container {
        flex-direction: column;
        align-items: stretch;
    }

    body.has-mobile-dock .sx-dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
        pointer-events: none;
    }

    body.has-mobile-dock {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    .sx-dock-inner {
        pointer-events: auto;
        display: grid;
        grid-template-columns: repeat(var(--dock-cols, 5), minmax(0, 1fr));
        align-items: center;
        gap: 2px;
        max-width: 520px;
        margin: 0 auto;
        padding: 8px 6px;
        border-radius: 22px;
        border: 1px solid rgba(15, 42, 74, 0.08);
        background: rgba(255, 255, 255, 0.92);
        box-shadow:
            0 10px 30px rgba(11, 42, 74, 0.12),
            0 1px 0 rgba(255, 255, 255, 0.8) inset;
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
    }

    .sx-dock-item,
    .sx-dock-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        min-height: 52px;
        padding: 6px 4px;
        border-radius: 16px;
        color: var(--muted);
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 650;
        line-height: 1.15;
        text-align: center;
        transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease;
    }

    .sx-dock-item .bi,
    .sx-dock-center .bi {
        font-size: 18px;
        line-height: 1;
    }

    .sx-dock-item span,
    .sx-dock-center span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sx-dock-item:hover,
    .sx-dock-item:focus-visible {
        color: var(--navy);
        background: rgba(15, 94, 168, 0.08);
    }

    .sx-dock-center {
        color: #fff;
        background: linear-gradient(145deg, #1456A0, #0A2E5C);
        box-shadow: 0 8px 18px rgba(15, 94, 168, 0.28);
        font-size: 10px;
        font-weight: 700;
        min-height: 56px;
        margin: 0 2px;
    }

    .sx-dock-center .bi {
        font-size: 20px;
    }

    .sx-dock-center .sx-dock-play {
        display: block;
        width: 0;
        height: 0;
        margin: 2px 0 4px;
        border-style: solid;
        border-width: 8px 0 8px 14px;
        border-color: transparent transparent transparent #fff;
        filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
    }

    .sx-dock-center:hover,
    .sx-dock-center:focus-visible {
        color: #fff;
        transform: translateY(-1px);
        background: linear-gradient(145deg, #1B6FD4, #0A2E5C);
    }
}

@media (max-width: 720px) {
    .sx-mainbar-inner {
        min-height: 58px;
    }

    .sx-logo { font-size: 18px; }

    .sx-footer-grid,
    .sx-footer-grid-2 {
        grid-template-columns: 1fr;
    }

    .sx-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sx-footer-pay {
        margin-left: 0;
        height: 30px;
        max-width: min(220px, 78vw);
    }

    .sx-footer-pills {
        width: 100%;
    }

    .sx-footer-pills a {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .teacher-shell {
        grid-template-columns: minmax(0, 1fr);
        overflow-x: hidden;
    }

    .teacher-mobilebar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 40;
        min-height: 64px;
        height: auto;
        padding: 14px 12px 10px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
    }

    .teacher-topbar { display: none; }

    .nav-toggle {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--surface);
        cursor: pointer;
        flex: none;
        padding: 0;
    }

    .nav-toggle-lines {
        display: grid;
        gap: 4px;
        width: 16px;
    }

    .nav-toggle-lines i {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: var(--navy);
    }

    .mobilebar-brand {
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 1;
        padding-top: 2px;
    }

    .mobilebar-brand .brand {
        gap: 8px;
    }

    .mobilebar-brand .brand-mark {
        width: 26px;
        height: 26px;
        font-size: 13px;
        border-radius: 7px;
    }

    .mobilebar-brand .brand-name {
        font-size: 15px;
    }

    .mobilebar-page {
        display: none !important;
    }

    .mobilebar-cta {
        display: none !important;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .teacher-shell.is-nav-open .nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .teacher-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 86vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 0;
        overflow: hidden;
        z-index: 90;
        transform: translateX(-105%);
        transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: none;
        padding: 14px 8px 18px 12px;
        gap: 10px;
    }

    .teacher-shell.is-nav-open .teacher-sidebar {
        transform: translateX(0);
        box-shadow: 16px 0 40px rgba(15, 23, 42, 0.28);
    }

    .nav-close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #fff;
        color: var(--navy);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        flex: none;
        padding: 0;
    }

    .side-link {
        padding: 13px 12px;
        font-size: 15px;
        min-height: 46px;
    }

    .teacher-chip { display: flex; }

    .teacher-main { min-width: 0; overflow-x: hidden; }
    .teacher-content {
        padding: 16px 12px 28px;
        gap: 16px;
        min-width: 0;
    }

    body.page-teacher.is-nav-locked {
        overflow: hidden;
    }

    .monitor-head {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .monitor-head-main,
    .monitor-actions {
        grid-column: 1 / -1;
        max-width: 100%;
        min-width: 0;
    }

    .monitor-title {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .monitor-title h1 {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .monitor-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .monitor-actions .btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .monitor-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .monitor-stats .stat { padding: 14px; }
    .monitor-stats .stat-value { font-size: 24px; }

    .monitor-charts {
        grid-template-columns: 1fr;
    }

    .monitor-chart-wrap,
    .monitor-chart-wrap.is-tall {
        height: 220px;
    }

    .monitor-podium {
        grid-template-columns: 1fr;
    }

    .monitor-podium.has-three .podium-card.is-first,
    .monitor-podium.has-three .podium-card.is-second,
    .monitor-podium.has-three .podium-card.is-third {
        order: 0;
        margin-top: 0;
    }

    .monitor-podium.has-three .podium-card.is-first { order: -1; }

    .section-title h2 { font-size: 17px; }

    .result-hero,
    .page-exam .result-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        padding: 20px 14px;
        min-width: 0;
        gap: 16px;
    }
    .result-tally,
    .page-exam .result-tally {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .result-shell,
    .page-exam .result-shell {
        width: min(880px, calc(100% - 20px));
        margin: 16px auto 32px;
        min-width: 0;
        gap: 14px;
    }
    .score-ring {
        width: 120px;
        height: 120px;
    }
    .score-ring-inner strong { font-size: 32px; }
    .result-summary h1,
    .page-exam .result-summary h1 {
        font-size: clamp(17px, 5vw, 22px);
        line-height: 1.3;
    }
    .result-summary > p {
        font-size: 13px;
        overflow-wrap: anywhere;
    }
    .tally {
        padding: 10px 8px;
    }
    .tally strong {
        font-size: 16px;
    }
    .tally span {
        font-size: 11px;
    }
    .result-ranking {
        padding: 14px;
        min-width: 0;
    }
    .result-rank-list {
        max-height: min(48vh, 360px);
    }
    .result-shell .btn-row,
    .page-exam .result-shell .btn-row {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .result-shell .btn-row .btn,
    .page-exam .result-shell .btn-row .btn {
        width: 100%;
        justify-content: center;
    }
    .review-item {
        padding: 14px 12px;
        min-width: 0;
    }
    .review-head {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }
    .review-choice {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 12px;
    }
    .review-choice-tag {
        grid-column: 2;
    }
    .exam-shell > .site-header .container,
    #exam-root > .site-header .container {
        width: min(100%, calc(100% - 20px));
        padding-inline: 0;
    }
    .exam-shell > .site-header,
    #exam-root > .site-header {
        padding-block: 10px;
    }
    .review-media img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 380px) {
    .result-tally,
    .page-exam .result-tally {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tally strong { font-size: 15px; }
    .score-ring {
        width: 108px;
        height: 108px;
    }
    .score-ring-inner strong { font-size: 28px; }
}

@media (max-width: 720px) {
    .container { width: min(100%, calc(100% - 32px)); }
    h1 { font-size: 24px; }

    .form-grid.cols-2,
    .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }

    .builder-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .quiz-row { grid-template-columns: minmax(0, 1fr); }
    .quiz-actions { justify-content: flex-start; }

    .monitor-title h1 { font-size: 18px; }

    .monitor-item { padding: 14px; }

    .monitor-item-top {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "rank who"
            "score score";
        gap: 10px;
    }

    .monitor-item-top .rank-pill { grid-area: rank; }
    .monitor-item-who { grid-area: who; }
    .monitor-item-score {
        grid-area: score;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
        text-align: left;
        padding: 10px 12px;
        border-radius: 10px;
        background: var(--surface-2);
        border: 1px solid var(--border);
    }

    .monitor-item-score strong { font-size: 22px; }
    .monitor-item-score span { margin-left: auto; }
    .monitor-actions .btn { flex: 1 1 calc(50% - 8px); }
    .result-tally,
    .page-exam .result-tally {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .exam-topbar,
    .page-exam .exam-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 10px;
        padding: 10px 12px;
        min-width: 0;
    }
    .exam-clock { grid-row: 1; grid-column: 2; }
    .exam-top-actions { grid-column: 1 / -1; justify-content: space-between; }

    .page-exam .exam-body {
        width: calc(100% - 24px);
        max-width: 100%;
        margin-top: 14px;
        margin-bottom: 24px;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        min-width: 0;
    }
    .page-exam .exam-side { position: static; order: 2; }
    .page-exam .question-panel {
        order: 1;
        min-height: 0;
    }
    .page-exam .question-text { font-size: 18px; padding: 20px 16px 6px; color: #fff !important; }
    .page-exam .answer-area { padding: 16px; }
    .page-exam .question-panel-head,
    .page-exam .question-nav { padding: 12px 14px; }
    .page-exam .question-counter { font-size: 17px; color: #fff !important; }
    .page-exam .exam-nav-btn { min-width: 108px; flex: 1 1 auto; }
    .page-exam .exam-nav-meta { flex: 1 1 100%; order: -1; color: #e8eef6 !important; }
    .page-exam .choice {
        font-size: 16px;
        padding: 14px 14px;
        color: #fff !important;
        background: rgba(18, 48, 88, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
    }
    .page-exam .choice:hover {
        background: rgba(28, 68, 118, 0.95) !important;
        color: #fff !important;
    }
    .page-exam .choice-letter { color: #fff !important; }
    .page-exam .choice.is-selected,
    .page-exam .choice.is-selected:hover {
        color: #fff !important;
        background: rgba(240, 198, 90, 0.24) !important;
        border-color: rgba(240, 198, 90, 0.8) !important;
    }
    .page-exam .choice.is-selected .choice-letter {
        color: #0A2E5C !important;
        background: linear-gradient(145deg, #f0c65a, #e8b923) !important;
    }
    .page-exam .match-cols {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
    }
    .page-exam .match-chip {
        padding: 11px 12px;
        font-size: 14px;
        border-radius: 14px;
    }
    .page-exam .match-chip-mark {
        width: 24px;
        height: 24px;
        font-size: 11px;
        border-radius: 8px;
    }
    .page-exam .match-left,
    .page-exam .reorder-item,
    .page-exam .answer-text-input,
    .page-exam .badge-plain,
    .page-exam .palette-head h3,
    .page-exam .submit-card p,
    .page-exam .panel-note {
        color: #f2f7fc !important;
    }
    .page-exam .muted,
    .page-exam .hint,
    .page-exam .save-state {
        color: #c5d6e8 !important;
    }
    .page-exam .focus-card,
    .page-exam .conf-student-card,
    .page-exam .exam-dark-card {
        color: #f4f8fc !important;
        background: rgba(8, 28, 56, 0.92) !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
    }
    .page-exam .focus-card h1,
    .page-exam .conf-student-card h1 {
        color: #fff !important;
    }
    .page-exam .conf-student-opt {
        color: #fff !important;
        background: rgba(18, 48, 88, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
    }
    .page-exam .conf-student-opt.is-on,
    .page-exam .conf-student-opt.is-on:hover {
        background: rgba(240, 198, 90, 0.24) !important;
        border-color: rgba(240, 198, 90, 0.8) !important;
        color: #fff !important;
    }
    .page-exam .review-choice {
        background: rgba(18, 48, 88, 0.85) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        color: #f2f7fc !important;
    }
    .page-exam .review-choice.is-truth {
        background: rgba(15, 138, 95, 0.28) !important;
        border-color: rgba(72, 200, 150, 0.55) !important;
    }
    .page-exam .review-choice.is-miss {
        background: rgba(196, 64, 64, 0.28) !important;
        border-color: rgba(240, 120, 120, 0.5) !important;
    }
    .conf-podium {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 8px;
    }
    .conf-podium-card strong { font-size: 18px; }
    .conf-podium-slot.is-1 .conf-podium-card strong { font-size: 22px; }
    .conf-podium-slot.is-2 .conf-podium-card strong,
    .conf-podium-slot.is-3 .conf-podium-card strong { font-size: 18px; }
    .conf-podium-card b { font-size: 18px; }
    .conf-results-row.is-top-1 > span:nth-child(2),
    .conf-results-row.is-top-2 > span:nth-child(2),
    .conf-results-row.is-top-3 > span:nth-child(2) {
        font-size: 16px;
    }
    .conf-top-bar .eyebrow,
    .conf-run .eyebrow {
        font-size: 15px !important;
        color: #8ec5f0 !important;
    }
    .conf-question-text { font-size: clamp(22px, 5vw, 32px) !important; }

    .palette-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }

    .pair-row { grid-template-columns: minmax(0, 1fr); }
    .pair-row .arrow {
        width: 100%;
        height: 40px;
        display: grid;
    }

    .review-answer { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .publish-code { font-size: 34px; }
    .product-grid { grid-template-columns: 1fr; }
    .home-hero { padding-top: 40px; }
    .home-section { padding: 48px 0; }
    .hero-brand { font-size: clamp(32px, 10vw, 40px); }
    .hero-title { font-size: clamp(22px, 6.5vw, 28px); }
    .hero-lead { font-size: 15.5px; }
    .section-head h2 { font-size: 24px; }
    .cta-band h2 { font-size: 24px; }
    .feature { padding: 18px; }
    .home-feature-grid,
    .blog-card-grid {
        grid-template-columns: 1fr;
    }
    .features-block-inner,
    .features-block-inner.is-reverse {
        grid-template-columns: 1fr;
    }
    .features-block-inner.is-reverse .features-block-copy,
    .features-block-inner.is-reverse .features-block-panel {
        order: initial;
    }
    .features-block { padding: 40px 0; }
    .product-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Ana sayfa kullan?c? yorumlar? ---- */
.home-testimonials {
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(15, 94, 168, 0.08), transparent 65%),
        linear-gradient(180deg, #f7fafd, #fff);
}

.testimonial-carousel {
    position: relative;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.testimonial-nav {
    display: none;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 42, 74, 0.07);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #e0a800;
    font-size: 14px;
}

.testimonial-quote {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dim);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1456A0, #0A2E5C);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    flex: 0 0 42px;
    overflow: hidden;
}

.testimonial-who {
    min-width: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.testimonial-role {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .testimonial-carousel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
    }

    .testimonial-nav {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(15, 42, 74, 0.1);
        border-radius: 999px;
        background: #fff;
        color: var(--navy);
        box-shadow: 0 6px 16px rgba(11, 42, 74, 0.08);
        cursor: pointer;
        z-index: 2;
        transition: background 0.15s ease, opacity 0.15s ease, color 0.15s ease;
    }

    .testimonial-nav .bi {
        font-size: 18px;
        line-height: 1;
    }

    .testimonial-nav:hover:not(:disabled) {
        background: var(--accent-soft);
        color: var(--accent);
    }

    .testimonial-nav:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .testimonial-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        padding: 4px 2px 10px;
        margin: 0;
        scrollbar-width: none;
        cursor: grab;
    }

    .testimonial-track.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .testimonial-track::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 min(82vw, 320px);
        max-width: min(82vw, 320px);
        min-height: 220px;
        scroll-snap-align: center;
    }
}

/* ---- Fiyatlandirma ---- */
.pricing-main .info-wrap {
    padding-bottom: 28px;
}

.pricing-wrap {
    max-width: 1280px;
    margin-inline: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px 24px 22px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(10, 46, 92, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0A2E5C, #1456A0);
    opacity: 0.85;
}

.pricing-card.is-quote::before {
    background: linear-gradient(90deg, #64748b, #94a3b8);
}

.pricing-card.is-featured {
    border-color: rgba(240, 160, 32, 0.45);
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(240, 160, 32, 0.14), transparent 60%),
        #fff;
    box-shadow: 0 18px 44px rgba(10, 46, 92, 0.12);
    transform: translateY(-6px);
}

.pricing-card.is-featured::before {
    height: 5px;
    background: linear-gradient(90deg, #F0A020, #C9A227, #F6C05A);
}

.pricing-main .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(10, 46, 92, 0.1);
    border-color: rgba(11, 79, 156, 0.22);
}

.pricing-main .pricing-card.is-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(10, 46, 92, 0.14);
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F6C05A, #F0A020);
    color: #0A2E5C;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(240, 160, 32, 0.28);
}

.pricing-card-top {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.pricing-name {
    margin: 0;
    font-family: Sora, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    padding-right: 84px;
    letter-spacing: -0.02em;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.pricing-price-was,
.pricing-was-inline {
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.pricing-was-inline {
    font-size: inherit;
    margin-right: 4px;
}

.pricing-price {
    font-family: Sora, sans-serif;
    font-size: clamp(28px, 2.6vw, 34px);
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
    letter-spacing: -0.04em;
}

.pricing-period {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
}

.pricing-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
    min-height: 2.8em;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 16px 0 4px;
    display: grid;
    gap: 11px;
    flex: 1;
    border-top: 1px solid rgba(10, 46, 92, 0.08);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-dim);
}

.pricing-features .ico,
.pricing-features .bi {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--ok);
    flex: 0 0 auto;
    font-size: 16px;
}

.pricing-card.is-featured .pricing-features .bi {
    color: var(--gold-dark);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    min-height: 46px;
    border-radius: 12px;
    font-weight: 700;
}

.pricing-footnote {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    box-shadow: 0 6px 18px rgba(10, 46, 92, 0.04);
}

.pricing-footnote p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card.is-featured {
        transform: none;
    }

    .pricing-main .pricing-card.is-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Y?netici men? listesi ---- */
.menu-admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-admin-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    transition: background 0.15s ease, opacity 0.15s ease;
}

.menu-admin-item:last-child {
    border-bottom: 0;
}

.menu-admin-item.is-off {
    opacity: 0.72;
}

.menu-admin-item.is-dragging {
    opacity: 0.55;
    background: var(--surface-2);
}

.menu-admin-item.is-drag-over-before {
    box-shadow: inset 0 2px 0 var(--accent);
}

.menu-admin-item.is-drag-over-after {
    box-shadow: inset 0 -2px 0 var(--accent);
}

.menu-admin-handle {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: grab;
    font-size: 14px;
    letter-spacing: -2px;
    line-height: 1;
}

.menu-admin-handle:active {
    cursor: grabbing;
}

.menu-admin-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.menu-admin-meta strong {
    font-size: 14px;
}

.menu-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.menu-admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

@media (max-width: 720px) {
    .menu-admin-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .menu-admin-item .ticket-status,
    .menu-admin-actions {
        grid-column: 1 / -1;
    }

    .menu-admin-actions {
        justify-content: flex-start;
    }
}

/* ---- 404 / hata sayfas? ---- */
.error-main {
    min-height: min(70vh, 720px);
    display: grid;
    align-items: center;
}

.error-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 16px 64px;
}

.error-code {
    margin: 0 0 8px;
    font-family: Sora, sans-serif;
    font-size: clamp(64px, 14vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--accent);
    opacity: 0.9;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-wrap h1 {
    margin: 0 0 10px;
    font-family: Sora, sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    color: var(--navy);
}

.error-wrap .info-lead {
    margin-left: auto;
    margin-right: auto;
}

.error-wrap .info-actions {
    justify-content: center;
}

/* ---- K??e ileti?im butonu (chat) ---- */
.sx-chat-fab,
.whatsapp-float {
    position: fixed !important;
    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1200 !important;
    display: grid !important;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.sx-chat-fab:hover,
.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.48);
}

.sx-chat-fab:active,
.whatsapp-float:active {
    transform: translateY(0) scale(0.98);
}

.sx-chat-fab-ico,
.whatsapp-float-ico,
.whatsapp-float .fa-whatsapp {
    width: 30px;
    height: 30px;
    font-size: 30px;
    line-height: 1;
    display: block;
}

@media (max-width: 900px) {
    body.has-mobile-dock .sx-chat-fab,
    body.has-mobile-dock .whatsapp-float {
        bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        width: 52px;
        height: 52px;
    }

    body.has-mobile-dock .sx-chat-fab-ico,
    body.has-mobile-dock .whatsapp-float-ico,
    body.has-mobile-dock .whatsapp-float .fa-whatsapp {
        width: 28px;
        height: 28px;
        font-size: 28px;
    }
}

/* ---- ?erez uyar?s? ---- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    max-width: 920px;
    margin: 0 auto;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateY(14px);
}

.cookie-banner-inner {
    pointer-events: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 22px;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(15, 55, 95, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow:
        0 18px 48px rgba(11, 42, 74, 0.16),
        0 2px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(12px);
}

.cookie-banner-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(160deg, #fff6e8, #f3d5a0);
    box-shadow: 0 8px 20px rgba(196, 131, 58, 0.28);
}

.cookie-banner-icon svg {
    width: 56px;
    height: 56px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(92, 58, 30, 0.2));
}

.cookie-banner-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cookie-banner-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text, #0b2a4a);
}

.cookie-banner-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dim, #4a6280);
}

.cookie-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 2px;
}

.cookie-banner-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--brand, #1d6fd8);
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.cookie-banner-actions .btn {
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .cookie-banner-inner {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 16px 16px 18px;
        gap: 14px;
    }

    .cookie-banner-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .cookie-banner-icon svg {
        width: 46px;
        height: 46px;
    }

    .cookie-banner-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .cookie-banner-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    body.has-mobile-dock .cookie-banner {
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
}

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

/* ---- S?nav t?r? se?ici + konferans ---- */
.exam-mode-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.exam-mode-card {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.exam-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.exam-mode-card .bi { font-size: 22px; color: var(--accent); }
.exam-mode-card strong { color: var(--navy); font-size: 15px; }
.exam-mode-card span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.exam-mode-card.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 86, 160, 0.12);
}
@media (max-width: 720px) {
    .exam-mode-picker { grid-template-columns: 1fr; }
}

.page-conference {
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(20, 86, 160, 0.45), transparent 55%),
        linear-gradient(165deg, #071a33 0%, #0A2E5C 42%, #0d3a6e 100%);
    min-height: 100vh;
    color: #e8eef6;
}
.page-conference .toast { z-index: 300; }
.conf-shell { min-height: 100vh; padding: 20px 16px 48px; }

.conf-top-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}
.conf-top-bar .eyebrow { color: #8ec5f0; letter-spacing: 0.06em; }

.conf-waiting-band {
    display: flex;
    justify-content: center;
    margin: 18px auto 8px;
}
.conf-waiting-inner {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
.conf-waiting-spinner {
    width: 1.35rem;
    height: 1.35rem;
    border-width: 0.18em;
}
.conf-waiting-label {
    font-size: 1rem;
    font-weight: 600;
    color: #f4f8fc;
}
.conf-waiting-label.is-ready { color: #9aefc4; }
.conf-ellipsis::after {
    content: "...";
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    width: 0;
    animation: conf-dots 1.35s steps(4, end) infinite;
}
@keyframes conf-dots {
    0% { width: 0; }
    100% { width: 1.15em; }
}

.conf-lobby-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(280px, 1.2fr);
    gap: 28px;
    align-items: start;
    max-width: 1180px;
    margin: 8px auto 36px;
}
.conf-qr-hero {
    display: flex;
    justify-content: stretch;
    margin: 0;
    max-width: none;
    width: 100%;
}
.conf-qr-card {
    width: 100%;
    border-radius: 24px !important;
    overflow: hidden;
    background: #fff;
    color: var(--navy);
}
.conf-qr-card .letter-space { letter-spacing: 0.08em; }
.conf-qr-card .card-body {
    color: var(--navy);
}
.conf-qr-kicker {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: 0.72;
}
.conf-qr-hint {
    margin: 0 0 1.25rem;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dim);
}
.conf-qr-card .btn-outline,
.conf-qr-card .btn-cancel {
    --btn-bg: #fff !important;
    --btn-fg: var(--navy) !important;
    --btn-border: #c5cedd !important;
    background: #fff !important;
    color: var(--navy) !important;
    border-color: #c5cedd !important;
}
.conf-qr-card .btn-outline:hover,
.conf-qr-card .btn-cancel:hover {
    --btn-bg: var(--accent-soft) !important;
    --btn-fg: var(--navy) !important;
    --btn-border: var(--accent-line) !important;
    background: var(--accent-soft) !important;
    color: var(--navy) !important;
}
.conf-qr-card .btn-gold,
.conf-qr-card .conf-lobby-cta .btn-gold {
    --btn-bg: var(--gold) !important;
    --btn-fg: #0b1f3a !important;
    background: var(--gold) !important;
    color: #0b1f3a !important;
    border-color: transparent !important;
    text-shadow: none;
}
.conf-qr-card .btn-gold:hover,
.conf-qr-card .conf-lobby-cta .btn-gold:hover {
    --btn-bg: var(--gold-dark) !important;
    --btn-fg: #0b1f3a !important;
    background: var(--gold-dark) !important;
    color: #0b1f3a !important;
}
.conf-qr-card .btn-gold[disabled],
.conf-qr-card .btn-gold.is-disabled {
    opacity: 0.55;
    color: #0b1f3a !important;
}
.conf-qr-frame {
    width: 280px;
    height: 280px;
    max-width: 100%;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f4f7fb;
    border: 1px solid rgba(10, 46, 92, 0.08);
    overflow: hidden;
}
.conf-qr-frame canvas,
.conf-qr-frame img,
.conf-qr-img {
    width: 280px !important;
    height: 280px !important;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.conf-code-display {
    font-family: var(--mono, ui-monospace, monospace);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0A2E5C;
    line-height: 1.1;
}

.conf-roster-section {
    max-width: none;
    margin: 0;
    min-width: 0;
    max-height: min(72vh, 680px);
    overflow: auto;
    padding-right: 4px;
}
.conf-lobby-split .conf-student-grid {
    grid-template-columns: 1fr;
}
.conf-roster-empty {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: #b6c8da;
}
.conf-student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.conf-student-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.conf-student-avatar {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0A2E5C;
    background: linear-gradient(145deg, #f0c65a, #e8b923);
}
.conf-student-meta {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 2px;
}
.conf-student-meta strong {
    font-size: 14.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.conf-student-meta small {
    color: #9eb4c9;
    font-size: 12px;
}
.conf-lobby-cta {
    display: flex;
    justify-content: center;
}
.conf-lobby-cta .btn {
    min-width: min(320px, 100%);
    min-height: 52px;
    border-radius: 14px;
}

.conf-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.conf-top h1 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin-top: 6px; max-width: 18em; }
.conf-top .eyebrow { color: #7eb6e8; }
.conf-lobby-grid, .conf-run-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: start;
}
.conf-qr-panel, .conf-roster-panel, .conf-options {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
}
.conf-qr-panel { text-align: center; }
.conf-qr-panel canvas {
    width: 260px;
    height: 260px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
}
.conf-code {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 12px 0 6px;
    color: #fff;
}
.conf-roster-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.conf-roster-head h2 { color: #fff; font-size: 18px; margin: 0; }
.conf-roster-head strong {
    color: #9aefc4;
    font-size: 1.25rem;
}
.conf-roster {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
}
.conf-roster li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
}
.conf-roster li .bi { color: #7dd3a7; font-size: 18px; }
.conf-roster li.is-answered .bi { color: #3dd68c; }
.conf-roster li:not(.is-answered) .bi-circle { color: #6b8299; }
.conf-roster li em { margin-left: auto; font-style: normal; color: #8aa0b5; font-size: 12px; }
.conf-roster li.is-empty { color: #8aa0b5; justify-content: center; }
.conf-question-box {
    margin-top: 10px;
    padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3vw, 38px);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
    max-width: min(1100px, 100%);
}
.conf-multi-badge {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 650;
    color: #f0c65a !important;
}
.conf-multi-wait {
    margin: 0 0 10px;
    font-size: 13px;
}
.conf-question-text {
    margin: 0;
    color: #fff !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;
    /* K?sa soru daha b?y?k, uzun soru okunabilir kal?r */
    font-size: clamp(28px, calc(72px - (var(--q-len, 120) * 0.045px)), 64px) !important;
    text-wrap: balance;
}
.conf-results-head,
.conf-results-row {
    grid-template-columns: 52px minmax(110px, 1.5fr) 72px 56px 56px 100px;
}
.conf-options { display: grid; gap: 12px; }
.conf-opt {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    color: #f4f8fc;
}
.conf-opt b {
    flex: none;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
}
.conf-q-num {
    font-size: clamp(16px, 2.2vw, 20px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}
.conf-opt.is-key { border-color: rgba(255, 255, 255, 0.1); } /* do?ru ??k vurgusu kald?r?ld? */

.conf-podium {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: end;
    gap: 14px;
    max-width: 880px;
    margin: 8px auto 28px;
    padding: 8px 4px 0;
}
.conf-podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.conf-podium-card {
    width: 100%;
    text-align: center;
    padding: 14px 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f8fc;
    display: grid;
    gap: 4px;
    justify-items: center;
}
.conf-podium-card strong {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.conf-podium-card b { font-size: 22px; color: #f0c65a; }
.conf-podium-card small { color: #9eb4c9; font-size: 12px; }
.conf-podium-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.conf-podium-slot.is-1 .conf-podium-rank {
    width: 48px;
    height: 48px;
    font-size: 22px;
    background: linear-gradient(145deg, #f0c65a, #e8b923);
    color: #0A2E5C;
}
.conf-podium-slot.is-2 .conf-podium-rank { background: linear-gradient(145deg, #c5d0dc, #9aabbc); color: #1a2a3a; }
.conf-podium-slot.is-3 .conf-podium-rank { background: linear-gradient(145deg, #d4a574, #b07d4a); color: #2a1a0c; }
.conf-podium-slot.is-1 .conf-podium-card {
    padding-top: 18px;
    border-color: rgba(240, 198, 90, 0.45);
    background: rgba(240, 198, 90, 0.14);
    transform: translateY(-10px);
}
.conf-podium-slot.is-1 .conf-podium-card strong {
    font-size: clamp(24px, 3.4vw, 34px);
}
.conf-podium-slot.is-2 .conf-podium-card strong,
.conf-podium-slot.is-3 .conf-podium-card strong {
    font-size: clamp(20px, 2.8vw, 28px);
}
.conf-podium-block {
    width: 100%;
    border-radius: 12px 12px 4px 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.conf-podium-slot.is-1 .conf-podium-block { height: 110px; background: linear-gradient(180deg, rgba(240,198,90,0.45), rgba(240,198,90,0.12)); }
.conf-podium-slot.is-2 .conf-podium-block { height: 72px; }
.conf-podium-slot.is-3 .conf-podium-block { height: 52px; }
.conf-podium-slot.is-empty .conf-podium-card { opacity: 0.4; }
.conf-rank-card { margin-top: 8px; }
.conf-results-row.is-top-1 { background: rgba(240, 198, 90, 0.12); }
.conf-results-row.is-top-2 { background: rgba(154, 171, 188, 0.12); }
.conf-results-row.is-top-3 { background: rgba(176, 125, 74, 0.1); }
.conf-results-row.is-top-1 > span:nth-child(2),
.conf-results-row.is-top-2 > span:nth-child(2),
.conf-results-row.is-top-3 > span:nth-child(2) {
    font-size: 18px;
    font-weight: 800;
    color: #0A2E5C;
    line-height: 1.3;
}
.conf-results-row.is-top-2 { background: rgba(154, 171, 188, 0.12); }
.conf-results-row.is-top-3 { background: rgba(176, 125, 74, 0.1); }

.conf-all-done {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9aefc4;
    font-weight: 600;
    margin-bottom: 10px;
}
.conf-run-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.conf-results-table {
    display: grid;
    gap: 0;
    overflow-x: auto;
}
.conf-results-head,
.conf-results-row {
    display: grid;
    grid-template-columns: 52px minmax(110px, 1.5fr) 72px 56px 56px 100px;
    gap: 10px 14px;
    padding: 12px 18px;
    align-items: center;
    min-width: 520px;
}
.conf-results-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b8299;
    border-bottom: 1px solid rgba(10, 46, 92, 0.1);
    font-weight: 700;
}
.conf-results-head span:nth-child(n+3),
.conf-results-row > :nth-child(n+3) {
    text-align: right;
    justify-self: end;
}
.conf-results-row {
    border-bottom: 1px solid rgba(10, 46, 92, 0.06);
    color: var(--navy);
}
.conf-results-row strong,
.conf-results-row b { color: #1d6b62; }
.conf-student-card h1 { margin-top: 8px; }
.conf-student-score {
    margin: 12px 0;
    color: #fff;
}
.conf-student-score strong {
    font-size: 2rem;
}
.conf-student-opts {
    display: grid;
    gap: 12px;
}
.conf-student-opt {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: border-color 0.14s ease, background 0.14s ease, transform 0.1s ease;
}
.conf-student-opt:hover {
    border-color: rgba(142, 197, 240, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}
.conf-student-opt b {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
}
.conf-student-opt.is-on {
    border-color: rgba(240, 198, 90, 0.8);
    background: linear-gradient(180deg, rgba(240, 198, 90, 0.28), rgba(240, 198, 90, 0.12));
    box-shadow: 0 0 0 1px rgba(240, 198, 90, 0.25), 0 12px 24px rgba(0, 0, 0, 0.16);
}
.conf-student-opt.is-on b {
    background: linear-gradient(145deg, #f0c65a, #e8b923);
    border-color: transparent;
    color: #0A2E5C;
}
.conf-wait-pulse {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}
.conf-wait-pulse i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8ec5f0;
    animation: conf-pulse 1.2s ease-in-out infinite;
}
.conf-wait-pulse i:nth-child(2) { animation-delay: 0.15s; }
.conf-wait-pulse i:nth-child(3) { animation-delay: 0.3s; }
@keyframes conf-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}
@media (max-width: 900px) {
    .conf-lobby-grid, .conf-run-grid, .conf-lobby-split { grid-template-columns: 1fr; }
    .conf-shell { padding: 16px 12px 40px; }
    .conf-qr-frame { width: min(280px, 78vw); height: min(280px, 78vw); }
    .conf-roster-section { max-height: none; }
}
.sx-campaign {
    background: var(--gold);
    color: #0b1f3a;
    font-size: 14px;
}
.sx-campaign-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.sx-campaign-copy {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
}
.sx-campaign-copy strong { font-weight: 700; }
.sx-campaign-timer {
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.14);
    padding: 4px 10px;
    border-radius: 8px;
}
.sx-logo-img img { display: block; height: 36px; width: auto; }

.create-mode-landing { margin-bottom: 18px; overflow: hidden; }
.create-mode-title { margin: 4px 0 16px; font-size: 1.35rem; color: var(--navy); }
.exam-mode-picker-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) {
    .exam-mode-picker-hero { grid-template-columns: 1fr; }
}
.exam-mode-visual {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 4px;
}
.exam-mode-visual .bi { font-size: 22px; color: #fff; }
.exam-mode-visual-conf { background: linear-gradient(145deg, #1456A0, #0A2E5C); }
.exam-mode-visual-classic { background: linear-gradient(145deg, #2a9d8f, #1d6b62); }
.exam-mode-visual-ai { background: linear-gradient(145deg, #0f766e, #134e4a); }
.exam-mode-card .exam-mode-visual .bi { color: #fff; }
.exam-mode-card-ai {
    position: relative;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}
.exam-mode-card-ai:hover,
.exam-mode-card-ai:focus-visible {
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.12);
    outline: none;
}
.exam-mode-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.analysis-spotlight {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; margin-bottom: 12px;
    border-radius: 12px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
}
.analysis-spotlight .bi { font-size: 20px; margin-top: 2px; }
.analysis-spotlight p { margin: 4px 0 0; font-size: 13px; opacity: 0.9; }

.cheat-flag { color: #b45309; font-size: 12px; font-weight: 600; }
.cheat-pending-banner {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
    padding: 12px 14px; margin-bottom: 12px; border-radius: 12px;
    background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
}
.home-refs {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 86, 160, 0.06), transparent 70%),
        #fff;
}
.home-refs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.home-refs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    min-height: 76px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a.home-refs-item:hover {
    border-color: rgba(20, 86, 160, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 46, 92, 0.08);
}
.home-refs-logo {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f4f7fb;
    overflow: hidden;
}
.home-refs-logo img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}
.home-refs-logo.is-fallback {
    font-weight: 700;
    font-size: 18px;
    color: #1456a0;
    background: linear-gradient(145deg, #e8f1fb, #f7fafc);
}
.home-refs-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.home-refs-meta strong {
    font-size: 14px;
    font-weight: 650;
    color: #0a2e5c;
    line-height: 1.25;
}
.home-refs-meta em {
    font-style: normal;
    font-size: 12px;
    color: #5b6b7c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 960px) {
    .home-refs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .home-refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .home-refs-grid { grid-template-columns: 1fr; }
}

.pricing-discount {
    margin-top: 28px; padding: 18px; border-radius: 14px;
    background: #f0f7ff; border: 1px solid rgba(15,94,168,0.15);
}
.pricing-discount .field { max-width: 320px; }

.checkout-main .checkout-hero {
    padding: 48px 0 12px;
}
.checkout-layout { max-width: 1080px; margin: 0 auto; }
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: start;
}
.checkout-main .card {
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(10, 46, 92, 0.06);
    overflow: hidden;
    background: #fff;
}
.checkout-main .card-head {
    padding: 18px 22px 14px;
    border-bottom: 1px solid rgba(10, 46, 92, 0.08);
    background: linear-gradient(180deg, #f8fafc, #fff);
}
.checkout-main .card-head h2 {
    margin: 0;
    font-family: Sora, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}
.checkout-main .card-body {
    padding: 20px 22px 22px;
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(240, 160, 32, 0.28);
    background:
        radial-gradient(220px 100px at 100% 0%, rgba(240, 160, 32, 0.12), transparent 70%),
        #fffdf8;
    margin-bottom: 18px;
}
.checkout-item p { margin: 4px 0 0; font-size: 13px; }
.checkout-item strong {
    font-family: Sora, sans-serif;
    font-size: 15px;
    color: var(--navy);
}
.checkout-item > b {
    font-family: Sora, sans-serif;
    font-size: 18px;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.checkout-coupon { margin-bottom: 18px; }
.checkout-coupon label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.checkout-coupon-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.checkout-coupon-row input {
    flex: 1;
    min-width: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 650;
}
.checkout-coupon-row .btn {
    flex: none;
    min-width: 96px;
}

.checkout-form .checkout-field label,
.checkout-main .field label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.checkout-main .checkout-form input[type="text"],
.checkout-main .checkout-form input[type="email"],
.checkout-main .checkout-form input:not([type]),
.checkout-main .checkout-coupon input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1.5px solid rgba(10, 61, 122, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--text);
    font-size: 15px;
    font-weight: 550;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 1px 2px rgba(10, 46, 92, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.checkout-main .checkout-form input::placeholder,
.checkout-main .checkout-coupon input::placeholder {
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}
.checkout-main .checkout-form input:hover:not(:disabled),
.checkout-main .checkout-coupon input:hover {
    border-color: rgba(11, 79, 156, 0.28);
}
.checkout-main .checkout-form input:focus,
.checkout-main .checkout-coupon input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(11, 79, 156, 0.12),
        0 8px 20px rgba(10, 46, 92, 0.06);
}
.checkout-main .checkout-form input:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    background: #f1f5f9;
}
.checkout-main .checkout-form .btn-lg {
    width: 100%;
    margin-top: 4px;
    min-height: 50px;
    border-radius: 14px;
    font-weight: 750;
}
.checkout-totals {
    margin: 0;
    display: grid;
    gap: 10px;
}
.checkout-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.checkout-totals .is-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(10, 46, 92, 0.12);
    font-size: 16px;
    font-weight: 700;
}
.checkout-plan-switch { margin: 8px 0 4px; }
.checkout-success { max-width: 640px; margin: 0 auto; }
@media (max-width: 860px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

/* ---- ?deme sonu? / sanal POS feedback ---- */
.pay-result-main {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.pay-result-section {
    width: 100%;
    padding: 48px 0 64px;
}

.pay-result-card {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 36px 28px;
    border-radius: 24px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background: #fff;
    box-shadow: 0 18px 48px rgba(10, 46, 92, 0.1);
    text-align: center;
    overflow: hidden;
}

.pay-result-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #0A2E5C, #1456A0);
}

.pay-result-card.is-success::before {
    background: linear-gradient(90deg, #1a9b5c, #F0A020);
}

.pay-result-card.is-fail::before {
    background: linear-gradient(90deg, #c03545, #e07a86);
}

.pay-result-card.is-cancel::before {
    background: linear-gradient(90deg, #64748b, #94a3b8);
}

.pay-result-card.is-pending::before {
    background: linear-gradient(90deg, #0A2E5C, #F0A020);
}

.pay-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #eef5fc, #fff);
    border: 1px solid rgba(10, 46, 92, 0.1);
    color: var(--navy);
}

.pay-result-icon .ico {
    width: 34px;
    height: 34px;
}

.pay-result-card.is-success .pay-result-icon {
    background: linear-gradient(145deg, #e8f8ef, #fffdf5);
    border-color: rgba(26, 155, 92, 0.25);
    color: #1a9b5c;
}

.pay-result-card.is-fail .pay-result-icon {
    background: #fff5f5;
    border-color: rgba(192, 53, 69, 0.22);
    color: #c03545;
}

.pay-result-card.is-cancel .pay-result-icon {
    background: #f4f6f8;
    color: #64748b;
}

.pay-result-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.pay-result-card h1 {
    margin: 0 0 12px;
    font-family: Sora, sans-serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.pay-result-lead {
    margin: 0 auto;
    max-width: 44ch;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--text-dim);
}

.pay-result-meta {
    margin: 28px auto 0;
    padding: 16px 18px;
    max-width: 420px;
    display: grid;
    gap: 12px;
    border-radius: 14px;
    background: #f7fafc;
    border: 1px solid rgba(10, 46, 92, 0.08);
    text-align: left;
}

.pay-result-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.pay-result-meta dt {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.pay-result-meta dd {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
    text-align: right;
}

.pay-result-meta code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    word-break: break-all;
}

.pay-result-actions {
    margin-top: 28px;
    justify-content: center;
}

@media (max-width: 560px) {
    .pay-result-card {
        padding: 32px 20px 22px;
    }

    .pay-result-actions {
        flex-direction: column;
    }

    .pay-result-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================================
   Marka g?rselleri + Bootstrap 5.3 uyumu
   ========================================================================= */

body {
    --bs-body-font-family: var(--sans);
}

/* Bootstrap reboot ile ?ak??an kendi container/btn kurallar?m?z ?ncelikli */
.container {
    width: min(1140px, calc(100% - 40px));
    max-width: 1140px;
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
}

.btn,
a.btn,
button.btn {
    --bs-btn-border-width: 1.5px;
    text-transform: none;
    letter-spacing: normal;
}

.btn-outline,
a.btn-outline {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: var(--accent-line);
    box-shadow: none;
}
.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover {
    --btn-bg: var(--accent-soft);
    --btn-border: var(--accent-line);
    --btn-fg: var(--navy);
    background: var(--btn-bg) !important;
    color: var(--btn-fg) !important;
}

.btn-lg,
a.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15.5px; }

/* Toast: Bootstrap .toast ile ?ak??mas?n */
#toast.toast {
    position: fixed;
    z-index: 1080;
    right: 18px;
    bottom: 18px;
    display: block;
    width: auto;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-lg);
}
#toast.toast.is-on { opacity: 1; transform: none; }
#toast.toast.is-error { background: var(--danger); }
#toast.toast.is-success { background: var(--ok); }
#toast.toast[hidden] { display: none !important; }

.sx-logo-img img,
.brand-logo-img {
    display: block;
    height: 40px;
    width: auto;
}
.brand-logo-img {
    height: 32px;
    width: 32px;
    border-radius: 9px;
}
.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sidebar-brand-logo {
    min-width: 0;
    flex: 1;
}
.sidebar-logo-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.sidebar-logo-plate.is-sm {
    padding: 4px 8px;
    border-radius: 10px;
}
.brand-logo-full {
    display: block;
    height: 28px;
    width: auto;
    max-width: min(148px, 42vw);
    object-fit: contain;
}
.sidebar-logo-plate.is-sm .brand-logo-full {
    height: 22px;
    max-width: min(110px, 36vw);
}
.brand-panel-tag {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--gold-soft);
    color: var(--navy);
}
.mobilebar-brand .sidebar-brand-logo {
    flex: 0 1 auto;
}
.auth-modal-brand img {
    display: block;
    height: 36px;
    width: auto;
}

.eyebrow { color: var(--gold-dark); }

.home-feature-ico,
.hm-feature-ico {
    background: linear-gradient(145deg, var(--accent), var(--navy)) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(10, 46, 92, 0.18);
}
.home-feature-card:hover .home-feature-ico {
    box-shadow: 0 12px 26px rgba(201, 162, 39, 0.28);
}

.hm-hero-art {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 28px 60px rgba(10, 46, 92, 0.18);
    background: #fff;
}
.hm-hero-art img {
    display: block;
    width: 100%;
    height: auto;
}

.hm-shot {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #fff;
}
.hm-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.hm-shot-secure {
    margin-top: 18px;
    transform: translateX(18px);
}
.hm-showcase-visuals {
    display: grid;
    gap: 0;
}

.sx-campaign {
    background: var(--gold);
    color: #0b1f3a;
}

.sx-dock-center {
    background: linear-gradient(145deg, var(--accent), var(--navy)) !important;
    box-shadow: 0 8px 18px rgba(11, 79, 156, 0.28), 0 0 0 2px rgba(240, 160, 32, 0.4);
}

.sx-account-avatar {
    background: var(--gold-soft);
    border-color: var(--gold-line);
    color: var(--gold-dark);
}


.page-focus .focus-shell {
    background:
        url("brand/pattern-dots.svg"),
        linear-gradient(160deg, #eef3fa 0%, #f7f4ea 100%);
}

.analysis-spotlight {
    background: linear-gradient(135deg, #fff8e6, #fff);
    border-color: var(--gold-line);
    color: var(--navy);
}

@media (max-width: 900px) {
    .hm-shot-secure { transform: none; margin-top: 14px; }
}

/* ---- manager feedback: QR / cheat toasts / conf student dark ---- */
.import-actions {
    align-items: center;
    flex-wrap: wrap;
}
.btn-icon {
    width: 40px;
    min-width: 40px;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
}
.community-head {
    align-items: flex-start;
}
.community-search {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    min-width: min(360px, 100%);
}
.community-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
}
.community-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}
.community-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.community-cat {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.community-cat.is-on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.community-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.community-sort select {
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 0 10px;
    background: #fff;
    color: var(--navy);
}
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.community-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(10, 46, 92, 0.08);
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 46, 92, 0.05);
    display: grid;
    gap: 8px;
}
.community-card h3 {
    margin: 0;
    font-size: 16px;
    color: var(--navy);
}
.community-card > p {
    margin: 0;
    color: var(--text-dim);
    font-size: 13.5px;
    line-height: 1.45;
    min-height: 3.2em;
}
.community-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.community-preview {
    width: min(920px, calc(100vw - 32px));
    max-height: min(88vh, 900px);
    padding: 0;
    border: 1px solid rgba(10, 46, 92, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(10, 46, 92, 0.22);
    color: inherit;
}
.community-preview::backdrop {
    background: rgba(8, 24, 48, 0.48);
    backdrop-filter: blur(3px);
}
.community-preview-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(10, 46, 92, 0.08);
    background: #fff;
}
.community-preview-bar h2 {
    margin: 4px 0 0;
    font-size: 18px;
    color: var(--navy);
}
.community-preview-body {
    padding: 16px 18px 22px;
    overflow: auto;
    max-height: calc(88vh - 92px);
    display: grid;
    gap: 12px;
}
.community-preview-q {
    padding: 14px 14px 12px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    background: #f8fafc;
}
.community-preview-q header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.community-preview-stem {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 650;
    color: var(--navy);
    white-space: pre-wrap;
    line-height: 1.45;
}
.community-preview-choices {
    display: grid;
    gap: 6px;
}
.community-preview-choice {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: start;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
}
.community-preview-choice b {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef4fb;
    color: var(--navy);
    font-size: 12px;
}
.community-preview-img {
    display: block;
    max-width: 100%;
    max-height: 180px;
    margin: 6px 0;
    object-fit: contain;
    border-radius: 8px;
}
.community-preview-match {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.community-preview-match ul,
.community-preview-order {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}
@media (max-width: 720px) {
    .community-preview-match { grid-template-columns: 1fr; }
    .community-preview-bar { flex-direction: column; }
}

.share-community-toggle {
    gap: 18px;
}
.monitor-qr-panel {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    grid-column: 1 / -1;
}
.monitor-qr-panel[hidden] { display: none !important; }
.monitor-qr-panel canvas,
.monitor-qr-panel img {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: #fff;
}

.conf-cheat-stack-fixed {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 28px));
    pointer-events: none;
}
.conf-cheat-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow:
        0 12px 28px rgba(2, 8, 23, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: confCheatIn 0.28s ease;
}
.conf-cheat-toast.is-info {
    background: #1e3a5f;
    box-shadow:
        0 12px 28px rgba(2, 8, 23, 0.28),
        0 0 0 1px rgba(250, 204, 21, 0.35);
}
@keyframes confCheatIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.conf-cheat-toast-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff;
}
.conf-cheat-toast-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.conf-cheat-toast-body strong {
    font-size: 14px;
    color: #fff;
}
.conf-cheat-toast-body span {
    font-size: 12.5px;
    color: #cbd5e1;
}
.conf-cheat-toast-acts {
    display: grid;
    gap: 6px;
}
.conf-cheat-toast-acts .btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12.5px;
}

.conf-q-timer {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.conf-q-timer.is-critical {
    background: rgba(192, 53, 69, 0.85);
    animation: confPulseTimer 0.8s ease infinite;
}
@keyframes confPulseTimer {
    50% { transform: scale(1.04); }
}

.page-conf-student,
.page-conf-student .focus-shell,
.page-exam.page-conf-student {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(20, 86, 160, 0.42), transparent 55%),
        linear-gradient(165deg, #071a33 0%, #0A2E5C 42%, #0d3a6e 100%) !important;
    color: #f4f8fc !important;
    min-height: 100vh;
}
.page-conf-student .focus-card,
.page-conf-student .conf-student-card,
.page-conf-student .exam-dark-card {
    background: rgba(8, 28, 56, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #f4f8fc !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}
.page-conf-student .focus-card h1,
.page-conf-student .conf-student-card h1,
.page-conf-student .eyebrow,
.page-conf-student .conf-q-num {
    color: #fff !important;
}
.page-conf-student .hint,
.page-conf-student .muted,
.page-conf-student .save-state {
    color: #c5d6e8 !important;
}
.page-conf-student .conf-student-opt {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}
.page-conf-student .conf-student-opt span,
.page-conf-student .conf-student-opt b {
    color: #fff !important;
}
.page-conf-student .conf-student-lock {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(192, 53, 69, 0.22);
    border: 1px solid rgba(255, 180, 186, 0.35);
    color: #ffd4d8 !important;
    font-size: 14px;
}

/* ---- Cekilis ---- */
.raffle-list { display: grid; gap: 12px; }
.raffle-card { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.raffle-head-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
    gap: 16px;
    align-items: stretch;
}
.live-stage-card {
    display: flex;
    flex-direction: column;
}
.live-stage-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.raffle-share-card .card-body { text-align: center; }
.raffle-pin {
    margin: 8px 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}
.raffle-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}
.raffle-winners { display: grid; gap: 10px; }
.raffle-winner {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 46, 92, 0.08);
    background: #f7fafc;
}
.raffle-winner-place {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-weight: 800;
    background: var(--accent-soft);
    color: var(--accent);
}
.raffle-winner.is-1 .raffle-winner-place { background: #f0c65a; color: #0A2E5C; }
.raffle-winner.is-2 .raffle-winner-place { background: #d7dee8; color: #0A2E5C; }
.raffle-winner.is-3 .raffle-winner-place { background: #e8c4a8; color: #0A2E5C; }
.raffle-winner strong { display: block; color: var(--navy); }
.raffle-winner p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.raffle-entry-list { display: grid; gap: 8px; }
.raffle-entry {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 46, 92, 0.08);
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.raffle-entry:hover { border-color: rgba(20, 86, 160, 0.35); background: #f5f9fd; }
.raffle-entry.is-dq { opacity: 0.62; }
.raffle-entry.is-place-1 { border-color: rgba(240, 198, 90, 0.7); background: #fff9e8; }
.raffle-entry.is-place-2 { border-color: rgba(150, 170, 190, 0.7); background: #f4f7fb; }
.raffle-entry.is-place-3 { border-color: rgba(200, 150, 110, 0.7); background: #fbf5ef; }
.raffle-entry-avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
}
.raffle-entry-info { display: grid; gap: 2px; min-width: 0; }
.raffle-entry-info strong { color: var(--navy); }
.raffle-entry-info em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.raffle-entry-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}
.raffle-entry-menu {
    position: absolute;
    z-index: 1300;
    min-width: 200px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.1);
    box-shadow: 0 18px 40px rgba(10, 46, 92, 0.18);
    display: grid;
    gap: 4px;
}
.raffle-entry-menu button {
    appearance: none;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
    color: var(--navy);
}
.raffle-entry-menu button:hover { background: #eef4fb; }
.raffle-entry-menu button.is-danger { color: #c03545; }
.raffle-entry-menu button.is-danger:hover { background: #fdeeee; }
@media (max-width: 900px) {
    .raffle-head-grid,
    .raffle-card { grid-template-columns: 1fr; display: grid; }
}

.raffle-type-picker { margin: 0; }
.raffle-winner.is-pair .raffle-winner-place {
    background: var(--accent-soft);
    color: var(--accent);
}
.raffle-entry:not(button) {
    cursor: default;
}
.raffle-entry:not(button):hover {
    border-color: rgba(10, 46, 92, 0.08);
    background: #fff;
}

/* ---- Public results share ---- */
.results-public {
    min-height: 100vh;
    padding: 28px 16px 48px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 86, 160, 0.12), transparent 55%),
        linear-gradient(180deg, #f3f7fb 0%, #eef3f8 100%);
}
.results-public-inner {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}
.results-public-head {
    text-align: center;
    padding: 8px 8px 4px;
}
.results-public-head h1 {
    margin: 6px 0 8px;
    color: var(--navy);
    font-size: clamp(22px, 4vw, 32px);
}
.results-public-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
}
.results-public-stats div {
    min-width: 88px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    box-shadow: 0 8px 20px rgba(10, 46, 92, 0.05);
}
.results-public-stats strong {
    display: block;
    font-size: 22px;
    color: var(--navy);
}
.results-public-stats span {
    font-size: 12px;
    color: var(--muted);
}
.results-public-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}
.results-public-podium-card {
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
    padding: 16px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
}
.results-public-podium-card .place {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 800;
    background: #e8eef6;
    color: var(--navy);
}
.results-public-podium-card.is-1 .place { background: #f0c65a; }
.results-public-podium-card.is-2 .place { background: #d7dee8; }
.results-public-podium-card.is-3 .place { background: #e8c4a8; }
.results-public-podium-card strong { color: var(--navy); }
.results-public-podium-card b { font-size: 22px; color: var(--accent); }
.results-public-podium-card em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.results-public-card { overflow: hidden; }
.results-public-table-wrap { overflow-x: auto; }
.results-public-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.results-public-table th,
.results-public-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.results-public-table th {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: var(--surface-2);
}
.results-public-table td strong { color: var(--navy); }
.results-public-foot {
    text-align: center;
    font-size: 13px;
    margin: 4px 0 0;
}
@media (max-width: 720px) {
    .results-public-podium { grid-template-columns: 1fr; }
}

/* ---- Survey builder + dialog + monitor ---- */
.survey-builder {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}
.survey-builder[hidden] {
    display: none !important;
}
.survey-builder.is-open {
    display: grid;
}
.survey-questions { display: grid; gap: 10px; }
.survey-edit-row {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 46, 92, 0.12);
    background: #fff;
    display: grid;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(10, 46, 92, 0.04);
}
.survey-edit-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px auto;
    gap: 10px;
    align-items: end;
}
.survey-edit-field {
    display: grid;
    gap: 5px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
}
.survey-edit-field input,
.survey-edit-field select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 550;
}
.survey-edit-field input:focus,
.survey-edit-field select:focus,
.survey-edit-options textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.survey-edit-spacer {
    width: 34px;
    height: 34px;
}
.survey-edit-options {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--muted);
}
.survey-edit-options textarea {
    width: 100%;
    resize: vertical;
    min-height: 88px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 13.5px;
    line-height: 1.45;
}
.survey-builder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.dialog-survey { width: min(440px, 100%); }
.survey-dialog-body { display: grid; gap: 16px; margin: 14px 0 8px; }
.survey-q {
    margin: 0;
    padding: 0;
    border: 0;
}
.survey-q legend {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.survey-stars {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}
.survey-star-cell {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-width: 0;
}
.survey-star {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(10, 46, 92, 0.12);
    background: #f5f8fc;
    color: #c5d0de;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.survey-star.is-on { color: #e6a117; background: #fff8e8; border-color: rgba(230, 161, 23, 0.35); }
.survey-star-caption {
    font-size: 10.5px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    color: var(--muted);
    max-width: 100%;
    overflow-wrap: anywhere;
}
.survey-star-cell.is-on .survey-star-caption { color: var(--navy); }
.survey-star-label { min-height: 1.2em; margin: 6px 0 0; }
@media (max-width: 420px) {
    .survey-star { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
    .survey-star-caption { font-size: 9.5px; }
}
.survey-choice-list { display: grid; gap: 8px; }
.survey-choice {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background: #fff;
    cursor: pointer;
}
.survey-choice:has(input:checked) {
    border-color: rgba(20, 86, 160, 0.45);
    background: #f0f6fc;
}
.survey-dialog-error { color: var(--danger); font-size: 13px; margin: 0 0 8px; }
.monitor-survey-meta { padding: 14px 18px 0; margin: 0; }
.survey-overall {
    padding: 16px 18px 10px;
    display: grid;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.survey-overall .eyebrow { margin: 0; }
.survey-rating {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    line-height: 1;
}
.survey-rating-star {
    font-size: 28px;
    color: #c5d0de;
}
.survey-rating-star.is-on { color: #e6a117; }
.survey-overall .survey-rating-star { font-size: 34px; }
.survey-dist { display: grid; gap: 8px; padding: 4px 0 2px; }
.survey-dist-row {
    display: grid;
    grid-template-columns: minmax(72px, 120px) minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
}
.survey-dist-label { font-size: 12.5px; color: var(--muted); }
@media (max-width: 720px) {
    .survey-edit-top { grid-template-columns: 1fr; }
    .survey-edit-type { max-width: none; }
}

/* Dark exam dialogs: readable text */
.page-exam .dialog-facts b,
.page-exam .dialog-facts strong {
    color: #fff !important;
}
.page-exam .dialog-facts span {
    color: #9eb4c9 !important;
}
.page-exam .dialog-facts div {
    color: #e8eef6;
}
.page-exam .dialog.dialog-survey,
.page-exam .dialog {
    color: #e8eef6;
}
.page-exam .dialog .survey-q legend,
.page-exam .dialog-survey .survey-q legend {
    color: #fff !important;
}
.page-exam .dialog .survey-star-label,
.page-exam .dialog .survey-dialog-error,
.page-exam .dialog .muted,
.page-exam .dialog .small {
    color: #9eb4c9 !important;
}
.page-exam .dialog .survey-choice {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f2f7fc;
}
.page-exam .dialog .survey-choice:has(input:checked) {
    background: rgba(20, 86, 160, 0.35);
    border-color: rgba(78, 161, 224, 0.55);
}
.page-exam .dialog .survey-star {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.35);
}
.page-exam .dialog .survey-star.is-on {
    color: #f0c65a;
    background: rgba(240, 198, 90, 0.16);
    border-color: rgba(240, 198, 90, 0.4);
}
.page-exam .dialog .btn-ghost {
    color: #e8eef6 !important;
}
.conf-results-table .tnum {
    color: inherit;
    opacity: 1;
}

/* ---- ?ark ?evir ---- */
.wheel-q-list { display: grid; gap: 10px; }
.wheel-q-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}
.wheel-q-no {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--accent-soft);
    color: var(--navy);
}
.wheel-q-row textarea { width: 100%; min-height: 64px; resize: vertical; }
.wheel-play-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    justify-items: center;
    width: 100%;
}
.wheel-play-shell {
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}
.wheel-play-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
}
.live-hero.wheel-play-bar {
    grid-template-columns: minmax(0, 1fr) auto;
}
.wheel-play-bar .live-hero-copy { min-width: 0; }
.wheel-play-bar .live-hero-copy h1 {
    margin: 2px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wheel-play-actions { flex-wrap: nowrap; }
.wheel-stage-card { overflow: visible; background: transparent; border: 0; box-shadow: none; width: 100%; }
.wheel-stage-card .card-body { background: transparent; }
.wheel-stage {
    display: grid;
    justify-items: center;
    width: 100%;
}
.wheel-stats {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-bottom: 12px;
}
.wheel-stats div { text-align: center; }
.wheel-stats strong { display: block; font-size: 22px; color: var(--navy); }
.wheel-stats span { font-size: 12px; color: var(--muted); }

.spin-wheel-wrap {
    position: relative;
    width: min(720px, 78vmin);
    aspect-ratio: 1;
    margin: 8px auto 0;
}

.spin-wheel-pointer {
    position: absolute;
    top: -4px;
    left: 50%;
    z-index: 6;
    width: 28px;
    height: 42px;
    transform: translateX(-50%);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.28));
}
.spin-wheel-pointer span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FFD56A 0%, #F0A020 42%, #C97800 100%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    border-radius: 4px 4px 2px 2px;
}

.spin-wheel-frame {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 62%, rgba(10,46,92,0.08) 63%, transparent 70%),
        linear-gradient(145deg, #1a3a6b, #0A2E5C 40%, #071f3d);
    box-shadow:
        0 28px 60px rgba(10, 46, 92, 0.28),
        inset 0 0 0 3px rgba(201, 162, 39, 0.55),
        inset 0 0 0 10px rgba(255,255,255,0.08);
}

.spin-wheel-rim {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    pointer-events: none;
    background: repeating-conic-gradient(
        from 0deg,
        #F0D078 0deg 3deg,
        transparent 3deg 15deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 12px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 12px));
    opacity: 0.95;
}
.spin-wheel-tick { display: none; }

.spin-wheel-rotor {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    will-change: transform;
}

.spin-wheel-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 5px rgba(255,255,255,0.22),
        inset 0 0 40px rgba(0,0,0,0.18);
}

.spin-wheel-sheen {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.28), transparent 42%);
    pointer-events: none;
    z-index: 1;
}

.spin-wheel-dividers {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: soft-light;
}

.spin-wheel-glass {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    background: linear-gradient(160deg, rgba(255,255,255,0.14) 0%, transparent 36%, transparent 68%, rgba(0,0,0,0.08) 100%);
}

.spin-wheel-label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    height: 0;
    pointer-events: none;
    z-index: 2;
    /* 0deg = sa?; conic 0deg = ?st ? -90deg ile dilim ortas?na hizala */
    transform: rotate(calc(var(--rot) - 90deg));
    transform-origin: left center;
}

.spin-wheel-label em {
    font-style: normal;
    position: absolute;
    top: 0;
    left: 34%;
    right: 7%;
    box-sizing: border-box;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 0 8px rgba(0, 0, 0, 0.22);
    line-height: 1.15;
    overflow: hidden;
}

/* Az dilim: ekrana g?re yatay, dilimin d?? yar?s?nda */
.spin-wheel-label.is-flat em {
    transform: translateY(-50%) rotate(calc(90deg - var(--rot)));
    text-align: center;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: min(240px, calc(var(--slice) * 2.4px));
    left: 36%;
    right: auto;
    font-size: clamp(15px, calc(var(--slice) * 0.44px + 0.85vmin), 26px);
    padding: 0 2px;
}

/* Orta dilim: yatay, daha dar */
.spin-wheel-label.is-arc em {
    transform: translateY(-50%) rotate(calc(90deg - var(--rot)));
    text-align: center;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: min(170px, calc(var(--slice) * 2.05px));
    left: 38%;
    right: auto;
    font-size: clamp(13px, calc(var(--slice) * 0.36px + 0.65vmin), 19px);
    padding: 0 1px;
}

/* ?ok dilim: yaz? g?bekten kenara (yar??ap boyunca) */
.spin-wheel-label.is-radial em {
    transform: translateY(-50%);
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    left: 34%;
    right: 5%;
    width: auto;
    font-size: clamp(12px, calc(var(--slice) * 0.72px + 0.45vmin), 17px);
}

/* 15+ dilim: okunakl? numara */
.spin-wheel-label.is-num em {
    transform: translateY(-50%);
    left: 58%;
    right: auto;
    width: auto;
    text-align: center;
    white-space: nowrap;
    text-overflow: clip;
    font-size: clamp(14px, calc(var(--slice) * 0.9px + 0.7vmin), 22px);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.spin-wheel-hub {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 128px;
    height: 128px;
    margin: -64px 0 0 -64px;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, #ffffff 0%, #f4f7fb 38%, #dce6f2 100%);
    color: var(--navy);
    box-shadow:
        0 10px 28px rgba(10, 46, 92, 0.28),
        inset 0 0 0 5px #0A2E5C,
        inset 0 0 0 8px #C9A227;
    cursor: pointer;
    display: grid;
    place-content: center;
    gap: 2px;
    line-height: 1.05;
}
.spin-wheel-hub strong {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
}
.spin-wheel-hub em {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.spin-wheel-hub:hover:not(:disabled) strong { color: var(--accent); }
.spin-wheel-hub:disabled { opacity: 0.75; cursor: wait; }

.wheel-play-hint { text-align: center; margin: 16px 0 0; }

/* Soru ekran? ? dilim rengi arka plan */
.wheel-q-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--q-color) 88%, #fff) 0%, var(--q-color) 55%, color-mix(in srgb, var(--q-color) 70%, #000) 100%);
    animation: wheel-q-fade 0.35s ease;
}
.wheel-q-overlay[hidden] { display: none !important; }
@keyframes wheel-q-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.wheel-has-question {
    background: var(--wheel-q-color) !important;
}
body.wheel-has-question .teacher-shell,
body.wheel-has-question .teacher-main,
body.wheel-has-question .teacher-content {
    background: transparent !important;
}

.wheel-q-panel {
    width: min(720px, 100%);
    padding: 36px 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(0,0,0,0.28);
    text-align: center;
}
.wheel-q-eyebrow {
    color: color-mix(in srgb, var(--q-color) 80%, #0A2E5C);
    font-weight: 800;
}
.wheel-q-panel h2 {
    margin: 8px 0 12px;
    font-size: clamp(26px, 4.5vw, 42px);
    line-height: 1.25;
    color: var(--navy);
}
.wheel-q-guide { margin-bottom: 8px; }
.wheel-q-timer {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    margin: 8px 0;
    font-variant-numeric: tabular-nums;
}
.wheel-q-timer.is-critical { color: var(--danger); }
.wheel-q-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
}
.wheel-btn-correct,
.wheel-btn-wrong {
    min-width: 160px;
    min-height: 56px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wheel-btn-correct {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}
.wheel-btn-correct:hover { background: #15803d; border-color: #15803d; color: #fff; }
.wheel-btn-wrong {
    background: #fff;
    border: 2px solid #e11d48;
    color: #e11d48;
}
.wheel-btn-wrong:hover { background: #fff1f2; color: #be123c; }

.wheel-correct-flash {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    background: radial-gradient(circle at 50% 45%, rgba(34,197,94,0.45), transparent 55%);
    animation: wheel-flash 0.85s ease forwards;
}
@keyframes wheel-flash {
    0% { opacity: 0; }
    25% { opacity: 1; }
    100% { opacity: 0; }
}

.wheel-wrong-shake {
    animation: wheel-shake 0.45s ease;
}
@keyframes wheel-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

@media (max-width: 900px) {
    .page-wheel-play .sx-dock {
        display: none !important;
    }
    .page-wheel-play .teacher-main {
        padding-bottom: 20px;
    }
    .page-wheel-play .live-hero.is-compact {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    .page-wheel-play .live-hero h1 { font-size: 17px; }
    .live-hero.wheel-play-bar {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .wheel-stats { gap: 16px; margin-bottom: 10px; }
    .wheel-stats strong { font-size: 20px; }
    .wheel-stats span { font-size: 12px; }
    .spin-wheel-wrap {
        width: min(92vw, calc(100dvh - 260px), 520px);
        margin-left: auto;
        margin-right: auto;
        /* Mobilde optik olarak sa?a ka??yor ? hafif sola hizala */
        position: relative;
        left: -12px;
    }
    .spin-wheel-label.is-flat em {
        font-size: clamp(13px, 3.6vw, 20px);
        width: min(180px, calc(var(--slice) * 2.1px));
    }
    .spin-wheel-label.is-arc em {
        font-size: clamp(12px, 3.2vw, 16px);
        width: min(140px, calc(var(--slice) * 1.9px));
    }
    .spin-wheel-label.is-radial em {
        font-size: clamp(11px, 3vw, 15px);
        left: 36%;
    }
    .spin-wheel-label.is-num em {
        font-size: clamp(13px, 3.4vw, 18px);
        left: 56%;
    }
    .spin-wheel-hub { width: 108px; height: 108px; margin: -54px 0 0 -54px; }
    .spin-wheel-hub strong { font-size: 15px; }
    .spin-wheel-hub em { font-size: 11px; }
    .page-wheel-play .wheel-play-hint { display: none; }
    .page-wheel-play.has-mobile-dock { padding-bottom: 0 !important; }
    .wheel-q-panel { padding: 28px 18px; }
    .wheel-btn-correct,
    .wheel-btn-wrong { min-width: 140px; flex: 1; }
}

/* ---- Ideplan benzeri kamu aray?z? (logo lacivert + alt?n) ---- */
.sx-promo {
    background: var(--gold);
    color: #0b1f3a;
    font-size: 13.5px;
}
.sx-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.sx-promo-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: baseline;
    font-weight: 550;
}
.sx-promo-copy strong { font-weight: 800; }
.sx-promo-copy a {
    color: #0b1f3a;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sx-promo-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.sx-promo-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: #0b1f3a;
    font-weight: 700;
    white-space: nowrap;
}
.sx-promo-phone em {
    font-style: normal;
    font-weight: 800;
}
.sx-promo .sx-campaign-timer {
    background: rgba(11, 31, 58, 0.12);
    color: #0b1f3a;
}

.sx-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06);
}
.sx-mainbar { border-bottom: 0; }
.sx-logo-img img { height: 40px; width: auto; max-width: min(200px, 46vw); }

.sx-cta-start {
    border-radius: 999px;
    padding: 0 18px;
    min-height: 40px;
    background: #0b1f3a;
}

.btn-gold,
a.btn-gold,
button.btn-gold {
    --btn-bg: var(--gold);
    --btn-fg: #0b1f3a;
    --btn-border: transparent;
    --btn-shadow: 0 8px 20px rgba(240, 160, 32, 0.32);
    border-radius: 999px;
    background: var(--gold) !important;
    color: #0b1f3a !important;
}
.btn-gold:hover,
a.btn-gold:hover,
button.btn-gold:hover {
    --btn-bg: var(--gold-dark);
    --btn-fg: #0b1f3a;
    background: var(--gold-dark) !important;
    color: #0b1f3a !important;
}
.btn-gold[disabled],
.btn-gold.is-disabled,
button.btn-gold[disabled] {
    color: #0b1f3a !important;
    opacity: 0.55;
}

.btn-ghost-dark,
a.btn-ghost-dark {
    --btn-bg: #fff;
    --btn-fg: var(--navy);
    --btn-border: var(--border-strong);
    --btn-shadow: none;
    border-radius: 999px;
    background: #fff !important;
    color: var(--navy) !important;
}
.btn-ghost-dark:hover,
a.btn-ghost-dark:hover {
    background: var(--accent-soft) !important;
    color: var(--navy) !important;
}

.lp-accent { color: var(--gold); }

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 0;
    background:
        radial-gradient(900px 420px at 50% -10%, rgba(240, 160, 32, 0.16), transparent 55%),
        radial-gradient(700px 380px at 80% 20%, rgba(11, 79, 156, 0.08), transparent 50%),
        #f7f8fb;
    color: var(--navy);
    text-align: center;
}
.lp-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(240, 160, 32, 0.1), transparent 42%);
    pointer-events: none;
}
.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-bottom: 0;
}
.lp-hero-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}
.lp-hero-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--border);
}
.lp-hero-title {
    margin: 0 auto;
    max-width: 16ch;
    font-family: var(--display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--navy);
}
.lp-hero-lead {
    margin: 18px auto 0;
    max-width: 540px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--muted);
}
.lp-hero-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.lp-hero-stats {
    margin: 36px auto 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.lp-hero-stats strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.lp-hero-stats span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.lp-orbit {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 0;
}
.lp-orbit li {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 650;
    white-space: nowrap;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}
.lp-orbit-1 { left: 0; top: 48px; }
.lp-orbit-2 { right: 0; top: 48px; }
.lp-orbit-3 { left: 4%; top: 160px; }
.lp-orbit-4 { right: 4%; top: 160px; }

.lp-hero-shot {
    position: relative;
    margin: 48px auto 0;
    max-width: 920px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-bottom: 0;
    box-shadow: 0 -12px 40px rgba(11, 31, 58, 0.1);
    background: #fff;
}
.lp-hero-shot img {
    display: block;
    width: 100%;
    height: auto;
}
.lp-play {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    display: grid;
    gap: 2px;
    min-width: 220px;
    padding: 12px 18px 12px 36px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    text-align: left;
    box-shadow: 0 12px 32px rgba(11, 31, 58, 0.16);
}
.lp-play small {
    color: var(--muted);
    font-size: 12px;
}
.lp-play-dot {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(240, 160, 32, 0.25);
}
.lp-play { padding-left: 36px; }

.lp-marquee {
    overflow: hidden;
    background: #f7f6f3;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.lp-marquee-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lp-marquee-label {
    flex: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
}

.lp-marquee-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 36s linear infinite;
}

.lp-marquee:hover .lp-marquee-track {
    animation-play-state: paused;
}

.lp-marquee-group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    flex: none;
}

.lp-marquee-item {
    flex: none;
    color: #6b7280;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

@keyframes lp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
    .lp-marquee-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lp-marquee-label {
        align-self: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track {
        animation: none;
    }
}

.lp-tools { background: #fff; }
.lp-tools-aside {
    max-width: 280px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}
.lp-feature-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(600px 240px at 80% 0%, rgba(240, 160, 32, 0.12), transparent 50%),
        #fff;
    color: var(--navy);
    margin-bottom: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.lp-feature-copy h3 {
    margin: 10px 0 8px;
    font-size: 28px;
    color: var(--navy);
}
.lp-feature-copy p { color: var(--muted); }
.lp-feature-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 13px;
}
.lp-feature-stage .hm-checks li { color: var(--text-dim); }
.lp-feature-visual {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7fb;
}
.lp-feature-visual img { display: block; width: 100%; height: auto; }

.section-head.is-center { text-align: center; max-width: 560px; margin-inline: auto; }
.eyebrow.is-on-dark { color: var(--gold-dark); }

.lp-how { background: #f6f4ef; }
.lp-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    position: relative;
}
.lp-steps::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--accent), #16a34a, var(--gold));
    opacity: 0.45;
}
.lp-steps li { text-align: center; position: relative; }
.lp-steps span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gold);
    font-weight: 800;
    color: var(--navy);
}
.lp-steps li:nth-child(2) span { border-color: var(--accent); }
.lp-steps li:nth-child(3) span { border-color: #16a34a; }
.lp-steps h3 { font-size: 16px; margin: 0 0 6px; }
.lp-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.lp-cta-close {
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(240, 160, 32, 0.16), transparent 55%),
        #f7f5ef !important;
    text-align: center;
    color: var(--navy);
}
.lp-cta-inner {
    display: grid !important;
    justify-items: center;
    gap: 12px;
    padding: 24px 0;
}
.lp-cta-close h2 {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 16ch;
}
.lp-cta-close p { max-width: 460px; }

.sx-footer-heading { color: var(--navy); }
.sx-footer-links a {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-height: 36px;
    padding: 4px 0;
    color: var(--text-dim) !important;
    border-radius: 0;
}
.sx-footer-links a:hover {
    background: transparent;
    color: var(--accent) !important;
    border: 0;
}
.sx-footer .sx-social-light .sx-social-btn {
    background: #fff;
    border-color: var(--border);
    color: var(--navy);
}
.sx-footer-bottom {
    border-top-color: var(--border);
    color: var(--muted);
}
.sx-footer-cta-col {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.page-login .focus-shell,
.page-register .focus-shell,
.page-student .focus-shell {
    background: #f6f4ef;
}
.focus-card.auth-card {
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(11, 31, 58, 0.1);
}
.page-account .account-main,
.page-info .info-main {
    background: #f6f4ef;
}
.account-tabs a.is-active {
    background: var(--gold-soft);
    color: var(--navy);
}
.account-panel-ico {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.ip-hero {
    background:
        radial-gradient(820px 360px at 12% -10%, rgba(240, 160, 32, 0.16), transparent 58%),
        linear-gradient(180deg, #f6f4ef 0%, #f7fafd 55%, var(--bg) 100%);
}

@media (max-width: 960px) {
    .lp-orbit { display: none; }
    .lp-feature-stage,
    .lp-steps { grid-template-columns: 1fr; }
    .lp-steps::before { display: none; }
    .sx-footer-top,
    .sx-footer-cta-col { grid-template-columns: 1fr; justify-items: start; text-align: left; }
    .sx-footer-lead { margin: 0; text-align: left; }
    .sx-promo-phone em { display: none; }
}

/* ---- Canl? oyun: nas?l oynan?r + QR ---- */
.game-howto {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background: linear-gradient(180deg, #fffdf6, #fff);
    box-shadow: 0 8px 22px rgba(10, 46, 92, 0.05);
}
.game-howto summary {
    cursor: pointer;
    font-weight: 800;
    font-family: Sora, sans-serif;
    color: var(--navy);
    font-size: 15px;
    list-style: none;
}
.game-howto summary::-webkit-details-marker { display: none; }
.game-howto summary::before {
    content: "? ";
    color: var(--gold-dark, #b8860b);
}
.game-howto[open] summary::before { content: "? "; }
.game-howto ol {
    margin: 12px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.45;
}
.game-howto li::marker { font-weight: 800; color: var(--navy); }
.game-qr-box {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 12px auto;
    max-width: 240px;
}
.game-qr {
    width: 180px;
    height: 180px;
    max-width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-sizing: border-box;
}
.game-side .game-qr {
    width: 148px;
    height: 148px;
}
.game-side-help {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    text-align: center;
}
.mil-opt {
    cursor: pointer;
}
.mil-opt.is-picked {
    border-color: #f0c65a !important;
    box-shadow: 0 0 0 2px rgba(240, 198, 90, 0.45);
    background: rgba(240, 198, 90, 0.18) !important;
}
.mil-opt.is-correct {
    border-color: #22c55e !important;
    background: rgba(34, 197, 94, 0.22) !important;
}
.mil-opt.is-wrong {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.2) !important;
}
.mil-pick-hint {
    margin-top: 14px !important;
    font-size: 14px !important;
}
.game-item-row { padding: 12px 0; border-bottom: 1px solid var(--border); }
#game-play-root {
    min-height: 60vh;
}
#game-play-root.is-fs,
#game-play-root:fullscreen {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #070d18;
    padding: 16px;
    box-sizing: border-box;
    overflow: auto;
}
.game-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    height: 100%;
}
.game-toolbar {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
/* Faz etiketi (done / leaderboard / lobby) ba?l?k yan?nda g?sterilmesin */
#game-play-root .game-toolbar .meta-chip,
.game-toolbar .meta-chip.is-phase,
.game-phase-chip {
    display: none !important;
}
.game-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.game-controls .btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.2);
}
.game-stage {
    min-height: 420px;
    border-radius: 20px;
    padding: 28px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(240, 168, 40, 0.14), transparent 42%),
        radial-gradient(ellipse at 90% 10%, rgba(40, 110, 210, 0.22), transparent 45%),
        linear-gradient(165deg, #0a1424 0%, #0d1a30 48%, #08101c 100%);
    color: #f5f8fc !important;
    position: relative;
    overflow: hidden;
}
.game-stage h1,
.game-stage h2,
.game-stage h3,
.game-stage h4,
.game-stage p,
.game-stage li,
.game-stage span,
.game-stage strong,
.game-stage em,
.game-stage b,
.game-stage label {
    color: #f5f8fc !important;
}
.game-stage .muted,
.game-stage .game-stage-note {
    color: rgba(245, 248, 252, 0.82) !important;
}
.game-stage a {
    color: #f0c65a !important;
}
.game-side { display: grid; gap: 10px; align-content: start; }
.game-pin { font-size: 18px; font-weight: 800; margin: 0; color: inherit; }
.game-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.game-board li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.12);
    color: #0a2a4a !important;
    box-shadow: 0 4px 14px rgba(8, 20, 40, 0.08);
}
.game-board li span,
.game-board li strong,
.game-stage .game-board li,
.game-stage .game-board strong,
.game-stage .game-board span {
    color: #0a2a4a !important;
}
.game-board li strong {
    font-variant-numeric: tabular-nums;
    color: #0A3D7A !important;
}
body.game-fs .teacher-sidebar,
body.game-fs .teacher-topbar,
body.game-fs .teacher-mobilebar,
body.game-fs .sx-dock,
body.game-fs .mobilebar {
    display: none !important;
}
body.game-fs .teacher-main,
body.game-fs .teacher-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
    background: #070d18 !important;
    min-height: 100vh;
}
body.game-fs {
    background: #070d18 !important;
}
body.game-fs .game-shell,
#game-play-root.is-fs .game-shell,
#game-play-root:fullscreen .game-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 32px);
}
body.game-fs .game-side,
#game-play-root.is-fs .game-side,
#game-play-root:fullscreen .game-side {
    display: none;
}
body.game-fs .game-stage,
#game-play-root.is-fs .game-stage,
#game-play-root:fullscreen .game-stage {
    min-height: calc(100vh - 110px);
}
body.game-fs .mil-grid,
#game-play-root.is-fs .mil-grid,
#game-play-root:fullscreen .mil-grid {
    grid-template-columns: 1fr 1fr !important;
}

/* Tam ekran: koyu zeminde ba?l?k / ara? ?ubu?u kontrast? */
body.game-fs .game-howto,
#game-play-root.is-fs .game-howto,
#game-play-root:fullscreen .game-howto {
    display: none !important;
}
body.game-fs .game-toolbar,
#game-play-root.is-fs .game-toolbar,
#game-play-root:fullscreen .game-toolbar {
    color: #f5f8fc;
}
body.game-fs .game-toolbar strong,
body.game-fs .game-toolbar span,
body.game-fs .game-toolbar div,
#game-play-root.is-fs .game-toolbar strong,
#game-play-root.is-fs .game-toolbar span,
#game-play-root.is-fs .game-toolbar div,
#game-play-root:fullscreen .game-toolbar strong,
#game-play-root:fullscreen .game-toolbar span,
#game-play-root:fullscreen .game-toolbar div {
    color: #f5f8fc !important;
}
.game-toolbar-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    color: inherit;
}
.game-toolbar-name {
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(52vw, 420px);
}
.game-toolbar-sep { opacity: 0.55; }
body.game-fs .game-toolbar .meta-chip,
#game-play-root.is-fs .game-toolbar .meta-chip,
#game-play-root:fullscreen .game-toolbar .meta-chip {
    color: #0A2E5C !important;
    background: rgba(246, 192, 90, 0.95);
}
body.game-fs .game-live-clock,
#game-play-root.is-fs .game-live-clock,
#game-play-root:fullscreen .game-live-clock {
    color: #0A3D7A !important;
    background: rgba(246, 192, 90, 0.92);
    border-color: rgba(246, 192, 90, 0.7);
}
body.game-fs .game-controls .btn-outline,
body.game-fs .game-controls .btn-ghost,
#game-play-root.is-fs .game-controls .btn-outline,
#game-play-root.is-fs .game-controls .btn-ghost,
#game-play-root:fullscreen .game-controls .btn-outline,
#game-play-root:fullscreen .game-controls .btn-ghost {
    color: #f5f8fc !important;
    border-color: rgba(245, 248, 252, 0.35);
    background: rgba(255, 255, 255, 0.06);
}
body.game-fs .game-controls .btn-outline:hover,
body.game-fs .game-controls .btn-ghost:hover,
#game-play-root.is-fs .game-controls .btn-outline:hover,
#game-play-root.is-fs .game-controls .btn-ghost:hover,
#game-play-root:fullscreen .game-controls .btn-outline:hover,
#game-play-root:fullscreen .game-controls .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}
.mil-stage { position: relative; text-align: center; z-index: 1; }
.mil-stage.is-mil { min-height: 380px; }
.mil-lights {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 20%, rgba(240,160,32,.25), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(11,79,156,.35), transparent 42%);
    animation: mil-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes mil-pulse { 50% { opacity: .55; transform: scale(1.05); } }
.mil-qno {
    position: relative;
    z-index: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f6c05a !important;
    font-size: 13px;
    font-weight: 800;
}
.mil-prompt,
.mil-stage h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(22px, calc(52px - (var(--q-len, 80) * 0.08px)), 44px);
    max-width: min(34ch, 100%);
    margin: 12px auto 22px;
    color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    line-height: 1.25;
    font-weight: 750;
}
.mil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.mil-opt {
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(6, 18, 38, 0.88);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 650;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.mil-opt span { color: #ffffff !important; }
.mil-opt em {
    color: #f6c05a !important;
    font-style: normal;
    font-weight: 800;
    flex: 0 0 auto;
}
.mil-opt:disabled { opacity: .4; }
.mil-top-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.mil-top-row .mil-qno { margin: 0; }
.mil-timer {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    font-size: 28px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #f6c05a !important;
}
.game-stage .mil-timer,
.game-stage p.mil-timer {
    color: #f6c05a !important;
}
.mil-timer-hero {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(240, 160, 32, 0.16);
    border: 1px solid rgba(240, 160, 32, 0.35);
    min-width: 5.5ch;
    text-align: center;
}
.mil-timer.is-urgent,
.game-live-clock.is-urgent {
    color: #ff8a8a !important;
    animation: mil-timer-pulse 0.9s ease-in-out infinite;
}
.mil-timer.is-frozen,
.game-live-clock.is-frozen {
    color: #9ec5ff !important;
}
@keyframes mil-timer-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.04); }
}
.game-live-clock {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
    color: #0A3D7A;
    background: rgba(240, 160, 32, 0.2);
    border: 1px solid rgba(240, 160, 32, 0.45);
    vertical-align: middle;
}
.game-toolbar .game-live-clock:empty { display: none; }
.aud-wrap { margin-top: 16px; text-align: left; position: relative; z-index: 1; }
.aud-wrap p { color: #f5f8fc !important; font-weight: 700; }
.aud-bar { display: grid; grid-template-columns: 24px 1fr 28px; gap: 8px; align-items: center; margin: 6px 0; color: #fff; }
.aud-bar span,
.aud-bar i { color: #f5f8fc !important; }
.aud-bar b { display: block; height: 8px; background: #f0c65a; border-radius: 99px; }
.game-lobby { text-align: center; position: relative; z-index: 1; }
.game-lobby-finish {
    max-width: 920px;
    margin: 0 auto;
}
.game-lobby-finish .conf-podium,
.game-player-board .conf-podium {
    margin-top: 18px;
}
.game-board-rest {
    margin-top: 18px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.game-player-board .conf-podium {
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 10px;
    max-width: 100%;
}
.game-player-board .conf-podium-card {
    background: #0d2f6b;
    border-color: rgba(255, 255, 255, 0.18);
}
.game-player-board .conf-podium-card strong {
    color: #fff !important;
    font-size: clamp(16px, 4.2vw, 22px) !important;
}
.game-player-board .conf-podium-slot.is-1 .conf-podium-card {
    background: linear-gradient(165deg, #f6c05a 0%, #e8b923 100%);
    border-color: rgba(10, 46, 92, 0.18);
}
.game-player-board .conf-podium-slot.is-1 .conf-podium-card strong {
    color: #0A2E5C !important;
    font-size: clamp(18px, 4.8vw, 26px) !important;
}
.game-player-board .conf-podium-slot.is-1 .conf-podium-card b {
    color: #0A2E5C !important;
}
.game-player-board .conf-podium-slot.is-1 .conf-podium-card small {
    color: rgba(10, 46, 92, 0.72) !important;
}
.game-player-board .conf-podium-card b {
    color: #f0c65a !important;
}
.game-player-board .conf-podium-card small {
    color: rgba(245, 248, 252, 0.75) !important;
}
/* Host sahne finish: açık altın zemin + koyu yazı */
.game-lobby-finish .conf-podium-slot.is-1 .conf-podium-card {
    background: linear-gradient(165deg, #f6c05a 0%, #e8b923 100%);
    border-color: rgba(10, 46, 92, 0.18);
}
.game-lobby-finish .conf-podium-slot.is-1 .conf-podium-card strong,
.game-lobby-finish .conf-podium-slot.is-1 .conf-podium-card b {
    color: #0A2E5C !important;
}
.game-lobby-finish .conf-podium-slot.is-1 .conf-podium-card small {
    color: rgba(10, 46, 92, 0.72) !important;
}
@media (max-width: 640px) {
    .game-lobby-finish .conf-podium,
    .game-player-board .conf-podium {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }
    .conf-podium-slot.is-1 .conf-podium-card {
        transform: none;
    }
    .game-lobby-finish .conf-podium-slot.is-1,
    .game-player-board .conf-podium-slot.is-1 { order: -1; }
    /* Alt alta listede podyum “blok” boş kart gibi görünmesin */
    .game-lobby-finish .conf-podium-block,
    .game-player-board .conf-podium-block {
        display: none;
    }
    .game-lobby-finish .conf-podium-slot.is-empty,
    .game-player-board .conf-podium-slot.is-empty {
        display: none;
    }
}
.game-lobby h2 {
    color: #ffffff !important;
    font-size: clamp(26px, 4vw, 40px);
    margin: 0 0 10px;
}
.game-lobby p { color: rgba(245, 248, 252, 0.9) !important; }
.game-lobby .game-pin { color: #f6c05a !important; }
.game-lobby .game-board li { text-align: left; }

.game-shell.is-board-only {
    grid-template-columns: 1fr;
}
.game-shell.is-board-only .game-stage {
    min-height: min(72vh, 720px);
}

.mem-lobby .game-stage-note { margin-top: 12px; }

.mem-stage.is-board {
    position: relative;
    z-index: 1;
    padding: 8px 4px 20px;
}
.mem-num-grid {
    display: grid;
    grid-template-columns: repeat(var(--mem-cols, 4), minmax(0, 1fr));
    gap: 14px;
    max-width: 960px;
    margin: 0 auto;
}
.mem-num-card {
    position: relative;
    aspect-ratio: 1;
    min-height: 88px;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), transparent 45%),
        linear-gradient(145deg, #1a4f9c, #0A2E5C 55%, #071f3d);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    display: grid;
    place-items: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mem-num-card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}
.mem-num-card.is-opened {
    background: linear-gradient(145deg, #0f766e, #115e59 60%, #064e3b);
}
.mem-num-card.is-active {
    box-shadow: 0 0 0 3px #f6c05a, 0 18px 34px rgba(0, 0, 0, 0.34);
}
.mem-num {
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.mem-num-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.mem-popup {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(6, 18, 36, 0.72);
    backdrop-filter: blur(8px);
}
.mem-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.mem-popup-close:hover { background: rgba(255,255,255,0.22); }
.mem-popup-kicker {
    margin: 0 0 12px;
    color: #f6c05a;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}
.mem-popup-card {
    width: min(720px, 92vw);
    min-height: min(42vh, 320px);
    border: 0;
    border-radius: 28px;
    padding: 36px 28px;
    cursor: pointer;
    color: #0a2a4a;
    background: #fff;
    box-shadow: 0 28px 60px rgba(0,0,0,0.35);
    display: grid;
    align-content: center;
    gap: 14px;
    text-align: center;
    transform-style: preserve-3d;
}
.mem-popup-card.is-answer {
    background: linear-gradient(160deg, #fff8e8, #fff);
    box-shadow: 0 28px 60px rgba(201, 162, 39, 0.28);
}
.mem-popup-face {
    font-size: clamp(1.8rem, 5.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0a2a4a !important;
}
.mem-popup-hint {
    font-style: normal;
    font-size: 0.9rem;
    color: #3d5670 !important;
    font-weight: 600;
}
.game-stage .mem-popup-card,
.game-stage .mem-popup-card .mem-popup-face,
.game-stage .mem-popup-card .mem-popup-hint {
    color: #0a2a4a !important;
}
.game-stage .mem-popup-card .mem-popup-hint {
    color: #3d5670 !important;
}
.mem-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 700px) {
    .mem-num-grid { gap: 10px; }
    .mem-num { font-size: clamp(1.8rem, 10vw, 2.6rem); }
    .mem-popup-close { top: 12px; right: 12px; }
}
.mem-stage-title {
    margin: 0 0 16px;
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    color: #f6c05a !important;
}
.mem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}
.mem-card {
    --mem-h: 148px;
    position: relative;
    height: var(--mem-h);
    padding: 0;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    background: transparent;
    color: #fff;
    perspective: 900px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mem-card:hover:not(.is-open):not(.is-matched) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}
.mem-card:focus-visible {
    outline: 3px solid #f0c65a;
    outline-offset: 3px;
}
.mem-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 12px;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-sizing: border-box;
}
.mem-back {
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 220, 120, 0.28), transparent 42%),
        linear-gradient(145deg, #1a4f9c 0%, #0d2f6b 48%, #0a2454 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.mem-back::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(240, 198, 90, 0.35);
    pointer-events: none;
}
.mem-mark {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 800;
    color: #f6c05a !important;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    line-height: 1;
}
.game-stage .mem-mark {
    color: #f6c05a !important;
}
.mem-front {
    background: linear-gradient(180deg, #fffdf8 0%, #f3ebe0 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform: rotateY(180deg);
    color: #0a2a4a !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.game-stage .mem-front,
.game-stage .mem-front span,
.game-stage .mem-label {
    color: #0a2a4a !important;
}
.mem-label {
    display: block;
    width: 100%;
    text-align: center;
    font-family: Sora, "Segoe UI", sans-serif;
    font-weight: 750;
    font-size: var(--mem-fs, 18px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0a2a4a !important;
    word-break: break-word;
    hyphens: auto;
    max-height: 100%;
    overflow: hidden;
}
.mem-img {
    max-width: 88%;
    max-height: 72%;
    object-fit: contain;
    border-radius: 8px;
}
.mem-card.is-open .mem-back,
.mem-card.is-matched .mem-back {
    display: none;
}
.mem-card.is-open .mem-front,
.mem-card.is-matched .mem-front {
    transform: none;
}
.mem-card.is-matched {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.55), 0 14px 28px rgba(0, 0, 0, 0.22);
}
.mem-card.is-matched .mem-front {
    background: linear-gradient(180deg, #eefbf3 0%, #d8f3e4 100%);
}
.mem-card.is-matched .mem-label {
    color: #065f46 !important;
}
.game-stage .mem-card.is-matched .mem-label,
.game-stage .mem-card.is-matched .mem-front span {
    color: #065f46 !important;
}

.word-stage { text-align: center; position: relative; z-index: 1; }
.word-clue {
    font-size: clamp(20px, 3.2vw, 32px);
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 18px;
    line-height: 1.3;
}
.word-mask {
    font-family: var(--mono), ui-monospace, monospace;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: 0.28em;
    color: #ffffff !important;
    font-weight: 800;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    margin: 8px 0 16px;
}
.word-lives {
    color: rgba(245, 248, 252, 0.9) !important;
    font-size: 16px;
}
.word-lives strong { color: #f6c05a !important; }
.letter-pad { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; justify-content: center; }
.let {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(10, 46, 92, 0.16);
    background: #fff;
    color: #0a2a4a !important;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(8, 20, 40, 0.08);
}
.let:hover { background: #f6c05a; }
.sort-host, .hot-host { position: relative; z-index: 1; text-align: center; }
.sort-play { display: grid; gap: 12px; }
.sort-buckets { display: grid; gap: 10px; }
.sort-pool, .sort-bucket {
    min-height: 80px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.28);
}
.sort-bucket-drop {
    min-height: 72px;
    display: grid;
    gap: 6px;
    align-content: start;
}
.sort-bucket-title,
.sort-bucket h4 {
    color: #f6c05a !important;
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 1rem;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}
.game-player-stage .sort-bucket-title,
.game-player-stage .sort-bucket h4 {
    color: #0A3D7A !important;
}
.sort-card {
    padding: 12px 14px;
    margin: 6px 0;
    background: #fff;
    color: #0a2a4a !important;
    border-radius: 12px;
    cursor: grab;
    box-shadow: 0 6px 16px rgba(8, 20, 40, 0.1);
    font-weight: 650;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.sort-card-ghost { opacity: 0.35; }
.sort-card-chosen { box-shadow: 0 10px 22px rgba(8, 20, 40, 0.22); }
.sort-card-drag { opacity: 0.95; cursor: grabbing; }
.word-mask.is-revealed {
    letter-spacing: 0.18em;
    color: #f6c05a !important;
    font-weight: 800;
}
.game-player-stage .word-mask.is-revealed {
    color: #0A3D7A !important;
}
.game-player-stage .sort-bucket-drop {
    min-height: 72px;
}
.hot-img, .hot-tap img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.hotspot-edit {
    min-height: 180px;
    margin-top: 12px;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(10, 46, 92, 0.12);
}
.hotspot-edit-placeholder {
    margin: 0;
    padding: 48px 20px;
    text-align: center;
    color: rgba(245, 248, 252, 0.72) !important;
    font-size: 14px;
}
.hotspot-edit-fallback {
    text-align: center;
}
.hotspot-edit-fallback img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    background: #0f172a;
}
.hotspot-spot-hint {
    margin: 8px 0 0 !important;
}
.hotspot-spot-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.hotspot-spot-card {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
}
.hotspot-spot-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.hotspot-note-toggle {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
}
.hotspot-kw { margin-top: 8px; }
.hotspot-kw textarea { width: 100%; }
.hot-tap {
    position: relative;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}
.hot-layer {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}
.hot-mark {
    position: absolute;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    border: 3px solid #1f9d55;
    background: rgba(31, 157, 85, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.hot-mark.is-miss {
    border-color: #c0392b;
    background: rgba(192, 57, 43, 0.28);
}
.hot-tap.is-miss-flash {
    outline: 4px solid #c0392b;
    outline-offset: -4px;
    animation: hotMissPulse 0.85s ease;
}
@keyframes hotMissPulse {
    0%, 100% { outline-color: #c0392b; }
    50% { outline-color: transparent; }
}
.hot-stats {
    margin: 0 0 8px;
    font-size: 13.5px;
    font-weight: 650;
}
.hot-note {
    margin-top: 10px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}
.hot-review {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    text-align: left;
    min-width: 0;
}
.hot-review-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(245, 248, 252, 0.92);
    font-size: 13.5px;
}
.hot-review-filters {
    display: inline-flex;
    gap: 6px;
}
.hot-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #f5f8fc;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
}
.hot-filter-btn.is-on {
    background: rgba(240, 160, 32, 0.92);
    border-color: rgba(240, 160, 32, 0.95);
    color: #0a2e5c;
}
.hot-review-list {
    display: grid;
    gap: 8px;
    max-height: min(42vh, 380px);
    overflow: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
}
.hot-review-card {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f5f8fc;
    min-width: 0;
}
.hot-review-card > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name badge"
        "meta badge";
    gap: 2px 10px;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding: 10px 12px;
}
.hot-review-card > summary::-webkit-details-marker { display: none; }
.hot-review-card > summary strong {
    grid-area: name;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hot-review-meta {
    grid-area: meta;
    font-size: 12.5px;
    color: rgba(245, 248, 252, 0.72);
}
.hot-review-badge {
    grid-area: badge;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}
.hot-review-badge.is-wait {
    background: rgba(240, 160, 32, 0.22);
    color: #f6c05a;
}
.hot-review-badge.is-ok {
    background: rgba(31, 157, 85, 0.22);
    color: #7dffc4;
}
.hot-review-body {
    padding: 0 12px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hot-note-row {
    display: grid;
    gap: 6px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hot-note-row:first-child { border-top: 0; }
.hot-note-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.hot-note-acts .btn.is-hot-on {
    background: #1f9d55;
    border-color: #1f9d55;
    color: #fff;
}
.hot-note-acts .btn.is-hot-on.is-hot-bad {
    background: #c0392b;
    border-color: #c0392b;
}
.game-player-stage .hot-note {
    background: #fff;
    color: #0a2a4a;
}
.game-upload {
    display: grid;
    gap: 10px;
}
.game-upload-zone {
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 100%;
    padding: 22px 16px;
    border: 1.5px dashed rgba(10, 61, 122, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, #f7fafc, #eef4fa);
    color: #0A3D7A;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.game-upload-zone:hover,
.game-upload.is-drag .game-upload-zone {
    border-color: #F0A020;
    background: linear-gradient(180deg, #fff8eb, #fff3d9);
    transform: translateY(-1px);
}
.game-upload-zone.is-busy {
    opacity: 0.65;
    pointer-events: none;
}
.game-upload.has-image .game-upload-zone {
    padding: 14px 16px;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    justify-items: start;
    text-align: left;
}
.game-upload.has-image .game-upload-ico {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 1.6rem;
}
.game-upload-ico { font-size: 1.85rem; line-height: 1; }
.game-upload-title {
    font-weight: 750;
    font-size: 15px;
}
.game-upload-sub {
    font-size: 12.5px;
    color: #5a7390;
}
.game-upload-file {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    color: #0A3D7A;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(10, 61, 122, 0.06);
}

.game-player-stage {
    display: grid;
    gap: 14px;
    color: #0a2a4a;
}
.game-player-title {
    margin: 0;
    color: #0a2a4a !important;
    font-size: clamp(22px, 4vw, 30px);
}
.game-player-note,
.game-player-stage .muted,
.game-player-stage .game-stage-note {
    color: #2a3f57 !important;
}
.game-player-stage .word-mask {
    color: #0A3D7A !important;
    text-shadow: none;
    letter-spacing: 0.2em;
}
.game-player-stage .word-clue,
.game-player-stage h3 {
    color: #0a2a4a !important;
}
.game-player-meta {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a7390 !important;
}
.game-player-q {
    margin: 0;
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    line-height: 1.35;
}
.game-player-timer {
    margin: 0;
    font-weight: 800;
    color: #0b2a4a !important;
}
.game-player-stage .mil-grid {
    gap: 10px;
}
.game-player-stage .mil-opt {
    background: #0d2f6b;
    border-color: rgba(255, 255, 255, 0.2);
}
.game-player-stage .sort-pool,
.game-player-stage .sort-bucket {
    background: #f4f7fb;
    border-color: rgba(10, 46, 92, 0.2);
}

/* Canl? tepkiler ? a??l?r FAB (Instagram tarz?) */
#game-play-root,
#game-join-play {
    position: relative;
}
.game-react-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 40;
}
#game-play-root .game-react-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
}
.game-react-float {
    position: absolute;
    bottom: 12%;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    animation: game-react-rise 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    will-change: transform, opacity;
    pointer-events: none;
}
@keyframes game-react-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 24px, 0) scale(0.55);
    }
    12% {
        opacity: 1;
        transform: translate3d(var(--rx, 0), 0, 0) scale(var(--rs, 1));
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--rx, 0), -72vh, 0) scale(calc(var(--rs, 1) * 1.15));
    }
}
.game-react-dock {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: auto;
    pointer-events: none;
}
.game-react-dock > * {
    pointer-events: auto;
}
.game-react-toggle {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #0A3D7A;
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 42, 74, 0.28);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.game-react-toggle-ico {
    font-size: 1.45rem;
    line-height: 1;
    display: block;
}
.game-react-dock.is-open .game-react-toggle {
    background: #F0A020;
    transform: rotate(15deg) scale(1.04);
    box-shadow: 0 12px 28px rgba(240, 160, 32, 0.35);
}
.game-react-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(10, 46, 92, 0.1);
    box-shadow: 0 14px 36px rgba(10, 42, 74, 0.18);
    backdrop-filter: blur(10px);
    transform-origin: bottom right;
    animation: game-react-pop 0.22s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.game-react-panel[hidden] {
    display: none !important;
}
@keyframes game-react-pop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.88);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.game-react-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.15s ease, background 0.15s ease;
    flex: none;
}
.game-react-btn:active {
    transform: scale(1.22);
    background: rgba(10, 61, 122, 0.08);
}
@media (hover: hover) {
    .game-react-toggle:hover {
        transform: scale(1.06);
    }
    .game-react-btn:hover {
        transform: scale(1.14);
        background: rgba(10, 61, 122, 0.06);
    }
}
@media (max-width: 480px) {
    .game-react-panel {
        max-width: calc(100vw - 28px);
        flex-wrap: wrap;
        justify-content: flex-end;
        border-radius: 22px;
        padding: 8px 10px;
    }
}

@media (max-width: 900px) {
    .game-shell { grid-template-columns: 1fr; }
    .mil-grid { grid-template-columns: 1fr; }
    .mem-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; }
    .mem-card { --mem-h: 120px; }
    .mem-mark { font-size: 32px; }
}

/* ---- ?ekili? / ?ark st?dyo ---- */
.live-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 20px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    color: #fff;
}
.live-hero.is-raffle {
    background: linear-gradient(135deg, #0A2E5C 0%, #1456A0 58%, #C9A227 160%);
}
.live-hero.is-wheel {
    background: linear-gradient(135deg, #0E447F 0%, #1B6FD4 52%, #2a9d8f 130%);
}
.live-hero.is-compact { padding: 16px 20px; margin-bottom: 16px; }
.live-hero-copy h1 { margin: 4px 0 8px; font-size: clamp(22px, 3vw, 30px); color: #fff; }
.live-hero-copy p { margin: 0; color: rgba(255, 255, 255, 0.84); max-width: 48ch; line-height: 1.45; }
.live-hero .eyebrow { color: #f0c65a; letter-spacing: 0.08em; }
.live-hero-visual {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    position: relative;
}
.live-hero-visual .bi { font-size: 40px; position: relative; z-index: 1; }
.live-orb {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.32), transparent 70%);
    animation: livePulse 3.2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.2); opacity: 1; }
}
.live-hero-cta { justify-self: start; }
@media (min-width: 800px) {
    .live-hero { grid-template-columns: minmax(0, 1fr) 88px auto; }
    .live-hero-cta { justify-self: end; }
    .live-hero.wheel-play-bar { grid-template-columns: minmax(0, 1fr) auto; }
}
.live-session-grid { display: grid; gap: 14px; }
.live-session-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(10, 46, 92, 0.07);
}
.live-session-art {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
}
.live-session-card.is-raffle .live-session-art { background: linear-gradient(145deg, #1456A0, #C9A227); }
.live-session-card.is-wheel .live-session-art { background: linear-gradient(145deg, #0E447F, #2a9d8f); }
.live-session-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.live-pin {
    font-family: var(--mono);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--navy);
    background: var(--accent-soft);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12.5px;
}
.live-session-body h3 { margin: 6px 0 8px; font-size: 18px; color: var(--navy); }
.live-session-body h3 a { color: inherit; text-decoration: none; }
.live-session-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 13px;
}
.live-empty { text-align: center; padding: 48px 18px; background: #fff; border-radius: 22px; border: 1px solid var(--border); }
.live-empty-art {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: #fff;
}
.live-empty-art.is-raffle { background: linear-gradient(145deg, #1456A0, #C9A227); }
.live-empty-art.is-wheel { background: linear-gradient(145deg, #0E447F, #2a9d8f); }
.raffle-podium {
    display: grid;
    grid-template-columns: 1fr 1.22fr 1fr;
    gap: 14px;
    align-items: end;
    margin-top: 12px;
    min-height: 280px;
}
.raffle-podium-col {
    text-align: center;
    padding: 22px 14px 20px;
    border-radius: 22px 22px 12px 12px;
    color: #0A2E5C;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}
.raffle-podium-col.is-1 {
    min-height: 280px;
    background: linear-gradient(180deg, #fff3c4, #f0c65a);
    box-shadow: 0 14px 32px rgba(201, 162, 39, 0.32);
}
.raffle-podium-col.is-2 {
    min-height: 230px;
    background: linear-gradient(180deg, #f4f7fb, #c9d3de);
}
.raffle-podium-col.is-3 {
    min-height: 200px;
    background: linear-gradient(180deg, #f8e8da, #e8c4a8);
}
.raffle-podium-rank {
    display: block;
    font-family: Sora, sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}
.raffle-podium-name,
.raffle-podium-col strong {
    display: block;
    font-family: Sora, sans-serif;
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    word-break: break-word;
    color: #0A2E5C;
}
.raffle-podium-col.is-1 .raffle-podium-name,
.raffle-podium-col.is-1 strong {
    font-size: clamp(26px, 3.4vw, 42px);
}
.raffle-podium-prize,
.raffle-podium-col p {
    margin: 6px 0 0;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    opacity: 0.92;
    word-break: break-word;
}
.raffle-podium.is-revealed .raffle-podium-col.is-1 .raffle-podium-prize {
    font-size: clamp(18px, 2.3vw, 26px);
}
.live-stage-card .raffle-podium {
    margin-top: 8px;
}
.live-stage-card .eyebrow {
    font-size: 13px;
    margin-bottom: 4px;
}
.live-wait-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.live-wait-pills span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--accent-soft);
    color: var(--navy);
}
.live-wait-pills p { margin: 0; color: var(--muted); font-size: 13px; flex: 1 1 180px; }
.live-ticket-card {
    background: radial-gradient(circle at 100% 0, rgba(201, 162, 39, 0.2), transparent 48%), #fff;
}
.live-studio-join,
.page-focus.live-studio-join {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.38), transparent 52%),
        linear-gradient(165deg, #071a33, #0A2E5C);
}
.live-join-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    background: linear-gradient(145deg, #1456A0, #C9A227);
}
.live-join-done { text-align: center; margin-top: 14px; }
.live-join-done-icon { font-size: 40px; color: #C9A227; margin-bottom: 8px; }
.live-studio .raffle-type-picker .exam-mode-card { min-height: 150px; }
@media (max-width: 720px) {
    .live-session-card { grid-template-columns: 52px minmax(0, 1fr); }
    .live-session-card > .btn { grid-column: 1 / -1; }
    .raffle-podium {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 10px;
    }
    .raffle-podium-col,
    .raffle-podium-col.is-1,
    .raffle-podium-col.is-2,
    .raffle-podium-col.is-3 {
        min-height: 0 !important;
        padding: 18px 16px;
    }
    .raffle-podium-name,
    .raffle-podium-col strong {
        font-size: clamp(20px, 6vw, 28px);
    }
    .raffle-podium-col.is-1 .raffle-podium-name,
    .raffle-podium-col.is-1 strong {
        font-size: clamp(22px, 7vw, 32px);
    }
    .raffle-podium-prize,
    .raffle-podium-col p {
        font-size: clamp(15px, 4.5vw, 20px);
    }
}

/* Tahta / geni? ekran ? podyum daha da okunakl? */
@media (min-width: 1100px) {
    .raffle-podium {
        gap: 18px;
        min-height: 340px;
    }
    .raffle-podium-col.is-1 { min-height: 340px; padding: 32px 20px 28px; }
    .raffle-podium-col.is-2 { min-height: 280px; padding: 28px 18px 24px; }
    .raffle-podium-col.is-3 { min-height: 240px; padding: 26px 18px 22px; }
    .raffle-podium-rank { font-size: 44px; }
    .raffle-podium-name,
    .raffle-podium-col strong { font-size: 36px; }
    .raffle-podium-col.is-1 .raffle-podium-name,
    .raffle-podium-col.is-1 strong { font-size: 44px; }
    .raffle-podium-prize,
    .raffle-podium-col p { font-size: 24px; }
    .raffle-podium.is-revealed .raffle-podium-col.is-1 .raffle-podium-prize { font-size: 28px; }
}

/* ?? Admin SEO paneli ?? */
.seo-status-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}
.seo-status-card {
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 3px solid rgba(10, 46, 92, 0.18);
}
.seo-status-card.is-ok { border-left-color: #1a7f4b; }
.seo-status-card.is-warn { border-left-color: #c47a12; }
.seo-status-card.is-mute { border-left-color: rgba(10, 46, 92, 0.2); }
.seo-status-label {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(10, 46, 92, 0.55);
}
.seo-status-card strong {
    font-family: Sora, sans-serif;
    font-size: 16px;
    color: var(--navy);
}
.seo-status-hint {
    font-size: 12px;
    color: rgba(10, 46, 92, 0.55);
}
.seo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 18px;
    align-items: start;
}
.seo-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.seo-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 16px;
}
.seo-serp {
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
}
.seo-serp-url {
    font-size: 12px;
    color: #006621;
    margin-bottom: 4px;
    word-break: break-all;
}
.seo-serp-title {
    font-size: 18px;
    line-height: 1.3;
    color: #1a0dab;
    font-family: Arial, sans-serif;
    margin-bottom: 4px;
}
.seo-serp-desc {
    font-size: 13px;
    line-height: 1.45;
    color: #4d5156;
    font-family: Arial, sans-serif;
}
.seo-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.seo-checklist li {
    position: relative;
    padding-left: 26px;
    font-size: 13px;
    color: rgba(10, 46, 92, 0.55);
}
.seo-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(10, 46, 92, 0.25);
    background: #fff;
}
.seo-checklist li.is-done {
    color: var(--navy);
}
.seo-checklist li.is-done::before {
    border-color: #1a7f4b;
    background: #1a7f4b;
    box-shadow: inset 0 0 0 3px #fff;
}
.seo-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.seo-mono {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 12.5px;
    line-height: 1.5;
}
.seo-og-preview {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background: #f4f7fb;
}
.seo-counter.is-long span {
    color: #c47a12;
    font-weight: 650;
}
.seo-actions {
    padding-bottom: 8px;
}
.seo-panel .card + .card { margin-top: 0; }

@media (max-width: 980px) {
    .seo-status-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-layout { grid-template-columns: 1fr; }
    .seo-aside { position: static; }
}
@media (max-width: 560px) {
    .seo-status-row { grid-template-columns: 1fr; }
}

/* ?? Admin kontrol paneli ?? */
.dash-kpi-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}
.dash-kpi {
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    border-radius: 16px;
    padding: 16px 16px 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(10, 46, 92, 0.04);
}
.dash-kpi-label {
    margin: 0;
    font-size: 12px;
    font-weight: 650;
    color: rgba(10, 46, 92, 0.55);
}
.dash-kpi-value {
    margin: 6px 0 4px;
    font-family: Sora, sans-serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.dash-kpi-delta {
    margin: 0;
    font-size: 12px;
    color: rgba(10, 46, 92, 0.5);
}
.dash-kpi-delta span { font-weight: 650; }
.dash-kpi-delta.is-up span { color: #15803d; }
.dash-kpi-delta.is-down span { color: #b91c1c; }
.dash-kpi-ico {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.dash-kpi-ico .ico { width: 20px; height: 20px; }
.dash-kpi.is-blue .dash-kpi-ico { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.dash-kpi.is-violet .dash-kpi-ico { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.dash-kpi.is-cyan .dash-kpi-ico { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.dash-kpi.is-green .dash-kpi-ico { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.dash-kpi.is-rose .dash-kpi-ico { background: rgba(244, 63, 94, 0.12); color: #e11d48; }
.dash-kpi.is-amber .dash-kpi-ico { background: rgba(245, 158, 11, 0.14); color: #d97706; }

.game-session-x {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.game-session-x:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}
.tug-session-card,
.board-session-card {
    position: relative;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.dash-span-3 { grid-column: span 3; }
.dash-span-4 { grid-column: span 4; }
.dash-span-6 { grid-column: span 6; }
.dash-span-8 { grid-column: span 8; }
.dash-card {
    margin: 0;
    overflow: hidden;
}
.dash-card-head,
.dash-tabs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.dash-chip {
    font-size: 11px;
    font-weight: 650;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 46, 92, 0.06);
    color: var(--navy);
}
.dash-chip.muted-chip {
    font-variant-numeric: tabular-nums;
}
.dash-chart-wrap {
    position: relative;
    height: 240px;
}
.dash-chart-wrap.is-sm { height: 220px; }
.dash-chart-wrap.is-donut {
    height: auto;
    min-height: 200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
}
.dash-chart-wrap.is-donut canvas {
    max-width: 160px;
    max-height: 160px;
}
.dash-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dash-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(10, 46, 92, 0.7);
}
.dash-legend li i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dash-legend li span { flex: 1; }
.dash-legend li strong { font-variant-numeric: tabular-nums; color: var(--navy); }

.dash-tabs {
    display: flex;
    gap: 4px;
    background: rgba(10, 46, 92, 0.04);
    padding: 4px;
    border-radius: 10px;
}
.dash-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 7px 14px;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: rgba(10, 46, 92, 0.55);
    cursor: pointer;
}
.dash-tab.is-active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 1px 2px rgba(10, 46, 92, 0.08);
}
.dash-table-wrap { overflow-x: auto; }
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.dash-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(10, 46, 92, 0.45);
    padding: 0 12px 10px 0;
    border-bottom: 1px solid rgba(10, 46, 92, 0.08);
    white-space: nowrap;
}
.dash-table td {
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid rgba(10, 46, 92, 0.06);
    vertical-align: middle;
    color: var(--navy);
}
.dash-table tr:last-child td { border-bottom: 0; }
.dash-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}
.dash-user strong { display: block; font-size: 13.5px; }
.dash-user span { display: block; font-size: 12px; color: rgba(10, 46, 92, 0.5); }
.dash-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    flex-shrink: 0;
}
.dash-avatar.is-amber {
    background: rgba(240, 160, 32, 0.15);
    color: #b45309;
}
.dash-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    background: rgba(10, 46, 92, 0.06);
    color: var(--navy);
}
.dash-badge.is-green {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.dash-rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dash-rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(10, 46, 92, 0.06);
}
.dash-rank-list li:last-child { border-bottom: 0; }
.dash-rank-n {
    width: 18px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(10, 46, 92, 0.4);
    font-variant-numeric: tabular-nums;
}
.dash-rank-who { flex: 1; min-width: 0; }
.dash-rank-who strong {
    display: block;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-rank-who span {
    font-size: 12px;
    color: rgba(10, 46, 92, 0.5);
}
.dash-rank-val {
    font-size: 14px;
    color: var(--navy);
}

.dash-queue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.dash-queue {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 46, 92, 0.08);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, background .15s;
}
.dash-queue:hover {
    background: rgba(10, 46, 92, 0.03);
    border-color: rgba(10, 46, 92, 0.16);
}
.dash-queue strong {
    display: block;
    font-family: Sora, sans-serif;
    font-size: 20px;
    color: var(--navy);
    line-height: 1.1;
}
.dash-queue span span {
    font-size: 12px;
    color: rgba(10, 46, 92, 0.55);
}
.dash-queue-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.dash-queue-ico .ico { width: 18px; height: 18px; }
.dash-queue-ico.is-orange { background: rgba(240, 160, 32, 0.15); color: #b45309; }
.dash-queue-ico.is-blue { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.dash-queue-ico.is-violet { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.dash-queue-ico.is-green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.dash-queue-ico.is-rose { background: rgba(244, 63, 94, 0.12); color: #e11d48; }
.dash-queue-ico.is-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }

@media (max-width: 1200px) {
    .dash-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dash-span-3 { grid-column: span 6; }
    .dash-span-4 { grid-column: span 12; }
    .dash-span-8 { grid-column: span 12; }
}
@media (max-width: 900px) {
    .dash-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-span-3,
    .dash-span-6 { grid-column: span 12; }
    .dash-queue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .dash-kpi-row { grid-template-columns: 1fr; }
}

/* ?? Anasayfa SSS ?? */
.home-faq {
    background:
        radial-gradient(640px 280px at 50% 0%, rgba(11, 79, 156, 0.06), transparent 70%),
        #f7f5f1;
}
.home-faq-inner {
    max-width: 760px;
}
.sss-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.sss-item {
    background: #fff;
    border: 1px solid rgba(10, 46, 92, 0.08);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(10, 46, 92, 0.04);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.sss-item[open] {
    border-color: rgba(240, 160, 32, 0.55);
    box-shadow: 0 10px 24px rgba(10, 46, 92, 0.07);
}
.sss-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-family: Sora, sans-serif;
    font-size: 15.5px;
    font-weight: 650;
    color: var(--navy);
    line-height: 1.35;
    user-select: none;
}
.sss-item summary::-webkit-details-marker { display: none; }
.sss-q { flex: 1; text-align: left; }
.sss-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 46, 92, 0.06);
    color: rgba(10, 46, 92, 0.55);
    position: relative;
}
.sss-toggle::before,
.sss-toggle::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
}
.sss-toggle::before {
    width: 12px;
    height: 2px;
}
.sss-toggle::after {
    width: 2px;
    height: 12px;
}
.sss-item[open] .sss-toggle {
    background: rgba(240, 160, 32, 0.16);
    color: var(--gold-dark);
}
.sss-item[open] .sss-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}
.sss-a {
    padding: 0 20px 18px;
}
.sss-a p {
    margin: 0;
    padding-top: 14px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-dim, rgba(10, 46, 92, 0.72));
    border-top: 1px solid rgba(10, 46, 92, 0.06);
}
.home-faq-more {
    margin: 22px 0 0;
    text-align: center;
    font-size: 14px;
    color: rgba(10, 46, 92, 0.55);
}
.home-faq-more a {
    font-weight: 650;
}

.admin-security-block {
    margin: 4px 0 14px;
    padding: 14px 14px 4px;
    border-radius: 14px;
    border: 1px solid rgba(10, 46, 92, 0.1);
    background: rgba(10, 46, 92, 0.03);
}
.admin-security-q {
    margin: 0 0 12px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--navy);
    line-height: 1.45;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.admin-security-q .bi {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ?? Paket kar??la?t?rmas? ?? */
.pc-table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(15, 42, 74, 0.08);
    background: #fff;
    box-shadow: 0 12px 32px rgba(11, 42, 74, 0.06);
}
.pc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 14px;
}
.pc-table thead th {
    text-align: left;
    padding: 20px 22px;
    font-family: Sora, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid rgba(15, 42, 74, 0.08);
    vertical-align: bottom;
    background: #fff;
}
.pc-table thead th:not(:first-child),
.pc-table tbody td {
    text-align: center;
}
.pc-table thead th.pc-col-featured {
    position: relative;
}
.pc-popular {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: middle;
}
.pc-cat-row th {
    background: #f3eee6;
    color: rgba(10, 46, 92, 0.72);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left !important;
    padding: 12px 22px;
    border-top: 1px solid rgba(15, 42, 74, 0.06);
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
}
.pc-table tbody tr:not(.pc-cat-row) th,
.pc-table tbody tr:not(.pc-cat-row) td {
    padding: 14px 22px;
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
    color: var(--navy);
    font-weight: 500;
}
.pc-table tbody tr:not(.pc-cat-row) th {
    text-align: left;
    font-weight: 600;
    width: 46%;
}
.pc-table tbody tr:not(.pc-cat-row):hover td,
.pc-table tbody tr:not(.pc-cat-row):hover th {
    background: rgba(15, 94, 168, 0.03);
}
.pc-yes,
.pc-no {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
}
.pc-yes {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}
.pc-no {
    background: rgba(10, 46, 92, 0.06);
    color: rgba(10, 46, 92, 0.35);
}
.pc-text {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
}
.pc-col-featured {
    background: rgba(240, 160, 32, 0.04);
}

.pc-admin-cats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}
.pc-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.pc-feat-table-wrap { overflow-x: auto; }
.pc-feat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pc-feat-table th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(10, 46, 92, 0.45);
    padding: 0 8px 8px 0;
}
.pc-feat-table td {
    padding: 6px 8px 6px 0;
    vertical-align: middle;
}
.pc-feat-table input {
    width: 100%;
    min-width: 0;
}



/* ===== S?nav takvimi + kurum performans ===== */
.cal-page { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: none; margin: 0; }
.cal-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 16px; padding: 4px 2px 8px;
}
.cal-head h1 { margin: 4px 0 6px; font-family: var(--display); font-size: clamp(1.55rem, 2.4vw, 1.95rem); letter-spacing: -0.02em; }
.cal-head-copy { max-width: 640px; }

.cal-shell {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    width: 100%;
}
.cal-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.cal-side > .card {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cal-board {
    padding: 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
    box-shadow: var(--shadow-md);
}
.cal-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-month-label {
    margin: 0; min-width: 10.5rem; text-align: center;
    font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--navy);
}
.cal-icon-btn {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-dim); cursor: pointer;
}
.cal-icon-btn:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.cal-leg {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; font-weight: 600; color: var(--muted);
}
.cal-leg i {
    width: 9px; height: 9px; border-radius: 50%; display: block;
    background: var(--faint);
}
.cal-leg.is-scheduled i { background: var(--gold); }
.cal-leg.is-active i { background: var(--ok); }
.cal-leg.is-closed i { background: var(--muted); }
.cal-leg.is-draft i { background: #94a3b8; }

.cal-weekdays {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0; padding: 10px 12px 0; color: var(--muted);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.cal-weekdays span { text-align: center; padding: 4px; }

.cal-grid {
    display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px; padding: 12px 16px 18px;
}
.cal-loading { margin: 0 16px 16px; }
.cal-cell {
    min-height: 104px; padding: 10px; text-align: left;
    border: 1px solid var(--border); border-radius: 14px;
    background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 4px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.cal-cell:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.cal-cell.is-out { background: #f8fafc; opacity: 0.72; }
.cal-cell.is-today {
    border-color: var(--accent);
    background: linear-gradient(160deg, rgba(11,79,156,0.06), #fff 55%);
}
.cal-cell.is-selected {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(10, 61, 122, 0.18);
}
.cal-daynum {
    font-weight: 700; font-size: 0.92rem; color: var(--text);
    font-variant-numeric: tabular-nums;
}
.cal-cell.is-today .cal-daynum {
    width: 26px; height: 26px; display: grid; place-items: center;
    border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.82rem;
}
.cal-dots { display: flex; gap: 3px; min-height: 8px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.cal-dots i.is-scheduled { background: var(--gold); }
.cal-dots i.is-active { background: var(--ok); }
.cal-dots i.is-closed { background: var(--muted); }
.cal-dots i.is-draft { background: #94a3b8; }
.cal-chips { display: none; flex-direction: column; gap: 3px; margin-top: 2px; }
.cal-chip {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 0.68rem; font-weight: 650; line-height: 1.25;
    padding: 2px 5px; border-radius: 5px; color: var(--navy);
    background: var(--accent-soft);
}
.cal-chip.is-scheduled { background: var(--gold-soft); color: #8a5a08; }
.cal-chip.is-active { background: var(--ok-soft); color: #0a6b49; }
.cal-chip.is-closed { background: #eef2f7; color: var(--muted); }
.cal-chip.is-draft { background: #f1f5f9; color: #64748b; }
.cal-more { font-size: 0.68rem; font-weight: 700; color: var(--muted); }

@media (min-width: 1100px) {
    .cal-cell { min-height: 118px; }
    .cal-chips { display: flex; }
    .cal-dots { display: none; }
}

@media (min-width: 1400px) {
    .cal-cell { min-height: 128px; }
    .cal-grid { gap: 10px; padding: 14px 18px 20px; }
}

.cal-day-events { display: flex; flex-direction: column; gap: 10px; max-height: 260px; overflow: auto; }
.cal-event {
    padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
    background: var(--surface-2); border-left: 3px solid var(--border-strong);
}
.cal-event.is-scheduled { border-left-color: var(--gold); background: linear-gradient(90deg, var(--gold-soft), #fff 40%); }
.cal-event.is-active { border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), #fff 40%); }
.cal-event.is-closed { border-left-color: var(--muted); }
.cal-event.is-draft { border-left-color: #94a3b8; }
.cal-event-top {
    display: flex; justify-content: space-between; gap: 8px;
    font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-bottom: 4px;
}
.cal-event-kind { color: var(--navy); }
.cal-event h3 { margin: 0 0 4px; font-size: 0.98rem; line-height: 1.3; }
.cal-event-actions { margin-top: 8px; }

/* Modern tarih / saat se?ici */
.cal-dt,
.sched-picker {
    display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px;
    padding: 12px; border-radius: 14px;
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(240,160,32,0.08), transparent 42%),
        linear-gradient(180deg, #fff, #f8fafc);
}
.cal-dt-date,
.sched-picker-date {
    display: flex; align-items: center; gap: 12px;
    min-width: 150px; flex: 1;
}
button.sched-picker-date {
    border: 0;
    background: transparent;
    padding: 4px 6px 4px 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    border-radius: 12px;
    transition: background 0.14s ease;
}
button.sched-picker-date:hover {
    background: rgba(11, 79, 156, 0.06);
}
button.sched-picker-date:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.sched-picker {
    position: relative;
    overflow: visible;
}
.sched-picker-cal-ico {
    margin-left: auto;
    font-size: 1.05rem;
    color: var(--accent);
    opacity: 0.85;
}
.sched-cal {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    width: min(300px, calc(100vw - 48px));
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 18px 40px rgba(10, 46, 92, 0.18);
    overflow: visible;
}
.sched-cal.is-portal {
    position: fixed;
    z-index: 10060;
    margin: 0;
}
.sched-cal[hidden] {
    display: none !important;
}
.sched-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.sched-cal-head strong {
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 750;
}
.sched-cal-dows,
.sched-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
}
.sched-cal-dows {
    margin-bottom: 4px;
}
.sched-cal-dows span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
}
.sched-cal-day {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: grid;
    place-items: center;
    box-shadow: none !important;
    text-decoration: none !important;
}
.sched-cal-day.is-empty {
    pointer-events: none;
    visibility: hidden;
}
.sched-cal-day:hover:not(:disabled) {
    background: var(--accent-soft);
    color: var(--navy);
}
.sched-cal-day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--accent-line) !important;
}
.sched-cal-day.is-selected {
    background: var(--navy) !important;
    color: #fff !important;
}
.sched-cal-day.is-disabled,
.sched-cal-day:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.sched-cal-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}
/* Takvim a??kken ?st kartlar kesmesin */
.field:has(.sched-picker.is-cal-open),
.card:has(.sched-picker.is-cal-open),
.card-body:has(.sched-picker.is-cal-open),
.builder:has(.sched-picker.is-cal-open) {
    overflow: visible !important;
}
.cal-dt-num,
.sched-picker-num {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    font-family: var(--display); font-size: 1.35rem; font-weight: 750;
    color: #fff; background: linear-gradient(160deg, var(--navy), var(--accent));
    box-shadow: 0 8px 18px rgba(10, 61, 122, 0.22);
}
.cal-dt-meta,
.sched-picker-meta,
.sched-picker-date > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cal-dt-meta strong,
.sched-picker-meta strong,
.sched-picker-date strong {
    font-size: 0.95rem; color: var(--navy); font-weight: 750;
}
.cal-dt-meta span,
.sched-picker-meta span,
.sched-picker-date span:not(.sched-picker-num) {
    font-size: 0.78rem; color: var(--muted); font-weight: 600;
}
.cal-dt-time,
.sched-picker-time {
    display: flex; align-items: flex-end; gap: 8px;
    margin-left: auto;
}
.cal-dt-time-field,
.sched-picker-time label {
    display: flex; flex-direction: column; gap: 4px;
    font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
}
.cal-dt-time select,
.sched-picker-time select {
    appearance: none; -webkit-appearance: none;
    min-width: 64px; height: 42px; padding: 0 28px 0 12px;
    border: 1px solid var(--border); border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
    font-family: var(--mono); font-size: 0.95rem; font-weight: 650; color: var(--text);
    cursor: pointer;
}
.cal-dt-time select:focus,
.sched-picker-time select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.cal-dt-colon,
.sched-picker-colon {
    font-family: var(--mono); font-weight: 700; font-size: 1.15rem;
    color: var(--navy); padding-bottom: 8px;
}

.cal-plan-primary { margin-top: 14px; }
.cal-plan-primary .btn { width: 100%; justify-content: center; }
.cal-plan-existing {
    margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border);
}
.cal-plan-existing summary {
    cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--accent);
    list-style: none;
}
.cal-plan-existing summary::-webkit-details-marker { display: none; }
.cal-plan-existing[open] summary { margin-bottom: 10px; }
.cal-plan-form .field { margin-bottom: 12px; }

.cal-upcoming { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow: auto; }
.cal-upcoming-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    width: 100%; text-align: left; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer;
}
.cal-upcoming-item:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.cal-upcoming-date { font-size: 0.72rem; font-weight: 700; color: var(--gold-dark); }
.cal-upcoming-item.is-active .cal-upcoming-date { color: var(--ok); }

.org-perf-stats { margin-bottom: 18px; }
.org-perf-card { overflow: hidden; }
.org-perf-table td .small { margin: 2px 0 0; }

.fx-mock-cal { padding: 14px 16px 16px; }
.fx-cal-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; font-size: 0.85rem; font-weight: 700; color: var(--navy);
}
.fx-cal-nav { display: flex; gap: 6px; }
.fx-cal-nav i {
    width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border);
    display: grid; place-items: center; font-style: normal; font-size: 0.7rem; color: var(--muted);
}
.fx-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.fx-cal-grid > span {
    aspect-ratio: 1; border-radius: 6px; background: #f1f5f9;
    font-size: 0.65rem; font-weight: 650; color: var(--muted);
    display: grid; place-items: center; position: relative;
}
.fx-cal-grid > span.is-today { background: var(--navy); color: #fff; }
.fx-cal-grid > span.is-plan::after,
.fx-cal-grid > span.is-live::after {
    content: "";
    position: absolute;
    bottom: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.fx-cal-grid > span.is-plan::after { background: var(--gold); }
.fx-cal-grid > span.is-live::after { background: var(--ok); }
.fx-cal-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.fx-cal-row {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 8px 10px; border-radius: 8px; background: var(--surface-2);
    font-size: 0.78rem;
}
.fx-cal-row b { font-weight: 700; color: var(--text); }
.fx-cal-row em { font-style: normal; font-weight: 700; color: var(--gold-dark); font-size: 0.72rem; }
.fx-cal-row em.is-ok { color: var(--ok); }

.quiz-row.is-scheduled {
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, var(--gold-soft), #fff 28%);
}

@media (max-width: 980px) {
    .cal-shell { grid-template-columns: 1fr; }
    .cal-board { order: -1; }
    .cal-cell { min-height: 64px; }
    .cal-dt-time,
    .sched-picker-time { margin-left: 0; width: 100%; }
}

/* ---- ??retmen ?zet paneli ---- */
.summary-page { display: flex; flex-direction: column; gap: 18px; }
.summary-head h1 { font-family: var(--display); letter-spacing: -0.02em; }
.summary-kpi-row {
    margin-bottom: 2px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1200px) {
    .summary-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .summary-kpi-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .summary-kpi-row { grid-template-columns: 1fr; }
}
.dash-kpi-value small {
    font-size: 0.55em; font-weight: 700; margin-left: 2px; color: var(--muted);
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}
.summary-card { margin: 0; overflow: hidden; }
.summary-span-4 { grid-column: span 4; }
.summary-span-5 { grid-column: span 5; }
.summary-span-7 { grid-column: span 7; }
.summary-span-8 { grid-column: span 8; }
.summary-span-12 { grid-column: span 12; }
.summary-activity-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.summary-activity-wide.is-loading { opacity: .55; pointer-events: none; }
.summary-activity-pager {
    border-top: 1px solid rgba(10, 46, 92, .08);
    padding: 12px 16px 14px;
    background: #f8fafc;
}
.summary-pager-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.summary-pager-info {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}
.summary-pager-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.summary-pager-page {
    font-size: 13px;
    font-weight: 800;
    color: #0f2744;
    min-width: 7rem;
    text-align: center;
}
@media (max-width: 900px) {
    .summary-activity-wide { grid-template-columns: 1fr; }
}
.summary-chart-wrap { height: 260px; position: relative; }
.summary-chart-wrap.is-donut {
    height: 260px;
    display: grid;
    place-items: center;
}
.summary-chart-wrap.is-donut canvas {
    max-width: 200px;
    max-height: 200px;
}

/* Etkinlik türleri — donut + liste */
.summary-activities-card .card-body { padding: 8px 18px 18px; }
.summary-activities-body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px 24px;
    align-items: center;
    min-height: 220px;
}
.summary-activities-visual {
    position: relative;
    width: 180px;
    height: 180px;
    flex: 0 0 auto;
    margin: 0 auto;
}
.summary-activities-ring {
    width: 180px;
    height: 180px;
    position: relative;
}
.summary-activities-ring canvas {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px;
    max-height: 180px;
}
.summary-activities-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, #fff 0 54%, transparent 55%),
        conic-gradient(from 200deg, #e2e8f0, #f1f5f9, #e2e8f0);
    border: 1px solid rgba(15, 42, 74, 0.06);
}
.summary-activities-empty[hidden] { display: none !important; }
.summary-activities-empty-ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef4fb;
    color: #0B4F9C;
    font-size: 1.1rem;
}
.summary-activities-empty strong {
    font-size: 0.92rem;
    color: var(--navy);
}
.summary-activities-empty p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
    max-width: 11rem;
}
.summary-activities-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.summary-activities-legend li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(15, 42, 74, 0.05);
}
.summary-activities-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.summary-activities-legend .name {
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.summary-activities-legend .count {
    font-size: 0.82rem;
    font-weight: 800;
    color: #475569;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.summary-activities-legend .bar {
    grid-column: 2 / -1;
    height: 4px;
    border-radius: 99px;
    background: #e2e8f0;
    overflow: hidden;
    margin-top: -2px;
}
.summary-activities-legend .bar > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--c, #0B4F9C);
}
.summary-activities-legend-empty {
    padding: 18px 12px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}
.summary-top-card { min-height: 100%; }
@media (max-width: 900px) {
    .summary-activities-body {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .summary-activities-legend {
        width: 100%;
        text-align: left;
    }
}
@media (max-width: 720px) {
    .summary-span-5,
    .summary-span-7 { grid-column: span 12; }
}

.summary-top-list { display: flex; flex-direction: column; }
.summary-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background .15s ease;
    min-width: 0;
}
.summary-top-row:last-child { border-bottom: 0; }
.summary-top-row:hover { background: var(--accent-soft); color: inherit; }
.summary-top-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow: hidden; }
.summary-top-main strong {
    font-size: 0.95rem; color: var(--navy);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 100%;
}
.summary-top-main .small {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.summary-top-bar {
    display: block; height: 5px; border-radius: 99px;
    background: var(--surface-3); margin-top: 4px; position: relative; overflow: hidden;
    max-width: 100%;
}
.summary-top-bar::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}
.summary-top-nums {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
    min-width: 5.5rem;
    align-self: center;
}
.summary-top-nums b {
    font-size: 1.05rem; color: var(--navy); line-height: 1.15;
    display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 4px;
    white-space: nowrap;
}
.summary-top-nums b span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.summary-top-nums em { font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--ok); white-space: nowrap; }

.summary-activity { display: flex; flex-direction: column; }
.summary-act-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}
.summary-act-row:last-child { border-bottom: 0; }
.summary-act-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 750;
    font-size: 0.85rem;
    color: var(--navy);
    background: var(--accent-soft);
}
.summary-act-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.summary-act-copy strong {
    font-size: 0.9rem;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.summary-act-meta { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.summary-act-meta b { font-size: 0.95rem; color: var(--navy); }
.summary-act-meta time { font-size: 0.7rem; color: var(--muted); font-weight: 600; }

@media (max-width: 1100px) {
    .summary-span-4, .summary-span-5, .summary-span-7, .summary-span-8, .summary-span-12 { grid-column: span 6; }
}
@media (max-width: 720px) {
    .summary-grid { grid-template-columns: 1fr; }
    .summary-span-4, .summary-span-5, .summary-span-7, .summary-span-8, .summary-span-12 { grid-column: auto; }
    .summary-chart-wrap { height: 220px; }
}

/* ===== Abonelik ?eridi + ??renci bekleyi? + takvim s?r?kle ===== */
.plan-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin: 0 28px 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
}
.plan-banner-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.plan-banner-copy strong { font-size: 0.82rem; color: var(--navy); }
.plan-banner-copy span { font-size: 0.9rem; color: var(--text-dim); line-height: 1.35; }
.plan-banner.is-info {
    background: linear-gradient(90deg, rgba(11,79,156,0.08), #fff 55%);
    border-color: rgba(11,79,156,0.22);
}
.plan-banner.is-warn {
    background: linear-gradient(90deg, rgba(240,160,32,0.14), #fff 55%);
    border-color: rgba(200,120,20,0.28);
}
.plan-banner.is-danger {
    background: linear-gradient(90deg, rgba(200,50,50,0.1), #fff 55%);
    border-color: rgba(180,40,40,0.28);
}
.plan-banner.is-danger .plan-banner-copy strong { color: #9b1c1c; }
.account-main .plan-banner { margin: 0 0 18px; }
.teacher-main > .plan-banner { margin-top: 12px; }
.btn.is-locked, a.btn.is-locked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.92;
}
.btn.is-disabled, span.btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}
.sx-dropdown-menu a.is-locked {
    opacity: 0.85;
    color: var(--muted);
}
.account-panel.is-highlight {
    box-shadow: 0 0 0 2px rgba(11,79,156,0.18);
}

.join-wait {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background:
        linear-gradient(160deg, rgba(11,79,156,0.08), transparent 48%),
        linear-gradient(180deg, #fff, #f8fafc);
}
.join-wait-title { margin: 0; font-size: 1.05rem; color: var(--navy); }
.join-wait-msg { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.4; }
.join-wait-clock {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-top: 4px;
}
.join-wait-clock b {
    font-family: var(--mono);
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 750;
    color: var(--navy);
    letter-spacing: 0.02em;
}
.join-wait-clock span { font-size: 0.8rem; font-weight: 650; color: var(--muted); }
.join-wait-opens { margin: 0; font-size: 0.82rem; color: var(--muted); }

.cal-chip.is-draggable { cursor: grab; touch-action: none; }
.cal-chip.is-dragging { opacity: 0.45; cursor: grabbing; }
.cal-cell.is-drop-target {
    border-color: var(--accent) !important;
    background: rgba(11,79,156,0.08) !important;
    box-shadow: 0 0 0 2px rgba(11,79,156,0.18);
}
.cal-event[draggable="true"] { cursor: grab; }
.cal-event.is-dragging { opacity: 0.5; }
.cal-dnd-hint {
    margin: 0 16px 12px;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ===== Edu Ai feature showcase (light) ===== */
.edu-feat-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 22px;
}
.edu-feat-head-copy h2 {
    margin: 6px 0 0;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    letter-spacing: -0.03em;
    color: var(--navy, #0b2a4a);
    max-width: 18ch;
}
.edu-feat-head-aside {
    margin: 0;
    max-width: 340px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted, #5a7390);
}
.edu-feat-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px 36px;
    align-items: center;
    padding: 28px 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(15, 55, 95, 0.1);
    background:
        radial-gradient(520px 280px at 78% 40%, rgba(14, 165, 233, 0.1), transparent 55%),
        linear-gradient(160deg, #ffffff 0%, #f5f9fd 100%);
    box-shadow: 0 18px 40px rgba(11, 42, 74, 0.08);
    overflow: hidden;
    margin-bottom: 28px;
}
.edu-feat-copy { position: relative; z-index: 2; max-width: 420px; }
.edu-feat-ico {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.22);
    margin-bottom: 12px;
}
.edu-feat-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    letter-spacing: -0.03em;
    color: var(--navy, #0b2a4a);
}
.edu-feat-copy > p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted, #5a7390);
}
.edu-feat-checks {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.edu-feat-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim, #334e68);
    line-height: 1.35;
}
.edu-feat-checks .bi {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid rgba(14, 165, 233, 0.55);
    color: #0284c7;
    font-size: 0.75rem;
    margin-top: 1px;
}
.edu-feat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.edu-feat-chat {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    border: 1px solid rgba(15, 55, 95, 0.1);
    background: #fff;
    box-shadow: 0 16px 36px rgba(11, 42, 74, 0.1);
    overflow: hidden;
    min-width: 0;
}
.edu-feat-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 55, 95, 0.08);
    background: #f8fbfe;
}
.edu-feat-chat-head strong {
    display: block;
    font-size: 0.92rem;
    color: var(--navy, #0b2a4a);
}
.edu-feat-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #059669;
}
.edu-feat-online i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}
.edu-feat-chat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.edu-feat-chat-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    min-height: 220px;
}
.edu-feat-bubble {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.8rem;
    line-height: 1.4;
    position: relative;
}
.edu-feat-bubble.is-bot {
    align-self: flex-start;
    background: #eef3f8;
    color: #334e68;
    border-bottom-left-radius: 4px;
}
.edu-feat-bubble.is-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.edu-feat-ticks {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #64748b;
    text-align: right;
}
.edu-feat-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 55, 95, 0.1);
    box-shadow: 0 8px 18px rgba(11, 42, 74, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy, #0b2a4a);
    white-space: nowrap;
    pointer-events: none;
}
.edu-feat-float .bi { color: #0284c7; }
.edu-feat-float-a { top: 18px; right: 28%; }
.edu-feat-float-b { top: 42%; right: 8%; }
.edu-feat-float-c { bottom: 18px; right: 36%; }
@media (max-width: 980px) {
    .edu-feat-card {
        grid-template-columns: 1fr;
        padding: 22px 18px 24px;
    }
    .edu-feat-chat { order: 2; }
    .edu-feat-float-a { left: 12px; right: auto; top: 12px; }
    .edu-feat-float-b { right: 12px; top: auto; bottom: 38%; }
    .edu-feat-float-c { left: auto; right: 16px; bottom: 12px; }
}

/* ?? Admin sipari? listesi ?? */
.admin-order-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.admin-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.admin-order-row:last-child { border-bottom: 0; }
.admin-order-row.is-wait { background: rgba(245, 158, 11, 0.04); }
.admin-order-main {
    display: grid;
    gap: 6px;
    min-width: 0;
    flex: 1;
}
.admin-order-who,
.admin-order-plan {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.admin-order-name {
    font-weight: 700;
    color: var(--navy, #0b2a4a);
    text-decoration: none;
    line-height: 1.3;
}
a.admin-order-name:hover { text-decoration: underline; }
.admin-order-meta,
.admin-order-plan span {
    color: var(--muted, #64748b);
    font-size: 0.86rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-order-plan strong {
    font-weight: 650;
    font-size: 0.95rem;
}
.admin-order-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 132px;
}
.admin-order-amount {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.admin-order-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}
.admin-order-status.is-ok {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}
.admin-order-status.is-wait {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}
.admin-order-status.is-bad {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}
.admin-order-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.admin-order-pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--border, #e2e8f0);
}
@media (max-width: 720px) {
    .admin-order-row {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-order-side {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    .admin-order-meta,
    .admin-order-plan span { white-space: normal; }
}

/* ===== Halat ?ekme (tug of war) ===== */
#game-play-root.is-fs:has(.is-tug),
#game-play-root:fullscreen:has(.is-tug),
body.game-fs:has(.is-tug) #game-play-root {
    background: #e8f1fa !important;
}
body.game-fs:has(.is-tug),
body.game-fs:has(.is-tug) .teacher-main,
body.game-fs:has(.is-tug) .teacher-content {
    background: #e8f1fa !important;
}
/* Halat: tam ekranda butonlar a??k zeminde okunur olsun */
body.game-fs .game-shell.is-tug .game-toolbar,
#game-play-root.is-fs .game-shell.is-tug .game-toolbar,
#game-play-root:fullscreen .game-shell.is-tug .game-toolbar {
    color: #0f2744 !important;
}
body.game-fs .game-shell.is-tug .game-controls .btn-outline,
body.game-fs .game-shell.is-tug .game-controls .btn-ghost,
body.game-fs .game-shell.is-tug .tug-ctrl-btn,
#game-play-root.is-fs .game-shell.is-tug .game-controls .btn-outline,
#game-play-root.is-fs .game-shell.is-tug .game-controls .btn-ghost,
#game-play-root.is-fs .game-shell.is-tug .tug-ctrl-btn,
#game-play-root:fullscreen .game-shell.is-tug .game-controls .btn-outline,
#game-play-root:fullscreen .game-shell.is-tug .game-controls .btn-ghost,
#game-play-root:fullscreen .game-shell.is-tug .tug-ctrl-btn,
.game-shell.is-tug .tug-ctrl-btn {
    color: #0f2744 !important;
    border: 2px solid #334155 !important;
    background: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(15, 42, 74, .12);
}
body.game-fs .game-shell.is-tug .game-controls .btn-outline:hover,
body.game-fs .game-shell.is-tug .game-controls .btn-ghost:hover,
body.game-fs .game-shell.is-tug .tug-ctrl-btn:hover,
#game-play-root.is-fs .game-shell.is-tug .tug-ctrl-btn:hover,
.game-shell.is-tug .tug-ctrl-btn:hover {
    background: #f1f5f9 !important;
    color: #0f2744 !important;
}
.game-shell.is-tug {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr !important;
}
.game-shell.is-tug .game-stage {
    padding: 0;
    background: linear-gradient(165deg, #d7e8f8 0%, #eef5fc 45%, #f7fafc 100%) !important;
    color: #0f2744 !important;
    overflow: visible;
    width: 100%;
    min-width: 0;
}
.game-shell.is-tug .game-stage .game-stage-note,
.game-shell.is-tug .game-stage .hint,
.game-shell.is-tug .game-stage .muted {
    color: #475569 !important;
}
.game-shell.is-tug .game-stage h1,
.game-shell.is-tug .game-stage h2,
.game-shell.is-tug .game-stage h3,
.game-shell.is-tug .game-stage p,
.game-shell.is-tug .game-stage li,
.game-shell.is-tug .game-stage span,
.game-shell.is-tug .game-stage strong,
.game-shell.is-tug .game-stage em,
.game-shell.is-tug .game-stage b,
.game-shell.is-tug .game-stage label {
    color: inherit !important;
}
.tug-board, .tug-lobby {
    --tug-blue: #2563eb;
    --tug-red: #dc2626;
    --tug-ink: #0f2744;
    --tug-muted: #475569;
    background: transparent;
    border-radius: 18px;
    padding: 14px 16px 18px;
    min-height: min(78vh, 860px);
    display: grid;
    gap: 12px;
    color: var(--tug-ink) !important;
}
.tug-lobby { place-items: center; text-align: center; }
.tug-lobby h2,
.tug-top h1 {
    font-size: clamp(26px, 3.6vw, 40px);
    letter-spacing: .04em;
    margin: 0;
    color: #0b3a6e !important;
    font-weight: 900;
}
.tug-rules {
    margin: 0;
    color: var(--tug-muted) !important;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}
.tug-top { text-align: center; }
.tug-hud {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 8px 28px rgba(15, 42, 74, .08);
    border: 1px solid rgba(15, 42, 74, .06);
}
.tug-hud-team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
}
.tug-hud-team.is-1 { justify-content: flex-start; color: var(--tug-blue) !important; }
.tug-hud-team.is-2 { justify-content: flex-end; color: var(--tug-red) !important; }
.tug-hud-team span { color: inherit !important; }
.tug-hud-team b {
    min-width: 38px; height: 38px; border-radius: 999px;
    display: grid; place-items: center;
    background: currentColor;
    color: #fff !important;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(15, 42, 74, .18);
}
.tug-hud-clock {
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    font-size: 22px;
    color: #0b4f9c !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tug-hud-clock i,
.tug-hud-clock .bi { color: #0b4f9c !important; }
.tug-main {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.15fr) minmax(240px, 1fr);
    gap: 14px;
    align-items: stretch;
    min-height: 0;
}
.tug-panel {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto 1fr;
    box-shadow: 0 10px 32px rgba(15, 42, 74, .1);
    border: 1px solid rgba(15, 42, 74, .06);
    min-height: 440px;
}
.tug-panel-1 .tug-panel-head { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tug-panel-2 .tug-panel-head { background: linear-gradient(135deg, #f87171, #dc2626); }
.tug-panel-head {
    color: #fff !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    font-size: 17px;
}
.tug-panel-head strong,
.tug-panel-head span { color: #fff !important; }
.tug-score {
    min-width: 36px; height: 36px; border-radius: 999px;
    background: rgba(255,255,255,.22);
    display: grid; place-items: center; font-weight: 900;
    color: #fff !important;
}
.tug-qbox { padding: 16px 16px 10px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.tug-prompt {
    margin: 0;
    font-size: clamp(16px, 1.7vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    color: #0f2744 !important;
}
.tug-panel-1 .tug-prompt { color: #1e40af !important; }
.tug-panel-2 .tug-prompt { color: #991b1b !important; }
.tug-opts { display: grid; gap: 10px; padding: 12px 14px 16px; align-content: start; background: #fff; }
.tug-opt {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    text-align: left;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff !important;
    color: #0f172a !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .14s ease, background .14s ease, box-shadow .14s ease, border-color .14s ease;
    box-shadow: 0 2px 8px rgba(15, 42, 74, .04);
}
.tug-opt span {
    color: #0f172a !important;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}
.tug-opt b {
    width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center;
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-size: 14px;
    font-weight: 900;
}
.tug-panel-2 .tug-opt b {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
.tug-opt:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: #94a3b8;
    box-shadow: 0 8px 18px rgba(15,42,74,.12);
}
.tug-opt:disabled { cursor: default; opacity: 1; }
.tug-opt.is-ok {
    background: #dcfce7 !important;
    border-color: #16a34a !important;
    box-shadow: inset 0 0 0 1px #16a34a;
}
.tug-opt.is-ok span { color: #14532d !important; }
.tug-opt.is-bad {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
    box-shadow: inset 0 0 0 1px #dc2626;
}
.tug-opt.is-bad span { color: #7f1d1d !important; }
.tug-opt.is-pending { opacity: .75; }
.tug-arena {
    position: relative;
    background:
        radial-gradient(circle at 50% 30%, rgba(255,255,255,.9), transparent 55%),
        linear-gradient(180deg, #f0f7ff 0%, #ffffff 55%, #eef4fb 100%);
    border-radius: 18px;
    min-height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(15, 42, 74, .1);
    border: 1px solid rgba(15, 42, 74, .06);
}
.tug-arena.is-preview { width: min(560px, 100%); min-height: 240px; margin: 8px auto; }
.tug-midline {
    position: absolute; top: 14%; bottom: 18%; left: 50%;
    border-left: 2px dashed #94a3b8; transform: translateX(-50%);
    opacity: .7;
}
.tug-svg {
    width: min(100%, 420px);
    height: auto;
    max-height: 280px;
    overflow: visible;
    z-index: 1;
}
.tug-svg .tug-ground {
    fill: #cbd5e1;
    opacity: .55;
}
.tug-rope-group { transform-box: fill-box; transform-origin: center; }
.tug-rope-line {
    stroke: #1e293b;
    stroke-width: 7;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 2px rgba(15,23,42,.25));
}
.tug-flag-svg {
    fill: #e11d48;
    filter: drop-shadow(0 2px 3px rgba(225,29,72,.35));
}
.tug-fig-svg { transform-box: fill-box; transform-origin: bottom center; }
.tug-fig-svg .head { fill: #f5d0b0; }
.tug-fig-svg .pants { fill: #1e293b; }
.tug-fig-svg.is-blue .shirt { fill: url(#tugBlueGrad); }
.tug-fig-svg.is-red .shirt { fill: url(#tugRedGrad); }
.tug-countdown {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: clamp(72px, 14vw, 140px);
    font-weight: 900;
    color: #0891b2 !important;
    text-shadow: 0 0 28px rgba(8, 145, 178, .4);
    pointer-events: none;
    z-index: 3;
    animation: tug-pop .35s ease;
    background: rgba(255,255,255,.35);
    backdrop-filter: blur(2px);
}
.tug-countdown.is-go { font-size: clamp(40px, 8vw, 72px); color: #15803d !important; }
@keyframes tug-pop { from { transform: scale(.6); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.tug-final-score {
    font-size: 44px;
    font-weight: 900;
    margin: 8px 0 18px;
    color: #0b3a6e !important;
}
.tug-fs-bar {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    z-index: 5;
    display: none;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}
.tug-fs-bar .btn,
.tug-fs-bar .tug-ctrl-btn {
    pointer-events: auto;
    color: #0f2744 !important;
    background: #fff !important;
    border: 2px solid #1e293b !important;
    font-weight: 800 !important;
}
body.game-fs .game-shell.is-tug .tug-fs-bar,
#game-play-root.is-fs .game-shell.is-tug .tug-fs-bar,
#game-play-root:fullscreen .game-shell.is-tug .tug-fs-bar {
    display: flex;
}
.tug-finish {
    position: relative;
    place-items: center;
    min-height: min(70vh, 640px);
    overflow: hidden;
}
.tug-win-burst {
    position: absolute;
    width: min(520px, 80vw);
    height: min(520px, 80vw);
    border-radius: 50%;
    background:
        conic-gradient(from 0deg, rgba(37,99,235,.18), rgba(234,179,8,.2), rgba(220,38,38,.18), rgba(37,99,235,.18));
    filter: blur(2px);
    z-index: 0;
    pointer-events: none;
}
.tug-win-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0;
    letter-spacing: .22em;
    font-weight: 900;
    font-size: 13px;
    color: #64748b !important;
}
.tug-win-card {
    position: relative;
    z-index: 1;
    width: min(520px, 92%);
    margin: 8px auto 0;
    padding: 28px 24px 24px;
    border-radius: 28px;
    background: #fff;
    border: 3px solid #e2e8f0;
    box-shadow: 0 24px 60px rgba(15, 42, 74, .16);
    text-align: center;
}
.tug-win-card.is-blue { border-color: #3b82f6; box-shadow: 0 24px 60px rgba(37, 99, 235, .22); }
.tug-win-card.is-red { border-color: #ef4444; box-shadow: 0 24px 60px rgba(220, 38, 38, .22); }
.tug-win-card.is-draw { border-color: #f59e0b; }
.tug-win-card h2 {
    margin: 8px 0 4px;
    font-size: clamp(28px, 5vw, 44px);
    color: #0b3a6e !important;
    font-weight: 900;
}
.tug-win-card.is-blue h2 { color: #1d4ed8 !important; }
.tug-win-card.is-red h2 { color: #b91c1c !important; }
.tug-win-sub {
    margin: 0;
    color: #475569 !important;
    font-weight: 600;
}
.tug-win-figs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
    min-height: 72px;
    align-items: flex-end;
}
.tug-win-fig {
    width: 44px;
    height: 70px;
    border-radius: 14px 14px 10px 10px;
    position: relative;
    display: inline-block;
}
.tug-win-fig::before {
    content: "";
    position: absolute;
    top: -14px; left: 50%;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f5d0b0;
    transform: translateX(-50%);
}
.tug-win-fig.is-blue { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.tug-win-fig.is-red { background: linear-gradient(180deg, #fca5a5, #dc2626); }
.tug-win-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
    margin-top: 8px;
}
body.game-fs .game-shell.is-tug,
#game-play-root.is-fs .game-shell.is-tug,
#game-play-root:fullscreen .game-shell.is-tug {
    height: 100%;
    min-height: 100%;
}
body.game-fs .game-shell.is-tug .game-stage,
#game-play-root.is-fs .game-shell.is-tug .game-stage,
#game-play-root:fullscreen .game-shell.is-tug .game-stage {
    min-height: calc(100vh - 72px);
    height: 100%;
}
body.game-fs .game-shell.is-tug .tug-board,
#game-play-root.is-fs .game-shell.is-tug .tug-board {
    min-height: calc(100vh - 90px);
}
body.game-fs .game-shell.is-tug .game-toolbar .game-toolbar-title,
#game-play-root.is-fs .game-shell.is-tug .game-toolbar .game-toolbar-title {
    display: none;
}

/* Halat olu?turucu */
.tug-builder {
    display: grid;
    gap: 18px;
}
.tug-builder-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 20%, rgba(37,99,235,.16), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(220,38,38,.14), transparent 38%),
        linear-gradient(135deg, #f8fbff, #eef4fb);
    border: 1px solid rgba(15, 42, 74, .08);
}
.tug-builder-hero h2 {
    margin: 0 0 6px;
    font-size: clamp(22px, 3vw, 30px);
    color: #0b3a6e;
}
.tug-builder-hero p { margin: 0; color: #475569; line-height: 1.45; }
.tug-builder-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tug-builder-meta .field {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(15,42,74,.08);
    box-shadow: 0 4px 14px rgba(15,42,74,.04);
}
.tug-qcard {
    background: #fff;
    border: 1px solid rgba(15,42,74,.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(15,42,74,.06);
    display: grid;
    gap: 12px;
}
.tug-qcard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.tug-qcard-num {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: #dbeafe; color: #1d4ed8;
    font-weight: 900;
}
.tug-qcard .tug-opts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.tug-opt-field {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
}
.tug-opt-field.is-correct {
    background: #ecfdf5;
    border-color: #86efac;
}
.tug-opt-letter {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    font-weight: 900; color: #1d4ed8; background: #dbeafe;
}
.tug-opt-field input {
    border: 0; background: transparent; outline: none;
    font: inherit; font-weight: 600; color: #0f172a; width: 100%;
}
.tug-correct-pills {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.tug-correct-pills span { color: #475569; font-weight: 700; font-size: 13px; }
.tug-correct-pills label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    cursor: pointer; font-weight: 700; color: #334155;
}
.tug-correct-pills label:has(input:checked) {
    background: #dcfce7; border-color: #86efac; color: #166534;
}
.tug-correct-pills input { accent-color: #16a34a; }
.tug-builder-foot {
    position: sticky; bottom: 12px; z-index: 2;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
    border: 1px solid rgba(15,42,74,.08); border-radius: 16px;
    padding: 12px 14px; box-shadow: 0 10px 30px rgba(15,42,74,.1);
}
@media (max-width: 980px) {
    .tug-main { grid-template-columns: 1fr; }
    .tug-arena { order: -1; min-height: 240px; }
    .tug-panel { min-height: 0; }
    .tug-builder-hero { grid-template-columns: 1fr; }
    .tug-qcard .tug-opts-grid { grid-template-columns: 1fr; }
    .tug-builder-meta { grid-template-columns: 1fr; }
}

/* ===== Halat ?ekme hub (liste) ===== */
.tug-hub {
    display: grid;
    gap: 22px;
    max-width: 1120px;
}
.tug-hub-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 20px;
    align-items: center;
    padding: 28px clamp(18px, 3vw, 32px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 20%, rgba(37,99,235,.18), transparent 42%),
        radial-gradient(circle at 88% 18%, rgba(220,38,38,.16), transparent 40%),
        linear-gradient(135deg, #eef5ff 0%, #f8fafc 48%, #fff1f2 100%);
    border: 1px solid rgba(15, 42, 74, .08);
    box-shadow: 0 18px 48px rgba(15, 42, 74, .08);
    overflow: hidden;
}
.tug-hub-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #2563eb;
}
.tug-hub-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.05;
    color: #0b3a6e;
    letter-spacing: -.02em;
}
.tug-hub-lead {
    margin: 0 0 18px;
    max-width: 46ch;
    color: #334155;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 550;
}
.tug-hub-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.tug-hub-count {
    font-weight: 700;
    color: #64748b;
    font-size: 14px;
}
.tug-hub-hero-visual { display: grid; place-items: center; }
.tug-hub-arena {
    width: min(100%, 340px);
    aspect-ratio: 1.35;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f1f5f9);
    border: 1px solid rgba(15,42,74,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 16px 36px rgba(15,42,74,.1);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 22px 16px;
    position: relative;
}
.tug-hub-arena::before {
    content: "";
    position: absolute;
    top: 18%; bottom: 22%; left: 50%;
    border-left: 2px dashed #94a3b8;
    transform: translateX(-50%);
    opacity: .55;
}
.tug-hub-team {
    display: grid;
    justify-items: center;
    gap: 8px;
    z-index: 1;
}
.tug-hub-team span {
    font-size: 12px;
    font-weight: 800;
}
.tug-hub-team.is-blue span { color: #1d4ed8; }
.tug-hub-team.is-red span { color: #b91c1c; }
.tug-hub-team b {
    width: 28px; height: 42px; border-radius: 10px 10px 8px 8px;
    display: block; position: relative;
}
.tug-hub-team b::before {
    content: "";
    position: absolute; top: -11px; left: 50%;
    width: 16px; height: 16px; border-radius: 50%;
    background: #f5d0b0; transform: translateX(-50%);
}
.tug-hub-team.is-blue b { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.tug-hub-team.is-red b { background: linear-gradient(180deg, #fca5a5, #dc2626); }
.tug-hub-team { grid-auto-flow: row; }
.tug-hub-team.is-blue,
.tug-hub-team.is-red {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto auto;
}
.tug-hub-team span { grid-column: 1 / -1; }
.tug-hub-rope {
    width: 72px; height: 8px; border-radius: 999px;
    background: #1e293b; position: relative; z-index: 1;
}
.tug-hub-rope i {
    position: absolute; left: 50%; top: 50%;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #e11d48;
    transform: translate(-50%, -120%);
    display: block;
}
.tug-hub-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.tug-hub-step {
    background: #fff;
    border: 1px solid rgba(15,42,74,.08);
    border-radius: 18px;
    padding: 14px 12px 16px;
    box-shadow: 0 8px 22px rgba(15,42,74,.05);
    min-height: 132px;
}
.tug-hub-step-n {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    color: #2563eb;
    background: #dbeafe;
    border-radius: 999px;
    padding: 4px 8px;
    margin-bottom: 8px;
}
.tug-hub-step h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #0f2744;
}
.tug-hub-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    font-weight: 550;
}
.tug-hub-list {
    display: grid;
    gap: 12px;
}
.tug-hub-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.tug-hub-list-head h2 {
    margin: 0;
    font-size: 20px;
    color: #0b3a6e;
}
.tug-session-grid {
    display: grid;
    gap: 12px;
}
.tug-session-card {
    display: grid;
    grid-template-columns: 8px 1fr auto;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(15,42,74,.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15,42,74,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.tug-session-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15,42,74,.1);
}
.tug-session-accent {
    background: linear-gradient(180deg, #2563eb, #dc2626);
}
.tug-session-body { padding: 16px 18px; }
.tug-session-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.tug-session-top h3 {
    margin: 0;
    font-size: 20px;
    color: #0f2744;
}
.tug-session-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
}
.tug-session-desc {
    margin: 0 0 8px;
    color: #475569;
    font-size: 14px;
}
.tug-session-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tug-session-meta li {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 10px;
}
.tug-session-actions {
    display: grid;
    place-items: center;
    padding: 16px 18px;
    background: #f8fafc;
    border-left: 1px solid #eef2f7;
}
.tug-empty {
    text-align: center;
    padding: 36px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border: 1px dashed rgba(15,42,74,.16);
}
.tug-empty-art {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.tug-empty-fig {
    width: 28px; height: 44px; border-radius: 10px;
    position: relative;
}
.tug-empty-fig::before {
    content: "";
    position: absolute; top: -12px; left: 50%;
    width: 16px; height: 16px; border-radius: 50%;
    background: #f5d0b0; transform: translateX(-50%);
}
.tug-empty-fig.is-blue { background: linear-gradient(180deg, #60a5fa, #1d4ed8); }
.tug-empty-fig.is-red { background: linear-gradient(180deg, #fca5a5, #dc2626); }
.tug-empty-rope {
    width: 56px; height: 6px; border-radius: 999px; background: #1e293b;
}
.tug-empty h3 { margin: 0 0 6px; color: #0b3a6e; font-size: 22px; }
.tug-empty p { margin: 0 0 16px; color: #64748b; max-width: 40ch; margin-inline: auto; }
@media (max-width: 980px) {
    .tug-hub-hero { grid-template-columns: 1fr; }
    .tug-hub-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tug-session-card { grid-template-columns: 8px 1fr; }
    .tug-session-actions {
        grid-column: 2;
        border-left: 0;
        border-top: 1px solid #eef2f7;
        justify-items: stretch;
    }
}
@media (max-width: 560px) {
    .tug-hub-steps { grid-template-columns: 1fr; }
}

/* ===== Tahtaya kald?r ===== */
.game-shell.is-boardcall .game-stage {
    padding: 0;
    background: linear-gradient(165deg, #0b1220 0%, #111827 50%, #0f172a 100%) !important;
    color: #f8fafc !important;
    overflow: hidden;
}
.game-shell.is-boardcall .game-stage h1,
.game-shell.is-boardcall .game-stage h2,
.game-shell.is-boardcall .game-stage p,
.game-shell.is-boardcall .game-stage span,
.game-shell.is-boardcall .game-stage strong,
.game-shell.is-boardcall .game-stage b {
    color: inherit !important;
}
body.game-fs:has(.is-boardcall),
body.game-fs:has(.is-boardcall) .teacher-main,
body.game-fs:has(.is-boardcall) .teacher-content,
#game-play-root.is-fs:has(.is-boardcall),
#game-play-root:fullscreen:has(.is-boardcall) {
    background: #0b1220 !important;
}
body.game-fs .game-shell.is-boardcall .board-ctrl-btn,
#game-play-root.is-fs .game-shell.is-boardcall .board-ctrl-btn,
.game-shell.is-boardcall .board-ctrl-btn {
    color: #f8fafc !important;
    border: 2px solid rgba(248,250,252,.45) !important;
    background: rgba(255,255,255,.08) !important;
    font-weight: 800 !important;
}
.board-lobby, .board-stage {
    min-height: min(78vh, 860px);
    padding: 18px;
    display: grid;
    gap: 14px;
}
.board-lobby { place-content: center; text-align: center; justify-items: center; }
.board-lobby h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: .04em;
    color: #fff !important;
}
.board-lead { max-width: 48ch; color: #cbd5e1 !important; line-height: 1.5; }
.board-lobby-points {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.board-lobby-points li {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0 !important;
}
.board-top {
    display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap;
}
.board-top h1 { margin: 0; font-size: clamp(20px, 3vw, 30px); letter-spacing: .06em; color: #fff !important; }
.board-top p { margin: 4px 0 0; color: #94a3b8 !important; font-weight: 600; }
.board-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.board-stats span {
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0 !important;
}
.board-stats span b { color: #fff !important; margin-left: 4px; }
.board-stats .is-ok b { color: #4ade80 !important; }
.board-stats .is-bad b { color: #f87171 !important; }
.board-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 14px;
    min-height: 0;
}
.board-cam-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #020617;
    min-height: 420px;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    border: 1px solid rgba(148,163,184,.2);
}
.board-cam-wrap video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
    transform: scaleX(-1);
}
.board-overlay {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    pointer-events: none;
    transform: scaleX(-1);
}
.board-scan-line {
    position: absolute; left: 6%; right: 6%; height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    box-shadow: 0 0 18px #38bdf8;
    pointer-events: none; z-index: 2;
}
.board-zoom {
    position: absolute; z-index: 3;
    border: 3px solid #fbbf24;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(2,6,23,.45), 0 0 30px rgba(251,191,36,.55);
    pointer-events: none;
    transform-origin: center;
}
.board-side-panel {
    display: grid;
    gap: 12px;
    align-content: start;
}
.board-pick-card, .board-pick-placeholder, .board-oral {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}
.board-pick-card img {
    width: min(100%, 280px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #fbbf24;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.board-pick-label { margin: 0 0 8px; color: #94a3b8 !important; font-weight: 800; letter-spacing: .12em; font-size: 12px; }
.board-pick-shout {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #fbbf24 !important;
    letter-spacing: .04em;
}
.board-pick-placeholder {
    min-height: 220px;
    display: grid; place-content: center; gap: 8px;
    color: #94a3b8 !important;
}
.board-pick-placeholder i { font-size: 42px; color: #38bdf8 !important; }
.board-oral-q { margin: 6px 0 0; font-size: 18px; font-weight: 800; color: #f8fafc !important; line-height: 1.35; }
.board-oral .eyebrow { color: #38bdf8 !important; }
.board-oral.is-empty p { margin: 0; color: #94a3b8 !important; font-weight: 600; }
.board-actions { display: grid; gap: 8px; }
.board-grade-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.board-actions .btn.is-ok { background: #16a34a; border-color: #16a34a; color: #fff !important; }
.board-actions .btn.is-bad { background: #dc2626; border-color: #dc2626; color: #fff !important; }

.board-hub { display: grid; gap: 20px; max-width: 1080px; }
.board-hub-hero {
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: center;
    padding: 26px; border-radius: 26px;
    background:
        radial-gradient(circle at 15% 20%, rgba(56,189,248,.18), transparent 42%),
        radial-gradient(circle at 85% 15%, rgba(251,191,36,.16), transparent 40%),
        linear-gradient(135deg, #0f172a, #1e293b);
    color: #f8fafc; border: 1px solid rgba(148,163,184,.2);
}
.board-hub-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #38bdf8; }
.board-hub-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 46px); color: #fff; }
.board-hub-lead { margin: 0 0 16px; color: #cbd5e1; max-width: 46ch; line-height: 1.5; }
.board-hub-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.board-hub-count { color: #94a3b8; font-weight: 700; }
.board-hub-cam {
    position: relative; aspect-ratio: 4/3; border-radius: 20px;
    background: #020617; border: 1px solid rgba(148,163,184,.25); overflow: hidden;
}
.board-hub-scan {
    position: absolute; left: 10%; width: 36%; height: 3px; top: 30%;
    background: #38bdf8; box-shadow: 0 0 16px #38bdf8;
}
.board-hub-face {
    position: absolute; width: 54px; height: 66px; border: 2px solid #38bdf8; border-radius: 12px;
    top: 38%; left: 22%;
}
.board-hub-face.is-2 { left: 48%; top: 42%; width: 48px; height: 58px; opacity: .7; }
.board-hub-face.is-3 { left: 68%; top: 36%; width: 44px; height: 54px; opacity: .5; }
.board-hub-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.board-hub-steps article {
    background: #fff; border: 1px solid rgba(15,42,74,.08); border-radius: 16px; padding: 14px;
    box-shadow: 0 8px 22px rgba(15,42,74,.05);
}
.board-hub-steps b { color: #0284c7; font-size: 12px; letter-spacing: .08em; }
.board-hub-steps h3 { margin: 6px 0 4px; font-size: 15px; color: #0f2744; }
.board-hub-steps p { margin: 0; font-size: 13px; color: #64748b; }
.board-hub-list-head { display: flex; justify-content: space-between; align-items: center; }
.board-hub-list-head h2 { margin: 0; color: #0b3a6e; font-size: 20px; }
.board-session-grid { display: grid; gap: 12px; }
.board-session-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
    background: #fff; border: 1px solid rgba(15,42,74,.08); border-radius: 18px; padding: 14px 16px;
    box-shadow: 0 10px 28px rgba(15,42,74,.06);
}
.board-session-ico {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: #e0f2fe; color: #0369a1; font-size: 22px;
}
.board-session-body h3 { margin: 0 0 4px; color: #0f2744; }
.board-session-body p { margin: 0 0 8px; color: #64748b; font-size: 14px; }
.board-session-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.board-session-meta li {
    font-size: 12px; font-weight: 700; color: #64748b; background: #f8fafc;
    border: 1px solid #e2e8f0; border-radius: 999px; padding: 3px 9px;
}
.board-empty {
    text-align: center; padding: 36px 18px; border-radius: 20px;
    border: 1px dashed rgba(15,42,74,.18); background: #f8fafc;
}
.board-empty-ico {
    width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px;
    display: grid; place-items: center; background: #e0f2fe; color: #0369a1; font-size: 28px;
}
.board-empty h3 { margin: 0 0 6px; color: #0b3a6e; }
.board-empty p { margin: 0 0 14px; color: #64748b; max-width: 42ch; margin-inline: auto; }
.board-builder { display: grid; gap: 16px; }
.board-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.board-mode-card {
    display: grid;
    gap: 6px;
    align-content: start;
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.board-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.board-mode-card.is-on,
.board-mode-card:has(input:checked) {
    border-color: #0284c7;
    background: #e0f2fe;
    box-shadow: 0 8px 22px rgba(2, 132, 199, .12);
}
.board-mode-ico {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: #fff; color: #0369a1; font-size: 18px;
    margin-bottom: 4px;
}
.board-mode-card strong { color: #0f2744; font-size: 16px; }
.board-mode-card p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.4; }
.board-mode-chip {
    background: #0369a1 !important;
    color: #fff !important;
}
.board-mode-chip b { color: #fff !important; }
.board-oral.is-live .board-oral-q { color: #fbbf24 !important; }
.board-oral-hint { margin: 8px 0 0; color: #94a3b8 !important; font-size: 13px; font-weight: 600; line-height: 1.4; }
.board-builder-hero {
    padding: 22px; border-radius: 22px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc 55%, #fef3c7);
    border: 1px solid rgba(15,42,74,.08);
}
.board-builder-hero h2 { margin: 0 0 6px; color: #0b3a6e; }
.board-builder-hero > div > p { margin: 0 0 14px; color: #475569; }
.board-builder-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.board-builder-meta .field {
    background: #fff; border-radius: 14px; padding: 10px 12px;
    border: 1px solid rgba(15,42,74,.08);
}
.board-qcard {
    display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px;
}
.board-qcard-num {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: #e0f2fe; color: #0369a1; font-weight: 900;
}
.board-qcard input { border: 0; outline: none; font: inherit; font-weight: 600; width: 100%; color: #0f172a; }
.board-builder-foot {
    position: sticky; bottom: 12px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 16px;
    border: 1px solid rgba(15,42,74,.08); padding: 12px 14px; box-shadow: 0 10px 30px rgba(15,42,74,.1);
}
@media (max-width: 980px) {
    .board-main { grid-template-columns: 1fr; }
    .board-hub-hero { grid-template-columns: 1fr; }
    .board-hub-steps { grid-template-columns: 1fr 1fr; }
    .board-session-card { grid-template-columns: auto 1fr; }
    .board-session-card .btn { grid-column: 1 / -1; }
    .board-builder-meta { grid-template-columns: 1fr; }
    .board-mode-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .board-hub-steps { grid-template-columns: 1fr; }
    .board-grade-row { grid-template-columns: 1fr; }
}

/* QR katılım modalı + öğrenci manuel değerlendirme */
.dialog-backdrop.is-qr-join,
.dialog-backdrop.is-student-review {
    z-index: 1200;
}
.dialog-qr-join,
.dialog-student-review {
    max-width: min(640px, 94vw);
    width: 100%;
    position: relative;
}
.dialog-student-review {
    max-width: min(760px, 96vw);
    max-height: min(88vh, 900px);
    overflow: auto;
}
.dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}
.qr-join-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    margin: 18px 0;
}
.qr-join-canvas-wrap {
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 42, 74, 0.08);
}
.qr-join-pin-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.qr-join-pin-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.qr-join-pin {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    letter-spacing: 0.18em;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}
.qr-join-help {
    background: var(--surface-2, #f4f7fb);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 8px;
}
.qr-join-help p { margin: 0 0 8px; }
.qr-join-help ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 6px;
    color: var(--text);
    font-size: 0.95rem;
}
.review-score-line {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--accent-soft, #eef4fb);
    font-weight: 700;
}
.student-review-list {
    display: grid;
    gap: 10px;
    margin: 0 0 12px;
}
.student-review-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    border-left-width: 4px;
}
.student-review-item.is-ok { border-left-color: var(--ok, #0f8a5f); }
.student-review-item.is-bad { border-left-color: var(--danger, #c44040); }
.student-review-item.is-blank { border-left-color: #c9a227; }
.student-review-item header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 6px;
}
.student-review-item .stem {
    margin: 0 0 6px;
    font-weight: 650;
    white-space: pre-wrap;
}
.student-review-item .plain { margin: 2px 0; font-size: 0.92rem; }
.student-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}
.review-points-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.review-points-input {
    width: 72px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
}
@media (max-width: 640px) {
    .qr-join-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .qr-join-pin-wrap { align-items: center; }
}
