
:root{
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface-soft:#fbfbfe;
  --line:#e7e9f1;
  --line-strong:#dce0e9;
  --text:#202534;
  --muted:#727d8d;
  --muted-2:#929cab;
  --purple:#6f4cf5;
  --purple-2:#835af6;
  --purple-soft:#f0ecff;
  --amber:#f4a71d;
  --amber-soft:#fff4df;
  --green:#1fac68;
  --blue:#4d88ec;
  --pink:#dc67ae;
  --shadow:0 10px 30px rgba(43,49,76,.065);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
html,body,button,input,select,textarea{font-family:"Noto Sans Thai",sans-serif}
body{
  min-height:100vh;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  font-weight:400;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font-size:15px}
h1,h2,h3,h4,h5,h6{font-weight:600;letter-spacing:-.02em}
strong,b{font-weight:600}

/* shell */
.community-shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}
.left-sidebar{
  position:sticky;top:0;height:100vh;
  padding:18px 14px;
  display:flex;flex-direction:column;justify-content:space-between;
  background:#fff;border-right:1px solid var(--line)
}
.brand{height:64px;display:flex;align-items:center;gap:10px;padding:5px 8px 13px}
.brand img{max-width:178px;max-height:48px;object-fit:contain}
.brand-mark{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:#171c28;color:#fff;border:3px solid var(--amber);
  font-size:20px;font-weight:700
}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:19px;font-weight:700}
.brand-copy strong span{color:var(--amber)}
.brand-copy small{font-size:10px;color:var(--muted-2);margin-top:5px}

