:root {
    --bg-color: #0f111a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-red: #ef4444;    /* Banker */
    --accent-blue: #3b82f6;   /* Player */
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;  /* Tie */
    --accent-warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(239, 68, 68, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-panel {
    width: min(420px, 100%);
    padding: 30px;
}

.auth-panel h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-panel h1 span {
    color: var(--accent-warning);
}

.auth-panel p {
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-secondary);
}

.auth-form input {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text-primary);
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.auth-form input:focus {
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.auth-form button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

.auth-panel a {
    display: inline-block;
    margin-top: 18px;
    color: #bfdbfe;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.auth-error {
    padding: 11px 12px;
    margin-bottom: 14px;
    border-radius: 12px;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.24);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100vh;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.logo-area h1 span {
    color: var(--accent-warning);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.user-area span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    color: var(--text-primary);
}

.user-area a {
    color: #bfdbfe;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(147, 197, 253, 0.18);
}

.user-area a:hover {
    background: rgba(59, 130, 246, 0.22);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    flex: 1;
    overflow: hidden;
}

/* 사이드패널 없는 전체 너비 레이아웃 */
.main-fullwidth {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0;
}

.main-fullwidth .rooms-section {
    flex: 1;
    padding-right: 0;
    overflow-y: auto;
}

.main-fullwidth .rooms-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

/* Alerts Sidebar */
.side-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding-right: 4px;
}

.strategy-section {
    padding: 18px;
    flex: 0 0 auto;
}

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

.section-title h2 {
    font-size: 17px;
}

.strategy-status {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(148, 163, 184, 0.16);
    color: var(--text-secondary);
}

.strategy-status.running {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
}

.strategy-status.stopped {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.strategy-rec {
    padding: 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255,255,255,0.09);
    margin-bottom: 12px;
}

.strategy-rec.active {
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.15);
}

.strategy-rec span,
.strategy-rec small {
    display: block;
    color: var(--text-secondary);
    font-size: 11px;
}

.strategy-rec strong {
    display: block;
    font-size: 15px;
    margin: 5px 0;
    line-height: 1.35;
}

.strategy-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 10px;
    align-items: stretch;
}

.strategy-guide-text {
    min-width: 0;
}

.strategy-pick {
    min-height: 78px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(100, 116, 139, 0.24);
}

