:root {
    --blue-900: #7f1018;
    --blue-800: #a91621;
    --blue-700: #d9272e;
    --blue-500: #f28c18;
    --green-500: #ffc928;
    --green-600: #e88812;
    --amber-400: #ffd95a;
    --ink: #2a1512;
    --muted: #7a5f5a;
    --line: #f2ded6;
    --surface: #ffffff;
    --soft: #fff8ef;
    --danger: #c62845;
    --success: #0f8f5d;
    --shadow: 0 10px 28px rgba(127, 16, 24, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #e8e8e6;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a,
.product-card,
.menu-list a,
.admin-request-card,
.my-product-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.app-frame {
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--surface);
    overflow-x: hidden;
    position: relative;
    padding: 0 14px 86px;
}

.auth-page .app-frame {
    padding: 18px 16px 40px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 201, 40, 0.22), transparent 28%),
        linear-gradient(180deg, #fff4df 0%, #ffffff 42%);
}

.maintenance-page {
    background: #ffffff;
}

.maintenance-page .app-frame {
    width: 100%;
    max-width: none;
    display: grid;
    place-items: center;
    padding: 32px 18px;
    background: #ffffff;
}

.maintenance-page .whatsapp-float,
.maintenance-page .page-loading,
.maintenance-page .success-modal,
.maintenance-page .copy-toast {
    display: none;
}

.maintenance-panel {
    width: min(100%, 520px);
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.maintenance-illustration {
    position: relative;
    width: 220px;
    height: 132px;
    margin-bottom: 8px;
}

.maintenance-worker {
    position: absolute;
    left: 84px;
    top: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffbd48;
}

.maintenance-worker::before {
    content: "";
    width: 28px;
    height: 16px;
    border-radius: 16px 16px 4px 4px;
    background: #ffffff;
    box-shadow: 0 12px 0 -2px #2a1512;
}

.maintenance-screen {
    position: absolute;
    left: 55px;
    top: 54px;
    width: 110px;
    height: 62px;
    border-radius: 8px 8px 3px 3px;
    background: #fff4df;
    box-shadow: inset 0 0 0 8px #f2c58b;
}

.maintenance-screen::after {
    content: "";
    position: absolute;
    left: 42px;
    bottom: -16px;
    width: 28px;
    height: 16px;
    background: #c99067;
}

.maintenance-server {
    position: absolute;
    left: 24px;
    top: 74px;
    width: 34px;
    height: 42px;
    border-radius: 4px;
    background: #c99067;
    box-shadow: 140px 0 0 #c99067;
}

.maintenance-server::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: #fff4df;
    box-shadow: 0 12px 0 #fff4df, 140px 0 0 #fff4df, 140px 12px 0 #fff4df;
}

.maintenance-panel small {
    color: #2a1512;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.maintenance-panel h1 {
    margin: 0;
    color: #2a1512;
    font-size: 28px;
    line-height: 1.16;
}

.maintenance-panel p {
    max-width: 420px;
    margin: 0;
    color: #7a5f5a;
    font-size: 14px;
}

.flash {
    margin: 12px 0;
    padding: 11px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.flash-success {
    background: #e8f7ef;
    color: var(--success);
}

.flash-error {
    background: #fff0f2;
    color: var(--danger);
}

.admin-impersonation-banner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7dd;
    color: #7a4d00;
    font-size: 13px;
    font-weight: 900;
}

.admin-impersonation-banner a {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--blue-900);
    color: #fff;
    font-size: 12px;
}

.page-loading,
.success-modal,
.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 21, 38, 0.45);
    backdrop-filter: blur(8px);
}

.page-loading.hidden,
.success-modal.hidden,
.confirm-modal.hidden,
.copy-toast.hidden {
    display: none;
}

.page-loading {
    gap: 12px;
    color: #fff;
    font-weight: 900;
}

.page-loading span {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.34);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-modal > div,
.confirm-dialog {
    width: min(100%, 360px);
    position: relative;
    display: grid;
    gap: 12px;
    justify-items: center;
    border-radius: 20px;
    padding: 26px 20px 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(127, 16, 24, 0.24);
    text-align: center;
}

.success-icon,
.confirm-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.confirm-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-modal h2,
.confirm-dialog h2 {
    margin: 0;
    color: var(--blue-900);
}

.success-modal p,
.confirm-dialog p {
    margin: 0;
    color: var(--muted);
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    z-index: 90;
    transform: translateX(-50%);
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--blue-900);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(127, 16, 24, 0.28);
}

.auth-panel {
    padding-bottom: 28px;
}

.auth-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(127, 16, 24, 0.16);
}

.auth-hero {
    position: relative;
    min-height: 230px;
    color: #fff;
    overflow: hidden;
}

.auth-banner {
    display: block;
    width: 100%;
    height: 230px;
    margin: 0;
    object-fit: cover;
}

.auth-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(127, 16, 24, 0.88), rgba(127, 16, 24, 0.2));
}

.auth-hero > div {
    position: absolute;
    z-index: 1;
    left: 22px;
    right: 22px;
    bottom: 22px;
}

.auth-hero span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.auth-hero-brand {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.auth-hero-brand span {
    margin-bottom: 0;
}

.auth-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.auth-page-logo {
    width: 190px;
    max-width: 82%;
    display: block;
    margin: 0 auto 14px;
}

.auth-panel h1,
.setup-panel h1 {
    margin: 0 0 16px;
    font-size: 28px;
}

.auth-hero h1 {
    margin: 0 0 8px;
    font-size: 31px;
    line-height: 1.05;
}

.auth-hero p {
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.auth-form {
    padding: 20px 16px 18px;
}

.auth-form h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 24px;
}

.stack-form {
    display: grid;
    gap: 14px;
}

.stack-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 14px;
}

.stack-form input,
.stack-form textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

.stack-form textarea {
    min-height: 116px;
    padding-top: 14px;
    resize: vertical;
}

.stack-form input:focus,
.stack-form textarea:focus {
    border-color: var(--blue-800);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.send-row {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 8px;
}

.send-row button {
    border: 0;
    border-radius: 8px;
    background: var(--green-500);
    color: #fff;
    font-weight: 800;
}

.field-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.verification-note {
    margin-top: 4px;
    color: var(--blue-800);
    font-size: 0.95rem;
    font-weight: 700;
}

.otp-notification {
    position: fixed;
    left: 50%;
    top: 16px;
    z-index: 50;
    width: min(370px, calc(100% - 28px));
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(217, 39, 46, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 201, 40, 0.16), transparent 30%),
        rgba(255, 255, 255, 0.96);
    color: var(--blue-900);
    box-shadow: 0 18px 45px rgba(127, 16, 24, 0.24);
    line-height: 1.35;
    transform: translate(-50%, 0);
    transition: opacity 0.24s ease, transform 0.24s ease;
    backdrop-filter: blur(14px);
}

.otp-notification.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -18px);
}

.otp-toast-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--blue-500), var(--blue-900));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.2);
}

.otp-toast-icon img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.otp-toast-body {
    min-width: 0;
}

.otp-toast-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 3px;
}

.otp-toast-head strong {
    font-size: 14px;
}

.otp-close-btn {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f8ede4;
    color: var(--muted);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.otp-close-btn:hover,
.otp-close-btn:focus {
    background: #fff0f2;
    color: var(--danger);
}

.otp-toast-body p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
}

.otp-code-boxes {
    display: flex;
    gap: 5px;
    margin-bottom: 9px;
}

.otp-code-boxes b {
    width: 31px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 18px;
    box-shadow: inset 0 0 0 1px #f2ded6;
}

.otp-fill-btn {
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: var(--green-500);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.send-row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.primary-btn,
.secondary-btn,
.danger-btn {
    min-height: 56px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    font-weight: 800;
    cursor: pointer;
}

.primary-btn {
    background: var(--blue-900);
    color: #fff;
}

.secondary-btn {
    background: #f0f2f4;
    color: var(--blue-900);
}

.danger-btn {
    border: 1px solid rgba(198, 40, 69, 0.2);
    background: #fff0f3;
    color: var(--danger);
}

.text-link {
    text-align: center;
    color: var(--blue-800);
    font-weight: 800;
}

.forgot-password-link {
    justify-self: end;
    font-size: 14px;
}

.forgot-result {
    display: grid;
    gap: 10px;
    margin: 0 16px 18px;
    padding: 16px;
    border: 1px solid rgba(217, 39, 46, 0.16);
    border-radius: 12px;
    background: #fff8ef;
}

.forgot-result span {
    color: var(--blue-800);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.forgot-result strong {
    color: var(--blue-900);
    font-size: 28px;
    line-height: 1;
}

.forgot-result small,
.forgot-result p {
    margin: 0;
    color: var(--muted);
}

.forgot-result p {
    font-size: 13px;
}

.forgot-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-switch-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    font-weight: 800;
}

.auth-switch-line a {
    color: var(--blue-900);
}

.compact {
    min-height: 42px;
}

.switch-row {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    gap: 12px;
}

.switch-control {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.switch-control input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.fake-switch {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: var(--muted);
    position: relative;
    transition: background 0.2s ease;
}

.switch-control input[type="checkbox"]:checked + .fake-switch {
    background: var(--blue-900);
}

.fake-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.2s ease, right 0.2s ease;
}

.switch-control input[type="checkbox"]:checked + .fake-switch::after {
    left: unset;
    right: 3px;
}

.muted-text {
    color: var(--muted);
    margin: 10px 0 18px;
}

.notice-box {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--blue-900);
}

.hero-card {
    margin: 0 -14px;
    min-height: 242px;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 242px;
    display: block;
    object-fit: cover;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(127, 16, 24, 0.85), rgba(127, 16, 24, 0.12));
}

.hero-copy {
    position: absolute;
    z-index: 1;
    left: 22px;
    top: 28px;
    width: 240px;
}

.hero-logo {
    width: 168px;
    max-width: 100%;
    display: block;
    margin: 0 0 10px;
    border-radius: 12px;
    padding: 6px 9px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 24px rgba(127, 16, 24, 0.18);
}

.hero-copy h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
}

.hero-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-copy a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border-radius: 8px;
    padding: 0 16px;
    background: var(--amber-400);
    color: #2c2500;
    font-weight: 900;
}

.ticker {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf9e8;
    color: var(--green-600);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-card,
.summary-card,
.team-card,
.invite-card,
.content-section,
.profile-card,
.wallet-card,
.quick-strip,
.menu-list,
.form-card,
.service-card,
.list-card,
.wallet-banner {
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    margin: 14px 0;
}

.task-card {
    overflow: hidden;
}

.download-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 24px 18px;
    text-align: center;
}

.download-card .circle-icon {
    width: 58px;
    height: 58px;
}

.download-card h2 {
    margin: 0;
    color: var(--blue-900);
}

.download-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.download-card code {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #f0f6fb;
    color: var(--blue-900);
    font-weight: 800;
    white-space: normal;
    word-break: break-all;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
}

.card-title h2 {
    margin: 0;
    font-size: 20px;
}

.card-title button {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: var(--blue-900);
    font-weight: 800;
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px;
}

.task-grid a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff0bf;
    color: var(--blue-900);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 10px;
    margin: 20px 0;
}

.quick-grid a {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #2a1512;
    font-size: 13px;
    text-align: center;
}

.home-page .app-frame {
    background: #fff8ef;
}

.home-page .hero-card {
    min-height: 228px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.12);
}

.home-page .hero-card img {
    height: 228px;
}

.home-hero-slider {
    isolation: isolate;
}

.home-hero-slider .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 420ms ease;
}

.home-hero-slider .hero-slide.active {
    opacity: 1;
}

.home-hero-slider .hero-slide img {
    width: 100%;
    height: 100%;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 14px;
    display: flex;
    gap: 7px;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
}

.hero-dots span.active {
    width: 22px;
    background: var(--amber-400);
}

.home-page .ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin: 12px 0;
    background: #fff;
    color: #7a5f5a;
    box-shadow: 0 8px 20px rgba(127, 16, 24, 0.08);
}

.home-page .ticker::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #fff 0 3px, transparent 4px),
        linear-gradient(145deg, var(--green-500), var(--green-600));
}

.home-page .ticker span {
    display: inline-block;
    min-width: 100%;
    white-space: nowrap;
    animation: ticker-scroll 16s linear infinite;
}

.business-gift-alert {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
    padding: 13px 12px;
    border: 1px solid rgba(246, 183, 60, 0.36);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 247, 220, 0.96), rgba(236, 248, 255, 0.98) 56%, rgba(239, 255, 245, 0.98)),
        #fff;
    box-shadow: 0 14px 30px rgba(127, 16, 24, 0.12);
    overflow: hidden;
}

.business-gift-alert::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #ff6f2f, var(--amber-400), var(--green-500));
}

