/* BW Oyun V2.8.1 — Mobil tam genişlik açık alt navigasyon */
:root{--shell-line:rgba(255,255,255,.10);--shell-cyan:#20d8f0;--shell-green:#42e68b;--shell-purple:#7c45ff;--shell-bg:#11072a}
*{-webkit-tap-highlight-color:transparent}a,button,[role="button"]{touch-action:manipulation;-webkit-touch-callout:none}.shell-topbar{position:relative;z-index:70}.shell-brand{text-decoration:none;color:#fff}.site-nav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;padding:4px;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(7,5,27,.28);backdrop-filter:blur(12px)}.site-nav a{height:34px;padding:0 12px;border-radius:9px;display:flex;align-items:center;gap:7px;color:#8f87a7;text-decoration:none;font-size:7px;font-weight:950;letter-spacing:.09em;white-space:nowrap;transition:.16s ease}.site-nav a i{font-size:10px}.site-nav a:hover{color:#fff;background:rgba(255,255,255,.055)}.site-nav a.active{color:#fff;background:linear-gradient(135deg,rgba(124,69,255,.24),rgba(32,216,240,.13));box-shadow:inset 0 0 0 1px rgba(121,235,255,.13)}.shell-profile{text-decoration:none;color:#fff}.shell-page{margin:0;min-height:100dvh;overflow-x:hidden;background:#100728;color:#fff}.shell-page .arcade-bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:radial-gradient(circle at 13% 13%,rgba(255,79,176,.14),transparent 23%),radial-gradient(circle at 82% 16%,rgba(32,216,240,.16),transparent 27%),radial-gradient(circle at 70% 88%,rgba(66,230,139,.11),transparent 27%),linear-gradient(145deg,#11072a,#15104b 55%,#092637)}.shell-page .arcade-bg:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.013) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.013) 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}.shell-page .arcade-bg i{position:absolute;border:2px solid rgba(255,255,255,.06);border-radius:34px;transform:rotate(22deg)}.shell-page .arcade-bg i:nth-child(1){width:150px;height:150px;left:-55px;top:24%}.shell-page .arcade-bg i:nth-child(2){width:70px;height:70px;right:6%;top:13%;border-radius:50%}.shell-page .arcade-bg i:nth-child(3){width:115px;height:115px;left:14%;bottom:-36px}.shell-page .arcade-bg i:nth-child(4){width:180px;height:80px;right:-55px;bottom:13%}.shell-page .game-shell{position:relative;z-index:1;width:min(1500px,100%);min-height:100dvh;margin:auto;padding:0 5.3vw;display:grid;grid-template-rows:84px minmax(0,1fr) 38px}.shell-page .topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--shell-line)}.shell-page .brand{display:flex;align-items:center;gap:11px}.shell-page .brand-logo{width:42px;height:42px;display:grid;place-items:center;filter:drop-shadow(0 8px 18px rgba(32,216,240,.18))}.shell-page .brand-logo img{width:42px;height:42px;display:block}.shell-page .brand-text{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.12em}.shell-page .brand-text b{font-size:13px}.shell-page .brand-text em{font-style:normal;color:#5ef1bb;font-weight:900}.shell-page .top-actions{display:flex;align-items:center;gap:8px}.shell-page .online-pill{height:34px;padding:0 13px;border-radius:999px;display:flex;align-items:center;font-size:8px;letter-spacing:.14em;font-weight:900;color:#dfffee;background:rgba(66,230,139,.11);border:1px solid rgba(66,230,139,.28)}.shell-page .online-pill i{font-size:5px;color:#64efb0;margin-right:4px}.shell-page .online-pill b{font-size:7px;color:#fff;margin:0 2px}.shell-page .icon-btn{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;cursor:pointer;background:rgba(255,255,255,.065);border:1px solid var(--shell-line);color:#fff;font-weight:900}.shell-page .icon-btn:hover{background:rgba(255,255,255,.11)}.shell-page .icon-btn.muted{opacity:.38}.shell-page .profile-mini{height:38px;max-width:158px;display:flex;align-items:center;gap:7px;padding:0 10px 0 6px;border-radius:12px;background:rgba(255,255,255,.065);border:1px solid var(--shell-line);font-size:8px;font-weight:950;letter-spacing:.08em;overflow:hidden}.shell-page .profile-avatar-mini{width:27px;height:27px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:950;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.shell-page .profile-level-mini{font-size:5px;padding:3px 5px;border-radius:999px;color:#ffe673;background:rgba(255,216,74,.08)}.shell-page-stage{min-height:0;padding:34px 0 58px}.shell-routebar{width:min(1180px,100%);margin:0 auto 22px;min-height:46px;padding:7px 9px 7px 14px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:rgba(14,9,41,.64);border:1px solid rgba(255,255,255,.075);backdrop-filter:blur(10px)}.shell-routepath,.shell-routeactions{display:flex;align-items:center;gap:8px}.shell-routepath{min-width:0;color:#746c8d;font-size:7px;font-weight:900;letter-spacing:.08em}.shell-routepath a,.shell-routepath strong,.shell-routepath span{color:#afa6c2;text-decoration:none;white-space:nowrap}.shell-routepath strong{color:#78eaff}.shell-routepath>i{font-size:6px;color:#554d6b}.shell-routeactions a{height:32px;padding:0 10px;border-radius:9px;display:flex;align-items:center;gap:6px;color:#cfc5e5;text-decoration:none;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);font-size:6px;font-weight:950;letter-spacing:.07em}.shell-routeactions a:first-child{color:#ffe56d;border-color:rgba(255,216,74,.13);background:rgba(255,216,74,.055)}.shell-footer{border-top:1px solid var(--shell-line);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:6px;letter-spacing:.13em;color:#6e6685}.shell-footer span{white-space:nowrap}.shell-footer b{color:#3e3754;margin:0 4px}.shell-footer em{font-style:normal;color:#50495f}.shell-footer nav{display:flex;gap:13px}.shell-footer a{color:#8c84a0;text-decoration:none}.shell-footer a:hover{color:#fff}.shell-status{display:flex!important;align-items:center;gap:5px}.shell-status i{width:5px;height:5px;border-radius:50%;background:#47e794;box-shadow:0 0 10px rgba(71,231,148,.6)}
.profile-avatar-mini[data-avatar="bolt"]{background:linear-gradient(145deg,#ff4fb0,#7c45ff)}.profile-avatar-mini[data-avatar="star"]{background:linear-gradient(145deg,#ffb13c,#ff4f78)}.profile-avatar-mini[data-avatar="diamond"]{background:linear-gradient(145deg,#24d9f2,#3874ff)}.profile-avatar-mini[data-avatar="orbit"]{background:linear-gradient(145deg,#43e58b,#159fbc)}.profile-avatar-mini[data-avatar="comet"]{background:linear-gradient(145deg,#9d71ff,#ff70c4)}.profile-avatar-mini[data-avatar="hex"]{background:linear-gradient(145deg,#5b66ff,#8845ff)}.profile-avatar-mini[data-avatar="wave"]{background:linear-gradient(145deg,#19d7d0,#52e883)}.profile-avatar-mini[data-avatar="infinity"]{background:linear-gradient(145deg,#ff7557,#ffbd38)}
@media(max-width:1120px){.site-nav a span{display:none}.site-nav a{width:34px;padding:0;justify-content:center}.shell-page .profile-mini>span:not(.profile-avatar-mini),.shell-page .profile-level-mini{display:none}.shell-page .profile-mini{width:38px;padding:5px;justify-content:center}}
@media(max-width:820px){.site-nav{position:fixed;z-index:9000;left:0;right:0;top:auto;bottom:0;transform:none;width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:6px 10px max(6px,env(safe-area-inset-bottom));justify-content:stretch;gap:4px;border:0;border-top:1px solid rgba(72,50,130,.13);border-radius:0;background:linear-gradient(180deg,rgba(252,251,255,.985),rgba(239,246,255,.985));box-shadow:0 -12px 34px rgba(6,4,28,.22);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.site-nav:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#7c45ff,#20d8f0 50%,#42e68b);opacity:.9}.site-nav a,.site-nav a span{display:flex}.site-nav a{position:relative;width:auto;flex:1;height:50px;justify-content:center;flex-direction:column;gap:4px;padding:0 6px;border-radius:13px;color:#756d88;font-size:6px;font-weight:950;letter-spacing:.045em}.site-nav a i{font-size:15px;color:#807891;transition:.16s ease}.site-nav a:hover{color:#3c3550;background:rgba(115,91,184,.07)}.site-nav a.active{color:#321d66;background:linear-gradient(135deg,rgba(124,69,255,.13),rgba(32,216,240,.12));box-shadow:inset 0 0 0 1px rgba(106,82,180,.12),0 4px 12px rgba(71,50,133,.08)}.site-nav a.active i{color:#6d42e8}.site-nav a.active:after{content:"";position:absolute;left:50%;bottom:3px;transform:translateX(-50%);width:18px;height:3px;border-radius:99px;background:linear-gradient(90deg,#7c45ff,#20d8f0)}.shell-page .game-shell{padding:0 13px;grid-template-rows:66px minmax(0,1fr) 88px}.shell-page .brand-logo,.shell-page .brand-logo img{width:36px;height:36px}.shell-page .brand-text b{font-size:11px}.shell-page .brand-text em{font-size:9px}.shell-page .top-actions{gap:5px}.shell-page .online-pill{display:none}.shell-page .icon-btn{width:34px;height:34px;border-radius:10px}.shell-page .top-actions [data-shell-sound]{display:none}.shell-page .profile-mini{width:34px;height:34px;padding:3px}.shell-page-stage{padding:18px 0 36px}.shell-routebar{margin-bottom:14px;padding:7px 8px 7px 10px}.shell-routeactions{display:none}.shell-routepath{overflow:hidden}.shell-routepath span{overflow:hidden;text-overflow:ellipsis}.shell-footer{padding:9px 0 calc(74px + env(safe-area-inset-bottom));justify-content:center}.shell-footer>span:first-child,.shell-footer nav{display:none}.shell-footer .shell-status{display:flex}.in-word-game .site-nav{display:none!important}}

/* =========================================================
   BW OYUN V3.0.0 — UNIFIED ARCADE SHELL
   Header/navigation artık mikro dashboard değil, oyun arayüzü.
   ========================================================= */
@media (min-width:821px){
  .site-nav{gap:6px;padding:5px;border-radius:12px;background:#11102b;border-color:rgba(255,255,255,.12);backdrop-filter:none;box-shadow:0 5px 0 rgba(0,0,0,.18)}
  .site-nav a{height:42px;padding:0 16px;border-radius:9px;font-size:10px;letter-spacing:.045em;color:#aaa5b8}
  .site-nav a i{font-size:13px}.site-nav a.active{background:#272052;color:#fff;box-shadow:inset 0 0 0 1px rgba(81,205,232,.28)}.site-nav a.active i{color:#62dce9}
  .shell-page .game-shell{width:min(1540px,100%);padding:0 clamp(34px,4vw,70px);grid-template-rows:96px minmax(0,1fr) 48px}
  .shell-page .brand-logo,.shell-page .brand-logo img{width:46px;height:46px}.shell-page .brand-text{gap:8px;letter-spacing:.08em}.shell-page .brand-text b{font-size:16px}.shell-page .brand-text em{font-size:13px}
  .shell-page .online-pill{height:40px;font-size:10px;letter-spacing:.07em}.shell-page .online-pill b{font-size:10px}.shell-page .icon-btn{width:42px;height:42px;font-size:14px}.shell-page .profile-mini{height:42px;max-width:190px;font-size:10px;letter-spacing:.035em}.shell-page .profile-avatar-mini{width:30px;height:30px}.shell-page .profile-level-mini{font-size:7px}
  .shell-page-stage{padding-top:42px}.shell-routebar{min-height:54px;padding:9px 11px 9px 16px;border-radius:12px;background:#151232;backdrop-filter:none}.shell-routepath{font-size:9px;letter-spacing:.045em}.shell-routeactions a{height:36px;font-size:8px;padding:0 12px}
  .shell-footer{font-size:8px;letter-spacing:.07em}.shell-footer nav{gap:18px}
}

@media (max-width:820px){
  .site-nav{height:calc(74px + env(safe-area-inset-bottom));padding:7px 8px max(7px,env(safe-area-inset-bottom));gap:2px;background:linear-gradient(180deg,#ffffff 0%,#f2f5fb 100%);border-top:1px solid #d9deea;box-shadow:0 -8px 28px rgba(6,8,31,.22)}
  .site-nav:before{height:3px;background:linear-gradient(90deg,#5d4ce8,#29bcd3 55%,#35c887)}
  .site-nav a{height:57px;border-radius:11px;gap:5px;color:#55586a;font-size:9px;letter-spacing:0;font-weight:800}.site-nav a i{font-size:18px;color:#6e7180}.site-nav a.active{color:#2d2456;background:#e9e5ff;box-shadow:none}.site-nav a.active i{color:#5945da}.site-nav a.active:after{bottom:4px;width:22px;height:3px}
  .shell-page .game-shell{grid-template-rows:70px minmax(0,1fr) 98px}.shell-page .brand-logo,.shell-page .brand-logo img{width:38px;height:38px}.shell-page .brand-text b{font-size:12px}.shell-page .brand-text em{font-size:10px}.shell-page .icon-btn{width:36px;height:36px;font-size:13px}.shell-page .profile-mini{width:36px;height:36px}.shell-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}

/* BW OYUN V3.0.0 — Professional shell redesign */
:root{
  --shell-surface:#171932;
  --shell-surface-2:#1d2140;
  --shell-surface-3:#24284d;
  --shell-border:rgba(255,255,255,.1);
  --shell-text:#f6f7fb;
  --shell-muted:#c7cbe0;
  --shell-dim:#8f96b5;
  --shell-accent:#7f73ff;
  --shell-accent-2:#29d3ff;
  --shell-success:#4fe39b;
  --shell-warm:#ffcf54;
}

.shell-page{
  background:
    radial-gradient(circle at 18% 0%, rgba(127,115,255,.12), transparent 24%),
    radial-gradient(circle at 100% 15%, rgba(41,211,255,.10), transparent 24%),
    linear-gradient(180deg,#0d1123 0%,#121735 40%,#0e1430 100%);
  color:var(--shell-text);
}
.shell-page .arcade-bg{
  background:
    radial-gradient(circle at 10% 10%, rgba(122,83,255,.12), transparent 22%),
    radial-gradient(circle at 90% 12%, rgba(41,211,255,.10), transparent 24%),
    linear-gradient(180deg,#0d1123 0%,#121735 40%,#0e1430 100%);
}
.shell-page .arcade-bg:after{
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:72px 72px;
  opacity:.55;
}
.shell-page .arcade-bg i{
  border-color:rgba(128,140,196,.14);
  opacity:.8;
}
.shell-page .game-shell{
  width:min(1460px,100%);
  padding:0 42px;
  grid-template-rows:88px minmax(0,1fr) 52px;
}
.shell-page .topbar{
  position:sticky;
  top:0;
  z-index:80;
  background:linear-gradient(180deg,rgba(13,17,35,.92),rgba(13,17,35,.72));
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.shell-page .brand{gap:14px}
.shell-page .brand-logo,
.shell-page .brand-logo img{width:44px;height:44px}
.shell-page .brand-text{gap:8px;font-size:15px;letter-spacing:.06em}
.shell-page .brand-text b{font-size:23px;font-weight:900;line-height:1}
.shell-page .brand-text em{font-size:15px;font-weight:800;color:#6ce8d1;letter-spacing:.08em}

.site-nav{
  gap:8px;
  padding:6px;
  border-radius:16px;
  background:rgba(20,24,47,.88);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.site-nav a{
  height:42px;
  padding:0 16px;
  border-radius:12px;
  color:#bfc5df;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
.site-nav a i{font-size:13px}
.site-nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.05);
}
.site-nav a.active{
  background:linear-gradient(180deg,rgba(133,120,255,.32),rgba(105,84,224,.28));
  box-shadow:inset 0 0 0 1px rgba(150,178,255,.12),0 8px 18px rgba(46,39,110,.25);
}

.shell-page .top-actions{gap:10px}
.shell-page .online-pill,
.shell-page .profile-mini,
.shell-page .icon-btn{
  background:rgba(28,33,62,.88);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}
.shell-page .online-pill{height:38px;padding:0 14px;font-size:11px;letter-spacing:.06em;color:#ecfff6}
.shell-page .online-pill i{font-size:7px;margin-right:7px}
.shell-page .online-pill b{font-size:12px}
.shell-page .profile-mini{height:40px;max-width:188px;padding:0 12px 0 7px;font-size:11px;letter-spacing:.04em;gap:8px}
.shell-page .profile-avatar-mini{width:28px;height:28px;border-radius:10px;font-size:14px}
.shell-page .profile-level-mini{font-size:9px;padding:4px 6px}
.shell-page .icon-btn{width:40px;height:40px;border-radius:12px}
.shell-page .icon-btn i{font-size:15px}

.shell-page-stage{padding:36px 0 64px}
.shell-routebar{
  min-height:54px;
  padding:8px 10px 8px 16px;
  border-radius:18px;
  background:rgba(22,27,52,.88);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}
.shell-routepath{font-size:12px;letter-spacing:.035em;color:#b8bfd9}
.shell-routepath a,.shell-routepath strong,.shell-routepath span{color:#d4d8eb}
.shell-routepath strong{color:#73e0ff}
.shell-routeactions a{
  height:36px;
  padding:0 13px;
  border-radius:11px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.03em;
  background:rgba(255,255,255,.045);
}
.shell-routeactions a:first-child{color:#ffe27b}
.shell-footer{
  border-top:1px solid rgba(255,255,255,.07);
  font-size:11px;
  letter-spacing:.04em;
  color:#9aa2c0;
}
.shell-footer em{color:#7e88ab}
.shell-footer nav{gap:18px}
.shell-footer a{color:#c2c8df}
.shell-status{font-size:11px}

@media(max-width:1120px){
  .shell-page .game-shell{padding:0 24px}
  .site-nav a{padding:0 12px;font-size:11px}
}
@media(max-width:820px){
  .shell-page .game-shell{padding:0 14px;grid-template-rows:72px minmax(0,1fr) 90px}
  .shell-page .brand-logo,.shell-page .brand-logo img{width:38px;height:38px}
  .shell-page .brand-text{gap:6px}
  .shell-page .brand-text b{font-size:18px}
  .shell-page .brand-text em{font-size:12px}
  .site-nav{
    height:calc(74px + env(safe-area-inset-bottom));
    padding:8px 10px max(10px,env(safe-area-inset-bottom));
    background:rgba(248,250,255,.98);
    box-shadow:0 -12px 36px rgba(2,8,30,.22);
  }
  .site-nav a{height:54px;font-size:11px;letter-spacing:.02em;color:#616988}
  .site-nav a i{font-size:16px;color:#6d7692}
  .site-nav a.active{color:#20133c;background:linear-gradient(180deg,rgba(124,69,255,.11),rgba(41,211,255,.10))}
  .site-nav a.active i{color:#5e49de}
  .shell-page .profile-mini{width:40px;padding:5px;justify-content:center}
  .shell-page .icon-btn{width:36px;height:36px}
  .shell-routebar{min-height:48px;padding:8px 10px 8px 12px;border-radius:15px}
  .shell-routepath{font-size:10px}
  .shell-routeactions a{height:34px;font-size:10px;padding:0 10px}
  .shell-footer{font-size:10px}
}
@media(max-width:520px){
  .shell-page-stage{padding-top:24px}
  .shell-routeactions{display:none}
}

/* BW OYUN V3.0.1 — fixed bottom navigation safe spacing */
@media (max-width:820px){
  .shell-page .shell-page-stage{
    padding-bottom:calc(108px + env(safe-area-inset-bottom))!important;
  }
  .shell-page .shell-footer{
    padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;
  }
}

/* BW OYUN V3.0.3 — Mobile bottom nav hover contrast */
@media (max-width:820px){
  .site-nav a:hover,
  .site-nav a:focus,
  .site-nav a:active{
    color:#4d5572!important;
    background:rgba(97,88,180,.08)!important;
  }
  .site-nav a:hover i,
  .site-nav a:focus i,
  .site-nav a:active i{
    color:#626b89!important;
  }
  .site-nav a.active,
  .site-nav a.active:hover,
  .site-nav a.active:focus,
  .site-nav a.active:active{
    color:#20133c!important;
    background:linear-gradient(180deg,rgba(124,69,255,.11),rgba(41,211,255,.10))!important;
  }
  .site-nav a.active i,
  .site-nav a.active:hover i,
  .site-nav a.active:focus i,
  .site-nav a.active:active i{
    color:#5e49de!important;
  }
}

/* BW OYUN V3.0.4 — Ana sayfa ve iç sayfalarda birebir ortak header */
.game-shell,.shell-page .game-shell{width:min(1540px,100%);padding-left:clamp(34px,4vw,70px);padding-right:clamp(34px,4vw,70px)}
.shell-topbar,.shell-page .shell-topbar{
  min-height:96px;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border-bottom:1px solid rgba(255,255,255,.13)!important;
}
.shell-topbar .brand-logo,.shell-topbar .brand-logo img,.shell-page .shell-topbar .brand-logo,.shell-page .shell-topbar .brand-logo img{width:46px;height:46px}
.shell-topbar .brand-text,.shell-page .shell-topbar .brand-text{gap:8px;letter-spacing:.08em}
.shell-topbar .brand-text b,.shell-page .shell-topbar .brand-text b{font-size:16px!important}
.shell-topbar .brand-text em,.shell-page .shell-topbar .brand-text em{font-size:13px;font-weight:900}
.shell-topbar .online-pill,.shell-page .shell-topbar .online-pill{height:40px;padding:0 15px;font-size:10px;letter-spacing:.08em}
.shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{height:42px;max-width:190px;padding:0 12px 0 7px;font-size:10px;letter-spacing:.035em;border-radius:12px}
.shell-topbar .profile-avatar-mini,.shell-page .shell-topbar .profile-avatar-mini{width:30px;height:30px;font-size:15px}
.shell-topbar .profile-level-mini,.shell-page .shell-topbar .profile-level-mini{font-size:7px;padding:4px 6px}
.shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{width:42px;height:42px;border-radius:12px;font-size:14px}
@media(max-width:820px){
  .game-shell,.shell-page .game-shell{padding-left:14px;padding-right:14px}
  .shell-topbar,.shell-page .shell-topbar{min-height:72px}
  .shell-topbar .brand-logo,.shell-topbar .brand-logo img,.shell-page .shell-topbar .brand-logo,.shell-page .shell-topbar .brand-logo img{width:38px;height:38px}
  .shell-topbar .brand-text b,.shell-page .shell-topbar .brand-text b{font-size:18px!important}
  .shell-topbar .brand-text em,.shell-page .shell-topbar .brand-text em{font-size:12px}
  .shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{width:40px;height:40px;padding:5px;justify-content:center}
  .shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{width:36px;height:36px}
}
@media(min-width:821px){.shell-page .game-shell{grid-template-rows:96px minmax(0,1fr) 52px}}

/* BW OYUN V3.3.1 — Mobile App Shell */
.app-brand-cluster{display:flex;align-items:center;gap:10px;min-width:0}
.app-menu-btn{display:none;width:42px;height:42px;border-radius:13px;border:1px solid rgba(255,255,255,.1);background:rgba(25,30,58,.88);color:#fff;align-items:center;justify-content:center;font-size:16px;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.16)}
.app-menu-btn:active{transform:scale(.96)}
.app-menu-backdrop{position:fixed;inset:0;z-index:18000;background:rgba(4,7,20,.6);opacity:0;transition:opacity .2s ease;backdrop-filter:blur(4px)}
.app-menu-backdrop.show{opacity:1}
.app-drawer{position:fixed;z-index:18010;left:0;top:0;bottom:0;width:min(380px,88vw);display:flex;flex-direction:column;color:#fff;background:linear-gradient(180deg,#11152b 0%,#171b38 100%);border-right:1px solid rgba(255,255,255,.1);box-shadow:28px 0 70px rgba(0,0,0,.42);transform:translateX(-104%);transition:transform .24s cubic-bezier(.2,.75,.2,1)}
.app-drawer.open{transform:translateX(0)}
.app-drawer-head{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.app-drawer-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none}.app-drawer-brand img{width:40px;height:40px}.app-drawer-brand span{display:flex;flex-direction:column;gap:3px}.app-drawer-brand b{font-size:16px;letter-spacing:.04em}.app-drawer-brand small{font-size:9px;letter-spacing:.12em;color:#7fe7f8;font-weight:900}.app-drawer-head>button{width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#222744;color:#fff;font-size:15px;cursor:pointer}
.app-drawer-scroll{flex:1;overflow:auto;padding:16px 14px 24px;overscroll-behavior:contain}.app-drawer-label{display:block;padding:12px 10px 8px;color:#69738f;font-size:9px;font-weight:950;letter-spacing:.14em}.app-drawer-nav{display:grid;gap:6px}.app-drawer-nav a{min-height:58px;display:grid;grid-template-columns:40px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:8px 10px;border-radius:16px;color:#e8ebf7;text-decoration:none;border:1px solid transparent;transition:.16s ease}.app-drawer-nav a:hover,.app-drawer-nav a:focus{background:#202643;border-color:rgba(255,255,255,.07)}.app-drawer-nav a>i:first-child{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#252c50;color:#74e0f1;font-size:14px}.app-drawer-nav a span{min-width:0}.app-drawer-nav a b{display:block;font-size:13px}.app-drawer-nav a small{display:block;margin-top:3px;color:#8f99b5;font-size:10px}.app-drawer-nav a>i:last-child{color:#626d89;font-size:10px}.app-drawer-foot{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-top:1px solid rgba(255,255,255,.08);color:#838da9}.app-drawer-foot span{font-size:10px;font-weight:900;letter-spacing:.06em;color:#63e3a4}.app-drawer-foot span i{font-size:6px;margin-right:5px}.app-drawer-foot small{font-size:9px}
.app-bottom-nav{display:none}
body.app-drawer-open{overflow:hidden}

@media(max-width:980px){
  .site-nav{display:none!important}
  .app-menu-btn{display:flex}
  .shell-topbar,.shell-page .shell-topbar{position:sticky;top:0;z-index:12000;min-height:66px!important;height:66px;background:linear-gradient(180deg,rgba(13,17,35,.97),rgba(13,17,35,.91))!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;padding:0 2px}
  .shell-topbar .brand,.shell-page .shell-topbar .brand{gap:7px}.shell-topbar .brand-logo,.shell-topbar .brand-logo img,.shell-page .shell-topbar .brand-logo,.shell-page .shell-topbar .brand-logo img{width:34px;height:34px}.shell-topbar .brand-text,.shell-page .shell-topbar .brand-text{gap:5px}.shell-topbar .brand-text b,.shell-page .shell-topbar .brand-text b{font-size:17px!important}.shell-topbar .brand-text em,.shell-page .shell-topbar .brand-text em{font-size:10px!important}
  .shell-topbar .top-actions,.shell-page .shell-topbar .top-actions{gap:5px}.shell-topbar .online-pill,.shell-page .shell-topbar .online-pill{display:none!important}.shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{width:38px!important;height:38px!important;padding:4px!important;justify-content:center!important;border-radius:12px!important}.shell-topbar .profile-mini>span:not(.profile-avatar-mini),.shell-topbar .profile-level-mini,.shell-page .shell-topbar .profile-mini>span:not(.profile-avatar-mini),.shell-page .shell-topbar .profile-level-mini{display:none!important}.shell-topbar .profile-avatar-mini,.shell-page .shell-topbar .profile-avatar-mini{width:28px;height:28px}.shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{width:36px!important;height:36px!important;border-radius:11px!important}.shell-topbar .utility-btn,.shell-page .shell-topbar .utility-btn{display:grid!important}
  .app-bottom-nav{position:fixed;z-index:16000;left:0;right:0;bottom:0;height:calc(72px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:7px 6px max(7px,env(safe-area-inset-bottom));background:rgba(248,250,255,.985);border-top:1px solid rgba(56,61,99,.12);box-shadow:0 -14px 34px rgba(1,5,24,.25);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
  .app-bottom-nav:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#7865ff,#29d7f0 55%,#52e39e)}
  .app-bottom-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;height:56px;border-radius:14px;color:#69718d;text-decoration:none;font-size:9px;font-weight:900;letter-spacing:.015em;transition:.15s ease}.app-bottom-nav a i{font-size:17px;color:#747d98}.app-bottom-nav a span{white-space:nowrap}.app-bottom-nav a.active{color:#241845;background:linear-gradient(145deg,rgba(119,94,255,.12),rgba(40,211,238,.10));box-shadow:inset 0 0 0 1px rgba(104,80,190,.09)}.app-bottom-nav a.active i{color:#624ee0}.app-bottom-nav a.active:after{content:"";position:absolute;left:50%;bottom:3px;width:22px;height:3px;transform:translateX(-50%);border-radius:99px;background:linear-gradient(90deg,#735bff,#28d4ec)}
  .game-shell,.shell-page .game-shell{padding-left:12px!important;padding-right:12px!important;grid-template-rows:66px minmax(0,1fr) 82px!important}
  .shell-page-stage{padding-top:18px!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}.shell-footer,.home-shell-footer{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  .in-word-game .app-bottom-nav,body[data-screen="setup"] .app-bottom-nav,body[data-screen="lobby"] .app-bottom-nav,body[data-screen="game"] .app-bottom-nav,body[data-screen="search"] .app-bottom-nav{display:none!important}
  .in-word-game .app-menu-btn,body[data-screen="game"] .app-menu-btn{display:none!important}
}
@media(max-width:430px){
  .app-menu-btn{width:36px;height:36px;border-radius:11px}.app-brand-cluster{gap:7px}.shell-topbar .brand-logo,.shell-topbar .brand-logo img,.shell-page .shell-topbar .brand-logo,.shell-page .shell-topbar .brand-logo img{width:30px;height:30px}.shell-topbar .brand-text b,.shell-page .shell-topbar .brand-text b{font-size:15px!important}.shell-topbar .brand-text em,.shell-page .shell-topbar .brand-text em{font-size:9px!important}.shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{width:34px!important;height:34px!important}.shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{width:32px!important;height:32px!important}.app-bottom-nav a{font-size:8px}.app-bottom-nav a i{font-size:15px}
}

/* AJAX uygulama içi görünüm */
.app-ajax-view{position:absolute;inset:0;min-height:0;padding:14px 0 calc(94px + env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(117,92,255,.5) transparent}.app-ajax-view.hidden{display:none}.app-view-top{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;min-height:62px;margin:0 0 14px;padding:8px 10px;border-radius:18px;background:rgba(22,27,53,.96);border:1px solid rgba(255,255,255,.08);box-shadow:0 12px 30px rgba(0,0,0,.18);backdrop-filter:blur(16px)}.app-view-top button{width:42px;height:42px;border-radius:13px;border:1px solid rgba(255,255,255,.08);background:#252b4d;color:#fff}.app-view-top div{min-width:0}.app-view-top small{display:block;color:#74dded;font-size:9px;font-weight:900;letter-spacing:.11em}.app-view-top b{display:block;margin-top:3px;color:#fff;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-ajax-loading,.app-ajax-error{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;color:#aeb6cf}.app-ajax-loading i,.app-ajax-error>i{font-size:28px;color:#79deef}.app-ajax-loading b,.app-ajax-error b{font-size:16px;color:#fff}.app-ajax-error span{font-size:12px;max-width:260px}.app-ajax-error button{height:42px;padding:0 16px;border-radius:12px;border:0;background:#6651df;color:#fff;font-weight:900}.app-view-content{min-width:0}.app-view-content .integrated-page{width:100%!important;margin:0!important}.app-view-content .shell-routebar{display:none!important}.app-ajax-hidden{display:none!important}

/* BW OYUN V3.3.2 — Mobil uygulama header stabilizasyonu */
@media(max-width:980px){
  .shell-topbar,.shell-page .shell-topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:10px!important;
    width:100%!important;
    min-width:0!important;
    padding:0 6px!important;
  }
  .app-brand-cluster{
    min-width:0!important;
    width:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    overflow:hidden!important;
  }
  .app-menu-btn{flex:0 0 40px!important;width:40px!important;height:40px!important}
  .shell-brand,.shell-page .shell-brand{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    overflow:hidden!important;
  }
  .shell-brand .brand-logo,.shell-page .shell-brand .brand-logo{flex:0 0 30px!important;width:30px!important;height:30px!important}
  .shell-brand .brand-logo img,.shell-page .shell-brand .brand-logo img{width:30px!important;height:30px!important}
  .shell-brand .brand-text,.shell-page .shell-brand .brand-text{
    min-width:0!important;
    display:flex!important;
    gap:5px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  .shell-brand .brand-text b,.shell-page .shell-brand .brand-text b{font-size:17px!important}
  .shell-brand .brand-text em,.shell-page .shell-brand .brand-text em{font-size:10px!important}
  .shell-topbar .top-actions,.shell-page .shell-topbar .top-actions{
    min-width:0!important;
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
  }
  .shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{flex:0 0 38px!important}
  .shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{flex:0 0 36px!important}
}
@media(max-width:390px){
  .shell-topbar,.shell-page .shell-topbar{column-gap:6px!important;padding:0 3px!important}
  .app-brand-cluster{gap:6px!important}
  .app-menu-btn{flex-basis:36px!important;width:36px!important;height:36px!important}
  .shell-brand .brand-logo,.shell-page .shell-brand .brand-logo,
  .shell-brand .brand-logo img,.shell-page .shell-brand .brand-logo img{width:28px!important;height:28px!important;flex-basis:28px!important}
  .shell-brand .brand-text b,.shell-page .shell-brand .brand-text b{font-size:15px!important}
  .shell-brand .brand-text em,.shell-page .shell-brand .brand-text em{font-size:9px!important}
  .shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{flex-basis:34px!important;width:34px!important;height:34px!important}
  .shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{flex-basis:32px!important;width:32px!important;height:32px!important}
}
@media(max-width:350px){
  .shell-topbar .utility-btn,.shell-page .shell-topbar .utility-btn{display:none!important}
}

/* BW OYUN V3.3.3 — Mobil uygulama header + AJAX sıralama stabilizasyonu */
@media(max-width:980px){
  /* Header artık uygulamanın mor/lacivert oyun kimliğiyle aynı yüzeyde. */
  .shell-topbar,.shell-page .shell-topbar{
    background:
      radial-gradient(circle at 12% 0%,rgba(120,83,255,.20),transparent 34%),
      radial-gradient(circle at 92% 0%,rgba(39,205,239,.12),transparent 34%),
      linear-gradient(135deg,rgba(24,17,59,.985),rgba(18,31,70,.985))!important;
    border:1px solid rgba(127,118,202,.15)!important;
    border-top:0!important;
    border-radius:0 0 18px 18px!important;
    box-shadow:0 12px 30px rgba(3,5,24,.24),inset 0 -1px 0 rgba(51,215,235,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .shell-topbar:after,.shell-page .shell-topbar:after{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    bottom:-1px;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(119,97,255,.52),rgba(52,218,239,.55),transparent);
    pointer-events:none;
  }
  .app-menu-btn,
  .shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini,
  .shell-topbar .icon-btn,.shell-page .shell-topbar .icon-btn{
    background:linear-gradient(180deg,rgba(42,45,82,.94),rgba(29,33,66,.94))!important;
    border-color:rgba(255,255,255,.10)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 6px 14px rgba(0,0,0,.15)!important;
  }
  .shell-topbar .profile-mini,.shell-page .shell-topbar .profile-mini{
    background:linear-gradient(145deg,rgba(117,76,255,.24),rgba(36,190,221,.14))!important;
  }

  /* AJAX iç ekran başlığı içerikle üst üste binmesin; ekranla birlikte doğal biçimde yukarı kayar. */
  .app-view-top{
    position:relative!important;
    top:auto!important;
    z-index:5!important;
    background:linear-gradient(135deg,#1a2143,#18223f)!important;
    box-shadow:0 10px 24px rgba(1,5,24,.16)!important;
  }

  /* AJAX sıralama satırlarını gerçek mobil liste ölçülerine sabitle. */
  .app-ajax-view .leaderboard-integrated .leader-row{
    display:grid!important;
    grid-template-columns:30px 44px minmax(0,1fr) 68px!important;
    gap:10px!important;
    align-items:center!important;
    min-height:70px!important;
    padding:9px 10px!important;
    overflow:hidden!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-pos{
    width:30px!important;
    min-width:30px!important;
    text-align:center!important;
    font-size:15px!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-avatar{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:12px!important;
    font-size:14px!important;
    margin:0!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-name{
    min-width:0!important;
    width:100%!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-name b{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-name small{
    display:block!important;
    max-width:100%!important;
    margin-top:4px!important;
    font-size:9px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-tier{display:none!important}
  .app-ajax-view .leaderboard-integrated .leader-row>strong{
    width:68px!important;
    min-width:68px!important;
    text-align:right!important;
    font-size:12px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    justify-self:end!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-row>strong small{font-size:8px!important}
}

@media(max-width:390px){
  .app-ajax-view .leaderboard-integrated .leader-row{
    grid-template-columns:26px 40px minmax(0,1fr) 62px!important;
    gap:8px!important;
    padding:8px!important;
  }
  .app-ajax-view .leaderboard-integrated .leader-pos{width:26px!important;min-width:26px!important;font-size:13px!important}
  .app-ajax-view .leaderboard-integrated .leader-avatar{width:38px!important;height:38px!important;min-width:38px!important}
  .app-ajax-view .leaderboard-integrated .leader-name b{font-size:13px!important}
  .app-ajax-view .leaderboard-integrated .leader-name small{font-size:8px!important}
  .app-ajax-view .leaderboard-integrated .leader-row>strong{width:62px!important;min-width:62px!important;font-size:11px!important}
}

/* Masaüstü sıralama sayfasında sticky header içerik üzerine binmesin. */
@media(min-width:981px){
  .leaderboard-page .shell-topbar{
    position:relative!important;
    top:auto!important;
  }
}

/* BW OYUN V3.3.4 — Tam genişlik sabit mobil uygulama header */
@media(max-width:980px){
  .shell-topbar,.shell-page .shell-topbar{
    position:sticky!important;
    top:0!important;
    z-index:12000!important;
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding-left:max(12px,env(safe-area-inset-left))!important;
    padding-right:max(12px,env(safe-area-inset-right))!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:0 8px 24px rgba(2,5,24,.24),inset 0 -1px 0 rgba(54,214,236,.18)!important;
  }
  .shell-topbar:after,.shell-page .shell-topbar:after{
    left:0!important;
    right:0!important;
    background:linear-gradient(90deg,rgba(119,97,255,.6),rgba(52,218,239,.68),rgba(82,227,158,.36))!important;
  }
  .shell-page .shell-page-stage{padding-top:18px!important}
  .app-ajax-view{padding-top:12px!important}
}

/* BW OYUN V3.3.5 — Mobil sosyal alt ekranlar */
@media(max-width:980px){
  body.app-home-opponents .app-bottom-nav a[data-app-target="lobby"],
  body.app-home-friends .app-bottom-nav a[data-app-target="lobby"]{color:#241845;background:linear-gradient(145deg,rgba(119,94,255,.12),rgba(40,211,238,.10));box-shadow:inset 0 0 0 1px rgba(104,80,190,.09)}
  body.app-home-opponents .app-bottom-nav a[data-app-target="lobby"] i,
  body.app-home-friends .app-bottom-nav a[data-app-target="lobby"] i{color:#624ee0}
  body.app-home-opponents .app-bottom-nav a[data-app-target="lobby"]:after,
  body.app-home-friends .app-bottom-nav a[data-app-target="lobby"]:after{content:"";position:absolute;left:50%;bottom:3px;width:22px;height:3px;transform:translateX(-50%);border-radius:99px;background:linear-gradient(90deg,#735bff,#28d4ec)}
}
