:root{
	--bg:#f5f7fb;
	--surface:#ffffff;
	--surface-2:#f8fafc;
	--text:#162033;
	--muted:#6b7280;
	--line:#e5eaf2;
	--primary:#2563eb;
	--primary-2:#1d4ed8;
	--success:#16a34a;
	--warning:#f59e0b;
	--danger:#dc2626;
	--shadow:0 10px 30px rgba(15,23,42,.06);
	--radius:18px;
}

html,body{
	background:var(--bg);
	color:var(--text);
	font-family:'Inter',sans-serif;
	font-size:14px;
}

body{
	margin:0;
}

.site-shell{	
	margin:0 auto;
	padding:0 18px 24px 18px;
}

.site-topbar{
	background:#fff;
	border-bottom:1px solid var(--line);
	box-shadow:0 2px 12px rgba(15,23,42,.03);
	margin-bottom:24px;
}

.site-topbar-inner{
	margin:0 auto;
	padding:16px 18px;
	display:flex;
	gap:18px;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
}

.brand-zone{
	display:flex;
	align-items:center;
	gap:16px;
	min-width:280px;
	flex:1 1 520px;
}

.league-logo-box{
	width:72px;
	height:72px;
	min-width:72px;
	border-radius:20px;
	background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%);
	border:1px solid var(--line);
	display:flex;
	align-items:center;
	justify-content:center;
	box-shadow:var(--shadow);
	overflow:hidden;
}

.league-logo-box img{
	max-width:48px;
	max-height:48px;
}

.selector-stack{
	display:flex;
	flex-direction:column;
	gap:10px;
	min-width:240px;
	flex:1 1 320px;
}

.clean-select{
	max-width:400px;	
	min-height:48px;
	padding:0 16px;
	border:1px solid var(--line);
	border-radius:14px;
	background:#fff;
	font-size:16px;
	font-weight:600;
	color:var(--text);
	outline:none;
	box-shadow:none;
}

.clean-select:focus{
	border-color:#9ec5fe;
	box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.rules-link{
	display:inline-flex;
	align-items:center;
	gap:8px;
	width:max-content;
	padding:7px 12px;
	border-radius:999px;
	background:#eff6ff;
	color:var(--primary);
	font-size:12px;
	font-weight:700;
	text-decoration:none;
	border:1px solid #dbeafe;
}

.user-zone{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
	gap:10px;
	flex:1 1 420px;
}

.top-menu{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	justify-content:flex-end;
}

.top-menu a{
	display:inline-flex;
	align-items:center;
	gap:8px;
	min-height:42px;
	padding:0 14px;
	background:#fff;
	color:var(--text);
	text-decoration:none;
	border:1px solid var(--line);
	border-radius:14px;
	font-weight:700;
	white-space:nowrap;
	transition:.18s ease;
	box-shadow:0 3px 10px rgba(15,23,42,.03);
}

.top-menu a:hover{
	background:#f8fbff;
	border-color:#cfe0ff;
	color:var(--primary);
	transform:translateY(-1px);
}

.logged-user{
	color:var(--muted);
	font-size:13px;
	font-weight:600;
}

.wrapper-content{
	padding:0 !important;
}

.background_img{
	background:transparent !important;
}

.content-card{
	background:#fff;
	border:1px solid var(--line);
	border-radius:24px;
	box-shadow:var(--shadow);
	padding:22px;
}

.panel-title{
	font-size:26px;
	font-weight:800;
	margin:0;
}

.panel-subtitle{
	color:var(--muted);
	margin-top:4px;
	font-size:14px;
}

.nav-pills-clean{
	gap:10px;
	flex-wrap:wrap;
	margin-bottom:22px;
	border-bottom:1px solid var(--line);
	padding-bottom:14px;
}

.nav-pills-clean .nav-link{
	border:1px solid var(--line);
	border-radius:14px;
	background:#fff;
	color:var(--text);
	font-weight:700;
	padding:11px 18px;
}

.nav-pills-clean .nav-link.active{
	background:linear-gradient(135deg,var(--primary) 0%, #3b82f6 100%);
	color:#fff;
	border-color:transparent;
}

.filter-toolbar{
	display:grid;
	grid-template-columns:repeat(2,minmax(220px,1fr));
	gap:16px;
	margin-bottom:18px;
}

.label-clean{
	font-size:13px;
	font-weight:700;
	color:#4b5563;
	margin-bottom:8px;
	display:block;
}

.filter-btns{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-bottom:20px;
}

.filter-btn{
	border:1px solid #cfe0ff;
	background:#eff6ff;
	color:var(--primary);
	font-weight:700;
	min-height:40px;
	padding:0 14px;
	border-radius:12px;
	cursor:pointer;
}

.filter-btn:hover{
	background:#dbeafe;
}

.match-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(380px, 1fr));
	gap:18px;
}

