:root {
    color-scheme: light;
    --bg: #f2f5f8;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #dde5ef;
    --accent: #0f9f8f;
    --accent-dark: #08756c;
    --gold: #f2b84b;
    --danger: #e14d5a;
    --panel: #111827;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
}

button {
    border: 0;
    font: inherit;
}

.app-shell {
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 16px 14px 30px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0 14px;
}

.eyebrow {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 13px;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: 27px;
    line-height: .96;
    letter-spacing: 0;
}

.user-card {
    flex: 0 1 218px;
    min-width: 176px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.user-meta {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.user-meta strong,
.user-meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-meta strong {
    font-size: 13px;
    line-height: 1.15;
}

.user-meta span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.2;
}

.user-meta b {
    color: var(--ink);
    font-weight: 800;
}

.hero {
    min-height: 164px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
    padding: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18);
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 18px 14px 18px;
    height: 3px;
    border-radius: 999px;
    background: #0f9f8f;
}

.hero-copy {
    max-width: 330px;
    color: #ffffff;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.hero-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: var(--gold);
    color: #3a2800;
    font-weight: 900;
    text-shadow: none;
}

.hero h2 {
    font-size: 26px;
    line-height: 1.08;
    margin-bottom: 8px;
}

.hero p {
    font-size: 14px;
    line-height: 1.45;
}

.products-section {
    padding-top: 22px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
}

.quick-actions a {
    min-height: 58px;
    display: grid;
    align-content: center;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
    padding: 10px 12px;
}

.quick-actions span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.quick-actions strong {
    font-size: 16px;
    line-height: 1.1;
}

.quick-actions .primary {
    border-color: #badfdc;
    background: #e7f7f5;
    color: #075e57;
}

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

.section-head h2 {
    font-size: 20px;
}

.section-head span {
    color: var(--muted);
    font-size: 13px;
}

.back-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(32, 42, 65, .07);
}

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

.category-card {
    position: relative;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    --card-accent: #0f9f8f;
    --icon-bg: #e7f7f5;
    --icon-fg: #08756c;
}

.category-card::before {
    content: "";
    height: 4px;
    border-radius: 999px;
    background: var(--card-accent);
}

.category-pubg {
    --card-accent: #f2b84b;
    --icon-bg: #fff3d0;
    --icon-fg: #7a4e00;
}

.category-mobile-legends {
    --card-accent: #3578e5;
    --icon-bg: #e5efff;
    --icon-fg: #1f5cb8;
}

.category-genshin-impact {
    --card-accent: #42b883;
    --icon-bg: #e6f7ee;
    --icon-fg: #157347;
}

.category-telegram-stars {
    --card-accent: #25a6f7;
    --icon-bg: #e2f4ff;
    --icon-fg: #0877b8;
}

.category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--icon-bg);
    color: var(--icon-fg);
    font-size: 18px;
    font-weight: 900;
}

.category-card strong {
    font-size: 18px;
    line-height: 1.15;
}

.category-card em {
    align-self: flex-start;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff1cc;
    color: #865700;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-list {
    display: grid;
    gap: 12px;
}

.product-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    min-height: 112px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.product-art {
    width: 70px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #eff6f5;
    color: var(--accent-dark);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    line-height: 1.05;
}

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

.product-info {
    min-width: 0;
}

.product-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}

.product-title-row h3 {
    min-width: 0;
    font-size: 16px;
    line-height: 1.2;
}

.badge {
    flex: 0 0 auto;
    max-width: 92px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff1cc;
    color: #865700;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.product-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.price-box {
    display: grid;
    gap: 2px;
}

.old-price {
    color: var(--danger);
    font-size: 12px;
    text-decoration: line-through;
}

.price-box strong {
    font-size: 17px;
    line-height: 1.1;
}

.product-bottom button,
.buy-button {
    flex: 0 0 auto;
    min-width: 82px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.wide {
    width: 100%;
}

.plain-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.center {
    display: block;
    text-align: center;
}

.order-panel,
.success-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(32, 42, 65, .08);
}

.order-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-product h2,
.success-panel h1 {
    font-size: 22px;
    line-height: 1.15;
}

.order-product p,
.success-panel p {
    margin-top: 4px;
    color: var(--muted);
}