.business-gift-alert.running {
    border-color: rgba(255, 91, 91, 0.34);
    background:
        linear-gradient(135deg, #fff2f2 0%, #fff 44%, #fff4df 100%),
        #fff;
    box-shadow: 0 16px 34px rgba(198, 40, 69, 0.12);
}

.business-gift-icon {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: linear-gradient(145deg, #ff8d37, var(--green-500) 54%, var(--blue-700));
    color: #fff;
    box-shadow: 0 12px 22px rgba(15, 143, 93, 0.2);
}

.business-gift-alert.running .business-gift-icon {
    background: linear-gradient(145deg, #ff5b5b, #c62845 48%, var(--blue-900));
    box-shadow: 0 12px 24px rgba(198, 40, 69, 0.2);
}

.business-gift-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-gift-body {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.business-gift-kicker {
    display: block;
    margin-bottom: 3px;
    color: #ad5b00;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.business-gift-alert.running .business-gift-kicker {
    color: var(--danger);
}

.business-gift-title-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.business-gift-title-row strong,
.business-gift-alert p {
    margin: 0;
}

.business-gift-title-row strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 15px;
    line-height: 1.16;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-gift-badge,
.business-gift-timer {
    flex: 0 0 auto;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 11px;
    font-weight: 900;
}

.business-gift-badge {
    background: #fff2c8;
    color: #8a4f00;
}

.business-gift-timer {
    background: linear-gradient(135deg, #ff3d55, #c62845);
    color: #fff;
    box-shadow: 0 8px 16px rgba(198, 40, 69, 0.2);
}

.business-gift-alert p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.business-gift-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 8px;
}

.business-gift-metrics span {
    min-width: 0;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(217, 39, 46, 0.09);
    border-radius: 10px;
    padding: 7px 8px;
    background: rgba(255, 255, 255, 0.78);
}

.business-gift-metrics b {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
}

.business-gift-metrics strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 13px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.business-gift-metrics span:last-child strong {
    color: var(--danger);
}

.business-gift-alert a {
    min-height: 40px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 14px;
    background: linear-gradient(145deg, var(--blue-900), var(--blue-700));
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(127, 16, 24, 0.18);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.home-page .task-card {
    margin: 12px 0 24px;
    overflow: visible;
    border: 1px solid rgba(217, 39, 46, 0.1);
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    box-shadow: 0 14px 28px rgba(127, 16, 24, 0.18);
}

.home-page .task-card .card-title {
    min-height: 52px;
    padding: 12px 18px 24px;
    border-radius: 8px 8px 0 0;
    background:
        radial-gradient(circle at 85% 35%, rgba(255, 255, 255, 0.32), transparent 18%),
        linear-gradient(135deg, var(--blue-900), var(--blue-500));
}

.home-page .task-card .card-title h2 {
    color: #fff6bc;
    font-size: 21px;
    letter-spacing: 0;
}

.task-badge {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
}

.home-page .task-grid {
    margin-top: -14px;
    padding: 18px 10px 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(127, 16, 24, 0.12);
}

.home-page .task-grid a {
    min-height: 96px;
    align-content: center;
    gap: 10px;
    padding: 8px 4px;
    background: transparent;
    color: var(--blue-900);
}

.task-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #ffd95a 0%, #a91621 70%),
        var(--blue-900);
    color: #fff;
    box-shadow: 0 10px 16px rgba(169, 22, 33, 0.2);
}

.task-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page .task-grid strong {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: #fff0bf;
    font-size: 13px;
    line-height: 1.15;
}

.home-page .quick-grid {
    gap: 18px 10px;
    margin: 10px 0 14px;
}

.home-page .quick-grid a {
    color: #2a1512;
    font-size: 14px;
}

.home-page .content-section {
    background: #fff;
    box-shadow: var(--shadow);
}

.company-section {
    padding: 14px;
}

.company-section p {
    margin: 0 0 13px;
    color: #5b2a22;
}

.company-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.company-facts div {
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff4df, #fff);
    border: 1px solid #f2ded6;
}

.company-facts strong,
.company-facts span {
    display: block;
}

.company-facts strong {
    color: var(--blue-900);
    font-size: 23px;
}

.company-facts span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.company-detail-grid {
    display: grid;
    gap: 10px;
}

.company-detail-grid article {
    padding: 13px;
    border-radius: 8px;
    background: #fff8ef;
    border-left: 4px solid var(--blue-700);
}

.company-card-image {
    width: 100%;
    height: 122px;
    display: block;
    margin-bottom: 12px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff4df;
}

.company-detail-grid h3 {
    margin: 0 0 6px;
    color: var(--blue-900);
    font-size: 16px;
}

.company-detail-grid p {
    margin: 0;
    font-size: 14px;
}

.company-note {
    display: grid;
    gap: 4px;
    margin-top: 12px;
    padding: 13px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
}

.company-note strong,
.company-note span {
    display: block;
}

.company-note span {
    color: rgba(255, 255, 255, 0.82);
}

.circle-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.38), transparent 28%),
        linear-gradient(145deg, #d9272e 0%, #7f1018 72%);
    color: #fff;
    box-shadow:
        0 12px 20px rgba(127, 16, 24, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.circle-icon::after {
    content: "";
    position: absolute;
    inset: 8px 9px auto;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.circle-icon svg,
.nav-icon svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.circle-icon.image-icon {
    background: #fff;
}

.circle-icon.image-icon img {
    width: 78%;
    height: 78%;
    position: relative;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 5px 6px rgba(125, 45, 0, 0.18));
}

.content-section {
    padding: 14px;
    box-shadow: none;
    background: var(--soft);
}

.section-image {
    width: 100%;
    height: 170px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}

.content-section h2,
.section-heading {
    margin: 14px 0 10px;
    font-size: 20px;
    color: var(--ink);
}

.content-section h2 {
    border-left: 4px solid var(--blue-700);
    padding-left: 8px;
}

.content-section p {
    color: #7a5f5a;
}

.summary-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
    color: #fff;
}

.summary-card div:last-child {
    grid-column: 1 / -1;
}

.summary-card span,
.wallet-card span,
.stat-item span,
.team-stats span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.summary-card span {
    color: rgba(255, 255, 255, 0.75);
}

.summary-card strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
}

.product-status-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 8px 0 14px;
}

.product-status-tab {
    position: relative;
    min-height: 64px;
    padding: 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(127, 16, 24, 0.08);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
}

.product-status-tab::after {
    content: '';
    position: absolute;
    right: -18px;
    top: -18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(242, 140, 24, 0.12);
}

.product-status-tab span {
    display: block;
    color: var(--blue-900);
    font-size: 15px;
    font-weight: 900;
}

.product-status-tab small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.product-status-tab.coming-soon {
    opacity: 0.72;
    background: linear-gradient(145deg, #fff8ef, #fff4df);
}

.product-status-tab.coming-soon span::before {
    content: '⏳ ';
}

.product-status-tab.is-selected {
    border-color: rgba(242, 140, 24, 0.5);
    background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
    opacity: 1;
}

.product-status-tab.is-selected span,
.product-status-tab.is-selected small {
    color: #fff;
}

.product-status-tab.coming-soon span::before {
    content: '';
}

.product-panel[hidden] {
    display: none;
}

.product-list {
    display: grid;
    gap: 10px;
}

.product-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.product-card-link {
    color: inherit;
}

.product-card-link:hover h3 {
    color: var(--blue-800);
}

.solar-thumb {
    height: 104px;
    border-radius: 8px;
    background: linear-gradient(145deg, #fff6e8, #ffffff);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.solar-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.solar-thumb span {
    width: 76px;
    height: 58px;
    transform: skewY(-10deg) rotate(-8deg);
    border: 5px solid var(--blue-700);
    background:
        linear-gradient(var(--blue-500), var(--blue-500)) 50% 0 / 3px 100%,
        linear-gradient(90deg, var(--blue-500), var(--blue-500)) 0 50% / 100% 3px,
        linear-gradient(135deg, #7f1018, #f28c18);
    background-repeat: no-repeat;
    box-shadow: 0 16px 0 -10px var(--amber-400);
}

.product-info h3 {
    margin: 0 0 5px;
    font-size: 15px;
}

.product-info dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
    margin: 0;
    font-size: 13px;
}

.product-info dt {
    color: var(--muted);
}

.product-info dd {
    margin: 0;
    font-weight: 800;
}

.coming-soon-product {
    position: relative;
    opacity: 0.82;
}

.coming-soon-product::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(242, 140, 24, 0.25);
    border-radius: 12px;
    pointer-events: none;
}

.coming-soon-product .solar-thumb img {
    filter: grayscale(0.22);
}

.coming-soon-label {
    float: right;
    margin-top: 8px;
    min-width: 112px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hot-product-heading {
    margin-top: 18px;
    color: #b52516;
}

.hot-product-card {
    position: relative;
    padding: 14px 10px;
    border: 1px solid rgba(225, 68, 42, 0.22);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff8f0, #ffffff);
    box-shadow: 0 12px 28px rgba(168, 57, 23, 0.09);
}

.hot-product-card .solar-thumb {
    background: linear-gradient(145deg, #fff3df, #ffffff);
}

.hot-product-label,
.hot-product-badge {
    display: inline-grid;
    place-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 7px;
    background: #ffdf55;
    color: #7f2309;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hot-product-label {
    float: right;
    margin-top: 8px;
}

.hot-product-note {
    display: block;
    margin-top: 7px;
    color: #b52516;
    font-size: 12px;
    font-weight: 900;
}

.my-products-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.my-products-summary div,
.my-product-card {
    border: 1px solid #f2ded6;
    background: #fff;
    box-shadow: 0 12px 28px rgba(127, 16, 24, 0.08);
}

.my-products-summary div {
    display: grid;
    gap: 5px;
    min-height: 84px;
    align-content: center;
    padding: 14px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 0%, rgba(242, 140, 24, 0.12), transparent 34%),
        #fff;
}

.my-products-summary span,
.my-product-next span,
.my-product-progress span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.my-products-summary strong {
    color: var(--blue-900);
    font-size: 20px;
}

.my-product-list {
    display: grid;
    gap: 14px;
    padding-bottom: 10px;
}

.my-product-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
}

.my-product-head {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: center;
}

.my-product-head .solar-thumb {
    height: 84px;
}

.my-product-head h2 {
    margin: 7px 0 4px;
    color: var(--blue-900);
    font-size: 17px;
}

.my-product-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.my-product-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.my-product-stats span {
    display: grid;
    gap: 4px;
    min-height: 58px;
    align-content: center;
    padding: 10px;
    border-radius: 12px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 12px;
}

.my-product-stats strong {
    color: var(--blue-900);
    font-size: 14px;
}

.my-product-progress {
    display: grid;
    gap: 9px;
}

.my-product-progress div,
.my-product-next {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.my-product-progress strong,
.my-product-next strong {
    color: var(--blue-900);
    font-size: 13px;
}

.my-product-progress i {
    height: 8px;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: #f7eee8;
}

.my-product-progress i::before {
    content: "";
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green-500), var(--blue-500));
}

.my-product-next {
    padding: 11px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff8ef, #fff4df);
}

.my-product-claim {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fffdf8;
}

.my-product-claim.ready {
    border-color: rgba(15, 143, 93, 0.24);
    background: linear-gradient(135deg, #f2fff8, #eef9ff);
}

.my-product-claim span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.my-product-claim strong {
    display: block;
    margin-top: 4px;
    color: var(--blue-900);
    font-size: 15px;
}

.my-product-claim form {
    margin: 0;
}

.my-product-receive-btn {
    min-height: 42px;
    min-width: 122px;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--green-500), var(--blue-500));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(15, 143, 93, 0.18);
}

.my-product-receive-btn:disabled {
    background: #f7eee8;
    color: #7c8a96;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 420px) {
    .admin-user-summary-meta,
    .admin-user-info-grid,
    .admin-user-metric-grid,
    .admin-user-metric-grid.compact {
        grid-template-columns: 1fr;
    }

    .my-product-claim {
        grid-template-columns: 1fr;
    }

    .my-product-receive-btn {
        width: 100%;
    }
}

.my-products-empty {
    min-height: 430px;
    text-align: center;
}

.my-products-empty > div {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.small-go {
    float: right;
    margin-top: 8px;
    min-width: 54px;
    min-height: 28px;
    border: 0;
    border-radius: 7px;
    background: var(--green-500);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.product-detail-page {
    display: grid;
    gap: 14px;
    padding-bottom: 96px;
}

.product-back-link {
    justify-self: start;
    margin-top: 8px;
}

.product-detail-hero {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
}

.product-detail-image {
    min-height: 220px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.product-detail-image span {
    width: 150px;
    height: 110px;
    transform: skewY(-10deg) rotate(-8deg);
    border: 8px solid var(--blue-700);
    background:
        linear-gradient(var(--blue-500), var(--blue-500)) 50% 0 / 4px 100%,
        linear-gradient(90deg, var(--blue-500), var(--blue-500)) 0 50% / 100% 4px,
        linear-gradient(135deg, #7f1018, #f28c18);
    background-repeat: no-repeat;
}

.product-detail-hero span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.product-detail-hero h1 {
    margin: 6px 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.product-detail-hero strong {
    font-size: 26px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-detail-grid div,
.product-detail-info {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-detail-grid span,
.product-detail-info dt {
    color: var(--muted);
    font-size: 13px;
}

.product-detail-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--blue-900);
    font-size: 17px;
}

.product-detail-info h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.product-detail-info dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    margin: 0;
}

.product-detail-info dd {
    margin: 0;
    font-weight: 900;
    text-align: right;
}

.product-buy-panel {
    position: sticky;
    bottom: 76px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 34px rgba(127, 16, 24, 0.14);
}

.me-page .app-frame {
    background: #fff8ef;
}

.profile-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    color: #fff;
}

.me-page .profile-card {
    position: relative;
    min-height: 116px;
    margin: 14px 0 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    padding: 18px;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 201, 40, 0.36), transparent 28%),
        linear-gradient(135deg, #7f1018 0%, #f28c18 100%);
    box-shadow: 0 18px 34px rgba(127, 16, 24, 0.18);
}

.me-page .profile-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.me-page .profile-card > * {
    position: relative;
    z-index: 1;
}

.avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, #fff 0 11px, transparent 12px),
        radial-gradient(circle at 50% 78%, #fff 0 22px, transparent 23px),
        rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.me-page .avatar {
    width: 66px;
    height: 66px;
    border: 2px solid rgba(255, 255, 255, 0.74);
    box-shadow:
        0 12px 22px rgba(127, 16, 24, 0.22),
        inset 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.profile-card h1 {
    margin: 0 0 2px;
    font-size: 20px;
}

.me-page .profile-card h1 {
    margin-bottom: 5px;
    font-size: 22px;
    line-height: 1.08;
}

.profile-card p,
.profile-card small {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.me-page .profile-card p,
.me-page .profile-card small {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.me-overview-panel {
    display: grid;
    gap: 12px;
    margin: 12px 0 14px;
}

.me-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.me-panel-head span,
.me-panel-head strong {
    display: block;
}

.me-panel-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.me-panel-head strong {
    margin-top: 2px;
    color: var(--blue-900);
    font-size: 18px;
}

.me-panel-head a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 12px;
    font-weight: 900;
}

.profile-settings-head {
    margin-top: 14px;
}

.profile-settings-card {
    padding: 16px;
}

.profile-settings-card h2 {
    margin: 0 0 14px;
    color: var(--blue-900);
    font-size: 19px;
}

.profile-settings-card input[readonly] {
    background: var(--soft);
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 14px;
}

.me-page .stats-grid {
    gap: 9px;
    margin: 0;
    padding: 0;
}

.stat-item {
    padding: 8px 4px;
    text-align: center;
}

.me-page .stat-item {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 4px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    padding: 10px 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.06);
}

.me-page .stat-item:nth-child(1),
.me-page .stat-item:nth-child(2),
.me-page .stat-item:nth-child(6) {
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 201, 40, 0.12), transparent 34%),
        #fff;
}

.stat-item strong {
    display: block;
    font-size: 17px;
    color: var(--blue-900);
    word-break: break-word;
}

.me-page .stat-item strong {
    font-size: 16px;
    line-height: 1.16;
}

.me-page .stat-item span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.wallet-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    text-align: center;
}

.me-page .wallet-card {
    gap: 10px;
    margin: 0;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(127, 16, 24, 0.08);
}

.wallet-balance {
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 5px;
    border-radius: 12px;
    padding: 12px;
    text-align: left;
}

.wallet-balance span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
}

.wallet-balance strong {
    color: #fff;
}