.strategy-pick.p {
    background: radial-gradient(circle at 35% 25%, #60a5fa, #1d4ed8 72%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.strategy-pick.b {
    background: radial-gradient(circle at 35% 25%, #fb7185, #be123c 72%);
    box-shadow: 0 10px 22px rgba(225, 29, 72, 0.28);
}

.strategy-pick.entry {
    background: linear-gradient(135deg, #0891b2, #4338ca);
}

.strategy-pick.paused {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.strategy-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.16);
    margin-bottom: 12px;
}

.strategy-metrics div {
    padding: 9px;
    background: rgba(14, 72, 130, 0.34);
    border-right: 1px solid rgba(125, 211, 252, 0.12);
    border-bottom: 1px solid rgba(125, 211, 252, 0.12);
}

.strategy-metrics div:nth-child(2n) {
    border-right: 0;
}

.strategy-metrics div:nth-child(n + 3) {
    border-bottom: 0;
}

.strategy-metrics span {
    display: block;
    color: var(--text-secondary);
    font-size: 10px;
    margin-bottom: 5px;
}

.strategy-metrics b {
    font-size: 13px;
}

.strategy-metrics .plus {
    color: #6ee7b7;
}

.strategy-metrics .minus {
    color: #fca5a5;
}

.strategy-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.strategy-form label {
    display: grid;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 11px;
}

.strategy-form input,
.strategy-form select {
    width: 100%;
    min-width: 0;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(2, 6, 23, 0.42);
    color: var(--text-primary);
    padding: 0 9px;
}

.strategy-form select {
    appearance: none;
}

.strategy-form select option {
    background: #0f172a;
    color: #f8fafc;
}

.strategy-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.strategy-actions button {
    height: 34px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.strategy-actions button:nth-child(2) {
    background: linear-gradient(135deg, #059669, #0f766e);
}

.strategy-actions button:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.strategy-actions button:nth-child(4) {
    background: rgba(148, 163, 184, 0.24);
}

.strategy-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.alerts-section,
.pattern-stats-section,
.gap-stats-section,
.diagnostics-section,
.top6-stats-section,
.bet-results-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.alerts-section {
    height: 100%;
}

.alerts-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.alerts-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.alert-item {
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent-warning);
    padding: 12px 15px;
    border-radius: 8px;
    animation: slideIn 0.3s ease-out;
}

.alert-time {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.alert-msg {
    font-size: 13px;
    line-height: 1.4;
}

.pattern-stats-section {
    max-height: 330px;
}

.bet-results-section {
    flex: 1 0 360px;
    min-height: 360px;
}

.gap-stats-section,
.diagnostics-section,
.top6-stats-section {
    flex: 0 0 auto;
    max-height: 340px;
}

.pattern-rankings {
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    padding-right: 4px;
}

.pattern-rank-item {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    grid-template-areas:
        "rank name rate"
        "rank meta rate";
    gap: 2px 8px;
    align-items: center;
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.pattern-rank-item.top {
    border-color: rgba(250, 204, 21, 0.32);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.08);
}

.pattern-rank-item span {
    grid-area: rank;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.16);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
}

.pattern-rank-item strong {
    grid-area: name;
    color: #fff;
    font-size: 14px;
}

.pattern-rank-item b {
    grid-area: rate;
    color: #6ee7b7;
    font-size: 15px;
}

.pattern-rank-item small {
    grid-area: meta;
    color: var(--text-secondary);
    font-size: 11px;
}

.bet-results-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.gap-stats-list,
.diagnostics-list,
.top6-stats-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    padding-right: 4px;
}

.gap-stat-item,
.top6-stat-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gap-stat-item.active,
.top6-stat-item.active {
    border-color: rgba(34, 197, 94, 0.26);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.gap-stat-group-title {
    margin: 4px 0 2px;
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
}

.gap-stat-rank,
.top6-stat-rank {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(139, 92, 246, 0.17);
    color: #ddd6fe;
    font-size: 11px;
    font-weight: 900;
}

.top6-stat-rank {
    background: rgba(14, 165, 233, 0.17);
    color: #bae6fd;
}

.gap-stat-main,
.top6-stat-main {
    min-width: 0;
}

.gap-stat-main strong,
.gap-stat-main span,
.gap-stat-side b,
.gap-stat-side small,
.top6-stat-main strong,
.top6-stat-main span,
.top6-stat-side b,
.top6-stat-side small,
.streak-badge {
    display: block;
}

.gap-stat-main strong,
.top6-stat-main strong {
    color: #fff;
    font-size: 12px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gap-stat-main span,
.gap-stat-side small,
.top6-stat-main span,
.top6-stat-side small {
    color: var(--text-secondary);
    font-size: 10px;
}

.gap-stat-side,
.top6-stat-side {
    text-align: right;
}

.gap-stat-side b,
.top6-stat-side b {
    color: #6ee7b7;
    font-size: 13px;
}

.diagnostics-list {
    gap: 10px;
}

.diagnostic-block {
    padding: 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contest-block {
    border-color: rgba(56, 189, 248, 0.2);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(15, 23, 42, 0.5));
}

.danger-block {
    border-color: rgba(248, 113, 113, 0.24);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(15, 23, 42, 0.5));
}

.diagnostic-block > strong {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 8px;
}

.diagnostic-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 7px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.diagnostic-row:first-of-type {
    border-top: 0;
}

.diagnostic-row span,
.diagnostic-row small,
.diagnostic-row b {
    display: block;
}

.diagnostic-row span {
    min-width: 0;
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.diagnostic-row b {
    color: #6ee7b7;
    font-size: 12px;
}

.diagnostic-row small {
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-size: 10px;
}

.streak-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.streak-badge {
    width: fit-content;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.streak-badge.win {
    color: #bbf7d0;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.34), rgba(5, 150, 105, 0.18));
    border-color: rgba(74, 222, 128, 0.28);
}

.streak-badge.loss {
    color: #fecaca;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.34), rgba(190, 18, 60, 0.18));
    border-color: rgba(251, 113, 133, 0.32);
}

.ledger-prompt {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(250, 204, 21, 0.26);
}

.ledger-prompt strong,
.ledger-prompt span {
    display: block;
}

.ledger-prompt strong {
    color: #fef3c7;
    font-size: 14px;
    margin-bottom: 4px;
}

.ledger-prompt span {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 10px;
}

.ledger-prompt div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ledger-prompt button,
.ledger-editor button,
.ledger-actions button {
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.ledger-prompt button {
    min-height: 36px;
}

.ledger-prompt button:last-child,
.ledger-actions button:last-child {
    background: rgba(148, 163, 184, 0.24);
}

.ledger-page {
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ledger-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 16px;
}

.ledger-summary {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
}

.ledger-summary div {
    padding: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.48);
}

.ledger-summary span,
.ledger-summary strong {
    display: block;
}

.ledger-summary span {
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 5px;
}

.ledger-summary strong {
    font-size: 18px;
}

.ledger-editor,
.ledger-list-section {
    padding: 18px;
}

.ledger-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ledger-form label {
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}

.ledger-form .wide,
.ledger-form button {
    grid-column: 1 / -1;
}

.ledger-form input,
.ledger-form select,
.ledger-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text-primary);
    padding: 10px;
    outline: none;
}

.ledger-form button,
.ledger-editor .section-title button {
    min-height: 40px;
}

.ledger-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 4px;
}

.ledger-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ledger-item.plus {
    border-color: rgba(34, 197, 94, 0.24);
}

.ledger-item.minus {
    border-color: rgba(244, 63, 94, 0.24);
}

.ledger-item strong,
.ledger-item span,
.ledger-item small,
.ledger-money b {
    display: block;
}

.ledger-item span,
.ledger-item small,
.ledger-money span,
.ledger-money small {
    color: var(--text-secondary);
    font-size: 11px;
}

.ledger-money {
    text-align: right;
}

.ledger-money b {
    font-size: 15px;
}

.ledger-item.plus .ledger-money b,
.plus {
    color: #6ee7b7;
}

.ledger-item.minus .ledger-money b,
.minus {
    color: #fca5a5;
}

.ledger-actions {
    display: grid;
    gap: 6px;
}

.ledger-actions button {
    min-width: 54px;
    min-height: 30px;
    font-size: 11px;
}

.bet-result-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bet-result-item.win {
    border-color: rgba(34, 197, 94, 0.22);
}

.bet-result-item.loss {
    border-color: rgba(244, 63, 94, 0.22);
}

.bet-result-item.push {
    border-color: rgba(148, 163, 184, 0.24);
}

.bet-result-rank {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 900;
}

.bet-result-main {
    min-width: 0;
}

.bet-result-main strong,
.bet-result-main span,
.bet-result-side b,
.bet-result-side small {
    display: block;
}

.bet-result-main strong {
    color: #fff;
    font-size: 12px;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bet-result-main span,
.bet-result-side small {
    color: var(--text-secondary);
    font-size: 10px;
}

.bet-result-side {
    text-align: right;
}

.bet-result-side b {
    font-size: 12px;
}

.bet-result-item.win .bet-result-side b {
    color: #6ee7b7;
}

.bet-result-item.loss .bet-result-side b {
    color: #fca5a5;
}

.bet-result-item.push .bet-result-side b {
    color: var(--text-secondary);
}

/* Rooms Grid */
.rooms-section {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

.room-card {
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    color: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.room-card:focus-visible,
.modal-close:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 3px;
}

.room-card.alert-active {
    border-color: var(--accent-warning);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.room-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.room-id {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 6px;
}

.room-summary {
    min-width: 62px;
    padding: 8px 10px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.room-summary span {
    display: block;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1;
    margin-bottom: 5px;
}

.room-summary strong {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.room-summary.player strong {
    color: #93c5fd;
}

.room-summary.banker strong {
    color: #fca5a5;
}

.room-summary.wait strong {
    color: var(--text-secondary);
}

.shoe-display {
    min-height: 176px;
    overflow: hidden;
}

.road-chart {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.75);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.chart-shell {
    width: 100%;
}

.chart-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.chart-result-summary,
.chart-family-summary {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.chart-family-summary {
    gap: 6px;
}

.chart-total {
    color: #fff;
}

.chart-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chart-count::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: currentColor;
}

.chart-count.player {
    color: #60a5fa;
}

.chart-count.banker {
    color: #fb7185;
}

.chart-count.tie {
    color: #34d399;
}

.chart-count.family-c {
    color: #facc15;
}

.chart-count.family-d {
    color: #c084fc;
}

.chart-count.family-e {
    color: #22d3ee;
}

.chart-count.family-f {
    color: #f97316;
}

.chart-count.family-c::before,
.chart-count.family-d::before,
.chart-count.family-e::before,
.chart-count.family-f::before {
    border-radius: 4px;
}

.chart-count b {
    color: #fff;
    font-size: 12px;
}

.chart-count small {
    color: rgba(226, 232, 240, 0.72);
    font-size: 10px;
    font-weight: 800;
}

.family-pair {
    display: inline-grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 6px;
    row-gap: 1px;
    padding: 4px 7px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.5);
    color: #cbd5e1;
    line-height: 1.05;
}

.family-pair.left {
    border-color: rgba(250, 204, 21, 0.38);
    background: rgba(113, 63, 18, 0.28);
}

.family-pair.right {
    border-color: rgba(192, 132, 252, 0.38);
    background: rgba(88, 28, 135, 0.24);
}

.family-pair-title {
    font-size: 10px;
    font-weight: 900;
    color: rgba(226, 232, 240, 0.84);
}

.family-pair strong {
    font-size: 15px;
    color: #fff;
}

.family-pair-rates,
.family-pair small {
    grid-column: 1 / -1;
    font-size: 9px;
    font-weight: 800;
    color: rgba(226, 232, 240, 0.72);
}

.road-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--road-cols), var(--road-cell));
    grid-template-rows: repeat(var(--road-rows), var(--road-cell));
    width: max-content;
    height: calc(var(--road-rows) * var(--road-cell));
    min-width: 100%;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.12) 1px, transparent 1px);
    background-size: var(--road-cell) var(--road-cell);
    background-repeat: repeat;
}

.road-cell {
    width: var(--road-cell);
    height: var(--road-cell);
}

.road-mark {
    z-index: 1;
    position: relative;
    align-self: center;
    justify-self: center;
    width: calc(var(--road-cell) - 5px);
    height: calc(var(--road-cell) - 5px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    border: 0;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.38),
        inset 0 -2px 4px rgba(15,23,42,0.18),
        0 1px 3px rgba(15,23,42,0.24);
}

.road-mark.player {
    background: linear-gradient(145deg, #60a5fa 0%, #2563eb 58%, #1d4ed8 100%);
}

.road-mark.banker {
    background: linear-gradient(145deg, #fb7185 0%, #ef4444 56%, #b91c1c 100%);
}

.road-mark.tie {
    background: linear-gradient(145deg, #34d399 0%, #16a34a 60%, #15803d 100%);
}

.tie-slash {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--road-cell) - 3px);
    height: 4px;
    border-radius: 999px;
    background: #22c55e;
    transform: translate(-50%, -50%) rotate(-48deg);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.88),
        0 1px 3px rgba(15,23,42,0.28);
}

.road-mark em {
    position: absolute;
    right: -7px;
    bottom: -7px;
    min-width: 12px;
    height: 12px;
    padding: 0 3px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #16a34a;
    font-size: 8px;
    font-style: normal;
    line-height: 1;
}

.shoe-bead {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.bead-b {
    background: linear-gradient(135deg, #f87171, #ef4444); /* Red for Banker */
}

.bead-p {
    background: linear-gradient(135deg, #60a5fa, #3b82f6); /* Blue for Player */
}

.bead-t {
    background: linear-gradient(135deg, #34d399, #10b981); /* Green for Tie */
}

.bead-neutral {
    background: #475569;
}

.bead-empty {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--glass-border);
}

.room-footer {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    text-align: right;
}

.room-footer strong {
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-left: 6px;
}

body.modal-open {
    overflow: hidden;
}

.room-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.room-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.22), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(139, 92, 246, 0.18), transparent 30%),
        rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    width: min(1180px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    overflow: auto;
    padding: 28px;
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.76)),
        linear-gradient(120deg, rgba(59, 130, 246, 0.13), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 28px 90px rgba(0,0,0,0.48);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.22s ease;
}

.room-modal.is-open .modal-panel {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding-right: 46px;
    margin-bottom: 18px;
}

.modal-kicker {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-header h2 {
    font-size: 28px;
    line-height: 1.2;
    word-break: break-word;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 8px;
}

.modal-best-pick {
    min-width: 112px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: right;
}

.modal-best-pick span,
.modal-best-pick small {
    display: block;
    color: var(--text-secondary);
    font-size: 11px;
}

.modal-best-pick strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin: 5px 0;
}

.modal-best-pick.player strong {
    color: #93c5fd;
}

.modal-best-pick.banker strong {
    color: #fca5a5;
}

.modal-shoe {
    min-height: 190px;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.32);
    border: 1px solid rgba(255,255,255,0.08);
}

