:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-strong: #111827;
    --text: #17202a;
    --muted: #667085;
    --line: #d8dee8;
    --primary: #2f9ee8;
    --primary-dark: #157fc4;
    --blue: #1976d2;
    --amber: #c87800;
    --danger: #c43d3d;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.god-app {
    background: #eef2f6;
}

.god-header {
    border-bottom-color: #bfc9d8;
}

.god-app .market-hero,
.god-app .admin-callout {
    background:
        linear-gradient(110deg, rgba(16, 24, 40, 0.98), rgba(42, 55, 89, 0.96)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px);
}

* {
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
select,
[contenteditable],
[contenteditable] * {
    -webkit-user-select: text;
    user-select: text;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand,
.main-nav,
.button-row,
.meta-row,
.section-row,
.panel-header,
.seller-strip,
.tabs {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
}

.brand-logo {
    width: 68px;
    height: auto;
    flex: 0 0 auto;
}

.main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
    color: #344054;
}

.main-nav a,
.link-button {
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.nav-action {
    padding: 9px 13px;
    color: #ffffff !important;
    background: var(--primary);
    border-radius: 8px;
}

.inline-form {
    margin: 0;
}

.link-button {
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 52px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px clamp(16px, 4vw, 48px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.market-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    min-height: 300px;
    padding: 38px;
    color: #ffffff;
    background:
        linear-gradient(110deg, rgba(17, 24, 39, 0.96), rgba(16, 71, 74, 0.92)),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 18px);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.market-hero.compact {
    min-height: 230px;
}

.hero-product-logo {
    display: grid;
    width: 132px;
    aspect-ratio: 1 / 1;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    overflow: hidden;
}

.hero-product-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-hero h1,
.section-row h1,
.auth-panel h1,
.listing-detail h1,
.chat-summary h1,
.empty-state h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
}

.market-hero .lede {
    max-width: 660px;
    color: #dce9e7;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.market-hero .eyebrow {
    color: #c87800;
}

.lede,
.muted,
small {
    color: var(--muted);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h2 {
    margin: 0 0 14px;
    font-size: 22px;
}

.section-row {
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 18px;
}

.section-row h1,
.section-row h2 {
    margin: 0;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
}

.button.primary {
    color: #ffffff;
    background: var(--primary);
}

.button.primary:hover {
    background: var(--primary-dark);
}

.button.secondary {
    color: var(--text);
    background: #ffffff;
    border-color: var(--line);
}

.button.danger {
    color: #ffffff;
    background: var(--danger);
}

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

.game-grid,
.listing-grid,
.stat-grid,
.soon-grid {
    display: grid;
    gap: 16px;
}

.game-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.game-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    min-height: 120px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.game-art {
    display: grid;
    height: 100%;
    min-height: 120px;
    place-items: center;
    color: #ffffff;
    background: #c43d3d;
    font-size: 30px;
    font-weight: 900;
}

.game-card-body {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.coming-soon {
    margin-top: 36px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.marketplace-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 18px 0 8px;
}

.marketplace-benefits span {
    min-height: 54px;
    padding: 14px 16px;
    color: #0b4a75;
    background: #e8f5ff;
    border: 1px solid #b8def8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
}

.category-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0 8px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    color: #344054;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.category-chip.active {
    color: #ffffff;
    background: var(--surface-strong);
    border-color: var(--surface-strong);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.product-card {
    display: grid;
    gap: 12px;
    min-height: 238px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-card:hover {
    border-color: var(--primary);
}

.product-card.disabled {
    opacity: 0.75;
}

.product-logo-wrap {
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    background: #f1f5f9;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.product-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    display: grid;
    gap: 4px;
}

.product-card-body small {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card-body strong {
    font-size: 17px;
    line-height: 1.25;
}

.product-card-body em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.admin-product-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-product-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f1f5f9;
}

.soon-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 16px;
}

.soon-grid span,
.meta-row span,
.seller-strip span,
.status-pill,
.verified-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    background: #edf2f7;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.listing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.listing-card,
.panel,
.form-card,
.stat-card,
.empty-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.listing-card {
    overflow: hidden;
}

.listing-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #d9e2ec;
}

.listing-thumb.placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
}

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

.listing-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
}

.listing-title-row h2 {
    margin: 0;
    font-size: 18px;
}

.meta-row,
.seller-strip {
    flex-wrap: wrap;
    gap: 8px;
}

.price-line {
    margin: 10px 0 16px;
    color: var(--primary);
    font-size: 28px;
    font-weight: 900;
}

.listing-detail,
.chat-shell,
.form-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
    align-items: start;
}