.recharge-balance {
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.income-balance {
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(135deg, var(--green-600), var(--green-500));
}

.wallet-card strong {
    display: block;
    font-size: 18px;
    color: var(--blue-900);
}

.me-page .wallet-balance strong {
    color: #fff;
    font-size: 19px;
}

.wallet-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.me-page .wallet-actions {
    gap: 8px;
}

.wallet-actions .primary-btn,
.wallet-actions .secondary-btn {
    width: 100%;
    padding-inline: 8px;
    font-size: 14px;
}

.me-page .wallet-actions .primary-btn {
    position: relative;
    min-width: 0;
    min-height: 46px;
    border-radius: 12px;
    padding-inline: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    overflow: hidden;
    animation: walletActionFloat 3.2s ease-in-out infinite;
}

.me-page .wallet-actions .primary-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-22deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    animation: walletActionShine 4.4s ease-in-out infinite;
}

.me-page .wallet-actions .primary-btn span,
.me-page .wallet-actions .primary-btn svg {
    position: relative;
    z-index: 1;
    color: #fff;
    opacity: 1;
}

.me-page .wallet-actions .wallet-action-recharge {
    background: linear-gradient(135deg, #d9272e, #f28c18);
    box-shadow: 0 12px 20px rgba(217, 39, 46, 0.22);
}

.me-page .wallet-actions .wallet-action-withdraw {
    background: linear-gradient(135deg, #8b1e3f, #e0445e);
    box-shadow: 0 12px 20px rgba(176, 39, 74, 0.22);
    animation-delay: 0.16s;
}

.me-page .wallet-actions .wallet-action-transfer {
    background: linear-gradient(135deg, #a91621, #f28c18);
    box-shadow: 0 12px 20px rgba(169, 22, 33, 0.22);
    animation-delay: 0.32s;
}

.me-page .wallet-actions .wallet-action-disabled {
    background: #f7eee8;
    color: #8a6a61;
    box-shadow: none;
    animation: none;
    cursor: not-allowed;
}

.me-page .wallet-actions .wallet-action-disabled::after {
    display: none;
}

.me-page .wallet-actions .wallet-action-disabled span,
.me-page .wallet-actions .wallet-action-disabled svg {
    color: #8a6a61;
}

@keyframes walletActionFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

@keyframes walletActionShine {
    0%,
    55% {
        transform: translateX(-120%) skewX(-22deg);
    }

    75%,
    100% {
        transform: translateX(120%) skewX(-22deg);
    }
}

.me-page .wallet-actions svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
    text-align: center;
}

.quick-strip a {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.menu-list {
    display: grid;
    padding: 6px 14px;
    box-shadow: none;
}

.menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    border-bottom: 1px solid var(--line);
}

.menu-list a:last-child {
    border-bottom: 0;
}

.team-card {
    overflow: hidden;
}

.team-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.team-top strong {
    font-size: 26px;
}

.team-top em {
    font-style: normal;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fff3b0;
    color: #6d5400;
    font-weight: 900;
}

.team-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.team-stats div {
    border-left: 3px solid var(--green-500);
    padding-left: 10px;
}

.team-stats strong {
    display: block;
    font-size: 22px;
}

.invite-card {
    padding: 14px;
}

.invite-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.invite-card strong {
    display: block;
    font-size: 24px;
    color: var(--blue-900);
}

.invite-card p {
    margin: 8px 0 0;
    color: var(--muted);
    word-break: break-all;
}

.invite-link-row {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.invite-link-row p {
    min-height: 42px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--blue-900);
    font-size: 13px;
}

.invite-link-row button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--green-500);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.team-level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 10px 0 16px;
}

.team-level-card {
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.1);
}

.team-level-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--blue-900);
    font-size: 15px;
    line-height: 1.1;
}

.team-level-card div {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.team-level-card b {
    color: var(--ink);
    font-size: 14px;
}

.team-member-list {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.team-member {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(127, 16, 24, 0.08);
}

.member-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--blue-500), var(--blue-900));
    color: #fff;
    font-weight: 900;
}

.team-member small {
    display: block;
    color: var(--muted);
}

.team-member > div:last-child {
    text-align: right;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}

.tabs span,
.tabs a {
    display: grid;
    place-items: center;
    min-height: 46px;
    color: var(--muted);
    font-weight: 800;
}

.tabs .active,
.tabs a.active {
    color: var(--ink);
    border-bottom: 3px solid var(--blue-500);
}

.team-level-tabs {
    margin-top: 16px;
}

.teams-page .app-frame {
    background: #fff8ef;
}

.team-hero-card,
.team-invite-card,
.teams-page .team-level-card,
.team-level-section {
    border: 1px solid #f2ded6;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(127, 16, 24, 0.09);
}

.team-hero-card {
    display: grid;
    gap: 16px;
    margin: 14px 0;
    padding: 17px;
    background: linear-gradient(135deg, #7f1018 0%, #f28c18 100%);
    color: #fff;
    overflow: hidden;
}

.team-hero-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.team-hero-head span,
.team-hero-head small {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-hero-head h1 {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.1;
}

.team-hero-head > strong {
    min-width: 88px;
    display: grid;
    justify-items: end;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    text-align: right;
}

.team-hero-head small {
    margin-top: 5px;
    letter-spacing: 0;
    text-transform: none;
}

.team-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.team-hero-metrics span {
    min-width: 0;
    display: grid;
    gap: 5px;
    min-height: 66px;
    align-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.13);
}

.team-hero-metrics b {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.team-hero-metrics strong {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-invite-card {
    display: grid;
    gap: 12px;
    margin: 14px 0;
    padding: 14px;
    background: #fff;
}

.team-card-title {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.team-card-title > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 143, 93, 0.18);
}

.team-card-title svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-card-title h2,
.team-level-section-head h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 18px;
}

.team-card-title small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.team-card-title button,
.teams-page .invite-link-row button {
    min-height: 38px;
    border: 0;
    border-radius: 10px;
    padding: 0 12px;
    background: var(--blue-900);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.team-card-title button.copied,
.teams-page .invite-link-row button.copied {
    background: var(--green-500);
}

.teams-page .invite-link-row {
    grid-template-columns: minmax(0, 1fr) 68px;
    margin-top: 0;
}

.teams-page .invite-link-row p {
    overflow: hidden;
    border: 1px solid #f2ded6;
    background: #fff8ef;
    color: var(--blue-900);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-section-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-end;
    margin: 16px 0 10px;
}

.team-section-title span,
.team-level-section-head span,
.team-level-metrics b,
.team-member-meta b,
.team-member-commission span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.team-section-title h2 {
    margin: 3px 0 0;
    color: var(--blue-900);
    font-size: 20px;
}

.team-section-title > strong {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 12px;
}

.teams-page .team-level-grid {
    gap: 10px;
    margin: 10px 0 16px;
}

.teams-page .team-level-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(127, 16, 24, 0.07);
}

.team-level-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.teams-page .team-level-card strong {
    margin: 0;
    color: var(--blue-900);
    font-size: 15px;
    line-height: 1.15;
}

.team-level-head em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 7px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.teams-page .team-level-card:nth-child(2) .team-level-head em {
    background: #e8f7ef;
    color: var(--success);
}

.teams-page .team-level-card:nth-child(3) .team-level-head em {
    background: #fff7dd;
    color: #7a4d00;
}

.team-level-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.team-level-metrics span {
    min-width: 0;
    display: grid;
    gap: 3px;
    border-radius: 9px;
    padding: 8px 6px;
    background: #fff8ef;
    text-align: center;
}

.team-level-metrics strong {
    color: var(--blue-900);
    font-size: 14px;
}

.teams-page .team-level-card small {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-level-section {
    display: grid;
    gap: 12px;
    margin: 14px 0;
    padding: 14px;
    background: #fff;
}

.team-level-section-head {
    display: grid;
    gap: 10px;
}

.team-filter-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.team-filter-buttons button {
    min-height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff8ef;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
    text-transform: none;
    cursor: pointer;
}

.team-filter-buttons button.active {
    border-color: rgba(217, 39, 46, 0.32);
    background: var(--blue-900);
    color: #fff;
    box-shadow: 0 8px 16px rgba(127, 16, 24, 0.14);
}

.teams-page .team-member-list {
    gap: 10px;
    margin: 0;
}

.teams-page .team-member[hidden],
.team-filter-empty[hidden] {
    display: none;
}

.teams-page .team-member {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 12px;
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: none;
}

.teams-page .member-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(127, 16, 24, 0.14);
}

.team-member-main {
    min-width: 0;
}

.team-member-title {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.team-member-title strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-member-title em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 8px;
    background: #f8ede4;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.team-member.is-active .team-member-title em {
    background: #e8f7ef;
    color: var(--success);
}

.team-member-main small {
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-member-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
}

.team-member-meta span {
    min-width: 0;
    display: grid;
    gap: 2px;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
}

.team-member-meta strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teams-page .team-member-commission {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
    align-items: center;
    border-radius: 11px;
    padding: 9px 10px;
    background: #fff8ef;
    text-align: left;
}

.team-member-commission strong {
    color: var(--blue-900);
    font-size: 15px;
    text-align: right;
}

.team-member-commission small {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.teams-page .team-level-section .empty-state {
    min-height: 148px;
}

.team-filter-empty {
    margin: 0;
    border-radius: 12px;
    padding: 16px;
    background: #fff8ef;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 480px) {
    .teams-page .app-frame {
        padding-inline: 10px;
    }

    .team-hero-card,
    .team-invite-card,
    .teams-page .team-level-card,
    .team-level-section {
        border-radius: 12px;
    }

    .team-hero-card {
        gap: 12px;
        margin: 10px 0;
        padding: 14px;
    }

    .team-hero-head {
        gap: 10px;
    }

    .team-hero-head h1 {
        font-size: 21px;
    }

    .team-hero-head > strong {
        min-width: 72px;
        font-size: 28px;
    }

    .team-hero-metrics {
        gap: 8px;
    }

    .team-hero-metrics span {
        min-height: 58px;
        padding: 9px;
    }

    .team-hero-metrics strong {
        font-size: 15px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .team-invite-card {
        gap: 10px;
        margin: 10px 0;
        padding: 12px;
    }

    .team-card-title {
        grid-template-columns: 40px minmax(0, 1fr) 62px;
        gap: 9px;
    }

    .team-card-title > span {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .team-card-title h2,
    .team-level-section-head h2 {
        font-size: 16px;
        line-height: 1.2;
    }

    .team-card-title small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .team-card-title button,
    .teams-page .invite-link-row button {
        min-height: 36px;
        padding: 0 9px;
    }

    .teams-page .invite-link-row {
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 6px;
    }

    .teams-page .invite-link-row p {
        min-height: 38px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .team-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin: 13px 0 9px;
    }

    .team-section-title h2 {
        font-size: 18px;
    }

    .team-section-title > strong {
        max-width: 100%;
        min-height: 28px;
        white-space: normal;
    }

    .teams-page .team-level-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 8px 0 12px;
    }

    .teams-page .team-level-card {
        gap: 8px;
        padding: 11px;
    }

    .team-level-section {
        gap: 10px;
        margin: 10px 0;
        padding: 11px;
    }

    .team-filter-buttons {
        gap: 6px;
    }

    .team-filter-buttons button {
        min-height: 32px;
        padding: 0 5px;
        font-size: 11px;
        line-height: 1.15;
    }

    .teams-page .team-member {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 9px;
        padding: 10px;
    }

    .teams-page .member-avatar {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .team-member-title {
        align-items: flex-start;
    }

    .team-member-title strong {
        font-size: 14px;
    }

    .team-member-main small {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .team-member-meta {
        gap: 6px;
    }

    .team-member-meta span {
        padding: 7px;
    }

    .team-member-meta strong,
    .team-member-commission strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .teams-page .team-member-commission {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 8px 9px;
    }
}

@media (max-width: 360px) {
    .team-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-card-title {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .team-card-title button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .teams-page .invite-link-row {
        grid-template-columns: 1fr;
    }

    .teams-page .invite-link-row button {
        width: 100%;
    }

    .teams-page .team-level-grid,
    .team-hero-metrics {
        grid-template-columns: 1fr;
    }
}

.funds-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
    padding: 8px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.07);
}

.funds-tabs a {
    min-height: 34px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

.transfer-wallet-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.transfer-wallet-summary div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.transfer-wallet-summary span,
.transfer-preview span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.transfer-wallet-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--blue-900);
    font-size: 18px;
}

.transfer-card {
    display: grid;
    gap: 12px;
}

.transfer-card h2,
.transfer-card p {
    margin: 0;
}

.transfer-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.transfer-preview span {
    padding: 10px;
    border-radius: 8px;
    background: #fff8ef;
}

.transfer-preview strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 15px;
}

.topbar {
    min-height: 58px;
    margin: 0 -14px;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.topbar h1 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.topbar-logo {
    display: grid;
    place-items: center;
}

.topbar-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 8px 16px rgba(127, 16, 24, 0.18);
}

.back-link {
    font-size: 38px;
    text-align: center;
    line-height: 1;
}

.muted {
    color: transparent;
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 340px;
    color: #a58a82;
    text-transform: uppercase;
}

.empty-illustration {
    width: 110px;
    height: 92px;
    position: relative;
    margin-bottom: 14px;
}

.empty-illustration::before {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 8px;
    width: 62px;
    height: 44px;
    border: 2px solid #222;
    border-radius: 6px;
    transform: rotate(-12deg);
}

.empty-illustration::after {
    content: "?";
    position: absolute;
    right: 8px;
    top: 0;
    width: 42px;
    height: 42px;
    border: 2px solid #222;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.list-card {
    box-shadow: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.funds-list-card {
    display: grid;
    gap: 10px;
    border: 0;
    background: transparent;
}

.list-row,
.transaction-row,
.admin-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.funds-list-card .transaction-row {
    align-items: flex-start;
    padding: 13px;
    border: 1px solid #f2ded6;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.98));
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.07);
}

.list-row:last-child,
.transaction-row:last-child,
.admin-row:last-child {
    border-bottom: 0;
}

.list-row small,
.transaction-row small,
.admin-row small {
    display: block;
    color: var(--muted);
}

.transaction-main {
    min-width: 0;
    flex: 1;
}

.transaction-title-line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

.transaction-title-line strong {
    color: var(--ink);
    font-size: 15px;
}

.transaction-title-line em {
    flex: 0 0 auto;
    color: #8a6a61;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.transaction-description {
    margin-top: 4px;
    line-height: 1.35;
}

.transaction-detail-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 9px;
}

.transaction-detail-list span {
    display: inline-grid;
    gap: 2px;
    min-width: 92px;
    padding: 7px 9px;
    border: 1px solid #f2ded6;
    border-radius: 8px;
    background: #fff8ef;
}

.transaction-detail-list b {
    color: #7a5f5a;
    font-size: 10px;
    line-height: 1.1;
    text-transform: uppercase;
}

.transaction-detail-list strong {
    color: var(--blue-900);
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.block-row {
    display: grid;
}

.transaction-amount {
    min-width: 110px;
    text-align: right;
}

.transaction-amount > strong {
    display: block;
    font-size: 15px;
    white-space: nowrap;
}

.transaction-amount > strong.is-positive {
    color: var(--success);
}

.transaction-amount > strong.is-negative {
    color: var(--danger);
}

.transaction-amount .user-withdraw-status {
    min-width: 82px;
    justify-content: center;
    font-weight: 900;
}

.status-chip {
    display: inline-flex;
    margin-top: 5px;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 12px;
    background: #eef2f5;
    color: var(--muted);
}

.status-approved {
    background: #e6f7ee;
    color: var(--success);
}

.status-active {
    background: #e6f7ee;
    color: var(--success);
}

.status-completed {
    background: #eef2f5;
    color: var(--muted);
}

.status-pending {
    background: #fff7dd;
    color: #7a4d00;
}

.status-processing {
    background: #fff4df;
    color: var(--blue-900);
}

.status-rejected {
    background: #fff0f2;
    color: var(--danger);
}

.transaction-amount .user-withdraw-status.status-pending {
    background: #fff0f2;
    color: var(--danger);
}

.transaction-amount .user-withdraw-status.status-processing {
    background: #f7eee8;
    color: #2f3b45;
}

.transaction-amount .user-withdraw-status.status-approved {
    background: #e6f7ee;
    color: var(--success);
}

.transaction-amount .user-withdraw-status.status-rejected {
    background: #fff0f2;
    color: var(--danger);
}

.withdrawal-stepper {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 9px;
}

.withdrawal-stepper span {
    position: relative;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    background: #f7eee8;
    color: #7a5f5a;
    font-size: 11px;
    font-weight: 900;
}

.withdrawal-stepper span.done {
    background: #e6f7ee;
    color: var(--success);
}

.withdrawal-stepper span.active {
    background: #fff4df;
    color: var(--blue-900);
}

.withdrawal-stepper span.rejected {
    background: #fff0f2;
    color: var(--danger);
}

.transaction-reject-reason {
    margin-top: 8px;
    border-left: 3px solid var(--danger);
    padding: 7px 9px;
    border-radius: 8px;
    background: #fff6f7;
    color: var(--danger) !important;
    font-weight: 800;
}

@media (max-width: 420px) {
    .funds-list-card .transaction-row {
        display: grid;
        gap: 10px;
    }

    .transaction-title-line {
        display: grid;
        gap: 3px;
    }

    .transaction-amount {
        min-width: 0;
        text-align: left;
    }

    .transaction-detail-list span {
        min-width: calc(50% - 3px);
    }
}

.form-card,
.service-card,
.service-chat-card {
    padding: 16px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.support-hero-card {
    display: grid;
    gap: 14px;
    margin: 14px 0;
    padding: 18px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 201, 40, 0.28), transparent 28%),
        linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
    box-shadow: 0 18px 38px rgba(127, 16, 24, 0.18);
}

.support-hero-card small,
.support-hero-card h2,
.support-hero-card p {
    display: block;
    margin: 0;
}

.support-hero-card small {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.support-hero-card h2 {
    margin-top: 7px;
    font-size: 24px;
}

.support-hero-card p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
}

.support-status-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 6px rgba(255, 201, 40, 0.2);
}

