:root {
    --blue-900: #073763;
    --blue-800: #0b4f8a;
    --blue-700: #0067b1;
    --blue-500: #00a3e0;
    --green-500: #78be20;
    --green-600: #5f9918;
    --amber-400: #f6b73c;
    --ink: #102333;
    --muted: #6c7a89;
    --line: #e6edf3;
    --surface: #ffffff;
    --soft: #f4f8fb;
    --danger: #c62845;
    --success: #0f8f5d;
    --shadow: 0 10px 28px rgba(7, 55, 99, 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(0, 163, 224, 0.18), transparent 28%),
        linear-gradient(180deg, #eef7ff 0%, #ffffff 42%);
}

.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(7, 55, 99, 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(7, 55, 99, 0.28);
}

.auth-panel {
    padding-bottom: 28px;
}

.auth-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 55, 99, 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(7, 55, 99, 0.88), rgba(7, 55, 99, 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-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(0, 103, 177, 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(0, 103, 177, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 0%, rgba(120, 190, 32, 0.16), transparent 30%),
        rgba(255, 255, 255, 0.96);
    color: var(--blue-900);
    box-shadow: 0 18px 45px rgba(7, 55, 99, 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(7, 55, 99, 0.2);
}

.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-toast-head small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.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: #eef7ff;
    color: var(--blue-900);
    font-size: 18px;
    box-shadow: inset 0 0 0 1px #d4e8f7;
}

.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 {
    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);
}

.text-link {
    text-align: center;
    color: var(--blue-800);
    font-weight: 800;
}

.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(7, 55, 99, 0.85), rgba(7, 55, 99, 0.12));
}

.hero-copy {
    position: absolute;
    z-index: 1;
    left: 22px;
    top: 28px;
    width: 240px;
}

.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;
}

.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: #e4f4ff;
    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: #1c2c3a;
    font-size: 13px;
    text-align: center;
}

.home-page .app-frame {
    background: #f4f8fb;
}

.home-page .hero-card {
    min-height: 228px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 26px rgba(7, 55, 99, 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: #5d6470;
    box-shadow: 0 8px 20px rgba(7, 55, 99, 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;
}

@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(0, 103, 177, 0.1);
    background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
    box-shadow: 0 14px 28px rgba(7, 55, 99, 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(7, 55, 99, 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, #49c4ff 0%, #0c4aa3 70%),
        var(--blue-900);
    color: #fff;
    box-shadow: 0 10px 16px rgba(12, 74, 163, 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: #e4f4ff;
    font-size: 13px;
    line-height: 1.15;
}

.home-page .quick-grid {
    gap: 18px 10px;
    margin: 10px 0 14px;
}

.home-page .quick-grid a {
    color: #101820;
    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: #33495c;
}

.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, #eef8ff, #fff);
    border: 1px solid #dcecf8;
}

.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: #f7fbff;
    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: #eaf2f8;
}

.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, #087dc1 0%, #073763 72%);
    color: #fff;
    box-shadow:
        0 12px 20px rgba(7, 55, 99, 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: #4c5965;
}

.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-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);
}

.solar-thumb {
    height: 104px;
    border-radius: 8px;
    background: linear-gradient(145deg, #e8f7ff, #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, #163f69, #0a81c4);
    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;
}

.my-products-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.my-products-summary div,
.my-product-card {
    border: 1px solid #dfe8f1;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7, 55, 99, 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(0, 163, 224, 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: #f5f9fd;
    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: #e8f1f7;
}

.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, #f7fbff, #edf8ff);
}

.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;
}

.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;
}

.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);
}

.profile-card h1 {
    margin: 0 0 2px;
    font-size: 20px;
}

.profile-card p,
.profile-card small {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.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;
}

.stat-item {
    padding: 8px 4px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 17px;
    color: var(--blue-900);
    word-break: break-word;
}

.wallet-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    text-align: center;
}

.wallet-card strong {
    display: block;
    font-size: 18px;
    color: var(--blue-900);
}

.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(7, 55, 99, 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(7, 55, 99, 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;
}

.funds-tabs {
    grid-template-columns: repeat(4, 1fr);
    margin: 0 -14px 12px;
    background: #fff;
}

.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;
}

.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: #9aa4ad;
    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);
}

.list-row,
.transaction-row,
.admin-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.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);
}

.block-row {
    display: grid;
}

.transaction-amount {
    min-width: 110px;
    text-align: right;
}

.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-rejected {
    background: #fff0f2;
    color: var(--danger);
}

.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(120, 190, 32, 0.28), transparent 28%),
        linear-gradient(135deg, var(--blue-900), var(--blue-500));
    color: #fff;
    box-shadow: 0 18px 38px rgba(7, 55, 99, 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(120, 190, 32, 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(7, 55, 99, 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);
}

.service-chat-card {
    display: grid;
    overflow: hidden;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(7, 55, 99, 0.14);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f7fbff, #eef8ff);
    border-bottom: 1px solid #dfeef8;
}

.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;
}