.order-form {
    display: grid;
    gap: 12px;
}

.order-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.order-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.order-form button {
    min-height: 46px;
    border-radius: 8px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 900;
}

.alert {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff1cc;
    color: #765000;
    font-size: 13px;
    font-weight: 700;
}

.success-panel {
    margin-top: 16px;
    text-align: center;
}

.success-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 8px;
    background: #dbf7ee;
    color: #08745a;
    font-weight: 900;
}

.orders-section {
    padding-top: 20px;
}

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

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.order-row div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.order-row strong,
.order-row span,
.order-row small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-row strong {
    font-size: 14px;
}

.order-row span,
.order-row small {
    color: var(--muted);
    font-size: 12px;
}

.status {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2f8;
    color: #4c5d78;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.status-processing,
.status-pending {
    background: #fff1cc;
    color: #865700;
}

.status-completed {
    background: #dbf7ee;
    color: #08745a;
}

.status-failed,
.status-refunded {
    background: #ffe1e5;
    color: #a42333;
}

.admin-shell {
    background: #f4f6fb;
}

.admin-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0 16px;
}

.admin-top h1 {
    font-size: 25px;
    line-height: 1.1;
}

.admin-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(32, 42, 65, .07);
}

.admin-filter input,
.admin-filter select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

.admin-filter button,
.price-form button {
    min-height: 42px;
    border-radius: 8px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 900;
}

.admin-product-list {
    display: grid;
    gap: 12px;
}

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

.admin-menu-card {
    min-height: 138px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(32, 42, 65, .08);
}

.admin-menu-card strong {
    font-size: 18px;
    line-height: 1.16;
}

.admin-menu-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-product-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(32, 42, 65, .08);
}

.admin-product-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.admin-product-head div {
    min-width: 0;
}

.admin-product-head span,
.admin-product-meta span,
.price-form span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-product-head h2 {
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.18;
}

.admin-product-head em {
    flex: 0 0 auto;
    height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.admin-product-head em.on {
    background: #dbf7ee;
    color: #08745a;
}

.admin-product-head em.off {
    background: #ffe1e5;
    color: #a42333;
}

.admin-product-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-product-meta div {
    min-width: 0;
    padding: 10px;
    border-radius: 8px;
    background: #f7f9fc;
}

.admin-product-meta strong {
    display: block;
    min-width: 0;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

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

.price-form label {
    display: grid;
    gap: 6px;
}

.price-form input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-size: 17px;
    font-weight: 800;
}

.switch-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 36px;
}

.switch-row input {
    width: 24px;
    height: 24px;
}

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

.admin-user-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(32, 42, 65, .07);
}

.admin-user-row div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.admin-user-row strong,
.admin-user-row small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-row strong {
    font-size: 15px;
}

.admin-user-row small {
    color: var(--muted);
    font-size: 12px;
}

.admin-user-row em {
    color: var(--accent-dark);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.admin-user-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(32, 42, 65, .08);
}

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

.danger-button {
    background: var(--danger) !important;
}

.empty-state {
    padding: 24px;
    border: 1px dashed #c8d0df;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--muted);
    line-height: 1.45;
}

.message-stack {
    display: grid;
    gap: 8px;
    margin: 14px 0;
}

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

.message.success {
    border-color: rgba(15, 159, 143, .28);
    background: #eafaf7;
    color: var(--accent-dark);
}

.message.error {
    border-color: rgba(225, 77, 90, .28);
    background: #fff0f2;
    color: #a7192a;
}

.payment-instruction,
.topup-form-card,
.history-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(32, 42, 65, .08);
}

.section-head.compact {
    margin-bottom: 0;
}

.section-head.compact h2 {
    font-size: 20px;
}

.payment-amount {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 8px;
    background: var(--panel);
    color: #ffffff;
}

.payment-amount span,
.payment-details span,
.topup-form span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.payment-amount strong {
    font-size: 30px;
    line-height: 1.05;
}

.payment-timer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(15, 159, 143, .26);
    border-radius: 8px;
    background: #e9fbf8;
}

.payment-timer span {
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
}