.support-hero-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    color: var(--blue-900);
    font-weight: 900;
}

.support-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.support-channel-grid a {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.1);
}

.support-channel-grid span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--blue-500), var(--blue-900));
    color: #fff;
}

.support-channel-grid svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-channel-grid strong,
.support-channel-grid small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-channel-grid strong {
    color: var(--blue-900);
}

.support-channel-grid small {
    color: var(--muted);
}

.support-reply-popup {
    position: fixed;
    left: 50%;
    bottom: 78px;
    z-index: 45;
    width: min(100%, 430px);
    display: grid;
    gap: 18px;
    padding: 28px 26px 16px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 22px 22px 0 0;
    background:
        radial-gradient(circle at 90% 6%, rgba(255, 201, 40, 0.16), transparent 28%),
        linear-gradient(145deg, #ffe7cf, #fffaf2);
    box-shadow: 0 -16px 52px rgba(127, 16, 24, 0.22);
    transform: translateX(-50%);
}

.support-reply-popup.hidden {
    display: none;
}

.support-popup-close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: #7a5f5a;
    font-size: 28px;
    line-height: 1;
}

.support-popup-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--ink);
    font-size: 20px;
}

.support-popup-logo {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(127, 16, 24, 0.12);
}

.support-popup-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.support-reply-popup h2 {
    max-width: 310px;
    margin: 0;
    color: #2a1512;
    font-size: 42px;
    line-height: 1.08;
}

.support-popup-message {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(127, 16, 24, 0.08);
}

.support-popup-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d9272e;
    color: #fff;
}

.support-popup-avatar svg,
.support-popup-enter svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-popup-message strong,
.support-popup-message small {
    display: block;
}

.support-popup-message strong {
    max-width: 170px;
    overflow: hidden;
    color: #2a1512;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-popup-message small {
    color: #7a5f5a;
}

.support-popup-message p {
    margin: 3px 0 0;
    overflow: hidden;
    color: #7a5f5a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-popup-message em {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3203d;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.support-popup-enter {
    min-height: 58px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    border-radius: 999px;
    background: #d9272e;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(217, 39, 46, 0.24);
}

.support-popup-powered {
    text-align: center;
    color: #8a6a61;
    font-size: 14px;
}

.service-chat-card {
    display: grid;
    overflow: hidden;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(127, 16, 24, 0.14);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff8ef, #fff4df);
    border-bottom: 1px solid #f2ded6;
}

.chat-header > div {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-header h2 {
    margin: 0 0 4px;
    color: var(--blue-900);
    font-size: 20px;
}

.chat-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.chat-header em {
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.chat-agent-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    font-weight: 900;
}

.support-bot-card {
    display: grid;
    gap: 12px;
    margin: 0 16px;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 201, 40, 0.14), transparent 30%),
        linear-gradient(145deg, #fffaf2, #fff4df);
}

.support-bot-card.has-selection {
    border-color: rgba(217, 39, 46, 0.32);
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.08);
}

.support-bot-head {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.support-bot-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.support-bot-head strong,
.support-bot-head p {
    display: block;
    margin: 0;
}

.support-bot-head strong {
    color: var(--blue-900);
    font-size: 16px;
}

.support-bot-head p,
.support-issue-panel p,
.support-bot-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.support-bot-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.support-bot-steps span {
    min-height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.support-bot-steps span.active {
    background: var(--blue-900);
    color: #fff;
}

.support-bot-steps span.completed {
    background: #e8f7ef;
    color: var(--success);
}

.support-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.support-quick-grid[hidden] {
    display: none;
}

.support-quick-grid.compact {
    grid-template-columns: 1fr;
}

.support-quick-grid button {
    min-height: 42px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    padding: 9px 11px;
    background: #fff;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.support-quick-grid button:hover,
.support-quick-grid button:focus {
    border-color: rgba(217, 39, 46, 0.35);
    background: #fff4df;
}

.support-issue-panel {
    display: grid;
    gap: 8px;
}

.support-issue-panel.is-hidden,
.support-ticket-panel.is-hidden,
.support-ticket-status.is-hidden,
.support-ticket-error.is-hidden,
.support-ticket-new.is-hidden {
    display: none;
}

.support-issue-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.support-issue-head strong {
    color: var(--blue-900);
    font-size: 15px;
}

.support-issue-head button {
    min-height: 30px;
    border: 0;
    border-radius: 999px;
    padding: 0 11px;
    background: #fff;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.support-issue-panel p,
.support-bot-note {
    margin: 0;
}

.support-ticket-panel {
    display: grid;
    gap: 10px;
    padding-top: 2px;
}

.support-ticket-fields {
    display: grid;
    gap: 9px;
}

.support-ticket-fields[hidden],
.support-ticket-fields label[hidden] {
    display: none;
}

.support-ticket-fields label {
    display: grid;
    gap: 6px;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 700;
}

.support-ticket-fields input,
.support-ticket-fields textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #ead2c8;
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
    color: var(--ink);
    outline: 0;
    font-size: 14px;
    font-weight: 600;
}

.support-ticket-fields textarea {
    min-height: 78px;
    padding-top: 10px;
    resize: vertical;
}

.support-ticket-fields input:focus,
.support-ticket-fields textarea:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.1);
}

.support-ticket-file {
    min-height: 78px;
    align-content: center;
    padding: 12px;
    border: 1px dashed #e0b6a8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.support-ticket-file input {
    min-height: 0;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 12px;
}

.support-ticket-file small {
    color: var(--muted);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.support-ticket-error {
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
}

.support-ticket-status {
    display: grid;
    gap: 4px;
    padding: 13px;
    border: 1px solid #b9e8ca;
    border-radius: 14px;
    background: #eaf8ef;
    color: #0d6a42;
}

.support-ticket-status strong,
.support-ticket-status span {
    display: block;
}

.support-ticket-status strong {
    font-size: 16px;
}

.support-ticket-status span {
    color: #297451;
    font-size: 13px;
    line-height: 1.4;
}

.support-ticket-submit,
.support-ticket-new {
    min-height: 44px;
    border-radius: 12px;
}

.chat-messages {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding: 14px 16px;
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 140, 24, 0.08), transparent 28%),
        #fffdf8;
}

.chat-empty {
    display: grid;
    gap: 6px;
    text-align: center;
    color: var(--muted);
    padding: 48px 16px;
}

.chat-empty strong {
    color: var(--blue-900);
    font-size: 18px;
}

.ticket-card {
    width: min(100%, 310px);
    display: grid;
    gap: 9px;
    margin-left: auto;
    padding: 12px;
    border: 1px solid #ffd4dc;
    border-radius: 16px;
    background: #fff6f7;
    color: var(--ink);
    box-shadow: 0 10px 24px rgba(127, 16, 24, 0.08);
}

.ticket-card.success {
    border-color: #b9e8ca;
    background: #f0fbf5;
}

.ticket-card-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ticket-card-head strong {
    min-width: 0;
    color: var(--blue-900);
    font-size: 14px;
    line-height: 1.25;
}

.ticket-card-head em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.ticket-card.success .ticket-card-head em {
    background: #e8f7ef;
    color: var(--success);
}