.pattern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pattern-card {
    position: relative;
    overflow: hidden;
    min-height: 172px;
    padding: 0;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(18, 34, 68, 0.92), rgba(17, 27, 55, 0.9)),
        rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: 0 16px 44px rgba(2, 6, 23, 0.3);
}

.pattern-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(56, 189, 248, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 45%);
    pointer-events: none;
}

.pattern-card.player {
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.16), 0 14px 35px rgba(37, 99, 235, 0.12);
}

.pattern-card.banker {
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.16), 0 14px 35px rgba(220, 38, 38, 0.12);
}

.pattern-card.best {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9)),
        rgba(15, 23, 42, 0.72);
    border-color: rgba(250, 204, 21, 0.34);
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.16), 0 18px 46px rgba(250, 204, 21, 0.09);
}

.pattern-card.best .pattern-title span {
    color: #fde047;
}

.pattern-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    min-height: 56px;
    padding: 15px 18px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.pattern-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pattern-title span {
    color: #38bdf8;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.pattern-title strong {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: #0f172a;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.36);
    font-size: 13px;
    font-weight: 900;
}

.pattern-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(255,255,255,0.1);
}

.pattern-current small {
    color: var(--text-secondary);
    font-size: 12px;
}

.pattern-current b {
    font-size: 24px;
    line-height: 1;
}

