:root{
  --r:#E8172B; --g:#F9A900; 
  --dk:#0A0A15; --dk2:#181822; 
  --gl:rgba(255,255,255,0.06); --glb:rgba(255,255,255,0.11); 
  --txt:#ffffff; --txt-sec:rgba(255,255,255,0.5);
  --nh:75px; --bw:1.5px;
}
.light-mode {
  --dk:#F2F4F7; --dk2:#FFFFFF;
  --gl:rgba(0,0,0,0.04); --glb:rgba(0,0,0,0.08);
  --txt:#0A0A15; --txt-sec:rgba(0,0,0,0.6);
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none; ms-overflow-style:none; scrollbar-width:none;}
*::-webkit-scrollbar{display:none}
html{background:var(--dk)}
body{font-family:'Outfit',sans-serif;background:linear-gradient(145deg,var(--dk) 0%,var(--dk2) 100%);color:var(--txt);min-height:100vh;max-width:411.4px;margin:0 auto;overflow-x:hidden; transition: background 0.3s ease, color 0.3s ease; -webkit-user-select:none; user-select:none; position:relative; box-shadow: 0 0 50px rgba(0,0,0,0.6);}
input, textarea { -webkit-user-select:text; user-select:text; }
.screen{position:absolute;left:0;top:60px;width:100%;min-height:calc(100vh - 140px);display:none;opacity:0;pointer-events:none;padding-bottom:80px;transition:opacity .2s ease;z-index:1}
.screen.active{display:block;opacity:1;pointer-events:all}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.stitle{font-family:'Bebas Neue',cursive;font-size:25px;letter-spacing:1px;padding:22px 16px 12px;color:var(--g)}

/* BOTTOM NAV */
.bnav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:411.4px;height:var(--nh);background:rgba(10,10,21,.95);backdrop-filter:blur(20px);border-top:1px solid var(--glb);display:flex;z-index:100;align-items:center}
.ni{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;color:rgba(255,255,255,.45);transition:.3s}
.ni.active{color:var(--g)}
.ni .nicn{font-size:22px}.ni .nlbl{font-size:10px;font-weight:700;letter-spacing:.5px}

/* HEADER & WIDGETS */
.hdr{padding:40px 16px 20px;display:flex;justify-content:space-between;align-items:flex-end}
.hdrtxt h1{font-family:'Bebas Neue';font-size:32px;line-height:1;margin-bottom:3px}
.hdrtxt p{font-size:12px;color:var(--txt-sec)}
.btn-export{background:var(--gl);border:1px solid var(--glb);color:var(--txt);padding:8px 14px;border-radius:8px;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:.2s}
.btn-export:active{transform:scale(0.96); opacity: 0.9;}
.btn-export.file-ok{border-color:var(--g);color:var(--g)}
.btn:active, .t-fbtn:active, .ni:active, .wiz-btn:active, .hdr-btn:active, .mitem:active, .scard:active, .nav-fab:active, .t-grp div:active, .hdr-btn-mini:active {
  transform: scale(0.9);
  opacity: 0.85;
  transition: transform 0.1s ease;
}