.listing-detail > div,
.chat-summary {
    min-width: 0;
}

.screenshot-panel {
    display: grid;
    gap: 12px;
}

.screenshot-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #d9e2ec;
}

.seller-strip {
    margin: 22px 0;
}

.blue-tick {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    place-items: center;
    color: #ffffff;
    background: var(--blue);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.verified-badge {
    color: #0b4778;
    background: #e8f2ff;
}

.auth-panel {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(320px, 480px);
    justify-content: center;
    gap: 32px;
    align-items: start;
    padding-top: 40px;
}

.form-card,
.panel,
.stat-card,
.empty-state {
    padding: 22px;
}

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

.stack-form {
    display: grid;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.stack-form:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.form-card label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid #c8d1df;
    border-radius: 8px;
}

textarea {
    resize: none;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-bottom: 24px;
}

.stat-card {
    display: grid;
    gap: 8px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.stat-card strong {
    font-size: 25px;
}

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

.panel-header {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.panel-header a {
    color: var(--primary);
    font-weight: 800;
}

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

.compact-item,
.chat-row {
    display: grid;
    gap: 4px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

a.compact-item:hover,
.chat-row:hover {
    border-color: var(--primary);
}

.chat-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    align-items: center;
}

.chat-shell {
    grid-template-columns: 320px minmax(0, 1fr);
}

.chat-summary,
.chat-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.chat-summary {
    padding: 22px;
}

.chat-panel {
    display: grid;
    min-height: 620px;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.messages {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 20px;
}

.message {
    width: min(78%, 620px);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.message p {
    margin: 6px 0;
}

.message.mine {
    justify-self: end;
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.message.theirs {
    justify-self: start;
    background: #ffffff;
}

.message.system {
    justify-self: center;
    width: min(100%, 620px);
    background: #fff7e8;
    border-color: #ffd392;
}

.message.mine small {
    color: #fff4d6;
}

.message-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: #475467;
    font-size: 13px;
    text-transform: uppercase;
}

td a {
    color: var(--primary);
    font-weight: 800;
}

.status-pill.pending_review,
.status-pill.pending {
    color: #7a4b00;
    background: #fff4d6;
}

.status-pill.approved {
    color: #7a4b00;
    background: #fff4d6;
}

.status-pill.rejected,
.status-pill.cancelled {
    color: #842222;
    background: #ffe5e5;
}

.status-pill.sold {
    color: #0b4778;
    background: #e8f2ff;
}

.status-pill.active {
    color: #0b4778;
    background: #e8f2ff;
}

.status-pill.suspended,
.status-pill.deleted {
    color: #842222;
    background: #ffe5e5;
}

.tabs {
    flex-wrap: wrap;
    gap: 8px;
}

.tabs a {
    padding: 8px 11px;
    color: #475467;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}

.tabs a.active {
    color: #ffffff;
    background: var(--surface-strong);
    border-color: var(--surface-strong);
}

.detail-list {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px 16px;
}

.detail-list dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-list dd {
    margin: 0;
}

.empty-state {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 34px;
}

.admin-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding: 24px;
    color: #ffffff;
    background: var(--surface-strong);
    border-radius: 8px;
}

.admin-callout .eyebrow {
    color: #c87800;
}

.flash {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    font-weight: 800;
}

.flash.success {
    color: #7a4b00;
    background: #fff4d6;
    border-color: #ffd392;
}

.flash.error {
    color: #842222;
    background: #ffe8e8;
    border-color: #ffc6c6;
}

.flash.warning {
    color: #7a4b00;
    background: #fff4d6;
    border-color: #ffe0a6;
}

.status-line {
    margin: 0;
}

.chat-product-head {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.chat-product-head img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.chat-actions,
.chat-closed {
    margin-top: 16px;
}

.chat-actions form {
    display: grid;
    gap: 10px;
}

.chat-closed {
    padding: 12px 14px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
}

.user-action-grid {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.user-action-grid form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-action-grid input {
    min-width: 110px;
}

@media (max-width: 850px) {
    .site-header,
    .site-footer,
    .section-row,
    .admin-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-hero,
    .listing-detail,
    .chat-shell,
    .form-grid,
    .split-grid,
    .auth-panel {
        grid-template-columns: 1fr;
    }

    .market-hero {
        min-height: 260px;
        padding: 26px;
    }

    .market-hero h1,
    .section-row h1,
    .auth-panel h1,
    .listing-detail h1,
    .chat-summary h1,
    .empty-state h1 {
        font-size: 32px;
    }

    .field-row,
    .message-form,
    .chat-row,
    .detail-list {
        grid-template-columns: 1fr;
    }

    .message {
        width: 100%;
    }
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-row input {
    margin-top: 0.25rem;
}

/* Modern God workspace */
:root {
    color-scheme: dark;
    --bg: #0b0c0a;
    --surface: #131411;
    --surface-strong: #1b1c18;
    --surface-raised: #20211c;
    --text: #f5f3eb;
    --muted: #999b92;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.15);
    --primary: #ffc533;
    --primary-dark: #e7ae1d;
    --blue: #62a9ff;
    --amber: #ffc533;
    --danger: #ef7777;
    --success: var(--primary);
    --shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
    --sidebar-width: 264px;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--bg);
}

body.god-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 74% -20%, rgba(255, 197, 51, 0.055), transparent 31%),
        var(--bg);
    color: var(--text);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.god-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.god-app svg:not(.god-icon-sprite) {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.god-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.god-sidebar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-width: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow-y: auto;
    padding: 18px 14px 14px;
    border-right: 1px solid var(--line);
    background: rgba(15, 16, 13, 0.98);
}

.god-sidebar__header {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 14px;
}

.god-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.god-brand__mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid rgba(255, 197, 51, 0.18);
    border-radius: 11px;
    background: rgba(255, 197, 51, 0.07);
}

.god-brand__mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.god-brand > span:last-child,
.god-admin-card > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.god-brand strong {
    color: var(--text);
    font-size: 14px;
    letter-spacing: -0.01em;
}

.god-brand small {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.god-sidebar__close,
.god-topbar__menu {
    width: 38px;
    height: 38px;
    display: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
}

.god-nav {
    display: grid;
    align-content: start;
    gap: 4px;
    padding-top: 12px;
}

.god-nav__label {
    margin: 0 10px 7px;
    color: #65675f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.god-nav__label--manage {
    margin-top: 18px;
}

.god-nav__item,
.god-nav__utility {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #b5b6ae;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    text-align: left;
    transition: 150ms ease;
    cursor: pointer;
}

.god-nav__item svg,
.god-nav__utility svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.god-nav__item:hover,
.god-nav__utility:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.god-nav__item.is-active {
    border-color: rgba(255, 197, 51, 0.12);
    background: rgba(255, 197, 51, 0.1);
    color: var(--primary);
}

.god-sidebar__footer {
    display: grid;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.god-sidebar__footer form {
    margin: 0;
}

.god-sidebar__footer .god-nav__utility {
    width: 100%;
}

.god-admin-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 8px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
}

.god-admin-card__avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 197, 51, 0.11);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.god-admin-card strong {
    overflow: hidden;
    color: var(--text);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.god-admin-card small {
    color: var(--muted);
    font-size: 9px;
}

.god-admin-card__status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(255, 197, 51, 0.09);
}

.god-stage {
    min-width: 0;
}

.god-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 12, 10, 0.86);
    backdrop-filter: blur(18px);
}

.god-topbar__title {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.god-topbar__title small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.god-topbar__title strong {
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.god-topbar__security {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 0 10px;
    border: 1px solid rgba(255, 197, 51, 0.13);
    border-radius: 999px;
    background: rgba(255, 197, 51, 0.05);
    color: var(--primary);
    font-size: 10px;
    font-weight: 650;
}

.god-topbar__security svg {
    width: 15px !important;
    height: 15px !important;
}

.god-app .page-shell {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 30px 32px 64px;
}

.god-app .eyebrow {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.god-app h1,
.god-app h2,
.god-app h3 {
    color: var(--text);
    letter-spacing: -0.025em;
}

.god-app h2 {
    font-size: 17px;
}

.god-app .muted,
.god-app small {
    color: var(--muted);
}

.section-row {
    min-height: 70px;
    align-items: end;
    margin: 0 0 22px;
}

.section-row h1,
.listing-detail h1,
.empty-state h1 {
    color: var(--text);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 760;
    letter-spacing: -0.04em;
}

.section-row__lede {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.button,
button.button {
    min-height: 42px;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 750;
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button svg {
    width: 17px !important;
    height: 17px !important;
}

.button.primary {
    color: #211900;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(255, 197, 51, 0.1);
}

.button.primary:hover {
    background: #ffd15b;
    transform: translateY(-1px);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--line);
}

.button.secondary:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.06);
}

.button.danger {
    color: #ffdcdc;
    background: rgba(239, 119, 119, 0.11);
    border-color: rgba(239, 119, 119, 0.2);
}

.panel,
.form-card,
.stat-card,
.empty-state,
.table-wrap,
.chat-summary,
.chat-panel,
.workspace-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: none;
}

.panel,
.form-card,
.empty-state,
.workspace-card {
    padding: 20px;
}

.form-card {
    gap: 18px;
}

.form-card label,
.message-form label {
    gap: 7px;
    color: #b9bab2;
    font-size: 10px;
    font-weight: 650;
}

.god-app input,
.god-app select,
.god-app textarea {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: 0;
    background: #1a1b17;
    color: var(--text);
    font-size: 12px;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.god-app input::placeholder,
.god-app textarea::placeholder {
    color: #666860;
}

.god-app input:focus,
.god-app select:focus,
.god-app textarea:focus {
    border-color: rgba(255, 197, 51, 0.48);
    background: #1e1f1a;
    box-shadow: 0 0 0 3px rgba(255, 197, 51, 0.07);
}

.god-app textarea {
    resize: none;
}

.god-app fieldset {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.god-app legend {
    padding: 0 6px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.god-app input[type="checkbox"],
.god-app input[type="radio"] {
    width: 16px;
    min-height: 16px;
    accent-color: var(--primary);
}

.stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.stat-card {
    position: relative;
    min-height: 156px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    gap: 4px 12px;
    padding: 18px;
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

a.stat-card:hover {
    border-color: rgba(255, 197, 51, 0.2);
    background: #161713;
    transform: translateY(-2px);
}

.stat-card__icon {
    width: 38px;
    height: 38px;
    display: grid !important;
    grid-column: 2;
    grid-row: 1 / span 2;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255, 197, 51, 0.13);
    border-radius: 10px;
    background: rgba(255, 197, 51, 0.07) !important;
    color: var(--primary) !important;
}

.stat-card__icon svg {
    width: 18px !important;
    height: 18px !important;
}

.stat-card > span:not(.stat-card__icon) {
    grid-column: 1;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
}

.stat-card strong {
    grid-column: 1;
    color: var(--text);
    font-size: 29px;
    font-weight: 760;
    letter-spacing: -0.04em;
}

.stat-card > small {
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 17px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    font-size: 9px;
}

.split-grid,
.form-grid,
.listing-detail {
    gap: 16px;
}

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

.panel-header {
    margin-bottom: 16px;
}

.panel-header h2 {
    margin: 0;
}

.panel-header a,
.table-wrap td a {
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
}

.compact-list {
    gap: 7px;
}

.compact-item,
.chat-row {
    min-width: 0;
    display: grid;
    align-items: center;
    gap: 11px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.compact-item {
    grid-template-columns: minmax(0, 1fr);
}

.admin-dashboard .compact-item {
    grid-template-columns: 36px minmax(0, 1fr) auto;
}

a.compact-item:hover,
.chat-row:hover {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.admin-dashboard .compact-item > span:not(.compact-item__avatar):not(.compact-item__arrow) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.compact-item strong,
.compact-item > span:first-child:not(.compact-item__avatar) {
    overflow: hidden;
    color: var(--text);
    font-size: 11px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-item small {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-item__avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 197, 51, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.compact-item__arrow {
    color: #777970;
}

.dashboard-empty {
    min-height: 190px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px dashed var(--line);
    border-radius: 11px;
    color: var(--muted);
    text-align: center;
}

.dashboard-empty > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 50%;
    background: rgba(255, 197, 51, 0.07);
    color: var(--success);
}

.dashboard-empty strong {
    color: var(--text);
    font-size: 11px;
}

.dashboard-empty small {
    font-size: 9px;
}

.admin-dashboard__hero {
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 197, 51, 0.13);
    border-radius: 15px;
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 197, 51, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(255, 197, 51, 0.045), transparent 48%),
        var(--surface);
}

.admin-dashboard__hero h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 770;
    letter-spacing: -0.045em;
}

.admin-dashboard__hero p:last-child {
    max-width: 670px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.table-wrap {
    overflow: auto;
}

.god-app table {
    min-width: 720px;
}

.god-app th,
.god-app td {
    padding: 13px 15px;
    border-bottom-color: var(--line);
}

.god-app th {
    color: #777970;
    background: rgba(255, 255, 255, 0.015);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.god-app td {
    color: #c5c6be;
    font-size: 11px;
}

.god-app tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.status-pill,
.verified-badge,
.meta-row span,
.seller-strip span,
.soon-grid span {
    min-height: 26px;
    padding: 4px 8px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
    color: #bcbdb5;
    font-size: 9px;
}

.status-pill.pending_review,
.status-pill.pending {
    border-color: rgba(255, 197, 51, 0.17);
    background: rgba(255, 197, 51, 0.07);
    color: #e5c566;
}

.status-pill.approved,
.status-pill.active {
    border-color: rgba(255, 197, 51, 0.16);
    background: rgba(255, 197, 51, 0.07);
    color: var(--primary);
}

.status-pill.rejected,
.status-pill.cancelled,
.status-pill.suspended,
.status-pill.deleted {
    border-color: rgba(239, 119, 119, 0.17);
    background: rgba(239, 119, 119, 0.07);
    color: #e6a0a0;
}

.tabs {
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
}

.tabs a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
}

.tabs a.active {
    background: rgba(255, 197, 51, 0.11);
    color: var(--primary);
}

.detail-list {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 11px 16px;
    margin: 0;
}

.detail-list dt {
    color: var(--muted);
    font-size: 10px;
}

.detail-list dd {
    color: var(--text);
    font-size: 11px;
}

.listing-type-toggle {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0f100e;
}

.listing-type-toggle label {
    min-height: 36px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: var(--muted);
    cursor: pointer;
}

.listing-type-toggle label.is-active {
    background: rgba(255, 197, 51, 0.11);
    color: var(--primary);
}

.listing-type-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.game-card,
.product-card,
.listing-card,
.chat-summary,
.chat-panel {
    border-color: var(--line);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: none;
}

.admin-product-logo,
.screenshot-panel img,
.chat-product-head img {
    border-color: var(--line);
    border-radius: 10px;
    background: var(--surface-strong);
}

.price-line {
    color: var(--primary);
}

.chat-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    border-color: var(--line);
}

.chat-row > span {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-row strong {
    color: var(--text);
}

.message.mine {
    color: #201900;
    background: var(--primary);
    border-color: var(--primary);
}

.message.theirs,
.message.system,
.chat-closed {
    border-color: var(--line);
    background: var(--surface-strong);
}

.workspace-card__head,
.chat-thread-panel__header,
.chat-admin-review-hero__row,
.workspace-delivery-version__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.workspace-card__head h2,
.chat-thread-panel__header h2 {
    margin: 4px 0 0;
}

.workspace-asset-breadcrumb {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.chat-shell--admin-review {
    display: block;
}

.chat-panel--admin-review {
    display: block;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.chat-admin-review-hero {
    margin-bottom: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.chat-admin-review-hero h1 {
    margin: 6px 0;
    font-size: 25px;
}

.workspace-asset-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: var(--muted);
    font-size: 9px;
}

.chat-admin-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 16px;
}

.chat-admin-review-main,
.chat-admin-review-side,
.workspace-proof-summary,
.workspace-delivery-timeline,
.workspace-stat-stack {
    display: grid;
    gap: 12px;
}

.chat-admin-review-side {
    position: sticky;
    top: 84px;
}

.workspace-delivery-version,
.workspace-proof-summary > div,
.workspace-stat-stack > div,
.workspace-note-panel,
.chat-note-card {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.workspace-proof-summary span,
.workspace-stat-stack span,
.workspace-delivery-row > span {
    color: var(--muted);
    font-size: 9px;
}

.workspace-proof-summary strong,
.workspace-stat-stack strong,
.workspace-delivery-version strong {
    color: var(--text);
    font-size: 11px;
}

.workspace-stat-stack > div {
    display: grid;
    gap: 5px;
}

.workspace-status-pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.workspace-proof-summary p,
.workspace-delivery-version p,
.workspace-note-panel p,
.chat-note-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.workspace-delivery-rows {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.workspace-delivery-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
}

.workspace-empty {
    min-height: 120px;
    display: grid;
    place-content: center;
    text-align: center;
}

.workspace-asset-summary-media img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.settings-grid {
    align-items: stretch;
}

.settings-profile-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
}

.settings-profile-card__avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 197, 51, 0.1);
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.settings-profile-card h2,
.settings-security-card h2 {
    margin: 0;
}

.settings-profile-card p:last-child,
.settings-security-card p:last-child {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.settings-security-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
}

.settings-security-card__icon,
.auth-card__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 197, 51, 0.15);
    border-radius: 12px;
    background: rgba(255, 197, 51, 0.07);
    color: var(--primary);
}

.settings-security-card .detail-list {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.god-flash-region {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    width: min(390px, calc(100vw - 32px));
    display: grid;
    gap: 8px;
}

.god-flash-region:empty {
    display: none;
}

.god-app .flash {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: rgba(29, 30, 26, 0.97);
    color: var(--text);
    box-shadow: var(--shadow);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.god-app .flash.success,
.god-app .flash.error,
.god-app .flash.warning {
    color: var(--text);
    background: rgba(29, 30, 26, 0.97);
}

.god-app .flash.success { border-color: rgba(255, 197, 51, 0.2); }
.god-app .flash.error { border-color: rgba(239, 119, 119, 0.22); }
.god-app .flash.warning { border-color: rgba(255, 197, 51, 0.22); }

.god-app .flash.is-dismissing {
    opacity: 0;
    transform: translateY(8px);
}

.god-guest-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 54px);
    border-bottom: 1px solid var(--line);
}

.god-guest-header__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
}

.god-guest-header__link svg {
    width: 15px !important;
    height: 15px !important;
}

.god-app .page-shell--auth {
    width: 100%;
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 34px;
}

.auth-panel {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 430px);
    align-items: stretch;
    gap: 14px;
    padding: 0;
}

.auth-panel__story,
.auth-card {
    min-height: 520px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.auth-panel__story {
    position: relative;
    display: grid;
    align-content: space-between;
    overflow: hidden;
    padding: 36px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 197, 51, 0.14), transparent 28%),
        linear-gradient(145deg, rgba(255, 197, 51, 0.055), transparent 55%),
        var(--surface);
}

.auth-panel__story::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 197, 51, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 197, 51, 0.018), 0 0 0 110px rgba(255, 197, 51, 0.012);
}

.auth-panel__badge {
    width: max-content;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255, 197, 51, 0.14);
    border-radius: 999px;
    background: rgba(255, 197, 51, 0.06);
    color: #d9bd69;
    font-size: 9px;
    font-weight: 700;
}

