:root{
  --bg:#0b0f14;
  --panel:#111821;
  --panel2:#0f151d;
  --text:#e6edf3;
  --muted:#95a3b3;
  --border:#223042;
  --accent:#7aa2ff;
  --accent2:#55f2c0;
  --danger:#ff6b6b;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
  background:radial-gradient(1200px 600px at 30% -10%, rgba(122,162,255,.15), transparent 60%),
             radial-gradient(900px 500px at 90% 10%, rgba(85,242,192,.10), transparent 55%),
             var(--bg);
  background-attachment:fixed;
  background-repeat:no-repeat;
  color:var(--text);
}

/* Admin layout */
body.admin{background:radial-gradient(1200px 600px at 10% -10%, rgba(122,162,255,.14), transparent 60%),
                 radial-gradient(900px 500px at 90% 10%, rgba(85,242,192,.10), transparent 55%),
                 var(--bg);}
body.admin{background-attachment:fixed}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}
.admin-fab{
  position:fixed;left:12px;bottom:12px;z-index:30;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid rgba(34,48,66,.9);
  background:rgba(17,24,33,.92);
  color:var(--text);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  display:none;
}
.admin-dim{position:fixed;inset:0;z-index:25;background:rgba(0,0,0,.45)}
@media (max-width:980px){
  .admin-shell{grid-template-columns:1fr}
  .admin-fab{display:inline-flex}
  .admin-sidebar{
    display:block;
    position:fixed;left:0;top:0;bottom:0;z-index:28;
    width:min(320px, 92vw);
    transform:translateX(-105%);
    transition:transform .22s ease;
  }
  body.admin.is-nav-open .admin-sidebar{transform:translateX(0)}
  body.admin.is-nav-open .admin-dim{display:block}
}
.admin-sidebar{
  position:sticky;top:0;align-self:start;height:100vh;overflow:auto;
  padding:14px 12px;
  background:linear-gradient(180deg, rgba(9,12,16,.86), rgba(11,15,20,.70));
  border-right:1px solid rgba(34,48,66,.55);
  backdrop-filter:blur(14px);
}
.admin-brand{
  display:block;text-decoration:none;
  padding:10px 10px 12px;
  border-radius:12px;
  background:transparent;
  border:1px solid rgba(34,48,66,.35);
}
.admin-brand__title{display:block;font-weight:950;letter-spacing:.2px;font-size:14px}
.admin-brand__sub{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.admin-brand:hover{border-color:rgba(122,162,255,.22);background:rgba(122,162,255,.05)}
.admin-nav{margin-top:12px;display:flex;flex-direction:column;gap:2px}
.admin-sec{
  border-radius:14px;
  overflow:visible;
  border:1px solid transparent;
}
.admin-sec[open]{border-color:transparent;background:transparent}
.admin-sec__sum{
  list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 10px;
  cursor:pointer;
  color:rgba(230,237,243,.92);
  font-size:13px;
  font-weight:900;
}
.admin-sec__sum::-webkit-details-marker{display:none}
.admin-sec__sum:hover{background:rgba(122,162,255,.06)}
.admin-sec__chev{
  width:10px;height:10px;display:inline-block;
  border-right:2px solid rgba(149,163,179,.75);
  border-bottom:2px solid rgba(149,163,179,.75);
  transform:rotate(-45deg);
  transition:transform .18s ease;
  margin-right:4px;
}
.admin-sec[open] .admin-sec__chev{transform:rotate(45deg)}
.admin-sec__links{
  margin:0;
  padding:2px 6px 10px 18px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

/* A tiny open animation to avoid "jump" feeling */
.admin-sec[open] .admin-sec__links{
  animation:adminSecIn .16s ease-out;
  transform-origin:top;
}
@keyframes adminSecIn{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}
.admin-nav__item{
  display:block;text-decoration:none;
  color:rgba(230,237,243,.86);
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
}
.admin-nav__item:hover{background:rgba(255,255,255,.04)}
.admin-nav__item.is-active{
  background:rgba(122,162,255,.10);
  border:1px solid rgba(122,162,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  padding:9px 11px;
}

/* Nested items: keep same style as menu, just with a guide */
.admin-sec__links{position:relative}
.admin-sec__links::before{
  content:"";
  position:absolute;
  left:10px; top:6px; bottom:12px;
  width:2px;
  background:linear-gradient(180deg, rgba(122,162,255,.0), rgba(122,162,255,.25), rgba(122,162,255,.0));
  border-radius:999px;
}
.admin-main{min-width:0}
.admin-topbar{
  position:sticky;top:0;z-index:9;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 16px;
  background:rgba(11,15,20,.72);
  border-bottom:1px solid rgba(34,48,66,.65);
  backdrop-filter:blur(12px);
}
.admin-topbar__title{font-weight:900}
.admin-topbar__right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.admin-content{padding:18px;max-width:none}
.widget-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media (min-width:980px){.widget-grid{grid-template-columns:3fr 2fr}}
.widget{
  background:linear-gradient(180deg, rgba(17,24,33,.92), rgba(15,21,29,.86));
  border:1px solid rgba(34,48,66,.7);
  border-radius:16px;
  padding:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.20);
}
.widget__head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}
.widget__title{margin:0;font-size:15px;font-weight:900}
.widget__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.widget__body{min-height:40px}
.mini-list{display:flex;flex-direction:column;gap:8px}
.mini-item{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:10px;border-radius:12px;background:rgba(15,21,29,.65);border:1px solid rgba(34,48,66,.55);text-decoration:none}
.mini-item:hover{border-color:rgba(122,162,255,.35);background:rgba(15,21,29,.78)}
.mini-item__main{min-width:0}
.mini-item__title{font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-item__meta{color:var(--muted);font-size:12px;margin-top:4px}
.mini-item__right{color:var(--muted);font-size:12px;white-space:nowrap}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:16px}
.topbar{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.75);
  border-bottom:1px solid rgba(34,48,66,.6);
}
.topbar .wrap{display:flex;align-items:center;gap:14px}
.topbar__top{background:rgba(11,15,20,.72);border-bottom:1px solid rgba(34,48,66,.55)}
.topbar__top-inner{min-height:52px}
.topbar__navrow{background:rgba(15,21,29,.60)}
.topbar__nav-inner{min-height:48px;gap:12px}
.brand{display:inline-flex;align-items:center;text-decoration:none}
.brand__logo{height:34px;width:auto;display:block;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
.topbar__quick{display:flex;gap:10px;align-items:center}
.topbar__right{display:flex;align-items:center;gap:12px;white-space:nowrap}
.topbar__user{font-size:13px}
.topbar__user-name{font-weight:900}
.topbar__help{color:rgba(230,237,243,.75);text-decoration:none;font-size:13px}
.topbar__help:hover{color:rgba(230,237,243,.95)}

.topbar-ico{
  position:relative;
  width:36px;height:36px;
  border-radius:10px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.22);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:rgba(230,237,243,.86);
}
.topbar-ico:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}
.topbar-ico svg{width:18px;height:18px;fill:currentColor}
.topbar-ico__badge{
  position:absolute;
  top:-6px;right:-6px;
  min-width:18px;height:18px;
  padding:0 5px;
  border-radius:999px;
  background:rgba(255,107,107,.95);
  color:#08101b;
  font-size:11px;
  font-weight:950;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,.35);
}