/* GLOBAL HEADER SYSTEM */
.hdr-global{ padding:20px 16px 5px; display:flex; justify-content:space-between; align-items:center; background:var(--dk); z-index:100; position:relative; }
.hdr-global h1{ flex:1; text-align:center; font-family:'Bebas Neue'; font-size:26px; line-height:1; color: #fff; letter-spacing: 1px; }
.hdr-actions-left{ width:90px; display:flex; justify-content:flex-start; gap:10px; align-items:center; }
.hdr-actions-right{ width:90px; display:flex; justify-content:flex-end; gap:10px; align-items:center; }
.hdr-btn-mini{ width:38px; height:38px; border-radius:12px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; font-size:18px; cursor:pointer; color:var(--g); transition:.2s; }

/* NEW SQUARE UPDATE BUTTON */
.btn-update-square {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #134e15, #2e7d32); /* Premium Green */
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(19, 78, 21, 0.3);
  transition: all 0.2s ease;
  z-index: 10;
}
.btn-update-square:active { transform: translateY(-50%) scale(0.9); }
.hdr-actions-left .btn-update-square { position:relative; right:auto; top:auto; transform:none; }
.hdr-actions-left .btn-update-square:active { transform:scale(0.9); }
.btn-update-square svg { width: 28px; height: 28px; fill: #fff; pointer-events: none; }

/* UNIFIED NAVIGATION BUTTONS (UBS) */
.db-tab, .t-fbtn, .rc-lbtn { flex: 1; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; color: var(--txt-sec); cursor: pointer; transition: 0.25s ease-out; letter-spacing: 1px; font-family: 'Bebas Neue', sans-serif; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%) !important; border: 1px solid rgba(255,255,255,0.14) !important; box-shadow: inset 0 2px 4px rgba(255,255,255,0.08), inset 0 -4px 8px rgba(0,0,0,0.3) !important; }
.db-tab::after, .t-fbtn::after, .rc-lbtn::after { content: ''; position: absolute; top: 1.5px; left: 2px; right: 2px; height: 38%; background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.02) 80%, transparent 100%); border-radius: 10px 10px 2px 2px; pointer-events: none; opacity: 0.6; transition: 0.3s; }
.db-tab.active, .t-fbtn.active, .rc-lbtn.active { background: linear-gradient(180deg, #ff4c4c 0%, #ce121a 45%, #8b0000 100%) !important; border: 1px solid transparent !important; color: #fff !important; box-shadow: 0 8px 20px rgba(0,0,0,0.5), inset 0 -4px 10px rgba(0,0,0,0.4) !important; }
.db-tab.active::after, .t-fbtn.active::after, .rc-lbtn.active::after { background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 80%, transparent 100%); opacity: 1; }
.db-tab:active, .t-fbtn:active, .rc-lbtn:active { transform: translateY(3px); filter: brightness(0.9); }

.db-tabs{display:flex;gap:10px;padding:0 20px 20px;justify-content:center}
.db-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px 20px}
.db-card{background:var(--gl);border:1px solid var(--glb);border-radius:20px;padding:18px 16px;position:relative;overflow:hidden;backdrop-filter:blur(5px);transition:0.3s;display:flex;flex-direction:column;min-height:95px;justify-content:center}
.db-card:active{transform:scale(0.95)}
.db-card::before{content:'';position:absolute;left:0;top:0;width:4px;height:100%;background:var(--glb);opacity:.8}
.db-card.win::before{background:var(--g)}
.db-card.loss::before{background:var(--r)}
.db-card.draw::before{background:rgba(255,255,255,0.63)}
.db-val{font-family:'Bebas Neue';font-size:42px;line-height:1;color:#fff;margin-bottom:2px;text-align:left;padding-left:8px}
.db-lbl{font-size:11.5px;font-weight:700;color:var(--txt-sec);letter-spacing:.5px;text-align:left;padding-left:8px;text-transform:uppercase}
.db-icon{position:absolute;right:10px;bottom:8px;font-size:24px;opacity:0.6;transform:rotate(-12deg)}
.db-sub-data{position:absolute;top:14px;right:12px;display:flex;flex-direction:column;gap:0;font-family:'Outfit',sans-serif;font-weight:500;opacity:0.65;color:#fff;letter-spacing:0.1px}
.db-sub-row{display:grid;grid-template-columns:22px 34px;gap:3px;align-items:baseline;justify-content:flex-end}
.db-sub-row span:first-child{text-align:right;opacity:0.8;font-size:12px}
.db-sub-row span:last-child{text-align:right;font-family:'Bebas Neue',sans-serif;font-size:16px;font-weight:400;letter-spacing:0.5px}

/* CONDENSED TABLE SYSTEM (Bebas Neue Style) */
.table, .t-total-bar, .t-opp, .t-opp-lbl, .table th, .t-num, .t-gs, .t-total-bar div { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.5px; }
.t-opp, .t-opp-lbl { font-size:18px !important; font-weight:400 !important; text-transform:uppercase; color: #fff; }
.table th { color: rgba(249, 169, 0, 0.8); text-transform:uppercase; letter-spacing:0.3px; }
.t-num, .t-gs, .t-total-bar div { font-size:18px; }
.t-rank { width:35px !important; font-size:16px !important; opacity:0.6; text-align:center !important; font-family: 'Bebas Neue', sans-serif; font-weight:400 !important; color:var(--txt-sec); }
.stitle { text-align:center !important; padding: 15px 16px !important; display:flex !important; align-items:center; justify-content:center; gap:10px; font-family:'Bebas Neue'; }
.st-icon { flex-shrink:0; width:30px; text-align:right; }
.st-ghost { flex-shrink:0; width:30px; visibility:hidden; pointer-events:none; }
.st-txt { flex:0 1 auto; white-space:nowrap; }

/* GRID & CARDS */
.sgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px;margin-bottom:20px}
.scard{background:var(--gl);border:1px solid var(--glb);border-radius:16px;padding:20px;position:relative; transition: background 0.3s, border 0.3s;}
.scard::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--r),var(--g))}
.val{font-family:'Bebas Neue';font-size:44px;background:linear-gradient(135deg,var(--r),var(--g));-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1}
.lbl{font-size:13.5px;color:var(--txt-sec);margin-top:6px;text-transform:uppercase;font-weight:600}
.cc{margin:0 16px 14px;background:var(--gl);border:1px solid var(--glb);border-radius:16px;padding:16px}
.cc h3{font-size:12px;color:var(--txt-sec);margin-bottom:12px;text-transform:uppercase;letter-spacing:1px}

