@font-face {
  font-family: 'Manrope';
  src: url('./fonts/Manrope-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #252a32;
  background: #f5f6f8;
  --orange: #ef6426;
  --muted: #78828f;
  --line: #e8ebef;
  --teal: #36a8a3;
  --sidebar: 224px;
}
* { box-sizing: border-box; }
body { margin: 0; }
button,input,select,textarea { font: inherit; }
button,a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { opacity: .4; cursor: not-allowed; }
button,a,input,select,textarea { transition: background-color .16s, border-color .16s, color .16s, box-shadow .16s; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid #f6bb9a; outline-offset: 3px; }
input,select,textarea {
  border: 1px solid #dfe4e9;
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 0;
  max-width: 100%;
  background: #fff;
  color: #343b45;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.45;
}
input:hover,select:hover,textarea:hover { border-color: #c9d0d8; }
input:focus,select:focus,textarea:focus { border-color: #eb9f79; box-shadow: 0 0 0 3px #fff2e9; }
input::placeholder,textarea::placeholder { color: #959da8; opacity: 1; }
textarea { resize: vertical; min-height: 104px; }
select { cursor: pointer; padding-right: 28px; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: 29px; font-weight: 650; letter-spacing: -.9px; line-height: 1.3; }
h2 { font-size: 15px; font-weight: 650; letter-spacing: -.25px; line-height: 1.4; }
h3 { font-size: 14px; font-weight: 650; letter-spacing: -.15px; }
b,strong { font-weight: 650; }
small { font-size: 11px; font-weight: 450; color: var(--muted); }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar);
  display: flex; flex-direction: column; z-index: 30;
  background: #1e252b; color: #aeb7c0; border-right: 1px solid #293038;
}
.brand { display: flex; align-items: center; gap: 12px; height: 92px; padding: 23px; flex-shrink: 0; }
.brand strong { font-size: 27px; font-weight: 750; letter-spacing: -1px; line-height: 1; color: #f8fafc; }
.brand small { display: block; color: #87939e; font-size: 10px; letter-spacing: 1.8px; margin-top: 5px; }
.logo { position: relative; width: 44px; height: 42px; flex-shrink: 0; }
.logo:before,.logo:after { content: ''; position: absolute; width: 29px; height: 29px; border-radius: 9px; background: #ff671f; }
.logo:before { top: 0; left: 0; }
.logo:after { top: 12px; left: 15px; box-shadow: 0 0 0 2px #1e252b; }
.sidebar nav { padding: 8px 12px; overflow-y: auto; scrollbar-width: thin; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 11px 12px; border-radius: 8px; margin-bottom: 5px; font-size: 13px; font-weight: 500; }
.nav-link .icon { width: 19px; height: 19px; opacity: .9; }
.nav-link:hover { background: #ffffff07; color: #fff; }
.nav-link.active { background: #f47a3220; color: #ffa56d; }
.nav-link.active:before { content: ''; position: absolute; left: -12px; width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: #f98a4a; }
.nav-count { margin-left: auto; border-radius: 5px; background: #ffffff0c; color: #ffb486; padding: 1px 6px; font-size: 10px; }
.admin-account { margin-top: auto; padding: 19px 20px; border-top: 1px solid #ffffff0a; display: flex; align-items: center; gap: 10px; font-size: 11px; color: #e1e7ed; }
.admin-account .initial { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #343f49; color: #c5cfd8; font-size: 14px; flex-shrink: 0; }
.admin-account small { display: block; font-size: 10px; margin-top: 3px; }
.admin-account a { margin-left: auto; color: #86939e; }
.admin-account a .icon { width: 17px; }
.main { margin-left: var(--sidebar); min-height: 100dvh; }
.topbar { position: sticky; top: 0; z-index: 20; height: 68px; padding: 0 28px; display: flex; align-items: center; gap: 16px; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; white-space: nowrap; }
.breadcrumb span { color: #939ca8; }
.breadcrumb b { font-weight: 550; }
.breadcrumb .icon { width: 17px; height: 17px; color: #7c8795; }
.global-search { margin-left: auto; position: relative; width: clamp(190px,22vw,285px); }
.global-search input { width: 100%; background: #f2f4f7; border-color: #edf0f3; padding: 10px 12px 10px 36px; font-size: 11px; }
.global-search .icon { width: 17px; height: 17px; position: absolute; top: 12px; left: 12px; color: #8f99a6; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #6e7988; }
.icon-btn:hover { background: #eef1f5; color: #303a46; }
.notification { position: relative; }
.notification:after { content: ''; position: absolute; width: 5px; height: 5px; background: var(--orange); border: 2px solid #fff; border-radius: 50%; top: 6px; right: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; min-height: 36px; border: 1px solid #dfe4e9; border-radius: 8px; background: #fff; color: #48515d; font-size: 12px; line-height: 1.4; font-weight: 550; white-space: nowrap; }
.btn:hover { background: #f6f8fa; border-color: #c9d0d8; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: #ef6426; border-color: #ef6426; color: white; }
.btn.primary:hover { background: #df571c; border-color: #df571c; }
.btn.danger { color: #c95656; border-color: #f1d3d3; }
.btn.small { min-height: 30px; font-size: 11px; padding: 6px 11px; border-radius: 6px; }
.btn .icon { width: 16px; height: 16px; }
.topbar .btn.primary { background: #fff; border-color: #dfe4e9; color: #4a5563; }
.topbar .btn.primary .icon:last-child { display: none; }
.date-filter { font-size: 11px; padding: 9px 10px; }
.text-link { color: #d96a35; border: 0; background: transparent; font-size: 11px; font-weight: 550; cursor: pointer; }
.page { padding: 26px 28px 30px; max-width: 1700px; margin: auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.page-head p { color: var(--muted); font-size: 13px; font-weight: 450; margin-top: 4px; }
.page-head>div:last-child:not(:first-child) { display: flex; gap: 8px; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.stats.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-height: 137px; }
.stat-title { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; color: #6f7885; line-height: 1.45; }
.stat-title>.icon:first-child { width: 19px; height: 19px; color: #939ca8; }
.stat-title .spark { display: none; }
.stat strong { display: block; font-size: clamp(24px,2.2vw,34px); font-weight: 650; line-height: 1.2; letter-spacing: -.8px; font-variant-numeric: tabular-nums; margin-top: 14px; white-space: nowrap; color: #2b313b; }
.stat-note { color: #727e8d; font-size: 11px; font-weight: 450; margin-top: 10px; line-height: 1.5; }
.stat-note em { font-style: normal; color: #319576; }
.stat-note .icon { width: 13px; height: 13px; }
.stat.hero { background: #fff8f3; border-color: #f6dfd1; }
.stat.hero strong { color: #d95a24; }
.stat.hero .stat-title>.icon { color: #e17b4d; }
.stat>.progress { margin-top: 13px; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.card-head { min-height: 27px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.card-head h2 { min-width: 0; }
.card-head select { font-size: 11px; padding: 7px 10px; }
.grid-chart { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(295px,1fr); gap: 18px; margin-bottom: 18px; }
.grid-bottom { display: grid; grid-template-columns: minmax(0,2.8fr) minmax(265px,1fr); gap: 18px; }
.legend { display: flex; gap: 16px; margin-left: auto; font-size: 10px; color: #7d8795; }
.legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #f18b58; }
.dot.teal { background: var(--teal); }
.chart { display: flex; height: 218px; padding: 8px 0 26px; gap: 12px; margin-top: 10px; }
.chart-axis { display: flex; flex-direction: column; justify-content: space-between; width: 65px; flex-shrink: 0; font-size: 10px; color: #8d97a4; text-align: right; transform: translateY(-7px); font-variant-numeric: tabular-nums; }
.chart-plot { min-width: 0; flex: 1; border-bottom: 1px solid #edf0f3; background: repeating-linear-gradient(to top,#f0f2f5 0,#f0f2f5 1px,transparent 1px,transparent 25%); }
.chart-bars { height: 100%; display: flex; align-items: end; justify-content: space-around; gap: 8px; }
.bar-group { position: relative; display: flex; align-items: end; justify-content: center; gap: 3px; height: 100%; flex: 1; min-width: 0; }
.bar { max-width: 11px; width: 39%; background: #f18b58; border-radius: 3px 3px 0 0; }
.bar.teal { background: #5db8b0; }
.bar-group>span { position: absolute; bottom: -24px; white-space: nowrap; font-size: 9px; color: #8b95a2; }
.breakdown-row { display: grid; grid-template-columns: 30px minmax(83px,1fr) 30px 1fr; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; font-size: 11px; }
.breakdown-row:last-child { border: 0; }
.breakdown-row strong { display: block; font-size: 11px; margin-top: 3px; font-weight: 600; font-variant-numeric: tabular-nums; }
.method { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: inherit; }
.method-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; font-size: 19px; color: white; background: #f1a358; }
.method-icon.blue { background: #24a1cf; }.method-icon.purple { background: #8566c9; }.method-icon.teal { background: #43aaa5; }
.method-icon.mark { background: none; }
.method-icon.mark svg { width: 100%; height: 100%; }
.progress { min-width: 30px; height: 5px; border-radius: 4px; background: #edf0f4; overflow: hidden; }
.progress>span { display: block; height: 100%; border-radius: 4px; background: #ed986c; }
.progress.teal>span { background: #66b6af; }.progress.purple>span { background: #a28cc8; }.progress.blue>span { background: #80afd1; }
.table-wrap { width: 100%; overflow: auto; scrollbar-width: thin; scrollbar-color: #d6dce3 transparent; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 13px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.data-table th { background: #f6f7f9; font-size: 11px; color: #727e8d; font-weight: 550; padding: 10px 12px; }
.data-table th:first-child { border-radius: 6px 0 0 6px; }.data-table th:last-child { border-radius: 0 6px 6px 0; }
.data-table td { border-bottom: 1px solid #f0f2f5; height: 58px; padding: 11px 12px; color: #566170; }
.data-table td b { color: #333c48; font-weight: 600; }
.data-table tr:last-child td { border: 0; }
.data-table tbody tr:hover { background: #fcfcfd; }
.data-table .btn { border-color: #e8ecf0; background: #fff; font-weight: 500; }
.data-table .btn:hover { color: #d66b39; background: #fff7f2; border-color: #f0dbcf; }
.person { display: inline-flex; align-items: center; gap: 10px; line-height: 1.4; }
.person b { font-size: 13px; font-weight: 600; }
.person small { display: block; font-size: 9px; margin-top: 3px; color: #7e8997; }
.avatar { --a:30px; width: var(--a); height: var(--a); flex: none; display: inline-block; border-radius: 10px; background-image: url('../assets/portraits.png'); background-size: calc(var(--a)*1586/48) calc(var(--a)*992/48); background-position: calc(var(--a)*var(--sx)/48) calc(var(--a)*-726/48); background-color: #e8edf2; }
.face-0{--sx:-403}.face-1{--sx:-604}.face-2{--sx:-798}.face-3{--sx:-994}.face-4{--sx:-1189}.face-5{--sx:-1383}
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 5px; background: #f2f4f6; color: #8a94a0; font-size: 10px; font-weight: 500; white-space: nowrap; }
.badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.active,.badge.success,.badge.approved,.badge.completed,.badge.resolved { background: #edf7f2; color: #458a71; }
.badge.review,.badge.paused,.badge.exhausted { background: #fff4e7; color: #b08643; }
.badge.new,.badge.pending { background: #edf4fb; color: #5d8fb9; }
.badge.rejected,.badge.failed,.badge.restricted { background: #fbefef; color: #c16f72; }
.badge.expired { background: #f0f2f5; color: #9099a5; }
.event { display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #f0f2f5; padding: 12px 0; font-size: 11px; }
.event:last-child { border: 0; }
.event .event-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #faf2eb; color: #ca8c65; border-radius: 9px; flex: none; }
.event-icon .icon { width: 16px; height: 16px; }
.event p { font-weight: 550; line-height: 1.5; }.event small { font-size: 10px; }
.event time { margin-left: auto; color: #a0a8b2; font-size: 9px; white-space: nowrap; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar input { flex: 1; min-width: 180px; font-size: 12px; background: #fbfcfd; }
.toolbar select { font-size: 11px; padding-block: 11px; }
.toolbar .btn { margin-left: auto; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 14px; color: #929ca8; font-size: 10px; }
.pagination>div { display: flex; align-items: center; gap: 9px; }
.pagination b { color: #6f7885; font-weight: 500; padding: 5px; }
.pagination .btn { min-width: 30px; padding: 6px; }
.empty { padding: 55px 20px; color: var(--muted); text-align: center; line-height: 1.8; }
.empty .icon { display: block; width: 32px; height: 32px; margin: 0 auto 16px; color: #abb4be; }
.stack { display: grid; gap: 18px; }
.two-cols { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,1fr); gap: 18px; }
.three-cols { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.muted { color: var(--muted); }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid #f0f2f5; font-size: 12px; }
.summary strong { text-align: right; font-weight: 600; }.summary:last-child { border: 0; }
.summary .btn { flex-shrink: 0; }
.subtabs { display: flex; gap: 5px; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.subtabs button { padding: 10px 18px; background: #f1f3f6; color: #7b8795; border: 0; border-radius: 7px; }
.subtabs button.active { background: #fff0e5; color: #d77542; }
.tier-card { display: flex; align-items: center; gap: 14px; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tier-card .icon { width: 32px; height: 32px; color: #bd9679; }
.tier-card:nth-child(2) .icon { color: #a7b3bd; }.tier-card:nth-child(3) .icon { color: #c6a364; }.tier-card:nth-child(4) .icon { color: #9d9fb4; }
.tier-card h3 { font-size: 12px; color: #79818d; font-weight: 500; }
.tier-card strong { display: block; font-size: 20px; letter-spacing: -.5px; font-weight: 600; margin: 8px 0 4px; white-space: nowrap; }
.tier-card small { font-size: 10px; }
.game-card .game-name { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.game-name .icon { width: 28px; height: 28px; color: #bd8c71; }
.game-name p { margin-top: 4px; font-size: 11px; font-weight: 450; color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 10px; padding: 16px 0 2px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 11px; }
.mini-stats strong { display: block; font-size: 16px; letter-spacing: -.3px; margin-top: 7px; font-weight: 600; white-space: nowrap; }
.mini-stats small { font-size: 10px; }
.rate-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: left; }
.rate-card:nth-child(2) { background: #fffaf6; border-color: #f2e1d6; }
.rate-card strong { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.7px; margin-bottom: 4px; }
.rate-card b { font-size: 11px; font-weight: 500; color: #818a96; }
.rate-card small { display: block; margin-top: 20px; font-size: 11px; }
.note { padding: 14px 16px; background: #f6f8fa; color: #86909d; border-radius: 8px; font-size: 11px; line-height: 1.75; }
.note.orange { background: #fff7f0; color: #b58c6d; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 550; color: #5b6572; }
.field small { font-size: 11px; font-weight: 400; line-height: 1.6; color: #7e8997; }
.field.full { grid-column: 1/-1; }
.field input,.field select,.field textarea { width: 100%; font-weight: 450; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); }
.form-error { color: #b95c61; font-size: 12px; line-height: 1.6; margin-top: 14px; }
.form-error:empty { display: none; }
.field-inline { display: flex; gap: 8px; min-width: 0; }.field-inline input { flex: 1; min-width: 0; }
.promo-layout { display: grid; grid-template-columns: minmax(0,1fr) 205px; gap: 28px; align-items: start; }
.preview { border: 1px solid #ecedf0; padding: 20px; background: #fafbfc; border-radius: 10px; }
.preview h3 { font-size: 11px; color: #8993a0; font-weight: 500; margin-bottom: 20px; }
.ticket { position: relative; padding: 26px 14px; background: #fff3e8; border: 1px solid #f5dfcf; border-radius: 8px; text-align: center; margin-bottom: 20px; }
.ticket:after { content: ''; position: absolute; left: 14px; right: 14px; top: 57px; border-top: 1px dashed #efd7c4; }
.ticket strong { display: block; margin-top: 25px; font-size: 27px; font-weight: 650; color: #d67a43; letter-spacing: -.7px; }
.ticket span { font-size: 13px; font-weight: 600; letter-spacing: .7px; color: #b68462; overflow-wrap: anywhere; }
.preview small { font-size: 11px; line-height: 1.75; }
.detail-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-section h3 { font-size: 12px; color: #7a8693; font-weight: 550; margin-bottom: 16px; }
.detail-section .person .avatar { --a:44px; border-radius: 14px; }
.detail-section .person b { font-size: 17px; font-weight: 600; }
.timeline { padding-left: 7px; }
.timeline>div { position: relative; border-left: 1px solid #e6eaf0; padding: 0 0 23px 22px; font-size: 12px; }
.timeline>div:before { content: ''; position: absolute; left: -4px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #dcad90; box-shadow: 0 0 0 3px white; }
.timeline small { display: block; font-size: 10px; margin-bottom: 6px; }.timeline p { margin-top: 6px; font-size: 11px; color: #9099a5; }
.modal-open,.menu-open { overflow: hidden; }
dialog { border: 1px solid #e7ebef; border-radius: 16px; padding: 0; width: min(760px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); color: #303844; box-shadow: 0 24px 90px #17202d24; }
dialog::backdrop { background: #17202e5c; backdrop-filter: blur(3px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; background: #fff; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 22px; font-weight: 600; letter-spacing: -.6px; }
.dialog-body { padding: 26px 28px; }.dialog-body p.lead { color: #8a94a1; font-size: 12px; line-height: 1.7; margin-bottom: 26px; }
dialog.drawer { position: fixed; top: 0; right: 0; height: 100dvh; max-height: 100dvh; max-width: 465px; margin: 0 0 0 auto; border-radius: 14px 0 0 14px; }
.drawer .dialog-head { padding: 22px 24px; }.drawer .dialog-head h2 { font-size: 18px; }.drawer .dialog-body { padding: 0 24px 24px; }
pre { background: #f6f8fa; border: 1px solid #edf0f3; border-radius: 8px; padding: 14px; font: 11px/1.7 ui-monospace,monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 340px; overflow: auto; color: #778391; }
.code-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#toast { position: fixed; top: 82px; right: 24px; max-width: 380px; z-index: 100; padding: 14px 18px; background: #2f3944; color: #eef2f5; border-radius: 10px; box-shadow: 0 8px 28px #16202f20; font-size: 12px; line-height: 1.6; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s,transform .18s; }
#toast.visible { opacity: 1; transform: none; }
.mobile-menu,.sidebar-close,.menu-shade,.mobile-period { display: none; }
.skip { position: fixed; top: -60px; left: 235px; z-index: 1000; padding: 12px; border-radius: 8px; background: white; }
.skip:focus { top: 8px; }
.section-gap { margin-bottom: 20px; }
.financial-note { margin-top: 12px; font-size: 10px; color: #9da6b1; }
.report-text { background: #faf5f3; padding: 18px; border-left: 2px solid #eacbbd; border-radius: 0 8px 8px 0; font-size: 13px; color: #70645f; line-height: 1.75; margin: 20px 0; }
.report-list button { width: 100%; border: 0; border-bottom: 1px solid #edf0f4; padding: 17px 12px; background: #fff; text-align: left; display: flex; gap: 12px; align-items: center; border-radius: 6px; }
.report-list button b { font-size: 12px; font-weight: 600; }.report-list button.selected { background: #fff8f3; }
.report-list p { margin-top: 4px; font-size: 11px; color: #9099a4; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-list small { margin-left: auto; }.status-row { display: flex; justify-content: space-between; gap: 15px; margin: 15px 0; }
.settings-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.provider-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.provider-row:last-child { border: 0; }
.role { padding: 20px 0; margin-bottom: 0; border-bottom: 1px solid var(--line); }.role:last-child { border: 0; }
.role h3 { display: flex; align-items: center; gap: 12px; font-size: 13px; }.role .icon { color: #9ba5b2; width: 18px; height: 18px; }
.role ul { font-size: 12px; line-height: 2; color: #737f8e; padding-left: 30px; margin-bottom: 0; }
.search-box { position: relative; }.sort-button { border: 0; background: none; padding: 0; font-size: inherit; color: inherit; cursor: pointer; }.chart-caption { font-size: 10px; color: var(--muted); margin-top: 12px; }.record-amount { font-weight: 600; }.footer-hint { font-size: 10px; color: #b2b8c1; text-align: right; margin-top: 24px; }
/* Compact overview rows retain two-line payment information without increasing row height. */
.page-moderation .two-cols { grid-template-columns: minmax(290px,1fr) minmax(0,1.25fr); }
.page-promos .grid-chart .summary { padding-block: 10px; font-size: 11px; }
.page-games .game-card .card-head { margin-bottom: 12px; }
.page-overview .data-table td:nth-child(3) { position: relative; padding-left: 46px; }
.page-overview .data-table td:nth-child(3) .method-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; }
.page-overview .data-table td:nth-child(3)>small { margin-left: 0!important; font-size: 9px; }
@media (min-width:1600px) { .page { padding: 32px; }.stat { padding: 23px; }.chart { height: 244px; } }
@media (max-width:1279px) {
  :root { --sidebar: 204px; }
  .brand { padding: 22px; }.brand strong { font-size: 25px; }.brand small { font-size: 9px; }
  .nav-link { padding-inline: 10px; font-size: 12px; gap: 10px; }.admin-account { padding-inline: 16px; }
  .topbar { padding: 0 22px; gap: 12px; }.breadcrumb>span { display: none; }.global-search { width: 220px; }
  .page { padding: 24px 22px; }.stat { padding: 17px; }.stat strong { font-size: 27px; }.stat-title { font-size: 11px; }
  .grid-chart { grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr); }.grid-bottom { grid-template-columns: 1fr; }
  .events-card .event-list { display: grid; grid-template-columns: repeat(3,1fr); column-gap: 22px; }.events-card time { display: none; }
  .card { padding: 18px; }.legend { gap: 10px; }.bar-group:nth-child(even)>span { display: none; }
  .two-cols { grid-template-columns: minmax(0,1.5fr) minmax(260px,1fr); }.three-cols { gap: 12px; }
  .tier-card { padding: 18px 14px; gap: 9px; }.tier-card .icon { width: 25px; }.tier-card strong { font-size: 17px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }.mini-stats>div:first-child { grid-column: 1/-1; }
}
@media (min-width:761px) and (max-width:1050px) {
  :root { --sidebar: 76px; }
  .brand { padding: 22px 17px; }.brand>span:last-child,.nav-link>span,.admin-account>div,.admin-account>a { display: none; }
  .sidebar nav { padding-inline: 12px; }.nav-link { justify-content: center; min-height: 45px; }.nav-link .icon { width: 21px; height: 21px; }
  .admin-account { justify-content: center; padding-inline: 0; }.nav-link.active:before { left: -12px; }.skip { left: 90px; }
}
@media (max-width:1050px) {
  .topbar>.date-filter { display: none; }.mobile-period { display: flex; justify-content: flex-end; margin-top: -10px; margin-bottom: 18px; }.mobile-period select { font-size: 11px; }
  .grid-chart { grid-template-columns: minmax(0,1.5fr) minmax(245px,1fr); }.stats { gap: 12px; }.stat { padding: 16px; }.stat strong { font-size: 25px; }
  .stat-title>.icon:first-child { display: none; }.legend { display: none; }.chart-axis { width: 48px; font-size: 9px; }.chart { gap: 7px; }
  .breakdown-row { grid-template-columns: 25px minmax(80px,1fr) 25px; }.breakdown-row>.progress { grid-column: 2/-1; margin-top: -3px; }.breakdown-row .method-icon { width: 25px; height: 25px; }
  .two-cols,.page-moderation .two-cols { grid-template-columns: 1fr; }.three-cols { grid-template-columns: 1fr; }.game-card .mini-stats { grid-template-columns: 1.5fr 1fr 1fr; }.game-card .mini-stats>div:first-child { grid-column: auto; }
  .game-card .card-head { margin-bottom: 8px; }.tier-grid { grid-template-columns: repeat(2,1fr); }.tier-card strong { font-size: 21px; }
}
@media (min-width:761px) and (max-width:850px) {
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  :root { --sidebar: 224px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; }.main { margin-left: 0; }.menu-open .sidebar { transform: none; }
  .menu-open .menu-shade { display: block; position: fixed; inset: 0; z-index: 29; background: #17202e55; }
  .sidebar-close { display: grid; position: absolute; top: 7px; right: 4px; color: #a4aeb9; }.mobile-menu { display: inline-grid; }
  .topbar { height: 60px; padding: 0 16px; gap: 10px; }.breadcrumb { margin-right: auto; }.breadcrumb>a,.breadcrumb>span { display: none; }.breadcrumb { font-size: 12px; }
  .topbar .notification { display: none; }.global-search { width: 180px; margin-left: 0; }.topbar>.btn { padding: 8px 10px; min-height: 34px; }.topbar>.btn span { display: none; }
  .page { padding: 24px 16px; }.page-head { margin-bottom: 22px; gap: 12px; }h1 { font-size: 26px; }.page-head p { font-size: 12px; }
  .page-head>.btn { font-size: 11px; padding-inline: 11px; }.page-head>.btn .icon { display: none; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.stats.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .stat { min-height: 122px; padding: 16px; }.stat strong { font-size: 25px; }.stat-title { font-size: 11px; }.stat-note { font-size: 10px; }
  .grid-chart,.grid-bottom,.two-cols { grid-template-columns: 1fr; gap: 16px; }.chart { height: 225px; }.chart-axis { width: 58px; }
  .breakdown-row { grid-template-columns: 30px minmax(90px,1fr) 30px 1fr; }.breakdown-row>.progress { grid-column: auto; margin: 0; }
  .events-card .event-list { grid-template-columns: 1fr 1fr; }.events-card time { display: none; }
  .card { padding: 18px; }.card-head { gap: 12px; margin-bottom: 18px; }.toolbar { gap: 9px; }.toolbar input { width: 100%; flex-basis: 100%; }.toolbar select { flex: 1; }.toolbar .btn { margin: 0; }
  .promo-layout { grid-template-columns: 1fr; }.preview { display: none; }.dialog-head { padding: 20px 24px; }.dialog-body { padding: 22px 24px; }.dialog-head h2 { font-size: 20px; }
  .code-blocks { grid-template-columns: 1fr; }.settings-footer { flex-direction: column; align-items: stretch; }.settings-footer>div { display: flex; gap: 8px; }.settings-footer .btn { flex: 1; }.skip { left: 10px; }
}
@media (max-width:480px) {
  .global-search { width: 32px; }.global-search input { opacity: 0; width: 32px; padding: 7px; cursor: pointer; }.global-search .icon { left: 7px; top: 10px; }
  .global-search:focus-within { position: absolute; left: 53px; right: 58px; width: auto; z-index: 2; }.global-search:focus-within input { width: 100%; opacity: 1; padding-left: 32px; background: #fff; }
  .page-head { align-items: flex-start; }.page-head h1 { font-size: 24px; }.page-head>div:last-child:not(:first-child) { flex-direction: column; gap: 6px; }
  .page-head p { font-size: 11px; }.stat { padding: 15px 13px; min-height: 116px; }.stat strong { font-size: 23px; letter-spacing: -.6px; margin-top: 13px; }
  .stats { gap: 10px; }.stats.three { grid-template-columns: 1fr; }.stats.three .stat { min-height: 100px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
  .stats.three .stat strong { margin: 0; font-size: 27px; grid-column: 2; grid-row: 1/3; }.stats.three .stat-note { margin: 0; }.stats.three .stat>.progress { grid-column: 1/-1; }
  .stat-note { font-size: 10px; }.stat-title { font-size: 11px; }.card { padding: 16px; }h2 { font-size: 14px; }.card-head { gap: 8px; }.card-head h2 { font-size: 14px; }
  .card-head>span { font-size: 9px!important; }.card-head select { max-width: 130px; }.chart { height: 202px; gap: 5px; }.chart-axis { width: 46px; font-size: 8px; }.bar-group>span { font-size: 8px; }.chart-bars { gap: 4px; }.bar-group { gap: 2px; }
  .breakdown-row { grid-template-columns: 26px minmax(85px,1fr) 26px 1fr; gap: 8px; font-size: 10px; }.breakdown-row strong { font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }.field.full { grid-column: auto; }.dialog-head { padding: 20px; }.dialog-body { padding: 20px; }.dialog-head h2 { font-size: 19px; }.field-inline { flex-wrap: wrap; }.field-inline .btn { padding-inline: 10px; }
  .form-actions { flex-wrap: wrap; }.form-actions .btn { flex: 1; }.pagination { font-size: 9px; gap: 8px; }.pagination>span { max-width: 120px; }.pagination>div { gap: 5px; }
  .events-card .event-list { grid-template-columns: 1fr; }.event { padding: 12px 0; }.events-card time { display: block; }.tier-grid { grid-template-columns: 1fr 1fr; }.tier-card { flex-direction: column; align-items: flex-start; padding: 17px; gap: 12px; }.tier-card .icon { width: 23px; height: 23px; }.tier-card strong { font-size: 18px; }
  .provider-row { flex-wrap: wrap; }.report-list button { flex-wrap: wrap; padding-inline: 5px; }.report-list small { margin-left: 40px; }.report-list p { max-width: 230px; }
  .rate-card { padding: 22px; }.rate-card small { margin-top: 12px; }.settings-footer { padding: 16px; }.settings-footer>div { flex-direction: column; }
  .drawer .dialog-head { padding: 18px 20px; }.drawer .dialog-body { padding: 0 20px 20px; }.summary { font-size: 11px; }.summary strong { max-width: 65%; overflow-wrap: anywhere; }
  #toast { left: 16px; right: 16px; max-width: none; }.mini-stats strong { font-size: 15px; }.mini-stats small { font-size: 9px; }.footer-hint { font-size: 9px; }
}
@media (prefers-reduced-motion:reduce) { *,*:before,*:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