.topbar-dd{position:relative}
.topbar-dd__sum{
  list-style:none;
  cursor:pointer;
  user-select:none;
  padding:9px 12px;
  border-radius:10px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.22);
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
}
.topbar-dd__sum::-webkit-details-marker{display:none}
.topbar-dd__sum:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}
.topbar-dd__name{font-weight:950}
.topbar-dd__chev{
  width:9px;height:9px;display:inline-block;
  border-right:2px solid rgba(149,163,179,.75);
  border-bottom:2px solid rgba(149,163,179,.75);
  transform:rotate(-45deg);
  transition:transform .18s ease;
  margin-left:2px;
}
.topbar-dd[open] .topbar-dd__chev{transform:rotate(45deg)}
.topbar-dd__menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:220px;
  border-radius:14px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(11,15,20,.92);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  padding:8px;
  z-index:12;
}
.topbar-dd__item{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:rgba(230,237,243,.86);
  font-size:13px;
  border:1px solid transparent;
}
.topbar-dd__item:hover{background:rgba(255,255,255,.04);border-color:rgba(34,48,66,.65)}
.topbar-dd__form{margin:6px 0 0}
.topbar-dd__item--btn{
  width:100%;
  text-align:left;
  appearance:none;
  background:transparent;
  cursor:pointer;
}

.topnav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.topnav__item{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  font-size:13px;
  color:rgba(230,237,243,.78);
  border:1px solid transparent;
}
.topnav__item:hover{color:rgba(230,237,243,.95);background:rgba(255,255,255,.04)}

.topsearch{display:flex;align-items:center;gap:0;min-width:240px;max-width:420px;flex:1}
.topsearch--top{margin-left:auto;margin-right:12px;max-width:360px}
.topsearch__input{
  width:100%;
  background:rgba(12,18,26,.55);
  border:1px solid rgba(34,48,66,.75);
  border-right:0;
  color:rgba(230,237,243,.9);
  border-radius:12px 0 0 12px;
  padding:10px 12px;
  min-height:40px;
}
.topsearch__btn{
  width:44px;
  min-height:40px;
  border-radius:0 12px 12px 0;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.55);
  color:rgba(230,237,243,.85);
  cursor:pointer;
}
.topsearch__btn svg{width:18px;height:18px;fill:currentColor}
.topsearch__btn:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}