.chat-messages {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding: 14px 16px;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 163, 224, 0.08), transparent 28%),
        #fbfdff;
}

.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;
}

.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(7, 55, 99, 0.16);
}

.chat-bubble.admin {
    margin-right: auto;
    background: #fff;
    color: var(--ink);
    border-bottom-left-radius: 4px;
    border: 1px solid #dfeef8;
    box-shadow: 0 10px 22px rgba(7, 55, 99, 0.08);
}

.chat-bubble small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.chat-input-label textarea {
    min-height: 64px;
    font-size: 14px;
}

.chat-form {
    gap: 10px;
    padding: 0 16px 14px;
}

.chat-form .primary-btn {
    min-height: 50px;
}

.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: #8c969f;
    font-size: 12px;
    font-weight: 800;
}

.nav-item .nav-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: currentColor;
}

.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: hidden;
    background:
        radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.32), transparent 28%),
        linear-gradient(145deg, #0a82c8 0%, #073763 72%);
    color: #fff;
    box-shadow:
        0 16px 26px rgba(7, 55, 99, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.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;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.notice-dialog {
    width: min(100%, 350px);
    min-height: 380px;
    position: relative;
    border-radius: 8px;
    border-top: 5px solid var(--green-500);
    background: #fff;
    padding: 34px 22px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.notice-dialog h2 {
    text-align: center;
    margin: 0 0 18px;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    color: #777;
    cursor: pointer;
}

.notice-badge {
    position: absolute;
    left: 22px;
    top: -24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-500);
}

.notice-badge::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px solid #fff;
    border-left: 0;
    border-radius: 50%;
}

.notice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}

.notice-actions a {
    min-height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--blue-700);
    color: #fff;
    font-weight: 800;
}

.admin-page .app-frame {
    width: min(100%, 1180px);
    min-height: 100vh;
    padding: 0;
    background: #eef3f8;
}

.admin-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
}

.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(0, 163, 224, 0.35), transparent 30%),
        linear-gradient(180deg, #062c50 0%, #071c33 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, #00a3e0, #78be20);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.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 #dfe8f1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(7, 55, 99, 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 #dfe8f1;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #f5faff);
    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-row {
    align-items: center;
}

.admin-section .list-card {
    margin: 0;
    box-shadow: none;
    border: 1px solid #e3edf6;
    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: #f8fbff;
}

.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: #eef7ff;
    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 #dfe8f1;
    border-radius: 16px;
    background: #f8fbff;
}

.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 #d8e6f1;
    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(0, 103, 177, 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 #e3edf6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 55, 99, 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-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: #f5f9fd;
    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 #e3edf6;
    border-radius: 12px;
    background: #fbfdff;
    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 #dfe8f1;
    border-radius: 14px;
    background: #f8fbff;
}

.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 #d8e6f1;
    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(0, 103, 177, 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: #eef2f6;
    color: var(--blue-900);
}

.admin-data-list {
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
}

.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(7, 55, 99, 0.24);
}

.admin-request-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-request-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 {
    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 #dfe8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(7, 55, 99, 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-head em {
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef7ff;
    color: var(--blue-900);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.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: #f6faff;
    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 #dce8f1;
    border-radius: 10px;
    padding: 0 10px;
    background: #fbfdff;
    color: var(--blue-900);
    font-weight: 800;
}

.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: #f6fbff;
    color: #344463;
    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;
}

.admin-request-actions .approve-btn,
.admin-request-actions .reject-btn {
    min-height: 42px;
    border-radius: 10px;
}

.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(7, 55, 99, 0.16);
}

.admin-service-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.admin-service-overview span {
    display: grid;
    gap: 4px;
    min-height: 78px;
    align-content: center;
    padding: 14px;
    border: 1px solid #dfe8f1;
    border-radius: 14px;
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 163, 224, 0.12), transparent 34%),
        linear-gradient(145deg, #fff, #f6fbff);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-service-overview strong {
    color: var(--blue-900);
    font-size: 24px;
}

.admin-service-list {
    display: grid;
    gap: 14px;
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.admin-service-thread {
    margin: 0;
    padding: 16px;
    border: 1px solid #dfe8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(7, 55, 99, 0.07);
}

.admin-service-thread.is-pending {
    border-color: rgba(0, 163, 224, 0.35);
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 163, 224, 0.08), transparent 30%),
        #fff;
}