.main-nav{display:grid;gap:6px;margin-top:8px}
.main-nav a{
  min-height:47px;
  display:flex;align-items:center;gap:11px;
  padding:0 12px;border-radius:12px;
  color:#3c4554;font-size:14px;font-weight:500;
  transition:.18s ease
}
.main-nav a:hover{background:#f7f7fb}
.main-nav a.active{background:var(--purple-soft);color:var(--purple)}
.nav-icon{
  width:29px;height:29px;border-radius:9px;
  display:grid;place-items:center;background:#f7f8fb;
  color:#4a5363;font-size:11px
}
.main-nav a.active .nav-icon{background:#e7e0ff;color:var(--purple)}

.sidebar-bottom{display:grid;gap:10px}
.robux-side-cta{
  min-height:45px;display:flex;align-items:center;justify-content:center;gap:7px;
  border-radius:12px;background:linear-gradient(135deg,var(--purple),var(--purple-2));
  color:#fff;font-size:13px;font-weight:600;box-shadow:0 8px 20px rgba(111,76,245,.17)
}
.login-side-card{
  display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;
  padding:10px;border:1px solid var(--line);border-radius:13px;background:#fff
}
.login-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f0f2f7;color:#5a6472;font-size:12px}
.login-side-card strong{display:block;font-size:12px}
.login-side-card small{display:block;font-size:10px;color:var(--muted-2);margin-top:1px}

.site-main{min-width:0}
.topbar{
  height:72px;display:flex;align-items:center;gap:14px;
  padding:0 24px;position:sticky;top:0;z-index:70;
  background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);
  backdrop-filter:blur(16px)
}
.menu-toggle{
  display:none;width:42px;height:42px;border-radius:11px;
  border:1px solid var(--line);background:#fff;color:#333
}
.top-search{
  flex:1;max-width:590px;height:44px;
  display:flex;align-items:center;gap:10px;
  padding:0 15px;border-radius:23px;
  border:1px solid var(--line-strong);background:#fff
}
.top-search>span{color:#7b8595;font-size:16px}
.top-search input{width:100%;border:0;outline:0;color:#303746;background:transparent;font-size:14px}
.top-search input::placeholder{color:#9aa3b2}

.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.create-post{
  min-height:42px;display:flex;align-items:center;gap:5px;
  padding:0 17px;border-radius:21px;
  background:linear-gradient(135deg,var(--purple),#884ff5);
  color:#fff;font-size:13px;font-weight:600
}
.top-icon{
  width:41px;height:41px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--line);background:#fff;color:#606979
}
.account-chip{
  min-height:44px;display:flex;align-items:center;gap:9px;
  padding:4px 11px 4px 4px;border-radius:22px;background:#fff
}
.account-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#22283a;color:#fff;font-size:11px}
.account-copy{display:flex;flex-direction:column;line-height:1.15}
.account-copy strong{font-size:11px}
.account-copy small{font-size:9px;color:var(--muted-2);margin-top:2px}

.page-content{width:100%;max-width:1420px;margin:0 auto;padding:22px 24px 44px}

/* homepage */
.home-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}
.home-center{min-width:0;display:grid;gap:18px}
.right-rail{display:grid;align-content:start;gap:18px}

.hero-slider{
  position:relative;overflow:hidden;
  border-radius:20px;background:#e7e9ff;box-shadow:var(--shadow)
}
.slides{display:flex;transition:transform .72s cubic-bezier(.2,.8,.2,1)}
.slide{position:relative;min-width:100%;height:360px;overflow:hidden}
.slide>img{width:100%;height:100%;object-fit:cover;display:block}
.banner-click-layer{position:absolute;inset:0;z-index:2}
.hero-overlay{
  position:absolute;inset:0;z-index:3;
  background:linear-gradient(90deg,rgba(250,251,255,.96),rgba(250,251,255,.70) 43%,rgba(250,251,255,.02) 74%)
}
.hero-no-banner{
  background:
    radial-gradient(circle at 77% 42%,rgba(111,76,245,.20),transparent 22%),
    radial-gradient(circle at 89% 72%,rgba(244,167,29,.20),transparent 18%),
    linear-gradient(135deg,#e8e9ff,#f5eefe 58%,#fff4df)
}
.hero-shapes{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:300px;height:240px}
.hero-shapes span{position:absolute;border-radius:38% 62% 60% 40%;background:linear-gradient(145deg,#8d69fb,#6844ef);opacity:.9}
.hero-shapes span:nth-child(1){width:160px;height:160px;right:60px;top:16px}
.hero-shapes span:nth-child(2){width:86px;height:86px;right:5px;bottom:18px;background:linear-gradient(145deg,#ffc853,#f0a31b)}
.hero-shapes span:nth-child(3){width:66px;height:66px;left:25px;bottom:2px;background:linear-gradient(145deg,#75a5f7,#4d83e8)}

.hero-copy{position:absolute;left:40px;top:50%;transform:translateY(-50%);z-index:4;max-width:470px}
.hero-label{
  display:inline-flex;padding:6px 9px;border-radius:999px;
  background:rgba(111,76,245,.10);color:var(--purple);
  font-size:10px;font-weight:600;letter-spacing:.09em
}
.hero-title{
  margin:11px 0 10px;
  font-size:44px;line-height:1.18;font-weight:700;color:#151925;letter-spacing:-.04em
}
.hero-copy p{margin:0;max-width:430px;color:#4d5868;font-size:15px;line-height:1.8}
.hero-cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;margin-top:20px;padding:0 20px;border-radius:21px;
  background:linear-gradient(135deg,var(--purple),#8755f4);
  color:#fff;font-size:13px;font-weight:600;box-shadow:0 9px 22px rgba(111,76,245,.17)
}
.slider-dots{position:absolute;left:40px;bottom:15px;display:flex;gap:5px;z-index:5}
.slider-dots button{border:0;width:7px;height:7px;border-radius:50%;padding:0;background:rgba(70,76,94,.28)}
.slider-dots button.active{width:24px;border-radius:6px;background:var(--purple)}

.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.quick-grid>a{
  min-height:84px;display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:center;
  padding:13px;background:#fff;border:1px solid var(--line);border-radius:15px;
  box-shadow:0 5px 18px rgba(40,47,76,.035);transition:.18s ease
}
.quick-grid>a:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.quick-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:14px;font-weight:600}
.violet{background:#f0ebff;color:var(--purple)}
.blue{background:#ebf3ff;color:var(--blue)}
.pink{background:#fff0f8;color:var(--pink)}
.amber{background:var(--amber-soft);color:#d88f09}
.quick-grid strong{display:block;font-size:13px}
.quick-grid small{display:block;font-size:10.5px;color:var(--muted-2);margin-top:2px}

.panel,.activity-panel,.seo-panel,.rail-card,.chat-workspace,.find-games-section{
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:0 5px 18px rgba(40,47,76,.035)
}
.panel{padding:16px}
.panel-heading,.section-title-row{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px
}
.panel-heading span,.section-title-row .eyebrow{font-size:9px;letter-spacing:.10em;color:#9b8ed4}
.panel-heading h2,.section-title-row h2{margin:2px 0 0;font-size:20px;font-weight:600}
.panel-heading>a{font-size:11px;color:var(--purple);font-weight:500}

/* real Roblox API game thumbnails */
.game-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.game-item{text-align:center;min-width:0}
.game-item img{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%;display:block;
  background:#f1f2f7;border:4px solid #fff;box-shadow:0 4px 16px rgba(40,47,76,.10)
}
.game-item strong{display:block;margin-top:8px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-item small{display:block;font-size:10px;color:var(--muted-2);margin-top:2px}

/* product cards: no fabricated image; square visual tile */
.product-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.product-card{
  overflow:hidden;display:flex;flex-direction:column;min-width:0;
  background:#fff;border:1px solid var(--line);border-radius:14px;transition:.18s ease
}
.product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.product-visual{
  position:relative;width:100%;aspect-ratio:1/1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 42% 35%,rgba(255,255,255,.65),transparent 28%),
    linear-gradient(145deg,#fff6df,#f6b438 52%,#dfa01f)
}
.product-visual:before{
  content:"";position:absolute;width:48%;height:48%;border-radius:50%;
  border:14px solid rgba(255,255,255,.64);box-shadow:inset 0 0 0 10px rgba(112,75,8,.15)
}
.product-visual .robux-symbol,.product-visual>strong{position:relative;z-index:2;color:#563904;text-shadow:0 1px 0 rgba(255,255,255,.3)}
.robux-symbol{font-size:12px;font-weight:700}
.product-visual>strong{font-size:28px;line-height:1;margin-top:2px}
.discount-badge{
  position:absolute;right:8px;top:8px;z-index:3;
  padding:4px 7px;border-radius:999px;background:#6f4cf5;color:#fff;font-size:8px;font-weight:700
}
.product-body{display:flex;flex:1;flex-direction:column;padding:10px 11px 11px}
.product-kicker{font-size:9px;color:#9d89e6}
.product-body h3{margin:2px 0 7px;font-size:12px;font-weight:600}
.price-row{display:flex;align-items:baseline;gap:6px;margin-bottom:8px}
.price-row strong{font-size:17px;color:#e4960b}
.price-row span{font-size:9px;color:var(--muted-2);text-decoration:line-through}
.product-action{
  margin-top:auto;min-height:33px;display:flex;align-items:center;justify-content:center;
  border-radius:8px;background:#f3f0ff;color:var(--purple);font-size:10px;font-weight:600
}

.activity-panel{padding:16px}
.activity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.activity-grid>a{
  min-height:108px;display:flex;flex-direction:column;padding:13px;border-radius:13px;
  background:linear-gradient(135deg,#f4edff,#fff)
}
.activity-grid>a:nth-child(2){background:linear-gradient(135deg,#e9f8f1,#fff)}
.activity-grid>a:nth-child(3){background:linear-gradient(135deg,#eef2ff,#fff)}
.activity-grid>a:nth-child(4){background:linear-gradient(135deg,#fff1d7,#fff)}
.activity-grid span{font-size:9px;color:#746893}
.activity-grid strong{display:block;font-size:12px;margin-top:5px}
.activity-grid small{display:block;margin-top:auto;color:var(--muted);font-size:10px}

.rail-card{padding:16px}
.rail-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.rail-heading h3{margin:0;font-size:15px}
.rail-heading span{font-size:9px;color:var(--muted-2)}
.room-list{display:grid;gap:9px}
.room-row{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;padding:6px;border-radius:10px}
.room-row:hover{background:#f8f8fc}
.room-row img{width:42px;height:42px;border-radius:11px;object-fit:cover;background:#f1f2f7}
.room-row strong{display:block;font-size:11px}
.room-row small{display:block;font-size:9px;color:var(--muted-2)}
.room-row>span{color:var(--purple);font-size:11px}
.rail-button{
  min-height:36px;margin-top:12px;display:flex;align-items:center;justify-content:center;
  border:1px solid #d9d0ff;border-radius:10px;color:var(--purple);font-size:10px;font-weight:600
}
.login-community-card{text-align:center;padding:22px 17px}
.community-orb{
  width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;
  background:var(--purple-soft);color:var(--purple);font-size:16px;font-weight:700
}
.login-community-card h3{margin:0;font-size:14px}
.login-community-card p{margin:7px 0 13px;color:var(--muted);font-size:10.5px;line-height:1.75}
.login-community-card a{
  min-height:36px;display:flex;align-items:center;justify-content:center;border-radius:10px;
  background:var(--purple);color:#fff;font-size:10px;font-weight:600
}

/* homepage SEO: actual H1 lives here */
.seo-panel{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);
  gap:21px;padding:19px
}
.eyebrow{font-size:9px;letter-spacing:.11em;color:#9785df}
.homepage-seo h1,.seo-panel-copy h1{
  margin:5px 0 8px;font-size:23px;line-height:1.35;font-weight:600;color:#202534
}
.seo-panel-copy h2{margin:5px 0 8px;font-size:21px;font-weight:600}
.seo-panel-copy p{margin:0;max-width:76ch;color:var(--muted);font-size:12.5px;line-height:1.9}
.seo-link-list{display:grid;gap:8px}
.seo-link-list a{
  display:grid;grid-template-columns:1fr auto;column-gap:8px;
  padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fbfbfe
}
.seo-link-list strong{font-size:11px}
.seo-link-list span{grid-column:1/2;font-size:9px;color:var(--muted-2)}
.seo-link-list b{grid-column:2/3;grid-row:1/3;align-self:center;color:var(--purple);font-size:9px}

/* generic pages */
.page-hero,.surface,.market-card,.article-grid>a,.avatar-showcase>article,.notice-box,.seo-link-hub{
  background:#fff!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:none!important
}
.page-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  padding:23px 25px;margin-bottom:16px
}
.page-hero h1{margin:5px 0 7px;font-size:34px;font-weight:650;line-height:1.2}
.page-hero p{margin:0;color:var(--muted);font-size:13px;max-width:760px}
.page-hero.compact h1{font-size:30px}
.btn{
  min-height:40px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 15px;border:1px solid var(--line);border-radius:10px;background:#fff;
  font-size:12px;font-weight:600
}
.btn.primary{border-color:transparent;background:var(--purple);color:#fff}
.surface{padding:19px}

.game-grid,.market-grid,.article-grid,.avatar-showcase{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px
}
.market-card,.article-grid>a,.avatar-showcase>article{
  padding:13px;background:#fff;border:1px solid var(--line);border-radius:14px
}
.game-cover{
  height:120px;border-radius:11px;display:grid;place-items:center;
  background:linear-gradient(135deg,#eee9ff,#d9d0ff);color:var(--purple);font-size:24px
}
.market-card h3,.article-grid h3{font-size:13px}
.article-grid p,.prose,.faq-list p,.seo-longform p{color:var(--muted);font-size:13px;line-height:1.9}
.article-grid span,.prose a,.seo-longform a{color:var(--purple)}
.empty-state{text-align:center;padding:42px 20px}
.empty-state p{color:var(--muted);font-size:13px}
.avatar-placeholder{
  width:105px;height:105px;border-radius:50%;margin:0 auto 10px;
  display:grid;place-items:center;background:#f0ecff;color:var(--purple);font-size:26px
}
.faq-list details{border-bottom:1px solid var(--line);padding:12px 0}
.faq-list summary{cursor:pointer;font-size:13px;font-weight:600}
.notice-box{padding:15px}
.seo-longform h2{font-size:20px;margin:23px 0 7px}
.seo-link-hub{padding:15px;margin:15px 0}
.seo-link-hub-title h2{font-size:18px;margin:3px 0 9px}
.seo-link-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.seo-link-hub-grid a{padding:9px;border:1px solid var(--line);border-radius:10px;background:#fbfbfe}
.seo-link-hub-grid strong{display:block;font-size:11px}
.seo-link-hub-grid span{display:block;font-size:9px;color:var(--muted-2)}

/* FIND FRIENDS — chat first */
.chat-workspace{
  display:grid;grid-template-columns:260px minmax(0,1fr);
  min-height:520px;overflow:hidden;margin-bottom:18px
}
.chat-channel-list{padding:14px;border-right:1px solid var(--line);background:#fcfcff}
.chat-section-title{padding:4px 5px 12px}
.chat-section-title strong{display:block;font-size:13px}
.chat-section-title small{display:block;font-size:10px;color:var(--muted-2);margin-top:2px}
.chat-channel{
  display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:center;
  padding:8px;border-radius:11px;margin-bottom:4px
}
.chat-channel:hover{background:#f6f4ff}
.chat-channel.active{background:var(--purple-soft)}
.chat-channel img{width:46px;height:46px;object-fit:cover;border-radius:11px;background:#f1f2f7}
.chat-channel strong{display:block;font-size:11.5px}
.chat-channel small{display:block;font-size:9px;color:var(--muted-2);margin-top:1px}
.chat-panel{display:flex;flex-direction:column;min-width:0}
.chat-header{
  min-height:67px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:0 18px;border-bottom:1px solid var(--line)
}
.chat-header strong{display:block;font-size:14px}
.chat-header small{display:block;font-size:10px;color:var(--muted-2);margin-top:1px}
.chat-status{padding:5px 8px;border-radius:999px;background:#f4f5f8;color:#7f8998;font-size:9px}
.chat-empty{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:34px
}
.chat-empty-icon{
  width:62px;height:62px;border-radius:19px;
  display:grid;place-items:center;background:var(--purple-soft);font-size:25px
}
.chat-empty h2{margin:13px 0 6px;font-size:20px}
.chat-empty p{max-width:530px;margin:0 0 15px;color:var(--muted);font-size:12px;line-height:1.8}
.chat-composer{
  display:grid;grid-template-columns:1fr 72px;gap:8px;
  padding:12px;border-top:1px solid var(--line)
}
.chat-composer input{
  height:40px;border:1px solid var(--line);border-radius:11px;padding:0 12px;background:#f7f8fb;color:#9aa3b2
}
.chat-composer button{border:0;border-radius:10px;background:#e9eaf0;color:#9aa3b2}
.find-games-section{padding:17px;margin-bottom:18px}
.friend-game-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px
}
.friend-game-card{
  min-width:0;overflow:hidden;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:14px
}
.friend-game-image{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#f1f2f7}
.friend-game-image img{width:100%;height:100%;object-fit:cover;display:block}
.friend-game-body{display:flex;flex:1;flex-direction:column;padding:11px}
.friend-game-body h3{margin:0;font-size:12px}
.friend-game-body p{margin:5px 0 9px;color:var(--muted);font-size:10px;line-height:1.6}
.friend-game-body>a{margin-top:auto;color:var(--purple);font-size:10px;font-weight:600}

/* footer */
.site-footer-new{
  display:grid;grid-template-columns:1.4fr repeat(3,1fr);
  gap:20px;margin:28px 24px 0;padding:22px 0 30px;border-top:1px solid var(--line)
}
.site-footer-new>div{display:flex;flex-direction:column;gap:6px}
.site-footer-new strong{font-size:11px}
.site-footer-new a{font-size:10px;color:var(--muted)}
.footer-brand strong{font-size:16px}
.footer-brand p{margin:3px 0 0;max-width:240px;color:var(--muted-2);font-size:10px}
.mobile-bottom-nav{display:none}

/* responsive */
@media(max-width:1200px){
  .home-dashboard{grid-template-columns:1fr}
  .right-rail{grid-template-columns:1fr 1fr}
  .friend-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:960px){
  .community-shell{grid-template-columns:1fr}
  .left-sidebar{
    position:fixed;left:0;top:0;bottom:0;width:240px;z-index:120;
    transform:translateX(-105%);transition:.22s ease
  }
  .left-sidebar.open{transform:translateX(0)}
  .menu-toggle{display:block}
  .page-content{padding:16px 14px 84px}
  .topbar{padding:0 14px}
  .create-post span{display:none}
  .quick-grid{grid-template-columns:repeat(2,1fr)}
  .activity-grid{grid-template-columns:repeat(2,1fr)}
  .right-rail{grid-template-columns:1fr}
  .chat-workspace{grid-template-columns:220px minmax(0,1fr)}
  .game-grid,.market-grid,.article-grid,.avatar-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-link-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-bottom-nav{
    display:grid;grid-template-columns:repeat(5,1fr);
    position:fixed;left:10px;right:10px;bottom:8px;z-index:100;
    min-height:60px;padding:5px;border-radius:18px;
    background:rgba(255,255,255,.95);border:1px solid var(--line);
    box-shadow:0 14px 38px rgba(44,48,73,.14);backdrop-filter:blur(16px)
  }
  .mobile-bottom-nav a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:1px;border-radius:12px;color:#9aa3b2
  }
  .mobile-bottom-nav a.active{background:var(--purple-soft);color:var(--purple)}
  .mobile-bottom-nav span{font-size:12px}
  .mobile-bottom-nav small{font-size:8px}
}
@media(max-width:720px){
  body{font-size:15px}
  .topbar{height:62px}
  .top-search{height:39px}
  .top-icon{display:none}
  .account-copy{display:none}
  .account-chip{padding-right:4px}
  .page-content{padding:13px 11px 82px}

  .slide{height:320px}
  .hero-copy{left:20px;right:20px;max-width:290px}
  .hero-title{font-size:31px}
  .hero-copy p{font-size:12px}
  .hero-cta{min-height:37px;font-size:10.5px}
  .hero-shapes{opacity:.35;right:-25px}

  .quick-grid{gap:8px}
  .quick-grid>a{min-height:68px;padding:9px;grid-template-columns:34px 1fr}
  .quick-icon{width:34px;height:34px;border-radius:10px;font-size:11px}
  .quick-grid strong{font-size:10.5px}
  .quick-grid small{font-size:8.5px}

  .game-list{
    display:flex;overflow-x:auto;gap:10px;
    scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:2px
  }
  .game-list::-webkit-scrollbar{display:none}
  .game-item{flex:0 0 27%;scroll-snap-align:start}
  .game-item strong{font-size:9px}
  .game-item small{font-size:7.5px}

  /* 3 product cards visible on mobile + smooth swipe */
  .product-rail{
    display:flex;overflow-x:auto;gap:6px;
    scroll-snap-type:x mandatory;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;padding-bottom:3px
  }
  .product-rail::-webkit-scrollbar{display:none}
  .product-card{flex:0 0 calc((100% - 12px)/3);scroll-snap-align:start;border-radius:10px}
  .product-body{padding:7px 6px}
  .product-kicker{font-size:6.5px}
  .product-body h3{font-size:8px;margin:1px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .price-row{gap:3px;margin-bottom:4px;flex-wrap:wrap}
  .price-row strong{font-size:11px}
  .price-row span{font-size:6px}
  .product-action{min-height:26px;border-radius:6px;font-size:6.8px}
  .product-visual .robux-symbol{font-size:7px}
  .product-visual>strong{font-size:17px}
  .product-visual:before{border-width:7px;box-shadow:inset 0 0 0 5px rgba(112,75,8,.15)}
  .discount-badge{right:4px;top:4px;padding:2px 4px;font-size:5.5px}

  .panel{padding:12px}
  .panel-heading h2,.section-title-row h2{font-size:16px}
  .activity-grid{gap:7px}
  .activity-grid>a{min-height:91px;padding:9px}
  .seo-panel{grid-template-columns:1fr;padding:16px}
  .homepage-seo h1{font-size:19px}

  /* chat becomes stacked */
  .chat-workspace{grid-template-columns:1fr;min-height:auto}
  .chat-channel-list{
    border-right:0;border-bottom:1px solid var(--line);
    display:flex;gap:7px;overflow-x:auto;padding:10px;scrollbar-width:none
  }
  .chat-channel-list::-webkit-scrollbar{display:none}
  .chat-section-title{display:none}
  .chat-channel{
    flex:0 0 155px;grid-template-columns:38px 1fr;
    margin:0;padding:7px;border:1px solid var(--line)
  }
  .chat-channel img{width:38px;height:38px;border-radius:9px}
  .chat-channel strong{font-size:9px}
  .chat-channel small{font-size:7.5px}
  .chat-header{min-height:58px;padding:0 12px}
  .chat-header strong{font-size:12px}
  .chat-header small{font-size:8px}
  .chat-status{font-size:7px}
  .chat-empty{min-height:270px;padding:25px 14px}
  .chat-empty h2{font-size:17px}
  .chat-empty p{font-size:10px}
  .chat-composer{grid-template-columns:1fr 60px;padding:9px}
  .chat-composer input{height:36px;font-size:10px}

  .friend-game-grid{
    display:flex;overflow-x:auto;gap:7px;
    scroll-snap-type:x mandatory;scrollbar-width:none
  }
  .friend-game-grid::-webkit-scrollbar{display:none}
  .friend-game-card{flex:0 0 42%;scroll-snap-align:start}
  .friend-game-body{padding:8px}
  .friend-game-body h3{font-size:9.5px}
  .friend-game-body p{font-size:8px}
  .friend-game-body>a{font-size:8px}

  .game-grid,.market-grid,.article-grid,.avatar-showcase{grid-template-columns:1fr}
  .seo-link-hub-grid{grid-template-columns:1fr}
  .site-footer-new{grid-template-columns:1fr 1fr;margin:20px 12px 0}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:440px){
  .top-search{display:none}
  .hero-title{font-size:28px}
  .game-item{flex-basis:30%}
  .friend-game-card{flex-basis:44%}
}


/* =========================================================
   RobuxTH v3.2.0 refinement
   ========================================================= */

body{font-size:16px}
.panel-title,.section-display-title,.rail-title{font-weight:600;color:var(--text);letter-spacing:-.02em}
.panel-title,.section-display-title{font-size:20px}
.rail-title{font-size:15px}
.account-avatar-img{width:36px;height:36px;border-radius:50%;object-fit:cover;display:block;background:#f1f2f7}

/* Homepage heading hierarchy */
.home-dashboard .panel-heading h2,
.home-dashboard .rail-heading h3{display:none}

/* Horizontal rails */
.game-horizontal-rail,.product-rail,.all-games-rail{
  display:flex;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;
  scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;
  overscroll-behavior-inline:contain
}
.game-horizontal-rail::-webkit-scrollbar,.product-rail::-webkit-scrollbar,.all-games-rail::-webkit-scrollbar{display:none}

.game-horizontal-rail{gap:13px;padding:2px 1px 5px}
.game-horizontal-rail .game-item{flex:0 0 116px;scroll-snap-align:start}
.game-horizontal-rail .game-item img{width:96px;height:96px;margin:0 auto;aspect-ratio:1/1}

/* Compact Robux rail */
.horizontal-rail-shell{position:relative}
.product-rail{gap:10px;padding:2px 1px 5px}
.product-rail .product-card{flex:0 0 170px;scroll-snap-align:start;border-radius:13px}
.product-visual{
  position:relative;width:100%;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,#fff7e5,#ffd675 55%,#f1ad29)
}
.robux-ring{
  position:relative;z-index:2;width:58%;aspect-ratio:1/1;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:rgba(255,255,255,.38);border:8px solid rgba(255,255,255,.60);
  box-shadow:inset 0 0 0 7px rgba(135,87,7,.13)
}
.robux-ring i{font-style:normal;font-size:10px;color:#73500e;font-weight:700}
.robux-ring b{font-size:23px;line-height:1;color:#664309}
.product-body{padding:9px 10px 10px}
.product-name{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.price-row{margin:5px 0 7px;gap:6px}
.price-row strong{font-size:16px}
.price-row span{font-size:9px}
.product-action{min-height:30px;font-size:9px}
.discount-badge{font-size:7px;padding:3px 6px}

.rail-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:34px;height:34px;border-radius:50%;
  border:1px solid var(--line);background:rgba(255,255,255,.96);color:#595f70;font-size:23px;line-height:1;
  box-shadow:0 7px 18px rgba(40,47,76,.09);cursor:pointer
}
.rail-prev{left:-10px}.rail-next{right:-10px}
.rail-controls{display:flex;gap:6px}
.rail-controls button{width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#6b7383;font-size:18px;cursor:pointer}

/* Chat */
.chat-workspace{grid-template-columns:280px minmax(0,1fr);min-height:610px}
.chat-channel-list{max-height:610px;overflow-y:auto;scrollbar-width:thin}
.chat-channel-global{grid-template-columns:46px 1fr}
.channel-global-icon{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,#ece7ff,#f8f6ff);color:var(--purple);font-size:17px
}
.chat-message-list{flex:1;min-height:0;max-height:474px;overflow-y:auto;padding:16px 18px;background:#fcfcfe}
.chat-message{display:grid;grid-template-columns:38px 1fr;gap:10px;margin-bottom:14px}
.chat-message>img,.chat-avatar-empty{width:38px;height:38px;border-radius:50%;object-fit:cover}
.chat-avatar-empty{display:grid;place-items:center;background:var(--purple-soft);color:var(--purple)}
.chat-message-meta{display:flex;align-items:baseline;gap:7px}
.chat-message-meta strong{font-size:11px}.chat-message-meta small{font-size:8px;color:var(--muted-2)}
.chat-message p{margin:2px 0 0;color:#3e4654;font-size:12px;line-height:1.65}
.chat-empty-title{font-size:18px;font-weight:600;margin-top:12px}
.chat-composer a{display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--purple);color:#fff;font-size:10px;font-weight:600}

/* All games */
.game-browser{padding:17px;margin-bottom:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.all-games-rail{gap:10px;padding-bottom:4px}
.friend-game-card{
  flex:0 0 150px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;scroll-snap-align:start
}
.friend-game-card>img{width:100%;aspect-ratio:1/1;display:block;object-fit:cover;background:#f2f3f7}
.friend-game-card>div{padding:8px 9px 9px}
.friend-game-card strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-game-card small{display:block;font-size:8px;color:var(--muted-2);margin-top:2px}
.games-api-note{margin:9px 0 0;color:var(--muted-2);font-size:9px}

/* Community */
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}
.community-feed-column{min-width:0;display:grid;gap:13px}
.community-side-column{display:grid;gap:14px;position:sticky;top:90px}
.composer-card,.feed-post,.feed-empty{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.composer-card{padding:15px}
.composer-user{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;margin-bottom:11px}
.composer-user img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#f1f2f7}
.composer-user strong{display:block;font-size:11px}.composer-user small{display:block;font-size:9px;color:var(--muted-2)}
.community-composer-form textarea{
  width:100%;min-height:92px;resize:vertical;border:1px solid var(--line);border-radius:13px;
  padding:12px 13px;outline:0;background:#fbfbfe;color:var(--text);font-size:12px;line-height:1.7
}
.community-composer-form textarea:focus{border-color:#cfc6ff;background:#fff}
.composer-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}
.composer-options label>span{display:block;font-size:8.5px;color:var(--muted);margin:0 0 4px 2px}
.composer-options select{width:100%;height:38px;border:1px solid var(--line);border-radius:10px;padding:0 9px;background:#fff;color:#3d4553;font-size:10px}
.composer-bottom{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;margin-top:10px}
.image-upload-button{min-height:37px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:10px;border:1px solid var(--line);color:var(--purple);cursor:pointer}
.image-upload-button input{display:none}.image-upload-button span{font-size:10px;font-weight:600}.image-upload-button small{font-size:7px;color:var(--muted-2)}
.image-selection-text{font-size:8.5px;color:var(--muted-2)}
.composer-bottom button{min-width:86px;height:38px;border:0;border-radius:10px;background:var(--purple);color:#fff;font-size:10px;font-weight:600;cursor:pointer}
.form-error{margin-bottom:9px;padding:8px 10px;border-radius:9px;background:#fff0f0;color:#b14a4a;font-size:9px}
.composer-login-state{display:grid;grid-template-columns:48px 1fr auto;gap:11px;align-items:center}
.composer-login-state strong{display:block;font-size:12px}.composer-login-state p{margin:2px 0 0;font-size:9px;color:var(--muted)}
.composer-login-state>a{min-height:36px;padding:0 12px;display:flex;align-items:center;border-radius:10px;background:var(--purple);color:#fff;font-size:9px;font-weight:600}

.feed-filter-bar{display:flex;gap:6px;padding:4px;width:max-content;max-width:100%;border:1px solid var(--line);border-radius:11px;background:#fff}
.feed-filter-bar a{padding:6px 10px;border-radius:8px;color:#727b8a;font-size:9px}
.feed-filter-bar a.active{background:var(--purple-soft);color:var(--purple);font-weight:600}
.community-feed{display:grid;gap:12px}
.feed-empty{text-align:center;padding:40px 20px}.feed-empty>span{font-size:24px;color:#a894fb}
.feed-empty strong{display:block;margin-top:6px;font-size:13px}.feed-empty p{max-width:480px;margin:4px auto 0;color:var(--muted);font-size:10px}

.feed-post{padding:14px}
.feed-post-head{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center}
.feed-post-head>img,.post-avatar-empty{width:42px;height:42px;border-radius:50%;object-fit:cover}
.post-avatar-empty{display:grid;place-items:center;background:var(--purple-soft);color:var(--purple)}
.feed-post-head strong{display:block;font-size:11px}.feed-post-head small{display:block;font-size:8px;color:var(--muted-2);margin-top:1px}
.feed-post-body{margin:11px 0 0;color:#353d4b;font-size:12px;line-height:1.8}
.post-hashtags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.post-hashtags span{font-size:9px;color:var(--purple)}
.post-image-grid{display:grid;gap:5px;margin-top:10px;overflow:hidden;border-radius:12px}
.post-image-grid.count-1{grid-template-columns:1fr}.post-image-grid.count-2{grid-template-columns:1fr 1fr}
.post-image-grid.count-3,.post-image-grid.count-4{grid-template-columns:1fr 1fr}
.post-image-grid img{width:100%;height:220px;object-fit:cover;display:block;background:#f2f3f7}
.post-image-grid.count-3 img:first-child{grid-row:span 2;height:445px}
.post-game-card{margin-top:10px;display:grid;grid-template-columns:72px 1fr;gap:10px;padding:8px;border:1px solid var(--line);border-radius:11px;background:#fafaff}
.post-game-card img{width:72px;height:72px;border-radius:10px;object-fit:cover}
.post-game-card>div{display:flex;flex-direction:column;justify-content:center}
.post-game-card span{font-size:7.5px;color:#9a8bd8}.post-game-card strong{font-size:10.5px;margin-top:2px}.post-game-card small{font-size:8px;color:var(--purple);margin-top:3px}
.feed-post-footer{margin-top:11px;padding-top:9px;border-top:1px solid var(--line);color:var(--muted-2);font-size:8px}

@media(max-width:960px){
  .community-layout{grid-template-columns:1fr}
  .community-side-column{position:static}
}
@media(max-width:720px){
  .rail-arrow{display:none}
  .product-rail .product-card{flex:0 0 calc((100% - 12px)/3);border-radius:10px}
  .robux-ring{border-width:5px;box-shadow:inset 0 0 0 4px rgba(135,87,7,.13)}
  .robux-ring i{font-size:6px}.robux-ring b{font-size:14px}
  .product-body{padding:6px}.product-name{font-size:7px}
  .price-row{gap:3px;margin:3px 0 4px;flex-wrap:wrap}.price-row strong{font-size:10px}.price-row span{font-size:5.7px}
  .product-action{min-height:25px;font-size:6.5px}.discount-badge{right:4px;top:4px;font-size:5px;padding:2px 4px}
  .game-horizontal-rail .game-item{flex-basis:92px}.game-horizontal-rail .game-item img{width:76px;height:76px}

  .composer-options{grid-template-columns:1fr}
  .composer-bottom{grid-template-columns:1fr auto}.image-selection-text{grid-column:1/-1;grid-row:2}
  .composer-login-state{grid-template-columns:42px 1fr}.composer-login-state>a{grid-column:1/-1;justify-content:center}
  .post-image-grid img{height:145px}.post-image-grid.count-3 img:first-child{height:295px}

  .chat-workspace{grid-template-columns:1fr;min-height:520px}
  .chat-channel-list{max-height:none;border-right:0;border-bottom:1px solid var(--line);display:flex;overflow-x:auto;gap:6px;padding:9px;scrollbar-width:none}
  .chat-channel-list::-webkit-scrollbar{display:none}.chat-section-title{display:none}
  .chat-channel{flex:0 0 150px;grid-template-columns:36px 1fr;margin:0;padding:6px;border:1px solid var(--line)}
  .chat-channel img,.channel-global-icon{width:36px;height:36px;border-radius:9px}
  .chat-message-list{max-height:360px}
  .friend-game-card{flex-basis:128px}
}

@media(max-width:960px){.mobile-bottom-nav{grid-template-columns:repeat(6,1fr)}}


/* ==========================================================
   v3.3.0 readability + search + lazy games + layout fixes
   ========================================================== */

body{font-size:17px}
.page-content{max-width:1480px}
.home-full{display:grid;gap:20px;min-width:0}
.home-dashboard{display:block}
.right-rail{display:none!important}
.hero,.hero-slider,.slide{max-width:100%;min-width:0}
.hero-slider{overflow:hidden}
.hero-shapes{overflow:hidden;pointer-events:none}
.hero-action-row{display:flex;align-items:center;gap:12px;margin-top:20px}
.hero-action-row .hero-cta{margin-top:0}
.hero-link{font-size:13px;font-weight:600;color:var(--purple)}

.eyebrow{font-size:11px}
.panel-heading span,.section-title-row .eyebrow{font-size:11px}
.panel-title,.section-display-title{font-size:22px}
.panel-heading>a{font-size:13px}
.quick-grid strong{font-size:15px}
.quick-grid small{font-size:12px}
.main-nav a{font-size:15px}
.brand-copy small{font-size:12px}
.login-side-card strong{font-size:13px}
.login-side-card small{font-size:11px}
.account-copy strong{font-size:12px}
.account-copy small{font-size:11px}

.site-footer-new strong{font-size:14px}
.site-footer-new a{font-size:13px}
.footer-brand strong{font-size:19px}
.footer-brand p{font-size:13px}

.page-hero p,.seo-longform p,.prose,.faq-list p,.article-grid p{font-size:15px}
.page-hero h1{font-size:36px}
.seo-longform h2{font-size:23px}
.seo-link-hub-grid strong{font-size:13px}
.seo-link-hub-grid span{font-size:12px}

/* universal search */
.global-search-wrap{position:relative;flex:1;max-width:640px}
.global-search-wrap .top-search{max-width:none;width:100%}
.search-autocomplete{
  position:absolute;left:0;right:0;top:50px;z-index:150;
  max-height:520px;overflow-y:auto;
  padding:8px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 20px 50px rgba(43,49,76,.18)
}
.search-autocomplete[hidden]{display:none!important}
.search-auto-row{
  display:grid;grid-template-columns:48px 1fr auto;
  gap:11px;align-items:center;
  padding:8px;border-radius:11px
}
.search-auto-row:hover,.search-auto-row.active{background:#f7f5ff}
.search-auto-row img,.search-auto-icon{
  width:48px;height:48px;border-radius:11px;object-fit:cover;background:#f1f2f7
}
.search-auto-icon{display:grid;place-items:center;color:var(--purple);font-size:16px}
.search-auto-row .search-type{display:block;font-size:10px;color:#9a8cd8}
.search-auto-row strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-auto-row small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.search-auto-arrow{font-size:14px;color:var(--purple)}
.search-auto-empty,.search-auto-loading{padding:18px;text-align:center;color:var(--muted);font-size:13px}

.search-page-form{
  display:grid;grid-template-columns:1fr auto;gap:8px;
  margin:0 0 15px
}
.search-page-form input{
  height:48px;border:1px solid var(--line-strong);border-radius:13px;
  padding:0 15px;background:#fff;font-size:15px;outline:0
}
.search-page-form button{
  min-width:100px;border:0;border-radius:12px;background:var(--purple);
  color:#fff;font-size:13px;font-weight:600
}
.search-page-results{display:grid;gap:8px}
.search-result-card{
  display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;
  padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff
}
.search-result-card img,.search-result-icon{width:58px;height:58px;border-radius:12px;object-fit:cover;background:#f1f2f7}
.search-result-icon{display:grid;place-items:center;color:var(--purple)}
.search-result-card span{font-size:10px;color:#9887df}
.search-result-card strong{display:block;font-size:15px}
.search-result-card small{display:block;font-size:12px;color:var(--muted)}
.search-result-card>b{color:var(--purple)}

/* Robux home rail */
.product-rail .product-card{flex-basis:154px}
.robux-ring{width:54%}
.product-name{font-size:13px}
.price-row strong{font-size:17px}
.price-row span{font-size:11px}
.product-action{font-size:11px;min-height:32px}

/* Full Robux page: all products / multi-row */
.product-grid-full{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px
}
.product-grid-full .product-card{min-width:0}
.product-grid-full .product-visual{aspect-ratio:1/1}
.product-grid-full .robux-ring{width:52%}
.product-grid-full .product-name{font-size:15px}
.product-grid-full .price-row strong{font-size:20px}
.product-grid-full .price-row span{font-size:12px}
.product-grid-full .product-action{min-height:38px;font-size:13px}

/* Full SEO homepage */
.seo-home-full{
  padding:28px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 5px 18px rgba(40,47,76,.035)
}
.seo-home-full h1{
  margin:7px 0 10px;
  max-width:980px;
  font-size:30px;
  line-height:1.35
}
.seo-lead{
  max-width:1000px;
  margin:0;
  color:#5f6978;
  font-size:16px;
  line-height:1.95
}
.seo-home-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 30px;
  margin-top:28px
}
.seo-home-grid article{min-width:0}
.seo-home-grid h2{margin:0 0 8px;font-size:22px}
.seo-home-grid p{margin:0 0 10px;color:#677282;font-size:15px;line-height:1.95}
.seo-home-grid a,.seo-trust-note a{color:var(--purple);font-weight:600}
.seo-trust-note{
  margin-top:18px;padding:14px 16px;border-radius:12px;
  background:#faf9ff;color:#697382;font-size:13px;line-height:1.8
}

/* public member */
.member-public-card{
  display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;
  padding:20px;margin-bottom:16px;
  border:1px solid var(--line);border-radius:18px;background:#fff
}
.member-public-card>img{width:120px;height:120px;border-radius:50%;object-fit:cover}
.member-public-card h1{margin:3px 0 2px;font-size:28px}
.member-public-card p{margin:0 0 7px;color:var(--muted);font-size:14px}
.member-public-card a{color:var(--purple);font-size:13px;font-weight:600}
.muted-copy{color:var(--muted)}
.member-post-row{
  display:flex;justify-content:space-between;gap:15px;
  padding:11px 0;border-bottom:1px solid var(--line)
}
.member-post-row strong{font-size:14px}
.member-post-row small{font-size:12px;color:var(--muted)}

/* Find Friends */
.chat-workspace{grid-template-columns:300px minmax(0,1fr)}
.chat-section-title strong{font-size:15px}
.chat-section-title small{font-size:12px}
.chat-channel strong{font-size:13px}
.chat-channel small{font-size:11px}
.chat-header strong{font-size:16px}
.chat-header small{font-size:12px}
.chat-status{font-size:11px}
.chat-message-meta strong{font-size:13px}
.chat-message-meta small{font-size:11px}
.chat-message p{font-size:14px}
.chat-empty-title{font-size:20px}
.chat-empty p{font-size:13px}
.chat-composer input{font-size:13px}

.game-lazy-section{
  padding:20px;
  margin-bottom:18px;
  background:#fff;border:1px solid var(--line);border-radius:18px
}
.section-title-row p{margin:4px 0 0;color:var(--muted);font-size:13px}
.lazy-game-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px
}
.lazy-game-card{
  min-width:0;overflow:hidden;
  border:1px solid var(--line);border-radius:14px;background:#fff;
  transition:.18s ease
}
.lazy-game-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.lazy-game-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#f1f2f7}
.lazy-game-card>div{padding:10px}
.lazy-game-card strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lazy-game-card small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.load-more-games{
  display:block;margin:16px auto 2px;min-width:150px;height:40px;
  border:1px solid #d7ceff;border-radius:11px;background:#fff;
  color:var(--purple);font-size:12px;font-weight:600;cursor:pointer
}
.load-more-games[hidden]{display:none}
.lazy-game-sentinel{height:1px}
.games-api-note{font-size:12px;line-height:1.75}

/* fix any old floating/overflow rail artifacts */
.community-shell,.site-main,.page-content,.home-full,.panel{min-width:0}
.page-content{overflow-x:clip}
.right-rail,.community-side-column{max-width:100%}
.hero-shapes{right:4%;max-width:36vw}

/* community text readability */
.composer-user strong,.feed-post-head strong{font-size:14px}
.composer-user small,.feed-post-head small{font-size:12px}
.community-composer-form textarea{font-size:14px}
.composer-options label>span{font-size:12px}
.composer-options select{font-size:13px}
.image-upload-button span{font-size:13px}
.image-upload-button small,.image-selection-text{font-size:11px}
.composer-bottom button{font-size:13px}
.feed-filter-bar a{font-size:12px}
.feed-post-body{font-size:15px}
.post-hashtags a{font-size:13px}
.post-game-card span{font-size:11px}
.post-game-card strong{font-size:14px}
.post-game-card small{font-size:12px}
.feed-post-footer{font-size:11px}

@media(max-width:1100px){
  .product-grid-full{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lazy-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .global-search-wrap{max-width:none}
  .seo-home-grid{grid-template-columns:1fr}
  .lazy-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  body{font-size:16px}
  .global-search-wrap{flex:1;min-width:0}
  .top-search input{font-size:13px}
  .search-autocomplete{position:fixed;left:10px;right:10px;top:66px;max-height:60vh}
  .search-auto-row{grid-template-columns:44px 1fr auto}
  .search-auto-row img,.search-auto-icon{width:44px;height:44px}
  .search-auto-row strong{font-size:13px}
  .search-auto-row small{font-size:11px}

  .product-grid-full{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-grid-full .product-name{font-size:12px}
  .product-grid-full .price-row strong{font-size:16px}
  .product-grid-full .product-action{font-size:11px}

  .seo-home-full{padding:18px}
  .seo-home-full h1{font-size:24px}
  .seo-lead{font-size:14px}
  .seo-home-grid{gap:18px}
  .seo-home-grid h2{font-size:19px}
  .seo-home-grid p{font-size:14px}

  .chat-workspace{grid-template-columns:1fr}
  .lazy-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .lazy-game-card strong{font-size:11px}
  .lazy-game-card small{font-size:9px}

  .site-footer-new strong{font-size:13px}
  .site-footer-new a{font-size:12px}
  .footer-brand p{font-size:12px}
}


/* ==========================================================
   v3.3.1 — readability + hero restore + compact SEO
   ========================================================== */

/* Hero content must always remain visible above banners */
.hero-slider{isolation:isolate}
.slide>img{position:relative;z-index:1}
.hero-overlay{z-index:2}
.banner-click-layer{z-index:3}
.hero-copy-visible{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:10!important;
  max-width:500px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:18px;
  background:rgba(255,255,255,.84);
  box-shadow:0 14px 34px rgba(57,60,90,.10);
  backdrop-filter:blur(8px);
}
.hero-copy-visible .hero-title{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#171b27!important;
}
.hero-copy-visible p{color:#525d6d!important}
.hero-copy-visible .hero-action-row{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}
.hero-copy-visible .hero-cta{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
}
.hero-copy-visible .hero-link{
  display:inline-flex!important;
  align-items:center;
  min-height:42px;
  padding:0 12px;
  border-radius:11px;
  color:var(--purple)!important;
  background:#f2efff;
}

/* Community page typography: match the rest of the site */
.community-hero .eyebrow{font-size:12px}
.community-hero h1{font-size:36px}
.community-hero p{font-size:15px}

.composer-card{padding:20px}
.composer-user{grid-template-columns:48px 1fr;gap:12px}
.composer-user img{width:48px;height:48px}
.composer-user strong{font-size:16px}
.composer-user small{font-size:13px}

.composer-login-state{
  grid-template-columns:56px 1fr auto;
  gap:14px;
  padding:4px
}
.composer-login-state .community-orb{width:56px;height:56px;font-size:18px}
.composer-login-state strong{font-size:16px}
.composer-login-state p{font-size:13px;line-height:1.7}
.composer-login-state>a{
  min-height:42px;
  padding:0 16px;
  font-size:13px
}

.community-composer-form textarea{
  min-height:110px;
  padding:14px 15px;
  font-size:15px;
  line-height:1.75
}
.composer-options label>span{font-size:13px}
.composer-options select{height:42px;font-size:14px}
.image-upload-button{min-height:42px}
.image-upload-button span{font-size:14px}
.image-upload-button small{font-size:11px}
.image-selection-text{font-size:12px}
.composer-bottom button{height:42px;font-size:14px}

.feed-filter-bar{padding:5px}
.feed-filter-bar a{
  min-height:38px;
  display:flex;
  align-items:center;
  padding:0 14px;
  font-size:14px
}

.feed-empty{padding:54px 24px}
.feed-empty>span{font-size:30px}
.feed-empty strong{font-size:18px}
.feed-empty p{
  max-width:620px;
  font-size:14px;
  line-height:1.8
}

.feed-post{padding:18px}
.feed-post-head{grid-template-columns:48px 1fr;gap:11px}
.feed-post-head>img,.post-avatar-empty{width:48px;height:48px}
.feed-post-head strong{font-size:15px}
.feed-post-head small{font-size:12px}
.feed-post-body{font-size:16px;line-height:1.85}
.post-hashtags a{font-size:14px}
.feed-post-footer{font-size:12px}

/* Footer readability */
.site-footer-new strong{font-size:15px}
.site-footer-new a{font-size:14px}
.footer-brand strong{font-size:20px}
.footer-brand p{font-size:14px;line-height:1.7}

/* Compact SEO — visible H1, long content collapsed by user */
.seo-home-compact{
  padding:22px 24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 5px 18px rgba(40,47,76,.035)
}
.seo-home-intro h1{
  margin:6px 0 7px;
  max-width:980px;
  font-size:27px;
  line-height:1.4
}
.seo-home-intro p{
  margin:0;
  color:#657080;
  font-size:15px;
  line-height:1.8
}
.seo-details{
  margin-top:16px;
  border-top:1px solid var(--line)
}
.seo-details>summary{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  cursor:pointer;
  list-style:none;
  color:#4f5969
}
.seo-details>summary::-webkit-details-marker{display:none}
.seo-details>summary span{font-size:14px;font-weight:600}
.seo-details>summary b{
  flex:0 0 auto;
  padding:7px 11px;
  border-radius:9px;
  background:#f2efff;
  color:var(--purple);
  font-size:12px
}
.seo-details[open]>summary b::before{content:"ซ่อนข้อมูล";font-size:12px}
.seo-details[open]>summary b{font-size:0}
.seo-details-content{
  padding:4px 0 4px;
  border-top:1px solid var(--line)
}
.seo-details-content .seo-lead{margin-top:18px}
.seo-details-content .seo-home-grid{margin-top:22px}

/* remove old large SEO card visual if cached CSS remains */
.seo-home-full{display:none!important}

@media(max-width:720px){
  .hero-copy-visible{
    left:16px!important;
    right:16px!important;
    max-width:none;
    padding:14px 15px
  }
  .hero-copy-visible .hero-title{font-size:29px}
  .hero-copy-visible p{font-size:12px}
  .hero-copy-visible .hero-cta,
  .hero-copy-visible .hero-link{min-height:37px;font-size:10.5px}

  .community-hero h1{font-size:30px}
  .community-hero p{font-size:13px}

  .composer-login-state{
    grid-template-columns:48px 1fr
  }
  .composer-login-state .community-orb{width:48px;height:48px}
  .composer-login-state>a{
    grid-column:1/-1;
    justify-content:center;
    font-size:12px
  }
  .feed-filter-bar a{font-size:12px;padding:0 11px}
  .feed-empty strong{font-size:16px}
  .feed-empty p{font-size:12px}

  .seo-home-compact{padding:17px}
  .seo-home-intro h1{font-size:22px}
  .seo-home-intro p{font-size:13px}
  .seo-details>summary span{font-size:12px}
  .seo-details>summary b{font-size:10px}
}


/* ==========================================================
   v3.3.2 — strict search + community readability + fixed hero
   ========================================================== */

/* HERO:
   Text/buttons are now one static layer outside individual slides.
   This prevents slider/banner stacking from hiding them. */
.hero-slider{position:relative;isolation:isolate}
.slides{position:relative;z-index:1}
.banner-click-layer{z-index:2}
.slider-dots{z-index:12}
.hero-static-copy{
  position:absolute;
  left:40px;
  top:50%;
  transform:translateY(-50%);
  z-index:20;
  width:min(500px,calc(100% - 80px));
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:18px;
  background:rgba(255,255,255,.88);
  box-shadow:0 16px 38px rgba(57,60,90,.12);
  backdrop-filter:blur(10px);
  pointer-events:none
}
.hero-static-copy>*{pointer-events:auto}
.hero-static-copy .hero-label{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important
}
.hero-static-copy .hero-title{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:11px 0 10px;
  font-size:44px;
  line-height:1.18;
  font-weight:700;
  color:#151925!important;
  letter-spacing:-.04em
}
.hero-static-copy p{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  margin:0;
  max-width:430px;
  color:#4d5868!important;
  font-size:15px;
  line-height:1.8
}
.hero-static-copy .hero-action-row{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center;
  gap:10px;
  margin-top:18px
}
.hero-static-copy .hero-cta,
.hero-static-copy .hero-link{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center;
  justify-content:center;
  min-height:42px
}
.hero-static-copy .hero-cta{
  margin:0;
  padding:0 20px;
  border-radius:21px;
  background:linear-gradient(135deg,var(--purple),#8755f4);
  color:#fff!important;
  font-size:13px;
  font-weight:600
}
.hero-static-copy .hero-link{
  padding:0 15px;
  border-radius:12px;
  background:#f2efff;
  color:var(--purple)!important;
  font-size:13px;
  font-weight:600
}

/* Do not render the old per-slide hero copy if stale HTML/CSS is cached. */
.hero-copy-visible{display:none!important}

/* Community uses the same readable scale as other frontend pages. */
.community-layout,
.community-feed-column,
.community-feed,
.composer-card,
.feed-filter-bar,
.feed-post,
.feed-empty{
  font-size:15px
}
.community-hero .eyebrow{font-size:12px!important}
.community-hero h1{font-size:36px!important;line-height:1.25}
.community-hero p{font-size:15px!important;line-height:1.8}

.composer-login-state strong{font-size:17px!important;line-height:1.4}
.composer-login-state p{font-size:14px!important;line-height:1.75}
.composer-login-state>a{
  min-height:44px!important;
  padding:0 18px!important;
  font-size:14px!important
}

.feed-filter-bar a{
  min-height:42px!important;
  padding:0 16px!important;
  font-size:14px!important;
  font-weight:500
}

.feed-empty{padding:58px 26px!important}
.feed-empty strong{
  margin-top:8px!important;
  font-size:18px!important;
  line-height:1.45
}
.feed-empty p{
  max-width:650px!important;
  margin:7px auto 0!important;
  font-size:14px!important;
  line-height:1.85!important
}

.composer-user strong,.feed-post-head strong{font-size:16px!important}
.composer-user small,.feed-post-head small{font-size:13px!important}
.community-composer-form textarea{font-size:15px!important}
.composer-options label>span{font-size:13px!important}
.composer-options select{font-size:14px!important}
.image-upload-button span{font-size:14px!important}
.image-upload-button small,.image-selection-text{font-size:12px!important}
.composer-bottom button{font-size:14px!important}
.feed-post-body{font-size:16px!important}
.post-hashtags a{font-size:14px!important}
.post-game-card span{font-size:12px!important}
.post-game-card strong{font-size:15px!important}
.post-game-card small{font-size:12px!important}
.feed-post-footer{font-size:12px!important}

/* Compact SEO remains user-collapsible, not display:none. */
.seo-home-compact{display:block!important}
.seo-details-content{content-visibility:auto}
.seo-details:not([open]) .seo-details-content{display:none}

/* Search dropdown: slightly tighter, but readable. */
.search-auto-row strong{font-size:14px}
.search-auto-row small{font-size:12px}
.search-auto-row .search-type{font-size:10px}

@media(max-width:720px){
  .hero-static-copy{
    left:16px;
    right:16px;
    width:auto;
    padding:15px 16px
  }
  .hero-static-copy .hero-title{font-size:29px}
  .hero-static-copy p{font-size:12px}
  .hero-static-copy .hero-cta,
  .hero-static-copy .hero-link{
    min-height:37px;
    font-size:10.5px
  }

  .community-hero h1{font-size:30px!important}
  .community-hero p{font-size:14px!important}
  .composer-login-state strong{font-size:15px!important}
  .composer-login-state p{font-size:13px!important}
  .feed-filter-bar a{font-size:13px!important}
  .feed-empty strong{font-size:16px!important}
  .feed-empty p{font-size:13px!important}
}

/* v3.3.3 */
.top-icon{display:none!important}

.robux-seo-compact,.news-index-section{margin-top:18px;padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}
.robux-seo-title{font-size:20px;font-weight:600}.robux-seo-intro p{color:var(--muted);font-size:14px}
.news-featured-grid,.news-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.news-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.news-featured-card,.news-article-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.news-featured-card h2,.news-article-card h2{font-size:18px;line-height:1.5}.news-featured-card p,.news-article-card p{font-size:14px;color:var(--muted)}
.news-article-page{max-width:920px;margin:auto}.article-header,.article-content{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:14px}
.article-header h1{font-size:32px}.article-content p{font-size:15px;line-height:1.9}.article-content h2{font-size:22px;margin-top:24px}
.article-breadcrumb,.article-meta,.article-footer-links{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:12px 0}
.article-footer-links{justify-content:space-between}.article-footer-links a,.article-content a{color:var(--purple)}
@media(max-width:720px){.news-featured-grid,.news-article-grid{grid-template-columns:1fr}.article-header h1{font-size:26px}}


/* v3.4.1 exact fixes: banner + product images + legal readability */
.hero-slider .slides>.slide{flex:0 0 100%!important;width:100%!important;min-width:100%!important;max-width:100%!important}
.hero-slider .slide>img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center center!important}
.product-visual.has-product-image{position:relative;overflow:hidden;background:#f6f7fb}
.product-uploaded-image{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center;z-index:1}
.product-visual.has-product-image .discount-badge{z-index:3}
.legal-notice-box{padding:14px 16px;margin:0 0 20px;border:1px solid #ddd6fe;border-radius:12px;background:#faf9ff;color:#505968;font-size:14px;line-height:1.8}
.legal-content h3{margin:18px 0 5px;font-size:17px}.legal-content ul,.legal-content ol{padding-left:22px;color:#596474;font-size:14px;line-height:1.9}


/* ==========================================================
   v3.4.2 Find Friends performance/SEO + Robux 6-column desktop
   ========================================================== */

@media(min-width:1201px){
  .product-grid-full{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:10px!important
  }
  .product-grid-full .product-body{padding:11px!important}
  .product-grid-full .product-name{font-size:13px!important}
  .product-grid-full .price-row strong{font-size:18px!important}
  .product-grid-full .price-row span{font-size:11px!important}
  .product-grid-full .product-action{min-height:35px!important;font-size:12px!important}
}
@media(min-width:901px) and (max-width:1200px){
  .product-grid-full{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

.find-friends-seo-compact{
  margin-top:18px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff
}
.find-friends-seo-title{
  margin-top:5px;
  font-size:21px;
  line-height:1.45;
  font-weight:600;
  color:var(--text)
}
.find-friends-seo-intro>p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8
}
.find-friends-seo-details .seo-details-content{
  padding:20px 0 0!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
  box-shadow:none!important
}
.find-friends-longform{max-width:none}
.find-friends-longform h2{
  margin:28px 0 8px;
  font-size:21px;
  line-height:1.5
}
.find-friends-longform h3{
  margin:20px 0 6px;
  font-size:17px;
  line-height:1.55
}
.find-friends-longform p,
.find-friends-longform li{
  font-size:14px;
  line-height:1.95;
  color:#596474
}
.find-friends-longform ul,
.find-friends-longform ol{padding-left:22px}
.find-friends-longform a{color:var(--purple);font-weight:600}

@media(max-width:720px){
  .find-friends-seo-compact{padding:16px}
  .find-friends-seo-title{font-size:18px}
  .find-friends-seo-intro>p{font-size:13px}
  .find-friends-longform h2{font-size:19px}
  .find-friends-longform h3{font-size:16px}
  .find-friends-longform p,
  .find-friends-longform li{font-size:13px}
}

/* ==========================================================
   v3.4.6 auth + profile + mobile polish
   ========================================================== */

.topbar{
  height:78px;
  padding:0 26px;
}
.top-actions{gap:12px}
.create-post,
.account-chip,
.login-side-card,
.robux-side-cta{
  box-shadow:0 8px 22px rgba(43,49,76,.07);
}
.create-post{min-height:46px;padding:0 18px;border-radius:23px}
.create-post.is-guest{background:linear-gradient(135deg,#6f4cf5,#8a62fa)}
.account-chip{
  min-height:48px;
  padding:4px 12px 4px 4px;
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(43,49,76,.06)
}
.account-chip.is-member{background:linear-gradient(180deg,#fff,#fafaff)}
.account-avatar,
.account-avatar-img{width:40px;height:40px}
.account-copy strong{font-size:12.5px}
.account-copy small{font-size:10.5px}

.login-side-card{
  min-height:58px;
  grid-template-columns:44px 1fr;
  padding:10px 12px;
  border-radius:15px
}
.login-side-card.is-member{background:linear-gradient(180deg,#fff,#fafaff)}
.login-avatar,
.login-avatar-img{
  width:44px;
  height:44px;
  border-radius:50%;
  display:block;
  object-fit:cover;
  background:#f1f2f7
}
.login-side-card strong{font-size:13px}
.login-side-card small{font-size:11px}

.page-hero{
  padding:28px 30px;
  align-items:center;
  background:linear-gradient(180deg,#ffffff,#fbfbff)!important
}
.page-hero h1{font-size:38px}
.page-hero p{font-size:15px;line-height:1.85}
.community-hero,
.friends-hero,
.avatar-hero{
  position:relative;
  overflow:hidden
}
.community-hero::after,
.friends-hero::after,
.avatar-hero::after{
  content:"";
  position:absolute;
  right:-40px;
  top:-30px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(111,76,245,.15),rgba(111,76,245,0) 68%);
  pointer-events:none
}
.community-layout{gap:20px}
.composer-card,
.feed-post,
.rail-card,
.chat-workspace,
.game-lazy-section,
.profile-card,
.profile-hero-card{
  box-shadow:0 12px 32px rgba(43,49,76,.055)
}
.composer-login-state{
  grid-template-columns:56px 1fr auto;
  padding:10px;
  border-radius:14px;
  background:linear-gradient(180deg,#faf8ff,#ffffff)
}
.composer-login-state>a{
  min-height:42px;
  padding:0 15px;
  border-radius:12px;
  font-size:13px
}
.chat-composer.disabled{
  display:flex;
  flex-direction:column;
  gap:9px
}
.chat-composer.disabled input{
  width:100%
}
.chat-login-hint{
  display:block;
  color:var(--muted);
  font-size:12px;
  line-height:1.7
}

/* profile */
.profile-hero-card{padding:26px}
.profile-hero-main{display:grid;gap:22px}
.profile-identity-block{
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:22px;
  align-items:center
}
.profile-avatar-xl{
  width:140px;
  height:140px;
  border-radius:36px;
  object-fit:cover;
  display:block;
  background:#f1f2f7;
  box-shadow:0 18px 36px rgba(43,49,76,.12)
}
.profile-avatar-xl.avatar-empty,
.avatar-placeholder{
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#efe8ff,#f8f6ff);
  color:var(--purple)
}
.profile-identity-copy h1{margin:6px 0 2px;font-size:38px;line-height:1.15}
.profile-username-large{margin:0;color:var(--muted);font-size:17px}
.profile-meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.profile-meta-pills span{
  padding:8px 12px;
  border-radius:999px;
  background:#f4f5fb;
  color:#505a69;
  font-size:12px
}
.profile-action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.profile-action-row form{margin:0}
.profile-action-row .btn{min-height:42px;border-radius:12px}
.profile-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px
}
.profile-summary-grid article{
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#fcfcff,#fff)
}
.profile-summary-grid strong{display:block;font-size:28px;line-height:1}
.profile-summary-grid small{display:block;margin-top:8px;color:var(--muted);font-size:13px}
.profile-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.profile-card{padding:20px}
.profile-card h2{margin:6px 0 12px;font-size:24px}
.profile-card p{font-size:14px;line-height:1.8}
.profile-feed-preview{display:grid;gap:10px}
.profile-feed-preview a{
  display:block;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fbfbfe
}
.profile-feed-preview strong{display:block;font-size:12px;color:var(--purple)}
.profile-feed-preview p{margin:6px 0 5px;color:#404857;font-size:14px;line-height:1.7}
.profile-feed-preview small{color:var(--muted);font-size:12px}
.profile-inline-link{display:inline-flex;margin-top:10px;color:var(--purple);font-weight:600}
.profile-avatar-preview{display:grid;grid-template-columns:88px 1fr;gap:14px;align-items:center}
.profile-avatar-preview img,
.avatar-showcase-image{
  width:88px;
  height:88px;
  border-radius:24px;
  object-fit:cover;
  display:block;
  background:#f1f2f7
}
.profile-quick-links{display:grid;gap:10px}
.profile-quick-links a{
  display:block;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fbfbfe
}
.profile-quick-links strong{display:block;font-size:14px}
.profile-quick-links small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.6}
.accent-purple{background:linear-gradient(180deg,#ffffff,#faf8ff)!important}
.accent-blue{background:linear-gradient(180deg,#ffffff,#f7fbff)!important}
.accent-gold{background:linear-gradient(180deg,#ffffff,#fffaf0)!important}

/* avatar */
.avatar-hero-logged{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px
}
.avatar-profile-preview{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.88)
}
.avatar-profile-preview img,
.avatar-profile-preview .avatar-placeholder{
  width:72px;height:72px;border-radius:22px;object-fit:cover;display:block;background:#f1f2f7
}
.avatar-profile-preview strong{display:block;font-size:15px}
.avatar-profile-preview small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.avatar-showcase-enhanced{margin-top:18px}
.avatar-showcase-enhanced>article{padding:18px;text-align:left}
.avatar-showcase-enhanced strong{display:block;font-size:18px;margin:12px 0 4px}
.avatar-showcase-enhanced p{margin:0;color:var(--muted);font-size:14px;line-height:1.8}
.avatar-showcase-enhanced .avatar-placeholder{
  width:88px;height:88px;border-radius:24px;margin:0 0 10px;font-size:26px
}

/* mobile / tablet */
@media(max-width:1024px){
  .topbar{padding:0 16px}
  .page-content{padding:16px 14px 98px}
  .profile-card-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:960px){
  .mobile-bottom-nav{
    left:12px;
    right:12px;
    bottom:10px;
    min-height:78px;
    padding:7px;
    border-radius:24px;
    gap:4px
  }
  .mobile-bottom-nav a{
    gap:4px;
    padding:8px 4px;
    border-radius:16px
  }
  .mobile-bottom-nav span{
    font-size:18px;
    line-height:1
  }
  .mobile-bottom-nav small{
    font-size:10px;
    line-height:1.25;
    font-weight:600;
    text-align:center
  }
}
@media(max-width:720px){
  .topbar{
    height:68px;
    gap:10px;
    padding:0 12px
  }
  .create-post{min-height:42px;padding:0 14px}
  .page-content{padding:12px 10px 100px}
  .page-hero{padding:22px 18px;border-radius:18px}
  .page-hero h1{font-size:31px}
  .page-hero p{font-size:14px}
  .account-chip{padding-right:6px}
  .account-avatar,
  .account-avatar-img{width:38px;height:38px}
  .profile-hero-card{padding:18px}
  .profile-identity-block{grid-template-columns:1fr;justify-items:start}
  .profile-avatar-xl{width:112px;height:112px;border-radius:28px}
  .profile-identity-copy h1{font-size:31px}
  .profile-meta-pills span{font-size:11px}
  .profile-summary-grid{grid-template-columns:1fr}
  .profile-card-grid{grid-template-columns:1fr}
  .profile-avatar-preview{grid-template-columns:72px 1fr}
  .profile-avatar-preview img,.avatar-showcase-image{width:72px;height:72px;border-radius:20px}
  .avatar-hero-logged{grid-template-columns:1fr}
  .avatar-profile-preview{grid-template-columns:64px 1fr}
  .avatar-profile-preview img,.avatar-profile-preview .avatar-placeholder{width:64px;height:64px;border-radius:18px}
  .avatar-showcase-enhanced strong{font-size:16px}
  .feed-filter-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .feed-filter-bar a{justify-content:center}
  .chat-login-hint{font-size:11px}
  .chat-workspace{overflow:visible}
  .chat-message-list{padding:12px}
  .chat-message{gap:8px}
  .chat-message p{font-size:13px}
  .lazy-game-card img,
  .post-image-grid img{border-radius:12px}
  .post-image-grid.count-3 img:first-child{height:240px}
}
@media(max-width:440px){
  .mobile-bottom-nav{
    min-height:84px;
    left:8px;
    right:8px;
    bottom:8px
  }
  .mobile-bottom-nav span{font-size:17px}
  .mobile-bottom-nav small{font-size:9.5px}
  .create-post span{display:none}
  .page-hero h1{font-size:28px}
  .avatar-showcase-enhanced .avatar-placeholder{width:72px;height:72px;border-radius:20px}
}

/* ==========================================================
   v3.4.7 marketplace + full avatar + stable chat/mobile
   ========================================================== */

/* Full-body Roblox avatar should remain fully visible instead of being cropped. */
.account-avatar-img,
.login-avatar-img,
.profile-avatar-xl,
.profile-avatar-preview img,
.avatar-profile-preview img,
.avatar-showcase-image,
.composer-user img,
.feed-post-head>img,
.chat-message>img{
  object-fit:contain!important;
  object-position:center!important;
  background:linear-gradient(180deg,#f6f3ff,#ffffff)!important
}

/* Marketplace */
.roblox-market-section,
.member-market-section,
.market-note{margin-top:18px}
.roblox-market-section{padding:20px}
.roblox-market-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:14px
}
.roblox-item-card{
  min-width:0;
  padding:10px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease
}
.roblox-item-card:hover{
  transform:translateY(-2px);
  border-color:#d7cffd;
  box-shadow:0 12px 28px rgba(43,49,76,.08)
}
.roblox-item-image{
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:13px;
  background:linear-gradient(180deg,#f7f6fb,#fff)
}
.roblox-item-image img{width:100%;height:100%;object-fit:contain;display:block}
.roblox-item-card strong{
  display:block;
  margin-top:9px;
  color:var(--text);
  font-size:13px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.roblox-item-card small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.roblox-item-card span{display:block;margin-top:7px;color:#6f4cf5;font-size:12px;font-weight:700}
.market-skeleton{padding:10px;border:1px solid var(--line);border-radius:16px;background:#fff}
.market-skeleton span{display:block;aspect-ratio:1/1;border-radius:13px;background:linear-gradient(90deg,#f0f1f6,#f8f8fb,#f0f1f6);background-size:200% 100%;animation:marketShimmer 1.3s infinite}
.market-skeleton i,.market-skeleton b{display:block;height:10px;border-radius:8px;background:#f0f1f6;margin-top:9px}
.market-skeleton b{width:55%}
.market-api-empty{grid-column:1/-1;padding:24px;text-align:center;color:var(--muted)}
.market-note{padding:18px 20px}.market-note strong{display:block}.market-note p{margin:5px 0 0;color:var(--muted);font-size:13px}
@keyframes marketShimmer{to{background-position:-200% 0}}

/* Chat stays in place while sending. */
.chat-composer{transition:border-color .15s ease,box-shadow .15s ease}
.chat-composer.chat-send-error{box-shadow:0 0 0 3px rgba(220,38,38,.12);border-color:#fecaca!important}
.chat-composer button:disabled{opacity:.6;cursor:wait}
.chat-message-own{animation:chatMessageIn .18s ease}
@keyframes chatMessageIn{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}

/* Exactly four mobile footer actions. */
.mobile-bottom-nav-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mobile-bottom-nav-4 a{min-width:0}
.mobile-bottom-nav-4 span{font-size:20px!important}
.mobile-bottom-nav-4 small{font-size:11px!important}

@media(max-width:1100px){
  .roblox-market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:720px){
  /* iOS/Android browsers zoom focused fields when font size is below 16px. */
  input,
  textarea,
  select,
  .chat-composer input,
  .top-search input,
  .community-composer-form textarea,
  .community-composer-form select{
    font-size:16px!important
  }
  .chat-composer input{min-height:46px}
  .chat-composer button{min-height:46px;min-width:68px}
  .roblox-market-section{padding:14px}
  .roblox-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .roblox-item-card{padding:7px;border-radius:13px}
  .roblox-item-image{border-radius:10px}
  .roblox-item-card strong{font-size:12px}
  .roblox-item-card small{font-size:9.5px}
  .roblox-item-card span{font-size:11px}
  .mobile-bottom-nav-4{min-height:76px!important}
  .mobile-bottom-nav-4 a{padding:8px 5px!important}
}
@media(max-width:440px){
  .roblox-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-bottom-nav-4 small{font-size:10px!important}
}

/* ==========================================================
   v3.5.0 Social / realtime chat / checkout responsive polish
   ========================================================== */

/* Social photos use Roblox headshots; full-body avatar uses contain only where intended. */
.account-avatar-img,
.login-avatar-img,
.feed-post-head img,
.chat-avatar-button img,
.social-profile-headshot,
.friend-avatar img,
.member-mini-head img,
.checkout-profile-card img,
.composer-user img{
  object-fit:cover!important;
  object-position:center!important;
  background:#f2f3f8!important
}
.social-profile-cover>img,
.profile-avatar-stage>img,
.member-mini-avatar,
.post-avatar-attachment img,
.attach-avatar-option img{
  object-fit:contain!important;
  object-position:center!important
}

/* Roblox friends / presence */
.friends-online-strip{margin:16px 0;padding:16px 18px;overflow:hidden}
.friends-strip-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.friends-strip-head strong{display:block;font-size:18px}
.friends-strip-head button{border:1px solid #ded9fb;background:#f7f5ff;color:var(--purple);font-weight:700;border-radius:12px;padding:9px 12px;cursor:pointer}
.friends-strip-list{display:flex;gap:10px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none}
.friends-strip-list::-webkit-scrollbar{display:none}
.social-friend-card{flex:0 0 210px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:9px;min-width:0}
.social-friend-card .friend-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:0;cursor:pointer}
.friend-avatar{position:relative;display:block;width:46px;height:46px}
.friend-avatar img{width:46px;height:46px;border-radius:50%;display:block}
.friend-avatar i{position:absolute;right:0;bottom:1px;width:12px;height:12px;border-radius:50%;background:#a7afbc;border:2px solid #fff}
.social-friend-card.online .friend-avatar i{background:#22c55e}
.social-friend-card.ingame .friend-avatar i{background:#3b82f6}
.social-friend-card.studio .friend-avatar i{background:#f59e0b}
.friend-copy{min-width:0}.friend-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.friend-copy small{display:block;margin-top:3px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.friend-actions a,.friend-actions button{border:0;border-radius:9px;background:#f4f4f9;color:#4b5563;padding:6px 8px;font-size:10px;cursor:pointer}.friend-actions .friend-join{background:#ede9ff;color:var(--purple);font-weight:700}
.social-friends-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.social-friends-grid .social-friend-card{width:auto;max-width:none}
.social-friends-mini{display:grid;gap:8px}.social-friends-mini .social-friend-card{width:100%;max-width:none;flex:none;padding:7px}.social-friends-mini .friend-main{grid-template-columns:38px minmax(0,1fr)}.social-friends-mini .friend-avatar,.social-friends-mini .friend-avatar img{width:38px;height:38px}
.friends-loading,.friends-empty{padding:16px;border:1px dashed var(--line);border-radius:13px;color:var(--muted);font-size:12px;text-align:center}

/* Find friends: game rooms + chat */
.chat-workspace{border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(43,49,76,.06)}
.chat-channel-list{background:#fafaff}
.chat-channel{border:1px solid transparent;border-radius:14px;transition:.16s ease}
.chat-channel.active{border-color:#d8cffd;background:#f0ebff}
.chat-channel:hover{border-color:#e5e1f7}
.chat-channel strong{font-size:13px!important;line-height:1.35}.chat-channel small{font-size:10.5px!important}
.chat-header{min-height:70px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid var(--line)}
.chat-header strong{font-size:17px}.chat-header small{font-size:11.5px;color:var(--muted)}
.chat-status{flex:0 0 auto;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#f4f5f8;color:#7b8492;font-size:10.5px}
.chat-message-list{scroll-behavior:smooth;overscroll-behavior:contain}
.chat-message{grid-template-columns:42px minmax(0,1fr)!important;align-items:start}
.chat-avatar-button{border:0;background:none;padding:0;cursor:pointer}.chat-avatar-button img{width:42px!important;height:42px!important;border-radius:50%!important;display:block}
.chat-message-meta button,.feed-author-name{border:0;background:none;padding:0;color:var(--text);font-weight:800;cursor:pointer;text-align:left}
.chat-message-content>p{margin:5px 0 0;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.chat-game-invite{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:9px;align-items:center;margin-top:8px;max-width:430px;padding:7px;border:1px solid #ddd8f6;border-radius:13px;background:#faf8ff}.chat-game-invite img{width:52px;height:52px;border-radius:10px;object-fit:cover}.chat-game-invite small,.chat-game-invite strong{display:block}.chat-game-invite small{color:var(--purple);font-size:9px}.chat-game-invite strong{font-size:12px}.chat-game-invite b{font-size:10px;color:#fff;background:var(--purple);padding:7px 9px;border-radius:9px;white-space:nowrap}
.chat-composer-realtime{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;background:#fff;border-top:1px solid var(--line)}
.chat-input-wrap{position:relative;min-width:0}.chat-input-wrap>input{width:100%;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:13px;outline:none;background:#fafbfe}.chat-input-wrap>input:focus{border-color:#a998fa;box-shadow:0 0 0 3px rgba(111,76,245,.09);background:#fff}
.chat-composer-realtime>button{height:46px;min-width:72px;border:0;border-radius:13px;background:var(--purple);color:#fff;font-weight:800;cursor:pointer}
.game-mention-popup{position:absolute;left:0;right:0;bottom:54px;z-index:45;max-height:310px;overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 18px 50px rgba(25,28,46,.18);padding:6px}.game-mention-popup[hidden]{display:none!important}.game-mention-popup button{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;border:0;background:#fff;padding:7px;border-radius:10px;text-align:left;cursor:pointer}.game-mention-popup button:hover{background:#f7f5ff}.game-mention-popup img{width:42px;height:42px;border-radius:9px;object-fit:cover}.game-mention-popup strong{font-size:12px}.game-mention-popup small{color:var(--muted);font-size:10px}

/* Social profile inspired by Roblox profile hierarchy */
.social-profile-hero{overflow:hidden;padding:0;margin-bottom:18px}
.social-profile-cover{position:relative;height:340px;display:grid;place-items:center;background:radial-gradient(circle at 50% 28%,#f6d59f 0,#c49a6c 46%,#8d6547 100%);overflow:hidden}
.social-profile-cover:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.17),transparent 36%,rgba(71,43,25,.12))}
.social-profile-cover>img{position:relative;width:min(360px,70%);height:92%;filter:drop-shadow(0 24px 20px rgba(39,23,13,.22))}
.profile-3d-badge{position:absolute;right:18px;bottom:16px;padding:8px 11px;border-radius:10px;background:rgba(72,48,32,.36);color:#fff;font-weight:800;font-size:11px;backdrop-filter:blur(10px)}
.social-profile-info{position:relative;display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 22px;background:#fff}
.social-profile-headshot{width:90px;height:90px;border-radius:50%;border:5px solid #fff;box-shadow:0 8px 24px rgba(32,37,55,.13)}
.social-profile-name h1{margin:4px 0 0;font-size:30px;line-height:1.1}.social-profile-name p{margin:3px 0;color:var(--muted);font-size:14px}.social-profile-name>small{color:#687382}
.presence-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#f3f4f7;color:#697386;font-size:10px;font-weight:700}.presence-pill i,.presence-large i{width:9px;height:9px;border-radius:50%;background:#a7afbc}.presence-pill.online i,.presence-large.online i{background:#22c55e}.presence-pill.ingame i,.presence-large.ingame i{background:#3b82f6}.presence-pill.studio i,.presence-large.studio i{background:#f59e0b}
.social-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.social-profile-actions form{margin:0}.social-profile-actions .btn{white-space:nowrap}
.social-profile-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:16px;margin-bottom:16px}.profile-avatar-detail-card,.profile-presence-card,.wearing-section,.social-friends-section,.member-posts-section{padding:18px}.profile-avatar-stage{height:430px;margin-top:12px;display:grid;place-items:center;position:relative;overflow:hidden;border-radius:18px;background:radial-gradient(circle at 50% 30%,#f8dba9,#a77b56 65%,#8a6246)}.profile-avatar-stage img{width:88%;height:92%;filter:drop-shadow(0 22px 17px rgba(47,27,15,.25))}.profile-avatar-stage span{position:absolute;right:13px;bottom:13px;background:rgba(69,45,28,.35);color:#fff;padding:7px 10px;border-radius:9px;font-size:10px;font-weight:700}
.profile-presence-card h2{font-size:22px;margin:5px 0 14px}.presence-large{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:14px;background:#f7f8fa}.presence-large i{width:13px;height:13px}.profile-presence-card p{color:var(--muted);font-size:13px;line-height:1.7}.profile-presence-card .btn{margin-top:6px}
.wearing-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}.wearing-grid a{min-width:0;padding:8px;border:1px solid var(--line);border-radius:14px;background:#fff}.wearing-grid img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:10px;background:#f5f6f9}.wearing-grid strong{display:block;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10.5px}
.member-post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.member-post-list a{padding:12px;border:1px solid var(--line);border-radius:13px}.member-post-list strong,.member-post-list small{display:block}.member-post-list strong{font-size:12px}.member-post-list small{margin-top:5px;color:var(--muted);font-size:10px}

/* Mini member profile */
html.modal-open{overflow:hidden}.member-mini-overlay[hidden]{display:none!important}.member-mini-overlay{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:18px}.member-mini-backdrop{position:absolute;inset:0;border:0;background:rgba(20,24,35,.48);backdrop-filter:blur(5px)}.member-mini-card{position:relative;z-index:1;width:min(460px,100%);max-height:min(760px,88vh);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(19,23,38,.28)}.member-mini-close{position:absolute;right:12px;top:12px;z-index:4;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.9);font-size:22px;cursor:pointer}.member-mini-hero{height:250px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 28%,#f5d59e,#9e7453);overflow:hidden}.member-mini-avatar{width:68%;height:92%;object-fit:contain;filter:drop-shadow(0 16px 13px rgba(35,22,14,.22))}.member-mini-head{position:absolute;left:18px;bottom:14px;display:flex;align-items:center;gap:8px}.member-mini-head>img{width:58px;height:58px;border-radius:50%;border:3px solid #fff}.member-mini-body{padding:18px}.member-mini-body h2{margin:0;font-size:24px}.member-mini-body>p{margin:2px 0;color:var(--muted)}.member-mini-body>small{display:block;margin-top:7px;color:#667080}.member-mini-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.member-mini-actions .btn{min-height:40px;text-align:center;justify-content:center}

/* Community: posts first; composer opens as a modal via #create-post */
.community-compose-modal{display:none!important}.community-compose-modal:target{display:grid!important;position:fixed;inset:0;z-index:3500;place-items:center;padding:18px;background:transparent;border:0!important;box-shadow:none!important}.composer-modal-backdrop{position:absolute;inset:0;background:rgba(18,22,34,.48);backdrop-filter:blur(4px)}.composer-modal-card{position:relative;z-index:1;width:min(720px,100%);max-height:90vh;overflow:auto;border-radius:22px;background:#fff;padding:18px;box-shadow:0 28px 80px rgba(18,22,34,.26)}.composer-close{position:absolute;right:12px;top:10px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f3f4f8;font-size:22px;z-index:3}.attach-avatar-option{display:grid;grid-template-columns:auto 64px 1fr;gap:10px;align-items:center;margin-top:12px;padding:9px;border:1px solid #ded9f5;border-radius:14px;background:#faf8ff;cursor:pointer}.attach-avatar-option input{width:17px;height:17px}.attach-avatar-option img{width:64px;height:72px;border-radius:12px;background:linear-gradient(180deg,#f5e5c9,#aa7e58)}.attach-avatar-option strong,.attach-avatar-option small{display:block}.attach-avatar-option strong{font-size:13px}.attach-avatar-option small{margin-top:3px;color:var(--muted);font-size:10px}.feed-profile-button{border:0;background:none;padding:0;cursor:pointer}.feed-profile-button img{width:44px!important;height:44px!important;border-radius:50%!important;display:block}.post-avatar-attachment{margin-top:12px;border-radius:18px;overflow:hidden;background:radial-gradient(circle at 50% 24%,#f5d7a4,#946b4c);position:relative;display:grid;place-items:center;height:440px}.post-avatar-attachment img{width:76%;height:92%;filter:drop-shadow(0 20px 16px rgba(48,28,16,.24))}.post-avatar-attachment span{position:absolute;left:12px;bottom:12px;background:rgba(31,25,20,.42);color:#fff;padding:7px 10px;border-radius:9px;font-size:10px}.social-post-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.social-post-actions button,.social-post-actions a{border:0;background:#f4f5f8;border-radius:9px;padding:6px 9px;color:#5c6573;font-size:10px;cursor:pointer}.social-post-actions a:last-child{color:var(--purple);font-weight:700}

/* Checkout */
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.checkout-main{display:grid;gap:14px}.checkout-step,.checkout-side,.payment-page{padding:20px}.checkout-step h1,.payment-page h1{margin:5px 0 16px;font-size:30px}.checkout-product-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fafaff}.checkout-robux-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#fff1d5;color:#d68a00;font-size:18px;font-weight:900}.checkout-product-card strong,.checkout-product-card small{display:block}.checkout-product-card strong{font-size:18px}.checkout-product-card small{color:var(--muted);font-size:11px}.checkout-product-card>b{font-size:21px}.checkout-step-head{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;margin-bottom:12px}.checkout-step-head>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--purple);color:#fff;font-weight:800}.checkout-step-head strong,.checkout-step-head small{display:block}.checkout-step-head small{margin-top:2px;color:var(--muted);font-size:11px}.checkout-profile-card{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:15px;background:#fff;padding:9px;text-align:left;cursor:pointer}.checkout-profile-card img{width:54px;height:54px;border-radius:50%}.checkout-profile-card strong,.checkout-profile-card small{display:block}.checkout-profile-card small{color:var(--muted);font-size:11px}.checkout-profile-card>span{color:var(--purple);font-size:11px;font-weight:700}.payment-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-choice{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 24px;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:15px;cursor:pointer}.payment-choice input{position:absolute;opacity:0}.payment-choice:has(input:checked){border-color:#8b74f6;background:#f8f6ff;box-shadow:0 0 0 3px rgba(111,76,245,.08)}.payment-choice-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f2efff;color:var(--purple);font-weight:900}.payment-choice strong,.payment-choice small{display:block}.payment-choice small{margin-top:3px;color:var(--muted);font-size:10px}.payment-choice>i{font-style:normal;color:var(--purple);opacity:0}.payment-choice:has(input:checked)>i{opacity:1}.checkout-submit{width:100%;height:50px;margin-top:12px;border:0;border-radius:14px;background:var(--purple);color:#fff;font-weight:900;cursor:pointer}.checkout-submit:disabled{background:#d6d7de;color:#9299a4;cursor:not-allowed}.checkout-side{position:sticky;top:92px}.checkout-side>strong{font-size:18px}.checkout-side>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.checkout-total b{font-size:20px}.checkout-side p{color:var(--muted);font-size:11px;line-height:1.6}.payment-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.payment-summary-grid>div{padding:14px;border:1px solid var(--line);border-radius:14px}.payment-summary-grid small,.payment-summary-grid strong{display:block}.payment-summary-grid small{color:var(--muted);font-size:10px}.payment-summary-grid strong{margin-top:4px;font-size:16px}.payment-timer{margin:16px 0;padding:16px;border-radius:16px;background:#fff6e7;text-align:center}.payment-timer small,.payment-timer strong{display:block}.payment-timer strong{margin-top:4px;font-size:34px;color:#c57700}.payment-next-phase{padding:16px;border:1px dashed #d4d6df;border-radius:15px}.payment-next-phase p{color:var(--muted);font-size:12px;line-height:1.7}

/* Mobile/tablet UX */
@media(max-width:1024px){
  .social-friends-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wearing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .checkout-layout{grid-template-columns:1fr}.checkout-side{position:static}
}
@media(max-width:720px){
  .friends-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:20px 17px!important}
  .friends-hero>div{min-width:0}.friends-hero h1{font-size:30px!important;line-height:1.16!important;margin-bottom:8px!important}.friends-hero p{font-size:14px!important;line-height:1.7!important}.friends-hero>.btn{width:100%!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:0 16px!important;font-size:14px!important}
  .friends-online-strip{padding:13px 12px;margin:12px 0}.friends-strip-head{align-items:flex-start}.friends-strip-head strong{font-size:16px}.friends-strip-head button{font-size:10px;padding:7px 8px}.social-friend-card{flex-basis:178px}
  .chat-workspace{border-radius:18px!important;overflow:hidden!important;min-height:0!important}
  .chat-channel-list{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:9px!important;max-height:none!important;border:0!important;border-bottom:1px solid var(--line)!important;scroll-snap-type:x proximity}
  .chat-channel-list .chat-section-title{display:none!important}
  .chat-channel{flex:0 0 auto!important;width:auto!important;min-width:122px!important;max-width:174px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:7px!important;padding:7px 9px!important;margin:0!important;border:1px solid var(--line)!important;scroll-snap-align:start}
  .chat-channel img,.channel-global-icon{width:34px!important;height:34px!important;border-radius:9px!important}.chat-channel strong{font-size:11.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-channel small{font-size:9.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-channel-global{min-width:138px!important}
  .chat-header{min-height:62px;padding:10px 12px}.chat-header strong{font-size:15px}.chat-header small{font-size:10px}.chat-status{font-size:9px;padding:6px 8px}
  .chat-message-list{max-height:52vh!important;min-height:320px!important;padding:12px 10px!important}.chat-message{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}.chat-avatar-button img{width:36px!important;height:36px!important}.chat-message-content>p{font-size:14px}.chat-game-invite{grid-template-columns:46px minmax(0,1fr)!important}.chat-game-invite img{width:46px;height:46px}
  .chat-composer-realtime{position:sticky!important;bottom:0!important;z-index:20!important;padding:9px!important;grid-template-columns:minmax(0,1fr) 64px!important}.chat-input-wrap>input{height:48px!important;font-size:16px!important}.chat-composer-realtime>button{height:48px!important;min-width:64px!important;font-size:14px}.game-mention-popup{bottom:55px;max-height:240px}
  .lazy-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lazy-game-card strong{font-size:12px!important}
  .mobile-bottom-nav-4{min-height:86px!important;padding:7px!important;border-radius:25px!important}.mobile-bottom-nav-4 a{padding:9px 5px!important;gap:5px!important}.mobile-bottom-nav-4 span{font-size:23px!important}.mobile-bottom-nav-4 small{font-size:12px!important;line-height:1.2!important;font-weight:700!important}
  .social-profile-cover{height:360px}.social-profile-cover>img{width:88%;height:94%}.social-profile-info{grid-template-columns:72px minmax(0,1fr);padding:14px;gap:11px}.social-profile-headshot{width:72px;height:72px;border-width:4px}.social-profile-name h1{font-size:24px}.social-profile-actions{grid-column:1/-1;justify-content:flex-start}.social-profile-actions .btn,.social-profile-actions form,.social-profile-actions form button{flex:1 1 auto;justify-content:center;text-align:center}.social-profile-grid{grid-template-columns:1fr}.profile-avatar-stage{height:390px}.wearing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.social-friends-grid{grid-template-columns:1fr 1fr}.member-post-list{grid-template-columns:1fr}
  .community-layout{display:block!important}.community-side-column{margin-top:14px}.community-compose-modal:target{padding:9px}.composer-modal-card{max-height:94vh;border-radius:18px;padding:14px}.composer-options{grid-template-columns:1fr!important}.attach-avatar-option{grid-template-columns:auto 54px 1fr}.attach-avatar-option img{width:54px;height:62px}.post-avatar-attachment{height:380px}.post-avatar-attachment img{width:88%}.feed-post{border-radius:17px}.feed-post-body{font-size:15px!important;line-height:1.72!important}.feed-profile-button img{width:42px!important;height:42px!important}.social-post-actions{gap:5px}.social-post-actions button,.social-post-actions a{font-size:10px;padding:7px 8px}
  .member-mini-overlay{padding:9px;align-items:end}.member-mini-card{width:100%;max-height:88vh;border-radius:24px 24px 16px 16px}.member-mini-hero{height:280px}.member-mini-avatar{width:78%}.member-mini-actions{grid-template-columns:1fr 1fr}
  .checkout-step,.checkout-side,.payment-page{padding:15px}.checkout-step h1,.payment-page h1{font-size:25px}.checkout-product-card{grid-template-columns:50px minmax(0,1fr) auto;padding:10px}.checkout-robux-icon{width:50px;height:50px}.checkout-product-card strong{font-size:16px}.checkout-product-card>b{font-size:18px}.payment-choice-grid{grid-template-columns:1fr}.checkout-profile-card{grid-template-columns:48px minmax(0,1fr) auto}.checkout-profile-card img{width:48px;height:48px}.payment-summary-grid{grid-template-columns:1fr}.payment-summary-grid>div{display:flex;align-items:center;justify-content:space-between}.payment-summary-grid strong{margin:0}
}
@media(max-width:440px){
  .mobile-bottom-nav-4{min-height:90px!important}.mobile-bottom-nav-4 span{font-size:24px!important}.mobile-bottom-nav-4 small{font-size:12.5px!important}
  .social-friends-grid{grid-template-columns:1fr}.wearing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-avatar-stage{height:360px}.social-profile-cover{height:330px}.social-profile-name h1{font-size:22px}.post-avatar-attachment{height:340px}.member-mini-actions{grid-template-columns:1fr}.friends-strip-head{display:grid}.friends-strip-head button{justify-self:start}.chat-header{align-items:flex-start}.chat-status{margin-top:2px}
}

/* ==========================================================
   v3.6.0 Social core: notifications, friends, DMs, comments
   ========================================================== */

.notification-bell-wrap{position:relative;display:flex;align-items:center}
.notification-bell{
  position:relative;
  width:46px;height:46px;border-radius:50%;border:1px solid var(--line);
  background:#fff;display:grid;place-items:center;font-size:19px;cursor:pointer;
  box-shadow:0 7px 20px rgba(43,49,76,.07)
}
.notification-bell>span{
  position:absolute;right:-3px;top:-4px;min-width:20px;height:20px;padding:0 5px;
  border-radius:999px;background:#ff466a;color:#fff;border:2px solid #fff;
  display:grid;place-items:center;font-size:9px;font-weight:700
}
.notification-dropdown{
  position:absolute;right:0;top:56px;width:min(390px,calc(100vw - 24px));
  background:#fff;border:1px solid var(--line);border-radius:20px;
  box-shadow:0 22px 60px rgba(33,40,70,.18);z-index:120;overflow:hidden
}
.notification-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line)}
.notification-dropdown-head strong{font-size:15px}
.notification-dropdown-head button{border:0;background:none;color:var(--purple);font-size:11px;cursor:pointer}
.notification-dropdown-list{max-height:420px;overflow:auto}
.notification-item{display:grid;grid-template-columns:42px 1fr;gap:10px;padding:12px 14px;border-bottom:1px solid #f0f1f6;align-items:start;background:#fff}
.notification-item.unread{background:#f8f5ff}
.notification-item img,.notification-item-icon{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#f0ecff;display:grid;place-items:center}
.notification-item strong{display:block;font-size:12.5px;color:#202636}
.notification-item small{display:block;margin-top:3px;font-size:11px;color:var(--muted);line-height:1.55}
.notification-view-all{display:block;padding:12px;text-align:center;font-size:12px;color:var(--purple);font-weight:600;background:#fbfbff}
.notification-empty{padding:24px;text-align:center;color:var(--muted);font-size:12px}

.notifications-page{padding:22px}
.notifications-page h1{margin:5px 0 3px;font-size:30px}
.notification-page-list{display:grid;margin-top:16px}
.notification-row{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:15px 8px;border-top:1px solid var(--line);align-items:start}
.notification-row.unread{background:linear-gradient(90deg,#f8f5ff,#fff)}
.notification-row img,.notification-row .notification-icon{width:48px;height:48px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#eee9ff}
.notification-row strong{display:block;font-size:14px}
.notification-row small{display:block;color:var(--muted);font-size:12px;line-height:1.65;margin-top:3px}
.notification-row time{display:block;color:#a0a8b7;font-size:10px;margin-top:6px}

/* Community likes/comments */
.post-social-ui{border-top:1px solid #f0f1f5;margin-top:10px}
.post-social-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 0 0}
.post-social-actions button{
  min-height:40px;border:0;border-radius:12px;background:#f7f8fb;color:#646e7f;
  display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;cursor:pointer
}
.post-social-actions button:hover{background:#f0ecff;color:var(--purple)}
.post-social-actions button.liked{background:#fff0f4;color:#ed416b}
.post-comments-panel{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.post-comments-list{display:grid;gap:10px}
.post-comment{display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:start}
.post-comment>button,.post-comment-avatar{width:36px;height:36px;border:0;border-radius:50%;padding:0;background:#f2efff;overflow:hidden;display:grid;place-items:center}
.post-comment>button img{width:100%;height:100%;object-fit:cover}
.post-comment>div{background:#f7f8fb;border-radius:14px;padding:9px 11px}
.post-comment-head{display:flex;align-items:center;gap:8px}
.post-comment-head button{border:0;background:none;padding:0;font-size:12px;font-weight:700;color:#252b38;cursor:pointer}
.post-comment-head small{font-size:9.5px;color:#9aa3b1}
.post-comment p{margin:5px 0 0;font-size:12.5px;line-height:1.65;color:#414a59}
.post-comment-reply{border:0;background:none;color:var(--purple);padding:5px 0 0;font-size:10.5px;cursor:pointer}
.post-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:11px;align-items:end}
.post-comment-form textarea{min-height:42px;max-height:130px;resize:vertical;border:1px solid var(--line);border-radius:13px;padding:10px 12px;font:inherit;font-size:14px;background:#fff}
.post-comment-form button{min-height:42px;border:0;border-radius:13px;padding:0 15px;background:var(--purple);color:#fff;font-weight:600;cursor:pointer}
.post-comment-form small{grid-column:1/-1;color:var(--purple);font-size:10px}
.post-comments-empty{padding:14px;text-align:center;font-size:11px;color:var(--muted)}

/* Member mini profile */
.member-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}
.member-mini-stats span{padding:9px 6px;border:1px solid var(--line);border-radius:12px;text-align:center;font-size:9.5px;color:var(--muted)}
.member-mini-stats b{display:block;color:#262d3a;font-size:13px}
.profile-like-btn.liked{background:#fff0f4!important;color:#e83f69!important;border-color:#ffd5e0!important}

/* Profile stats/history */
.profile-social-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:14px;overflow:hidden;padding:0}
.profile-social-stats>div{padding:16px;text-align:center;background:#fff;border-right:1px solid var(--line)}
.profile-social-stats>div:last-child{border-right:0}
.profile-social-stats strong{display:block;font-size:24px;color:#252c3b}
.profile-social-stats small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.profile-history-tabs{display:flex;gap:8px;margin-top:14px;padding:8px}
.profile-history-tabs a{padding:10px 14px;border-radius:12px;color:#70798a;font-size:12px;font-weight:600}
.profile-history-tabs a.active{background:#efeaff;color:var(--purple)}
.profile-history-panel{margin-top:14px;padding:20px}
.order-history-list,.conversation-history-list{display:grid;margin-top:12px}
.order-history-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:12px;align-items:center;padding:13px 4px;border-top:1px solid var(--line)}
.order-history-list strong,.conversation-history-list strong{display:block;font-size:13px}
.order-history-list small,.conversation-history-list small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.order-history-list b{font-size:12px;color:#2b3342}
.order-history-list time,.conversation-history-list time{font-size:10px;color:#9aa3b1}
.order-history-status{padding:6px 9px;border-radius:999px;background:#f2f3f7;font-size:10px}
.order-history-status.status-completed{background:#eafbf0;color:#279553}
.order-history-status.status-problem{background:#fff0f2;color:#d73f55}
.order-history-status.status-processing{background:#eef6ff;color:#3478be}
.conversation-history-list>a{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:10px 4px;border-top:1px solid var(--line)}
.conversation-history-list img{width:42px;height:42px;border-radius:50%;object-fit:cover}

/* Private messages */
.social-message-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:650px;overflow:hidden;padding:0}
.dm-sidebar{border-right:1px solid var(--line);background:#fbfbfe}
.dm-sidebar-head{padding:20px;border-bottom:1px solid var(--line)}
.dm-sidebar-head h1{margin:5px 0 0;font-size:28px}
.dm-conversation-list{display:grid;max-height:620px;overflow:auto}
.dm-conversation{display:grid;grid-template-columns:46px 1fr;gap:10px;padding:11px 13px;align-items:center;border-bottom:1px solid #f0f1f5}
.dm-conversation.active{background:#eee9ff}
.dm-conversation img{width:46px;height:46px;border-radius:50%;object-fit:cover}
.dm-conversation strong{display:block;font-size:12.5px}
.dm-conversation small{display:block;margin-top:4px;color:var(--muted);font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-empty-small{padding:24px;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}
.dm-panel{display:flex;flex-direction:column;min-width:0;background:#fff}
.dm-header{min-height:72px;padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}
.dm-header>button{display:flex;align-items:center;gap:9px;border:0;background:none;cursor:pointer;text-align:left}
.dm-header img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.dm-header strong{display:block;font-size:13px}
.dm-header small{font-size:10px}
.dm-header>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.dm-message-list{flex:1;min-height:480px;max-height:620px;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,#fafbfe,#fff)}
.dm-message{display:flex;align-items:flex-end;gap:8px;max-width:78%}
.dm-message.own{align-self:flex-end}
.dm-message>button{width:30px;height:30px;border:0;padding:0;border-radius:50%;overflow:hidden;background:#f1f2f7}
.dm-message>button img{width:100%;height:100%;object-fit:cover}
.dm-message>div{background:#f0f1f5;border-radius:16px 16px 16px 5px;padding:9px 11px;min-width:80px}
.dm-message.own>div{background:linear-gradient(135deg,#6f4cf5,#855cf7);color:#fff;border-radius:16px 16px 5px 16px}
.dm-message p{margin:0;font-size:13px;line-height:1.65}
.dm-message small{display:block;margin-top:4px;font-size:9px;opacity:.7}
.dm-game-invite{margin-top:8px;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:9px;border-radius:12px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22)}
.dm-message:not(.own) .dm-game-invite{background:#fff;border-color:var(--line)}
.dm-game-invite>span{font-size:20px}.dm-game-invite small{margin:0}.dm-game-invite strong{display:block;font-size:11px}.dm-game-invite b{font-size:10px}
.dm-composer{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px 13px;border-top:1px solid var(--line);background:#fff}
.dm-composer textarea{min-height:46px;max-height:130px;resize:none;border:1px solid var(--line);border-radius:15px;padding:12px 13px;font:inherit;font-size:16px;line-height:1.45}
.dm-composer button{min-width:72px;border:0;border-radius:14px;background:var(--purple);color:#fff;font-weight:700}
.dm-empty{margin:auto;text-align:center;padding:40px;color:var(--muted)}
.dm-empty>div{font-size:38px}.dm-empty h2{color:#242b39;margin:10px 0 5px}

/* find friends mention suggestions */
.game-mention-popup{max-height:330px;overflow:auto}
.game-mention-popup button{min-height:62px}

@media(max-width:960px){
  .notification-dropdown{position:fixed;top:74px;right:12px}
  .social-message-shell{grid-template-columns:220px minmax(0,1fr)}
  .profile-social-stats strong{font-size:20px}
}

@media(max-width:720px){
  .notification-bell{width:42px;height:42px;font-size:17px}
  .notification-dropdown{top:68px;right:8px;width:calc(100vw - 16px);border-radius:18px}
  .top-actions{gap:7px}
  .profile-social-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-social-stats>div:nth-child(2){border-right:0}
  .profile-history-tabs{overflow:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  .profile-history-tabs a{font-size:12px;min-height:40px;display:flex;align-items:center}
  .order-history-list article{grid-template-columns:1fr auto;gap:7px}
  .order-history-list b,.order-history-list time{grid-column:1/2}
  .social-message-shell{display:block;min-height:auto;border:0;background:transparent}
  .dm-sidebar{border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:18px;margin-bottom:10px;overflow:hidden}
  .dm-sidebar-head{padding:14px 16px}.dm-sidebar-head h1{font-size:23px}
  .dm-conversation-list{display:flex;overflow-x:auto;max-height:none;padding:8px;gap:7px;-webkit-overflow-scrolling:touch}
  .dm-conversation{min-width:190px;border:1px solid var(--line);border-radius:14px;padding:8px}
  .dm-panel{border:1px solid var(--line);border-radius:18px;overflow:hidden}
  .dm-header{padding:9px 10px}.dm-header .btn{font-size:10px;padding:0 9px;min-height:34px}
  .dm-message-list{min-height:52vh;max-height:58vh;padding:11px}
  .dm-message{max-width:88%}
  .dm-composer{position:sticky;bottom:88px;z-index:6;padding:9px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
  .dm-composer textarea{font-size:16px!important}
  .post-comment-form textarea{font-size:16px!important}
  .post-social-actions button{font-size:12px}
  .member-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:440px){
  .notification-bell{width:40px;height:40px}
  .notification-item{grid-template-columns:38px 1fr;padding:10px 11px}
  .notification-item img,.notification-item-icon{width:38px;height:38px}
  .profile-social-stats>div{padding:13px 8px}
  .profile-social-stats strong{font-size:18px}
  .profile-social-stats small{font-size:10px}
  .social-profile-actions{gap:7px}
  .social-profile-actions .btn{min-height:40px;font-size:11px;padding:0 11px}
  .dm-message-list{min-height:50vh}
  .dm-message p{font-size:12.5px}
}
@media(max-width:960px){
  .mobile-bottom-nav.mobile-bottom-nav-4{min-height:82px;padding:8px 10px}
  .mobile-bottom-nav.mobile-bottom-nav-4 span{font-size:22px!important}
  .mobile-bottom-nav.mobile-bottom-nav-4 small{font-size:13px!important;font-weight:700!important}
}

/* ==========================================================
   v3.6.1 Live social UI / no-jump profile tabs
   ========================================================== */

.notification-bell>span[hidden]{display:none!important}
.notification-bell>span:not([hidden]){display:grid!important}

.post-social-ui{
  position:relative;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #eceef4
}
.post-social-actions{
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:0 0 10px!important
}
.post-social-actions button{
  width:auto!important;
  min-width:0!important;
  min-height:36px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#697386!important;
  font-size:12px!important;
  font-weight:600
}
.post-social-actions button:hover{background:#f5f3ff!important;color:var(--purple)!important}
.post-social-actions .post-heart-btn{
  padding:0 8px!important;
  color:#5f6878!important
}
.post-heart-icon{
  font-size:24px;
  line-height:1;
  font-family:Arial,sans-serif;
  transform:translateY(-1px)
}
.post-heart-btn.liked .post-heart-icon{color:#f04468}
.post-heart-btn.liked{color:#f04468!important;background:#fff5f7!important}
.post-heart-count,.post-comment-btn [data-comment-count]{font-size:11px}
.post-comments-panel{
  margin-top:0!important;
  padding-top:10px!important;
  border-top:1px solid #f0f1f5!important
}
.post-comments-list{max-height:420px;overflow:auto;overscroll-behavior:contain}
.post-comment-form{
  position:sticky;
  bottom:0;
  z-index:2;
  margin-top:12px!important;
  padding-top:10px;
  background:#fff
}
.post-comment-form textarea{
  min-height:44px!important;
  font-size:16px!important;
  resize:none!important;
  border-radius:999px!important;
  padding:11px 16px!important
}
.post-comment-form button{
  min-height:44px!important;
  border-radius:999px!important;
  padding:0 18px!important
}

.profile-history-tabs button{
  border:0;
  background:transparent;
  padding:10px 14px;
  border-radius:12px;
  color:#70798a;
  font:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer
}
.profile-history-tabs button.active{background:#efeaff;color:var(--purple)}
.profile-history-panel[hidden],[data-profile-panel][hidden]{display:none!important}

@media(max-width:720px){
  .post-social-actions{gap:4px}
  .post-heart-icon{font-size:26px}
  .post-comment-form{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
  .post-comment-form textarea{font-size:16px!important;min-width:0}
  .post-comment-form button{padding:0 14px!important}
  .post-comments-list{max-height:360px}
  .profile-history-tabs button{font-size:13px;min-height:42px;white-space:nowrap}
  .notification-bell>span{font-size:9px;min-width:20px}
}

/* ==========================================================
   v3.8.0 Final SEO + live @game composer preview
   ========================================================== */

.final-seo-extension{margin-top:18px}
.final-seo-details{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.final-seo-details>summary{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none}
.final-seo-details>summary::-webkit-details-marker{display:none}
.final-seo-details>summary span{font-weight:700;color:#313949;font-size:14px}
.final-seo-details>summary b{flex:0 0 auto;color:var(--purple);font-size:12px}
.final-seo-content{border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;padding:22px!important;max-width:none!important}
.final-seo-content>h2{margin:26px 0 8px;font-size:21px;line-height:1.5}
.final-seo-content>h2:first-of-type{margin-top:8px;font-size:25px}
.final-seo-content h3{margin:18px 0 5px;font-size:16px}
.final-seo-content p{font-size:14px;line-height:1.95;color:#596474}
.final-seo-content a{color:var(--purple);font-weight:600}
.final-seo-faq{display:grid;gap:5px}
.seo-brand-note{margin-top:24px!important;padding:13px 14px;border-radius:13px;background:#f7f6ff;color:#5f5a73!important}

.chat-composer-realtime:has(.chat-selected-game:not([hidden])){
  grid-template-columns:minmax(0,1fr) auto;
}
.chat-selected-game{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:50px minmax(0,1fr) 32px;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:1px solid #dcd5fb;
  border-radius:14px;
  background:linear-gradient(180deg,#faf8ff,#fff);
  box-shadow:0 6px 18px rgba(111,76,245,.07)
}
.chat-selected-game[hidden]{display:none!important}
.chat-selected-game>img{width:50px;height:50px;border-radius:11px;object-fit:cover;background:#f2f3f7}
.chat-selected-game>span{min-width:0}
.chat-selected-game small,.chat-selected-game strong,.chat-selected-game em{display:block}
.chat-selected-game small{color:var(--purple);font-size:10px;font-weight:600}
.chat-selected-game strong{margin-top:2px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-selected-game em{margin-top:2px;color:var(--muted);font-size:10px;font-style:normal}
.chat-selected-game>button{width:30px;height:30px;border:0;border-radius:50%;background:#f0eef8;color:#6c647d;font-size:18px;cursor:pointer}

.game-mention-popup{padding:7px!important}
.game-mention-popup button b{justify-self:end;color:var(--purple);font-size:10px;background:#f1edff;padding:6px 8px;border-radius:9px}
.game-mention-popup button.is-highlighted,.game-mention-popup button:hover{background:#f5f2ff!important;box-shadow:inset 0 0 0 1px #e1dafd}
.game-mention-loading,.game-mention-empty{display:flex;align-items:center;gap:10px;padding:12px 11px;color:#4d5667}
.game-mention-loading>span{width:24px;height:24px;border:3px solid #e7e3fb;border-top-color:var(--purple);border-radius:50%;animation:robuxth-spin .75s linear infinite}
.game-mention-loading strong,.game-mention-loading small,.game-mention-empty strong,.game-mention-empty small{display:block}
.game-mention-loading strong,.game-mention-empty strong{font-size:12px}
.game-mention-loading small,.game-mention-empty small{margin-top:2px;color:var(--muted);font-size:10px}
@keyframes robuxth-spin{to{transform:rotate(360deg)}}

@media(max-width:720px){
  .final-seo-details>summary{padding:14px 15px;align-items:flex-start}
  .final-seo-details>summary span{font-size:13px;line-height:1.55}
  .final-seo-content{padding:17px!important}
  .final-seo-content>h2{font-size:19px}
  .final-seo-content>h2:first-of-type{font-size:22px}
  .final-seo-content p{font-size:13px;line-height:1.9}
  .chat-selected-game{grid-template-columns:44px minmax(0,1fr) 30px;padding:7px 8px;gap:8px}
  .chat-selected-game>img{width:44px;height:44px;border-radius:10px}
  .chat-selected-game strong{font-size:12px}
  .game-mention-popup{left:0!important;right:0!important;bottom:56px!important;max-height:280px!important;border-radius:15px 15px 12px 12px!important}
  .game-mention-popup button{grid-template-columns:44px minmax(0,1fr) auto!important;min-height:58px!important}
  .game-mention-popup img{width:44px!important;height:44px!important}
}


/* ==========================================================
   v3.8.2 — NO SCROLL JUMP
   Do not animate page/chat scroll position changes.
   Horizontal product/banner rails keep their own smooth scroll.
   ========================================================== */
html{
  scroll-behavior:auto!important;
}
.chat-message-list{
  scroll-behavior:auto!important;
  overflow-anchor:none;
}
.chat-workspace,
.chat-channel-list,
.chat-panel{
  overflow-anchor:none;
}


/* v3.9.2 friends pagination + RobuxTH support messages */
.friends-load-more{display:block;margin:12px auto 0;border:1px solid #dcd5ff;background:#fff;color:#6947ee;border-radius:999px;padding:9px 18px;font:inherit;font-weight:800;cursor:pointer}.friends-load-more:hover{background:#f7f4ff}.friends-load-more:disabled{opacity:.55;cursor:wait}.dm-support-avatar,.dm-message-support-avatar{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#6f4cf5,#9a7cff);color:#fff;font-weight:900}.dm-conversation.support{grid-template-columns:46px 1fr}.dm-header.support .support-heading{display:flex;align-items:center;gap:10px}.dm-message-support-avatar{width:34px;height:34px;font-size:12px;margin-top:2px}.dm-message.support-message>div:last-child{max-width:min(78%,620px)}.dm-sender-name{display:block;font-size:11px;color:#6f4cf5;margin-bottom:3px}.dm-image-attachment{display:block;margin-top:8px;max-width:320px}.dm-image-attachment img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:14px;border:1px solid #e6e1fa;background:#fff}@media(max-width:720px){.friends-load-more{width:100%}.dm-message.support-message>div:last-child{max-width:86%}.dm-image-attachment{max-width:240px}}

/* ==========================================================
   v3.10.0 — CHAT MEDIA / STICKERS / LAZY UI
   ========================================================== */
.chat-rich-composer{display:block!important;padding:10px!important;background:#fff;border-top:1px solid var(--line);position:relative}
.chat-composer-main,.dm-composer-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.chat-composer-main .chat-input-wrap{min-width:0}
.chat-composer-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:8px}
.chat-tool-button{appearance:none;border:1px solid #e0dcf5;background:#f8f7ff;color:#5e4cc4;min-height:34px;border-radius:10px;padding:7px 10px;font:inherit;font-size:11px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;cursor:pointer;white-space:nowrap}
.chat-tool-button:hover{background:#f0edff;border-color:#d4ccfb}.chat-tool-button:disabled{opacity:.45;cursor:not-allowed}
.chat-image-button{cursor:pointer}.chat-lock-status{margin-left:auto;font-size:11px;font-weight:800;color:#b42318;background:#fff0ee;border:1px solid #ffd0ca;border-radius:999px;padding:6px 9px}
.chat-media-selection{position:relative;margin:8px 0 2px;display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:7px 36px 7px 7px;border:1px solid #ddd7fb;border-radius:13px;background:#faf9ff}
.chat-media-selection[hidden]{display:none!important}.chat-media-local-preview{display:block;width:58px;height:58px;border-radius:10px;object-fit:cover;background:#f2f2f6}.chat-media-local-preview.sticker{object-fit:contain;background:transparent}
.chat-media-selection>span{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#667085}
.chat-media-remove{position:absolute;top:5px;right:5px;width:25px;height:25px;border:0;border-radius:50%;background:#ece8fb;color:#6a5c96;font-size:17px;line-height:1;cursor:pointer}
.chat-sticker-section{margin-top:7px;border-top:1px solid #f0eef7;padding-top:7px}.chat-sticker-head{display:flex;align-items:center;gap:9px}.chat-sticker-head small{color:#98a0ae;font-size:10px}
.chat-sticker-panel{margin-top:7px;padding:8px;border:1px solid #e6e2f7;border-radius:13px;background:#fbfaff}.chat-sticker-panel[hidden]{display:none!important}
.chat-sticker-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-bottom:8px}.chat-sticker-search-row input{min-width:0;height:36px;border:1px solid #ddd9ec;border-radius:10px;padding:0 10px;font:inherit;font-size:12px;background:#fff}.chat-sticker-search-row span{font-size:9px;color:#8a849d;white-space:nowrap}
.chat-sticker-strip{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:1px 1px 5px;min-height:78px}.sticker-item{flex:0 0 74px;width:74px;height:74px;border:1px solid transparent;border-radius:12px;background:#fff;display:grid;place-items:center;padding:4px;cursor:pointer;scroll-snap-align:start}.sticker-item:hover{border-color:#d5cdfc;background:#f6f3ff}.sticker-item img{display:block;max-width:66px;max-height:66px;object-fit:contain}.sticker-provider-note{font-size:11px;color:#7c8492;padding:12px}
.chat-skeleton{display:block;background:linear-gradient(90deg,#eceff3 25%,#f7f8fa 37%,#eceff3 63%);background-size:400% 100%;animation:chat-shimmer 1.25s ease infinite}.sticker-skeleton{flex:0 0 74px;width:74px;height:74px;border-radius:12px}@keyframes chat-shimmer{0%{background-position:100% 0}100%{background-position:0 0}}
.chat-image-message,.dm-image-message{display:block;margin-top:7px;width:max-content;max-width:min(360px,100%)}.chat-image-message img,.dm-image-message img{display:block;max-width:100%;max-height:360px;border-radius:14px;object-fit:contain;background:#f4f5f7;border:1px solid #e3e5ea}
.chat-sticker-message,.dm-sticker-message{display:block;margin-top:6px;width:auto;max-width:160px;max-height:160px;object-fit:contain}.chat-media-expired,.dm-media-expired{display:inline-flex;margin-top:7px;padding:8px 10px;border-radius:10px;background:#f4f5f7;color:#8b93a1;font-size:11px}
.friends-loading{position:relative;overflow:hidden;color:transparent!important;min-height:86px;border:0!important;background:linear-gradient(90deg,#edf0f4 25%,#f7f8fa 37%,#edf0f4 63%)!important;background-size:400% 100%!important;animation:chat-shimmer 1.25s ease infinite}.friends-loading::after{content:'กำลังโหลด...';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#9aa2af;font-size:11px}
.lazy-game-card img[loading="lazy"],.chat-channel img[loading="lazy"],.friend-avatar img[loading="lazy"]{background:#eef0f4}

@media(max-width:720px){
  .chat-rich-composer{padding:8px!important}.chat-composer-main,.dm-composer-main{gap:6px}.chat-composer-main input,.dm-composer-main textarea,.chat-sticker-search-row input{font-size:16px!important}
  .chat-tool-button{font-size:10px;padding:6px 8px}.chat-lock-status{width:100%;margin-left:0;text-align:center;justify-content:center}.chat-sticker-search-row{grid-template-columns:1fr}.chat-sticker-search-row span{justify-self:end}.sticker-item,.sticker-skeleton{flex-basis:68px;width:68px;height:68px}.sticker-item img{max-width:60px;max-height:60px}.chat-image-message,.dm-image-message{max-width:min(280px,100%)}
}


/* ROBUXTH_FRONT_STICKERS_V61 */
.dm-sticker-attachment-v61{display:inline-block!important;background:transparent!important;border:0!important;padding:0!important}.dm-sticker-attachment-v61 img{width:auto!important;max-width:150px!important;max-height:150px!important;object-fit:contain!important;border-radius:0!important;background:transparent!important}.dm-message:has(.dm-sticker-attachment-v61)>div{background:transparent!important;border-color:transparent!important;box-shadow:none!important}


/* ROBUXTH_CHAT_UI_V641_FRONT */
.dm-message-list{background:linear-gradient(180deg,#fafafa,#ffffff)!important;border:1px solid #ececf2;border-radius:22px;padding:16px!important}
.dm-message>div{background:#f3f4f6!important;border:1px solid #ececf2!important;border-radius:18px 18px 18px 8px!important;padding:12px 14px!important;box-shadow:none!important}
.dm-message.own>div{background:#ede9fe!important;border:1px solid #ddd6fe!important;border-radius:18px 18px 8px 18px!important;color:#312e81!important}
.dm-message p{font-size:14px!important;line-height:1.65!important}
.dm-message small{font-size:10px!important;opacity:.72!important}
.dm-sender-name{font-size:11px!important;color:#6b7280!important;letter-spacing:.01em;margin-bottom:4px!important}
.dm-message.own .dm-sender-name{color:#5b52d6!important}
.dm-message.sticker-only-v640>div,.dm-message:has(.dm-sticker-attachment-v6)>div{background:transparent!important;border-color:transparent!important;box-shadow:none!important;padding:4px!important}
.dm-composer-v641{display:flex;flex-direction:column;gap:10px;padding:12px 12px 14px!important;background:#fff!important;border-top:1px solid #ececf2!important}
.dm-toolbar-v641{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dm-pill-v641{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #ddd6fe;border-radius:16px;background:#ede9fe;color:#5b52d6;font-weight:800;font-size:14px;line-height:1;cursor:pointer;text-decoration:none;box-shadow:0 1px 0 rgba(255,255,255,.8) inset}
.dm-pill-v641:hover{background:#e7e1ff}.dm-pill-v641 input{display:none!important}.dm-pill-icon-v641{display:inline-grid;place-items:center;font-size:14px}
.dm-compose-row-v641{display:grid;grid-template-columns:minmax(0,1fr) 176px;gap:12px;align-items:center;border:1px solid #d8d9df;border-radius:26px;padding:8px 10px 8px 18px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.02)}
.dm-composer-v641 textarea{min-height:34px!important;max-height:120px!important;padding:6px 4px!important;border:0!important;background:transparent!important;box-shadow:none!important;resize:none!important;font-size:14px!important;line-height:1.6!important}
.dm-composer-v641 textarea:focus{outline:none!important}
.dm-send-v641{height:54px;border:0!important;border-radius:20px!important;background:#6d63c7!important;color:#fff!important;font-weight:900!important;font-size:18px!important;cursor:pointer;box-shadow:none!important}
.dm-send-v641:hover{filter:brightness(.98)}
.dm-composer-file-v641{display:block;padding:0 6px;font-size:12px;color:#8b90a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-composer-file-v641[hidden]{display:none!important}
.dm-sticker-panel-v640{margin-top:0!important;border-radius:18px!important;border:1px solid #ececf2!important;background:#fbfbfe!important;padding:12px!important}
.dm-sticker-panel-v640 button{border-radius:14px!important;border:1px solid #ececf2!important;background:#fff!important}.dm-sticker-panel-v640 button:hover{background:#f8f7ff!important;border-color:#dcd2ff!important}
@media(max-width:720px){
  .dm-message-list{padding:12px!important;border-radius:18px!important}
  .dm-pill-v641{padding:9px 13px;border-radius:15px;font-size:13px}
  .dm-compose-row-v641{grid-template-columns:minmax(0,1fr) 108px;gap:8px;padding:7px 8px 7px 14px;border-radius:22px}
  .dm-send-v641{height:46px;border-radius:16px!important;font-size:16px!important}
  .dm-composer-v641 textarea{font-size:16px!important;min-height:30px!important}
}


/* ROBUXTH_CHAT_UI_V653_FULL */
.chat-rich-composer,.dm-composer.chat-rich-composer{display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important;background:#fff!important;border-top:1px solid #ececf2!important}
.chat-rich-composer .chat-composer-tools{order:1;display:flex!important;gap:10px!important;margin:0!important;align-items:center!important;flex-wrap:wrap!important}
.chat-rich-composer .chat-composer-main,.dm-composer.chat-rich-composer .dm-composer-main{order:2;display:grid!important;grid-template-columns:minmax(0,1fr) 104px!important;align-items:center!important;gap:8px!important;border:1px solid #d9dae1!important;border-radius:24px!important;padding:6px 7px 6px 16px!important;background:#fff!important;box-shadow:none!important}
.chat-rich-composer .chat-input-wrap{min-width:0!important}
.chat-rich-composer [data-chat-input],.dm-composer.chat-rich-composer [data-dm-input]{width:100%!important;min-height:36px!important;max-height:112px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:7px 3px!important;font-size:14px!important;line-height:1.55!important;resize:none!important}
.chat-rich-composer .chat-composer-main>button,.dm-composer.chat-rich-composer .dm-composer-main>button{width:104px!important;min-width:104px!important;height:42px!important;border:0!important;border-radius:16px!important;background:#6d63c7!important;color:#fff!important;font-size:14px!important;font-weight:900!important;padding:0 15px!important}
.chat-rich-composer .chat-tool-button{min-height:38px!important;border:1px solid #ddd6fe!important;border-radius:15px!important;background:#ede9fe!important;color:#5b52d6!important;padding:9px 14px!important;font-size:13px!important;font-weight:800!important}
.chat-rich-composer .chat-image-button::before{content:'';display:inline-block;width:16px;height:16px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b52d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.4 11.6-8.9 8.9a6 6 0 0 1-8.5-8.5l9.6-9.6a4 4 0 0 1 5.7 5.7l-9.6 9.6a2 2 0 1 1-2.8-2.8l8.9-8.9'/%3E%3C/svg%3E")!important;flex:0 0 16px}
.chat-message-list,.dm-message-list{background:linear-gradient(180deg,#fafafa,#fff)!important;border:1px solid #ececf2!important;border-radius:20px!important;padding:16px!important;gap:10px!important}
.chat-message-content,.dm-message>div{background:#f3f4f6!important;border:1px solid #ececf2!important;border-radius:18px 18px 18px 8px!important;box-shadow:none!important;padding:11px 13px!important}
.dm-message.own>div{background:#ede9fe!important;border-color:#ddd6fe!important;border-radius:18px 18px 8px 18px!important;color:#312e81!important}
.chat-local-sticker-message,.dm-local-sticker-message{display:block!important;width:auto!important;max-width:170px!important;max-height:170px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important}
.chat-message-content.sticker-only-v653,.dm-message.sticker-only-v653>div{background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important}
.chat-sticker-panel{border-radius:16px!important;background:#fbfbfe!important;border-color:#ececf2!important}
.sticker-item{border-radius:13px!important;background:#fff!important;border:1px solid #ececf2!important}
@media(max-width:720px){
 .chat-rich-composer,.dm-composer.chat-rich-composer{padding:8px!important;gap:8px!important}
 .chat-rich-composer .chat-composer-tools{gap:7px!important}
 .chat-rich-composer .chat-tool-button{min-height:36px!important;padding:8px 11px!important;font-size:12px!important}
 .chat-rich-composer .chat-composer-main,.dm-composer.chat-rich-composer .dm-composer-main{grid-template-columns:minmax(0,1fr) 76px!important;border-radius:20px!important;padding:5px 6px 5px 12px!important;gap:6px!important}
 .chat-rich-composer .chat-composer-main>button,.dm-composer.chat-rich-composer .dm-composer-main>button{width:76px!important;min-width:76px!important;height:40px!important;border-radius:14px!important;font-size:13px!important}
 .chat-rich-composer [data-chat-input],.dm-composer.chat-rich-composer [data-dm-input]{font-size:16px!important;min-height:34px!important}
 .chat-message-list,.dm-message-list{padding:10px!important;border-radius:16px!important}
 .chat-local-sticker-message,.dm-local-sticker-message{max-width:145px!important;max-height:145px!important}
}


/* ROBUXTH_CHAT_BUGFIX_V656 */
.chat-message{width:100%!important;min-width:0!important;max-width:100%!important}
.chat-message-content{min-width:0!important;width:100%!important;max-width:100%!important;justify-self:stretch!important;writing-mode:horizontal-tb!important;overflow:visible!important}
.chat-message-content>p{display:block!important;width:auto!important;max-width:100%!important;white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:anywhere!important;writing-mode:horizontal-tb!important}
.dm-message{min-width:0!important}.dm-message>div{min-width:0!important}.dm-message p{white-space:pre-wrap!important;word-break:normal!important;overflow-wrap:anywhere!important;writing-mode:horizontal-tb!important}
.chat-local-sticker-message,.dm-local-sticker-message,.dm-sticker-attachment-v61 img{visibility:visible!important;opacity:1!important}
.chat-sticker-strip{min-width:0!important}.sticker-item img{visibility:visible!important;opacity:1!important}
@media(max-width:720px){
 .chat-image-button::before{display:inline-block!important;visibility:visible!important;opacity:1!important;width:17px!important;height:17px!important;min-width:17px!important}
 .chat-message-content{width:100%!important;min-width:0!important}
}


/* ROBUXTH_STICKER_POPUP_V658 */
.chat-rich-composer{position:relative!important;overflow:visible!important}
.chat-rich-composer .chat-composer-tools{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;padding-bottom:2px}
.chat-rich-composer .chat-composer-tools::-webkit-scrollbar{display:none}
.chat-rich-composer .chat-composer-tools .chat-tool-button{flex:0 0 auto!important}
.chat-sticker-section-v658-empty{display:none!important}
.chat-sticker-popup-v658{position:absolute!important;left:10px!important;right:10px!important;bottom:calc(100% + 10px)!important;z-index:160!important;margin:0!important;max-height:320px!important;overflow:auto!important;padding:12px!important;border:1px solid #ddd6fe!important;border-radius:18px!important;background:#fff!important;box-shadow:0 20px 56px rgba(31,41,55,.20)!important}
.chat-sticker-popup-v658[hidden]{display:none!important}
.chat-sticker-popup-v658 .chat-sticker-strip{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(72px,1fr))!important;gap:8px!important;overflow:visible!important;min-height:0!important}
.chat-sticker-popup-v658 .sticker-item{width:100%!important;height:76px!important;flex:none!important}
@media(max-width:720px){.chat-sticker-popup-v658{left:8px!important;right:8px!important;max-height:280px!important;padding:10px!important}.chat-sticker-popup-v658 .chat-sticker-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}.chat-rich-composer .chat-composer-tools{gap:6px!important}}


/* ROBUXTH_FIND_FRIENDS_V660 */
.friends-online-strip{overflow:hidden!important}
.friends-strip-list{display:flex!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 2px 8px!important;scrollbar-width:none!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.friends-strip-list::-webkit-scrollbar{display:none!important}
.friends-load-more{display:none!important}
.friends-strip-list .social-friend-card{flex:0 0 264px!important;width:264px!important;min-width:264px!important;max-width:264px!important;min-height:84px!important;height:84px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;scroll-snap-align:start}
.friends-strip-list .social-friend-card .friend-main{width:100%!important;min-width:0!important}
.friends-strip-list .friend-copy{min-width:0!important;overflow:hidden!important}
.friends-strip-list .friend-copy strong,.friends-strip-list .friend-copy small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.friend-skeleton-v660{pointer-events:none!important;background:#fff!important}
.friend-skeleton-v660 .friend-main{grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
.skeleton-avatar-v660,.skeleton-line-v660{position:relative;display:block;overflow:hidden;background:#e9edf2!important}
.skeleton-avatar-v660{width:46px!important;height:46px!important;border-radius:50%!important}
.friend-skeleton-v660 .friend-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:9px!important}
.skeleton-line-v660{height:11px!important;border-radius:999px!important}
.skeleton-line-v660.w62{width:62%!important}.skeleton-line-v660.w66{width:66%!important}.skeleton-line-v660.w70{width:70%!important}.skeleton-line-v660.w76{width:76%!important}.skeleton-line-v660.w78{width:78%!important}.skeleton-line-v660.w84{width:84%!important}.skeleton-line-v660.w88{width:88%!important}.skeleton-line-v660.w90{width:90%!important}
.skeleton-avatar-v660::after,.skeleton-line-v660::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.88),transparent);animation:robuxthSkeletonV660 1.15s infinite}
@keyframes robuxthSkeletonV660{100%{transform:translateX(100%)}}
@media(max-width:720px){.friends-strip-list .social-friend-card{flex-basis:220px!important;width:220px!important;min-width:220px!important;max-width:220px!important;height:80px!important;min-height:80px!important}.friends-strip-list{gap:10px!important}}


/* ROBUXTH_CHAT_BUBBLE_V661 */
.chat-message-content{
  width:auto!important;
  min-width:0!important;
  max-width:min(100%,760px)!important;
  justify-self:start!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
.chat-message-content>p{
  display:block!important;
  width:fit-content!important;
  max-width:min(100%,680px)!important;
  margin:5px 0 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#3e4654!important;
  white-space:pre-wrap!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.chat-message-own .chat-message-content>p{
  width:fit-content!important;
  max-width:min(100%,680px)!important;
  padding:8px 12px!important;
  background:#dcfce7!important;
  border:1px solid #bbf7d0!important;
  border-radius:14px 14px 14px 6px!important;
  color:#14532d!important;
  box-shadow:none!important;
}
.chat-message-content.sticker-only-v653{
  width:auto!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
}
@media(max-width:720px){
  .chat-message-content,.chat-message-content>p,.chat-message-own .chat-message-content>p{max-width:100%!important}
  .chat-message-own .chat-message-content>p{padding:7px 11px!important;border-radius:13px 13px 13px 5px!important}
}


/* ROBUXTH_APP_LOGIN_STYLE_V100 */
.app-login-card{width:min(560px,calc(100% - 28px));margin:42px auto;padding:34px;text-align:center;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(52,42,120,.12)}
.app-login-logo{width:72px;height:72px;margin:0 auto 14px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#6857ee,#8978ff);color:#fff;font-size:30px;font-weight:950;box-shadow:0 14px 30px rgba(104,87,238,.25)}
.app-login-card h1{margin:8px 0 8px;font-size:30px;letter-spacing:-.03em}.app-login-card>p{max-width:440px;margin:0 auto;color:var(--muted);line-height:1.65}
.app-login-code{margin:22px auto 14px;width:min(280px,100%);padding:14px 18px;border:1px solid #ddd7ff;border-radius:18px;background:#f8f6ff}.app-login-code small{display:block;color:#77708e;font-weight:700}.app-login-code strong{display:block;margin-top:4px;font-size:34px;letter-spacing:.18em;color:#5f52d8}
.app-login-state{display:flex;align-items:center;justify-content:center;gap:9px;margin:12px 0 18px;color:#6b7280;font-weight:700}.app-login-state i{width:10px;height:10px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.12)}.app-login-state[data-state="success"]{color:#15803d}.app-login-state[data-state="success"] i{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}.app-login-state[data-state="error"]{color:#b91c1c}.app-login-state[data-state="error"] i{background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.12)}
.app-login-open{display:flex!important;width:min(340px,100%);margin:0 auto;padding:14px 18px!important;border-radius:16px!important;font-weight:900!important}.app-login-web{display:inline-block;margin-top:13px;color:#6b5be7;font-size:13px;font-weight:750}.app-login-note{display:block;margin:18px auto 0;max-width:430px;color:#8b90a3;line-height:1.55}
@media(max-width:640px){.app-login-card{margin:18px auto;padding:24px 18px;border-radius:22px}.app-login-card h1{font-size:25px}.app-login-code strong{font-size:30px}.app-login-logo{width:62px;height:62px;border-radius:19px}}


/* ROBUXTH_LOGIN_MODAL_STYLE_V110 */
@media(min-width:901px){.left-sidebar{height:100dvh!important}.sidebar-bottom{padding-bottom:18px!important}}
html.login-modal-open-v110{overflow:hidden}
.login-choice-overlay-v110{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(20,22,31,.44);backdrop-filter:blur(9px)}
.login-choice-overlay-v110[hidden]{display:none!important}
.login-choice-modal-v110{position:relative;width:min(430px,100%);padding:30px;border:1px solid rgba(225,225,238,.95);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(25,26,45,.22);text-align:center}
.login-choice-close-v110{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f4f4f8;color:#6c7280;font-size:24px;line-height:1;cursor:pointer}
.login-choice-brand-v110{width:58px;height:58px;margin:0 auto 12px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#6f4cf5,#8a62fa);color:#fff;font-size:23px;font-weight:900}
.login-choice-modal-v110 h2{margin:0;font-size:26px}.login-choice-modal-v110>p{margin:4px 0 20px;color:var(--muted);font-size:14px}
.login-choice-actions-v110{display:grid;gap:10px}
.login-provider-v110{width:100%;min-height:62px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:9px 14px;border:1px solid #e4e5ec;border-radius:17px;background:#fff;text-align:left;color:#272b38;cursor:pointer}
.login-provider-v110:hover{border-color:#cfc8ff;background:#fbfaff}.login-provider-v110[disabled]{opacity:.58;cursor:not-allowed}.login-provider-v110.roblox{border-color:#d9d3ff;background:#f8f6ff}.login-provider-v110.roblox.is-loading{opacity:.68;cursor:wait}
.login-provider-icon-v110{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f2f3f7;color:#444b5c;font-size:17px;font-weight:900}.login-provider-v110.roblox .login-provider-icon-v110{background:#6f4cf5;color:#fff}
.login-provider-v110 strong,.login-provider-v110 small{display:block}.login-provider-v110 strong{font-size:14px}.login-provider-v110 small{margin-top:2px;color:#8a92a2;font-size:11px}
.login-verify-v110{margin-top:14px;padding:12px;border:1px solid #ddd7ff;border-radius:16px;background:#faf9ff}.login-verify-v110 small,.login-verify-v110 span{display:block}.login-verify-v110 small{font-size:10px;color:#8a84a2}.login-verify-v110 strong{display:block;margin:2px 0;font-size:27px;letter-spacing:.14em;color:#5f52d8}.login-verify-v110 span{font-size:11px;color:#73798a}
.login-choice-error-v110{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff4f4;color:#b42318;font-size:12px;line-height:1.55}
@media(max-width:640px){.login-choice-overlay-v110{align-items:end;padding:10px}.login-choice-modal-v110{padding:25px 18px 20px;border-radius:24px}.login-provider-v110{min-height:58px}}


/* ROBUXTH_LOGIN_SOCIAL_V120 */
.login-choice-overlay-v110{display:grid!important;place-items:center!important;align-items:center!important;padding:16px!important}
.login-choice-modal-v110{width:min(430px,calc(100vw - 24px));margin:auto!important}
.login-provider-icon-v110{overflow:hidden;background:#fff!important;border:1px solid #ececf3}
.login-provider-icon-v110 img{display:block;width:100%;height:100%;object-fit:cover}
.login-provider-v110.google .login-provider-icon-v110 img{object-fit:contain;padding:8px}
.login-provider-v110.roblox .login-provider-icon-v110{background:#fff!important;color:inherit!important}
@media(max-width:640px){.login-choice-overlay-v110{padding:12px!important}.login-choice-modal-v110{padding:24px 18px 20px!important;border-radius:24px!important}}

.friends-online-strip{margin:16px 0;padding:18px 18px 16px;overflow:hidden}
.friends-strip-list{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:3px 2px 8px;scrollbar-width:none;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.friends-strip-list::-webkit-scrollbar{display:none}
.friends-strip-list.is-fetching{cursor:progress}
.friends-scroll-nav{display:none;justify-content:flex-end;gap:8px;margin:0 0 10px}
.friends-scroll-btn{width:38px;height:38px;border:1px solid #ddd8f7;border-radius:999px;background:#fff;color:#6a50ec;font-size:24px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(80,61,178,.08)}
.friends-scroll-btn:disabled{opacity:.4;cursor:not-allowed}
.social-friend-card,.friends-empty-inline{flex:0 0 264px;min-width:264px;min-height:84px;box-sizing:border-box;scroll-snap-align:start}
.social-friend-card{display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px 12px}
.social-friend-card .friend-main{min-height:62px}
.social-friend-card .friend-main img{display:block;width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#f3f4f8}
.social-friend-card .friend-copy{min-width:0}
.social-friend-card .friend-copy strong,.social-friend-card .friend-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.social-friend-card.is-skeleton{pointer-events:none;background:#fff}
.skeleton-box,.skeleton-line{position:relative;display:block;overflow:hidden;background:#eceff4;border-radius:999px}
.skeleton-box::after,.skeleton-line::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.82),transparent);animation:robuxthSkeletonShift 1.15s infinite}
@keyframes robuxthSkeletonShift{100%{transform:translateX(100%)}}
.social-friend-card.is-skeleton .friend-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center}
.social-friend-card.is-skeleton .friend-avatar{width:46px;height:46px;border-radius:50%;background:#eceff4}
.social-friend-card.is-skeleton .friend-copy{display:flex;flex-direction:column;gap:10px;justify-content:center}
.skeleton-line{height:12px}.skeleton-line.w-60{width:60%}.skeleton-line.w-64{width:64%}.skeleton-line.w-70{width:70%}.skeleton-line.w-76{width:76%}.skeleton-line.w-78{width:78%}.skeleton-line.w-82{width:82%}.skeleton-line.w-86{width:86%}.skeleton-line.w-90{width:90%}
.friends-empty-inline{display:flex;align-items:center;justify-content:center;padding:10px 14px;border:1px dashed #ddd8f7;border-radius:16px;background:#fcfbff;color:#8a85b3;font-size:13px;text-align:center}
.friends-load-more{display:none!important}
@media(min-width:901px){.friends-scroll-nav{display:flex}}
@media(max-width:720px){.friends-online-strip{padding:14px 12px}.friends-strip-list{gap:10px}.social-friend-card,.friends-empty-inline{flex-basis:220px;min-width:220px}}


/* ROBUXTH_LOGIN_SOCIAL_VISUAL_V121 */
.login-choice-brand-v110{padding:0;overflow:hidden;background:linear-gradient(135deg,#6f4cf5,#8a62fa)}
.login-choice-brand-v110 img{display:block;width:100%;height:100%;object-fit:cover}
.login-provider-icon-v110{display:grid;place-items:center;overflow:hidden;background:#fff!important;border:1px solid #ececf3}
.login-provider-icon-v110 img{display:block;width:100%;height:100%;object-fit:contain}
.login-provider-v110.roblox .login-provider-icon-v110 img{width:100%;height:100%;object-fit:cover}
.login-choice-modal-v110{max-height:min(90dvh,760px);overflow:auto}

/* Friends/page lazy cards */
.friends-strip-list,.robuxth-loading-cards-v121{align-items:stretch}
.social-friend-card.is-skeleton,.robuxth-loading-card-v121{min-height:84px;box-sizing:border-box}
.social-friend-card.is-skeleton{border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px 12px}
.friends-online-strip .social-friend-card.is-skeleton,.friends-online-strip .robuxth-loading-card-v121{flex:0 0 264px;min-width:264px}
@media(max-width:720px){.friends-online-strip .social-friend-card.is-skeleton,.friends-online-strip .robuxth-loading-card-v121{flex-basis:220px;min-width:220px}}


/* ROBUXTH_LOGIN_MODAL_STYLE_V122 */
.login-choice-brand-v122{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;width:68px!important;height:68px!important;padding:0!important}
.login-choice-brand-v122 img{display:block!important;width:68px!important;height:68px!important;object-fit:contain!important;border-radius:16px!important;background:transparent!important}
.login-provider-svg-v122{display:grid!important;place-items:center!important;background:#fff!important;border:1px solid #e8e9ef!important;overflow:hidden!important;padding:8px!important}
.login-provider-svg-v122 svg{display:block!important;width:100%!important;height:100%!important}
.login-provider-svg-v122.roblox-svg-v122{padding:6px!important}
.login-provider-v110.roblox .login-provider-svg-v122{background:#fff!important;color:#111827!important}
.login-provider-v110.google .login-provider-svg-v122{background:#fff!important}
.login-provider-v110 .login-provider-svg-v122 img{display:none!important}


/* ROBUXTH_LOGIN_COUNTDOWN_STYLE_V131 */
.login-countdown-v131{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:6px 10px;border-radius:999px;background:#efeaff;color:#6657db;font-size:12px;font-weight:900;letter-spacing:.04em}


/* ROBUXTH_LOGIN_CODE_REFRESH_STYLE_V133 */
.login-code-row-v133{display:flex;align-items:center;justify-content:center;gap:9px;margin:2px 0}
.login-code-row-v133>[data-login-code]{margin:0!important}
.login-code-refresh-v133{width:34px;height:34px;display:grid;place-items:center;border:1px solid #ddd7ff;border-radius:999px;background:#fff;color:#6757dc;padding:0;cursor:pointer;transition:background .18s ease,transform .18s ease}
.login-code-refresh-v133:hover{background:#f4f1ff}.login-code-refresh-v133:disabled{opacity:.5;cursor:wait}
.login-code-refresh-v133 svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-code-refresh-v133.is-spinning svg{animation:robuxthRefreshSpinV133 .7s linear infinite}@keyframes robuxthRefreshSpinV133{to{transform:rotate(360deg)}}
.notification-bell{font-size:0!important}
.notification-bell-line-v133{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:720px){.notification-bell-line-v133{width:20px;height:20px}.login-code-refresh-v133{width:32px;height:32px}}


/* ROBUXTH_PROFILE_LOGOUT_MOBILE_V134 */
@media(max-width:720px){
  .social-profile-actions form[action="/logout/"]{
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    margin:0!important;
  }
  .social-profile-actions form[action="/logout/"] button.btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:94px!important;
    min-height:40px!important;
    padding:0 12px!important;
    color:#374151!important;
    background:#fff!important;
    border:1px solid var(--line)!important;
    border-radius:10px!important;
    font-size:11px!important;
    font-weight:600!important;
    line-height:1!important;
    white-space:nowrap!important;
    visibility:visible!important;
    opacity:1!important;
    text-indent:0!important;
    overflow:visible!important;
  }
}


/* ROBUXTH_COMMUNITY_GALLERY_V219 */
.post-media-grid{display:grid;gap:6px;margin-top:12px;overflow:hidden;border-radius:18px;grid-template-columns:minmax(0,1fr)}
.post-media-grid.count-2,.post-media-grid.count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-media-grid.count-3{grid-template-columns:repeat(2,minmax(0,1fr))}
.post-media-tile{position:relative;display:block;border:0;padding:0;margin:0;background:#f2f3f7;border-radius:16px;overflow:hidden;cursor:pointer}
.post-media-grid.count-1 .post-media-tile{aspect-ratio:4/5}
.post-media-grid.count-2 .post-media-tile,.post-media-grid.count-4 .post-media-tile{aspect-ratio:1/1}
.post-media-grid.count-3 .post-media-tile:first-child{grid-row:span 2;min-height:100%;aspect-ratio:auto}
.post-media-grid.count-3 .post-media-tile:not(:first-child){aspect-ratio:1/1}
.post-media-tile img{width:100%;height:100%;display:block;object-fit:cover;background:#f2f3f7}
.post-media-tile.is-avatar{background:radial-gradient(circle at 50% 24%,#f5d7a4,#946b4c)}
.post-media-tile.is-avatar img{object-fit:contain;filter:drop-shadow(0 18px 16px rgba(48,28,16,.20))}
.post-media-badge{position:absolute;left:12px;bottom:12px;background:rgba(31,25,20,.42);color:#fff;padding:7px 10px;border-radius:9px;font-size:10px}
.post-lightbox-v219{position:fixed;inset:0;z-index:5000;display:none;place-items:center;padding:18px;background:rgba(16,20,30,.82);backdrop-filter:blur(4px)}
.post-lightbox-v219.is-open{display:grid}
.post-lightbox-v219 img{max-width:min(96vw,1200px);max-height:88vh;border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.post-lightbox-close-v219{position:absolute;top:18px;right:18px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.95);color:#202338;font-size:28px;line-height:1;cursor:pointer}
@media(max-width:768px){
  .post-media-grid{gap:5px;border-radius:16px}
  .post-media-tile{border-radius:14px}
  .post-media-badge{left:10px;bottom:10px;font-size:10px;padding:6px 9px}
  .post-lightbox-v219{padding:10px}
  .post-lightbox-v219 img{max-width:100%;max-height:84vh;border-radius:14px}
}


/* ROBUXTH_PERFORMANCE_SKELETON_V100 — global navigation/loading shell; visual-only, no data caching. */
.robuxth-page-skeleton{position:fixed;inset:0;z-index:2147482000;display:flex;background:#f7f8fc;opacity:1;visibility:visible;transition:opacity .16s ease,visibility .16s ease;pointer-events:auto}
.robuxth-page-skeleton.is-done{opacity:0;visibility:hidden;pointer-events:none}
.robuxth-page-skeleton-side{width:250px;padding:28px 24px;border-right:1px solid #edf0f5;background:#fff;display:flex;flex-direction:column;gap:18px}
.robuxth-page-skeleton-side span,.robuxth-page-skeleton-top span,.robuxth-page-skeleton-feed i,.robuxth-page-skeleton-feed b,.robuxth-page-skeleton-feed em,.robuxth-page-skeleton-columns aside span{display:block;border-radius:9px;background:linear-gradient(90deg,#edf1f5 25%,#f8fafc 50%,#edf1f5 75%);background-size:220% 100%;animation:robuxthSkeletonShimmer 1.15s linear infinite}
.robuxth-page-skeleton-side .sk-brand{width:132px;height:34px;margin-bottom:12px}.robuxth-page-skeleton-side span{width:76%;height:18px}.robuxth-page-skeleton-side span:nth-child(3n){width:62%}
.robuxth-page-skeleton-main{flex:1;min-width:0}.robuxth-page-skeleton-top{height:72px;background:#fff;border-bottom:1px solid #edf0f5;display:flex;align-items:center;gap:18px;padding:0 32px}.robuxth-page-skeleton-top span:first-child{width:min(420px,48%);height:34px}.robuxth-page-skeleton-top span:nth-child(2){width:90px;height:32px;margin-left:auto}.robuxth-page-skeleton-top span:nth-child(3){width:120px;height:32px}
.robuxth-page-skeleton-columns{max-width:1220px;margin:26px auto;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.robuxth-page-skeleton-feed{display:grid;gap:16px}.robuxth-page-skeleton-feed article{min-height:165px;background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:20px}.robuxth-page-skeleton-feed i{width:44px;height:44px;border-radius:50%;float:left;margin-right:14px}.robuxth-page-skeleton-feed b{width:34%;height:15px;margin:4px 0 10px 58px}.robuxth-page-skeleton-feed em{height:12px;margin:12px 0 0 58px}.robuxth-page-skeleton-feed em:last-child{width:72%}.robuxth-page-skeleton-columns aside{background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:20px;min-height:250px}.robuxth-page-skeleton-columns aside span{height:14px;margin-bottom:22px}.robuxth-page-skeleton-columns aside span:nth-child(even){width:70%}
@keyframes robuxthSkeletonShimmer{0%{background-position:210% 0}100%{background-position:-10% 0}}
@media(max-width:900px){.robuxth-page-skeleton-side{display:none}.robuxth-page-skeleton-columns{grid-template-columns:1fr;padding:0 14px}.robuxth-page-skeleton-columns aside{display:none}.robuxth-page-skeleton-top{height:62px;padding:0 14px}.robuxth-page-skeleton-top span:first-child{width:62%}.robuxth-page-skeleton-top span:nth-child(2){width:38px}.robuxth-page-skeleton-top span:nth-child(3){width:54px}}
@media(prefers-reduced-motion:reduce){.robuxth-page-skeleton-side span,.robuxth-page-skeleton-top span,.robuxth-page-skeleton-feed i,.robuxth-page-skeleton-feed b,.robuxth-page-skeleton-feed em,.robuxth-page-skeleton-columns aside span{animation:none}}