.topactions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.topactions__btn{
  appearance:none;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.22);
  color:rgba(230,237,243,.86);
  padding:9px 12px;
  border-radius:10px;
  text-decoration:none;
  font-size:13px;
  cursor:pointer;
  min-height:40px;
}
.topactions__btn--sm{min-height:38px;padding:8px 10px;border-radius:9px}
.topactions__btn:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}

.nick{color:var(--muted);font-size:14px}
.inline{display:inline}
.hero{padding:18px 0 10px}
.hero h1{margin:0 0 8px;font-size:24px}
.muted{color:var(--muted)}

/* Home hero (do not touch body background) */
.site-hero{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(34,48,66,.65);
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  background:rgba(17,24,33,.55);
  margin:16px 0 14px;
}
.site-hero__media{position:absolute;inset:0}
.site-hero__media img{
  width:100%;height:100%;object-fit:cover;display:block;
  opacity:.9;
  transform:scale(1.02);
}
.site-hero::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(11,15,20,.92) 0%, rgba(11,15,20,.55) 52%, rgba(11,15,20,.20) 100%);
}
.site-hero__content{
  position:relative;
  z-index:1;
  padding:22px 18px;
  max-width:720px;
}
@media (min-width:860px){
  .site-hero__content{padding:34px 28px}
}
.site-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(122,162,255,.10);
  border:1px solid rgba(122,162,255,.25);
  color:#cfe0ff;
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
  text-transform:uppercase;
}
.site-hero__title{margin:12px 0 8px;font-size:28px;line-height:1.12;font-weight:950}
@media (min-width:860px){.site-hero__title{font-size:36px}}
.site-hero__subtitle{margin:0;color:rgba(230,237,243,.85);max-width:56ch}
.site-hero__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

/* Sections + chips */
.section{margin-top:14px}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:10px 0}
.section__title{margin:0;font-size:16px;font-weight:950}
.section__more{color:var(--muted);text-decoration:none;font-size:13px}
.section__more:hover{color:var(--text)}
.chips{display:flex;gap:10px;overflow:auto;padding-bottom:6px}
.chip{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(15,21,29,.65);
  text-decoration:none;
  color:rgba(230,237,243,.86);
  font-size:13px;
}
.chip:hover{border-color:rgba(122,162,255,.35);background:rgba(122,162,255,.08)}
.chip.is-active{
  border-color:rgba(122,162,255,.65);
  background:rgba(122,162,255,.14);
  color:#e6edf3;
}

/* Home slider */
.home-slider{
  position:relative;
  border-radius:16px;
  border:1px solid rgba(34,48,66,.65);
  background:rgba(15,21,29,.55);
  overflow:hidden;
  box-shadow:0 16px 55px rgba(0,0,0,.28);
}
.home-slider__viewport{
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:8px;
}
.home-slider__viewport::-webkit-scrollbar{height:10px}
.home-slider__viewport::-webkit-scrollbar-thumb{background:rgba(34,48,66,.65);border-radius:999px}
.home-slider__viewport::-webkit-scrollbar-track{background:transparent}
.home-slide{
  flex:0 0 100%;
  scroll-snap-align:start;
  background:linear-gradient(180deg, rgba(17,24,33,.92), rgba(15,21,29,.90));
  border:1px solid rgba(34,48,66,.65);
  border-radius:16px;
  overflow:hidden;
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  height:390px;
}
@media (min-width:860px){
  .home-slide{flex-basis: 100%; grid-template-columns: 1.4fr 1fr; height:296px}
}
.home-slide__cover{display:block;background:#0a0d12;height:100%}
.home-slide__cover img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;opacity:.96}
.home-slide__body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.home-slide__meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.home-slide__meta-right{display:inline-flex;align-items:center;gap:10px;justify-content:flex-end}
.home-slide__title{font-weight:950;font-size:16px;line-height:1.15}
.home-slide__row{display:flex;justify-content:space-between;gap:10px;font-size:13px}
.home-slide__desc{
  color:rgba(230,237,243,.78);
  font-size:13px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:4;
  line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.home-slide__actions{
  margin-top:10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.fav-btn{
  appearance:none;
  border:1px solid rgba(34,48,66,.85);
  background:rgba(11,15,20,.55);
  width:36px;height:36px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.fav-btn:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.10)}
.fav-btn__icon{width:18px;height:18px;fill:rgba(230,237,243,.72)}
.fav-btn.is-on .fav-btn__icon{fill:rgba(255,107,107,.95)}
.home-slider__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid rgba(34,48,66,.85);
  background:rgba(11,15,20,.75);
  color:rgba(230,237,243,.95);
  backdrop-filter:blur(10px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:2;
  box-shadow:0 10px 26px rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease, transform .16s ease;
}
.home-slider:hover .home-slider__nav,
.home-slider:focus-within .home-slider__nav{
  opacity:1;
  pointer-events:auto;
}
.home-slider:hover .home-slider__nav{transform:translateY(-50%) scale(1.02)}
.home-slider__nav:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.10)}
.home-slider__nav--prev{left:10px}
.home-slider__nav--next{right:10px}
@media (max-width:720px){
  .home-slider__nav{display:none}
}
.home-slider__dots{
  display:flex;
  gap:8px;
  justify-content:center;
  padding:10px 12px 14px;
}
.home-slider__dot{
  width:8px;height:8px;
  border-radius:999px;
  border:1px solid rgba(34,48,66,.85);
  background:rgba(149,163,179,.22);
  cursor:pointer;
}
.home-slider__dot.is-active{
  width:18px;
  background:rgba(122,162,255,.75);
  border-color:rgba(122,162,255,.75);
}