.auth-panel__badge svg {
    width: 14px !important;
    height: 14px !important;
}

.auth-panel__story h1 {
    max-width: 510px;
    margin: 0;
    font-size: clamp(34px, 4.6vw, 50px);
    font-weight: 770;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.auth-panel__lede {
    max-width: 500px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.auth-panel__trust {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    align-items: center;
}

.auth-panel__trust > span {
    display: grid;
    gap: 3px;
}

.auth-panel__trust strong {
    font-size: 10px;
}

.auth-panel__trust small {
    font-size: 9px;
}

.auth-panel__trust i {
    height: 1px;
    margin: 0 8px;
    background: linear-gradient(90deg, transparent, rgba(255, 197, 51, 0.5), transparent);
}

.auth-card {
    display: grid;
    align-content: center;
    padding: 36px;
    background: rgba(19, 20, 17, 0.94);
    box-shadow: var(--shadow);
}

.auth-card__progress {
    display: grid;
    grid-template-columns: 24px 48px 24px;
    align-items: center;
    margin-bottom: 28px;
}

.auth-card__progress span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
}

.auth-card__progress span.is-complete,
.auth-card__progress span.is-active {
    border-color: rgba(255, 197, 51, 0.34);
    background: rgba(255, 197, 51, 0.1);
    color: var(--primary);
}

.auth-card__progress i {
    height: 1px;
    background: rgba(255, 197, 51, 0.22);
}

.auth-card__head {
    display: grid;
    justify-items: start;
}

.auth-card__icon {
    margin-bottom: 18px;
}

.auth-card__head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 760;
}