.ticket-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.ticket-card-grid span {
    min-width: 0;
    display: grid;
    gap: 2px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.ticket-card-grid span.wide {
    grid-column: 1 / -1;
}

.ticket-card-grid b {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 12px;
}

.ticket-thumb {
    width: 92px;
    height: 92px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.ticket-card small {
    color: var(--muted);
    font-size: 11px;
}

.chat-bubble {
    max-width: 78%;
    padding: 10px 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.chat-bubble p {
    margin: 0;
}

.chat-bubble.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.16);
}

.chat-bubble.admin {
    margin-right: auto;
    background: #fff;
    color: var(--ink);
    border-bottom-left-radius: 4px;
    border: 1px solid #f2ded6;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.08);
}

.chat-bubble small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.chat-attachment {
    display: block;
    width: min(190px, 100%);
    max-height: 220px;
    margin-top: 6px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.chat-closed-note {
    margin: 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7dd;
    color: #8b5d08;
    font-size: 13px;
    font-weight: 800;
}

.admin-service-thread {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.admin-service-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-reply-form textarea {
    min-height: 68px;
}

.send-row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wallet-banner {
    display: grid;
    gap: 4px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
}

.wallet-banner strong {
    font-size: 28px;
}

.service-card h2 {
    margin: 0 0 8px;
}

.service-card p {
    margin: 6px 0;
    color: var(--muted);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 10;
    width: min(100%, 430px);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 66px;
    padding: 6px 8px 8px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
}

.nav-item {
    display: grid;
    justify-items: center;
    gap: 3px;
    color: #8a6a61;
    font-size: 12px;
    font-weight: 800;
}

.nav-item .nav-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: currentColor;
    position: relative;
}

.nav-item .nav-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
}

.nav-item.active {
    color: var(--blue-900);
}

.nav-chat {
    transform: translateY(-22px);
}

.nav-chat .nav-icon {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: visible;
    background:
        radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.32), transparent 28%),
        linear-gradient(145deg, #d9272e 0%, #7f1018 72%);
    color: #fff;
    box-shadow:
        0 16px 26px rgba(127, 16, 24, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.nav-badge {
    position: absolute;
    right: -3px;
    top: -5px;
    z-index: 4;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #f3203d;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.nav-badge.hidden {
    display: none;
}

.nav-chat .nav-badge {
    right: 2px;
    top: 1px;
}

.nav-chat .nav-icon::after {
    content: "";
    position: absolute;
    inset: 9px 11px auto;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.nav-chat .nav-icon svg {
    width: 27px;
    height: 27px;
}

.nav-chat span:last-child {
    margin-top: -4px;
}

.whatsapp-float {
    position: fixed;
    right: max(14px, calc((100vw - 430px) / 2 + 14px));
    bottom: 92px;
    z-index: 65;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 0;
    background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow:
        0 18px 34px rgba(15, 143, 93, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    cursor: grab;
    touch-action: none;
    user-select: none;
    animation: whatsapp-breathe 2.2s ease-in-out infinite;
}

.auth-page .whatsapp-float,
.admin-page .whatsapp-float {
    right: 22px;
    bottom: 22px;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: inherit;
    background: rgba(34, 197, 94, 0.22);
    animation: whatsapp-pulse 1.8s ease-out infinite;
}

.whatsapp-float::after {
    animation-delay: 0.65s;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    transform: translateY(-2px);
    box-shadow:
        0 20px 38px rgba(15, 143, 93, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-float.is-dragging {
    cursor: grabbing;
    animation: none;
    transition: none;
}

.whatsapp-float.is-dragging::before,
.whatsapp-float.is-dragging::after {
    display: none;
}

.whatsapp-float-icon {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.32), transparent 24%),
        rgba(255, 255, 255, 0.08);
}

.whatsapp-float-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes whatsapp-pulse {
    0% {
        opacity: 0.72;
        transform: scale(0.92);
    }

    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@keyframes whatsapp-breathe {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 360px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
    }
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 21, 38, 0.22);
    backdrop-filter: blur(2px);
}

.notice-stack {
    width: min(100%, 320px);
    display: grid;
    justify-items: center;
    gap: 16px;
}

.notice-dialog {
    width: 100%;
    position: relative;
    display: grid;
    justify-items: center;
    border-radius: 8px;
    padding: 14px 16px 17px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 35px rgba(6, 19, 42, 0.26);
}

.notice-image {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.notice-dialog h2 {
    margin: 7px 0 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.notice-dialog p {
    max-width: 222px;
    margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.18;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    color: #777;
    cursor: pointer;
}

.notice-telegram-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #7f1018, #3a0b0d);
    color: #fff;
}

.notice-telegram-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notice-follow-button {
    width: 100%;
    min-height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #a91621, #3a0b0d);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 9px 18px rgba(127, 16, 24, 0.24);
}

.notice-close {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(80, 80, 80, 0.78);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.notice-close:hover {
    background: rgba(48, 48, 48, 0.9);
}

@media (max-width: 360px) {
    .support-bot-card {
        margin: 0 12px;
    }

    .support-quick-grid {
        grid-template-columns: 1fr;
    }

    .notice-modal {
        padding: 14px;
    }

    .notice-stack {
        width: min(100%, 320px);
    }
}

.admin-page .app-frame {
    width: min(100%, 1180px);
    min-height: 100vh;
    padding: 0;
    background: #fff4df;
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-mobile-bar,
.admin-sidebar-overlay,
.admin-sidebar-close {
    display: none;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    padding: 24px 18px;
    background:
        radial-gradient(circle at 26% 0%, rgba(242, 140, 24, 0.35), transparent 30%),
        linear-gradient(180deg, #6f0d14 0%, #3a0b0d 100%);
    color: #fff;
    overflow-y: auto;
}

.admin-brand {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #f28c18, #ffc928);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.admin-brand-mark-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.admin-brand h1,
.admin-brand p {
    margin: 0;
}

.admin-brand h1 {
    font-size: 24px;
}

.admin-brand p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.admin-nav {
    display: grid;
    align-content: start;
    gap: 8px;
}

.admin-nav a {
    min-height: 44px;
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a:focus,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-nav a.active {
    background: #fff;
    color: var(--blue-900);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.admin-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-content {
    min-width: 0;
    padding: 24px;
}

.admin-section {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(127, 16, 24, 0.08);
    scroll-margin-top: 18px;
}

.admin-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.admin-section-head span,
.admin-section-head small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-section-head h2,
.admin-section .section-heading {
    margin: 0;
    color: var(--blue-900);
    font-size: 24px;
}

.admin-section .section-heading {
    margin-bottom: 14px;
}

.admin-header-actions {
    display: grid;
    gap: 9px;
}

.admin-header-actions a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
}

.admin-header-actions a:first-child {
    background: #fff;
    color: var(--blue-900);
}

.admin-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin: 0;
}

.admin-stats .stat-item {
    min-height: 96px;
    display: grid;
    align-content: center;
    padding: 16px 14px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #fffaf2);
    text-align: left;
}

.admin-stats .stat-item strong {
    font-size: 22px;
}

.admin-stats .stat-item span {
    margin-top: 6px;
    color: var(--muted);
    font-weight: 800;
}

.admin-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.admin-priority-card {
    min-height: 128px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px 12px;
    align-content: center;
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff;
    color: var(--blue-900);
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.07);
}

.admin-priority-card.success {
    border-color: rgba(15, 143, 93, 0.26);
}

.admin-priority-card.danger {
    border-color: rgba(198, 40, 69, 0.22);
}

.admin-priority-card.info {
    border-color: rgba(217, 39, 46, 0.26);
}

.admin-priority-icon {
    width: 42px;
    height: 42px;
    grid-row: span 3;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff4df;
    color: var(--blue-800);
}

.admin-priority-card.success .admin-priority-icon {
    background: #e8f7ef;
    color: var(--success);
}

.admin-priority-card.danger .admin-priority-icon {
    background: #fff0f2;
    color: var(--danger);
}

.admin-priority-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-priority-card strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.admin-priority-card em {
    color: var(--ink);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.admin-priority-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-dashboard-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.admin-dashboard-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff;
}

.admin-dashboard-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-dashboard-card-head h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 18px;
}

.admin-dashboard-card-head a {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
}

.admin-mini-list {
    display: grid;
}

.admin-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.admin-mini-row:last-child {
    border-bottom: 0;
}

.admin-mini-row span,
.admin-mini-row strong,
.admin-mini-row small {
    min-width: 0;
}

.admin-mini-row strong,
.admin-mini-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-mini-row small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.admin-mini-row em {
    flex: 0 0 auto;
    color: var(--blue-900);
    font-style: normal;
    font-weight: 900;
}

.admin-row {
    align-items: center;
}

.admin-section .list-card {
    margin: 0;
    box-shadow: none;
    border: 1px solid #f2ded6;
    background: #fff;
}

.admin-section .transaction-row,
.admin-section .admin-row {
    gap: 14px;
    padding: 14px;
}

.admin-section .transaction-row:hover,
.admin-section .admin-row:hover {
    background: #fff8ef;
}

.admin-actions {
    display: grid;
    gap: 7px;
    min-width: 88px;
}

.approve-btn,
.reject-btn {
    min-height: 32px;
    width: 100%;
    border: 0;
    border-radius: 7px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.approve-btn {
    background: var(--success);
}

.reject-btn {
    background: var(--danger);
}

.admin-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-users-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-users-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-users-title > strong {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 13px;
}

.admin-user-grid.detailed {
    grid-template-columns: 1fr;
}

.admin-user-search {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #f2ded6;
    border-radius: 16px;
    background: #fff8ef;
}

.admin-user-search label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-user-search input {
    min-width: 0;
    min-height: 42px;
    border: 1px solid #f2ded6;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-user-search input:focus {
    outline: 0;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.admin-user-search .primary-btn,
.admin-user-search .secondary-btn {
    min-height: 42px;
    padding: 0 16px;
}

.admin-search-note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.admin-search-note strong {
    color: var(--blue-900);
}

.admin-user-card {
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(127, 16, 24, 0.07);
}

.admin-user-head {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.admin-user-head small {
    display: block;
    color: var(--muted);
}

.admin-user-detail-card {
    display: grid;
    gap: 14px;
    border-radius: 18px;
}

.admin-user-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    cursor: pointer;
}

.admin-user-summary::-webkit-details-marker {
    display: none;
}

.admin-user-detail-card[open] .admin-user-summary {
    padding-bottom: 14px;
    border-bottom: 1px solid #f2ded6;
}

.admin-user-name-line {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-user-name-line strong {
    color: var(--blue-900);
    font-size: 16px;
}

.admin-user-state {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 11px;
    font-weight: 900;
}

.admin-user-state.active {
    background: #e6f7ee;
    color: var(--success);
}

.admin-user-state.review {
    background: #fff0f2;
    color: var(--danger);
}

.admin-user-state.funded {
    background: #fff4df;
    color: var(--blue-900);
}

.admin-user-state.completed {
    background: #f8ede4;
    color: #5b2a22;
}

.admin-user-state.inactive {
    background: #f2f4f7;
    color: #7c8a96;
}

.admin-user-summary-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(88px, 1fr));
    gap: 8px;
    min-width: 440px;
}

.admin-user-summary-meta span {
    display: grid;
    gap: 3px;
    min-height: 54px;
    align-content: center;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.admin-user-summary-meta strong {
    color: var(--blue-900);
    font-size: 13px;
}

.admin-user-card-content {
    display: grid;
    gap: 14px;
}

.admin-user-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-user-panel {
    display: grid;
    gap: 10px;
    min-width: 0;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    padding: 12px;
    background: #fffdf8;
}

.admin-user-panel h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 14px;
}

.admin-user-panel.finance,
.admin-user-panel.identity {
    background: #fff;
}

.admin-user-info-grid,
.admin-user-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-user-metric-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-user-info-grid span,
.admin-user-metric-grid span {
    position: relative;
    display: grid;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    align-content: center;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fff8ef;
}

.admin-user-info-grid em,
.admin-user-metric-grid em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-user-info-grid strong,
.admin-user-metric-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 13px;
}

.admin-user-metric-grid .green strong {
    color: var(--success);
}

.admin-user-metric-grid .blue strong {
    color: var(--blue-700);
}

.admin-user-metric-grid .red strong {
    color: var(--danger);
}

.admin-user-product-summary {
    display: grid;
    gap: 4px;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fff8ef;
}

.admin-user-product-summary em {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-user-product-summary strong {
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 13px;
}

.admin-user-copy-btn {
    justify-self: start;
    min-height: 26px;
    border: 0;
    border-radius: 999px;
    padding: 0 10px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 11px;
    font-weight: 900;
}

.admin-user-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.admin-user-action-grid form {
    min-width: 0;
}

.admin-user-action-grid button {
    width: 100%;
}

.admin-user-reset {
    display: grid;
    gap: 7px;
    border-radius: 12px;
    padding: 10px;
    background: #fff8ef;
}

.admin-user-reset > span,
.admin-user-reset small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-user-reset-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.admin-user-reset-row input {
    min-width: 0;
    min-height: 38px;
    border: 1px solid #f2ded6;
    border-radius: 10px;
    padding: 0 10px;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-user-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.admin-user-stats.expanded {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-user-stats span {
    min-height: 54px;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 9px 10px;
    border-radius: 8px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 12px;
}

.admin-user-stats strong {
    color: var(--blue-900);
    font-size: 15px;
}

.admin-user-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-user-meta span {
    display: grid;
    gap: 4px;
    padding: 11px 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fffdf8;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-user-meta strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 13px;
}

.admin-user-editor {
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff8ef;
}

.admin-user-editor summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--blue-900);
    font-weight: 900;
    cursor: pointer;
}

.admin-user-edit-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 14px;
}

.admin-user-edit-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-user-edit-form label.wide {
    grid-column: 1 / -1;
}

.admin-user-edit-form input {
    min-height: 42px;
    min-width: 0;
    border: 1px solid #f2ded6;
    border-radius: 10px;
    padding: 0 11px;
    background: #fff;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-user-edit-form input:focus {
    outline: 0;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.admin-user-edit-form button {
    grid-column: 1 / -1;
    min-height: 42px;
    border-radius: 10px;
}

.admin-login-user-form .secondary-btn {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    background: #f8ede4;
    color: var(--blue-900);
}

.admin-data-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.admin-data-list::-webkit-scrollbar,
.admin-sidebar::-webkit-scrollbar {
    width: 8px;
}

.admin-data-list::-webkit-scrollbar-thumb,
.admin-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(127, 16, 24, 0.24);
}

.admin-list-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-list-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-list-title > strong,
.admin-list-subhead span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 900;
}

.admin-list-subhead {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.admin-list-subhead h3 {
    margin: 0;
    color: var(--blue-900);
}

.admin-review-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.admin-review-summary span {
    min-height: 76px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #fff8ef);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-review-summary strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-overview-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-user-status-tabs {
    margin-bottom: 12px;
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.admin-filter-tabs a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #f2ded6;
    border-radius: 999px;
    padding: 0 13px;
    background: #fff;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 900;
}

.admin-filter-tabs a.active {
    border-color: var(--blue-900);
    background: var(--blue-900);
    color: #fff;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff8ef;
}

.admin-history-search {
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.75fr) minmax(130px, 0.75fr) auto auto auto;
}

.admin-filter-bar label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-filter-bar input,
.admin-filter-bar select {
    min-height: 42px;
    min-width: 0;
    border: 1px solid #f2ded6;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-filter-bar input:focus,
.admin-filter-bar select:focus {
    outline: 0;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.admin-filter-bar .primary-btn,
.admin-filter-bar .secondary-btn {
    min-height: 42px;
    padding: 0 16px;
}

.admin-pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fffdf8;
}

.admin-pagination > span,
.admin-pagination strong {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.admin-pagination div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-pagination a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
}

.admin-pagination a.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.admin-request-title,
.admin-request-history-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-request-title span,
.admin-request-history-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-request-title > strong,
.admin-request-history-title > strong {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 13px;
}

.admin-request-list {
    display: grid;
    gap: 14px;
}

.admin-request-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.08);
}

.admin-request-card.deposit {
    border-color: rgba(15, 143, 93, 0.28);
}

.admin-request-card.withdrawal {
    border-color: rgba(198, 40, 69, 0.22);
}

.admin-request-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.admin-request-head span,
.admin-reference-box > span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-request-head strong {
    display: block;
    margin-top: 4px;
    color: var(--blue-900);
    font-size: 24px;
}

.admin-request-main {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-request-summary-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(112px, 1fr));
    gap: 6px 10px;
    max-width: 720px;
    margin-top: 9px;
}

.admin-request-summary-meta span {
    min-width: 0;
    display: grid;
    gap: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.admin-request-summary-meta b {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-request-head em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff4df;
    color: var(--blue-900);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.admin-request-head em.status-approved {
    background: #e6f7ee;
    color: var(--success);
}

.admin-request-head em.status-pending {
    background: #fff7dd;
    color: #7a4d00;
}

.admin-request-head em.status-processing {
    background: #fff4df;
    color: var(--blue-900);
}

.admin-request-head em.status-rejected {
    background: #fff0f2;
    color: var(--danger);
}

.admin-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-request-grid span {
    display: grid;
    gap: 3px;
    min-height: 58px;
    align-content: center;
    padding: 10px;
    border-radius: 12px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 12px;
}

.admin-request-grid strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-reference-box {
    display: grid;
    gap: 7px;
}

.admin-reference-box div {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 8px;
}

.admin-reference-box input {
    min-width: 0;
    min-height: 44px;
    border: 1px solid #f2ded6;
    border-radius: 10px;
    padding: 0 10px;
    background: #fffdf8;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-withdraw-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-copy-field {
    min-width: 0;
}

.admin-withdrawal-stepper {
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fffdf8;
}

.copy-btn,
.copy-address button.copied,
.copy-btn.copied {
    border: 0;
    border-radius: 10px;
    background: var(--green-500);
    color: #fff;
    font-weight: 900;
}

.admin-request-note {
    margin: 0;
    border-left: 4px solid var(--blue-500);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff8ef;
    color: #5b2a22;
    font-size: 13px;
}

.admin-reject-note {
    margin: 0;
    border-left: 4px solid var(--danger);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff6f7;
    color: #8b1830;
    font-size: 13px;
}

.admin-verify-list {
    margin: 0;
    padding: 12px 12px 12px 30px;
    border-radius: 12px;
    background: #fffdf4;
    color: #66501e;
    font-size: 13px;
    line-height: 1.45;
}

.admin-request-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.admin-request-actions .approve-btn,
.admin-request-actions .reject-btn {
    min-height: 42px;
    border-radius: 10px;
}

.admin-request-actions form {
    min-width: 0;
}

.admin-request-actions .process-btn {
    background: var(--blue-500);
}

.admin-reject-form {
    display: grid;
    gap: 8px;
}

.admin-reject-form label {
    display: grid;
    gap: 6px;
}

.admin-reject-form span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-reject-form textarea {
    width: 100%;
    min-height: 74px;
    resize: vertical;
    border: 1px solid #f0c8d0;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fffafa;
    color: var(--blue-900);
    font: inherit;
    font-size: 13px;
}

.admin-service-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-service-title span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-service-title a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 15px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(127, 16, 24, 0.16);
}

.admin-service-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.admin-service-overview span {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 78px;
    align-content: center;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background:
        radial-gradient(circle at 92% 0%, rgba(242, 140, 24, 0.12), transparent 34%),
        linear-gradient(145deg, #fff, #fff8ef);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
}

.admin-service-overview span::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -18px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(217, 39, 46, 0.08);
}

.admin-service-overview .needs-reply {
    border-color: rgba(198, 40, 69, 0.24);
    background: linear-gradient(145deg, #fff, #fff3f5);
}

.admin-service-overview .needs-reply strong {
    color: var(--danger);
}

.admin-service-overview .replied {
    border-color: rgba(15, 143, 93, 0.24);
    background: linear-gradient(145deg, #fff, #effbf4);
}

.admin-service-overview .replied strong {
    color: var(--success);
}

.admin-service-overview .closed {
    background: linear-gradient(145deg, #fff, #f2f4f7);
}

.admin-service-overview strong {
    color: var(--blue-900);
    font-size: 24px;
}

.admin-service-list {
    display: grid;
    gap: 16px;
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.admin-service-thread {
    position: relative;
    margin: 0;
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(127, 16, 24, 0.07);
    overflow: hidden;
}

.admin-service-thread::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #f2ded6;
}

.admin-service-thread.is-needs-reply {
    border-color: rgba(198, 40, 69, 0.32);
    background:
        radial-gradient(circle at 100% 0%, rgba(198, 40, 69, 0.08), transparent 30%),
        #fff;
}

.admin-service-thread.is-needs-reply::before {
    background: var(--danger);
}

.admin-service-thread.is-replied::before {
    background: var(--success);
}

.admin-service-thread.is-closed {
    opacity: 0.86;
    background: #fffdf8;
}

.admin-service-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-service-user {
    display: flex;
    gap: 11px;
    align-items: center;
    min-width: 0;
}

.admin-service-user > span {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.admin-service-thread.is-needs-reply .admin-service-user > span {
    background: linear-gradient(145deg, #ff6b84, var(--danger));
}

.admin-service-thread.is-replied .admin-service-user > span {
    background: linear-gradient(145deg, var(--green-500), var(--success));
}

.admin-service-thread.is-closed .admin-service-user > span {
    background: linear-gradient(145deg, #a58a82, #7a5f5a);
}

.admin-service-user strong,
.admin-service-user small {
    display: block;
    min-width: 0;
}

.admin-service-user strong {
    color: var(--blue-900);
}

.admin-service-user small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.admin-service-status {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 150px;
    text-align: right;
}

.admin-service-status em {
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef2f5;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.admin-service-status small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.admin-service-thread.is-needs-reply .admin-service-status em {
    background: #fff0f2;
    color: var(--danger);
}

.admin-service-thread.is-replied .admin-service-status em {
    background: #e8f7ef;
    color: var(--success);
}

.admin-service-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.admin-service-meta span {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #fff8ef;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 900;
}

.admin-service-meta b {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.admin-service-meta .is-hot {
    background: #fff0f2;
    color: var(--danger);
}

.admin-service-latest {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff8ef;
}

.admin-service-latest strong {
    color: var(--blue-900);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-service-latest span {
    min-width: 0;
    overflow: hidden;
    color: #5b2a22;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-service-latest.is-alert {
    border-color: rgba(198, 40, 69, 0.22);
    background: #fff6f7;
}

.admin-service-latest.is-alert strong {
    color: var(--danger);
}

.admin-thread-messages {
    display: grid;
    gap: 8px;
    max-height: 300px;
    overflow: auto;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 140, 24, 0.07), transparent 26%),
        #fffdf8;
}

.admin-chat-preview {
    max-width: 76%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.admin-chat-preview p {
    margin: 0;
}

.admin-chat-preview.user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: #fff;
    border-bottom-right-radius: 4px;
}

.admin-chat-preview.admin {
    margin-right: auto;
    border: 1px solid #f2ded6;
    background: #fff8ef;
    color: var(--ink);
    border-bottom-left-radius: 4px;
}

.admin-chat-preview strong {
    display: block;
    margin-bottom: 5px;
    color: var(--blue-900);
    font-size: 12px;
}

.admin-chat-preview.user strong {
    color: rgba(255, 255, 255, 0.82);
}

.admin-chat-preview small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.admin-ticket-card {
    display: grid;
    gap: 9px;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ffd4dc;
    border-radius: 12px;
    background: #fff6f7;
    color: var(--ink);
}

.admin-service-thread[data-ticket-reply-state="success"] .admin-ticket-card {
    border-color: #b9e8ca;
    background: #effbf4;
}

.admin-ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.admin-ticket-head strong {
    color: var(--blue-900);
    font-size: 13px;
}

.admin-ticket-head em {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.admin-service-thread[data-ticket-reply-state="success"] .admin-ticket-head em {
    background: #e8f7ef;
    color: var(--success);
}

.admin-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.admin-ticket-grid span {
    min-width: 0;
    display: grid;
    gap: 2px;
    padding: 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.admin-ticket-grid span.wide {
    grid-column: 1 / -1;
}

.admin-ticket-grid b {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 12px;
}

.admin-chat-preview.user small {
    color: rgba(255, 255, 255, 0.68);
}

.admin-chat-attachment {
    display: block;
    width: min(210px, 100%);
    max-height: 230px;
    margin-top: 6px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.admin-service-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
    align-items: stretch;
}

.admin-reply-form {
    gap: 8px;
    margin: 0;
}

.admin-reply-form textarea {
    min-height: 74px;
    border-color: #ead2c8;
    border-radius: 10px;
    background: #fffdf8;
    font-size: 14px;
}

.admin-reply-form .secondary-btn {
    justify-self: end;
    min-height: 38px;
    min-width: 120px;
    border: 0;
    border-radius: 10px;
    background: var(--blue-900);
    color: #fff;
}

.admin-close-chat-form {
    display: grid;
    margin: 0;
}

.admin-close-chat-form button {
    min-height: 42px;
    border-radius: 10px;
}

.admin-service-action-grid .admin-close-chat-form button {
    min-height: 100%;
}

.reward-page,
.gift-page,
.lucky-page {
    min-height: calc(100vh - 58px);
    margin: 0 -14px;
    padding: 18px 14px 86px;
    background: #fff8ef;
}

.reward-card,
.calendar-card {
    padding: 26px 22px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.reward-card h2,
.calendar-card h2,
.gift-page h1,
.rules-block h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.reward-card p,
.rules-block p,
.reward-note {
    color: #7a5f5a;
    margin: 0 0 18px;
}

.progress-line,
.reward-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff8ef;
}

.progress-line {
    background: #fff4df;
}

.progress-line strong {
    font-size: 26px;
    color: var(--blue-900);
}

.reward-row strong {
    min-width: 88px;
    color: #18a35d;
    text-align: right;
    font-size: 18px;
}

.reward-row.complete {
    background: #eaf8ef;
    border: 1px solid #b9e8ca;
}

.signin-hero {
    margin: 0 -14px;
    padding: 16px 14px 22px;
    background:
        radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.18), transparent 22%),
        linear-gradient(160deg, #d9272e, #d9272e 62%, #a91621);
}

.checkin-page .topbar {
    color: #fff;
    border-bottom: 0;
    background: #d9272e;
}

.checkin-page .topbar h1 {
    font-weight: 900;
}

.signin-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 126px;
    padding: 18px 18px 26px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(127, 16, 24, 0.18);
}

.signin-card strong {
    display: inline-block;
    margin: 0 5px;
    color: #ff7a2f;
    font-size: 30px;
}

.signin-card small {
    display: block;
    margin-top: 8px;
    color: var(--blue-900);
    font-weight: 800;
}

.signin-badge {
    width: 96px;
    height: 96px;
    position: relative;
    border-radius: 18px;
    display: grid;
    place-items: center;
}

.signin-badge img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: drop-shadow(0 12px 13px rgba(122, 44, 0, 0.2));
}

.signin-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    margin: -18px 14px 12px;
    position: relative;
    z-index: 1;
}

.signin-days div {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 74px;
    border-radius: 8px;
    background: #fff8ef;
    font-size: 12px;
    font-weight: 900;
    color: #2a1512;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.signin-days div::before {
    content: none;
}

.signin-days img {
    width: 31px;
    height: 31px;
    object-fit: contain;
    filter: drop-shadow(0 4px 5px rgba(122, 44, 0, 0.16));
}

.signin-days .checked {
    background: linear-gradient(180deg, #fff4d5, #ffe4b4);
    color: #0d6a42;
    border: 1px solid #ffd59a;
}

.signin-summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 14px 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.signin-summary strong {
    color: #fff;
    text-align: right;
}

.orange-btn {
    width: 156px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #ff9b30, #ff6f2f);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(255, 111, 47, 0.26);
}

.orange-btn:disabled,
.primary-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.calendar-card {
    margin: 14px 0;
    text-align: center;
    border: 1px solid var(--line);
}

.calendar-card > strong {
    display: block;
    min-height: 44px;
    margin-bottom: 12px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fff4df;
    font-size: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px 8px;
}

.calendar-grid span {
    min-height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.weekday-row span {
    color: var(--muted);
    font-size: 12px;
}

.calendar-grid .today {
    background: #fff4df;
    color: var(--blue-900);
    font-weight: 900;
}

.calendar-grid .checked {
    background: #e8f7ef;
    color: var(--success);
    font-weight: 900;
}

.checkin-history {
    margin: 14px 0 88px;
}

.checkin-history-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.checkin-history-title h2 {
    margin: 0;
    font-size: 20px;
}

.checkin-history-title strong {
    color: var(--muted);
    font-size: 13px;
}

.checkin-history-list {
    padding: 0 2px;
}

.gift-page {
    background: #fff;
}

.gift-illustration {
    width: 220px;
    height: 170px;
    margin: 10px auto 8px;
    position: relative;
    display: grid;
    place-items: center;
}

.gift-illustration::before {
    content: "";
    position: absolute;
    inset: 18px 28px 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 218, 92, 0.28), transparent 65%);
}

.gift-illustration::after {
    content: "BONUS";
    position: absolute;
    right: 38px;
    bottom: 38px;
    transform: rotate(-22deg);
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--blue-700);
    color: #fff;
    font-weight: 900;
}

.gift-illustration img {
    width: 164px;
    height: 164px;
    position: relative;
    z-index: 1;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(122, 44, 0, 0.2));
}

.gift-page > p {
    margin: 0 0 24px;
    font-weight: 800;
}

.rules-block {
    margin-top: 58px;
}

.lucky-page {
    display: grid;
    gap: 14px;
    margin: 0 -14px;
    padding: 14px 14px 92px;
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 140, 24, 0.16), transparent 30%),
        #fff4df;
}

.lucky-header {
    display: grid;
    gap: 10px;
    min-height: 174px;
    position: relative;
    padding: 22px 16px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.36), transparent 22%),
        linear-gradient(145deg, var(--blue-900), var(--blue-500));
    color: #fff;
    box-shadow: 0 18px 38px rgba(127, 16, 24, 0.18);
}

.lucky-header a {
    position: absolute;
    right: 14px;
    top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue-900);
    font-size: 12px;
    font-weight: 900;
}

.lucky-header span,
.lucky-header strong {
    display: block;
}

.lucky-header strong {
    margin-top: 4px;
    font-size: 30px;
    color: #fff;
}

.lucky-header p {
    width: 78%;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.lucky-entry-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.lucky-entry-stats span {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 800;
}

.lucky-entry-stats strong {
    margin: 0;
    font-size: 18px;
}

.lucky-grid-card,
.lucky-how-card,
.lucky-records {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(127, 16, 24, 0.1);
}

.lucky-prize-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lucky-prize-grid span {
    min-height: 82px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.5), transparent 24%),
        linear-gradient(145deg, #fff8ef, #fff4df);
    color: var(--blue-900);
    text-align: center;
    box-shadow: inset 0 0 0 1px #f2ded6;
}

.lucky-prize-grid span.featured {
    background: linear-gradient(145deg, #fff4cf, #ffe0a3);
    color: #8a4f00;
}

.lucky-prize-grid small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.lucky-prize-grid strong {
    font-size: 18px;
}

.lucky-start-btn {
    position: absolute;
    inset: 50%;
    width: 96px;
    height: 96px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border: 7px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--green-500), var(--blue-700));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(127, 16, 24, 0.24);
    cursor: pointer;
}

.lucky-how-card h2,
.lucky-records h2 {
    margin: 0;
    color: var(--blue-900);
}

.lucky-how-card div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
}