/* Footer */
.footer{
  margin-top:24px;
  border-top:1px solid rgba(34,48,66,.55);
  background:linear-gradient(180deg, rgba(11,15,20,.00), rgba(11,15,20,.60));
}
.footer__inner{
  display:grid;
  gap:16px;
  padding-top:18px;
  padding-bottom:24px;
}
@media (min-width:860px){
  .footer__inner{grid-template-columns: 1.2fr 1fr}
}
.footer__logo{height:44px;width:auto;display:block;opacity:.95}
.footer__cols{display:grid;gap:14px;grid-template-columns:1fr 1fr}
.footer__title{font-weight:950;font-size:13px;margin-bottom:10px}
.footer__link{
  display:block;
  color:var(--muted);
  text-decoration:none;
  padding:6px 0;
  font-size:13px;
}
.footer__link:hover{color:var(--text)}

/* Profile (Steam-like) */
.profile-hero{margin-top:10px}
.profile-hero__card{
  border-radius:18px;
  border:1px solid rgba(34,48,66,.65);
  background:linear-gradient(180deg, rgba(17,24,33,.88), rgba(15,21,29,.70));
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.28);
}
.profile-hero__left{display:flex;gap:12px;align-items:center;min-width:0}
.profile-hero__name{font-weight:950;font-size:22px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.profile-hero__right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.profile-ava{
  width:72px;height:72px;
  border-radius:16px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.35);
  overflow:hidden;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.profile-ava img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.profile-ava__ph{font-weight:950;font-size:26px;color:rgba(230,237,243,.85)}
.profile-grid{display:grid;gap:12px;margin-top:12px}
.profile-col{display:grid;gap:12px;align-content:start}
.profile-games{display:grid;gap:10px}
.profile-game{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:10px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:inherit;
}
.profile-game a{color:inherit;text-decoration:none}
.profile-game a:hover{text-decoration:underline}
.profile-game__coverLink{display:block;line-height:0}
.profile-game:hover{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}
.profile-game__cover{width:72px;height:64px;object-fit:cover;border-radius:10px;background:rgba(0,0,0,.2)}
.profile-game__title{font-weight:950;line-height:1.2;display:inline-block}
.profile-fav{position:relative}
.profile-fav__btn{position:absolute;top:10px;right:10px}
.profile-fav__link{padding-right:46px}
.profile-ach-panel,.profile-stats{width:100%}
@media (min-width:980px){.profile-grid{grid-template-columns:1.35fr .65fr}}
.profile-ach{display:flex;flex-direction:column;gap:10px}
.profile-ach__item{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:14px;border:1px solid rgba(34,48,66,.55);background:rgba(12,18,26,.22)}
.profile-ach__icon{width:40px;height:40px;border-radius:12px;border:1px solid rgba(34,48,66,.65);background:rgba(15,21,29,.55);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.profile-ach__icon img{width:100%;height:100%;object-fit:cover;display:block}
.profile-ach__main{min-width:0}

.profile-tabs{display:flex;gap:10px;align-items:center}
.profile-tabs__item{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(15,21,29,.55);
  text-decoration:none;
  font-size:13px;
  color:rgba(230,237,243,.86);
}
.profile-tabs__item:hover{border-color:rgba(122,162,255,.35);background:rgba(122,162,255,.08)}
.profile-tabs__item.is-active{
  border-color:rgba(122,162,255,.65);
  background:rgba(122,162,255,.14);
  font-weight:950;
}

/* Profile comments/reviews (separate from FAQ bot) */
.cmt{
  border:1px solid rgba(34,48,66,.55);
  border-radius:14px;
  padding:10px 12px;
  background:rgba(12,18,26,.22);
}
.cmt__head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.cmt__meta{margin-top:6px}
.cmt__body{
  margin-top:8px;
  white-space:pre-wrap;
  line-height:1.45;
  color:rgba(230,237,243,.92);
}

/* Friends */
.friends-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
@media (min-width:720px){.friends-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.friends-grid{grid-template-columns:repeat(3,1fr)}}
.friend-card{
  border:1px solid rgba(34,48,66,.65);
  background:linear-gradient(180deg, rgba(17,24,33,.92), rgba(15,21,29,.78));
  border-radius:16px;
  padding:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
}
.friend-card__head{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:inherit;
}
.friend-card__actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.friend-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(34,48,66,.35);
}
.friend-row:last-child{border-bottom:0}
.friend-row__user{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:inherit}
.friend-row__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.friend-ava{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.35);
  overflow:hidden;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.friend-ava--sm{width:36px;height:36px;border-radius:12px}
.friend-ava--lg{width:56px;height:56px;border-radius:16px}
.friend-ava img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.friend-ava__ph{font-weight:950;font-size:18px;color:rgba(230,237,243,.85)}
.friend-icons{display:flex;flex-wrap:wrap;gap:8px}
.friend-icon{display:inline-flex;text-decoration:none;line-height:0}
.friend-icon, .friend-icon *{text-decoration:none !important}
.friend-icon:hover .friend-ava{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}

/* FAQ page */
.faq-list{display:flex;flex-direction:column;gap:6px}
.faq-item{
  border:1px solid rgba(34,48,66,.55);
  border-radius:14px;
  background:rgba(12,18,26,.22);
  padding:0;
  overflow:hidden;
}
.faq-item:last-child{border-bottom:0}
.faq-item__q{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:950;
  padding:12px 12px;
  user-select:none;
}
.faq-item__q::-webkit-details-marker{display:none}
.faq-item__q:hover{background:rgba(122,162,255,.07)}
.faq-item__qtext{min-width:0}
.faq-item__right{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto}
.faq-item__chev{
  width:10px;height:10px;
  border-right:2px solid rgba(230,237,243,.55);
  border-bottom:2px solid rgba(230,237,243,.55);
  transform:rotate(45deg);
  transition:transform .15s ease;
  margin-top:-2px;
}
.faq-item[open] .faq-item__chev{transform:rotate(225deg);margin-top:2px}
.faq-item__a{
  padding:0 12px 12px;
  color:rgba(230,237,243,.88);
  line-height:1.5;
}

/* Register page */
.regpage{display:grid;gap:12px}
@media (min-width:920px){.regpage{grid-template-columns:1.1fr .9fr}}
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (min-width:720px){
  .grid{grid-template-columns: repeat(2, 1fr)}
}
@media (min-width:980px){
  .grid{grid-template-columns: repeat(3, 1fr)}
}
.card{
  background:linear-gradient(180deg, rgba(17,24,33,.95), rgba(15,21,29,.95));
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.card__cover{display:block;aspect-ratio:16/9;background:#0a0d12}
.card__cover img{width:100%;height:100%;object-fit:cover;display:block;opacity:.95}
.card__body{padding:14px}
.card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.card__title{margin:0 0 10px;font-size:16px;line-height:1.25}
.card__title a{text-decoration:none}
.card__row{display:flex;justify-content:space-between;gap:10px;font-size:13px}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(122,162,255,.12);
  border:1px solid rgba(122,162,255,.25);
  color:#cfe0ff;
  padding:4px 10px;border-radius:999px;font-size:12px;
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(255,107,107,.18);
  border:1px solid rgba(255,107,107,.55);
  color:#ffd1d1;
  font-size:12px;
  font-weight:800;
  vertical-align:middle;
}
.btn{
  appearance:none;border:1px solid rgba(34,48,66,.9);
  background:var(--panel2);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  min-height:44px;
  cursor:pointer;
  text-decoration:none;
}
.btn:not(:disabled):not(.btn-primary):hover{
  border-color:rgba(122,162,255,.35);
  background:rgba(122,162,255,.08);
}
.btn:not(:disabled):active{
  transform:translateY(1px);
}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn-primary{
  background:linear-gradient(180deg, rgba(122,162,255,.95), rgba(90,128,255,.92));
  border-color: rgba(122,162,255,.8);
  color:#08101b;
  font-weight:700;
}
.btn-primary:not(:disabled):hover{
  filter:saturate(1.05) brightness(1.02);
  border-color:rgba(122,162,255,.95);
  background:linear-gradient(180deg, rgba(122,162,255,.98), rgba(90,128,255,.95));
}
.btn-ghost{background:transparent;color:var(--muted)}
.btn-ghost:not(:disabled):hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
  border-color:rgba(34,48,66,.75);
}
.panel{
  background:rgba(17,24,33,.92);
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  padding:14px;
}
.home-filters{margin-top:16px}
.home-filters .filters__grid{align-items:end}
.home-filters__check{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
}
.home-filters-wrap{margin-top:16px}
.home-filters-sum{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  user-select:none;
  margin:16px 0 10px;
}
.home-filters-sum::-webkit-details-marker{display:none}
.home-filters-chev{
  width:10px;height:10px;display:inline-block;
  border-right:2px solid rgba(149,163,179,.75);
  border-bottom:2px solid rgba(149,163,179,.75);
  transform:rotate(-45deg);
  transition:transform .18s ease;
  margin-right:4px;
}
.home-filters-wrap[open] .home-filters-chev{transform:rotate(45deg)}
.home-filters-wrap .home-filters{margin-top:0}
@media (min-width:980px){
  .home-filters .filters__grid{
    grid-template-columns: 1.4fr 1.2fr 1.2fr 180px 180px 220px 160px;
  }
  .home-filters .field{margin-bottom:0}
}

/* Games calendar */
.games-cal__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.games-cal__title{font-weight:950}
.games-cal__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.games-cal__grid{margin-top:10px}
.games-cal__dow{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-bottom:8px}
.games-cal__body{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.games-cal__cell{
  border:1px solid rgba(34,48,66,.65);
  background:rgba(12,18,26,.35);
  border-radius:12px;
  min-height:46px;
  padding:8px;
  color:rgba(230,237,243,.92);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  cursor:pointer;
}
.games-cal__cell--dow{
  cursor:default;
  color:rgba(149,163,179,.92);
  background:transparent;
  border-color:transparent;
  min-height:auto;
  padding:0 4px;
}
.games-cal__cell.is-other{opacity:.45}
.games-cal__cell.has-games{border-color:rgba(122,162,255,.55);background:rgba(122,162,255,.10)}
.games-cal__cell:hover{border-color:rgba(122,162,255,.55);background:rgba(122,162,255,.10)}
.games-cal__day{font-weight:800}
.games-cal__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(122,162,255,.20);
  border:1px solid rgba(122,162,255,.55);
  color:#cfe0ff;
  font-size:12px;
  font-weight:900;
}
.games-cal-list__head{font-weight:950;margin-bottom:10px}
.games-cal-list__items{display:flex;flex-direction:column;gap:10px}
.games-cal-item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(34,48,66,.65);
  background:rgba(12,18,26,.28);
  text-decoration:none;
}
.games-cal-item:hover{border-color:rgba(122,162,255,.45);background:rgba(122,162,255,.08)}
.games-cal-item__cover{width:100%;height:80px;object-fit:cover;object-position:center;border-radius:12px;display:block}
.games-cal-item__body{min-width:0}
.games-cal-item__meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.games-cal-item__title{font-weight:950;margin-top:8px;line-height:1.15}
.games-cal-item__row{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-top:8px}