.auth-card__head > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.auth-card__head > p strong {
    color: var(--text);
    font-weight: 600;
}

.auth-card__form {
    gap: 16px;
    margin-top: 24px;
    padding: 0;
    border: 0;
}

.auth-card__form .button {
    width: 100%;
    margin-top: 2px;
}

.god-otp-label {
    gap: 11px !important;
}

.god-otp-field {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    cursor: text;
}

.god-app .god-otp-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: transparent;
    caret-color: transparent;
    opacity: 0.02;
}

.god-otp-field > span {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-bottom: 2px solid var(--line-strong);
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    transition: border-color 150ms ease;
}

.god-otp-field:focus-within > span.is-active {
    border-color: var(--primary);
}

.god-otp-field > span.is-filled {
    border-color: rgba(255, 197, 51, 0.42);
}

.auth-card__hint {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.auth-card__secondary-form {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.auth-card__text-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
}

.auth-card__text-button:hover {
    color: var(--text);
}

.god-sidebar-scrim[hidden] {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.table-actions--review {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 260px;
}

.table-actions--review form {
    margin: 0;
}

.button--compact,
button.button--compact {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 12px;
    white-space: nowrap;
}

.verification-table-wrap {
    overflow: hidden;
}

.verification-table {
    min-width: 760px;
}

.verification-row {
    cursor: pointer;
    transition: background 150ms ease;
}

.verification-row:hover,
.verification-row:focus-visible,
.verification-row.is-expanded {
    outline: 0;
    background: rgba(255, 197, 51, 0.035);
}

.verification-row.is-expanded td {
    border-bottom-color: transparent;
}

.verification-row__identity {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
}

.verification-row__avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 197, 51, 0.12);
    border-radius: 10px;
    background: rgba(255, 197, 51, 0.07);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.verification-row__identity > span:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.verification-row__identity strong,
.verification-row__identity small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verification-row__identity strong {
    color: var(--text);
    font-size: 11px;
}

.verification-row__identity small {
    font-size: 9px;
}

.verification-row__chevron {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 16px;
    transition: transform 150ms ease, color 150ms ease, border-color 150ms ease;
}

.verification-row.is-expanded .verification-row__chevron {
    transform: rotate(180deg);
    border-color: rgba(255, 197, 51, 0.18);
    color: var(--primary);
}

.verification-detail-row[hidden] {
    display: none;
}

.verification-detail-row > td {
    padding: 0 12px 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 197, 51, 0.035);
}