.payment-timer strong {
    color: var(--accent-dark);
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.payment-timer.is-urgent {
    border-color: #f4d486;
    background: #fff8df;
}

.payment-timer.is-urgent span,
.payment-timer.is-urgent strong {
    color: #805400;
}

.payment-timer.is-expired {
    border-color: rgba(225, 77, 90, .3);
    background: #fff0f2;
}

.payment-timer.is-expired span,
.payment-timer.is-expired strong {
    color: #a7192a;
}

.payment-details {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.payment-details strong {
    font-size: 20px;
}

.copy-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.copy-line strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-card-button {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.copy-card-button.is-copied {
    background: var(--panel);
}

.payment-details small,
.payment-note {
    color: var(--muted);
    line-height: 1.45;
}

.payment-warning {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #f4d486;
    border-radius: 8px;
    background: #fff8df;
}

.payment-warning strong {
    color: #805400;
    font-size: 14px;
}

.payment-warning span {
    color: #8a650f;
    font-size: 13px;
    line-height: 1.45;
}

.payment-help {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.payment-help p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.plain-action-button {
    display: inline-grid;
    place-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--panel);
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
}

.topup-form {
    display: grid;
    gap: 12px;
}

.pay-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pay-method {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.pay-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pay-method span {
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.pay-method small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.pay-method:has(input:checked) {
    border-color: var(--accent);
    background: #e9fbf8;
    box-shadow: inset 0 0 0 1px rgba(15, 159, 143, .28);
}

.pay-method.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

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

.pay-card-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.pay-card-option[hidden] {
    display: none !important;
}

.pay-card-option input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
}

.pay-card-option label {
    min-width: 0;
    display: grid;
    gap: 3px;
    cursor: pointer;
}

.pay-card-option strong,
.pay-card-option small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pay-card-option strong {
    font-size: 15px;
}

.pay-card-option small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.pay-card-option .copy-card-button {
    min-height: 32px;
    padding-inline: 9px;
}

.pay-card-option em,
.card-type-pill {
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff2c7;
    color: #805400;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.pay-card-option:has(input:checked) {
    border-color: var(--accent);
    background: #f4fffd;
}

.topup-form label {
    display: grid;
    gap: 6px;
}

.topup-form input,
.topup-form select {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-weight: 800;
}

.payment-history {
    display: grid;
    gap: 8px;
}

.payment-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.payment-row div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.payment-row strong,
.payment-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.payment-row em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.payment-row .status-paid {
    background: #dff8f2;
    color: var(--accent-dark);
}

.payment-row .status-pending {
    background: #fff2c7;
    color: #8a5b00;
}

.payment-row .status-expired,
.payment-row .status-canceled,
.payment-row .status-conflict {
    background: #ffe8ec;
    color: #a7192a;
}

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

.admin-payment-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.admin-payment-card.is-off {
    opacity: .62;
}

.admin-payment-card > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-payment-card strong,
.admin-payment-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-payment-card strong {
    font-size: 16px;
}

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

.status-toggle {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--panel);
    color: #ffffff;
    font-weight: 900;
}

.admin-payment-card.is-off .status-toggle {
    background: var(--danger);
}

@media (max-width: 360px) {
    .app-shell {
        padding-inline: 10px;
    }

    .top-bar {
        gap: 8px;
    }

    h1 {
        font-size: 23px;
    }

    .eyebrow {
        font-size: 12px;
    }

    .user-card {
        min-width: 154px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 7px;
        padding: 7px;
    }

    .avatar {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .user-meta strong {
        font-size: 12px;
    }

    .user-meta span {
        font-size: 10px;
    }

    .product-card {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .product-art {
        width: 66px;
        height: 88px;
        font-size: 19px;
    }

    .product-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .product-bottom button {
        width: 100%;
    }

    .buy-button {
        width: 100%;
    }

    .category-grid {
        gap: 10px;
    }

    .category-card {
        min-height: 122px;
        padding: 11px;
    }

    .category-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .category-card strong {
        font-size: 15px;
    }

    .admin-menu-grid {
        gap: 10px;
    }

    .admin-menu-card {
        min-height: 128px;
        padding: 11px;
    }

    .admin-menu-card strong {
        font-size: 15px;
    }

    .pay-card-option {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .pay-card-option em {
        display: none;
    }
}
