/* UK195 refinement: shared surfaces, readable hierarchy and consistent controls. */
:root { --pro-surface:#151c28; --pro-border:#2b3546; --pro-muted:#a8b4c7; --pro-gold:#f0c66c; }
body { background-color:#0b111b; }
.top-header { background:rgba(13,20,31,.97); border-bottom:1px solid var(--pro-border); }
.sidebar-left { background:#101722; border-right:1px solid var(--pro-border); }
.section-heading { letter-spacing:-.025em; line-height:1.3; }
.section-header { gap:16px; align-items:center; }
.games-section { scroll-margin-top:100px; }
.game-card { border:1px solid var(--pro-border); border-radius:16px; background:var(--pro-surface); overflow:hidden; transition:transform .2s,border-color .2s,box-shadow .2s; }
.game-card:hover { transform:translateY(-3px); border-color:#8b7347; box-shadow:0 12px 28px #0004; }
.game-card .game-title { font-weight:700; line-height:1.4; letter-spacing:-.015em; }
.game-card .card-thumb-img { object-fit:cover; }
.btn-sec-all { min-height:40px; padding:9px 17px; border:1px solid #857044; border-radius:9px; color:#f8d994; background:#29241b; font-weight:700; white-space:nowrap; }
.btn-sec-all:hover { background:#3c3120; }
.btn-sec-arrow { min-width:38px; min-height:38px; border-radius:9px; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:3px solid #7dd3fc!important; outline-offset:3px; }
#sec-mini-games { padding:24px; border:1px solid var(--pro-border); border-radius:20px; background:linear-gradient(130deg,#192433,#101722); margin-bottom:28px; }
#sec-mini-games .mobile-section-ctrls { display:flex!important; gap:8px; align-items:center; }
#sec-mini-games .games-grid { gap:16px!important; padding:4px 2px 14px; scrollbar-width:thin; scrollbar-color:#516078 transparent; }
#sec-mini-games.pro-expanded .games-grid { display:grid!important; grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important; flex-wrap:wrap!important; overflow:visible!important; width:100%!important; max-height:none!important; }
#sec-mini-games.pro-expanded .game-card { display:flex!important; width:auto!important; min-width:0!important; max-width:none!important; flex-direction:column; }
#sec-mini-games.pro-expanded .btn-sec-arrow { display:none!important; }
#sec-mini-games .section-heading { font-size:clamp(18px,2vw,22px)!important; }
#sec-mini-games .section-title-wrap { display:flex!important; flex-direction:column; align-items:flex-start; }
#notifWrapper { display:block!important; }
#notifBtn { display:grid!important; place-items:center; }
@media(max-width:767px) { #notifDropdown { position:fixed!important; top:104px!important; left:12px!important; right:12px!important; width:auto!important; max-width:none!important; z-index:5000!important; transform:none!important; } #headerNotifList { max-height:min(420px,calc(100dvh - 210px)); } }
.pro-section-description { margin:6px 0 0; color:var(--pro-muted); font-size:13px; line-height:1.5; }
#notifDropdown { width:min(390px,calc(100vw - 24px)); border:1px solid var(--pro-border); border-radius:16px; background:#151d2a; box-shadow:0 20px 60px #0008; }
#headerNotifList { max-height:420px; overflow-y:auto; overscroll-behavior:contain; }
#headerNotifList .notif-item { padding:16px; gap:12px; border-bottom:1px solid #ffffff0b; align-items:flex-start; }
#headerNotifList .notif-item.unread { background:#efc26509; border-left:3px solid var(--pro-gold); }
#headerNotifList .notif-title { color:#f4f7fc; font-weight:650; line-height:1.5; margin:0 0 5px; }
#headerNotifList .notif-message { color:#b5c0d0; font-size:12px; line-height:1.5; margin:0 0 6px; overflow-wrap:anywhere; }
#headerNotifList .notif-time { color:#8f9db2; font-size:11px; }
.pro-notif-action { display:block; border:0; background:transparent; color:inherit; width:100%; text-align:left; padding:0; cursor:pointer; }
.game-dialog-wide { border:1px solid var(--pro-border); border-radius:18px; overflow:hidden; }
@media(max-width:600px) { #sec-mini-games { padding:16px 12px; border-radius:16px; } #sec-mini-games .section-header { flex-wrap:wrap; } #sec-mini-games .section-title-wrap { flex:1 1 160px; } #sec-mini-games.pro-expanded .games-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; } .pro-section-description { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