/* STANDINGS TABLE STYLE */
.t-filters{display:flex; flex-direction:column; gap:8px; padding:10px 16px; background:var(--dk); border-bottom:1px solid var(--glb); position:sticky; top:0; z-index:100;}
.t-grp{display:flex; background:transparent; border-radius:10px; padding:3px; border:none; gap:8px; }
.t-fbtn{flex:1; padding:9px 8px; font-size:18px; font-weight:400; color:var(--txt-sec); text-align:center; cursor:pointer; border-radius:10px; transition:0.1s; white-space:nowrap; letter-spacing:1px; border:1px solid rgba(255,255,255,0.15); background:var(--dk2); position: relative; box-shadow: 0 4px 0 rgba(0,0,0,0.3); font-family:'Bebas Neue', sans-serif;}
.t-fbtn.active{background:var(--r); color:#fff; border-color:var(--r); box-shadow:0 4px 0 #8b0000; transform: translateY(0);}
.t-fbtn:active{transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.3);}
.t-fbtn.active:active{box-shadow: 0 1px 0 #4a0000;}
.t-wrap{overflow-x:auto; margin-top:10px; padding:0 16px 20px; -webkit-overflow-scrolling:touch}
.table{width:100%; border-collapse:collapse; background:var(--gl); border-radius:16px; overflow:hidden; font-size:16px; table-layout:fixed}
.table th{background:var(--glb); padding:6px 8px; text-align:left; font-family:'Bebas Neue'; font-size:17px; color:var(--g); border-bottom:2px solid var(--glb); white-space:nowrap; cursor:pointer; transition:.2s; font-weight: 400;}
.table th:active{background:rgba(255,255,255,0.1)}
.table th.active-sort{background:rgba(249, 169, 0, 0.5); color:#000; border-color:rgba(249, 169, 0, 0.5); font-weight:400; font-size:18px;}
.table td{padding:11px 8px; border-bottom:1px solid var(--glb); white-space:nowrap; vertical-align:middle; transition:0.3s}
.table td.t-opp{ cursor:pointer; font-weight:900; }
.table td.t-opp:active{ background:rgba(232,23,43,0.2) !important; color:#fff !important; border-radius:8px; }
.no-sb::-webkit-scrollbar { display: none; }
.no-sb { -ms-overflow-style: none; scrollbar-width: none; }
.table tr:last-child td{border-bottom:none}
.table tr:active{background:rgba(255,255,255,0.05)}
.flex-screen.active { display: flex !important; flex-direction: column; height: 100vh; overflow: hidden; padding: 0 !important; }
/* t-rank consolidated above */
.table td.t-opp{font-weight:900; color:#fff; white-space:normal !important; line-height:1.1; text-align:left; padding-right:5px; overflow:visible;}
.t-num{width:38px; text-align:center; font-weight:600}
.t-gs{width:42px; color:var(--g); font-weight:700; text-align:center}
.t-total-bar{background:rgba(255,255,255,0.08) !important; backdrop-filter:blur(15px); -webkit-backdrop-filter:blur(15px); border-bottom:1px solid var(--glb); border-top:1px solid var(--glb); display:flex; align-items:center; height:36px; padding:0; margin:5px 16px 0}
.t-total-bar div{text-align:center; font-weight:700; font-size:15px; color:var(--g)}
.t-total-bar .t-opp-lbl{flex:1; text-align:left; color:#fff; font-size:15px; padding-left:8px; font-weight:900}

/* WIZARD REFINEMENTS */
.wiz-hdr-fixed{ position:sticky; top:0; background:var(--dk); z-index:100; border-bottom:1px solid var(--gl); padding:15px; margin-bottom:15px; }
.wiz-hdr-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.wiz-title{ font-family:'Bebas Neue'; font-size:24px; color:var(--g); flex:1; }
.wiz-btns{ display:flex; gap:8px; align-items:center; }
.wiz-btn{ width:38px; height:38px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); cursor:pointer; transition:0.2s; position:relative; }
.wiz-btn:active{ transform:scale(0.9); }
.wiz-btn.disabled{ opacity:0.15; pointer-events:none; }
.wiz-btn svg{ width:26px; height:26px; fill:#fff; pointer-events:none; }

.wiz-btn.save{ 
  background: linear-gradient(135deg, #134e15, #2e7d32); 
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 4px 10px rgba(19,78,21,0.3);
}

.wiz-btn.close{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.wiz-btn.close svg{ fill: rgba(255,255,255,0.7); }
.wiz-hdr-dots{ display:flex; gap:4px; }
.wiz-dot{ flex:1; height:4px; background:var(--glb); border-radius:2px; transition:.3s }
.wiz-dot.active{ background:var(--g) }

.wiz-step{ display:none; animation:fadeIn .3s ease forwards; transition: transform 0.3s ease, opacity 0.3s ease; }
.wiz-step.active{ display:block; opacity: 1 !important; transform: none !important; }
.wiz-step.slide-left { transform: translateX(-30px) !important; opacity: 0 !important; }
.wiz-step.slide-right { transform: translateX(30px) !important; opacity: 0 !important; }

.fg{margin-bottom:16px}
.fg label{display:block;font-size:13.5px;color:var(--txt-sec);margin-bottom:6px;font-weight:600; padding-left:5px;}
.inp{width:100%;height:48px;background:rgba(0,0,0,0.1);border:1px solid var(--glb);border-radius:10px;padding:0 14px;color:var(--txt);font-family:'Outfit';font-size:17px;outline:none;transition:.2s;box-sizing:border-box}
.light-mode .inp{background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.12);}
.inp:focus{border-color:var(--g)}
.tog-wrap{display:flex;height:48px;background:rgba(0,0,0,0.3);border:1px solid var(--glb);border-radius:12px;overflow:hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);box-sizing:border-box}
.tog-btn{flex:1;height:100%;text-align:center;padding:0 5px;font-family:'Bebas Neue', sans-serif; font-size:20px;font-weight:500;cursor:pointer;color:var(--txt-sec);transition:.3s; white-space:nowrap; display:flex; align-items:center; justify-content:center; letter-spacing:1px;}
.tog-btn.active{background: linear-gradient(180deg, #E8172B 0%, #A3101E 100%); color:#fff; box-shadow: inset 0 2px 3px rgba(255,255,255,0.3), 0 4px 12px rgba(232, 23, 43, 0.4); transform: translateY(-1px);}

.score-ui{display:flex;align-items:flex-start;justify-content:center;gap:20px;margin:10px 0; position:relative; z-index:10; padding: 15px 0;}
.score-ui:active, .score-ui:focus-within { z-index: 99999 !important; }



.w-result-bar{ text-align:center; margin:15px 0; font-size:13px; color:#aaa; }
.w-result-bar strong{ font-size:14px; color:var(--g) !important; }


/* Hide datalist arrow for specific inputs */
input#f-gun::-webkit-calendar-picker-indicator,
input#f-ay::-webkit-calendar-picker-indicator,
input#f-yil::-webkit-calendar-picker-indicator,
#filter-panel input::-webkit-calendar-picker-indicator { display: none !important; }
.s-team{text-align:center;flex:1}
.s-num{font-family:'Bebas Neue';font-size:50px;line-height:1;margin:10px 0}
.s-ctrl{display:flex;justify-content:center;gap:10px}
.s-btn{width:40px;height:40px;border-radius:50%;background:var(--gl);border:1px solid var(--glb);color:var(--txt);font-size:30px;display:flex;align-items:center;justify-content:center;cursor:pointer; transition:0.2s}
.s-btn:active{background:var(--r); transform:scale(0.9)}
.g-block{background:rgba(0,0,0,.2);border:1px solid var(--glb);border-radius:10px;padding:12px;margin-bottom:10px}
.g-title{font-size:13px;color:var(--g);margin-bottom:10px;font-weight:700}
.g-row{display:flex;gap:10px;margin-bottom:10px}

/* BUTTONS */
.btn-nav{display:flex;justify-content:space-between;margin-top:24px;gap:15px}
.btn{flex:1;padding:14px;text-align:center;border-radius:12px;font-weight:500;font-size:15px;cursor:pointer;transition:.2s;border:none;font-family:'Outfit'; position:relative; box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.1); }
.btn-sec{background:linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%); color:var(--txt); border:1px solid rgba(255,255,255,0.14); box-shadow: inset 0 2px 4px rgba(255,255,255,0.08), inset 0 -4px 8px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.4); }
.btn-pri{background:linear-gradient(180deg, #E8172B 0%, #A3101E 100%); color:#fff; border: 1px solid rgba(255,255,255,0.2); box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), inset 0 -4px 8px rgba(0,0,0,0.3), 0 4px 15px rgba(232, 23, 43, 0.4); }
.btn:active{transform:translateY(2px) scale(0.97); box-shadow: inset 0 2px 10px rgba(0,0,0,0.5); }

/* MATCH ARCHIVE ITEMS */
.mlist{padding:0 16px}
.mitem{background:var(--gl);border:1px solid var(--glb);border-radius:14px;padding:16px;margin-bottom:12px;border-left:5px solid var(--glb);cursor:pointer;transition:.2s}
.mitem:active{transform:scale(0.98)}
.mitem.g{border-left-color:var(--g)}.mitem.b{border-left-color:rgba(255,255,255,0.63)}.mitem.m{border-left-color:var(--r)}
.mrow{display:flex;justify-content:space-between;align-items:center}
.mtxt{font-size:14px;color:var(--txt-sec)}
.mopp{font-family:'Bebas Neue';font-size:24px;font-weight:400;letter-spacing:1px;flex:1;padding-right:15px;line-height:1.1;min-width:0;word-wrap:break-word}
.mskor{font-family:'Bebas Neue';font-size:26px;letter-spacing:1px;white-space:nowrap;flex-shrink:0}

/* MODAL CORE */
.mdl-wrap{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85);backdrop-filter:blur(8px);z-index:999;display:none;align-items:flex-start;justify-content:center;padding:50px 15px 20px}
.mdl-wrap.active{display:flex;animation:fadeIn .2s}
.mdl{background:var(--dk2);width:100%;max-width:411.4px;border-radius:24px;border:1px solid var(--glb);overflow:hidden;animation:slideUp .3s ease;display:flex;flex-direction:column;max-height:85vh}
.mdl-hdr{padding:12px 20px;background:var(--gl);display:flex;align-items:center;border-bottom:1px solid var(--glb)}
.mdl-body{padding:20px;overflow-y:auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.mdl-body.slide-left { transform: translateX(-30px); opacity: 0; }
.mdl-body.slide-right { transform: translateX(30px); opacity: 0; }
.m-res{font-family:'Bebas Neue';font-size:45px;text-align:center;line-height:1;margin:10px 0;letter-spacing:2px}
.m-teams{text-align:center;font-size:26px;font-weight:400;margin-bottom:5px;font-family:'Bebas Neue';letter-spacing:1px}

/* MODAL HEADER BUTTONS (REFINED) */
.mdl-hdr-btns{ display:flex; gap:16px; align-items:center; }
.hdr-btn{ width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:22px; border:1px solid var(--glb); transition:0.2s; background:var(--dk); }
.hdr-btn:active{ transform:scale(0.9); background:var(--gl); }
.hdr-btn.del{ color:var(--r); }
.hdr-btn.edit{ color:var(--g); }
.hdr-btn.close{ color:#fff; background:rgba(255,255,255,0.1); margin-left: 15px; }

/* CUSTOM DROPDOWN SYSTEM */
.c-wrap{position:relative; width:100%; z-index: 10;}
.c-wrap:focus-within{z-index:9999;}
.c-list{position:absolute; top:100%; left:0; width:max-content; min-width:100%; max-height:250px; overflow-y:auto; 
        background:rgba(18,18,28,0.995); backdrop-filter:blur(35px); border:1.5px solid var(--glb); 
        border-radius:0 0 12px 12px; z-index:10000; box-shadow:0 15px 45px rgba(0,0,0,0.9); display:none;}
.c-list.active{display:block;}
.c-item{padding:14px 16px; font-size:15px; color:var(--txt); border-bottom:1px solid var(--glb); cursor:pointer; white-space:nowrap}
.c-item:last-child{border-bottom:none;}
.c-item:hover{background:var(--glb); color:var(--g);}
.c-list::-webkit-scrollbar{width:12px;}
.c-list::-webkit-scrollbar-track{background:rgba(0,0,0,0.2); border-radius:10px;}
.c-list::-webkit-scrollbar-thumb{background:var(--glb); border-radius:10px; border:3px solid rgba(0,0,0,0); background-clip: padding-box;}
.c-list::-webkit-scrollbar-thumb:hover{background:var(--g); background-clip: padding-box;}

.m-tag{display:inline-block;padding:4px 10px;background:var(--gl);border:1px solid var(--glb);border-radius:20px;font-size:11px;color:var(--g);margin:2px}
.m-sec{margin-top:20px}
.m-sec-t{font-size:12px;color:var(--txt-sec);font-weight:700;text-transform:uppercase;margin-bottom:8px;border-bottom:1px solid var(--glb);padding-bottom:4px}
.m-li{font-size:14px;padding:6px 0;display:flex;justify-content:space-between;border-bottom:1px dashed var(--glb)}
.m-cmt{font-size:14px;line-height:1.5;color:var(--txt);background:rgba(0,0,0,0.1);padding:12px;border-radius:10px;font-style:italic}
.mdl-actions{display:flex;gap:10px;padding:15px 20px;background:var(--gl);border-top:1px solid var(--glb)}
.act-btn{flex:1;padding:12px;border-radius:10px;font-weight:700;cursor:pointer;border:none;font-family:'Outfit'; background: var(--dk); color:var(--txt) }

/* LOGIN SCREEN */
#s-login{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--dk);z-index:9000;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center; transition: opacity 0.3s; }
.gs-is-logged #s-login { display: none !important; }
#s-login .logo-area{width:120px;height:120px;margin-bottom:20px;animation:pulse 2s infinite}
@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}100%{transform:scale(1)}}
#s-login h2{font-family:'Bebas Neue';font-size:36px;color:var(--g);margin-bottom:10px}
#s-login p{font-size:14px;color:rgba(255,255,255,0.6);margin-bottom:30px}
.login-box{width:100%;max-width:340px;background:var(--gl);border:1px solid var(--glb);padding:25px;border-radius:24px;backdrop-filter:blur(10px)}

/* RECORDS GRID */
.rec-list{ display:grid; grid-template-columns: 1fr; gap:15px; margin-top:10px; margin-bottom: 20px; }
.rec-card{ background:var(--dk); border-radius:18px; padding:15px; border:1px solid var(--gl); display:flex; align-items:center; gap:15px; }
.rec-icon{ width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:24px; background:var(--dk2); border:1px solid var(--gl); }
.rec-info{ flex:1; }
.rec-t{ font-size:12px; color:var(--txt-sec); text-transform:uppercase; font-weight:700; }
.rec-v{ font-size:18px; font-weight:900; color:var(--g); margin:2px 0; font-family:'Bebas Neue'; }
.rec-s{ font-size:12px; color:var(--txt-sec); }

/* ADVANCED RECORDS (NEW LAYER) */
.rc-lbtn{ height:32px; padding:0 12px; font-size:17px; font-weight:400; color:var(--txt-sec); background:var(--dk); border-radius:10px; cursor:pointer; transition:0.1s; border:1px solid rgba(255,255,255,0.15); white-space:nowrap; position: relative; box-shadow: 0 4px 0 rgba(0,0,0,0.3); font-family:'Bebas Neue', sans-serif; display:flex; align-items:center; justify-content:center;}
.rc-lbtn.active{ background:var(--r); color:#fff; border-color:var(--r); box-shadow: 0 4px 0 #8b0000; }

.arc-card{ background:var(--gl); border:1px solid var(--glb); border-radius:16px; padding:16px; margin-bottom:16px; animation:slideUp .3s ease forwards; opacity:0; }
.arc-t{ font-family:'Bebas Neue', sans-serif; font-size:20px; font-weight:bold; color:var(--g); margin-bottom:12px; text-transform:uppercase; border-bottom:1px solid var(--glb); padding-bottom:8px; display:flex; align-items:center; justify-content:space-between; letter-spacing:1px; }
.arc-t > span { display:flex; align-items:center; gap:8px; }
.arc-t-icon{ width:18px; display:inline-flex; justify-content:center; flex-shrink:0; font-size:16px; }
.arc-row{ display:grid; grid-template-columns:18px 1fr auto auto; align-items:center; gap:8px; padding:8px 0; border-bottom:1px dashed var(--glb); transition: background 0.2s; }
.arc-name{ font-family:'Bebas Neue'; font-size:20px; color:#fff; letter-spacing:0.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
.arc-name:active{ color:var(--g); opacity:0.8; }
.arc-row:last-child{ border-bottom:none; padding-bottom:0 }
.arc-rank{ font-weight:700; color:rgba(255,255,255,0.3); font-size:12px; }
.arc-name{ font-family:'Bebas Neue'; font-size:20px; color:#fff; letter-spacing:0.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.arc-sub-col{ flex:1; display:flex; justify-content:center; align-items:center; }
.arc-sub-stack{ display:flex; flex-direction:column; gap:2px; }
.arc-sub-line{ display:grid; grid-template-columns:26px 40px; gap:3px; align-items:baseline; }
.arc-sub-num{ text-align:right; font-family:'Bebas Neue'; font-size:15px; color:rgba(255, 255, 255, 0.39); letter-spacing:0.5px; line-height:1; }
.arc-sub-lab{ text-align:left; font-family:'Outfit'; font-size:10px; color:rgba(255,255,255,0.3); font-weight:700; text-transform:uppercase; letter-spacing:0.3px; line-height:1; }
.arc-val{ font-weight:900; color:var(--r); background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:8px; display:grid; grid-template-columns:1fr 42px; align-items:baseline; width:82px; box-sizing:border-box; padding:4px 0; flex-shrink:0; }
.arc-val-num{ font-family:'Bebas Neue'; font-size:24px; font-weight:700; letter-spacing:0.5px; text-align:right; justify-self:end; padding-right:2px; }
.arc-unit{ font-size:11px; color:rgba(255,255,255,0.5); font-weight:700; text-transform:uppercase; text-align:center; justify-self:center; width:100%; font-family:'Outfit'; }
.arc-unit-lg{ font-size:14.5px; }

/* ANIMATIONS */
@keyframes spin-right { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.spin-act { animation: spin-right 0.4s ease-in-out; display: inline-block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.syncing { animation: spin 1.5s linear infinite; display: inline-block; }
/* AURA TRI-BARS (V11) */
.aura-container { display: flex; flex-direction: column; align-items: center; padding: 17px 16px 20px; position: relative; }
.tri-bar-container { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; margin: 0 auto; }
.tri-row { display: flex; align-items: center; gap: 14px; height: 40px; }
.tri-lbl { font-family: 'Bebas Neue'; font-size: 16px; color: #fff; width: 16px; text-align: center; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.5); font-weight: 400; opacity: 0.8; }
.tri-track { flex: 1; height: 30px; background: rgba(0,0,0,0.4); border-radius: 15px; position: relative; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px 1px rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); }
.tri-bar { height: 100%; width: 0%; border-radius: 15px; position: relative; box-shadow: 0 2px 4px rgba(0,0,0,0.3); transition: width 0.3s ease; }
.tri-bar.win { background: linear-gradient(to bottom, #ffcc00 0%, var(--g) 50%, #cc8800 100%); }
.tri-bar.draw { background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.7) 50%, #aaaaaa 100%); }
.tri-bar.loss { background: linear-gradient(to bottom, #ff4d4d 0%, var(--r) 50%, #990000 100%); }
.tri-bar::after { content: ''; position: absolute; top: 2px; left: 0; right: 0; height: 25%; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); border-radius: 13px; }
.tri-val { font-family: 'Bebas Neue'; font-size: 26px; color: #fff; width: 62px; text-align: right; line-height: 1; min-width: 62px; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.tri-perc-sym { font-weight: 400; font-size: 0.85em; margin-left: 2px; opacity: 0.8; }
.aura-welcome { margin-top: 30px; font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 1.5px; text-transform: uppercase; background: linear-gradient(90deg, var(--g), #fff, var(--r)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.arc-all-btn{ background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.15); border-radius:8px; color:var(--g); font-family:'Bebas Neue'; font-size:12px; padding:4px 10px; cursor:pointer; transition:0.2s; letter-spacing:0.5px; }
.arc-all-btn:hover{ background:rgba(255,255,255,0.1); border-color:var(--g); }
.arc-all-btn.active{ background:var(--r); color:#fff; border-color:var(--r); }
/* DASHBOARD & STATS V113 PREVIEW (v3) */
.st-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px; padding: 22px; margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.1);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
  opacity: 0; transform: translateY(30px) scale(0.98);
}
.st-card.visible {
  opacity: 1; transform: translateY(0) scale(1);
}
.st-card::before {
  content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--g), var(--r), transparent); opacity: 0.5;
}
@keyframes stFadeUp {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.st-title { font-family: 'Outfit'; font-size: 13px; font-weight: 800; color: var(--g); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; opacity: 0.9; }
.st-val { font-family: 'Bebas Neue'; font-size: 52px; line-height: 1; color: #fff; margin: 8px 0; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.st-desc { font-size: 11px; color: var(--txt-sec); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }

/* MINI CHART CONTAINERS - ADJUSTED FOR VERTICAL SCROLL */
.st-chart-wrap { width: 100%; position: relative; margin-top: 10px; }
.st-v-scroll { max-height: 350px; overflow-y: auto; padding-right: 8px; margin-top: 10px; }
.st-v-scroll::-webkit-scrollbar { width: 4px; }
.st-v-scroll::-webkit-scrollbar-thumb { background: var(--glb); border-radius: 10px; }

/* STREAK CHAIN VISUALIZER */
.st-streak-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.st-streak-dot { 
  width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; 
  font-family: 'Bebas Neue'; font-size: 16px; color: #fff; font-weight: 700; 
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s;
}
.st-streak-dot:active { transform: scale(1.1); }
.st-streak-dot.w { background: linear-gradient(135deg, var(--g), #cc8800); box-shadow: 0 4px 12px rgba(249, 169, 0, 0.4); border-color: rgba(255,255,255,0.2); }
.st-streak-dot.d { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }

/* STATS COUNTER GRID */
.st-counter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.st-counter-item { 
  text-align: center; background: rgba(255,255,255,0.03); padding: 18px; border-radius: 20px; 
  border: 1px solid rgba(255,255,255,0.06); transition: 0.3s;
}
.st-counter-item:active { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
/* UNIFIED FILTER BUTTONS (TABLE & STATS) */
.t-fbtn {
  flex: 1; min-width: 80px; height: 36px; padding: 0 10px;
  text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  font-weight: 500; cursor: pointer; color: var(--txt-sec);
  background: rgba(255,255,255,0.05); border: 1px solid var(--glb);
  border-radius: 8px; transition: .3s; white-space: nowrap;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.5px; margin-right: 8px;
}
.t-fbtn.active {
  background: linear-gradient(180deg, #E8172B 0%, #A3101E 100%);
  color: #fff; border-color: #E8172B;
  box-shadow: 0 4px 12px rgba(232, 23, 43, 0.3);
  transform: translateY(-1px);
}
.t-fbtn:last-child { margin-right: 0; }

/* HORIZONTAL CHART BAR */
.ch-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; width:100%; padding-right: 0; }
.ch-lbl { font-family: 'Bebas Neue'; font-size: 14px; color: #fff; width: 55px; text-align: right; flex-shrink: 0; line-height: 1; opacity:0.8; letter-spacing:0.5px; white-space:nowrap; }
.ch-track-wrap { flex: 1; display: flex; flex-direction: column; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.4); height: 30px; position: relative; overflow: hidden; }
.ch-track { height: 100%; display: flex; width:0%; transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1); border-radius: 8px; overflow: hidden; position: relative; flex-shrink: 0; }
.ch-seg { height: 100%; display: flex !important; align-items: center !important; justify-content: flex-end !important; padding-right: 6px !important; font-family: 'Bebas Neue'; font-size: 16px; font-weight: 400; color: #000; overflow: hidden; width:0%; transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: -1px 0 3px rgba(0,0,0,0.2); flex-shrink: 0; }
.ch-seg.win { background: linear-gradient(to bottom, #ffcc00 0%, var(--g) 50%, #cc8800 100%); color: #000; }
.ch-seg.draw { background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0.7) 50%, #aaaaaa 100%); color: #000; }
.ch-seg.loss { background: linear-gradient(to bottom, #ff4d4d 0%, var(--r) 50%, #990000 100%); color: #fff; }
.ch-seg.norm { background: linear-gradient(to bottom, #ffcc00 0%, var(--g) 50%, #cc8800 100%); }
.ch-seg.pen { background: linear-gradient(to bottom, #ffec99 0%, #ffcc00 50%, #b38f00 100%); }
.ch-seg.kk { background: linear-gradient(to bottom, #ffffff 0%, #ffec99 50%, #ccaa00 100%); }
.ch-seg.yenilen { background: linear-gradient(to bottom, #ff4d4d 0%, #E8172B 50%, #990000 100%) !important; }
.ch-row.clickable:active { transform: scale(0.98); opacity: 0.8; }
.stat-card { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 15px; border: 1px solid rgba(255,255,255,0.05); }
.ch-val-wrap { width: 33px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; margin-left: 2px; }
.ch-val { font-family: 'Bebas Neue'; font-size: 20px; color: var(--g); line-height: 1; text-align: right; width: 100%; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }

.ch-header { cursor: pointer; transition: 0.3s; opacity: 0.5; }
.ch-header.active { opacity: 1; }
.ch-header .arrow { transition: 0.3s; font-size: 16px; }
.ch-header.active .arrow { color: #ffcc00; }

/* CHART FILTER TAGS */
.ch-tag { padding: 8px 4px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; font-size: 16px; color: var(--txt-sec); cursor: pointer; transition: 0.2s; font-family: 'Bebas Neue'; letter-spacing: 1px; text-align: center; width: calc(20% - 6.4px); }
.active-text { color: var(--g) !important; }
.ch-tag.season-tag { width: calc(25% - 6px); padding: 8px 2px; font-size: 14px; }
.ch-tag.selected { background: linear-gradient(135deg, var(--r), #990000); color: #fff; border-color: var(--r); box-shadow: 0 2px 8px rgba(232, 23, 43, 0.4); }

/* MILESTONE UI */
.milestone-ui { padding: 10px 0; }
.slot-container { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.slot-box { 
  width: 50px; height: 70px; background: #000; border: 2px solid rgba(249, 169, 0, 0.3); 
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: #fff;
  text-shadow: 0 0 10px rgba(249, 169, 0, 0.5); position: relative; overflow: hidden;
}
.slot-box.active { border-color: var(--g); box-shadow: 0 0 20px rgba(249, 169, 0, 0.4); color: var(--g); }
.slot-box.rolling { animation: slotScroll 0.1s infinite linear; }

@keyframes slotScroll {
  0% { transform: translateY(-5px); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(-5px); opacity: 0.7; }
}

.q-jump {
  padding: 6px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(249,169,0,0.2);
  border-radius: 8px; color: var(--txt-sec); font-family: 'Bebas Neue'; font-size: 16px;
  cursor: pointer; transition: 0.3s;
}
.q-jump:hover, .q-jump:active {
  background: rgba(249, 169, 0, 0.15); border-color: var(--g); color: #fff;
  transform: translateY(-2px); box-shadow: 0 4px 10px rgba(249, 169, 0, 0.2);
}
#goal-search-inp::placeholder { opacity: 0.3; }

/* LINEAR MINUTE ANALYSIS (MIRROR CHART) */
.minute-bar {
  fill: var(--r);
  opacity: 0.7;
  transition: all 0.2s ease;
  cursor: pointer;
}
.minute-bar:hover {
  fill: var(--g);
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--g));
}
.minute-axis {
  stroke: rgba(255,255,255,0.1);
  stroke-width: 1;
}
.minute-label {
  font-family: 'Bebas Neue';
  fill: rgba(255,255,255,0.3);
  font-size: 10px;
}
.half-label {
  font-family: 'Bebas Neue';
  fill: var(--g);
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0.5;
}

@keyframes stadiumPulse {
  0% { transform: scale(0.95); opacity: 0.1; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.1; }
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* TOP VICTORIES CARD STYLES */
.top-vic-hero:active {
  transform: scale(0.98) translateY(2px);
  filter: brightness(1.2);
}
.top-vic-item:active {
  background: rgba(255,255,255,0.08) !important;
  transform: scale(0.98);
}
.top-vic-hero {
  box-shadow: 0 10px 25px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.1);
}
/* PREMIUM FILTER SYSTEM v542 */
#filter-panel { 
    position: fixed;
    inset: 0;
    padding: 20px; 
    background: rgba(10,10,21,0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 2000;
    overflow-y: auto;
}

@media (min-width: 412px) {
    body {
        zoom: 0.87;
    }
    #filter-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 411.4px;
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        box-shadow: 0 0 50px rgba(0,0,0,0.8);
    }
    #filter-panel .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

#filter-panel .btn {
    white-space: nowrap;
}



.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85px;
    transition: 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-card:active {
    transform: scale(0.96);
    background: rgba(255,255,255,0.06);
}

.filter-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--g);
    opacity: 0.5;
}

.filter-card.has-selection::before {
    opacity: 1;
    background: var(--r);
    box-shadow: 0 0 10px var(--r);
}

.f-card-title {
    font-family: 'Bebas Neue';
    font-size: 14px;
    color: var(--g);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.f-card-value {
    font-family: 'Outfit';
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* FILTER PICKER OVERLAY */
#filter-picker {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#filter-picker.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.picker-mdl {
    background: var(--dk2);
    width: 100%;
    max-width: 360px;
    border-radius: 28px;
    border: 1px solid var(--glb);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: slideUp 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.picker-hdr {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.picker-title {
    font-family: 'Bebas Neue';
    font-size: 22px;
    color: var(--g);
    letter-spacing: 1px;
}

.picker-search {
    padding: 0 20px 15px;
}

.p-srch-inp {
    width: 100%;
    height: 44px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glb);
    border-radius: 12px;
    padding: 0 15px;
    color: #fff;
    font-family: 'Outfit';
    font-size: 15px;
    outline: none;
}

.p-srch-inp:focus {
    border-color: var(--g);
}

.picker-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 10px 10px;
}

.p-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: 0.2s;
    cursor: pointer;
}

.p-item:active {
    background: rgba(255,255,255,0.05);
}

.p-item.selected {
    background: rgba(249, 169, 0, 0.08);
}

.p-item-txt {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.p-item.selected .p-item-txt {
    color: #fff;
    font-weight: 600;
}

.p-check {
    width: 22px;
    height: 22px;
    border: 2px solid var(--glb);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.p-item.selected .p-check {
    background: var(--g);
    border-color: var(--g);
}

.p-check svg {
    width: 14px;
    height: 14px;
    fill: #000;
    display: none;
}

.p-item.selected .p-check svg {
    display: block;
}

.picker-ftr {
    padding: 15px 20px 20px;
    display: flex;
    gap: 12px;
}

.p-btn {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    font-family: 'Bebas Neue';
    font-size: 18px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.1);
}

.p-btn-sec {
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.08), inset 0 -4px 8px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.4);
}

.p-btn-pri {
    background: linear-gradient(180deg, #E8172B 0%, #A3101E 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), inset 0 -4px 8px rgba(0,0,0,0.3), 0 4px 15px rgba(232, 23, 43, 0.4);
}

.p-btn:active {
    transform: translateY(2px) scale(0.95);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
    opacity: 1;
}