.verification-expand-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #10110e;
}

.verification-expand-panel__details,
.verification-review-form {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
}

.verification-expand-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.verification-expand-panel h2 {
    margin: 0;
    font-size: 16px;
}

.verification-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.verification-detail-grid > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
}

.verification-detail-grid dt {
    color: var(--muted);
    font-size: 9px;
}

.verification-detail-grid dd {
    overflow: hidden;
    margin: 0;
    color: var(--text);
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verification-file-actions {
    padding-top: 2px;
}

.verification-review-form {
    display: grid;
    align-content: start;
    gap: 15px;
}

.verification-review-form label {
    display: grid;
    gap: 7px;
    color: #b9bab2;
    font-size: 10px;
    font-weight: 650;
}

.form-optional {
    margin-left: 5px;
    color: #73766e;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.verification-review-form textarea {
    min-height: 116px;
    resize: none;
}

.verification-review-form .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

    .chat-admin-review-layout {
        grid-template-columns: 1fr;
    }

    .chat-admin-review-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .verification-expand-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .god-shell {
        display: block;
    }

    .god-sidebar {
        position: fixed;
        left: 0;
        transform: translateX(-102%);
        width: min(292px, calc(100vw - 46px));
        transition: transform 190ms ease;
        box-shadow: 24px 0 70px rgba(0, 0, 0, 0.48);
    }

    .god-shell.is-nav-open .god-sidebar {
        transform: translateX(0);
    }

    .god-sidebar__close,
    .god-topbar__menu {
        display: grid;
    }

    .god-sidebar-scrim {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: block;
        border: 0;
        background: rgba(0, 0, 0, 0.62);
        backdrop-filter: blur(3px);
    }

    .god-topbar {
        min-height: 62px;
        padding: 0 14px;
    }

    .god-app .page-shell {
        padding: 20px 16px 52px;
    }

    .section-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-row .tabs {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .auth-panel {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .auth-panel__story {
        min-height: 250px;
        padding: 28px;
    }

    .auth-panel__story h1 {
        max-width: 430px;
        font-size: 34px;
    }

    .auth-panel__trust {
        display: none;
    }

    .auth-card {
        min-height: 440px;
    }
}

@media (max-width: 680px) {
    .god-topbar__security span {
        display: none;
    }

    .god-topbar__security {
        width: 32px;
        padding: 0;
        justify-content: center;
    }

    .admin-dashboard__hero {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .admin-dashboard__hero .button {
        width: 100%;
    }

    .stat-grid,
    .split-grid,
    .form-grid,
    .listing-detail,
    .chat-admin-review-side {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 140px;
    }

    .field-row,
    .message-form,
    .chat-row,
    .detail-list,
    .workspace-delivery-row {
        grid-template-columns: 1fr;
    }

    .settings-profile-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .settings-profile-card__avatar {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

    .settings-profile-card .status-pill {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .god-guest-header {
        min-height: 62px;
        padding: 0 14px;
    }

    .god-guest-header__link {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 10px;
        font-size: 0;
    }

    .god-app .page-shell--auth {
        min-height: calc(100vh - 62px);
        padding: 14px;
    }

    .auth-panel__story {
        display: none;
    }

    .auth-card {
        min-height: min(590px, calc(100vh - 90px));
        padding: 26px 20px;
        border-radius: 15px;
    }

    .god-flash-region {
        top: 5px;
        right: 5px;
        bottom: auto;
        width: min(390px, calc(100vw - 10px));
    }

    .verification-table-wrap {
        overflow: hidden;
    }

    .verification-table {
        min-width: 0;
    }

    .verification-table th:nth-child(2),
    .verification-table th:nth-child(3),
    .verification-table th:nth-child(4),
    .verification-row > td:nth-child(2),
    .verification-row > td:nth-child(3),
    .verification-row > td:nth-child(4) {
        display: none;
    }

    .verification-row > td {
        padding: 11px;
    }

    .verification-detail-row > td {
        padding: 0 8px 8px;
    }

    .verification-expand-panel,
    .verification-expand-panel__details,
    .verification-review-form {
        padding: 12px;
    }

    .verification-detail-grid,
    .verification-review-form .button-row {
        grid-template-columns: 1fr;
    }
}
