#admin-dashboard-section {
    min-height: 100dvh;
    color: #4a2940;
    background:
        radial-gradient(circle at 85% 6%, rgba(255, 104, 178, .16), transparent 25rem),
        radial-gradient(circle at 5% 45%, rgba(194, 139, 255, .12), transparent 22rem),
        #fff8fc;
}

.admin-overview { padding: calc(env(safe-area-inset-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 38px); }
.admin-overview svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.admin-overview-header { display: flex; align-items: center; gap: 11px; min-height: 54px; margin-bottom: 18px; }
.admin-overview-title { min-width: 0; flex: 1; }
.admin-overview-title span,
.admin-economy-heading span,
.admin-overview-section-head span,
.admin-overview-sheet-head span { display: block; color: #ee4b98; font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.admin-overview-title h1 { margin: 1px 0 0; color: #3e2037; font-size: 22px; font-weight: 900; line-height: 1.05; }
.admin-overview-head-actions { display: flex; gap: 8px; }
.admin-overview-icon-btn { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid #f4cfdf; border-radius: 50%; color: #d94388; background: rgba(255,255,255,.86); box-shadow: 0 7px 22px rgba(93, 35, 68, .07); }
.admin-overview-icon-btn.is-pink { color: #fff; border-color: #f04495; background: linear-gradient(145deg, #ff6aac, #df3b8a); }
.admin-overview-icon-btn:active { transform: scale(.96); }

.admin-overview-body { display: grid; gap: 16px; }
.admin-economy-card { overflow: hidden; padding: 20px; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; color: #fff; background: linear-gradient(145deg, #ff62a8 0%, #e54396 52%, #ae66d9 100%); box-shadow: 0 18px 44px rgba(205, 54, 137, .22); }
.admin-economy-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-economy-heading span { color: rgba(255,255,255,.72); }
.admin-economy-heading h2 { margin: 3px 0 0; color: #fff; font-size: 16px; font-weight: 800; }
.admin-coin-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.admin-coin-mark svg { width: 25px; height: 25px; }
.admin-economy-total { display: block; margin: 18px 0 15px; color: #fff; font-size: clamp(36px, 10vw, 54px); font-weight: 900; letter-spacing: -.045em; line-height: .95; }
.admin-economy-chart { display: flex; height: 74px; align-items: flex-end; gap: 5px; padding-top: 7px; border-bottom: 1px solid rgba(255,255,255,.28); }
.admin-economy-chart-bar { position: relative; flex: 1; min-height: 4px; border-radius: 4px 4px 0 0; background: rgba(255,255,255,.32); transition: height .35s ease; }
.admin-economy-chart-bar:nth-last-child(-n+4) { background: rgba(255,255,255,.78); }
.admin-economy-chart-bar::after { position: absolute; inset: auto 0 -4px; height: 4px; content: ''; }
.admin-economy-caption { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; color: rgba(255,255,255,.76); font-size: 9px; font-weight: 700; }

.admin-economy-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.admin-economy-mini { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 13px; border: 1px solid #f3d4e2; border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 8px 24px rgba(92,40,69,.055); }
.admin-mini-icon { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 13px; }
.admin-mini-icon svg { width: 18px; height: 18px; }
.admin-economy-mini.is-spent .admin-mini-icon { color: #eb4b94; background: #fff0f7; }
.admin-economy-mini.is-balance .admin-mini-icon { color: #8b52c7; background: #f7efff; }
.admin-economy-mini div { min-width: 0; }
.admin-economy-mini small { display: block; overflow: hidden; color: #9a7289; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-economy-mini strong { display: block; margin-top: 3px; overflow: hidden; color: #49273e; font-size: 17px; font-weight: 900; text-overflow: ellipsis; }
.admin-users-open-btn { display: flex; width: 100%; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid #f1cede; border-radius: 18px; color: #754e65; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(92,40,69,.045); text-align: left; }
.admin-users-open-btn > span { display: flex; min-width: 0; flex: 1; align-items: center; gap: 8px; color: #d83e87; font-size: 11px; font-weight: 900; }
.admin-users-open-btn > span svg { width: 18px; height: 18px; }
.admin-users-open-btn > small { color: #a17890; font-size: 9px; font-weight: 700; }
.admin-users-open-btn > svg { width: 15px; height: 15px; color: #d83e87; }

.admin-top-creators { padding: 18px 16px; border: 1px solid #f2d4e2; border-radius: 26px; background: rgba(255,255,255,.9); box-shadow: 0 12px 34px rgba(92,40,69,.06); }
.admin-overview-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.admin-overview-section-head h2 { margin: 2px 0 0; color: #45223b; font-size: 20px; font-weight: 900; }
.admin-overview-section-head button { display: flex; align-items: center; gap: 3px; padding: 7px 0; border: 0; color: #e1428d; background: transparent; font-size: 11px; font-weight: 900; }
.admin-overview-section-head button svg { width: 14px; height: 14px; }
.admin-top-list { display: grid; gap: 3px; }
.admin-creator-row { display: grid; grid-template-columns: 30px 44px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid #f6e5ed; }
.admin-creator-row:last-child { border-bottom: 0; }
.admin-creator-rank { color: #dca0bc; font-size: 12px; font-weight: 900; text-align: center; }
.admin-creator-rank.is-top { color: #f0a600; }
.admin-creator-avatar { width: 44px; height: 44px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #f4c3da; }
.admin-creator-copy { min-width: 0; }
.admin-creator-copy strong { display: block; overflow: hidden; color: #4a2940; font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-creator-copy small { display: block; overflow: hidden; margin-top: 2px; color: #a17a90; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-creator-stars { min-width: 72px; text-align: right; }
.admin-creator-stars strong { display: block; color: #7a4a67; font-size: 13px; font-weight: 900; }
.admin-creator-stars small { color: #c18ba7; font-size: 8px; font-weight: 800; }
.admin-overview-empty { margin: 15px 0; color: #a77e95; font-size: 11px; font-weight: 700; text-align: center; }
.admin-overview-message { min-height: 16px; margin: 0; color: #cf3d82; font-size: 10px; font-weight: 800; text-align: center; }

.admin-overview-sheet { position: fixed; z-index: 210; inset: 0; display: flex; visibility: hidden; align-items: flex-end; pointer-events: none; }
.admin-overview-sheet.is-open { visibility: visible; pointer-events: auto; }
.admin-overview-sheet-backdrop { position: absolute; inset: 0; border: 0; opacity: 0; background: rgba(40, 20, 34, .48); backdrop-filter: blur(3px); transition: opacity .2s ease; }
.admin-overview-sheet.is-open .admin-overview-sheet-backdrop { opacity: 1; }
.admin-overview-sheet-panel { position: relative; display: flex; width: 100%; max-width: 760px; max-height: 90dvh; flex-direction: column; margin: 0 auto; padding: 10px 17px calc(env(safe-area-inset-bottom) + 20px); border-radius: 30px 30px 0 0; background: #fffafd; box-shadow: 0 -18px 50px rgba(70,27,51,.2); transform: translateY(104%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.admin-overview-sheet.is-open .admin-overview-sheet-panel { transform: translateY(0); }
.admin-overview-sheet-panel.is-compact { max-height: 76dvh; }
.admin-overview-sheet-handle { width: 38px; height: 4px; margin: 0 auto 14px; border-radius: 999px; background: #e7c5d5; }
.admin-overview-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.admin-overview-sheet-head h2 { margin: 2px 0 0; color: #432139; font-size: 21px; font-weight: 900; }
.admin-overview-sheet-head > button { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #d73e83; background: #fbeaf2; }
.admin-overview-sheet-head svg { width: 18px; height: 18px; }
.admin-creator-search { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 0 13px; border: 1px solid #f0cbdc; border-radius: 15px; color: #c14a84; background: #fff; }
.admin-creator-search svg { flex: 0 0 auto; width: 17px; height: 17px; }
.admin-creator-search input { width: 100%; height: 43px; border: 0; outline: 0; color: #4b2c40; background: transparent; font-size: 12px; font-weight: 700; }
.admin-creator-directory { overflow-y: auto; overscroll-behavior: contain; }
.admin-user-directory { overflow-y: auto; overscroll-behavior: contain; }
.admin-user-ranking-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-bottom: 10px; padding: 4px; border-radius: 16px; background: #f8eaf1; }
.admin-user-ranking-tabs button { padding: 10px 8px; border: 0; border-radius: 12px; color: #936a80; background: transparent; font-size: 10px; font-weight: 900; }
.admin-user-ranking-tabs button.is-active { color: #fff; background: linear-gradient(135deg,#f65ca3,#da3d89); box-shadow: 0 6px 16px rgba(216,61,137,.2); }
.admin-user-row { display: grid; grid-template-columns: 27px 38px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 58px; padding: 8px 2px; border-bottom: 1px solid #f4e1ea; }
.admin-user-rank { color: #cf9bb4; font-size: 10px; font-weight: 900; text-align: center; }
.admin-user-rank.is-top { color: #efa500; }
.admin-user-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#f46eaa,#b76ad0); font-size: 13px; font-weight: 900; }
.admin-user-coins { min-width: 90px; text-align: right; }
.admin-user-coins strong { display: block; color: #593449; font-size: 12px; font-weight: 900; }
.admin-user-coins small { display: block; margin-top: 2px; color: #b08199; font-size: 8px; font-weight: 700; }
.admin-directory-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 2px; border-bottom: 1px solid #f4e1ea; }
.admin-directory-row .admin-creator-stars { display: flex; align-items: center; gap: 9px; }
.admin-directory-edit { padding: 8px 12px; border: 1px solid #efbfd5; border-radius: 999px; color: #dd3f89; background: #fff; font-size: 10px; font-weight: 900; }
.admin-boost-pill { display: inline-flex; margin-top: 4px; padding: 2px 6px; border-radius: 999px; color: #a06600; background: #fff1c7; font-size: 8px; font-weight: 900; }

.admin-edit-identity { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid #f2d4e2; border-radius: 20px; background: #fff; }
.admin-edit-identity .admin-creator-avatar { width: 54px; height: 54px; }
.admin-edit-identity div { min-width: 0; }
.admin-edit-identity strong { display: block; overflow: hidden; color: #47243b; font-size: 16px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-edit-identity span { display: block; margin-top: 3px; color: #a5748d; font-size: 10px; font-weight: 700; }
.admin-boost-box { margin-top: 12px; padding: 15px; border-radius: 20px; background: linear-gradient(145deg,#fff0f7,#fbf2ff); }
.admin-boost-box > span { color: #d83e87; font-size: 12px; font-weight: 900; }
.admin-boost-box p { margin: 5px 0 12px; color: #8d6680; font-size: 10px; line-height: 1.45; }
.admin-boost-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.admin-boost-actions button { padding: 11px; border: 1px solid #efbed4; border-radius: 14px; color: #db3d87; background: #fff; font-size: 11px; font-weight: 900; }
.admin-boost-actions button:last-child { color: #fff; border-color: #e8408d; background: linear-gradient(135deg,#f85da3,#db3c8c); }
.admin-boost-actions button:disabled { opacity: .48; }
.admin-manage-content-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border: 0; border-radius: 15px; color: #775265; background: #f3e8ee; font-size: 11px; font-weight: 900; }
.admin-manage-content-btn[hidden] { display: none; }

body.admin-overview-sheet-open { overflow: hidden; }
@media (min-width: 700px) {
    .admin-overview { padding-inline: 26px; }
    .admin-economy-mini { padding: 16px; }
}