/* Games browse layout + tabs */
.tabs{
  display:flex;
  gap:10px;
  align-items:center;
  margin:12px 0;
}
.tabs__item{
  appearance:none;
  border:1px solid rgba(34,48,66,.85);
  background:rgba(15,21,29,.55);
  color:rgba(230,237,243,.86);
  padding:10px 12px;
  border-radius:999px;
  min-height:40px;
  cursor:pointer;
}
.tabs__item:hover{border-color:rgba(122,162,255,.35);background:rgba(122,162,255,.08);color:rgba(230,237,243,.95)}
.tabs__item.is-active{
  background:rgba(122,162,255,.14);
  border-color:rgba(122,162,255,.65);
  color:#e6edf3;
  font-weight:900;
}
.browse-layout{display:grid;gap:14px}
@media (min-width:980px){
  .browse-layout{grid-template-columns: 300px 1fr;align-items:start}
  .browse-side{position:sticky;top:78px}
}
.browse-main{min-width:0}

/* When calendar tab is active, calendar should be full width */
body.games-view-calendar .browse-layout{
  grid-template-columns: 1fr !important;
}

/* Browse filters should be vertical (left column) */
.browse-side .home-filters{margin-top:0}
.browse-side .home-filters .filters__grid{
  grid-template-columns:1fr !important;
  align-items:stretch;
}
.browse-side .home-filters .field{margin-bottom:8px}
.browse-side .home-filters__btn{margin-top:2px}
.browse-side .home-filters__free{margin-bottom:4px}
.browse-side .home-filters__btn .field__label{display:none}
.browse-side .home-filters__btn{margin-top:0}
.browse-side .home-filters .field__label{font-size:12px}
.browse-side .home-filters .field__input{
  padding:10px 12px;
  min-height:40px;
}
.browse-side .home-filters .btn{
  min-height:40px;
  padding:9px 12px;
}