.lucky-how-card div span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff4df;
    color: var(--blue-900);
    font-weight: 900;
}

.lucky-how-card p {
    margin: 0;
    color: #5b2a22;
}

.lucky-record-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: #fff8ef;
}

.lucky-record-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.lucky-record-row > strong {
    color: var(--success);
    white-space: nowrap;
}

.lucky-wheel {
    width: 286px;
    height: 286px;
    margin: -6px auto 22px;
    position: relative;
    border: 12px solid #d9272e;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffd75c 0 19%, transparent 20%),
        conic-gradient(#f28c18 0 45deg, #d9272e 45deg 90deg, #ffc928 90deg 135deg, #d9272e 135deg 180deg, #ffc928 180deg 225deg, #d9272e 225deg 270deg, #f28c18 270deg 315deg, #d9272e 315deg 360deg);
    box-shadow: 0 18px 32px rgba(127, 16, 24, 0.2);
}

.lucky-wheel em {
    position: absolute;
    inset: 50%;
    width: 86px;
    height: 86px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffd75c;
    color: #333;
    font-style: normal;
    font-weight: 900;
}

.wheel-label {
    position: absolute;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
}

.wheel-label.top {
    left: 118px;
    top: 32px;
    transform: rotate(30deg);
}

.wheel-label.right {
    right: 28px;
    top: 132px;
    transform: rotate(90deg);
}

.wheel-label.bottom {
    left: 110px;
    bottom: 32px;
    transform: rotate(-34deg);
}

.wheel-label.left {
    left: 28px;
    top: 132px;
    transform: rotate(-90deg);
}

.admin-products {
    display: grid;
    gap: 16px;
}

.admin-gift-create-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-gift-filter-bar.single {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.admin-gift-mode-card.fixed {
    border-color: rgba(15, 143, 93, 0.24);
    background:
        radial-gradient(circle at 96% 0%, rgba(255, 201, 40, 0.1), transparent 28%),
        #fff;
}

.admin-gift-mode-card.random {
    border-color: rgba(217, 39, 46, 0.22);
    background:
        radial-gradient(circle at 96% 0%, rgba(242, 140, 24, 0.1), transparent 28%),
        #fff;
}

.admin-product-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(127, 16, 24, 0.07);
}

.admin-product-card > form {
    display: grid;
    gap: 14px;
}

.admin-product-create {
    margin-bottom: 16px;
    border-color: rgba(217, 39, 46, 0.22);
    background: #fff8ef;
}

.admin-product-head {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
}

.admin-product-head img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--soft);
}

