:root{
  --bg:#0b0d12;
  --bg2:#12161d;
  --card:#151a22;
  --card2:#1a2130;
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.12);
  --text:#f5f7fb;
  --muted:#97a3b6;
  --red:#e10600;
  --green:#1fd47a;
  --blue:#2f7df6;
  --yellow:#f4c542;
  --shadow:0 24px 70px rgba(0,0,0,.38);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:radial-gradient(circle at top,#1a2030 0%,#0b0d12 48%,#07090d 100%);color:var(--text);font-family:Inter,Arial,sans-serif}
body.gb-app-body{min-height:100vh}
a{text-decoration:none}
.gb-shell{display:flex;min-height:100vh;position:relative}
.gb-shell__overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:.22s ease;z-index:79}
.gb-shell__sidebar{width:280px;min-width:280px;background:rgba(12,14,20,.88);backdrop-filter:blur(14px);border-right:1px solid var(--line);padding:18px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh;max-height:100dvh;min-height:0;z-index:80;overflow:hidden}
.gb-brand{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gb-brand__link{display:flex;align-items:center;gap:12px;color:var(--text)}
.gb-brand__logo{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#ff2b2b,#7c0f11);display:grid;place-items:center;font-weight:900;box-shadow:0 18px 40px rgba(225,6,0,.32)}
.gb-brand strong{display:block;font-size:18px}
.gb-brand span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.gb-brand__link--branding{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}
.gb-brand__logo-wrap{width:100%;display:flex;justify-content:center;align-items:center}
.gb-brand__logo--branding{width:108px;height:108px;border-radius:24px;background:rgba(255,255,255,.04);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden;padding:10px}
.gb-brand__logo--branding img{width:96%;height:96%;object-fit:contain;display:block}
.gb-brand__text{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}

.gb-sidebar-close{display:none;border:none;background:rgba(255,255,255,.06);color:#fff;border-radius:12px;width:40px;height:40px;cursor:pointer}
.gb-user-card,.gb-balance-card,.gb-panel-card,.gb-hero,.gb-surface{background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.03));border:1px solid var(--line);box-shadow:var(--shadow)}
.gb-user-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px}
.gb-user-card__avatar,.gb-account-btn__avatar{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#2d3648,#11151d);display:grid;place-items:center;font-weight:800;overflow:hidden;flex:0 0 44px}
.gb-user-card__meta strong,.gb-account-btn__meta strong{display:block;font-size:14px}
.gb-user-card__meta span,.gb-account-btn__meta span{display:block;color:var(--muted);font-size:12px;margin-top:3px;overflow:hidden;text-overflow:ellipsis}
.gb-nav{display:flex;flex:1;min-height:0;flex-direction:column;gap:8px;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.gb-nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:16px;color:#dbe3ef;border:1px solid transparent;transition:.16s ease}
.gb-nav a i{width:18px;text-align:center}
.gb-nav a:hover{background:rgba(255,255,255,.05);border-color:var(--line)}
.gb-nav a.active{background:linear-gradient(135deg,rgba(225,6,0,.18),rgba(255,255,255,.05));border-color:rgba(225,6,0,.35);color:#fff;box-shadow:0 16px 36px rgba(225,6,0,.14)}
.gb-nav::-webkit-scrollbar{width:8px}.gb-nav::-webkit-scrollbar-track{background:transparent}.gb-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px}.gb-nav::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.28)}
.gb-sidebar-footer{display:flex;flex-direction:column;gap:12px;padding-top:12px;border-top:1px solid var(--line);background:linear-gradient(180deg,rgba(12,14,20,0),rgba(12,14,20,.82) 24%,rgba(12,14,20,.96) 100%)}
.gb-balance-card{padding:15px 16px;border-radius:18px}
.gb-balance-card span{display:block;color:var(--muted);font-size:12px}
.gb-balance-card strong{display:block;font-size:24px;margin-top:7px;color:#94ffbe}
.gb-logout-btn{display:flex;align-items:center;justify-content:center;gap:10px;background:#ffffff08;color:#fff;padding:13px;border-radius:16px;border:1px solid var(--line)}
.gb-shell__main{flex:1;min-width:0;display:flex;flex-direction:column}
.gb-topbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;background:rgba(9,11,17,.82);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.gb-topbar__left,.gb-topbar__right{display:flex;align-items:center;gap:14px}.gb-topbar__left h1{margin:2px 0 0;font-size:24px}.gb-eyebrow{font-size:11px;letter-spacing:.18em;color:var(--muted)}
.gb-menu-btn,.gb-top-icon{border:none;cursor:pointer;background:rgba(255,255,255,.06);color:#fff;border-radius:15px;display:grid;place-items:center;border:1px solid var(--line)}
.gb-menu-btn{width:46px;height:46px;display:none}.gb-top-icon{width:46px;height:46px;position:relative}
.gb-top-icon span{position:absolute;top:-5px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ff3434;color:#fff;font-size:11px;font-weight:800;display:none;align-items:center;justify-content:center}
.gb-top-pill{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:16px;color:#fff;background:linear-gradient(135deg,rgba(31,212,122,.18),rgba(255,255,255,.05));border:1px solid rgba(31,212,122,.25)}
.gb-account-wrap{position:relative}.gb-account-btn{display:flex;align-items:center;gap:12px;border:none;cursor:pointer;color:#fff;padding:8px 10px 8px 8px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.gb-account-btn i:last-child{font-size:12px;color:var(--muted)}
.gb-account-menu{position:absolute;right:0;top:calc(100% + 10px);width:250px;background:rgba(12,16,24,.985);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.55);display:none;overflow:hidden;z-index:100200}
.gb-account-menu.is-open{display:block}.gb-account-menu__head{padding:14px 15px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.gb-account-menu__head span{font-size:12px;color:var(--muted)}
.gb-account-menu a{display:flex;align-items:center;gap:10px;padding:13px 15px;color:#edf2f8}.gb-account-menu a:hover{background:rgba(255,255,255,.05)}
.gb-page{padding:24px}
.gb-hero{padding:22px;border-radius:24px;display:flex;justify-content:space-between;gap:20px;align-items:center}
.gb-hero h2{margin:0 0 8px;font-size:28px}.gb-hero p{margin:0;color:#cad4e3;max-width:760px;line-height:1.55}.gb-hero__side{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:220px}.gb-chip-live{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid rgba(244,197,66,.24);background:rgba(244,197,66,.12);font-size:12px;font-weight:800;letter-spacing:.08em}.gb-chip-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#ff4343;box-shadow:0 0 0 5px rgba(255,67,67,.14)}
.gb-money{padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(31,212,122,.18),rgba(255,255,255,.04));border:1px solid rgba(31,212,122,.25)}.gb-money span{display:block;font-size:12px;color:#b8f0cb}.gb-money strong{display:block;margin-top:6px;font-size:28px}
.gb-grid{display:grid;gap:16px}.gb-grid--stats{grid-template-columns:repeat(5,minmax(0,1fr))}.gb-grid--2{grid-template-columns:1.3fr .9fr}.gb-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gb-panel-card{border-radius:22px;padding:18px}.gb-panel-card h3{margin:0}.gb-panel-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.gb-panel-card__head a{color:#dfe8f6;font-size:13px}
.gb-stat{padding:18px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid var(--line)}.gb-stat span{display:block;color:var(--muted);font-size:12px}.gb-stat strong{display:block;margin-top:8px;font-size:26px}.is-green{color:#86ffb6}.is-red{color:#ff7c7c}
.gb-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.gb-action{padding:16px 14px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.045);color:#fff;display:flex;flex-direction:column;gap:8px;min-height:118px;justify-content:space-between;transition:.16s ease}.gb-action:hover{transform:translateY(-2px);border-color:var(--line2)}.gb-action i{font-size:20px}.gb-action span{font-weight:800}.gb-action small{color:#c0cad8;line-height:1.35}.is-blue{background:linear-gradient(135deg,rgba(47,125,246,.17),rgba(255,255,255,.04));border-color:rgba(47,125,246,.26)}.is-green-card{background:linear-gradient(135deg,rgba(31,212,122,.16),rgba(255,255,255,.04));border-color:rgba(31,212,122,.25)}.is-purple{background:linear-gradient(135deg,rgba(140,92,255,.18),rgba(255,255,255,.04));border-color:rgba(140,92,255,.25)}.is-red-card{background:linear-gradient(135deg,rgba(225,6,0,.18),rgba(255,255,255,.04));border-color:rgba(225,6,0,.25)}
.gb-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gb-how__item{padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}.gb-how__top{display:flex;gap:12px;align-items:flex-start}.gb-how__icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(225,6,0,.16);border:1px solid rgba(225,6,0,.28)}.gb-how__title{font-size:15px;font-weight:800}.gb-how__desc{margin-top:6px;color:#d0d9e6;font-size:13px;line-height:1.4}.gb-how__tip{margin-top:7px;color:var(--muted);font-size:12px}
.gb-feed{display:flex;flex-direction:column;gap:12px}.gb-feed-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}.gb-feed-item__title{font-weight:800}.gb-feed-item__sub{margin-top:5px;color:#bfcbdb;font-size:13px}.gb-badge{padding:9px 12px;border-radius:999px;font-weight:900;font-size:12px;letter-spacing:.02em;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);white-space:nowrap}.st-win{border-color:rgba(25,195,125,.45);background:rgba(25,195,125,.15)}.st-lose{border-color:rgba(255,59,59,.45);background:rgba(255,59,59,.15)}.st-active{border-color:rgba(0,102,255,.45);background:rgba(0,102,255,.15)}.st-pending{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.06)}.st-void{border-color:rgba(255,215,0,.35);background:rgba(255,215,0,.12)}
.gb-list-clean{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.gb-list-clean li{padding:13px 14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:#d2dcec;line-height:1.45}.gb-list-clean li b{color:#fff}.gb-rules p{margin:0 0 10px;color:#d3ddec}.gb-muted{color:var(--muted)}
@media (max-width:1280px){.gb-grid--stats{grid-template-columns:repeat(3,minmax(0,1fr))}.gb-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:980px){.gb-shell__sidebar{position:fixed;left:0;top:0;bottom:0;height:100dvh;transform:translateX(-100%);transition:.22s ease}.gb-shell.is-sidebar-open .gb-shell__sidebar{transform:translateX(0)}.gb-shell.is-sidebar-open .gb-shell__overlay{opacity:1;pointer-events:auto}.gb-sidebar-close,.gb-menu-btn{display:grid}.gb-topbar{padding:14px 16px}.gb-page{padding:16px}.gb-grid--stats,.gb-grid--2,.gb-actions,.gb-how,.gb-grid--3{grid-template-columns:1fr 1fr}.gb-hero{flex-direction:column;align-items:flex-start}.gb-hero__side{align-items:flex-start;width:100%}.gb-account-btn__meta{display:none}.gb-sidebar-footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
@media (max-width:640px){.gb-topbar__right{gap:10px}.gb-top-pill{padding:12px}.gb-top-pill span{display:none}.gb-grid--stats,.gb-grid--2,.gb-actions,.gb-how,.gb-grid--3{grid-template-columns:1fr}.gb-topbar__left h1{font-size:20px}.gb-hero h2{font-size:23px}.gb-user-card,.gb-balance-card,.gb-panel-card,.gb-hero{border-radius:20px}.gb-nav a{padding:14px}.gb-top-icon{width:42px;height:42px}.gb-account-btn{padding:7px;border-radius:15px}.gb-page{padding:14px;padding-bottom:40px}.gb-wallet-block{padding:14px;border-radius:18px;gap:12px}.gb-wallet-block__head h4{font-size:15px}.gb-wallet-block__head p{font-size:12px;line-height:1.45}.gb-method-switch{grid-template-columns:1fr!important}.gb-method-option span{min-height:auto;padding:14px 13px;border-radius:16px}.gb-instruction-box{padding:14px;border-radius:16px}.gb-input{padding:14px 13px;border-radius:14px;font-size:15px}.gb-btn--wide-mobile{padding:15px 16px;border-radius:15px;font-size:15px}.gb-ticket-card{padding:14px;border-radius:18px}}

.gb-hero--compact{padding:18px 22px}
.gb-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:14px;border:1px solid var(--line);color:#fff;background:rgba(255,255,255,.05);font-weight:800;cursor:pointer}
.gb-btn--primary{background:linear-gradient(135deg,rgba(225,6,0,.92),rgba(152,5,0,.96));border-color:rgba(225,6,0,.4)}
.gb-btn--ghost{background:rgba(255,255,255,.04)}
.gb-filterbar{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}
.gb-field{display:flex;flex-direction:column;gap:7px}.gb-field label{font-size:12px;color:var(--muted);font-weight:700}.gb-field input,.gb-field select{width:100%;height:46px;border-radius:14px;border:1px solid var(--line2);background:#0d1118;color:#fff;padding:0 14px;outline:none}.gb-field input:focus,.gb-field select:focus{border-color:rgba(225,6,0,.42);box-shadow:0 0 0 4px rgba(225,6,0,.08)}
.gb-filterbar__actions{display:flex;gap:10px;align-items:center}
.gb-timeline{display:flex;flex-direction:column;gap:12px}
.gb-history-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--line);position:relative;overflow:hidden}
.gb-history-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:rgba(255,255,255,.12)}
.gb-history-card.st-win::before{background:rgba(31,212,122,.9)}
.gb-history-card.st-lose::before{background:rgba(255,59,59,.9)}
.gb-history-card.st-active::before{background:rgba(47,125,246,.9)}
.gb-history-card.st-void::before{background:rgba(244,197,66,.9)}
.gb-history-card__top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.gb-history-card__top h4{margin:0;font-size:15px}.gb-history-card__top p{margin:5px 0 0;color:#c4cfdd;font-size:13px;line-height:1.42}
.gb-history-card__meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px}.gb-history-card__meta span{padding:9px 11px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);font-size:12px;color:#d8e1ef}
.gb-empty-state{padding:30px 20px;border-radius:18px;border:1px dashed var(--line2);text-align:center;background:rgba(255,255,255,.03)}.gb-empty-state i{font-size:36px;opacity:.7}.gb-empty-state h4{margin:12px 0 6px}.gb-empty-state p{margin:0;color:var(--muted);line-height:1.5}
@media (max-width:1100px){.gb-filterbar{grid-template-columns:1fr 1fr}.gb-filterbar__actions{grid-column:1/-1}}
@media (max-width:720px){.gb-filterbar{grid-template-columns:1fr}.gb-filterbar__actions{flex-direction:column}.gb-filterbar__actions .gb-btn{width:100%;justify-content:center}.gb-history-card__top{flex-direction:column}.gb-history-card__meta{flex-direction:column}}

.gb-avatar-img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;background:#10141d}
.gb-user-card__avatar--img{border:1px solid var(--line2);padding:3px;object-fit:contain;object-position:center center;background:#0c1118}
.gb-account-btn__avatar.gb-user-card__avatar--img,.gb-user-card__avatar.gb-user-card__avatar--img{border-radius:14px}
.gb-profile-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.25fr);gap:16px}
.gb-profile-card{padding:22px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.03));border:1px solid var(--line);box-shadow:var(--shadow)}
.gb-profile-stack{display:flex;flex-direction:column;gap:16px}
.gb-profile-avatar-wrap{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.gb-profile-avatar{width:132px;height:132px;border-radius:30px;background:linear-gradient(135deg,#2d3648,#11151d);display:grid;place-items:center;font-size:46px;font-weight:900;border:1px solid var(--line2);overflow:hidden;box-shadow:0 24px 50px rgba(0,0,0,.28)}
.gb-profile-avatar img{width:100%;height:100%;object-fit:cover}
.gb-profile-name{font-size:24px;font-weight:900}
.gb-profile-sub{color:var(--muted);line-height:1.45}
.gb-profile-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.gb-tag{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:12px;font-weight:800;color:#e6edf7}
.gb-upload-box{padding:16px;border-radius:18px;background:rgba(255,255,255,.035);border:1px dashed var(--line2)}
.gb-upload-box input[type=file]{display:block;width:100%;padding:12px;border-radius:14px;border:1px solid var(--line2);background:#0d1118;color:#fff}
.gb-note{font-size:12px;color:var(--muted);line-height:1.5}
.gb-actions-row{display:flex;gap:10px;flex-wrap:wrap}
.gb-alert{padding:14px 16px;border-radius:16px;border:1px solid var(--line);margin:16px 0 0}
.gb-alert--ok{background:rgba(31,212,122,.12);border-color:rgba(31,212,122,.25);color:#c8ffe0}
.gb-alert--error{background:rgba(225,6,0,.12);border-color:rgba(225,6,0,.25);color:#ffd4d4}
.gb-setting-list{display:flex;flex-direction:column;gap:12px}
.gb-setting-item{display:flex;justify-content:space-between;gap:14px;padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line);align-items:flex-start}
.gb-setting-item__meta strong{display:block;font-size:15px}
.gb-setting-item__meta span{display:block;color:#c4cfdd;font-size:13px;line-height:1.45;margin-top:4px}
.gb-switch-pill{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;background:rgba(47,125,246,.12);border:1px solid rgba(47,125,246,.22);font-size:12px;font-weight:900;color:#cfe1ff;white-space:nowrap}
.gb-kv{display:grid;grid-template-columns:180px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}
.gb-kv:last-child{border-bottom:none;padding-bottom:0}
.gb-kv dt{color:var(--muted);font-weight:700}
.gb-kv dd{margin:0;color:#f0f5fd;word-break:break-word}
@media (max-width:980px){.gb-profile-grid{grid-template-columns:1fr}}
@media (max-width:640px){.gb-profile-avatar{width:108px;height:108px;border-radius:24px;font-size:38px}.gb-kv{grid-template-columns:1fr}}

.gb-progress-wrap{display:flex;flex-direction:column;gap:10px}
.gb-progress-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:#d7dfeb;font-weight:800}
.gb-progress{height:12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);overflow:hidden}
.gb-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e10600,#ff7b4a)}
.gb-security-hints{display:flex;flex-direction:column;gap:10px}
.gb-security-hint{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:#d9e2ef}
.gb-security-hint i{color:#7ef0a9;margin-top:2px}
.gb-toggle-row{position:relative;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:16px 74px 16px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line);cursor:pointer}
.gb-toggle-row input{position:absolute;opacity:0;pointer-events:none}
.gb-toggle-row__meta strong{display:block;font-size:15px}
.gb-toggle-row__meta small{display:block;margin-top:4px;color:#c4cfdd;line-height:1.45}
.gb-toggle-slider{position:absolute;right:16px;top:50%;transform:translateY(-50%);width:46px;height:28px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid var(--line2);transition:.2s ease}
.gb-toggle-slider::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s ease}
.gb-toggle-row input:checked + .gb-toggle-slider{background:rgba(31,212,122,.35);border-color:rgba(31,212,122,.45)}
.gb-toggle-row input:checked + .gb-toggle-slider::after{left:21px;background:#dffff0}
.gb-preview-stack{display:grid;grid-template-columns:1fr;gap:12px}
.gb-preview-card{display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.gb-preview-card__icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(225,6,0,.16);border:1px solid rgba(225,6,0,.28)}
.gb-preview-card strong{display:block}
.gb-preview-card small{display:block;margin-top:4px;color:#c4cfdd}
.gb-support-codebox{padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.gb-support-codebox__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.gb-support-codebox__head strong{display:block}
.gb-support-codebox__head span{display:block;color:#c4cfdd;font-size:13px;margin-top:4px}
.gb-support-codebox__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}
.gb-support-mini{padding:12px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid var(--line)}
.gb-support-mini small{display:block;color:var(--muted);font-size:12px}
.gb-support-mini strong{display:block;margin-top:6px;word-break:break-word}
.gb-support-chat{display:flex;flex-direction:column;min-height:680px;border-radius:20px;overflow:hidden;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.gb-support-chat__top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.03)}
.gb-support-agent{display:flex;align-items:center;gap:12px}
.gb-support-agent__avatar{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,#2d3648,#11151d);border:1px solid var(--line2)}
.gb-support-agent strong{display:block}
.gb-support-agent span{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.gb-support-msgs{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,rgba(11,13,18,.78),rgba(7,9,13,.95))}
.gb-support-msgs .row{display:flex}
.gb-support-msgs .me{justify-content:flex-end}
.gb-support-msgs .admin{justify-content:flex-start}
.gb-support-msgs .system{justify-content:center}
.gb-support-msgs .bub{max-width:82%;padding:12px 14px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.045)}
.gb-support-msgs .me .bub{background:rgba(225,6,0,.16);border-color:rgba(225,6,0,.3)}
.gb-support-msgs .admin .bub{background:rgba(255,255,255,.05)}
.gb-support-msgs .system .bub{background:rgba(31,212,122,.12);border-color:rgba(31,212,122,.22);max-width:90%}
.gb-support-label{font-size:12px;font-weight:900;letter-spacing:.06em;opacity:.9}
.gb-support-text{margin-top:6px;line-height:1.5;color:#f0f4fb}
.gb-support-msgs .meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;font-size:11px;color:#b7c3d4}
.gb-support-msgs .pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-weight:800}
.gb-support-msgs .pill.red{border-color:rgba(225,6,0,.5);color:#ffd5d5}
.gb-support-composer{padding:16px;border-top:1px solid var(--line);background:rgba(255,255,255,.03)}
.gb-support-form{display:flex;gap:12px;align-items:flex-end}
.gb-support-ta{flex:1;min-height:52px;max-height:150px;resize:none;padding:14px 15px;border-radius:16px;border:1px solid var(--line2);background:#0d1118;color:#fff;outline:none}
.gb-support-ta:focus{border-color:rgba(225,6,0,.42);box-shadow:0 0 0 4px rgba(225,6,0,.08)}
@media (max-width:980px){.gb-support-codebox__grid{grid-template-columns:1fr}.gb-support-chat__top{flex-direction:column;align-items:flex-start}.gb-support-form{flex-direction:column}.gb-support-form .gb-btn{width:100%;justify-content:center}}
@media (max-width:640px){.gb-toggle-row{padding-right:70px}.gb-support-chat{min-height:560px}.gb-support-msgs .bub{max-width:92%}}


/* ===== auth pages ===== */
.gb-auth-body{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(225,6,0,.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(47,125,246,.12), transparent 28%),
    radial-gradient(circle at top, #1a2030 0%, #0b0d12 48%, #07090d 100%);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
}
.gb-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,460px)}
.gb-auth-side{padding:44px 38px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line);background:rgba(8,10,14,.38);backdrop-filter:blur(8px)}
.gb-auth-brand{display:flex;align-items:center;gap:14px;color:#fff}
.gb-auth-brand__logo{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#ff2b2b,#7c0f11);display:grid;place-items:center;font-weight:900;box-shadow:0 20px 42px rgba(225,6,0,.25)}
.gb-auth-brand strong{display:block;font-size:20px}
.gb-auth-brand span{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.gb-auth-side h1{font-size:48px;line-height:1.04;margin:0 0 16px;max-width:760px}
.gb-auth-side p{max-width:700px;color:#ced8e7;font-size:16px;line-height:1.6;margin:0}
.gb-auth-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.gb-auth-badge{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:12px;font-weight:800;color:#e9eef7}
.gb-auth-badge.is-live{background:rgba(225,6,0,.14);border-color:rgba(225,6,0,.26)}
.gb-auth-badge.is-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#ff4646;box-shadow:0 0 0 5px rgba(255,70,70,.12)}
.gb-auth-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}
.gb-auth-stat{padding:16px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.gb-auth-stat span{display:block;color:var(--muted);font-size:12px}
.gb-auth-stat strong{display:block;margin-top:8px;font-size:26px}
.gb-auth-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
.gb-auth-point{padding:16px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid var(--line);display:flex;gap:12px;align-items:flex-start}
.gb-auth-point i{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(225,6,0,.16);border:1px solid rgba(225,6,0,.28)}
.gb-auth-point strong{display:block;font-size:15px}
.gb-auth-point span{display:block;margin-top:5px;font-size:13px;color:#c5d0e0;line-height:1.45}
.gb-auth-quote{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:#dce5f2;line-height:1.55}
.gb-auth-quote small{display:block;margin-top:10px;color:var(--muted)}
.gb-auth-main{display:flex;align-items:center;justify-content:center;padding:34px 20px}
.gb-auth-card{width:min(100%,430px);padding:28px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));border:1px solid var(--line);box-shadow:var(--shadow)}
.gb-auth-card--wide{width:min(100%,470px)}
.gb-auth-card__head{margin-bottom:18px}
.gb-auth-kicker{font-size:11px;letter-spacing:.16em;color:var(--muted);margin-bottom:8px}
.gb-auth-card h2{margin:0;font-size:30px}
.gb-auth-card p{margin:10px 0 0;color:#c8d2e0;line-height:1.55}
.gb-auth-form{display:flex;flex-direction:column;gap:14px}
.gb-auth-label{font-size:13px;font-weight:800;color:#e7eef8;margin-bottom:7px;display:block}
.gb-auth-input{width:100%;padding:15px 16px;border-radius:16px;border:1px solid var(--line2);background:#0d1118;color:#fff;outline:none}
.gb-auth-input:focus{border-color:rgba(225,6,0,.42);box-shadow:0 0 0 4px rgba(225,6,0,.08)}
.gb-auth-pass{position:relative}
.gb-auth-pass button{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:none;background:rgba(255,255,255,.06);color:#fff;border:1px solid var(--line);border-radius:12px;width:38px;height:38px;cursor:pointer}
.gb-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gb-auth-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.gb-auth-check{display:flex;align-items:center;gap:10px;font-size:13px;color:#d5ddea}
.gb-auth-check input{accent-color:#e10600;width:16px;height:16px}
.gb-auth-link{color:#fff}
.gb-auth-footer{text-align:center;margin-top:18px;color:#c0cbda;font-size:14px}
.gb-auth-footer a,.gb-auth-mini-links a{color:#fff}
.gb-auth-mini-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:13px}
.gb-auth-msg{padding:14px 16px;border-radius:16px;border:1px solid var(--line);font-size:14px}
.gb-auth-msg.error{background:rgba(225,6,0,.12);border-color:rgba(225,6,0,.24);color:#ffd4d4}
.gb-auth-msg.success{background:rgba(31,212,122,.12);border-color:rgba(31,212,122,.24);color:#d4ffe4}
.gb-auth-sep{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);margin:18px 0}
.gb-auth-mobile-hero{display:none}
.gb-auth-mobile-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;color:#fff}
.gb-auth-mobile-logo{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#ff2b2b,#7c0f11);font-weight:900;box-shadow:0 14px 28px rgba(225,6,0,.24)}
.gb-auth-mobile-hero h1{margin:0;font-size:28px;line-height:1.05}
.gb-auth-mobile-hero p{margin:10px 0 0;color:#c9d4e4;line-height:1.5;font-size:14px}
.gb-method-option span{gap:10px}
.gb-method-option small{text-transform:none}
.gb-compact-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gb-compact-list li{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);color:#d5deeb}
.gb-compact-list i{margin-top:2px;color:#82efaa}
@media (max-width:1024px){
  .gb-auth-shell{grid-template-columns:1fr}
  .gb-auth-side{display:none}
  .gb-auth-main{padding:18px 14px 28px;min-height:100vh;align-items:center}
  .gb-auth-mobile-hero{display:block;text-align:center;margin:0 auto 18px;max-width:440px}
  .gb-auth-card,.gb-auth-card--wide{width:100%;max-width:440px;padding:22px;border-radius:24px}
}
@media (max-width:640px){
  .gb-auth-main{padding:16px 12px 24px}
  .gb-auth-card,.gb-auth-card--wide{padding:18px;border-radius:22px}
  .gb-auth-card h2{font-size:26px}
  .gb-auth-card p{font-size:14px;margin-top:8px}
  .gb-auth-form{gap:12px}
  .gb-auth-label{font-size:12px;margin-bottom:6px}
  .gb-auth-input{padding:14px 14px;border-radius:14px;font-size:15px}
  .gb-auth-pass button{width:36px;height:36px;border-radius:11px}
  .gb-auth-grid{grid-template-columns:1fr}
  .gb-auth-inline{align-items:flex-start;flex-direction:column}
  .gb-auth-check{align-items:flex-start;font-size:12px;line-height:1.45}
  .gb-auth-footer{font-size:13px;margin-top:16px}
  .gb-auth-mini-links{gap:10px;font-size:12px}
}


.gb-alert{padding:14px 16px;border-radius:18px;border:1px solid var(--line);margin-top:16px}
.gb-alert--success{background:rgba(31,212,122,.12);border-color:rgba(31,212,122,.24);color:#d8ffe8}
.gb-alert--danger{background:rgba(225,6,0,.12);border-color:rgba(225,6,0,.24);color:#ffd2d2}
.gb-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gb-wallet-form{align-items:start}
.gb-wallet-block{padding:16px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.03));border:1px solid var(--line);display:flex;flex-direction:column;gap:14px;box-shadow:0 18px 36px rgba(0,0,0,.16)}
.gb-wallet-block--full{grid-column:1/-1}
.gb-wallet-block--soft{background:rgba(255,255,255,.028);border-style:dashed}
.gb-wallet-block__head h4{margin:0;font-size:16px}
.gb-wallet-block__head p{margin:6px 0 0;color:#c7d1e0;line-height:1.5;font-size:13px}
.gb-wallet-bank-grid{align-items:start}
.gb-btn--wide-mobile{width:100%}

.gb-form-group{display:flex;flex-direction:column;gap:8px}.gb-form-group--full{grid-column:1/-1}
.gb-label{font-size:13px;font-weight:800;color:#e9eef8}.gb-input{width:100%;padding:14px 15px;border-radius:16px;border:1px solid var(--line2);background:#0d1118;color:#fff;outline:none}.gb-input:focus{border-color:rgba(225,6,0,.42);box-shadow:0 0 0 4px rgba(225,6,0,.08)}
.gb-inline-note{padding:14px 15px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid var(--line);color:#cfd8e7;min-height:50px;display:flex;align-items:center}
.gb-method-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gb-method-option input{display:none}.gb-method-option span{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.03);cursor:pointer;min-height:84px}.gb-method-option small{display:block;color:var(--muted);margin-top:4px}.gb-method-option input:checked + span{border-color:rgba(225,6,0,.4);background:rgba(225,6,0,.1);box-shadow:0 12px 30px rgba(225,6,0,.12)}
.gb-instruction-box{padding:16px;border-radius:18px;border:1px dashed var(--line2);background:rgba(255,255,255,.03)}.gb-instruction-box pre{white-space:pre-wrap;word-break:break-word;margin:10px 0 0;color:#e8eef8;font-family:inherit}
.gb-stack-list{display:flex;flex-direction:column;gap:12px}.gb-ticket-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.035);border:1px solid var(--line)}.gb-ticket-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.gb-ticket-card__body{display:grid;gap:6px;color:#d3dced;margin-top:10px}.gb-ticket-card__foot{margin-top:12px}.gb-break{word-break:break-word}.gb-empty-state{padding:18px;border-radius:18px;background:rgba(255,255,255,.03);border:1px dashed var(--line2);color:#c8d3e2}
.gb-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.04em;border:1px solid var(--line)}.gb-badge--pending{background:rgba(244,197,66,.13);border-color:rgba(244,197,66,.24);color:#ffe49a}.gb-badge--sent{background:rgba(47,125,246,.14);border-color:rgba(47,125,246,.24);color:#d4e4ff}.gb-badge--paid,.gb-badge--approved{background:rgba(31,212,122,.13);border-color:rgba(31,212,122,.24);color:#d7ffe6}.gb-badge--rejected,.gb-badge--cancelled{background:rgba(225,6,0,.12);border-color:rgba(225,6,0,.24);color:#ffd6d6}
.gb-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;border-radius:16px;border:1px solid var(--line2);font-weight:800;color:#fff;background:rgba(255,255,255,.05);text-decoration:none;cursor:pointer}.gb-btn--danger{background:linear-gradient(135deg,#ff2b2b,#a10e12);border:none}.gb-btn--success{background:linear-gradient(135deg,#26d98c,#118a58);border:none}.gb-btn--ghost{background:rgba(255,255,255,.04)}
@media (max-width:980px){.gb-form-grid,.gb-method-switch{grid-template-columns:1fr}.gb-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.gb-wallet-bank-grid{grid-template-columns:1fr}.gb-wallet-form{gap:12px}}
@media (max-width:640px){.gb-grid--4{grid-template-columns:1fr}.gb-ticket-card__head{flex-direction:column;align-items:flex-start}}


/* ===== v12 mobile polish ===== */
.gb-auth-mobile-cardtop{display:none}
.gb-auth-mobile-chips{display:none}
.gb-auth-form-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.gb-auth-form-card .gb-auth-label{margin-bottom:8px}
.gb-auth-compact-help{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.gb-auth-help-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:12px;font-weight:700;color:#e6edf7}
.gb-auth-submit{width:100%;justify-content:center;height:54px;border-radius:18px;font-size:16px;font-weight:900}
.gb-auth-card__head--tight p{max-width:34ch}
.gb-mobile-stack{display:grid;gap:14px}
.gb-profile-grid .gb-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.gb-profile-avatar-tools{display:grid;gap:12px}
.gb-avatar-picker{display:grid;gap:12px}
.gb-avatar-note{font-size:12px;color:#cbd5e4;line-height:1.5}
.gb-avatar-preview-mini{width:72px;height:72px;border-radius:50%;overflow:hidden;border:3px solid rgba(255,255,255,.12);background:#0d1118;display:grid;place-items:center;box-shadow:0 14px 28px rgba(0,0,0,.22)}
.gb-avatar-preview-mini img{width:100%;height:100%;object-fit:cover}
.gb-cropper-modal{position:fixed;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(3px);display:none;align-items:center;justify-content:center;z-index:200;padding:18px}
.gb-cropper-modal.is-open{display:flex}
.gb-cropper-card{width:min(100%,460px);background:#121822;border:1px solid var(--line2);border-radius:26px;box-shadow:var(--shadow);padding:18px}
.gb-cropper-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.gb-cropper-head h3{margin:0;font-size:22px}
.gb-cropper-head p{margin:6px 0 0;color:#c7d1e0;font-size:13px;line-height:1.5}
.gb-cropper-close{width:40px;height:40px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;cursor:pointer}
.gb-cropper-stage{position:relative;width:100%;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:#090c11;border:1px solid var(--line);touch-action:none}
.gb-cropper-stage::after{content:'';position:absolute;inset:14%;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.5);border:2px solid rgba(255,255,255,.9);pointer-events:none}
.gb-cropper-image{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center center;user-select:none;-webkit-user-drag:none;cursor:grab;max-width:none;max-height:none}
.gb-cropper-image.is-dragging{cursor:grabbing}
.gb-cropper-controls{display:grid;gap:12px;margin-top:14px}
.gb-cropper-range{width:100%}
.gb-cropper-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:14px}
.gb-settings-hero-copy,.gb-profile-hero-copy{max-width:52ch}
.gb-section-card{padding:18px;border-radius:22px;background:rgba(255,255,255,.04);border:1px solid var(--line)}
.gb-section-card__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.gb-section-card__head h3{margin:0;font-size:18px}
.gb-section-card__head p{margin:6px 0 0;color:#c9d3e1;font-size:13px;line-height:1.45}
.gb-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gb-password-grid .gb-field:first-child{grid-column:1/-1}
.gb-settings-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gb-mobile-muted{display:none}
@media (max-width:980px){.gb-profile-grid .gb-actions{grid-template-columns:1fr 1fr 1fr}.gb-password-grid{grid-template-columns:1fr}}
@media (max-width:640px){
  .gb-shell__sidebar{overflow-y:auto;padding-bottom:24px}
  .gb-sidebar-footer{position:static;flex-shrink:0}
  .gb-auth-main{padding:16px 14px 28px;align-items:center;justify-content:center;flex-direction:column}
  .gb-auth-mobile-hero{display:none}
  .gb-auth-mobile-cardtop{display:block;width:100%;max-width:460px;margin:0 auto 14px;text-align:center}
  .gb-auth-mobile-cardtop h1{margin:0;font-size:24px;line-height:1.05}
  .gb-auth-mobile-cardtop p{margin:8px 0 0;font-size:13px;color:#c8d2e0;line-height:1.42}
  .gb-auth-mobile-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
  .gb-auth-card,.gb-auth-card--wide{width:100%;max-width:460px;margin:0 auto;padding:16px;border-radius:24px;background:linear-gradient(180deg,rgba(18,23,31,.96),rgba(12,15,22,.94))}
  .gb-auth-card__head{margin-bottom:12px}
  .gb-auth-card__head h2{font-size:22px}
  .gb-auth-card__head p,.gb-auth-kicker,.gb-auth-inline,.gb-auth-check,.gb-auth-mini-links{display:none}
  .gb-auth-form{gap:12px}
  .gb-auth-form-card{padding:14px;border-radius:18px}
  .gb-auth-input{height:52px;padding:0 14px;border-radius:15px;font-size:16px;background:#0b1119}
  .gb-auth-pass button{right:8px;width:38px;height:38px}
  .gb-auth-submit{height:52px;border-radius:16px;font-size:15px}
  .gb-auth-help-pill{font-size:11px;padding:8px 10px}
  .gb-profile-card{padding:16px;border-radius:20px}
  .gb-profile-avatar-wrap{gap:12px}
  .gb-profile-avatar{width:92px;height:92px;border-radius:50%;font-size:32px}
  .gb-profile-name{font-size:20px}
  .gb-profile-sub{font-size:13px}
  .gb-profile-badges{justify-content:flex-start}
  .gb-profile-grid .gb-actions{grid-template-columns:1fr;gap:10px}
  .gb-profile-grid .gb-action{min-height:auto;padding:14px}
  .gb-upload-box{padding:14px}
  .gb-settings-actions{grid-template-columns:1fr}
  .gb-security-hint{padding:10px 12px;font-size:13px}
  .gb-toggle-row{padding:14px 70px 14px 14px}
  .gb-toggle-row__meta strong{font-size:14px}
  .gb-toggle-row__meta small{font-size:12px}
  .gb-mobile-muted{display:block;color:#bfcbdc;font-size:12px;line-height:1.45;margin-top:4px}
  .gb-hero.gb-hero--compact{padding:16px}
  .gb-hero.gb-hero--compact h2{font-size:22px}
  .gb-hero.gb-hero--compact p{font-size:13px;line-height:1.45}
  .gb-form-grid.gb-wallet-form{gap:12px}
  .gb-wallet-block{padding:15px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.035))}
  .gb-wallet-block__head{display:flex;flex-direction:column;gap:4px}
  .gb-wallet-block__head h4{font-size:16px}
  .gb-wallet-block__head p{font-size:12px}
  .gb-method-option span{padding:14px 14px;min-height:unset}
  .gb-method-option i{margin-top:2px}
  .gb-input{height:50px;padding:0 14px;border-radius:15px}
  textarea.gb-input{height:auto;min-height:108px;padding:14px}
  .gb-ticket-card__body{font-size:13px;line-height:1.5}
}


/* v13 mobile auth/profile fixes */
@media (max-width: 768px){
  .gb-shell__sidebar{overflow-y:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:18px}
  .gb-sidebar-footer{position:static!important;margin-top:16px}
  .gb-profile-grid{grid-template-columns:1fr!important;gap:12px!important}
  .gb-profile-card{padding:14px!important;border-radius:18px!important}
  .gb-profile-avatar-wrap{gap:10px!important}
  .gb-profile-avatar{width:78px!important;height:78px!important;border-radius:50%!important;font-size:28px!important}
  .gb-avatar-preview-mini{width:56px!important;height:56px!important}
  .gb-profile-name{font-size:18px!important;line-height:1.1!important}
  .gb-profile-sub{font-size:12px!important;line-height:1.35!important}
  .gb-profile-badges{gap:8px!important}
  .gb-profile-badges .gb-tag{font-size:11px!important;padding:8px 10px!important}
  .gb-grid--stats,.gb-profile-grid .gb-actions,.gb-actions-row,.gb-settings-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .gb-upload-box,.gb-setting-list,.gb-kv,.gb-field,.gb-toggle-row,.gb-security-hint{border-radius:16px!important}
  .gb-kv{grid-template-columns:1fr!important;gap:4px!important;padding:12px 14px!important}
  .gb-password-grid{grid-template-columns:1fr!important;gap:10px!important}
  .gb-cropper-card{width:min(100%,94vw)!important;padding:14px!important;border-radius:20px!important}
  .gb-cropper-stage{aspect-ratio:1/1!important;max-height:72vw!important;border-radius:20px!important}
  .gb-cropper-controls{grid-template-columns:1fr!important}
}


/* Solicitudes */
.gb-hero--solicitudes .gb-hero__side--stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:min(100%,300px)}
.gb-stat-chip{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.gb-stat-chip span{font-size:12px;color:#b8c3d2;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.gb-stat-chip strong{font-size:20px}
.gb-grid--stats-tight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gb-mini-stat{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.gb-mini-stat__label{font-size:12px;color:#b8c3d2;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.gb-mini-stat__value{font-size:24px;font-weight:900}.gb-mini-stat__value.is-blue{color:#74b9ff}.gb-mini-stat__value.is-red{color:#ff8f8f}
.gb-mini-stat small{color:#b8c3d2}
.gb-panel-card__desc{margin:6px 0 0;color:#b8c3d2;font-size:13px}
.gb-panel-card__head--stack-mobile{align-items:flex-start}
.gb-solicitudes-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-left:auto}
.gb-input--compact{min-width:260px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:#fff}
.gb-top-pill--ghost{background:rgba(255,255,255,.05);border-color:var(--line)}
.gb-solicitudes-list{display:flex;flex-direction:column;gap:14px}
.gb-solicitud-card{padding:18px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));display:flex;flex-direction:column;gap:16px;position:relative;overflow:hidden}
.gb-solicitud-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;opacity:.95}
.gb-solicitud-card.is-azul::before{background:linear-gradient(180deg,#4ea8ff,#1d4ed8)}
.gb-solicitud-card.is-rojo::before{background:linear-gradient(180deg,#ff8585,#dc2626)}
.gb-solicitud-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.gb-solicitud-card__fight h4{margin:10px 0 0;font-size:20px;line-height:1.25}.gb-solicitud-card__fight h4 span{opacity:.62;font-weight:700}
.gb-solicitud-card__meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gb-solicitud-meta{padding:14px 15px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:6px;min-width:0}
.gb-solicitud-meta span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b8c3d2}
.gb-solicitud-meta strong{font-size:14px;line-height:1.35;word-break:break-word}.is-blue-text{color:#74b9ff}.is-red-text{color:#ff8f8f}
.gb-solicitud-card__footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.gb-solicitud-card__footer p{margin:0;color:#c8d2e0;max-width:720px;line-height:1.5}
.gb-btn{appearance:none;border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:16px;padding:14px 18px;font-weight:900;color:#fff}
.gb-btn--primary{background:linear-gradient(135deg,#1fd47a,#149d5b);box-shadow:0 14px 30px rgba(31,212,122,.16)}
.gb-btn--primary:disabled{opacity:.7;cursor:not-allowed}
.gb-btn--accept{min-width:180px}
.gb-empty-state{padding:22px;border-radius:20px;border:1px dashed rgba(255,255,255,.16);background:rgba(255,255,255,.03);display:flex;align-items:center;gap:14px}
.gb-empty-state__icon{width:54px;height:54px;border-radius:18px;background:rgba(255,255,255,.06);display:grid;place-items:center;font-size:24px}
.gb-empty-state__title{font-weight:900;font-size:18px}.gb-empty-state__sub{margin-top:4px;color:#b8c3d2;line-height:1.45}
.gb-empty-state--small{margin-top:6px;padding:16px;border-radius:18px}
.gb-toast-notice{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:9999;padding:12px 16px;border-radius:999px;background:rgba(20,157,91,.95);color:#fff;font-weight:900;box-shadow:0 12px 28px rgba(0,0,0,.25)}
@media (max-width:980px){.gb-grid--stats-tight{grid-template-columns:1fr}.gb-solicitud-card__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.gb-solicitud-card__footer{flex-direction:column;align-items:stretch}.gb-btn--accept{width:100%}.gb-solicitudes-tools{width:100%;margin-left:0}.gb-input--compact{min-width:0;width:100%}.gb-panel-card__head--stack-mobile{flex-direction:column}.gb-top-pill--ghost{width:100%;justify-content:center}}
@media (max-width:640px){.gb-hero--solicitudes .gb-hero__side--stats{grid-template-columns:1fr 1fr;width:100%}.gb-stat-chip{padding:12px 14px;border-radius:16px}.gb-solicitud-card{padding:15px;border-radius:18px}.gb-solicitud-card__fight h4{font-size:17px}.gb-solicitud-card__meta{grid-template-columns:1fr}.gb-solicitud-card__top{flex-direction:column}.gb-empty-state{padding:18px}.gb-empty-state__icon{width:46px;height:46px;border-radius:14px;font-size:21px}.gb-empty-state__title{font-size:16px}}


/* ===== Premium shortcuts: Ranking / Tienda / Suscripción ===== */
.gb-nav a.gb-nav-premium{position:relative;overflow:hidden;justify-content:space-between;gap:10px;padding:14px 14px 14px 15px;border-radius:18px;border:1px solid rgba(255,255,255,.12);box-shadow:0 14px 28px rgba(0,0,0,.18)}
.gb-nav a.gb-nav-premium::before{content:"";position:absolute;inset:0;opacity:.95;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.02));pointer-events:none}
.gb-nav a.gb-nav-premium > *{position:relative;z-index:1}
.gb-nav a.gb-nav-premium span{flex:1;font-weight:900;letter-spacing:.01em}
.gb-nav a.gb-nav-premium small{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.18em;border:1px solid rgba(255,255,255,.16);background:rgba(10,12,18,.36);text-transform:uppercase}
.gb-nav a.gb-nav-premium i{font-size:16px}
.gb-nav a.gb-nav-premium:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(0,0,0,.24)}
.gb-nav a.gb-nav-premium.active{color:#fff;box-shadow:0 20px 42px rgba(0,0,0,.28)}
.gb-nav-premium--gold{background:linear-gradient(135deg,rgba(255,196,66,.24),rgba(255,122,24,.1) 55%,rgba(255,255,255,.04));border-color:rgba(255,196,66,.3)}
.gb-nav-premium--gold.active{background:linear-gradient(135deg,rgba(255,196,66,.34),rgba(255,122,24,.16) 55%,rgba(255,255,255,.06));border-color:rgba(255,207,92,.5)}
.gb-nav-premium--violet{background:linear-gradient(135deg,rgba(143,109,255,.26),rgba(85,55,194,.12) 55%,rgba(255,255,255,.04));border-color:rgba(143,109,255,.3)}
.gb-nav-premium--violet.active{background:linear-gradient(135deg,rgba(143,109,255,.34),rgba(85,55,194,.18) 55%,rgba(255,255,255,.06));border-color:rgba(168,143,255,.5)}
.gb-nav-premium--blue{background:linear-gradient(135deg,rgba(47,125,246,.26),rgba(0,192,255,.1) 55%,rgba(255,255,255,.04));border-color:rgba(47,125,246,.3)}
.gb-nav-premium--blue.active{background:linear-gradient(135deg,rgba(47,125,246,.34),rgba(0,192,255,.15) 55%,rgba(255,255,255,.06));border-color:rgba(96,161,255,.52)}

.gb-account-menu a.gb-account-link-premium{justify-content:space-between;gap:10px;font-weight:800}
.gb-account-menu a.gb-account-link-premium span{flex:1}
.gb-account-menu a.gb-account-link-premium small{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.16em;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.gb-account-link-premium--gold{background:linear-gradient(90deg,rgba(255,196,66,.14),rgba(255,255,255,0))}
.gb-account-link-premium--violet{background:linear-gradient(90deg,rgba(143,109,255,.16),rgba(255,255,255,0))}
.gb-account-link-premium--blue{background:linear-gradient(90deg,rgba(47,125,246,.16),rgba(255,255,255,0))}

.gb-action--premium{position:relative;overflow:hidden;isolation:isolate}
.gb-action--premium::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,255,255,.18),transparent 36%);opacity:.9;pointer-events:none}
.gb-action--premium > *{position:relative;z-index:1}
.gb-action--premium b{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.18em;border:1px solid rgba(255,255,255,.16);background:rgba(11,13,18,.34);text-transform:uppercase}
.gb-action--premium:hover{transform:translateY(-3px) scale(1.01)}
.gb-action--gold{box-shadow:0 18px 34px rgba(255,176,32,.14)}
.gb-action--violet{box-shadow:0 18px 34px rgba(143,109,255,.14)}
.gb-action--blue{box-shadow:0 18px 34px rgba(47,125,246,.14)}

.gb-links a.gb-link-premium{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:900}
.gb-links a.gb-link-premium small{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.16em;background:rgba(11,13,18,.28);border:1px solid rgba(255,255,255,.14);text-transform:uppercase}
.gb-links a.gb-link-premium--gold{background:linear-gradient(135deg,rgba(255,196,66,.2),rgba(255,122,24,.08))}
.gb-links a.gb-link-premium--violet{background:linear-gradient(135deg,rgba(143,109,255,.2),rgba(85,55,194,.08))}
.gb-links a.gb-link-premium--blue{background:linear-gradient(135deg,rgba(47,125,246,.2),rgba(0,192,255,.08))}

@media (max-width:640px){
  .gb-nav a.gb-nav-premium{padding:14px 12px 14px 13px}
  .gb-nav a.gb-nav-premium small{min-width:44px;padding:6px 8px;font-size:9px}
  .gb-action--premium b{font-size:9px}
}


/* ===== GalloBet Sidebar Branding Support 2026 ===== */
.gb-shell__sidebar{
  overflow-x:hidden;
}

.gb-brand{
  width:100%;
}

.gb-brand__link--branding{
  max-width:100%;
}