.admin-service-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    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-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-header em {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f7ef;
    color: var(--success);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.admin-service-thread.is-pending .admin-service-header em {
    background: #fff7dd;
    color: #9b6500;
}

.admin-chat-preview {
    max-width: 78%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    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 #dfeef8;
    background: #f8fbff;
    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 small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

.admin-reply-form {
    gap: 8px;
    margin-top: 8px;
}

.admin-reply-form textarea {
    min-height: 76px;
    border-color: #cfe2f3;
    border-radius: 12px;
    background: #fbfdff;
    font-size: 14px;
}

.admin-reply-form .secondary-btn {
    justify-self: end;
    min-height: 38px;
    min-width: 120px;
    border: 0;
    border-radius: 999px;
    background: var(--blue-900);
    color: #fff;
}

.reward-page,
.gift-page,
.lucky-page {
    min-height: calc(100vh - 58px);
    margin: 0 -14px;
    padding: 18px 14px 86px;
    background: #f3f6f9;
}

.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: #4f5c68;
    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: #f7f9fb;
}

.progress-line {
    background: #eaf6ff;
}

.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, #057bc4, #0067b1 62%, #07528d);
}

.checkin-page .topbar {
    color: #fff;
    border-bottom: 0;
    background: #057bc4;
}

.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(7, 55, 99, 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: #f6f8fb;
    font-size: 12px;
    font-weight: 900;
    color: #182837;
    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: #eaf4ff;
    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: #eaf4ff;
    color: var(--blue-900);
    font-weight: 900;
}

.calendar-grid .checked {
    background: #e8f7ef;
    color: var(--success);
    font-weight: 900;
}

.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(0, 163, 224, 0.16), transparent 30%),
        #eef3ff;
}

.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(7, 55, 99, 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 #dfe8f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(7, 55, 99, 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, #f7fbff, #eaf5ff);
    color: var(--blue-900);
    text-align: center;
    box-shadow: inset 0 0 0 1px #dcebf7;
}

.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(7, 55, 99, 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: #eaf5ff;
    color: var(--blue-900);
    font-weight: 900;
}

.lucky-how-card p {
    margin: 0;
    color: #344463;
}

.lucky-record-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: #f7fbff;
}

.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 #087dc1;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffd75c 0 19%, transparent 20%),
        conic-gradient(#1098df 0 45deg, #077fc5 45deg 90deg, #18aee8 90deg 135deg, #087dc1 135deg 180deg, #18aee8 180deg 225deg, #077fc5 225deg 270deg, #1098df 270deg 315deg, #087dc1 315deg 360deg);
    box-shadow: 0 18px 32px rgba(7, 55, 99, 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-product-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e3edf6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 55, 99, 0.07);
}

.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 #dfe8f1;
    border-radius: 8px;
    padding: 0 10px;
    color: var(--ink);
    background: #fbfdff;
    outline: 0;
}

.admin-product-grid input:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(0, 103, 177, 0.12);
}

.admin-qr-preview {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding: 12px;
    border: 1px dashed #b8d4e8;
    border-radius: 10px;
    background: #f8fbff;
}

.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-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: #8d949c;
    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;
}

.withdraw-amount-box input::placeholder {
    color: #7d8289;
}

.withdraw-summary {
    display: grid;
    gap: 8px;
    margin: 2px 0 18px;
}

.withdraw-summary div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #5d6470;
}

.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: #e8f3ff;
    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: #8d949c;
}

.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(0, 103, 177, 0.12);
}

.usdt-withdraw-panel .withdraw-summary div:nth-last-child(1) strong {
    color: var(--blue-900);
}

.withdraw-rules {
    margin-top: 12px;
    color: #344463;
    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: #0c4aa3;
}

.confirm-summary {
    width: 100%;
    display: grid;
    gap: 8px;
    margin: 4px 0;
}

.confirm-summary span {
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 10px;
    background: #f5f9fd;
    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: #f3f7fb;
}

.recharge-steps {
    display: grid;
    grid-template-columns: repeat(3, 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: 900;
    box-shadow: 0 8px 18px rgba(7, 55, 99, 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;
}

.gateway-summary {
    display: grid;
    gap: 10px;
}

.gateway-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f9fd;
}

.gateway-summary span {
    color: var(--muted);
    font-weight: 800;
}

.gateway-summary strong {
    color: var(--blue-900);
    text-align: right;
}

.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 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;
}

.qr-panel {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px dashed #b8d4e8;
    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;
}

@media (max-width: 360px) {
    .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-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 18px 14px;
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-content {
        padding: 14px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-user-grid,
    .admin-product-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-stats.expanded,
    .admin-user-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-user-search {
        grid-template-columns: 1fr;
    }

    .admin-user-edit-form {
        grid-template-columns: 1fr;
    }

    .admin-product-head {
        grid-template-columns: 58px 1fr;
    }

    .admin-product-head .inline-check {
        grid-column: 1 / -1;
    }
}