.admin-product-head small {
    display: block;
    color: var(--muted);
}

.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-product-grid label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 12px;
}

.admin-product-grid input {
    min-height: 42px;
    border: 1px solid #f2ded6;
    border-radius: 8px;
    padding: 0 10px;
    color: var(--ink);
    background: #fffdf8;
    outline: 0;
}

.admin-product-grid input:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.admin-product-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-product-delete-form {
    padding-top: 12px;
    border-top: 1px solid #f7eee8;
}

.admin-product-delete-form .danger-btn {
    justify-self: end;
}

.admin-gift-row {
    align-items: center;
}

.admin-gift-main {
    min-width: 0;
}

.admin-gift-main strong,
.admin-gift-main small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-gift-main small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.admin-gift-controls {
    display: grid;
    grid-template-columns: auto auto 112px 76px 76px;
    gap: 8px;
    align-items: end;
}

.admin-gift-controls label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-gift-controls .inline-check {
    min-height: 42px;
    align-content: center;
}

.admin-gift-controls .status-chip {
    min-height: 42px;
    justify-content: center;
    margin-top: 0;
}

.admin-gift-controls input[type="number"] {
    min-height: 42px;
    width: 100%;
    min-width: 0;
    border: 1px solid #f2ded6;
    border-radius: 8px;
    padding: 0 10px;
    background: #fffdf8;
    color: var(--blue-900);
    font-weight: 800;
}

.admin-gift-controls .secondary-btn,
.admin-gift-controls .approve-btn {
    min-height: 42px;
    border-radius: 8px;
}

.admin-qr-preview {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 12px;
    border: 1px dashed #e4c3b8;
    border-radius: 10px;
    background: #fff8ef;
}

.admin-qr-preview img {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}

.admin-qr-preview span {
    color: var(--muted);
    font-weight: 800;
}

.wide-field {
    grid-column: 1 / -1;
}

.inline-check {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
}

.withdraw-page .app-frame {
    padding: 0 14px 104px;
}

.withdraw-panel {
    display: grid;
    gap: 12px;
}

.withdraw-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 4px;
}

.withdraw-method-card {
    min-height: 94px;
    position: relative;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 14px 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.admin-notification-preview {
    display: grid;
    gap: 10px;
}

.admin-notification-preview img {
    width: min(100%, 280px);
    max-height: 160px;
    object-fit: cover;
    border: 1px solid #f2ded6;
    border-radius: 8px;
    background: #fff;
}

.admin-notification-thumb {
    width: 82px;
    height: 58px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f2ded6;
    background: #fff;
}

.withdraw-method-card em {
    justify-self: start;
    display: inline-grid;
    min-height: 22px;
    place-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2f5;
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.withdraw-method-card-wide {
    grid-column: 1 / -1;
}

.withdraw-upi-card {
    border-color: rgba(242, 140, 24, 0.42);
    background:
        radial-gradient(circle at 92% 18%, rgba(242, 140, 24, 0.16), transparent 28%),
        linear-gradient(145deg, #fff8ef, #ffffff);
    box-shadow: 0 14px 28px rgba(169, 22, 33, 0.08);
    animation: upiCardGlow 2.8s ease-in-out infinite;
}

.withdraw-upi-card em {
    background: linear-gradient(135deg, #a91621, #f28c18);
    color: #fff;
}

.withdraw-upi-card::after {
    content: '';
    position: absolute;
    right: 42px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f28c18;
    box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.44);
    animation: upiPulse 1.8s ease-out infinite;
}

@keyframes upiCardGlow {
    0%,
    100% {
        box-shadow: 0 14px 28px rgba(169, 22, 33, 0.08);
    }

    50% {
        box-shadow: 0 16px 32px rgba(169, 22, 33, 0.17);
    }
}

@keyframes upiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.44);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(242, 140, 24, 0);
    }
}

.withdraw-method-card input {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue-900);
}

.withdraw-method-card:has(input:checked) {
    border-color: rgba(217, 39, 46, 0.48);
    background: linear-gradient(145deg, #fff4df, #fff);
    box-shadow: 0 12px 24px rgba(127, 16, 24, 0.1);
}

.withdraw-upi-card:has(input:checked) {
    border-color: rgba(242, 140, 24, 0.72);
    background:
        radial-gradient(circle at 92% 18%, rgba(242, 140, 24, 0.22), transparent 30%),
        linear-gradient(145deg, #fff4df, #ffffff);
    box-shadow: 0 16px 34px rgba(169, 22, 33, 0.2);
}

.withdraw-method-card strong {
    color: var(--blue-900);
    font-size: 16px;
}

.withdraw-method-card span {
    max-width: 90%;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.withdraw-destination {
    display: none;
    gap: 10px;
}

.withdraw-destination.active {
    display: grid;
}

.withdraw-saved-bank-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff8ef;
}

.withdraw-saved-bank-card h3 {
    margin: 0 0 4px;
    color: var(--blue-900);
    font-size: 18px;
}

.withdraw-saved-bank-card span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.withdraw-saved-bank-card strong {
    max-width: 58%;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    text-align: right;
}

.withdraw-saved-bank-card small {
    margin-top: 4px;
    color: var(--success);
    font-weight: 800;
}

.withdraw-security-alert {
    display: grid;
    gap: 3px;
    margin: 12px 0;
    padding: 13px 14px;
    border: 1px solid #ffe1ad;
    border-radius: 14px;
    background: #fff9ec;
    color: #8b5d08;
}

.withdraw-security-alert strong {
    color: #7a4d00;
}

.withdraw-security-alert span {
    font-size: 13px;
}

.withdraw-amount-label,
.withdraw-section-title {
    margin: 0;
    color: #8a6a61;
    font-size: 17px;
    font-weight: 800;
}

.withdraw-amount-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 0 16px;
    border-radius: 6px;
    background: #f1f1f1;
}

.withdraw-amount-box strong {
    color: #000;
    font-size: 25px;
}

.withdraw-amount-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
    appearance: textfield;
    -moz-appearance: textfield;
}

.withdraw-amount-box input::-webkit-outer-spin-button,
.withdraw-amount-box input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.withdraw-amount-box input::placeholder {
    color: #7a5f5a;
}

.withdraw-summary {
    display: grid;
    gap: 8px;
    margin: 2px 0 18px;
}

.withdraw-summary div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #7a5f5a;
}

.withdraw-summary strong {
    color: #000;
    font-size: 16px;
}

.withdraw-summary div:last-child strong {
    font-size: 24px;
    line-height: 1;
}

.withdraw-section-title {
    color: #000;
    font-size: 18px;
}

.withdraw-bank-card {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #000;
}

.withdraw-bank-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff4df;
    color: var(--blue-900);
}

.withdraw-bank-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.withdraw-bank-card strong,
.withdraw-bank-card small {
    display: block;
}

.withdraw-bank-card small {
    margin-top: 2px;
    color: #8a6a61;
}

.withdraw-bank-card em {
    color: #666;
    font-size: 28px;
    font-style: normal;
}

.withdraw-bank-card.missing {
    color: var(--blue-900);
}

.usdt-wallet-field {
    display: grid;
    gap: 8px;
    color: #000;
    font-weight: 800;
}

.usdt-wallet-field small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.usdt-wallet-field input {
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: #fff;
    color: var(--blue-900);
    outline: 0;
}

.usdt-wallet-field input:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(217, 39, 46, 0.12);
}

.usdt-withdraw-panel .withdraw-summary div:nth-last-child(1) strong {
    color: var(--blue-900);
}

.withdraw-rules {
    margin-top: 12px;
    color: #5b2a22;
    font-size: 16px;
    line-height: 1.18;
}

.withdraw-rules h2 {
    margin: 0 0 10px;
    color: #000;
    font-size: 20px;
}

.withdraw-rules p {
    margin: 0 0 10px;
}

.withdraw-submit {
    width: calc(100% - 28px);
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    max-width: 402px;
    min-height: 52px;
    border-radius: 8px;
    background: #a91621;
}

.confirm-summary {
    width: 100%;
    display: grid;
    gap: 8px;
    margin: 4px 0;
}

.confirm-summary span {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 10px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 12px;
    text-align: left;
}

.confirm-summary strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--blue-900);
    font-size: 14px;
}

.recharge-page .app-frame {
    background: #fff8ef;
}

.recharge-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.recharge-steps span {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(127, 16, 24, 0.08);
}

.recharge-steps span.active {
    background: var(--blue-900);
    color: #fff;
}

.recharge-card {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.recharge-card h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 21px;
}

.recharge-type-card {
    min-height: 330px;
    align-content: start;
}

.recharge-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.recharge-method-card {
    min-height: 98px;
    position: relative;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.recharge-method-card input {
    position: absolute;
    inset: 12px 12px auto auto;
    width: 18px;
    height: 18px;
    accent-color: var(--blue-900);
}

.recharge-method-card:has(input:checked) {
    border-color: rgba(217, 39, 46, 0.45);
    background: linear-gradient(145deg, #fff4df, #fff);
    box-shadow: 0 12px 24px rgba(127, 16, 24, 0.1);
}

.recharge-method-card.disabled {
    opacity: 0.52;
    cursor: not-allowed;
    filter: grayscale(0.35);
}

.recharge-method-card.disabled input {
    cursor: not-allowed;
}

.recharge-method-card strong {
    color: var(--blue-900);
    font-size: 16px;
}

.recharge-bonus-badge {
    display: inline-flex;
    margin-left: 5px;
    border-radius: 999px;
    padding: 2px 7px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 12px;
    font-weight: 900;
    vertical-align: middle;
}

.recharge-method-card span {
    max-width: 90%;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.recharge-bonus-note {
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 11px;
    font-weight: 900;
}

.recharge-amount-page,
.recharge-channel-page {
    min-height: calc(100vh - 156px);
    margin: 0 -14px;
    padding: 16px 18px 98px;
    background: #fff;
}

.recharge-amount-form,
.gateway-channel-form {
    display: grid;
    gap: 16px;
}

.recharge-amount-form h2,
.gateway-channel-form h2 {
    margin: 0;
    color: #8a9199;
    font-size: 22px;
}

.recharge-amount-input {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-radius: 10px;
    background: #f3f3f3;
    color: #000;
}

.recharge-amount-input span,
.recharge-amount-input input {
    color: #000;
    font-size: 30px;
    font-weight: 700;
}

.recharge-amount-input input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.quick-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.recharge-bonus-alert {
    border: 1px solid #ffc7d2;
    border-radius: 12px;
    padding: 11px 12px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(198, 40, 69, 0.08);
}

.quick-amount-btn {
    min-height: 96px;
    border: 0;
    border-radius: 10px;
    background: #f2f2f2;
    color: #000;
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
}

.quick-amount-btn.active {
    background: #fff0bf;
    color: #a91621;
}

.recharge-tips {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 6px 8px;
    margin: 2px -18px 0;
    padding: 22px 24px;
    background: #fff8ef;
    color: #7a5f5a;
    font-size: 16px;
    line-height: 1.18;
}

.recharge-tips::before {
    content: "!";
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #8a6a61;
    color: #fff;
    font-weight: 900;
}

.recharge-tips strong {
    align-self: center;
    color: #7a5f5a;
    font-size: 18px;
    font-weight: 700;
}

.recharge-tips p {
    grid-column: 2;
    margin: 0;
}

.recharge-fixed-btn {
    width: calc(100% - 36px);
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 8;
    max-width: 394px;
    min-height: 70px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: #a91621;
    font-size: 18px;
}

.recharge-selected-amount {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 20px 0 22px;
    border-bottom: 1px solid #f0f0f0;
}

.recharge-selected-amount span {
    font-size: 21px;
}

.recharge-selected-amount strong {
    color: #000;
    font-size: 30px;
    font-weight: 700;
}

.gateway-channel-list {
    display: grid;
    gap: 18px;
}

.gateway-channel-card {
    min-height: 70px;
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 14px 52px 14px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    color: #000;
    cursor: pointer;
}

.gateway-channel-card input {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    accent-color: #d9272e;
}

.gateway-channel-card.active,
.gateway-channel-card:has(input:checked) {
    border-color: #d9272e;
    box-shadow: inset 0 0 0 1px #d9272e;
}

.gateway-channel-card.active {
    background: linear-gradient(145deg, #fff4df, #fff);
}

.gateway-channel-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gateway-channel-icon {
    width: 40px;
    height: 28px;
    grid-row: span 2;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #fff9df;
    color: #a91621;
    font-size: 11px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px #efe6b8;
}

.gateway-channel-card strong {
    font-size: 20px;
    font-weight: 700;
}

.gateway-channel-card small {
    color: var(--muted);
    font-size: 12px;
}

.upi-gateway-shell {
    min-height: calc(100vh - 58px);
    margin: 0 -14px;
    padding-bottom: 56px;
    background: #fff4df;
}

.upi-gateway-head {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 150px;
    align-content: center;
    background: #a91621;
    color: #fff;
    text-align: center;
}

.upi-gateway-head span {
    font-size: 16px;
    font-weight: 700;
}

.upi-gateway-head strong {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.upi-gateway-head em {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

.upi-gateway-body {
    display: grid;
    gap: 10px;
    padding: 18px 20px 24px;
}

.upi-gateway-tabs {
    display: flex;
    gap: 28px;
    align-items: center;
}

.upi-gateway-tabs a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-bottom: 2px solid transparent;
    color: #8a6a61;
    font-size: 17px;
    font-weight: 700;
}

.upi-gateway-tabs a.active {
    border-bottom-color: #d9272e;
    color: #d9272e;
}

.upi-method-panel {
    display: grid;
    gap: 12px;
    padding: 14px 12px 10px;
    border: 1px solid #f2c58b;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
    color: #5b0d12;
}

.upi-method-panel > strong {
    font-size: 16px;
    font-weight: 700;
}

.upi-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.upi-app-btn {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f2c58b;
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.55);
    color: #5b0d12;
    font-size: 13px;
    font-weight: 700;
}

.upi-app-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.upi-mini-logo {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #a91621;
    font-size: 12px;
    font-weight: 900;
}

.upi-mini-logo.phonepe {
    background: #a91621;
    color: #fff;
}

.direct-transfer-box {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 18px 12px;
    border: 1px solid #f2c58b;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
}

.direct-transfer-box h2 {
    margin: 0;
    color: #2a1512;
    font-size: 16px;
    font-weight: 700;
}

.compact-copy div {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 4px;
}

.compact-copy input {
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    font-size: 16px;
    font-weight: 700;
}

.compact-copy button {
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
    color: #2a1512;
    font-size: 0;
}

.compact-copy button::before {
    content: "⧉";
    font-size: 20px;
}

.gateway-utr-form {
    display: grid;
    gap: 8px;
}

.gateway-utr-form label {
    display: grid;
    gap: 8px;
    color: #2a1512;
    font-weight: 700;
}

.gateway-submit-row {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 0;
    overflow: hidden;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.5);
}

.gateway-submit-row input {
    min-width: 0;
    min-height: 40px;
    border: 0;
    padding: 0 10px;
    background: transparent;
    outline: 0;
}

.gateway-submit-row button {
    border: 0;
    border-radius: 8px;
    margin: 3px;
    background: #d9272e;
    color: #fff;
    font-weight: 700;
}

.qr-payment-box {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 16px 0 4px;
    text-align: center;
}

.qr-payment-box > strong {
    color: #2a1512;
    font-size: 23px;
    font-weight: 700;
}

.qr-payment-box > span {
    color: #7a5f5a;
    font-size: 13px;
}

.qr-payment-box img {
    width: 170px;
    height: 170px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.qr-payment-box .gateway-utr-form {
    width: 100%;
    margin-top: 14px;
}

.gateway-summary {
    display: grid;
    gap: 10px;
}

.gateway-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #fff8ef;
}

.gateway-summary span {
    color: var(--muted);
    font-weight: 800;
}

.gateway-summary strong {
    color: var(--blue-900);
    text-align: right;
}

.gateway-summary .usdt-bonus-row {
    border: 1px solid #ffc7d2;
    background: #fff0f2;
}

.gateway-summary .usdt-bonus-row span,
.gateway-summary .usdt-bonus-row strong {
    color: var(--danger);
}

.gateway-summary .usdt-credit-row {
    border: 1px solid #b9e8ca;
    background: #eaf8ef;
}

.gateway-summary .usdt-credit-row span,
.gateway-summary .usdt-credit-row strong {
    color: var(--success);
}

.gateway-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
}

.gateway-head.upi-head {
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 201, 40, 0.28), transparent 32%),
        linear-gradient(135deg, #7f1018, #f28c18);
}

.gateway-head span,
.gateway-head strong {
    display: block;
}

.gateway-head strong {
    font-size: 28px;
}

.gateway-head em {
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue-900);
    font-style: normal;
    font-weight: 900;
}