/* force 2 cards per row on /games */
.browse-grid{grid-template-columns:1fr}
@media (min-width:720px){
  .browse-grid{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:980px){
  .browse-grid{grid-template-columns:repeat(2,1fr)}
}
.filters__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
@media (min-width:720px){
  .filters__grid{grid-template-columns: repeat(2, 1fr)}
}
@media (min-width:980px){
  .filters__grid{grid-template-columns: repeat(4, 1fr)}
}
.filters select.field__input{
  appearance:none;
}
.field__input textarea,
textarea.field__input{
  resize:vertical;
}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.field__label{font-size:13px;color:var(--muted)}
.field__input{
  width:100%;
  background:#0c121a;
  border:1px solid rgba(34,48,66,.8);
  color:var(--text);
  border-radius:12px;
  padding:12px;
  min-height:44px;
}
.notice{
  background:rgba(17,24,33,.92);
  border:1px dashed rgba(34,48,66,.9);
  border-radius:14px;
  padding:12px;
}
.notice--danger{border-color:rgba(255,107,107,.7);color:#ffd1d1}
.game{display:grid;grid-template-columns:1fr;gap:14px}
@media (min-width:860px){.game{grid-template-columns: 380px 1fr}}
.game__cover img{
  width:100%;border-radius:14px;border:1px solid rgba(34,48,66,.7);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.game__meta{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.kv{margin-top:12px;border-top:1px solid rgba(34,48,66,.6);padding-top:12px}
.kv__row{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px;align-items:center}

/* Slots occupied by games (admin calendar/list) */
.cal__pill.is-busy,
.list__item.is-busy{
  border-color:rgba(255,107,107,.55)!important;
  background:rgba(255,107,107,.10)!important;
}
.comments{margin-top:18px}

/* Hours table (admin + public) */
.hours{
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  overflow:hidden;
  background:rgba(12,18,26,.55);
}
.hours__row{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border-bottom:1px solid rgba(34,48,66,.35);
}
.hours__row:last-child{border-bottom:0}
.hours__day{color:var(--muted);font-weight:700}
.hours__controls{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.hours__time{
  width:120px;
  padding:10px 12px;
  min-height:40px;
}
.hours__sep{color:var(--muted)}
.hours__closed{display:flex;gap:8px;align-items:center;color:var(--muted);white-space:nowrap}
.hours__row.is-closed .hours__time{opacity:.45;pointer-events:none}
.hours__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(17,24,33,.9);
  color:var(--muted);
  font-size:12px;
}

/* Hall gallery */
.hall{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hall__main{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(34,48,66,.7);
  background:#0a0d12;
  aspect-ratio:16/10;
}
.hall__main img{width:100%;height:100%;object-fit:cover;display:block;opacity:.96}
.hall__thumbs{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:8px;
}
.hall__thumb{
  display:block;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(34,48,66,.7);
  background:#0a0d12;
  aspect-ratio:16/10;
}
.hall__thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.hall__thumb--more{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:900;
  letter-spacing:.3px;
  background:rgba(12,18,26,.75);
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.lightbox[hidden]{display:none}
.lightbox__panel{
  width:min(980px, 100%);
  background:rgba(17,24,33,.92);
  border:1px solid rgba(34,48,66,.85);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.lightbox__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid rgba(34,48,66,.6);
  color:var(--muted);
  font-size:13px;
}
.lightbox__body{
  position:relative;
  background:#0a0d12;
}
.lightbox__img{
  width:100%;
  height:min(70vh, 640px);
  object-fit:contain;
  display:block;
}
.lightbox__nav{
  position:absolute;
  top:0;bottom:0;
  width:25%;
  border:0;
  background:transparent;
  cursor:pointer;
}
.lightbox__nav:hover{background:linear-gradient(90deg, rgba(122,162,255,.12), transparent)}
.lightbox__nav--prev{left:0}
.lightbox__nav--next{right:0}
.lightbox__nav--next:hover{background:linear-gradient(-90deg, rgba(122,162,255,.12), transparent)}
.lightbox__x{
  border:1px solid rgba(34,48,66,.9);
  background:rgba(12,18,26,.7);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  min-height:36px;
}

/* Admin calendar */
.cal{
  background:rgba(17,24,33,.92);
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  overflow:hidden;
}
.cal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid rgba(34,48,66,.45);
}
.cal__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal__dow{
  padding:10px 12px;
  color:var(--muted);
  font-size:12px;
  border-bottom:1px solid rgba(34,48,66,.35);
  background:rgba(12,18,26,.35);
}
.cal__cell{
  min-height:86px;
  padding:38px 10px 12px;
  border-right:1px solid rgba(34,48,66,.22);
  border-bottom:1px solid rgba(34,48,66,.22);
  position:relative;
  background:rgba(12,18,26,.15);
  text-align:left;
}
.cal__cell:nth-child(7n){border-right:0}
.cal__cell:hover{background:rgba(12,18,26,.45)}
.cal__cell.is-out{opacity:.45}
.cal__cell.is-today{outline:2px solid rgba(85,242,192,.22);outline-offset:-2px}
.cal__day{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:10px;
  font-weight:950;
  font-size:12px;
  letter-spacing:.2px;
  color:rgba(230,237,243,.86);
  background:rgba(17,24,33,.55);
  border:1px solid rgba(34,48,66,.55);
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
}
.cal__cell.is-today .cal__day{
  border-color:rgba(85,242,192,.45);
  background:rgba(85,242,192,.08);
  color:#c9fff0;
}
.cal__pill{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(122,162,255,.28);
  background:rgba(122,162,255,.10);
  color:#cfe0ff;
  font-size:12px;
  text-decoration:none;
  max-width:100%;
}
.cal__pill.is-selected{
  border-color:rgba(85,242,192,.55);
  background:rgba(85,242,192,.10);
  color:#c9fff0;
}
.cal__pill:hover{background:rgba(122,162,255,.16)}
.cal__pill .muted{color:inherit;opacity:.85}
.cal__toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.seg{
  display:inline-flex;
  border:1px solid rgba(34,48,66,.9);
  border-radius:12px;
  overflow:hidden;
}
.seg a{
  padding:10px 12px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:var(--muted);
  background:rgba(12,18,26,.35);
}
.seg a:hover{color:var(--text)}
.seg a.is-active{
  color:#08101b;
  background:linear-gradient(180deg, rgba(122,162,255,.95), rgba(90,128,255,.92));
}

/* Admin patterns */
.pagehead{
  background:rgba(17,24,33,.92);
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  padding:14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin:16px 0 12px;
}
.pagehead__title{margin:0;font-size:20px}
.pagehead__subtitle{margin-top:6px;color:var(--muted);font-size:13px}
.pagehead__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}

.list{
  background:rgba(17,24,33,.92);
  border:1px solid rgba(34,48,66,.7);
  border-radius:14px;
  overflow:visible; /* allow dropdown menus */
}
.list__item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border-bottom:1px solid rgba(34,48,66,.35);
  position:relative; /* dropdown anchor */
}
.list__item:hover{
  background:rgba(12,18,26,.55);
}
.list__item:focus-within{
  outline:2px solid rgba(122,162,255,.25);
  outline-offset:-2px;
}
.list__item:last-child{border-bottom:0}
.list__main{min-width:0}
.list__title{font-weight:800}
.list__title a{color:inherit;text-decoration:none}
.list__title a:hover{color:var(--text);text-decoration:none}
.list__meta{margin-top:6px;color:var(--muted);font-size:13px}
.list__right{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}

.dropdown{
  position:relative;
}
.dropdown > summary{
  list-style:none;
  cursor:pointer;
}
.dropdown > summary::-webkit-details-marker{display:none}
.dropdown__menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:200px;
  background:rgba(12,18,26,.98);
  border:1px solid rgba(34,48,66,.8);
  border-radius:14px;
  padding:8px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  z-index:100;
}
.dropdown__menu a,
.dropdown__menu button{
  display:block;
  width:100%;
  text-align:left;
  padding:10px 10px;
  border-radius:12px;
  border:0;
  background:transparent;
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
}
.dropdown__menu a:hover,
.dropdown__menu button:hover{
  background:rgba(122,162,255,.10);
}

/* Bot widget */
.bot{position:fixed;right:14px;bottom:14px;z-index:20}
.bot__fab{
  width:52px;height:52px;border-radius:999px;
  background:linear-gradient(180deg, rgba(85,242,192,.95), rgba(60,204,164,.92));
  border:1px solid rgba(85,242,192,.8);
  color:#07110e;font-weight:900;font-size:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.bot__fab:hover{filter:brightness(1.03)}
.bot__fab:active{transform:translateY(1px)}
.bot__panel{
  width:min(360px, calc(100vw - 28px));
  margin-bottom:10px;
  background:rgba(17,24,33,.96);
  border:1px solid rgba(34,48,66,.8);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.bot__header{
  padding:10px 12px;
  border-bottom:1px solid rgba(34,48,66,.6);
  color:rgba(230,237,243,.88);
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:linear-gradient(180deg, rgba(12,18,26,.55), rgba(12,18,26,.15));
}
.bot__title{font-weight:950;letter-spacing:.2px}
.bot__hint{color:var(--muted);font-size:12px}
.bot__log{padding:12px;max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:10px}
.bot__msg{
  border:1px solid rgba(34,48,66,.6);
  border-radius:14px;
  padding:10px 11px;
  background:rgba(12,18,26,.72);
  color:rgba(230,237,243,.92);
  line-height:1.35;
  white-space:pre-wrap;
}
.bot__msg--me{
  border-color:rgba(122,162,255,.45);
  background:rgba(122,162,255,.10);
}
.bot__form{display:flex;gap:10px;padding:12px;border-top:1px solid rgba(34,48,66,.6);background:rgba(12,18,26,.25)}
.bot__input{
  flex:1;min-width:0;
  appearance:none;
  border:1px solid rgba(34,48,66,.75);
  background:rgba(12,18,26,.55);
  color:rgba(230,237,243,.9);
  border-radius:12px;
  padding:10px 12px;
  min-height:40px;
}
.bot__input::placeholder{color:rgba(230,237,243,.55)}
.bot__send{min-height:40px;white-space:nowrap}
.bot__actions{display:flex;gap:10px;flex-wrap:wrap}