.pattern-current.player b {
    color: #60a5fa;
}

.pattern-current.banker b {
    color: #fb7185;
}

.pattern-analysis {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    padding: 18px;
}

.history-board {
    min-width: 0;
    align-self: stretch;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
    padding: 10px;
}

.best-consensus {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    min-height: 112px;
    align-items: stretch;
}

.best-consensus span {
    display: grid;
    place-items: center;
    gap: 8px;
    border-radius: 12px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    background: rgba(226, 232, 240, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.best-consensus b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
}

.best-consensus .player b {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.best-consensus .banker b {
    background: linear-gradient(135deg, #dc2626, #fb7185);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.best-consensus .wait b {
    background: linear-gradient(135deg, #64748b, #94a3b8);
}

.history-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.history-row {
    display: grid;
    grid-template-columns: repeat(15, minmax(34px, 1fr));
    min-width: 570px;
}

.history-cell {
    display: grid;
    place-items: center;
    height: 31px;
    border-right: 1px solid rgba(148, 163, 184, 0.22);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    color: rgba(226, 232, 240, 0.82);
    font-size: 14px;
    font-weight: 900;
    background: rgba(30, 41, 59, 0.36);
}

.history-cell.win {
    color: #22c55e;
}

.history-cell.loss {
    color: #fb3f68;
}

.history-cell.empty {
    color: transparent;
}

.history-ribbon .history-cell {
    height: 38px;
    color: #fff;
    background: rgba(51, 65, 85, 0.58);
}

.history-ribbon .history-cell.win {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.history-ribbon .history-cell.loss {
    background: linear-gradient(135deg, #fb7185, #e11d48);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.pattern-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: rgba(14, 63, 122, 0.55);
}

.stat-tile {
    min-height: 58px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-right: 1px solid rgba(125, 211, 252, 0.15);
    border-bottom: 1px solid rgba(125, 211, 252, 0.15);
    background: rgba(14, 72, 130, 0.58);
}

.stat-tile:nth-child(4n) {
    border-right: 0;
}

.stat-tile:nth-child(n + 5) {
    border-bottom: 0;
}

.stat-tile span {
    color: rgba(203, 213, 225, 0.84);
    font-size: 12px;
    line-height: 1;
}

.stat-tile strong {
    color: #fff;
    font-size: 17px;
    line-height: 1;
}

.stat-pick strong {
    color: #60a5fa;
    font-size: 26px;
}

.pattern-card.banker .stat-pick strong {
    color: #fb7185;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .alerts-section {
        height: 200px;
    }
}

@media (max-width: 720px) {
    body {
        background-image:
            linear-gradient(180deg, rgba(14, 165, 233, 0.12), transparent 240px),
            radial-gradient(at 100% 0%, rgba(239, 68, 68, 0.12) 0px, transparent 42%);
    }

    .dashboard-container {
        padding: 10px;
        height: auto;
        min-height: 100vh;
        gap: 10px;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .logo-area h1 {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .status-indicator {
        font-size: 11px;
    }

    .alerts-section {
        height: 132px;
        padding: 14px;
        border-radius: 14px;
    }

    .side-panel {
        overflow: visible;
        gap: 10px;
    }

    .strategy-section {
        padding: 14px;
        border-radius: 14px;
    }

    .strategy-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alerts-section h2 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .alert-item {
        padding: 9px 11px;
        border-radius: 7px;
    }

    .alert-msg {
        font-size: 12px;
    }

    .main-content {
        overflow: visible;
        gap: 10px;
    }

    .rooms-section {
        overflow: visible;
        padding-right: 0;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .room-card {
        padding: 14px;
        border-radius: 14px;
    }

    .room-header {
        margin-bottom: 10px;
        padding-bottom: 9px;
    }

    .room-title {
        font-size: 15px;
    }

    .room-id {
        font-size: 10px;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .room-summary {
        min-width: 56px;
        padding: 7px 8px;
        border-radius: 9px;
    }

    .room-summary strong {
        font-size: 17px;
    }

    .shoe-display {
        min-height: 142px;
        max-height: 142px;
        overflow: hidden;
    }

    .road-mark {
        font-size: 7px;
    }

    .tie-slash {
        height: 3px;
    }

    .chart-summary {
        gap: 7px;
        margin-bottom: 5px;
        font-size: 11px;
    }

    .chart-count::before {
        width: 11px;
        height: 11px;
    }

    .chart-count b {
        font-size: 11px;
    }

    .room-modal {
        padding: 0;
        align-items: end;
    }

    .modal-panel {
        width: 100%;
        max-height: 100dvh;
        min-height: 100dvh;
        padding: 18px 12px 16px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .modal-close {
        top: 14px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .modal-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 10px;
        padding-right: 38px;
        margin-bottom: 12px;
    }

    .modal-kicker {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .modal-subtitle {
        font-size: 11px;
        margin-top: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .modal-best-pick {
        width: auto;
        min-width: 0;
        padding: 9px 10px;
        border-radius: 12px;
        text-align: center;
        align-self: end;
    }

    .modal-best-pick strong {
        font-size: 18px;
    }

    .modal-shoe {
        overflow-x: auto;
        min-height: 172px;
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .pattern-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0 10px;
        scrollbar-width: none;
    }

    .pattern-grid::-webkit-scrollbar {
        display: none;
    }

    .pattern-card {
        flex: 0 0 calc(100vw - 24px);
        min-height: 0;
        scroll-snap-align: center;
        border-radius: 16px;
    }

    .pattern-titlebar {
        min-height: 48px;
        padding: 12px 14px 10px;
    }

    .pattern-title span {
        font-size: 20px;
    }

    .pattern-title strong {
        min-width: 38px;
        height: 24px;
        font-size: 12px;
    }

    .pattern-current {
        padding: 7px 10px;
        border-radius: 10px;
    }

    .pattern-current small {
        font-size: 11px;
    }

    .pattern-current b {
        font-size: 22px;
    }

    .pattern-analysis {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .history-board {
        border-radius: 10px;
        padding: 8px;
    }

    .history-scroll {
        overflow-x: hidden;
        padding-bottom: 0;
    }

    .history-row {
        grid-template-columns: repeat(15, minmax(0, 1fr));
        min-width: 0;
    }

    .history-cell {
        height: 25px;
        font-size: 11px;
    }

    .history-ribbon .history-cell {
        height: 31px;
        font-size: 12px;
    }

    .pattern-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-radius: 10px;
    }

    .stat-tile {
        min-height: 51px;
        padding: 8px 4px;
    }

    .stat-tile:nth-child(2n) {
        border-right: 1px solid rgba(125, 211, 252, 0.15);
    }

    .stat-tile:nth-child(4n) {
        border-right: 0;
    }

    .stat-tile:nth-child(n + 5) {
        border-bottom: 0;
    }

    .stat-tile span {
        font-size: 10px;
    }

    .stat-tile strong {
        font-size: 15px;
    }

    .stat-pick strong {
        font-size: 23px;
    }

    .ledger-page {
        padding: 10px;
        gap: 10px;
    }

    .ledger-layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ledger-summary {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
    }

    .ledger-form {
        grid-template-columns: 1fr;
    }

    .ledger-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ledger-money {
        text-align: left;
    }

    .ledger-actions {
        grid-template-columns: 1fr 1fr;
    }
}