.gateway-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    border-radius: 12px;
    background: #fff4df;
}

.gateway-tabs span {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.gateway-tabs span.active {
    background: #fff;
    color: var(--blue-900);
    box-shadow: 0 8px 18px rgba(127, 16, 24, 0.08);
}

.upi-payment-box {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff8ef;
}

.upi-qr-panel {
    border-style: solid;
}

.gateway-warning {
    padding: 12px;
    border: 1px solid #ffe1ad;
    border-radius: 12px;
    background: #fff9ec;
    color: #8b5d08;
    font-weight: 800;
}

.upi-gateway-body .gateway-warning {
    border-color: #d99a52;
    border-radius: 4px;
    background: #ffe2b8;
    color: #5b0d12;
    font-size: 12px;
}

.qr-panel {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px dashed #e4c3b8;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.qr-panel img {
    width: 220px;
    height: 220px;
    border-radius: 8px;
}

.send-usdt-line {
    display: block;
    color: var(--blue-900);
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.qr-panel p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.copy-address {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 14px;
}

.copy-address > span {
    font-weight: 800;
}

.copy-address div {
    display: grid;
    grid-template-columns: 1fr 76px;
    gap: 8px;
}

.copy-address input {
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    background: var(--soft);
    color: var(--blue-900);
}

.copy-address button {
    border: 0;
    border-radius: 8px;
    background: var(--green-500);
    color: #fff;
    font-weight: 900;
}

.admin-payment-settings-form {
    display: grid;
    gap: 16px;
}

.admin-upi-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-upi-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 14px 0;
}

.admin-upi-toolbar .secondary-btn {
    min-height: 40px;
    padding: 0 14px;
}

.admin-empty-note {
    margin: 8px 0 14px;
    padding: 12px 14px;
    border: 1px dashed #ead2c8;
    border-radius: 8px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-upi-channel-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff8ef;
}

.admin-upi-channel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-upi-channel-card h3 {
    margin: 0;
    color: var(--blue-900);
}

.admin-upi-delete-btn {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff0f2;
    color: var(--danger);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.admin-upi-delete-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 800;
}

.admin-payment-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff7dd;
    color: #7a4d00;
    font-size: 13px;
    font-weight: 800;
}

.admin-business-gift-rules {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #f2ded6;
    border-radius: 12px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-business-gift-rules strong {
    color: var(--blue-900);
}

.admin-business-gift-list {
    display: grid;
    gap: 14px;
}

.admin-business-gift-card {
    display: grid;
    gap: 13px;
    padding: 15px;
    border: 1px solid #f2ded6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(127, 16, 24, 0.07);
}

.admin-business-gift-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.admin-business-gift-head span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-business-gift-head h3 {
    margin: 4px 0 0;
    color: var(--blue-900);
    font-size: 18px;
}

.admin-business-gift-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.admin-business-gift-grid span {
    min-width: 0;
    display: grid;
    gap: 3px;
    min-height: 56px;
    align-content: center;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fff8ef;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.admin-business-gift-grid strong {
    min-width: 0;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-business-gift-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    min-height: 40px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-business-gift-actions form {
    margin: 0;
}

.admin-business-gift-actions .approve-btn,
.admin-business-gift-actions .secondary-btn {
    min-height: 38px;
    width: auto;
    padding: 0 14px;
}

@media (max-width: 360px) {
    .business-gift-alert {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .business-gift-alert a {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }

    .product-card {
        grid-template-columns: 96px 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .admin-page .app-frame {
        width: 100%;
        min-height: 100vh;
        background: #fff8ef;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        padding-top: 62px;
    }

    .admin-mobile-bar {
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 70;
        min-height: 62px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(127, 16, 24, 0.12);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        box-shadow: 0 10px 24px rgba(127, 16, 24, 0.12);
    }

    .admin-mobile-bar strong {
        min-width: 0;
        overflow: hidden;
        color: var(--blue-900);
        font-size: 16px;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-mobile-bar a,
    .admin-menu-toggle {
        min-height: 40px;
        border: 0;
        border-radius: 10px;
        padding: 0 11px;
        background: #fff4df;
        color: var(--blue-900);
        font-size: 12px;
        font-weight: 900;
    }

    .admin-menu-toggle {
        display: inline-grid;
        grid-template-columns: 16px auto;
        align-items: center;
        gap: 7px;
        cursor: pointer;
    }

    .admin-menu-lines {
        display: grid;
        gap: 3px;
    }

    .admin-menu-lines i {
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .admin-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 75;
        display: block;
        border: 0;
        background: rgba(3, 18, 34, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        width: min(86vw, 320px);
        height: 100dvh;
        gap: 12px;
        padding: 18px 14px;
        box-shadow: 22px 0 40px rgba(127, 16, 24, 0.24);
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .admin-brand {
        grid-template-columns: 42px 1fr 38px;
        gap: 10px 12px;
        align-items: center;
        padding-bottom: 12px;
    }

    .admin-sidebar-close {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .admin-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .admin-brand h1 {
        font-size: 17px;
    }

    .admin-brand p {
        grid-column: auto;
    }

    .admin-nav {
        display: grid;
        gap: 8px;
        overflow-x: visible;
        overflow-y: auto;
        padding: 0 2px 4px 0;
        scroll-snap-type: none;
    }

    .admin-nav a {
        min-width: 0;
        min-height: 44px;
        grid-template-columns: 24px 1fr;
        border-radius: 10px;
        padding: 0 12px;
        scroll-snap-align: none;
        font-size: 14px;
    }

    .admin-nav svg {
        width: 18px;
        height: 18px;
    }

    .admin-header-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .admin-header-actions a {
        min-height: 34px;
        border-radius: 999px;
        font-size: 13px;
    }

    .admin-menu-open {
        overflow: hidden;
    }

    .admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-menu-open .admin-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-content {
        padding: 12px;
    }

    .admin-section {
        padding: 14px;
        border-radius: 12px;
        box-shadow: none;
    }

    .admin-section-head {
        align-items: flex-start;
    }

    .admin-section-head h2,
    .admin-section .section-heading {
        font-size: 21px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-stats .stat-item {
        min-height: 86px;
        padding: 12px;
    }

    .admin-stats .stat-item strong {
        font-size: 18px;
    }

    .admin-priority-grid,
    .admin-dashboard-lists {
        grid-template-columns: 1fr;
    }

    .admin-priority-card {
        min-height: 104px;
        padding: 14px;
    }

    .admin-user-grid,
    .admin-gift-create-grid,
    .admin-product-grid,
    .admin-upi-channel-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-stats.expanded,
    .admin-user-meta,
    .admin-user-profile-grid,
    .admin-user-info-grid,
    .admin-user-metric-grid,
    .admin-user-metric-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-user-summary {
        grid-template-columns: 1fr;
    }

    .admin-user-summary-meta {
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-user-search {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .admin-user-edit-form {
        grid-template-columns: 1fr;
    }

    .admin-user-action-grid,
    .admin-user-reset-row {
        grid-template-columns: 1fr;
    }

    .admin-product-head {
        grid-template-columns: 58px 1fr;
    }

    .admin-product-head .inline-check {
        grid-column: 1 / -1;
    }

    .admin-product-actions,
    .admin-product-delete-form .danger-btn {
        width: 100%;
        justify-self: stretch;
    }

    .admin-product-actions .primary-btn,
    .admin-product-delete-form .danger-btn {
        width: 100%;
    }

    .admin-request-title,
    .admin-request-history-title,
    .admin-list-title,
    .admin-list-subhead,
    .admin-users-title,
    .admin-service-title,
    .admin-request-head,
    .admin-service-header,
    .admin-section .transaction-row {
        align-items: flex-start;
    }

    .admin-request-title,
    .admin-request-history-title,
    .admin-list-title,
    .admin-list-subhead,
    .admin-users-title,
    .admin-service-title {
        flex-direction: column;
    }

    .admin-request-grid,
    .admin-review-summary,
    .admin-filter-bar,
    .admin-service-overview,
    .admin-request-actions {
        grid-template-columns: 1fr;
    }

    .admin-request-summary-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .admin-business-gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-business-gift-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-business-gift-actions .approve-btn,
    .admin-business-gift-actions .secondary-btn,
    .admin-business-gift-actions form {
        width: 100%;
    }

    .admin-gift-filter-bar.single {
        grid-template-columns: 1fr;
    }

    .admin-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-pagination div {
        width: 100%;
        justify-content: space-between;
    }

    .admin-filter-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-filter-tabs a {
        justify-content: center;
        padding: 0 8px;
    }

    .admin-gift-controls {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-gift-controls .status-chip,
    .admin-gift-controls label,
    .admin-gift-controls .secondary-btn,
    .admin-gift-controls .approve-btn {
        width: 100%;
    }

    .admin-service-header,
    .admin-service-action-grid,
    .admin-service-meta {
        grid-template-columns: 1fr;
    }

    .admin-service-header {
        display: grid;
    }

    .admin-service-status {
        justify-items: start;
        min-width: 0;
        text-align: left;
    }

    .admin-service-action-grid .admin-close-chat-form button {
        min-height: 42px;
    }

    .admin-reference-box div {
        grid-template-columns: minmax(0, 1fr) 68px;
    }

    .admin-withdraw-copy-grid,
    .admin-request-actions {
        grid-template-columns: 1fr;
    }

    .admin-data-list,
    .admin-service-list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .admin-section .transaction-row {
        flex-direction: column;
    }

    .admin-section .transaction-amount {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .admin-chat-preview {
        max-width: 92%;
    }
}

@media (max-width: 480px) {
    .admin-mobile-bar {
        min-height: 56px;
        gap: 6px;
        padding: 8px 9px;
    }

    .admin-mobile-bar strong {
        font-size: 14px;
    }

    .admin-mobile-bar a,
    .admin-menu-toggle {
        min-height: 36px;
        border-radius: 9px;
        padding: 0 8px;
        font-size: 11px;
    }

    .admin-shell {
        padding-top: 56px;
    }

    .admin-content {
        padding: 8px;
    }

    .admin-section {
        padding: 10px;
        border-radius: 10px;
    }

    .admin-list-title,
    .admin-section-head,
    .admin-users-title,
    .admin-request-title,
    .admin-request-history-title,
    .admin-service-title {
        gap: 8px;
        margin-bottom: 10px;
    }

    .admin-section-head h2,
    .admin-section .section-heading {
        font-size: 19px;
    }

    .admin-review-summary,
    .admin-user-overview-summary,
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .admin-review-summary span,
    .admin-stats .stat-item {
        min-height: 68px;
        padding: 10px;
    }

    .admin-review-summary strong,
    .admin-stats .stat-item strong {
        font-size: 17px;
    }

    .admin-filter-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-filter-tabs a {
        min-height: 32px;
        padding: 0 7px;
        font-size: 12px;
    }

    .admin-request-summary-meta {
        grid-template-columns: 1fr;
    }

    .admin-business-gift-card {
        border-radius: 12px;
        padding: 12px;
    }

    .admin-business-gift-head {
        flex-direction: column;
        gap: 8px;
    }

    .admin-business-gift-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .admin-business-gift-grid span {
        min-height: 50px;
        padding: 8px;
    }

    .admin-business-gift-grid strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .admin-user-card,
    .admin-request-card,
    .admin-service-thread,
    .admin-product-card,
    .admin-dashboard-card {
        border-radius: 12px;
        padding: 12px;
    }

    .admin-user-summary {
        gap: 9px;
    }

    .admin-user-head {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 9px;
    }

    .admin-user-head .member-avatar {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .admin-user-head small,
    .admin-user-summary-meta strong,
    .admin-user-info-grid strong,
    .admin-user-metric-grid strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .admin-user-summary-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-user-summary-meta span,
    .admin-user-info-grid span,
    .admin-user-metric-grid span {
        min-height: 50px;
        padding: 8px;
    }

    .admin-user-profile-grid,
    .admin-user-info-grid,
    .admin-user-metric-grid,
    .admin-user-metric-grid.compact {
        grid-template-columns: 1fr;
    }

    .admin-user-panel {
        border-radius: 12px;
        padding: 10px;
    }

    .admin-user-edit-form {
        gap: 8px;
        padding: 0 10px 10px;
    }

    .admin-priority-card {
        grid-template-columns: 36px 1fr;
        min-height: 92px;
        padding: 12px;
    }

    .admin-priority-icon {
        width: 36px;
        height: 36px;
    }

    .admin-request-grid span,
    .admin-service-meta span,
    .admin-ticket-grid span {
        min-height: 48px;
        padding: 8px;
    }

    .admin-pagination {
        padding: 9px;
    }
}