.match-card{
	background:linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
	border:1px solid var(--line);
	border-radius:20px;
	padding:18px;
	box-shadow:0 8px 18px rgba(15,23,42,.04);
	position:relative;
	transition:.18s ease;
	min-height:230px;
}

.match-card:hover{
	transform:translateY(-2px);
	box-shadow:0 14px 28px rgba(15,23,42,.07);
}

.match-card.today{ border-left:4px solid var(--primary); }
.match-card.tomorrow{ border-left:4px solid var(--warning); }
.match-card.yesterday{ border-left:4px solid #9ca3af; }
.match-card.upcoming{ background:linear-gradient(180deg,#ffffff 0%, #f7fff9 100%); }
.match-card.nobet{ box-shadow:inset 0 0 0 2px rgba(245,158,11,.30), 0 8px 18px rgba(15,23,42,.04); }

.match-top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
	margin-bottom:12px;
}

.match-meta{
	font-size:12px;
	color:var(--muted);
	font-weight:700;
	line-height:1.4;
}

.match-meta a{
	color:var(--warning);
	text-decoration:none;
	font-weight:800;
}

.odds-line{
	font-size:12px;
	color:var(--muted);
	margin-bottom:14px;
}

.team-row{
	display:grid;
	grid-template-columns:minmax(0,1fr) 110px;
	gap:14px;
	align-items:center;
	margin-bottom:14px;
}

.team-info{
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.team-logo{
	width:32px;
	height:32px;
	object-fit:contain;
	flex:0 0 32px;
}

.team-name{
	font-size:26px;
	font-weight:800;
	line-height:1.15;
	min-width:0;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.score-box{
	min-height:42px;
	border:1px solid var(--line);
	border-radius:14px;
	text-align:center;
	font-size:18px;
	font-weight:800;
	background:#fff;
}

.deadline-box{
	text-align:right;
	min-height:26px;
	font-size:12px;
	color:#ef4444;
	margin-top:6px;
	font-weight:700;
}

.details-toggle{
	width:36px;
	height:36px;
	border:0;
	border-radius:50%;
	background:#eef4ff;
	color:var(--primary);
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}

.details-pane{
	display:none;
	margin-top:14px;
	border-top:1px dashed var(--line);
	padding-top:14px;
}

.standings-wrap{
	overflow-x:auto;
}

.standings-table{
	width:100%;
	min-width:780px;
	border-collapse:separate;
	border-spacing:0 10px;
}

.standings-table thead th{
	font-size:12px;
	text-transform:none;
	color:var(--muted);
	font-weight:800;
	padding:0 10px 6px 10px;
	border:0;
}

.standings-table tbody tr{
	background:#fff;
	box-shadow:0 5px 14px rgba(15,23,42,.04);
}

.standings-table tbody td{
	padding:14px 10px;
	border-top:1px solid var(--line);
	border-bottom:1px solid var(--line);
	background:#fff;
	vertical-align:middle;
}

.standings-table tbody td:first-child{
	border-left:1px solid var(--line);
	border-top-left-radius:14px;
	border-bottom-left-radius:14px;
}

.standings-table tbody td:last-child{
	border-right:1px solid var(--line);
	border-top-right-radius:14px;
	border-bottom-right-radius:14px;
}

.team-cell{
	display:flex;
	align-items:center;
	gap:10px;
}

.team-cell img{
	width:26px;
	height:26px;
	object-fit:contain;
}

.scoreboard-list{
	display:grid;
	gap:10px;
}

.scoreboard-row{
	background:#fff;
	border:1px solid var(--line);
	border-radius:16px;
	padding:14px 16px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
}

.scoreboard-left{
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.scoreboard-rank{
	width:34px;
	height:34px;
	border-radius:50%;
	background:#eef4ff;
	color:var(--primary);
	display:flex;
	align-items:center;
	justify-content:center;
	font-weight:800;
	flex:0 0 34px;
}

.scoreboard-name{
	font-weight:800;
	color:var(--text);
	text-decoration:none;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.scoreboard-points{
	font-weight:800;
	color:var(--primary);
	white-space:nowrap;
}

.ibox, .ibox-content{
	background:transparent !important;
	border:0 !important;
	box-shadow:none !important;
	padding:0 !important;
	margin:0 !important;
}

.modal-backdrop { z-index: -1; }

@media (max-width:1200px){
	.team-name{ font-size:22px; }
}

@media (max-width:991px){
	.site-topbar-inner{
		align-items:flex-start;
	}
	.user-zone{
		align-items:flex-start;
	}
	.top-menu{
		justify-content:flex-start;
	}
}

@media (max-width:768px){
	.filter-toolbar{
		grid-template-columns:1fr;
	}
	.match-grid{
		grid-template-columns:1fr;
	}
	.team-row{
		grid-template-columns:1fr 90px;
	}
	.team-name{
		font-size:20px;
	}
	.site-shell{
		padding:0 12px 18px 12px;
	}
}

img{ pointer-events:none; }

.tab-content{
		display:block !important;
		visibility:visible !important;
		width:100% !important;
		overflow:visible !important;
	}

	.tab-content > .tab-pane{
		display:none;
	}

	.tab-content > .tab-pane.active{
		display:block !important;
		opacity:1 !important;
	}

/* ===== FINOMÍTOTT UI OVERRIDE ===== */

body{
    background:#eef2f7;
}

.site-topbar{
    margin-bottom:16px;
}

.site-topbar-inner{
    padding:14px 18px;
    align-items:flex-start;
}

.brand-zone{
    align-items:flex-start;
    gap:14px;
}

.league-logo-box{
    width:64px;
    height:64px;
    min-width:64px;
    border-radius:16px;
    box-shadow:none;
}

.league-logo-box img{
    max-width:40px;
    max-height:40px;
}

.selector-stack{
    gap:8px;
}

.clean-select{
    min-height:44px;
    font-size:15px;
    font-weight:700;
    border-radius:12px;
}

.rules-link{
    padding:6px 10px;
    font-size:11px;
}

.user-zone{
    gap:8px;
}

.top-menu{
    gap:8px;
}

.top-menu a{
    min-height:38px;
    padding:0 12px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    box-shadow:none;
}

.logged-user{
    font-size:12px;
}

/* fő dashboard doboz */
.content-card{
    border-radius:20px;
    padding:18px;
}

.panel-title{
    font-size:22px;
    line-height:1.1;
}

.panel-subtitle{
    font-size:13px;
    line-height:1.4;
    margin-bottom:0;
}

/* tab gombok */
.nav-pills-clean{
    gap:8px;
    margin-bottom:16px;
    padding-bottom:10px;
}

.nav-pills-clean .nav-link{
    padding:10px 14px;
    border-radius:12px;
    font-size:13px;
    font-weight:800;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

/* filter gombok */
.filter-btns{
    gap:8px;
    margin-bottom:14px;
}

.filter-btn{
    min-height:38px;
    padding:0 12px;
    border-radius:12px;
    font-size:14px;
}

/* kereső */
.filter-toolbar{
    gap:12px;
    margin-bottom:14px;
}

.label-clean{
    margin-bottom:6px;
    font-size:12px;
}

.form-control,
select.form-control{
    min-height:42px;
    border-radius:12px;
    font-size:14px;
}

/* meccs grid */
.match-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
}

/* meccs kártya */
.match-card{
    border-radius:18px;
    padding:14px;
    min-height:auto;
    box-shadow:0 4px 14px rgba(15,23,42,.05);
}

.match-top{
    margin-bottom:10px;
    gap:10px;
}

.match-meta{
    font-size:11px;
    line-height:1.35;
}

.odds-line{
    font-size:11px;
    margin-bottom:10px;
}

.team-row{
    grid-template-columns:minmax(0,1fr) 96px;
    gap:10px;
    margin-bottom:10px;
}

.team-info{
    gap:10px;
}

.team-logo{
    width:26px;
    height:26px;
    flex:0 0 26px;
}

.team-name{
    font-size:18px;
    font-weight:800;
    line-height:1.15;
}

.score-box{
    min-height:38px;
    border-radius:12px;
    font-size:16px;
}

.deadline-box{
    font-size:11px;
    margin-top:4px;
}

.details-toggle{
    width:32px;
    height:32px;
    min-width:32px;
}

.scoreboard-row{
    border-radius:14px;
    padding:12px 14px;
}

.scoreboard-name,
.scoreboard-points{
    font-size:14px;
}

/* standings */
.standings-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.standings-table{
    min-width:720px;
}

/* ===== TABLET ===== */
@media (max-width: 991px){
    .site-topbar-inner{
        flex-direction:column;
        gap:14px;
    }

    .brand-zone{
        width:100%;
        min-width:0;
    }

    .selector-stack{
        min-width:0;
        width:100%;
    }

    .user-zone{
        width:100%;
        align-items:flex-start;
    }

    .top-menu{
        justify-content:flex-start;
        width:100%;
    }

    .logged-user{
        padding-left:2px;
    }
}

/* ===== MOBIL ===== */
@media (max-width: 768px){
    .site-shell{
        padding:0 10px 14px 10px;
    }

    .site-topbar{
        margin-bottom:12px;
    }

    .site-topbar-inner{
        padding:10px;
        gap:12px;
    }

    .brand-zone{
        flex-direction:row;
        align-items:flex-start;
        gap:10px;
    }

    .league-logo-box{
        width:54px;
        height:54px;
        min-width:54px;
        border-radius:14px;
    }

    .league-logo-box img{
        max-width:32px;
        max-height:32px;
    }

    .clean-select{
        min-height:42px;
        padding:0 12px;
        font-size:14px;
    }

    .top-menu{
        display:grid;
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:8px;
    }

    .top-menu a{
        width:100%;
        justify-content:center;
        padding:0 10px;
        font-size:13px;
    }

    .content-card{
        padding:14px;
        border-radius:18px;
    }

    .panel-title{
        font-size:18px;
    }

    .panel-subtitle{
        font-size:12px;
    }

    .nav-pills-clean{
        gap:8px;
    }

    .nav-pills-clean .nav-link{
        flex:1 1 calc(33.333% - 6px);
        min-width:0;
        padding:10px 8px;
        font-size:12px;
    }

    .filter-btns{
        display:grid;
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:8px;
    }

    .filter-btn{
        width:100%;
        min-height:40px;
        padding:0 8px;
        font-size:13px;
    }

    .filter-toolbar{
        grid-template-columns:1fr;
    }

    .match-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .match-card{
        padding:12px;
        border-radius:16px;
    }

    .match-meta{
        font-size:10px;
    }

    .team-row{
        grid-template-columns:minmax(0,1fr) 90px;
        gap:8px;
        margin-bottom:8px;
    }

    .team-name{
        font-size:15px;
    }

    .team-logo{
        width:22px;
        height:22px;
        flex:0 0 22px;
    }

    .score-box{
        min-height:36px;
        font-size:15px;
        padding:0 6px;
    }

    .deadline-box{
        text-align:left;
        font-size:10px;
    }

    .details-toggle{
        width:30px;
        height:30px;
        min-width:30px;
    }

    .scoreboard-row{
        padding:10px 12px;
    }

    .scoreboard-rank{
        width:30px;
        height:30px;
        flex:0 0 30px;
    }
}

/* ===== KIS MOBIL ===== */
@media (max-width: 480px){
    .top-menu{
        grid-template-columns:1fr 1fr;
    }

    .nav-pills-clean{
        display:grid;
        grid-template-columns:1fr 1fr 1fr;
    }

    .nav-pills-clean .nav-link{
        width:100%;
    }

    .filter-btns{
        grid-template-columns:1fr 1fr;
    }

    .team-row{
        grid-template-columns:minmax(0,1fr) 84px;
    }

    .team-name{
        font-size:14px;
    }

    .score-box{
        font-size:14px;
    }
}

@media (max-width: 1200px){
    .match-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px){
    .match-grid{
        grid-template-columns:1fr;
    }
}

.score-box.locked{
    background:#f1f5f9;
    border:1px dashed #cbd5e1;
    color:#64748b;
    cursor:not-allowed;
    position:relative;
}

/* kis lakat ikon */
.score-box.locked::after{
    content:"🔒";
    font-size:11px;
    position:absolute;
    top:4px;
    right:6px;
    opacity:0.7;
}

.match-state-badge{
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    margin-bottom:10px;
}

.match-state-badge.open_empty{
    background:#eff6ff;
    color:#2563eb;
}

.match-state-badge.open_draft{
    background:#fff7ed;
    color:#ea580c;
}

.match-state-badge.locked_finalized,
.match-state-badge.locked_auto{
    background:#ecfdf5;
    color:#15803d;
}

.match-state-badge.finished_with_tip{
    background:#f3f4f6;
    color:#374151;
}

.match-state-badge.finished_without_tip,
.match-state-badge.started_without_tip{
    background:#fee2e2;
    color:#b91c1c;
}

.score-box.editable{
    background:#fff;
    border:1px solid var(--line);
    color:var(--text);
}

.score-box.locked{
    background:#f8fafc;
    border:1px solid #dbe3ef;
    color:#475569;
    font-weight:800;
}

.score-box.result-tip{
    background:#eefbf3;
    border:1px solid #bbf7d0;
    color:#166534;
    font-weight:800;
}

.score-box.missed{
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    color:#94a3b8;
    font-weight:700;
}

.score-stack{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.final-score{
    background:#f3f4f6;
    border:1px solid #d1d5db;
    color:#111827;
}

.tip-note{
    font-size:11px;
    color:#6b7280;
    text-align:center;
}

.match-state-badge{
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    margin-top:8px;
}

.match-state-badge.open_empty{
    background:#eff6ff;
    color:#2563eb;
}

.match-state-badge.open_draft{
    background:#fff7ed;
    color:#ea580c;
}

.match-state-badge.locked_finalized,
.match-state-badge.locked_auto{
    background:#ecfdf5;
    color:#15803d;
}

.match-state-badge.finished_with_tip{
    background:#f3f4f6;
    color:#374151;
}

.match-state-badge.finished_without_tip,
.match-state-badge.started_without_tip{
    background:#fee2e2;
    color:#b91c1c;
}

.score-box.editable{
    background:#fff;
    border:1px solid var(--line);
    color:var(--text);
}

.score-box.locked{
    background:#f8fafc;
    border:1px solid #dbe3ef;
    color:#475569;
    font-weight:800;
}

.score-box.missed{
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    color:#94a3b8;
    font-weight:700;
}

.score-stack{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.final-score{
    background:#f3f4f6;
    border:1px solid #d1d5db;
    color:#111827;
}

.tip-note{
    font-size:11px;
    color:#6b7280;
    text-align:center;
    line-height:1.2;
}

@media (max-width: 768px){

    .site-topbar{
        margin-bottom: 10px;
    }

    .site-topbar-inner{
        display: block;
        padding: 10px 10px 12px 10px;
    }

    .brand-zone{
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 10px;
        align-items: start;
        min-width: 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .league-logo-box{
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 14px;
    }

    .league-logo-box img{
        max-width: 30px;
        max-height: 30px;
    }

    .selector-stack{
        min-width: 0;
        width: 100%;
        gap: 8px;
    }

    .clean-select{
        min-height: 42px;
        height: 42px;
        font-size: 14px;
        padding: 0 12px;
    }

    .rules-link{
        margin-top: 2px;
    }

    .user-zone{
        display: block;
        width: 100%;
        margin-top: 6px;
    }

    .top-menu{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin-bottom: 8px;
    }

    .top-menu a{
        width: 100%;
        min-height: 40px;
        justify-content: center;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 12px;
    }

    .logged-user{
        text-align: left;
        padding-left: 2px;
        font-size: 12px;
    }
}

.dashboard-card{
    padding:0;
    overflow:hidden;
    background:#fff;
}

.dashboard-head{
    padding:18px 20px 12px 20px;
    background:#fff;
}

.nav-pills-clean{
    margin:0;
    padding:0;
    border-bottom:1px solid var(--line);
}

.dashboard-tab-content{
    background:#fff;
    padding:0;
}

.tab-pane-inner{
    padding:18px 20px 20px 20px;
    background:#fff;
}

.match-state-badge{
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
    margin-top:8px;
}

.match-state-badge.open_empty{
    background:#eff6ff;
    color:#2563eb;
}

.match-state-badge.open_draft{
    background:#fff7ed;
    color:#ea580c;
}

.match-state-badge.locked_finalized{
    background:#ecfdf5;
    color:#15803d;
}

.match-state-badge.locked_started{
    background:#fff7ed;
    color:#c2410c;
}

.match-state-badge.finished_with_tip{
    background:#eef2ff;
    color:#3730a3;
}

.match-state-badge.finished_without_tip,
.match-state-badge.started_without_tip{
    background:#fee2e2;
    color:#b91c1c;
}

.score-input{
    min-height:42px !important;
    height:42px;
    border:2px solid #bfdbfe !important;
    background:#ffffff !important;
    border-radius:14px !important;
    text-align:center;
    font-size:18px;
    font-weight:800;
    color:#111827;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
}

.score-input:focus{
    border-color:#2563eb !important;
    box-shadow:0 0 0 4px rgba(37,99,235,.12) !important;
}

.score-input::placeholder{
    color:#cbd5e1;
    font-weight:700;
}

.score-box.locked{
    background:#f1f5f9;
    border:1px solid #cbd5e1;
    color:#475569;
    font-weight:800;
}

.score-box.missed{
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    color:#94a3b8;
    font-weight:700;
}

.score-stack{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.final-score{
    background:#f3f4f6;
    border:1px solid #d1d5db;
    color:#111827;
}

.tip-note{
    font-size:11px;
    color:#6b7280;
    text-align:center;
    line-height:1.2;
}

@media (max-width: 768px){
    .dashboard-head{
        padding:14px 14px 10px 14px;
    }

    .tab-pane-inner{
        padding:14px;
    }
}

#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    color: #fff;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #38bdf8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

.loader-text {
    font-size: 14px;
    opacity: 0.8;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}