@font-face{font-family:"Stars Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/poppins-Regular.woff?v=7501-font-poppins") format("woff")}
@font-face{font-family:"Stars Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/poppins-Medium.woff?v=7501-font-poppins") format("woff")}
@font-face{font-family:"Stars Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/poppins-Bold.woff?v=7501-font-poppins") format("woff")}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
:root{--gold:#ffd966;--gold2:#b78612;--bg:#03040a;--panel:rgba(8,10,18,.72);--panel2:rgba(8,10,18,.46);--line:rgba(255,217,102,.18);--line2:rgba(255,255,255,.08);--text:#f4f4f4;--muted:#aaa;--danger:#ff7777;--ok:#77ff99;--radius:18px}
html,body{width:100%;min-height:100%;background:var(--bg);color:var(--text);font-family:"Stars Sans",Arial,Helvetica,sans-serif;overflow:hidden}
body{position:relative}button,input,textarea,select{font-family:inherit}button{border:0;cursor:pointer}input,textarea,select{outline:none}.hidden{display:none!important}
.bg{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 18% 12%,rgba(255,245,190,.82) 0 36px,rgba(255,217,102,.16) 37px 76px,transparent 78px),radial-gradient(circle at 78% 18%,rgba(90,140,255,.20),transparent 28%),linear-gradient(180deg,#020817 0%,#071733 46%,#06101d 100%)}
.bg:before{content:"";position:absolute;inset:-20%;background-image:radial-gradient(circle,rgba(255,255,255,.9) 0 1px,transparent 1.8px),radial-gradient(circle,rgba(255,217,102,.9) 0 1px,transparent 1.7px);background-size:76px 76px,126px 126px;opacity:.58;animation:starsMove 90s linear infinite}@keyframes starsMove{to{transform:translate3d(-70px,80px,0)}}
body.motion-light .bg:before{animation:none;opacity:.34}body.motion-smooth .bg:before{animation-duration:150s;opacity:.46}body.theme-gold .bg{background:radial-gradient(circle at 18% 12%,rgba(255,246,188,.94) 0 34px,rgba(255,217,102,.20) 35px 74px,transparent 76px),linear-gradient(180deg,#150c02,#2a1904 48%,#050403)}body.theme-blue .bg{background:radial-gradient(circle at 18% 12%,rgba(215,232,255,.92) 0 34px,rgba(104,165,255,.18) 35px 74px,transparent 76px),linear-gradient(180deg,#020817,#06183a 52%,#020610)}
/* Tema dulu cuma ganti gradient .bg di belakang (efeknya kelihatan samar), warna aksen utama
   (var(--gold)/--gold2), yang dipakai di HAMPIR semua tombol/badge/tab-aktif/teks penting di
   seluruh app, gak pernah ikut ganti — jadi pilih "Blue" hasilnya tetap kuning semua. Override
   di sini biar aksen ikut ganti beneran. */
body.theme-gold{--gold:#ffd966;--gold2:#b78612}
body.theme-blue{--gold:#6aa7ff;--gold2:#2f5fb8}
.auth-screen{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(3,4,10,.46);backdrop-filter:blur(5px)}
.auth-card{width:100%;max-width:390px;border:1px solid var(--line);border-radius:28px;background:rgba(8,10,18,.76);padding:24px 20px;text-align:center;box-shadow:0 22px 70px rgba(0,0,0,.54)}.auth-card h1{font-size:23px;letter-spacing:.8px}.auth-sub{margin:5px 0 16px;font-size:11px;color:var(--muted)}
.brand-orbit{position:relative;width:122px;height:92px;margin:0 auto 12px}.brand-token{position:absolute;top:4px;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;font-weight:1000;font-size:30px;border:1px solid rgba(255,217,102,.25);box-shadow:0 12px 28px rgba(0,0,0,.35),0 0 20px rgba(255,217,102,.12)}.coin-token{left:5px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}.vocer-token{right:5px;background:linear-gradient(135deg,#ffeaa0,#7b5a12);color:#101010;transform:scale(.86);opacity:.92}.auth-form{display:flex;flex-direction:column;gap:9px}.auth-form input,.panel input,.panel textarea,.panel select{width:100%;min-height:43px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(4,6,12,.76);color:#fff;padding:0 12px}.panel textarea{min-height:82px;padding:12px;resize:none}.auth-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.gold-btn,.dark-btn,.panel-btn{min-height:43px;border-radius:14px;font-weight:1000}.gold-btn{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}.dark-btn,.panel-btn{background:rgba(22,23,31,.82);color:#fff;border:1px solid rgba(255,255,255,.10)}.message-line{min-height:18px;font-size:11px;color:var(--gold);line-height:1.35}.message-line.error{color:var(--danger)}.message-line.ok{color:var(--ok)}
.app{position:relative;z-index:2;width:100vw;height:100vh;max-width:540px;margin:0 auto;padding:8px;display:grid;grid-template-rows:50px 284px minmax(0,1fr);gap:8px}.topbar{display:grid;grid-template-columns:1fr 1fr 50px;border:1px solid var(--line);border-radius:20px;background:rgba(8,10,18,.48);overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.28)}.topbar button{background:transparent;color:#fff;border-right:1px solid var(--line2)}.topbar button:last-child{border-right:0}.top-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px}.top-label{color:var(--gold);font-weight:1000;letter-spacing:.7px}.top-btn strong{font-size:11.5px}.icon-btn{font-size:21px;font-weight:900}
.main-frame{min-height:0;display:grid;grid-template-columns:43% 57%;gap:8px}.profile-card,.center-card,.chat-frame{border:1px solid var(--line);border-radius:20px;background:rgba(8,10,18,.52);backdrop-filter:blur(8px);box-shadow:0 13px 32px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden}.profile-card{position:relative;display:grid;grid-template-rows:92px auto auto 1fr;gap:6px;padding:10px;text-align:center}.profile-badge{position:absolute;top:8px;right:8px;z-index:2;min-width:34px;height:24px;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;font-size:10px;font-weight:1000}.avatar-frame{width:88px;height:88px;margin:auto;border-radius:26px;border:1px solid rgba(255,255,255,.13);background:rgba(18,20,28,.72);display:grid;place-items:center;font-size:50px}.profile-card h2{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-id{background:transparent;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bio-box{border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(0,0,0,.18);padding:8px;text-align:left;overflow:hidden}.bio-head{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--gold);margin-bottom:6px}.bio-box p{font-size:10.8px;line-height:1.38;color:#ddd}.center-card{display:grid;grid-template-rows:31px minmax(0,1fr) 76px;gap:8px;padding:10px}.section-head{display:flex;align-items:center;justify-content:space-between}.section-head h2{font-size:16px}.section-head span{font-size:10px;color:var(--muted)}.game-strip{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x mandatory;padding:2px 3px 8px}.game-strip::-webkit-scrollbar{display:none}.game-card{flex:0 0 calc(100% - 16px);scroll-snap-align:center;border:1px solid rgba(255,217,102,.15);border-radius:22px;background:radial-gradient(circle at 50% 20%,rgba(255,217,102,.14),transparent 42%),rgba(8,10,18,.34);display:grid;place-items:center;text-align:center;padding:12px;color:#fff}.game-icon{font-size:46px;margin-bottom:10px}.game-name{font-size:13px;font-weight:1000;letter-spacing:.7px}.game-note{font-size:10px;color:var(--muted);margin-top:4px}.music-bubble{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:150;width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;font-size:21px;display:grid;place-items:center;box-shadow:0 10px 26px rgba(0,0,0,.4),0 0 0 1px rgba(255,217,102,.35);touch-action:none;cursor:grab}.music-bubble.playing{animation:musicBubblePulse 1.6s ease-in-out infinite}@keyframes musicBubblePulse{0%,100%{box-shadow:0 10px 26px rgba(0,0,0,.4),0 0 0 1px rgba(255,217,102,.35)}50%{box-shadow:0 10px 30px rgba(0,0,0,.45),0 0 0 8px rgba(255,217,102,.14)}}
.game-ticket-choice-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:16px}.game-ticket-choice-box{width:100%;max-width:320px;background:#12141c;border:1px solid rgba(255,217,102,.25);border-radius:18px;padding:16px;display:grid;gap:8px;text-align:center;color:#fff}.game-ticket-choice-box p{font-size:11px;color:var(--muted);margin:0 0 4px}.game-ticket-choice-box button{padding:10px;border-radius:12px;font-size:11.5px;font-weight:1000}.game-ticket-choice-box .gold-btn{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}.game-ticket-choice-box .panel-btn{background:rgba(20,22,30,.72);color:#fff;border:1px solid rgba(255,255,255,.1)}.game-ticket-choice-box small{color:var(--muted);min-height:12px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.feature-grid button{border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(20,22,30,.72);color:#fff;font-size:10.2px;font-weight:1000}.feature-grid button:first-child{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}
.chat-frame{min-height:0;display:grid;grid-template-rows:38px minmax(0,1fr);padding:7px;gap:7px}.chat-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;border:1px solid rgba(255,255,255,.06);border-radius:15px;padding:3px;background:rgba(0,0,0,.16)}.chat-tab{position:relative;border-radius:12px;background:transparent;color:#d9d9d9;font-size:8.7px;font-weight:1000}.chat-tab.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}
.notif-dot{position:absolute;top:3px;right:8px;width:7px;height:7px;border-radius:50%;background:#ff4d4d;box-shadow:0 0 0 2px rgba(0,0,0,.35)}
.notif-dot.hidden{display:none}
.official-grip-btn{position:relative}
.official-grip-btn .notif-dot{top:2px;right:4px}.chat-body{position:relative;min-height:0;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(4,6,12,.42);overflow:hidden}.chat-view{height:100%;display:none;flex-direction:column;gap:8px;padding:9px;min-height:0}.chat-view.active{display:flex}.chat-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid rgba(255,217,102,.10);border-radius:14px;background:rgba(8,10,18,.72);padding:8px;font-size:10px;color:var(--muted)}.chat-title b{color:var(--gold);font-size:11.5px}.list-stack,.message-stack{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:7px;scrollbar-width:none}.list-stack::-webkit-scrollbar,.message-stack::-webkit-scrollbar{display:none}.row-card,.message{border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(8,10,18,.34);padding:8px 9px;font-size:11px;line-height:1.35}.row-card b{display:block;color:#fff;font-size:11.5px}.row-card small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px}.message{max-width:88%;align-self:flex-start}.message.me{align-self:flex-end;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}.message small{display:block;font-size:8px;opacity:.66;margin-bottom:3px}.chat-composer{display:grid;grid-template-columns:1fr 60px;gap:7px;margin-top:auto}.chat-composer input{height:38px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(3,4,10,.82);color:#fff;padding:0 11px}.chat-composer button{border-radius:14px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;font-size:10px;font-weight:1000}.hub-board{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:9px}.hub-card{border:1px solid rgba(255,217,102,.11);border-radius:16px;background:rgba(255,217,102,.045);padding:10px}.hub-card b{display:block;color:var(--gold);font-size:12px;margin-bottom:5px}.hub-card p{font-size:11px;color:#ddd;line-height:1.45}
.modal-layer{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:15px;background:rgba(0,0,0,.72)}.modal-layer.show{display:flex}.panel{width:100%;max-width:420px;max-height:88vh;overflow:auto;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(180deg,rgba(16,17,24,.98),rgba(7,8,13,.99));padding:15px;box-shadow:0 24px 70px rgba(0,0,0,.60)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.panel-head h2{font-size:17px;color:#fff}.close-panel{width:36px;height:34px;border-radius:13px;background:rgba(22,23,31,.88);color:#fff;font-size:24px;line-height:1;border:1px solid rgba(255,255,255,.10)}.wallet-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}.balance-box{border:1px solid rgba(255,217,102,.13);border-radius:18px;background:rgba(255,217,102,.05);padding:14px;text-align:center}.balance-box b{display:block;color:var(--gold);font-size:11px;margin-bottom:6px}.balance-box strong{font-size:28px}.panel-note{border:1px solid rgba(255,217,102,.12);border-radius:15px;background:rgba(255,217,102,.045);padding:10px;margin:10px 0;font-size:11px;line-height:1.45;color:#ddd}.setting-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(8,10,18,.34);padding:10px;margin-bottom:8px}.setting-row b{color:var(--gold);font-size:12px}.pill{min-height:29px;height:29px;flex-shrink:0;border-radius:999px;padding:0 10px;margin-left:4px;background:rgba(22,23,31,.86);color:#fff;border:1px solid rgba(255,255,255,.10);font-size:10px;font-weight:900}.pill.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}.pill.danger{color:#ffb3b3;border-color:rgba(255,120,120,.25)}.panel input,.panel textarea,.panel select{margin-bottom:8px}
/* Star Arena partner gateway */
.arena-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(255,217,102,.18);border-radius:18px;padding:12px;background:radial-gradient(circle at 15% 10%,rgba(255,217,102,.14),transparent 48%),rgba(255,217,102,.045)}
.arena-hero b{display:block;color:var(--gold);font-size:10px;letter-spacing:1px}.arena-hero strong{display:block;font-size:16px;margin:3px 0}.arena-hero small{display:block;color:var(--muted);font-size:9.8px;line-height:1.35}.arena-gateway-badge{border:1px solid rgba(255,217,102,.28);border-radius:999px;padding:6px 8px;color:var(--gold);font-size:8px;font-weight:1000;white-space:nowrap}
.arena-filter{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overflow-y:visible;margin:9px 0;min-height:34px}.arena-filter .pill{margin:0;min-height:30px;height:30px;flex:0 0 auto}.arena-partners{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.arena-partner-card{display:grid;grid-template-columns:40px 1fr auto;gap:9px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:17px;padding:9px;background:rgba(8,10,18,.38)}.arena-partner-card.is-active{border-color:rgba(119,255,153,.16)}.arena-partner-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:rgba(255,217,102,.08);font-size:20px}.arena-partner-main b{display:block;font-size:11.5px}.arena-partner-main small{display:block;color:var(--gold);font-size:8.5px;margin-top:2px}.arena-partner-main p{font-size:9.5px;color:var(--muted);line-height:1.3;margin-top:3px}.arena-play-btn{min-width:62px;min-height:34px;margin:0!important;padding:0 8px!important;font-size:8.5px!important}.arena-play-btn:disabled{opacity:.55;cursor:not-allowed}.arena-title-line{margin-top:10px}

.arena-board{display:flex;flex-direction:column;gap:7px}.arena-row{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(8,10,18,.32);padding:9px}.arena-rank{width:28px;height:28px;border-radius:10px;background:linear-gradient(135deg,var(--gold),var(--gold2));display:grid;place-items:center;color:#080808;font-weight:1000}.music-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.music-controls button{height:42px;border-radius:15px;background:rgba(22,23,31,.86);color:#fff;border:1px solid rgba(255,255,255,.10);font-weight:900}.toast{position:fixed;z-index:120;left:50%;bottom:18px;transform:translateX(-50%);display:none;max-width:calc(100vw - 26px);border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;padding:10px 14px;font-size:12px;font-weight:1000;box-shadow:0 12px 28px rgba(0,0,0,.36)}.toast.show{display:block}
@media(max-width:420px){.app{grid-template-rows:50px 276px minmax(0,1fr);gap:7px;padding:7px}.main-frame{gap:7px}.profile-card,.center-card{padding:9px}.avatar-frame{width:82px;height:82px;font-size:46px}.profile-card{grid-template-rows:86px auto auto 1fr}.center-card{grid-template-rows:30px minmax(0,1fr) 74px}.game-icon{font-size:42px}.feature-grid button{font-size:9.7px}.panel{padding:14px}}
@media(max-height:660px){.app{grid-template-rows:48px 248px minmax(0,1fr)}.avatar-frame{width:76px;height:76px;font-size:42px}.profile-card{grid-template-rows:80px auto auto 1fr}.center-card{grid-template-rows:29px minmax(0,1fr) 70px}.game-icon{font-size:38px}.game-note{display:none}.chat-view{padding:8px}.panel{max-height:90vh}}

.pill.gold-pill{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}

/* Wallet modular: Walet Coin dan Walet Vocer dipisah */
.wallet-section{border:1px solid rgba(255,217,102,.12);border-radius:16px;background:rgba(8,10,18,.30);padding:10px;margin-top:9px;display:grid;gap:8px}
.wallet-section>b{color:var(--gold);font-size:12px;letter-spacing:.2px}
.wallet-section small{color:#cfcfcf;font-size:10.8px;line-height:1.38}
.wallet-section .panel-btn{width:100%}
.wallet-section .two-col{align-items:stretch}
.wallet-section .two-col input{margin-bottom:0}
.wallet-section .two-col button{min-height:43px}


/* APK Mobile full-screen module layer */
body.module-open{overflow:hidden}
.modal-layer{align-items:stretch!important;justify-content:stretch!important;padding:0!important;background:rgba(0,0,0,.86)!important}
.modal-layer.show{display:flex!important}
.modal-layer .panel{
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  max-height:none!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:0!important;
  padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))!important;
  display:flex;
  flex-direction:column;
  overflow:hidden!important;
}
.modal-layer .panel.hidden{display:none!important}
.modal-layer .panel-head{
  position:sticky;
  top:0;
  z-index:4;
  min-height:48px;
  margin:0 0 10px!important;
  padding:4px 2px 10px;
  border-bottom:1px solid rgba(255,217,102,.12);
  background:linear-gradient(180deg,rgba(16,17,24,.98),rgba(16,17,24,.82));
}
.modal-layer .panel-head h2{font-size:18px!important;color:var(--gold)!important;letter-spacing:.3px}
.modal-layer .close-panel{
  width:44px!important;
  height:40px!important;
  border-radius:15px!important;
  font-size:0!important;
}
.modal-layer .close-panel:before{content:'←';font-size:22px;line-height:1;color:#fff;font-weight:1000}
.modal-layer .panel > :not(.panel-head){flex:0 0 auto}
.modal-layer .panel .list-stack,
.modal-layer .panel .message-stack,
.modal-layer .panel .arena-board,
.modal-layer .panel .game-module-box{
  min-height:0;
  overflow:auto;
}
#panelCoin .wallet-section:last-of-type{flex:1;min-height:160px;display:flex;flex-direction:column}
#panelCoin #coinHistoryList{flex:1;min-height:0;overflow:auto}
#panelCommunity #communityList{flex:1;min-height:0;overflow:auto}
.guest-recommend-card{border:1px solid rgba(255,217,102,.14);border-radius:18px;background:rgba(8,10,18,.30);padding:10px;margin-bottom:10px;display:grid;gap:9px}.community-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.community-section-title b{color:var(--gold);font-size:12.5px}.community-section-title small{color:#aaa;font-size:9.6px;line-height:1.3;text-align:right}.guest-recommend-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guest-recommend-user{min-height:104px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(8,10,18,.42),rgba(8,10,18,.24));color:#fff;padding:9px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px}.guest-recommend-user:active{transform:scale(.985)}.guest-recommend-avatar{width:42px;height:42px;border-radius:14px;background:rgba(255,217,102,.10);border:1px solid rgba(255,217,102,.14);display:grid;place-items:center;font-size:23px}.guest-recommend-name{max-width:100%;font-size:10.8px;font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guest-recommend-id{max-width:100%;font-size:8.8px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guest-recommend-badge{font-size:10px;color:var(--gold)}.guest-recommend-empty{grid-column:1/-1;border:1px dashed rgba(255,217,102,.16);border-radius:16px;background:rgba(255,217,102,.045);padding:14px;text-align:center;color:#ddd;font-size:10.8px;line-height:1.4}

#panelArena #arenaBoard{flex:1;min-height:0;overflow:auto}
#panelGame .game-module-box{
  flex:1;
  border:1px solid rgba(255,217,102,.13);
  border-radius:20px;
  background:radial-gradient(circle at 50% 0%,rgba(255,217,102,.08),transparent 45%),rgba(8,10,18,.30);
  padding:14px;
}
.game-module-title{font-size:22px;font-weight:1000;color:var(--gold);margin-bottom:8px}
.game-module-sub{font-size:12px;color:#ddd;line-height:1.45;margin-bottom:12px}
.game-module-ready{min-height:220px;border:1px dashed rgba(255,217,102,.22);border-radius:18px;display:grid;place-items:center;text-align:center;color:#ddd;padding:18px;background:rgba(0,0,0,.18)}
@media(min-width:700px){
  html,body{overflow:auto!important}
  body:not(.owner-mode) .app{
    height:min(900px,100dvh - 32px)!important;
    margin:16px auto!important;
    border-radius:28px!important;
    border:1px solid var(--line)!important;
    box-shadow:0 30px 80px rgba(0,0,0,.5)!important;
  }
  .modal-layer{padding:16px!important;align-items:center!important;justify-content:center!important}
  .modal-layer .panel{width:min(520px,100vw - 32px)!important;height:min(900px,100dvh - 32px)!important;border-radius:26px!important;border:1px solid rgba(255,255,255,.12)!important}
}

/* Walet Coin full-screen module: Coin dan Vocer dipisah */
.coin-balance-card{
  border:1px solid rgba(255,217,102,.18);
  border-radius:22px;
  background:radial-gradient(circle at 50% 0%,rgba(255,217,102,.12),transparent 52%),rgba(8,10,18,.34);
  padding:14px;
  text-align:center;
  margin-bottom:10px;
}
.coin-balance-card b{display:block;color:var(--gold);font-size:12px;letter-spacing:.8px;text-transform:uppercase;margin-bottom:5px}
.coin-balance-card strong{display:block;font-size:34px;line-height:1.05;color:#fff}
.coin-balance-card small{display:block;color:#cfcfcf;font-size:10.5px;line-height:1.35;margin-top:7px}
.vocer-balance-card{background:radial-gradient(circle at 50% 0%,rgba(255,217,102,.10),transparent 52%),rgba(8,10,18,.30)}
.coin-module-scroll{flex:1!important;min-height:0;overflow:auto;padding-bottom:10px;scrollbar-width:none}
.coin-module-scroll::-webkit-scrollbar{display:none}
.coin-section{margin-top:10px!important}
.search-row,.copy-row{display:grid;grid-template-columns:1fr 58px;gap:8px;align-items:center}
.search-row input,.copy-row input{margin-bottom:0!important}
.search-btn{font-size:17px!important;min-height:43px!important;padding:0!important}
.compact-list{max-height:142px;overflow:auto;margin-top:-2px}
.locked-target{border:1px solid rgba(255,217,102,.12);border-radius:14px;background:rgba(255,217,102,.045);padding:9px 10px;color:#ddd;font-size:11px;line-height:1.35}
.approve-box{border:1px solid rgba(255,217,102,.16);border-radius:16px;background:rgba(255,217,102,.055);padding:10px;display:grid;gap:7px}
.approve-box b{color:var(--gold);font-size:12px}.approve-box small{font-size:10.5px;color:#ddd;line-height:1.35}.approve-box input{margin-bottom:0!important}
.coin-mode-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.coin-mode{min-height:42px;border-radius:15px;border:1px solid rgba(255,255,255,.10);background:rgba(22,23,31,.82);color:#fff;font-size:10.6px;font-weight:1000;padding:8px}
.coin-mode.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}
.conversion-detail{border:1px solid rgba(255,217,102,.13);border-radius:15px;background:rgba(0,0,0,.20);padding:10px;color:#ffd966;font-size:11.5px;font-weight:900;line-height:1.35;text-align:center}
.network-card{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid rgba(255,217,102,.13);border-radius:15px;background:rgba(0,0,0,.18);padding:10px}
.deposit-mode-panel{display:none}
.deposit-mode-panel.active{display:block}
.midtrans-quote-box{margin-top:10px;padding:12px;border:1px solid rgba(255,217,102,.13);border-radius:15px;background:rgba(0,0,0,.18);text-align:center}
.midtrans-quote-box.hidden{display:none}
.midtrans-qr-img{max-width:220px;width:100%;display:block;margin:10px auto;border-radius:10px;background:#fff;padding:8px}
.midtrans-va-box{margin:10px 0}
.feature-locked{position:relative;min-height:80px}
.feature-locked>*:not(.feature-maintenance-banner){opacity:.32;filter:grayscale(.5);pointer-events:none}
.feature-maintenance-banner{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;background:rgba(10,8,4,.78);border-radius:12px;color:#f4d78a}
.feature-maintenance-banner b{display:block;margin-bottom:4px;font-size:15px}
.feature-maintenance-banner small{color:#d8c497}
.network-card b{color:var(--gold);font-size:13px}.network-card span{color:#ddd;font-size:11px;text-align:right}
.field-label{font-size:10.5px;color:#aaa;margin-bottom:-5px}
.topup-pane{display:grid;gap:8px}.topup-pane input{margin-bottom:0!important}.topup-pane small{font-size:10.5px;color:#ccc;line-height:1.35;text-align:center}
.coin-history-section{flex:1;min-height:180px;display:flex!important;flex-direction:column}
#coinHistoryList{flex:1;min-height:0;overflow:auto}
#panelCoin .wallet-section:last-of-type{flex:1;min-height:180px;display:flex;flex-direction:column}
#panelCoin #coinHistoryList{flex:1;min-height:0;overflow:auto}


/* Walet Vocer full-screen module */
.vocer-module-scroll{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.vocer-section{position:relative;overflow:hidden}
.vocer-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
.vocer-title-row b{color:var(--gold);font-size:12.5px}
.vocer-title-row span{min-width:58px;text-align:center;border:1px solid rgba(255,217,102,.16);border-radius:999px;background:rgba(255,217,102,.07);color:var(--gold);padding:5px 8px;font-size:10px;font-weight:1000;white-space:nowrap}
.daily-track{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:10px 0}
.daily-day{min-height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(8,10,18,.36);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;font-size:9px;color:#ddd;font-weight:900}
.daily-day strong{font-size:11px;color:var(--gold)}
.daily-day.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0;box-shadow:0 8px 18px rgba(0,0,0,.24)}
.daily-day.active strong{color:#080808}
.daily-day.done{border-color:rgba(119,255,153,.22);background:rgba(119,255,153,.08)}
.mission-meter{width:100%;height:12px;border-radius:999px;overflow:hidden;border:1px solid rgba(255,217,102,.13);background:rgba(0,0,0,.22);margin:9px 0 7px}
.mission-meter i{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--gold2));transition:width .2s ease}
.mission-info{font-size:10.5px;color:#ddd;line-height:1.35;margin-bottom:8px}
.invite-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.invite-grid .panel-btn{min-height:38px;font-size:10.5px}
.vocer-section .gold-btn:disabled{opacity:.48;filter:grayscale(.35)}
@media(max-width:420px){.daily-track{gap:4px}.daily-day{min-height:44px;font-size:8.4px}.daily-day strong{font-size:10px}.invite-grid{grid-template-columns:1fr 1fr}}

.game-mission-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.game-mission-actions .panel-btn{min-height:40px;font-size:10.5px}


/* FIX: Walet Vocer full layar harus bisa scroll sampai History Vocer */
#panelVocer{
  min-height:0!important;
}
#panelVocer .vocer-module-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:calc(28px + env(safe-area-inset-bottom))!important;
  scrollbar-width:none;
}
#panelVocer .vocer-module-scroll::-webkit-scrollbar{display:none}
#panelVocer #vocerHistorySection{
  min-height:210px;
}
#panelVocer #vocerHistoryList{
  max-height:none!important;
  overflow:visible!important;
}


/* FIX 2: Walet Vocer dibuat card penuh, bukan daftar baris gepeng */
#panelVocer .coin-balance-card{margin-bottom:12px!important;padding:18px 14px!important}
#panelVocer .coin-balance-card strong{font-size:42px!important;letter-spacing:.5px}
#panelVocer .vocer-module-scroll{
  gap:14px!important;
  margin-top:0!important;
  padding:2px 0 calc(36px + env(safe-area-inset-bottom))!important;
}
#panelVocer .vocer-section{
  overflow:visible!important;
  padding:15px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,217,102,.055),rgba(8,10,18,.34))!important;
  border-color:rgba(255,217,102,.16)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-height:unset!important;
}
#panelVocer .vocer-title-row{margin-bottom:0!important;align-items:flex-start!important}
#panelVocer .vocer-title-row b{font-size:15px!important;line-height:1.22!important;color:var(--gold)!important}
#panelVocer .vocer-title-row span{font-size:10.7px!important;line-height:1!important;padding:7px 10px!important;min-width:72px!important}
#panelVocer .vocer-rule-note{display:block!important;font-size:11.4px!important;line-height:1.48!important;color:#dedede!important}
#panelVocer .daily-track{gap:7px!important;margin:2px 0 0!important}
#panelVocer .daily-day{min-height:58px!important;border-radius:16px!important;font-size:9.5px!important;background:rgba(0,0,0,.20)!important}
#panelVocer .daily-day strong{font-size:12px!important}
#panelVocer .vocer-claim-box{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  border:1px solid rgba(255,217,102,.12)!important;
  border-radius:17px!important;
  padding:10px!important;
  background:rgba(0,0,0,.18)!important;
}
#panelVocer .vocer-claim-box b{display:block;color:var(--gold);font-size:12px;margin-bottom:3px}
#panelVocer .vocer-claim-box small{display:block;color:#ddd;font-size:10.8px;line-height:1.35}
#panelVocer .vocer-mission-detail{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:7px!important;
}
#panelVocer .vocer-mission-detail div{
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:15px!important;
  background:rgba(0,0,0,.18)!important;
  padding:8px 6px!important;
  text-align:center!important;
  min-height:56px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:3px!important;
}
#panelVocer .vocer-mission-detail b{font-size:9.6px!important;color:var(--gold)!important;line-height:1.15!important}
#panelVocer .vocer-mission-detail span{font-size:10.6px!important;color:#fff!important;line-height:1.2!important;font-weight:900!important}
#panelVocer .mission-meter{height:14px!important;margin:0!important}
#panelVocer .mission-info{font-size:11.1px!important;margin:0!important;line-height:1.42!important;color:#ddd!important}
#panelVocer .gold-btn{width:100%!important;min-height:46px!important;border-radius:16px!important;font-size:11px!important;letter-spacing:.3px!important}
#panelVocer .invite-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:0!important}
#panelVocer .invite-grid .panel-btn{min-height:43px!important;border-radius:15px!important;font-size:10.7px!important}
#panelVocer #vocerHistorySection{min-height:240px!important}
#panelVocer #vocerHistoryList{display:flex!important;flex-direction:column!important;gap:8px!important;overflow:visible!important;max-height:none!important}
#panelVocer #vocerHistoryList .row-card{padding:11px 12px!important;border-radius:16px!important}
@media(max-width:420px){
  #panelVocer .vocer-section{padding:13px!important;gap:9px!important}
  #panelVocer .coin-balance-card strong{font-size:38px!important}
  #panelVocer .daily-track{grid-template-columns:repeat(7,minmax(42px,1fr))!important;gap:5px!important;overflow-x:auto!important;scrollbar-width:none!important}
  #panelVocer .daily-track::-webkit-scrollbar{display:none!important}
  #panelVocer .daily-day{min-height:54px!important;min-width:42px!important;font-size:8.8px!important}
  #panelVocer .vocer-mission-detail{grid-template-columns:1fr!important}
  #panelVocer .vocer-mission-detail div{min-height:48px!important;align-items:center!important}
}

/* FINAL SCROLL FIX: Walet Vocer scroll di panel utama, bukan scroll anak yang terkunci */
#panelVocer{
  height:100dvh!important;
  max-height:100dvh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
  display:block!important;
  padding-bottom:calc(32px + env(safe-area-inset-bottom))!important;
}
#panelVocer.hidden{display:none!important}
#panelVocer .panel-head{
  position:sticky!important;
  top:0!important;
  z-index:30!important;
}
.modal-layer #panelVocer > :not(.panel-head){
  flex:none!important;
}
#panelVocer .coin-balance-card,
#panelVocer .vocer-section{
  flex:none!important;
}
#panelVocer .vocer-module-scroll{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  -webkit-overflow-scrolling:auto!important;
  touch-action:auto!important;
  padding:2px 0 calc(64px + env(safe-area-inset-bottom))!important;
}

/* UPGRADE PROFILE/FAMILY/SOCIAL v2 */
.social-front{
  min-width:32px;height:22px;border-radius:8px;border:1px solid rgba(255,255,255,.10);
  display:inline-grid;place-items:center;font-size:9.5px;font-weight:1000;text-decoration:none;padding:0 7px;
  color:#fff;background:rgba(18,18,24,.82);margin-left:auto;
}
.social-front.hidden{display:none!important}.social-front.social-wa{background:#12331d;color:#82ff9d;border-color:rgba(130,255,157,.16)}.social-front.social-tg{background:#11283b;color:#7ed6ff;border-color:rgba(126,214,255,.16)}.social-front.social-we{background:#14331b;color:#9cff95;border-color:rgba(156,255,149,.16)}.social-front.social-ig{background:#35162c;color:#ff9bd8;border-color:rgba(255,155,216,.16)}
.profile-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px;align-items:stretch}.profile-setting-tile{min-width:0;border:1px solid rgba(255,217,102,.14);border-radius:18px;background:rgba(8,10,18,.34);padding:11px;display:flex;flex-direction:column;gap:7px;min-height:150px}.profile-setting-tile>span{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:rgba(255,217,102,.10);border:1px solid rgba(255,217,102,.16);font-size:22px}.profile-setting-tile b{color:var(--gold);font-size:12px}.profile-setting-tile small{color:#aaa;font-size:9.8px;line-height:1.3}.profile-setting-tile input,.profile-setting-tile textarea{width:100%;min-height:39px!important;margin:0!important;font-size:11px}.profile-setting-tile textarea{min-height:92px!important}.social-tile{grid-column:auto!important}.social-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.social-choice{min-height:42px;border-radius:13px;border:1px solid rgba(255,255,255,.10);background:rgba(22,23,31,.82);color:#fff;font-weight:1000;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center}.social-choice small{font-size:8px;color:#aaa;margin-top:2px}.social-choice.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}.social-choice.active small{color:#171717}.profile-save-wide{width:100%;margin-top:4px}.guest-family-card{border:1px solid rgba(255,217,102,.16);border-radius:18px;background:rgba(255,217,102,.055);padding:11px;margin-bottom:10px;display:grid;gap:8px}.guest-family-card b{color:var(--gold);font-size:12.5px}.guest-family-card small{color:#ddd;font-size:10.8px;line-height:1.4}.public-profile-card{text-align:center;border:1px solid rgba(255,217,102,.14);border-radius:22px;background:rgba(8,10,18,.34);padding:15px;display:flex;flex-direction:column;gap:10px}.public-profile-avatar-wrap{position:relative;width:104px;margin:0 auto}.public-profile-avatar{width:96px;height:96px;border-radius:27px;border:1px solid rgba(255,255,255,.13);background:rgba(18,20,28,.72);display:grid;place-items:center;font-size:54px;margin:auto}.public-profile-badge{position:absolute;right:-4px;top:-4px;min-width:34px;min-height:25px;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;display:grid;place-items:center;font-size:13px;font-weight:1000;padding:2px 8px}.public-profile-id{font-size:10px;color:#aaa;word-break:break-word}.public-profile-name{font-size:16px;font-weight:1000;color:#fff}.public-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.public-profile-actions button{min-height:42px;font-size:10.7px}.public-profile-bio{border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(0,0,0,.18);padding:10px;text-align:left}.public-profile-bio p{font-size:11.3px;line-height:1.42;color:#ddd}.public-profile-note{border:1px solid rgba(255,217,102,.12);border-radius:15px;background:rgba(255,217,102,.045);padding:9px;color:#ddd;font-size:10.8px;line-height:1.4;text-align:left}.mini-badge{float:right;color:var(--gold);font-size:11px}.community-family-row{text-align:left;width:100%}.coin-history-section b,.vocer-history-card b{color:var(--gold)}
@media(max-width:420px){.profile-setting-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.social-tile{grid-column:auto!important}.social-choice-grid{grid-template-columns:1fr 1fr}.public-profile-actions{grid-template-columns:1fr 1fr}.profile-setting-tile{min-height:128px;padding:9px}.profile-setting-tile>span{width:36px;height:36px;font-size:20px}.profile-setting-tile b{font-size:11px}.profile-setting-tile small{font-size:9px}.profile-setting-tile input,.profile-setting-tile textarea{min-height:36px!important;font-size:10px!important;padding:8px!important}.profile-setting-tile textarea{min-height:82px!important}.social-choice{min-height:36px;font-size:10px}.social-choice small{font-size:7.5px}}


/* SOCIAL DOOR FIX - Sosial Kontak adalah satu kotak di Setting Profil */
.profile-setting-tile.social-door{
  cursor:pointer;
  color:#fff;
  text-align:left;
  align-items:flex-start;
  justify-content:center;
}
.profile-setting-tile.social-door:active{transform:scale(.985)}
.social-editor-box{
  border:1px solid rgba(255,217,102,.15);
  border-radius:18px;
  background:rgba(8,10,18,.36);
  padding:11px;
  margin:0 0 10px;
  display:grid;
  gap:9px;
}
.social-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.social-editor-head b{color:var(--gold);font-size:13px}
.social-editor-head .panel-btn{width:auto;min-height:34px;padding:0 12px;font-size:10px}
.social-editor-note{display:block;color:#cfcfcf;font-size:10.6px;line-height:1.38}
.social-editor-box .field-label{font-size:10px;color:var(--gold);font-weight:900;margin-bottom:-4px}
.social-editor-box #editSocialActive{margin-bottom:0!important}
.social-hidden-fields{display:none!important}
#socialTileSummary.active-social{color:#ffd966}

/* PROFILE 2x2 MENU FINAL FIX - halaman utama hanya 4 kotak pintu edit */
#panelProfile .profile-setting-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:10px 0!important;
  align-items:stretch!important;
}
#panelProfile .profile-setting-tile{
  min-width:0!important;
  min-height:126px!important;
  border:1px solid rgba(255,217,102,.16)!important;
  border-radius:19px!important;
  background:linear-gradient(180deg,rgba(255,217,102,.055),rgba(8,10,18,.34))!important;
  color:#fff!important;
  padding:12px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:8px!important;
  cursor:pointer!important;
}
#panelProfile .profile-setting-tile:active{transform:scale(.985)}
#panelProfile .profile-setting-tile>span{
  width:44px!important;
  height:44px!important;
  border-radius:16px!important;
  display:grid!important;
  place-items:center!important;
  background:rgba(255,217,102,.10)!important;
  border:1px solid rgba(255,217,102,.18)!important;
  font-size:23px!important;
  margin:0!important;
}
#panelProfile .profile-setting-tile b{color:var(--gold)!important;font-size:12.2px!important;line-height:1.15!important}
#panelProfile .profile-setting-tile small{color:#d7d7d7!important;font-size:9.7px!important;line-height:1.32!important;max-width:100%!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
#panelProfile .profile-edit-box,
#panelProfile .social-editor-box{
  border:1px solid rgba(255,217,102,.15)!important;
  border-radius:18px!important;
  background:rgba(8,10,18,.40)!important;
  padding:11px!important;
  margin:0 0 10px!important;
  display:grid!important;
  gap:9px!important;
}
#panelProfile .profile-edit-head,
#panelProfile .social-editor-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
#panelProfile .profile-edit-head b,
#panelProfile .social-editor-head b{color:var(--gold)!important;font-size:13px!important}
#panelProfile .profile-edit-head .panel-btn,
#panelProfile .social-editor-head .panel-btn{width:auto!important;min-height:34px!important;padding:0 12px!important;font-size:10px!important}
#panelProfile .profile-edit-note,
#panelProfile .social-editor-note{display:block!important;color:#cfcfcf!important;font-size:10.6px!important;line-height:1.38!important}
#panelProfile .profile-edit-field{display:grid;gap:6px}
#panelProfile .profile-edit-field.hidden{display:none!important}
#panelProfile .field-label{font-size:10px;color:var(--gold);font-weight:900;margin-bottom:-3px}
#panelProfile .social-hidden-fields{display:none!important}
#socialTileSummary.active-social{color:#ffd966!important}
@media(max-width:420px){
  #panelProfile .profile-setting-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #panelProfile .profile-setting-tile{min-height:112px!important;padding:10px 7px!important}
  #panelProfile .profile-setting-tile>span{width:38px!important;height:38px!important;font-size:20px!important}
  #panelProfile .profile-setting-tile b{font-size:11px!important}
  #panelProfile .profile-setting-tile small{font-size:8.7px!important}
}

/* PROFILE CLEAN FIX - menu utama tidak ramai dan editor tetap tersembunyi sampai kotak diklik */
#panelProfile .profile-setting-grid .profile-setting-tile > small{display:none!important}
#panelProfile .profile-setting-tile{min-height:96px!important;gap:7px!important;padding:10px 8px!important}
#panelProfile .profile-setting-tile>span{width:40px!important;height:40px!important;font-size:21px!important}
#panelProfile .profile-setting-tile b{font-size:11.8px!important}
#panelProfile .profile-edit-box.hidden,
#panelProfile .social-editor-box.hidden{display:none!important}
#panelProfile .profile-edit-box,
#panelProfile .social-editor-box{margin-top:8px!important}
@media(max-width:420px){
  #panelProfile .profile-setting-tile{min-height:88px!important;padding:9px 6px!important}
  #panelProfile .profile-setting-tile>span{width:36px!important;height:36px!important;font-size:19px!important}
}


/* Star Arena / Idola Arena clean rules */
.arena-status-wrap{display:grid;gap:8px;margin-bottom:9px}
.arena-status-card{border:1px solid rgba(255,217,102,.13);border-radius:16px;background:rgba(8,10,18,.32);padding:10px;font-size:11px;line-height:1.4;color:#ddd}
.arena-status-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.arena-status-top b{color:var(--gold);font-size:12px;letter-spacing:.4px}
.arena-chip{border-radius:999px;border:1px solid rgba(255,217,102,.18);background:rgba(255,217,102,.08);color:var(--gold);padding:5px 8px;font-size:9.5px;font-weight:1000;white-space:nowrap}
.arena-chip.locked{color:#ddd;border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.045)}
.arena-chip.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}
.arena-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:7px 0}
.arena-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(135deg,var(--gold),var(--gold2));width:0%}
.arena-title-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 8px;font-size:10.5px;color:#aaa}
.arena-title-line b{color:var(--gold);font-size:12px}.arena-title-line span{font-size:9.5px;color:#aaa}
.arena-row small{display:block;color:#aaa;font-size:9.5px;line-height:1.3;margin-top:2px}.arena-row strong{font-size:10.5px;color:var(--gold);text-align:right;white-space:nowrap}
.arena-lock-btn{width:100%;margin-top:9px;opacity:.62;cursor:not-allowed}


/* MINI GAME EXPORT - 14 arcade game dari file lama */
.arcade-game-card .game-icon{font-size:0!important;width:100%;height:104px;display:block;margin:0 0 8px!important}.arcade-game-card .game-note{display:block!important;max-width:96%;line-height:1.25}.game-thumb{width:100%;height:96px;border-radius:20px;border:1px solid rgba(255,255,255,.08);position:relative;overflow:hidden;background:#111827;display:block;box-shadow:inset 0 0 22px rgba(255,217,102,.045)}.gt-road{background:linear-gradient(90deg,#12361e 0 15%,#202229 15% 85%,#12361e 85%)}.gt-road:before{content:"";position:absolute;left:49%;top:0;width:3px;height:100%;background:repeating-linear-gradient(#ffd966 0 14px,transparent 14px 28px)}.gt-car{position:absolute;width:26px;height:44px;border-radius:9px;background:linear-gradient(180deg,#e7c35c,#9d6f16)}.gt-car:before{content:"";position:absolute;left:5px;right:5px;top:7px;height:12px;border-radius:5px;background:#111b28}.gt-soccer{background:linear-gradient(90deg,#155426,#1f7438)}.gt-soccer:before{content:"";position:absolute;inset:12px;border:2px solid rgba(255,255,255,.28);border-radius:8px}.gt-dot{position:absolute;width:18px;height:18px;border-radius:50%;background:#ffd966}.gt-ball{position:absolute;width:14px;height:14px;border-radius:50%;background:#f8f8f8;border:2px solid #111}.gt-pool{background:#123b35}.gt-pool:before{content:"";position:absolute;inset:8px;border:4px solid #7b4b24;border-radius:12px}.gt-hole{position:absolute;width:13px;height:13px;border-radius:50%;background:#020202}.gt-poolball{position:absolute;width:15px;height:15px;border-radius:50%;background:#fff}.gt-tankbg{background:#172633}.gt-tank{position:absolute;width:38px;height:26px;border-radius:8px;background:#3fa46a}.gt-tank.enemy{background:#b5534e}.gt-wall{position:absolute;background:#614b34;border-radius:4px}.gt-snake{background:#102018}.gt-cell{position:absolute;width:18px;height:18px;border-radius:6px;background:#62ff82}.gt-food{position:absolute;width:14px;height:14px;border-radius:50%;background:#ff5656}.gt-space{background:#101626}.gt-ship{position:absolute;left:45%;bottom:18%;width:0;height:0;border-left:16px solid transparent;border-right:16px solid transparent;border-bottom:34px solid #ffd966}.gt-meteor{position:absolute;width:22px;height:22px;border-radius:50%;background:#785b4a}.gt-laser{background:#111827}.gt-turret{position:absolute;left:43%;bottom:15%;width:42px;height:24px;border-radius:8px;background:#ffd966}.gt-drone{position:absolute;width:30px;height:18px;border-radius:8px;background:#6aa7ff}.gt-basket{background:linear-gradient(180deg,#182234,#302011)}.gt-ring{position:absolute;right:22px;top:24px;width:38px;height:18px;border:4px solid #ff8748;border-radius:50%}.gt-bball{position:absolute;width:24px;height:24px;border-radius:50%;background:#d97828}.gt-fish{background:linear-gradient(180deg,#0e2744,#0b5a72)}.gt-hook{position:absolute;left:50%;top:10px;width:2px;height:64px;background:#ddd}.gt-fishbody{position:absolute;width:34px;height:17px;border-radius:50%;background:#ffd966}.gt-maze{background:#121827}.gt-maze:before{content:"";position:absolute;left:14%;top:16%;right:14%;bottom:16%;border:2px solid rgba(255,217,102,.22);border-radius:12px}.arcade-game-modal{position:fixed;inset:0;z-index:160;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.78);padding:12px}.arcade-game-modal.show{display:flex}.arcade-game-panel{width:min(430px,100%);height:min(820px,92vh);border:1px solid rgba(255,217,102,.25);background:linear-gradient(180deg,rgba(18,19,27,.98),rgba(7,8,13,.99));border-radius:24px;padding:12px;display:grid;grid-template-rows:auto auto 1fr auto;gap:10px;box-shadow:0 20px 60px rgba(0,0,0,.55),inset 0 0 20px rgba(255,217,102,.05);overflow:hidden}.arcade-game-head{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.arcade-game-title{font-weight:900;color:var(--gold);font-size:18px;letter-spacing:.5px}.arcade-game-score{font-size:11px;color:#ddd;margin-top:3px}.arcade-game-close{width:36px;height:36px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:#191a22;color:white;font-size:22px;font-weight:900}.arcade-game-note{font-size:11px;color:#bbb;line-height:1.35;border:1px solid rgba(255,217,102,.12);border-radius:14px;padding:8px;background:rgba(255,217,102,.04)}.arcade-canvas-wrap{position:relative;min-height:260px;border-radius:22px;overflow:hidden;border:1px solid rgba(255,217,102,.16);background:#06070b}.arcade-canvas-wrap canvas{width:100%;height:100%;display:block;touch-action:none}.arcade-game-result{position:absolute;inset:0;display:none;place-items:center;text-align:center;background:rgba(0,0,0,.58);padding:18px;line-height:1.7;font-weight:800;overflow:auto}.arcade-game-result.show{display:grid}.arcade-ready-box{background:rgba(8,9,15,.82);border:1px solid rgba(255,217,102,.2);border-radius:20px;padding:16px}.arcade-game-controls{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px}.arcade-game-controls button,.arcade-restart{border:0;border-radius:16px;padding:12px 10px;font-weight:900;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}.arcade-game-controls .dark{background:#191a22;color:white;border:1px solid rgba(255,255,255,.14)}.arcade-restart{display:none}.arcade-restart.show{display:block}.arcade-bet-ready{width:min(320px, calc(100% - 18px));max-width:320px;margin:auto;padding:18px 14px 16px!important}.arcade-bet-ready b{display:block;margin:0 0 8px;font-size:20px;color:#ffd966}.arcade-bet-ready .bet-note{margin:0 0 9px;color:#f4f4f5;font-size:12.5px;font-weight:800}.arcade-bet-tagline{width:100%;margin:0 auto 12px;color:#ffd966;font-size:12.5px;line-height:1.28;font-weight:900}.arcade-bet-control{width:100%;display:grid!important;grid-template-columns:54px minmax(0,1fr) 54px!important;align-items:center!important;gap:8px!important;margin:0!important}.arcade-bet-control>button{width:54px!important;min-width:54px!important;height:54px!important;border-radius:16px!important;padding:0!important;display:grid!important;place-items:center!important;font-size:24px!important;line-height:1!important;font-weight:1000!important;border:0!important}.bet-value-wrap{min-width:0;width:100%;height:54px;border-radius:17px;padding:0 8px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;background:rgba(2,6,23,.58);border:1px solid rgba(255,217,102,.18)}.bet-input{width:100%;min-width:0;height:50px;border:0!important;outline:0;background:transparent!important;padding:0!important;margin:0!important;text-align:center;color:#ffd966!important;font-size:23px;font-weight:1000}.bet-value-wrap span{font-size:10.5px;font-weight:900;color:#ffd966;opacity:.92}@media(max-height:720px){.arcade-game-panel{height:calc(100vh - 18px)!important;padding:10px!important;gap:7px!important}.arcade-game-note{max-height:58px;overflow-y:auto}.arcade-canvas-wrap{min-height:220px}.arcade-game-controls button,.arcade-restart{padding:10px 8px!important;border-radius:14px!important}}@media(max-width:390px){.arcade-bet-control{grid-template-columns:50px minmax(0,1fr) 50px!important;gap:6px!important}.arcade-bet-control>button{width:50px!important;min-width:50px!important;height:50px!important}.bet-value-wrap{height:50px}.bet-input{height:46px!important;font-size:22px!important}}

/* Chat ecosystem privacy polish: no layout/frame changes */
button.message{color:#eee;text-align:left;font-family:inherit;cursor:pointer}
button.message.me{color:#080808}
button.message:active{transform:scale(.99)}


/* Setting APK 2 kolom x 5 baris */
.settings-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}
.setting-tile{min-height:74px;border-radius:18px;border:1px solid rgba(255,217,102,.14);background:rgba(8,10,18,.34);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font-weight:1000}
.setting-tile span{width:34px;height:34px;border-radius:13px;display:grid;place-items:center;background:rgba(255,217,102,.10);border:1px solid rgba(255,217,102,.15);font-size:18px}.setting-tile b{font-size:11.6px;color:#f7f7f7}.setting-tile.active{border-color:rgba(255,217,102,.44);background:rgba(255,217,102,.10)}.setting-tile.danger-tile b{color:#ffcccc}.setting-tile.account-tile span{font-size:19px}.setting-tile.account-tile b{color:var(--gold)}.setting-tile:active{transform:scale(.985)}
.setting-detail{border:1px solid rgba(255,217,102,.13);border-radius:18px;background:rgba(8,10,18,.30);padding:11px;margin-top:8px}.setting-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.setting-detail-head b{color:var(--gold);font-size:12.5px}.setting-detail-head small{color:#aaa;font-size:9.5px;text-align:right;line-height:1.3}.setting-pill-row{display:flex;gap:7px;flex-wrap:wrap}.setting-pill-row .pill{margin-left:0}.compact-note{margin:8px 0 0!important}.download-wide{width:100%;height:42px;margin-left:0}.info-apk-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.info-apk-grid div{border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(0,0,0,.16);padding:9px}.info-apk-grid b{display:block;color:var(--gold);font-size:10px;margin-bottom:4px}.info-apk-grid span{font-size:10.8px;color:#e6e6e6}.audio-controls{margin-top:2px}
@media(max-width:420px){.settings-menu-grid{gap:8px}.setting-tile{min-height:68px}.setting-tile span{width:31px;height:31px;font-size:17px}.setting-tile b{font-size:11px}.setting-detail{padding:10px}.info-apk-grid{grid-template-columns:1fr 1fr}}


/* Coin/Vocer identity icons imported from legacy platform file */
/* Login mengikuti file lama: Coin dan Vocer tampil bergantian, tidak menumpuk. */
.token-identity-orbit{
  position:relative!important;
  overflow:visible!important;
  width:126px!important;
  height:126px!important;
  margin:0 auto 18px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:32px!important;
  background:radial-gradient(circle,rgba(255,217,102,.14),rgba(8,9,15,.38));
  border:1px solid rgba(255,217,102,.22);
  box-shadow:0 0 26px rgba(255,217,102,.18),inset 0 0 22px rgba(255,217,102,.06);
  perspective:860px;
}
.token-identity-ring{
  position:absolute;
  inset:13px;
  border-radius:25px;
  border:1px solid rgba(255,255,255,.08);
  pointer-events:none;
}
.token-login-face{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  transform-style:preserve-3d;
  animation:tokenLoginFlip 4.8s linear infinite;
}
.token-face{
  position:absolute;
  width:88px;
  height:88px;
  display:grid;
  place-items:center;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.token-face .brand-token-img{
  position:static!important;
  width:86px!important;
  height:86px!important;
  object-fit:contain!important;
  max-width:none!important;
  max-height:none!important;
  animation:none!important;
  filter:drop-shadow(0 0 14px rgba(255,217,102,.30));
}
.vocer-face{transform:rotateY(180deg)}
.vocer-face .brand-token-img{width:98px!important;height:82px!important}
.token-login-label{
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%);
  min-width:118px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(8,9,15,.86);
  border:1px solid rgba(255,217,102,.18);
  color:var(--gold);
  font-size:10px;
  font-weight:1000;
  letter-spacing:.8px;
  overflow:hidden;
}
.token-login-label:before{content:"COIN";animation:tokenLoginLabel 4.8s linear infinite}
@keyframes tokenLoginFlip{
  0%,42%{transform:rotateY(0deg) rotateZ(0deg)}
  50%,92%{transform:rotateY(180deg) rotateZ(360deg)}
  100%{transform:rotateY(360deg) rotateZ(720deg)}
}
@keyframes tokenLoginLabel{
  0%,45%{content:"COIN"}
  50%,95%{content:"VOCER"}
  100%{content:"COIN"}
}
.token-top-btn{gap:1px!important}.top-token-line{display:flex;align-items:center;justify-content:center;gap:5px;min-height:22px}.top-token-img{width:22px;height:22px;object-fit:contain;filter:drop-shadow(0 0 6px rgba(255,217,102,.24))}.top-token-img.top-vocer-img{width:27px;height:22px}.token-top-btn strong{font-size:13px!important;line-height:1;color:#fff}.panel-head h2{display:flex;align-items:center;gap:8px}.panel-token-img{width:30px;height:30px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(255,217,102,.25))}.panel-token-img.panel-vocer-img{width:36px;height:30px}.coin-balance-card b{display:flex!important;align-items:center;justify-content:center;gap:7px}.balance-token-img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 0 7px rgba(255,217,102,.22))}.balance-token-img.balance-vocer-img{width:30px;height:24px}.mode-token-img{width:20px;height:20px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 0 5px rgba(255,217,102,.22))}.mode-token-img.mode-vocer-img{width:25px;height:20px}.asset-icon-inline{width:18px;height:18px;object-fit:contain;vertical-align:-4px;margin-right:3px}.notif-icon-img{width:13px;height:13px;object-fit:contain;vertical-align:-2px;margin-right:3px}.notif-icon-img.notif-vocer-img{width:16px;height:13px}.coin-mode{display:flex!important;align-items:center;justify-content:center;gap:6px}.coin-decimal{font-size:.62em;vertical-align:super;opacity:.85;letter-spacing:0}


/* FINAL FIX: Deploy & preview visual sync + token icon size guard
   - Coin/Vocer identity icons stay as assets, not base64 in index.
   - Login flip stays only inside auth screen.
   - Topbar/wallet token icons are strictly bounded so the app frame cannot explode. */
.auth-screen.hidden .token-identity-orbit,
.auth-screen.hidden .token-login-face,
.auth-screen.hidden .token-login-label{display:none!important}
.auth-screen .token-identity-orbit{width:126px!important;height:126px!important;max-width:126px!important;max-height:126px!important;overflow:hidden!important;contain:layout paint!important}
.auth-screen .token-face{width:88px!important;height:88px!important;max-width:88px!important;max-height:88px!important;overflow:hidden!important}
.auth-screen .brand-token-img{display:block!important;width:86px!important;height:86px!important;max-width:86px!important;max-height:86px!important;object-fit:contain!important;position:static!important;transform:none!important}
.auth-screen .vocer-face .brand-token-img{width:98px!important;height:82px!important;max-width:98px!important;max-height:82px!important}
.app .token-identity-orbit,.app .token-login-face,.app .token-login-label{display:none!important}
.topbar{height:50px!important;max-height:50px!important;min-height:0!important;overflow:hidden!important}
.topbar .top-btn,.topbar .icon-btn{min-height:0!important;height:100%!important;max-height:50px!important;overflow:hidden!important;position:relative!important}
.topbar .top-token-line{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:20px!important;max-height:24px!important;overflow:hidden!important;line-height:1!important}
.topbar img,.topbar .top-token-img{display:inline-block!important;position:static!important;flex:0 0 auto!important;object-fit:contain!important;transform:none!important;animation:none!important;max-width:22px!important;max-height:22px!important;width:22px!important;height:22px!important;min-width:0!important;min-height:0!important}
.topbar .top-vocer-img,.topbar img.top-vocer-img{width:27px!important;max-width:27px!important;height:22px!important;max-height:22px!important}
.topbar .top-label{font-size:9.2px!important;line-height:1!important;white-space:nowrap!important}
.topbar strong{font-size:12px!important;line-height:1!important;max-height:14px!important;overflow:hidden!important}
.panel-head img,.panel-token-img{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain!important;flex:0 0 auto!important}
.panel-token-img.panel-vocer-img{width:36px!important;max-width:36px!important;height:30px!important;max-height:30px!important}
.balance-token-img{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important}
.balance-token-img.balance-vocer-img{width:30px!important;max-width:30px!important;height:24px!important;max-height:24px!important}
.mode-token-img{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;object-fit:contain!important}
.mode-token-img.mode-vocer-img{width:25px!important;max-width:25px!important;height:20px!important;max-height:20px!important}
@media(max-height:660px){.topbar{height:48px!important;max-height:48px!important}.topbar .top-btn,.topbar .icon-btn{max-height:48px!important}}


/* Setting APK - Account icon panel */
.account-mini-panel{display:grid;gap:8px}
.account-current-row,.account-add-row{width:100%;min-height:42px;border-radius:15px;border:1px solid rgba(255,217,102,.16);background:rgba(0,0,0,.18);color:#f7f7f7;display:grid;align-items:center;gap:8px}
.account-current-row{grid-template-columns:minmax(72px,auto) minmax(0,1fr) 40px;padding:7px 7px 7px 10px}
.account-row-id{font-size:11px;font-weight:1000;color:var(--gold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-row-name{font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.account-row-x{width:34px;height:30px;border:0;border-radius:11px;background:rgba(255,82,82,.16);color:#ffcccc;font-weight:1000}
.account-add-row{grid-template-columns:minmax(0,1fr) 36px;padding:7px 7px 7px 10px;text-align:left;font-family:inherit;cursor:pointer}
.account-add-row span{font-size:12px;font-weight:900;color:#eee;text-transform:lowercase}
.account-add-row b{width:30px;height:30px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#070707;font-size:20px;font-weight:1000}
.account-login-box{display:grid;gap:8px;border:1px solid rgba(255,217,102,.12);border-radius:15px;background:rgba(255,217,102,.04);padding:9px}
.account-login-box input{margin:0!important}
.account-login-line{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:7px;align-items:center}
.withdraw-action-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
.withdraw-action-row .panel-btn{flex:1 1 auto;min-width:110px}
.withdraw-action-row .withdraw-manual-ref{flex:1 1 100%;min-width:0}
.account-login-line .panel-btn{height:38px;margin:0;padding:0 8px;text-transform:lowercase}
@media(max-width:380px){.account-current-row{grid-template-columns:minmax(60px,auto) minmax(0,1fr) 36px}.account-login-line{grid-template-columns:1fr}.account-login-line .panel-btn{width:100%}}

/* Web3 wallet connect fix */
.web3-provider-row{grid-template-columns:1fr 1fr 1fr!important}
.web3-action-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:8px 0}
.web3-detail{font-size:10.6px;line-height:1.45;color:var(--muted);background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:8px 10px;margin:8px 0}
@media(max-width:420px){.web3-provider-row,.web3-action-row{grid-template-columns:1fr!important}}


/* Guest Lock v5.1.7 — locked modules route to Pertemanan; Vocer remains open locally. */
.guest-lock-glyph{display:none;align-items:center;justify-content:center;font-size:.88em;line-height:1;margin-left:3px}
body.guest-mode .guest-lock-glyph,body.guest-locked-mode .guest-lock-glyph{display:inline-flex}
body.guest-mode [data-guest-lock],body.guest-locked-mode [data-guest-lock]{cursor:pointer}
body.guest-mode [data-guest-lock].guest-locked,body.guest-locked-mode [data-guest-lock].guest-locked{filter:saturate(.55);opacity:.88}
body.guest-mode .chat-tab[data-guest-lock],body.guest-locked-mode .chat-tab[data-guest-lock]{position:relative}
body.guest-mode .chat-tab[data-guest-lock] .guest-lock-glyph,body.guest-locked-mode .chat-tab[data-guest-lock] .guest-lock-glyph{margin-right:2px}
body.guest-mode #openWalletBtn .guest-lock-glyph,body.guest-locked-mode #openWalletBtn .guest-lock-glyph{font-size:10px}
body.guest-mode #openSettingsBtn .settings-glyph,body.guest-locked-mode #openSettingsBtn .settings-glyph{display:none}
body.guest-mode #openSettingsBtn .guest-lock-glyph,body.guest-locked-mode #openSettingsBtn .guest-lock-glyph{margin:0;font-size:17px}
body.guest-mode #profileBadgeBtn .profile-badge-value,body.guest-locked-mode #profileBadgeBtn .profile-badge-value{display:none}
body.guest-mode #profileBadgeBtn .guest-lock-glyph,body.guest-locked-mode #profileBadgeBtn .guest-lock-glyph{margin:0;font-size:13px}

.guest-family-card{display:grid;gap:8px}
.guest-family-referral-lock{padding:8px 10px;border-radius:12px;border:1px solid rgba(255,217,102,.14);background:rgba(0,0,0,.18);font-size:10px;color:#ddd}.guest-family-referral-lock b{color:var(--gold);font-size:10px}.guest-family-login-btn{width:100%}
.guest-family-login-box{display:grid;gap:8px;padding:9px;border:1px solid rgba(255,217,102,.14);border-radius:14px;background:rgba(255,217,102,.045)}
.guest-family-login-box input{margin:0!important}

/* OWNER LAYOUT RESTORE v5.3.1
   Mempertahankan satu Control Center yang sama, tanpa layout halaman panjang.
   Semua bagian kerja tetap langsung hidup; kanvas Official bergerak mendatar bila ruang layar belum cukup. */
body.owner-mode .app{
  max-width:none!important;
  width:100%!important;
  height:100vh!important;
  padding:8px!important;
  grid-template-rows:50px minmax(0,1fr)!important;
}
body.owner-mode .main-frame{
  grid-template-columns:minmax(0,1fr)!important;
  min-height:0!important;
}
body.owner-mode #centerFrame{
  grid-column:1;
  width:100%;
  min-width:0;
  min-height:0;
  grid-template-rows:36px minmax(0,1fr) 52px!important;
  padding:10px!important;
  overflow:hidden!important;
}

/* Top bar Owner mengikuti top bar awal: dua slot audit tetap lebar,
   tanpa nominal. Setting tetap pada slot paling kanan. */
body.owner-mode .topbar{
  grid-template-columns:1fr 1fr 50px!important;
}
body.owner-mode #openWalletBtn,
body.owner-mode #openVocerBtn{
  display:flex!important;
  width:auto!important;
  min-width:0!important;
  border-right:1px solid var(--line2)!important;
}
body.owner-mode #openSettingsBtn{
  grid-column:auto!important;
  justify-self:stretch!important;
  width:auto!important;
  border-left:0!important;
}
body.owner-mode .token-top-btn .top-label,
body.owner-mode .token-top-btn strong,
body.owner-mode .token-top-btn .guest-lock-glyph{display:none!important}
body.owner-mode .token-top-btn .top-token-line{
  min-height:46px!important;
  width:100%!important;
}
body.owner-mode .token-top-btn .top-token-img{
  width:28px!important;height:28px!important;
  max-width:28px!important;max-height:28px!important;
}
body.owner-mode .token-top-btn .top-vocer-img{
  width:33px!important;height:28px!important;
  max-width:33px!important;max-height:28px!important;
}

/* Kanvas Official: tidak menambah tinggi halaman dan tidak melebar ke kanan.
   Navigasi antar fitur memakai grip (baris tombol ikon), lalu hanya satu slot kerja aktif yang tampil. */
body.owner-mode #gameList{
  display:block!important;
  min-height:0!important;
  overflow:hidden!important;
  padding:0 2px!important;
}
body.owner-mode #featureButtons{min-height:0!important}
body.owner-mode #featureButtons button{font-size:11px!important}
body.owner-mode #featureButtons button:first-child{background:linear-gradient(135deg,var(--gold),var(--gold2))!important;color:#080808!important}

.official-workspace{
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
  min-width:0;
  padding:2px 1px;
}
.official-grip{
  flex:0 0 auto;
  display:flex;
  gap:5px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  padding:1px 1px 3px;
}
.official-grip::-webkit-scrollbar{display:none}
.official-grip-btn{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  min-width:52px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(20,22,30,.72);
  color:var(--muted);
  padding:5px 7px;
  font-size:8px;
  font-weight:900;
}
.official-grip-btn .official-grip-icon{font-size:14px;line-height:1}
.official-grip-btn.active{
  border-color:rgba(255,217,102,.4);
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#080808;
}
.official-slot{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}
.official-section{
  display:none;
  position:absolute;
  inset:0;
  min-width:0;
  min-height:0;
  overflow:hidden;
  flex-direction:column;
  gap:7px;
  border:1px solid rgba(255,217,102,.14);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(13,16,27,.86),rgba(5,8,16,.82));
  padding:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  overflow-y:auto;
  scrollbar-width:none;
}
.official-section::-webkit-scrollbar{display:none}
.official-section.active{display:flex}
.official-section-head{display:flex;gap:8px;align-items:flex-start;justify-content:space-between;min-height:34px}
.official-section-head b{display:block;color:var(--gold);font-size:12px;letter-spacing:.15px}
.official-section-head small{display:block;margin-top:2px;color:var(--muted);font-size:8.8px;line-height:1.28}
.official-live-dot{flex:0 0 auto;max-width:94px;border:1px solid rgba(119,255,153,.18);border-radius:999px;padding:3px 6px;background:rgba(119,255,153,.06);color:var(--ok);font-size:8px;font-weight:900;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Semua data hidup di dalam kartu masing-masing; yang bergerak hanya isi kartu, bukan halaman Owner. */
.official-list,.official-message-list,.official-eco-list,.official-ai-list{
  display:flex;
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow:auto;
  flex-direction:column;
  gap:6px;
  padding-right:2px;
  scrollbar-width:none;
}
.official-list::-webkit-scrollbar,.official-message-list::-webkit-scrollbar,.official-eco-list::-webkit-scrollbar,.official-ai-list::-webkit-scrollbar{display:none}
.official-message-list .message,.official-ai-list .message{max-width:100%}
.official-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.official-action-row button,.official-service-composer button{min-height:34px;font-size:8.8px}
.official-rank-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:6px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(8,10,18,.42);padding:7px}
.official-rank-row b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;font-size:9px}
.official-rank-row span{font-weight:900;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.official-rank-row small{font-size:8.3px;color:var(--muted);text-align:right}

.official-cs-grid{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(56px,.8fr) minmax(74px,1fr);gap:6px;min-height:0;flex:1 1 auto}
.official-service-thread{min-height:0;display:flex;flex-direction:column;gap:6px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(0,0,0,.16);padding:7px;overflow:hidden}
.official-thread-messages{display:flex;flex-direction:column;gap:6px;overflow:auto;min-height:0;max-height:none;padding-right:2px}
.official-service-composer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
.official-service-composer input{width:100%;min-height:34px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(3,4,10,.82);color:#fff;padding:0 9px;font-size:10px}
.official-ai-section .official-service-composer{grid-template-columns:minmax(0,1fr) auto}
.official-audit-grid,.official-ratio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.official-stat,.official-ratio{border:1px solid rgba(255,217,102,.13);border-radius:13px;background:rgba(255,217,102,.04);padding:8px;min-height:0}
.official-stat b,.official-ratio b{display:block;color:var(--gold);font-size:9px}
.official-stat strong{display:block;font-size:18px;margin:6px 0 3px}.official-stat small,.official-ratio small{display:block;color:var(--muted);font-size:8.3px;line-height:1.35}
.official-ratio{min-height:0}.official-audit-events{min-height:0}
.official-control-grid{display:grid;grid-template-columns:1fr;gap:6px;flex:1 1 auto;min-height:0;overflow:auto;padding-right:2px;scrollbar-width:none}
.official-control-grid::-webkit-scrollbar{display:none}
.official-control-row{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(8,10,18,.32);padding:7px}
.official-control-row b{display:block;font-size:9.5px}.official-control-row small{display:block;color:var(--muted);font-size:8px;margin-top:1px}.official-control-row button{min-width:56px;min-height:30px;font-size:8px}
.official-account-control{display:flex;flex-direction:column;gap:6px;margin-top:0;border:1px solid rgba(255,217,102,.12);border-radius:13px;background:rgba(255,217,102,.035);padding:8px}
.official-account-control b{color:var(--gold);font-size:10px}.official-account-control small{color:var(--muted);font-size:8px;line-height:1.25}
.official-account-control .official-service-composer{grid-template-columns:minmax(85px,1fr) 1fr 1fr}.official-account-control .official-service-composer .gold-btn{grid-column:span 3}
.official-focus{animation:officialPulse .9s ease-in-out}
@keyframes officialPulse{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}50%{box-shadow:0 0 0 2px rgba(255,217,102,.55),0 0 22px rgba(255,217,102,.16)}}

@media(max-width:700px){
  body.owner-mode .app{padding:7px!important}
  body.owner-mode #centerFrame{padding:8px!important}
  .official-grip-btn{min-width:46px;font-size:7.3px}
}
@media(max-height:660px){body.owner-mode .app{grid-template-rows:48px minmax(0,1fr)!important}.topbar{height:48px!important}}

.family-referral-card{margin:10px 0;padding:12px;border:1px solid rgba(255,217,102,.18);border-radius:16px;background:rgba(255,255,255,.035)}
.family-top10-referral-card{margin:10px 0;padding:12px;border:1px solid rgba(255,217,102,.18);border-radius:16px;background:rgba(255,255,255,.035);display:grid;gap:9px}
.family-referral-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}.family-referral-grid>div{padding:9px;border-radius:12px;background:rgba(0,0,0,.15)}.family-referral-grid b,.family-referral-grid small{display:block}.family-referral-grid small{opacity:.68;margin-top:3px}.family-referral-link-row{display:flex;gap:7px}.family-referral-link-row input{min-width:0;flex:1}.family-referral-link-row .panel-btn{white-space:nowrap}.guest-family-register-btn{margin-bottom:7px}

/* v5.4 asset submodules: each asset owns its own operational center. */
.asset-subnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:7px 0;padding:4px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.025)}
.asset-subnav-btn{border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);padding:8px 5px;font-size:9px;font-weight:800;cursor:pointer}
.asset-subnav-btn.active{color:var(--gold);border-color:rgba(255,217,102,.22);background:rgba(255,217,102,.07)}
.asset-subsection{display:none!important}
.asset-subsection.active{display:block!important}
.asset-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.asset-section-head b{font-size:11px}
.asset-section-head span{font-size:8px;color:var(--gold);border:1px solid rgba(255,217,102,.18);border-radius:999px;padding:3px 6px}
@media(max-width:420px){.asset-subnav{gap:3px}.asset-subnav-btn{font-size:8px;padding:7px 3px}}

/* Scoped module shells: Vocer, Family, and Arena only.
   Chat views (Eco Hub, Global, Private, Notif) keep their own layout. */
#panelVocer .vocer-subnav{grid-template-columns:repeat(4,minmax(0,1fr))}
#panelVocer .vocer-module-scroll{gap:0!important}
#panelVocer .vocer-section-panel{
  display:none!important;
  flex-direction:column;
  gap:14px;
  min-height:0;
}
#panelVocer .vocer-section-panel.active{display:flex!important}
#panelVocer .vocer-section-panel > .vocer-section{margin-top:0!important}
#panelVocer .vocer-section-panel .vocer-section + .vocer-section{margin-top:0!important}

#panelCommunity .family-subnav,
#panelArena .arena-subnav{grid-template-columns:repeat(3,minmax(0,1fr))}
#panelCommunity .family-module-scroll,
#panelArena .arena-module-scroll{
  flex:1 1 auto!important;
  min-height:0;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-bottom:calc(18px + env(safe-area-inset-bottom));
  scrollbar-width:none;
}
#panelCommunity .family-module-scroll::-webkit-scrollbar,
#panelArena .arena-module-scroll::-webkit-scrollbar{display:none}
#panelCommunity .family-section-panel,
#panelArena .arena-section-panel{
  display:none!important;
  flex-direction:column;
  gap:10px;
  min-height:0;
}
#panelCommunity .family-section-panel.active,
#panelArena .arena-section-panel.active{display:flex!important}
#panelCommunity #communityList,
#panelArena #arenaBoard{flex:1;min-height:0}
#panelCommunity .family-section-panel input{margin-bottom:0}
#panelCommunity .family-section-panel .panel-note{margin:0}
#panelArena .arena-section-panel .arena-title-line{margin-top:0}
#panelArena .arena-section-panel .panel-note{margin:0}
#panelArena .arena-idola-tab-panel{display:none;flex-direction:column;gap:10px;min-height:0}
#panelArena .arena-idola-tab-panel.active{display:flex}

/* ===== v5.5.8: Notif asli, Eco Hub marquee + gambar, Private delete/unread ===== */
.notif-item{position:relative;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(8,10,18,.34);padding:8px 32px 8px 9px;font-size:11px;line-height:1.35}
.notif-item.unread{border-color:rgba(255,217,102,.35);background:rgba(255,217,102,.06)}
.notif-item b{display:block;color:#fff;font-size:11.5px}
.notif-item small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px}
.notif-item .notif-badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;font-size:8px;font-weight:1000;letter-spacing:.4px}
.private-inbox-row .notif-badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;font-size:8px;font-weight:1000;letter-spacing:.4px;vertical-align:middle}
.notif-item.unread .notif-badge,.private-inbox-row .notif-badge:not(.badge-old){background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}
.notif-item:not(.unread) .notif-badge,.private-inbox-row .notif-badge.badge-old{background:rgba(255,255,255,.08);color:var(--muted)}
.notif-item-delete,.private-inbox-delete{position:absolute;top:7px;right:7px;width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.28);color:var(--muted);font-size:11px;line-height:1;display:grid;place-items:center}
.private-inbox-row{position:relative;padding-right:34px}
.private-inbox-row .private-inbox-meta{display:flex;align-items:center;gap:5px}
.hub-board{position:relative;min-height:0;overflow:hidden}
.hub-track{display:flex;flex-direction:column;gap:9px;will-change:transform;animation:hubMarquee linear infinite}
.hub-board.hub-paused .hub-track{animation-play-state:paused}
.hub-card{border:1px solid rgba(255,217,102,.11);border-radius:16px;background:rgba(255,217,102,.045);padding:10px}
.hub-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hub-card-image{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:12px;margin:6px 0}
.hub-card-thumb{width:34px;height:34px;object-fit:cover;border-radius:9px;flex:0 0 auto;border:1px solid rgba(255,217,102,.18)}
.official-eco-photo-label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted)}
.official-eco-photo-label input{margin-top:2px}
.ai-detail{display:block;margin-top:4px;color:var(--gold);opacity:.9}
.gp-shop-list li{justify-content:space-between}
.gp-shop-list li span{margin-left:0}
.gp-shop-add{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0 0}
.gp-shop-add input{flex:1 1 100px}
.hub-card-system{border-color:rgba(126,200,255,.22);background:rgba(126,200,255,.05)}
.hub-rank-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.hub-rank-list li{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#fff;background:rgba(255,255,255,.04);border-radius:10px;padding:5px 8px}
.hub-rank-list li b{color:var(--gold);font-size:10px;flex:0 0 auto}
.hub-rank-list li span{margin-left:auto;color:var(--muted);font-size:9.5px;flex:0 0 auto}
@keyframes hubMarquee{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.official-eco-compose{border:1px solid rgba(255,217,102,.12);border-radius:16px;background:rgba(255,217,102,.04);padding:10px;display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.official-eco-compose textarea{width:100%;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(3,4,10,.82);color:#fff;padding:8px 10px;resize:vertical;font:inherit}
.official-eco-compose-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.official-eco-compose-row #officialEcoImageName{font-size:10px;color:var(--muted);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.official-eco-image-preview{max-width:100%;max-height:140px;border-radius:12px;object-fit:cover}
.official-eco-delete{border-radius:50%;width:24px;height:24px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.28);color:var(--muted);font-size:11px;line-height:1;flex:0 0 auto}
.official-account-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border:1px solid rgba(255,217,102,.14);border-radius:14px;background:rgba(255,217,102,.05);margin-bottom:8px;flex-wrap:wrap}
.official-logout-btn{border-color:rgba(255,110,110,.3);color:#ffb3b3}

/* V6.0.2 — GameProject owner dashboard */
#gpMineSummary{margin-top:8px}#gpMineSummary .gp-project-card{border-color:rgba(255,217,102,.22)}#gpMineSummary .arena-partner-icon{background:rgba(255,217,102,.14)}.gp-owner-compact{margin-top:6px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.gp-owner-compact small{color:var(--muted);font-size:8.8px}.gp-project-card{align-items:start}.gp-owner-dashboard{margin-top:8px;display:grid;gap:8px}.gp-owner-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.gp-owner-head b{display:block;color:var(--gold);font-size:11px}.gp-owner-head small{display:block;color:var(--muted);font-size:8.8px;margin-top:2px}.gp-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.gp-kpi-grid>div{border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:7px;background:rgba(8,10,18,.28)}.gp-kpi-grid small{display:block;color:#999;font-size:8px}.gp-kpi-grid strong{display:block;margin-top:2px;color:#fff;font-size:10.5px}.gp-vault{border:1px solid rgba(255,217,102,.14);border-radius:14px;padding:9px;background:rgba(255,217,102,.035)}.gp-vault p,.gp-owner-note{font-size:8.8px;color:var(--muted);line-height:1.35;margin:5px 0 0}.gp-owner-note{border-radius:10px;padding:7px;background:rgba(255,255,255,.035)}.gp-shop-guide{border:1px solid rgba(255,217,102,.14);border-radius:12px;padding:8px 9px;margin:6px 0;background:rgba(255,217,102,.035)}.gp-shop-guide summary{font-size:10px;font-weight:900;color:var(--gold);cursor:pointer}.gp-shop-guide p{font-size:9px;color:var(--muted);line-height:1.4;margin:6px 0 0}.gp-shop-tier{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:999px;font-size:7.5px;font-weight:900;vertical-align:1px}.gp-shop-tier-coin{background:rgba(255,217,102,.16);color:var(--gold)}.gp-shop-tier-vocer{background:rgba(119,200,255,.16);color:#8fd0ff}.gp-shop-add .gp-shop-currency{flex:1 1 100px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:rgba(8,10,18,.4);color:#fff;font-size:10.5px;padding:0 8px;min-height:36px}

/* OWNER OFFICIAL CENTER — revised card architecture */
body.owner-mode .official-workspace{gap:8px}
.official-supply-head,.official-card-head,.official-route-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.official-supply-head b,.official-card-head b,.official-route-modal-head b{display:block;color:var(--gold);font-size:12px}
.official-supply-head small,.official-card-head small{display:block;color:var(--muted);font-size:8.8px;line-height:1.3;margin-top:2px}
.official-supply-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.official-note{font-size:9.5px;color:var(--muted);line-height:1.4;border:1px solid rgba(255,217,102,.10);border-radius:12px;background:rgba(255,217,102,.035);padding:7px 9px;margin:6px 0}
.official-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:6px 0}
.official-form-grid input,.official-form-grid select{min-height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(4,6,12,.76);color:#fff;padding:0 10px;font-size:11px}
.official-form-grid label{display:flex;flex-direction:column;gap:3px;font-size:9px;color:var(--muted)}
.official-form-grid .official-checkbox-row{flex-direction:row;align-items:center;gap:6px;font-size:10px}
.official-form-grid .official-checkbox-row input{min-height:auto;width:auto}
.official-form-grid button{grid-column:1/-1}
.official-danger-btn{background:linear-gradient(135deg,#ff6b6b,#b91c1c)!important;color:#fff!important;border:0!important}
.official-owner-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.official-route-btn{border:1px solid rgba(255,217,102,.15);border-radius:14px;background:rgba(18,20,29,.8);color:#fff;padding:9px;font-size:11px;font-weight:900}
.official-route-btn:first-child{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}
.official-card{display:none;position:absolute;inset:0;min-width:0;min-height:0;overflow:auto;flex-direction:column;gap:8px;border:1px solid rgba(255,217,102,.14);border-radius:18px;background:linear-gradient(180deg,rgba(13,16,27,.9),rgba(5,8,16,.84));padding:10px;scrollbar-width:none}
.official-card::-webkit-scrollbar{display:none}.official-card.active{display:flex}
.official-tabs{display:flex;gap:5px;overflow:auto;scrollbar-width:none;padding:1px}.official-tabs::-webkit-scrollbar{display:none}
.official-tabs button{flex:0 0 auto;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(20,22,30,.8);color:var(--muted);padding:6px 9px;font-size:9px;font-weight:900}.official-tabs button.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border-color:transparent}
.official-tab-panel,.official-route-panel{display:none;min-height:0;flex:1 1 auto}.official-tab-panel.active,.official-route-panel.active{display:flex;flex-direction:column;gap:7px}
.official-route-modal{position:absolute;z-index:20;inset:4px;border:1px solid rgba(255,217,102,.2);border-radius:18px;background:linear-gradient(180deg,rgba(10,13,23,.98),rgba(4,7,14,.98));padding:10px;display:flex;flex-direction:column;gap:8px;box-shadow:0 18px 60px rgba(0,0,0,.5)}
.official-route-modal .official-route-panel{overflow:auto;scrollbar-width:none}.official-route-modal .official-route-panel::-webkit-scrollbar{display:none}
.official-return-warning{border:1px solid rgba(255,180,80,.18);border-radius:14px;padding:9px;background:rgba(255,180,80,.05)}.official-return-warning b{display:block;color:#ffd27a;font-size:10px}.official-return-warning small{display:block;color:var(--muted);font-size:8.8px;line-height:1.4;margin-top:3px}
@media(max-width:560px){.official-supply-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.official-owner-routes{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 3x3 system switch layout */
.official-route-modal .official-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.official-route-modal .official-control-row{min-width:0}
@media(max-width:420px){.official-route-modal .official-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.official-route-modal .official-control-row button{font-size:8px}}

/* V6.1.1 — Supply & Treasury belong inside Owner Wallet module, never outside Official Center cards */
body.owner-mode .official-wallet-modal{z-index:30}
body.owner-mode .official-wallet-modal .official-supply-head{padding:2px 2px 0}

/* Owner Return Asset — recovery workflow */
.official-recovery-form{margin-top:14px;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(0,0,0,.12)}
.official-recovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.official-hint{display:block;margin-top:8px;font-size:10.5px;color:var(--muted);line-height:1.5}
.official-recovery-grid textarea{grid-column:1/-1;min-height:90px;resize:vertical}
.official-recovery-grid input,.official-recovery-grid select,.official-recovery-grid textarea{width:100%;box-sizing:border-box}
@media(max-width:700px){.official-recovery-grid{grid-template-columns:1fr}}
/* Modular Game Library ("Permainan") — icon/foto game diperbesar & photo thumbnail didukung */
.modular-game-icon{font-size:46px;line-height:1;margin-bottom:10px}
.game-session-badge{width:13px;height:13px;object-fit:contain;vertical-align:-2px;margin-right:4px;opacity:.9;filter:drop-shadow(0 0 4px rgba(84,166,255,.5))}
.modular-game-photo{width:64px;height:64px;object-fit:cover;border-radius:16px;margin-bottom:10px;border:1px solid rgba(255,217,102,.25)}
/* Owner panel: emoji fallback di daftar GamePlatform, ukuran setara .hub-card-thumb */
.hub-card-emoji{width:34px;height:34px;display:grid;place-items:center;font-size:22px;flex:0 0 auto;border-radius:9px;background:rgba(255,217,102,.08)}
.official-photo-field{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted)}
#officialLocalGamePhotoPreview{width:64px;height:64px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,217,102,.18)}

/* Games Platform — Bet Vocer per sesi */
.game-bet-overlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.68);display:grid;place-items:center;padding:16px}
.game-bet-box{width:100%;max-width:340px;background:#12141c;border:1px solid rgba(255,217,102,.28);border-radius:20px;padding:18px;display:grid;gap:9px;text-align:center;color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.game-bet-box p{font-size:11px;color:var(--muted);line-height:1.45;margin:0}.game-bet-balance{font-size:11px;color:#ddd}.game-bet-control{display:grid;grid-template-columns:48px 1fr 52px 48px;align-items:center;gap:7px}.game-bet-control button{height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:rgba(22,23,31,.9);color:#fff;font-size:25px;font-weight:1000}.game-bet-control strong{font-size:25px;color:var(--gold)}.game-bet-control span{font-size:10px;color:var(--muted);font-weight:900}.game-bet-box>small{font-size:9.5px;color:var(--muted);min-height:13px}.game-bet-rules{display:grid;grid-template-columns:1fr 1fr;gap:5px;text-align:left}.game-bet-rules span{padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.04);font-size:9.5px;color:#ddd}.game-bet-box .gold-btn,.game-bet-box .panel-btn{min-height:44px;border-radius:14px;font-weight:1000}.game-bet-box .gold-btn:disabled{opacity:.45}.game-bet-box #gameBetMsg{color:#ffb3b3}
/* V6.1.6 — Games Platform unified Free + shared Ads access + official Vocer icon + typed bet input */
.game-bet-heading{display:flex;align-items:center;justify-content:center;gap:8px}.game-bet-vocer-icon{width:28px;height:28px;object-fit:contain}.game-access-info{padding:8px;border-radius:10px;background:rgba(255,255,255,.04);font-size:9.5px;line-height:1.45;color:#ddd}.game-access-info.hidden,.game-bet-box #gameBetInfo.hidden{display:none}.game-bet-control .game-bet-input{width:100%;height:48px;border:0;outline:0;background:transparent;color:var(--gold);text-align:center;font-size:25px;font-weight:1000;min-width:0}.game-bet-control .game-bet-input::-webkit-inner-spin-button,.game-bet-control .game-bet-input::-webkit-outer-spin-button{display:none}.game-bet-control .game-bet-input:focus{box-shadow:inset 0 -2px 0 rgba(255,217,102,.55)}

/* ===== SQUAD V6.5.0 (Tahap 1) — tab Squad di jalur Private ===== */
.sq-off{display:none!important}
.sq-subtabs,.sq-roomtabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;flex:0 0 auto}
.sq-subtabs button,.sq-roomtabs button{position:relative;min-height:32px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(8,10,18,.55);color:var(--muted);font-size:10.5px;font-weight:1000}
.sq-subtabs button.active,.sq-roomtabs button.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border-color:transparent}
.sq-dot{position:absolute;top:6px;right:10px;width:7px;height:7px;border-radius:50%;background:#ff5d5d}
.sq-pane{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;scrollbar-width:none}
.sq-pane::-webkit-scrollbar{display:none}
.sq-row{text-align:left;width:100%}
.sq-badge{display:inline-block;padding:1px 6px;border-radius:999px;font-size:8px;font-weight:1000;vertical-align:middle;background:rgba(255,255,255,.08);color:var(--muted)}
.sq-badge.sq-captain{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}
.sq-badge.sq-leader{background:rgba(255,217,102,.16);color:var(--gold)}
.sq-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.sq-actions button{min-height:30px;padding:0 10px;border-radius:11px;border:1px solid rgba(255,255,255,.10);background:rgba(8,10,18,.6);color:#fff;font-size:10px;font-weight:900}
.sq-actions .gold-btn{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border:0}
.sq-danger{color:#ff8a8a!important}
.sq-room-head{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.sq-room-head .panel-btn{min-height:34px;padding:0 10px;font-size:10.5px}
.sq-room-title{min-width:0;display:flex;flex-direction:column}
.sq-room-title b{color:var(--gold);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-room-title small{font-size:9px;color:var(--muted)}
.sq-chatbox{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:7px}
.sq-chatbox .message-stack{flex:1 1 auto}
.message.sq-sys{align-self:center;max-width:94%;text-align:center;background:transparent;border:0;color:var(--muted);font-size:9.5px;padding:2px 6px}
.sq-board{flex:1 1 auto;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:9px;scrollbar-width:none}
.sq-card,.sq-section{border:1px solid rgba(255,217,102,.12);border-radius:15px;background:rgba(8,10,18,.6);padding:9px 11px;display:flex;flex-direction:column;gap:7px}
.sq-kv{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}
.sq-kv span{color:var(--muted)}
.sq-kv b{display:inline-flex;align-items:center;gap:5px;color:#fff}
.sq-ico{width:14px;height:14px;object-fit:contain}
.sq-section>b{color:var(--gold);font-size:11.5px}
.sq-member{display:flex;flex-direction:column;gap:2px;padding-top:7px;border-top:1px solid rgba(255,255,255,.06);font-size:11px}
.sq-member:first-of-type{border-top:0;padding-top:0}
.sq-member small{display:block;font-size:9px;color:var(--muted)}
.sq-leave{margin-top:2px}
.sq-new{min-height:42px;border-radius:14px;font-weight:1000}
/* Squad shared cards and forms */
.sq-roomtabs{grid-template-columns:repeat(5,1fr)}
.sq-roomtabs button{font-size:9.5px;padding:0 2px}
.sq-note{display:block;color:var(--muted);font-size:9.5px;line-height:1.4}
.sq-neg{color:#ff8a8a!important}.sq-pos{color:#7be0a0!important}
.sq-kv span small{display:block;font-size:8.5px;color:var(--muted)}
.sq-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.sq-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--gold),var(--gold2))}
.sq-details summary{cursor:pointer;font-size:10px;color:var(--gold);font-weight:900;margin:2px 0 6px}
.sq-section input,.sq-section select,.sq-card input{width:100%;min-height:36px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(8,10,18,.7);color:#fff;padding:0 10px;font-size:11px}
.sq-section .chat-composer input{flex:1 1 auto;min-width:0}
.sq-section .gold-btn{min-height:38px;border-radius:12px;font-weight:1000}
/* Squad: tetap terlihat saat keyboard HP terbuka */
.chat-frame.sq-kbmode{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important}
.sq-pane.sq-float{position:fixed!important;left:6px;right:6px;max-width:528px;margin:0 auto;z-index:9998;background:#070a12;border:1px solid rgba(255,217,102,.35);border-radius:16px;padding:8px;overflow:auto;box-shadow:0 0 0 100vmax rgba(0,0,0,.6)}
.sq-float-close{position:sticky;top:0;align-self:flex-end;z-index:3;flex:0 0 auto;min-height:28px;padding:0 12px;border-radius:99px;border:1px solid rgba(255,217,102,.4);background:#0c1020;color:var(--gold);font-size:10px;font-weight:1000}

/* ===== SQUAD MODULE V7 — Community / Member / Setting / History ===== */
.sq-roomtabs{grid-template-columns:repeat(4,1fr);gap:5px}
.sq-roomtabs button{font-size:9.5px;padding:0 3px}
.sq-main-board{border:1px solid rgba(255,217,102,.16);border-radius:15px;background:rgba(8,10,18,.68);padding:10px 11px;display:flex;flex-direction:column;gap:8px}
.sq-event-head{display:flex;flex-direction:column;gap:6px;padding-top:5px;border-top:1px solid rgba(255,255,255,.06)}
.sq-event-head>span{color:var(--gold);font-size:10px;font-weight:1000}
.sq-event-head>div{display:flex;flex-wrap:wrap;gap:5px}
.sq-event-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:rgba(255,217,102,.10);border:1px solid rgba(255,217,102,.15);color:#fff;font-size:9px;font-weight:900}
.sq-member{position:relative;padding:9px 0;border-top:1px solid rgba(255,255,255,.06)}
.sq-member:first-of-type{border-top:0;padding-top:3px}
.sq-member-main{display:flex;flex-direction:column;gap:2px;padding-right:38px}
.sq-member-main b{font-size:11px}
.sq-member-main small{font-size:9px;color:var(--muted)}
.sq-more{position:absolute;right:0;top:8px;width:30px;height:30px;border-radius:10px;border:1px solid rgba(255,217,102,.2);background:rgba(255,217,102,.08);color:var(--gold);font-size:18px;font-weight:1000}
.sq-member-actions{display:flex;flex-wrap:wrap;gap:5px;padding-top:7px}
.sq-member-actions button{min-height:30px;padding:0 8px;border-radius:10px;border:1px solid rgba(255,255,255,.10);background:rgba(8,10,18,.7);color:#fff;font-size:9px;font-weight:900}
.sq-menu-btn{width:100%;min-height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:rgba(8,10,18,.72);color:#fff;text-align:left;padding:0 12px;font-size:10.5px;font-weight:900}
.sq-menu-btn:hover{border-color:rgba(255,217,102,.28)}
.sq-setting-detail{display:flex;flex-direction:column;gap:8px}
.sq-date-label{font-size:9px;color:var(--muted);font-weight:900}
.sq-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid rgba(255,255,255,.06);font-size:10px}
.sq-history-row:first-of-type{border-top:0}
.sq-history-row>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.sq-history-row small{color:var(--muted);font-size:8.5px;line-height:1.35}
.sq-history-row>b{white-space:nowrap}

/* ===== SQUAD MODULE V7.1 — full-screen module, launched from Private > Squad ===== */
#panelSquad .sq-module-body{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding-bottom:calc(12px + env(safe-area-inset-bottom));
  scrollbar-width:none;
}
#panelSquad .sq-module-body::-webkit-scrollbar{display:none}
#panelSquad .sq-roomtabs{position:sticky;top:0;z-index:2;padding:5px 0 7px;background:linear-gradient(180deg,rgba(16,17,24,.98),rgba(16,17,24,.86))}
#panelSquad .sq-main-board{margin-bottom:2px}
#panelSquad .sq-chatbox{flex:1 1 auto;min-height:260px;border:1px solid rgba(255,217,102,.10);border-radius:16px;background:rgba(4,6,12,.30);padding:8px}
#panelSquad .sq-board{overflow:visible;min-height:0}
#panelSquad .sq-pane{overflow:visible}
#panelSquad .sq-module-body .sq-new{width:100%}

/* Kartu info Squad: nama/ID (kiri atas), anggota (kanan atas), saldo besar (tengah), tanggal (kiri bawah), terkunci (kanan bawah) */
.sq-info-card{border:1px solid rgba(255,217,102,.18);border-radius:16px;background:rgba(8,10,18,.7);padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.sq-info-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.sq-info-name{min-width:0;display:flex;flex-direction:column;gap:1px}
.sq-info-name b{color:var(--gold);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-info-name small{font-size:9px;color:var(--muted)}
.sq-info-cap{text-align:right;display:flex;flex-direction:column;gap:1px;flex:0 0 auto}
.sq-info-cap b{font-size:13px;color:#fff}
.sq-info-cap small{font-size:8.5px;color:var(--muted)}
.sq-wallet-big{align-self:center;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 0}
.sq-wallet-big>small{font-size:9px;color:var(--muted);letter-spacing:.3px}
.sq-wallet-big>div{display:flex;align-items:center;gap:7px}
.sq-wallet-big img{width:26px;height:26px}
.sq-wallet-big span{font-size:26px;font-weight:1000;color:var(--gold);line-height:1}
.sq-info-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-top:6px;border-top:1px solid rgba(255,255,255,.07)}
.sq-info-date{display:flex;flex-direction:column;gap:1px}
.sq-info-date small,.sq-info-locked small{font-size:8.5px;color:var(--muted)}
.sq-info-date b{font-size:10.5px;color:#fff}
.sq-info-locked{text-align:right;display:flex;flex-direction:column;gap:1px}
.sq-info-locked b{display:inline-flex;align-items:center;gap:4px;justify-content:flex-end;font-size:11px;color:#fff}

/* Tombol Event Squad (+) di bawah papan info — buka modal, tidak menumpuk chip */
.sq-event-row{display:flex;align-items:center;gap:8px;min-height:38px;border-radius:13px;border:1px solid rgba(255,217,102,.14);background:rgba(8,10,18,.55);padding:0 10px 0 12px;color:#fff;font-size:10.5px;font-weight:900}
.sq-event-row>span:first-child{color:var(--gold);flex:0 0 auto}
.sq-event-row .sq-note{flex:1 1 auto;text-align:left;margin:0}
.sq-event-badge{flex:1 1 auto;text-align:left;color:var(--muted);font-weight:900}
.sq-event-plus{flex:0 0 auto;width:24px;height:24px;border-radius:8px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:1000}

/* Modal ringkas Event Squad */
.sq-modal-backdrop{position:absolute;inset:0;z-index:5;display:flex;align-items:flex-end;justify-content:center;background:rgba(3,4,8,.72);border-radius:inherit;padding:10px}
.sq-modal-card{width:100%;max-height:80%;overflow:auto;border:1px solid rgba(255,217,102,.22);border-radius:16px 16px 10px 10px;background:#0d0f1a;padding:12px 12px 14px;display:flex;flex-direction:column;gap:9px;scrollbar-width:none}
.sq-modal-card::-webkit-scrollbar{display:none}
.sq-modal-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sq-modal-head b{color:var(--gold);font-size:12px}
.sq-modal-x{width:28px;height:28px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:16px;font-weight:1000}
.sq-modal-body{display:flex;flex-direction:column;gap:8px}

/* Member: satu baris horizontal per anggota (ID, donasi, reward, +) */
.sq-member-list{display:flex;flex-direction:column}
.sq-member-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid rgba(255,255,255,.06)}
.sq-member-row:first-child{border-top:0;padding-top:2px}
.sq-member-id{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.sq-member-id b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-member-id small{font-size:8.5px;color:var(--muted)}
.sq-member-col{flex:0 0 auto;text-align:right;display:flex;flex-direction:column;gap:1px;min-width:54px}
.sq-member-col small{font-size:8px;color:var(--muted)}
.sq-member-col b{display:inline-flex;align-items:center;gap:3px;justify-content:flex-end;font-size:10px;color:#fff}
.sq-more{position:static;flex:0 0 auto;width:26px;height:26px;border-radius:9px;border:1px solid rgba(255,217,102,.22);background:rgba(255,217,102,.08);color:var(--gold);font-size:16px;font-weight:1000}
.sq-more-blank{flex:0 0 auto;width:26px}
.sq-member-actions{display:flex;flex-wrap:wrap;gap:5px;padding:0 0 8px}

/* Chat media (Private Chat + Squad) — tombol + di dalam composer */
.chat-composer{position:relative}
.chat-composer.cm-has-plus{grid-template-columns:40px minmax(0,1fr) 60px;align-items:center}
.chat-composer .cm-plus{width:40px;height:38px;border-radius:14px;border:1px solid rgba(255,217,102,.28);background:rgba(255,217,102,.08);color:var(--gold)!important;background-image:none!important;font-size:22px;font-weight:1000;line-height:1;display:grid;place-items:center;padding:0}
.chat-composer .cm-plus.rec{background:#c0392b!important;border-color:#c0392b;color:#fff!important;font-size:16px;animation:cmPulse 1s infinite}
@keyframes cmPulse{50%{opacity:.55}}
.cm-menu{position:absolute;left:0;bottom:calc(100% + 8px);z-index:20;min-width:190px;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:16px;border:1px solid rgba(255,217,102,.25);background:#0d0f1a;box-shadow:0 14px 34px rgba(0,0,0,.6)}
.cm-menu.hidden{display:none}
.cm-menu button{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:42px;padding:0 10px;border-radius:11px;color:#fff;font-size:12px;cursor:pointer}
.cm-menu button:active{background:rgba(255,217,102,.12)}
.cm-menu button span{font-size:18px;width:24px;text-align:center}
.cm-menu button b{font-weight:900}
.cm-menu button small{margin-left:auto;font-size:9px;color:var(--muted)}
.cm-slot{margin-top:5px;max-width:100%}
.message{min-width:0;overflow:hidden;overflow-wrap:anywhere}
.message .cm-slot{width:min(240px,100%)}
.cm-img,.cm-vid{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:12px;background:rgba(0,0,0,.25)}
.cm-aud{display:none}
.cm-ph{font-size:10px;opacity:.75}

/* Room Private = modul besar (Inbox user & Layanan Platform) */
#panelPrivateRoom .pr-title{min-width:0;display:flex;flex-direction:column;gap:1px;flex:1 1 auto;margin-left:10px}
#panelPrivateRoom .pr-title h2{font-size:16px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#panelPrivateRoom .pr-title small{font-size:9.5px;color:var(--muted)}
#panelPrivateRoom .panel-head{flex-direction:row-reverse;justify-content:flex-end}
#panelPrivateRoom .pr-messages{flex:1 1 auto!important;min-height:0;overflow:auto;padding:8px;border:1px solid rgba(255,217,102,.10);border-radius:16px;background:rgba(4,6,12,.30);margin-bottom:8px}
#panelPrivateRoom .private-composer{flex:0 0 auto;margin-top:0}

/* Squad: area chat pas layar, pesan scroll sendiri, composer selalu terlihat */
#panelSquad .sq-chatbox{height:max(300px,calc(100dvh - 400px));min-height:300px;flex:0 0 auto}
#panelSquad .sq-chatbox .message-stack{flex:1 1 auto;min-height:0;overflow:auto}
#panelSquad .sq-chatbox .chat-composer{flex:0 0 auto;margin-top:0}

/* V7.1.3 — Voice note: satu tombol ⏯️ (tanpa player bawaan) */
.cm-play{all:unset;box-sizing:border-box;display:inline-grid;place-items:center;width:58px;height:40px;border-radius:14px;border:1px solid rgba(255,217,102,.35);background:rgba(255,217,102,.10);font-size:22px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none}
.cm-play:active,.cm-play.playing{background:rgba(255,217,102,.30);border-color:var(--gold)}

/* V7.1.3 — Papan ketik: panel pas dengan area terlihat, input selalu di bawah & tampak */
#panelPrivateRoom,#panelSquad{overflow:hidden!important;overscroll-behavior:contain}
#panelPrivateRoom .private-composer,#panelSquad .sq-chatbox .chat-composer{position:relative;z-index:5;flex:0 0 auto;padding-top:2px}
#panelPrivateRoom .private-composer input,#panelSquad .sq-chatbox .chat-composer input{font-size:16px!important;min-height:42px}
#panelSquad.sq-typing #sqInfo{display:none!important}
#panelSquad.sq-typing .sq-roomtabs{position:static}
#panelSquad.sq-typing .sq-module-body{overflow:hidden!important;padding-bottom:4px}
#panelSquad.sq-typing .sq-chatbox{height:auto!important;min-height:0!important;flex:1 1 auto!important}

/* ===== V7.1.4 — Rapikan chat ===== */
/* (1) Gelembung pesan TIDAK boleh menyusut/terpotong: daftar pesan scroll, bukan memampat */
.message-stack>*{flex-shrink:0}
.cm-slot{flex-shrink:0}
/* (2) Tombol KIRIM & tombol + selalu setinggi kolom input */
.chat-composer.cm-has-plus{align-items:stretch}
.chat-composer>button{min-height:42px;align-self:stretch}
.chat-composer .cm-plus{height:auto;min-height:42px}
/* (3) Chat Squad mengisi layar, sisanya scroll */
#panelSquad .sq-chatbox{height:max(320px,calc(100dvh - 290px));min-height:320px}
/* (4) Hapus pesan */
.msg-del{all:unset;float:right;margin-left:10px;padding:0 4px;font-size:13px;line-height:1;opacity:.8;cursor:pointer;-webkit-tap-highlight-color:transparent}
.msg-del:active{opacity:1;transform:scale(1.15)}
.message.deleted{opacity:.7}.msg-gone{display:block;font-size:10.5px;font-style:italic;color:var(--muted)}
/* (5) Global Chat: saat mengetik, area chat memenuhi ruang di atas papan ketik */
.app.kb-typing{height:var(--vvh,100vh)!important;max-height:var(--vvh,100vh)!important;grid-template-rows:minmax(0,1fr)!important;padding-top:6px!important}
.app.kb-typing>.topbar,.app.kb-typing>.main-frame{display:none!important}

/* ===== ROOM SQUAD V7.3.0 — voice room, bubble, lembar Host, game di dalam aplikasi ===== */
.sq-room-row{margin-top:6px}
.sqr-tabdot{background:#3ddc84;right:22px}
.sqr-bubble{position:fixed;z-index:10000;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 25%,#2a2f45,#0b0e1a);border:2px solid rgba(255,217,102,.7);box-shadow:0 6px 18px rgba(0,0,0,.55);touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer;transition:box-shadow .2s,border-color .2s,transform .15s}
.sqr-bubble.sqr-off{display:none!important}
.sqr-bubble .sqr-ico{font-size:22px;line-height:1;pointer-events:none}
.sqr-bubble .sqr-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;font-size:10px;font-weight:1000;display:flex;align-items:center;justify-content:center;pointer-events:none}
.sqr-bubble .sqr-badge:empty{display:none}
.sqr-bubble.muted{border-color:#ff5d5d;background:radial-gradient(circle at 30% 25%,#3a1e24,#12080c)}
.sqr-bubble.talk{border-color:#3ddc84;box-shadow:0 0 0 4px rgba(61,220,132,.28),0 6px 18px rgba(0,0,0,.55)}
.sqr-bubble.invite{animation:sqrPulse 1.4s ease-in-out infinite}
.sqr-bubble.drag{transform:scale(1.15);box-shadow:0 10px 26px rgba(0,0,0,.7);transition:none}
@keyframes sqrPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,217,102,.55),0 6px 18px rgba(0,0,0,.55)}50%{box-shadow:0 0 0 9px rgba(255,217,102,0),0 6px 18px rgba(0,0,0,.55)}}
.sqr-mini{position:fixed;z-index:9999;width:min(270px,calc(100vw - 16px));max-height:70vh;overflow:auto;padding:10px;border-radius:16px;background:rgba(7,10,18,.97);border:1px solid rgba(255,217,102,.35);box-shadow:0 12px 32px rgba(0,0,0,.65);display:flex;flex-direction:column;gap:8px;color:var(--text)}
.sqr-mini.sqr-off{display:none!important}
.sqr-mini-head{display:flex;flex-direction:column;gap:2px}
.sqr-mini-head b{font-size:12px;color:var(--gold)}
.sqr-mini-head small,.sqr-desc{font-size:10.5px;color:#cfd3e0;line-height:1.35}
.sqr-desc{padding:7px 9px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07)}
.sqr-people{display:flex;flex-direction:column;gap:4px}
.sqr-person{display:flex;align-items:center;gap:6px;min-height:30px;padding:3px 8px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid transparent;font-size:11px}
.sqr-person b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}
.sqr-person.wait{opacity:.6}
.sqr-person.speaking{border-color:rgba(61,220,132,.7);background:rgba(61,220,132,.10)}
.sqr-dotp{width:8px;height:8px;border-radius:50%;background:#59607a;flex:0 0 auto}
.sqr-person.speaking .sqr-dotp{background:#3ddc84;box-shadow:0 0 6px #3ddc84}
.sqr-host{font-style:normal;font-size:8px;font-weight:1000;padding:1px 6px;border-radius:99px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808}
.sqr-link{font-size:9px;color:#9aa1b8;white-space:nowrap}
.sqr-mtag{font-size:11px}
.sqr-mbtn{flex:0 0 auto;min-width:56px;height:26px;padding:0 8px;border-radius:9px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text);font-size:9.5px;font-weight:900}
.sqr-actions{display:flex;flex-wrap:wrap;gap:6px}
.sqr-actions button{flex:1 1 auto;min-height:34px;padding:0 10px;border-radius:11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--text);font-size:11px;font-weight:900}
.sqr-actions .sqr-go{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#080808;border-color:transparent}
.sqr-actions .sqr-danger,.sqr-danger{color:#ff8a8a;border-color:rgba(255,93,93,.4)}
.sqr-hint,.sqr-note{font-size:9.5px;color:#8f96ad;line-height:1.35}
.sqr-sheet{position:fixed;inset:0;z-index:9990;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.6)}
.sqr-sheet-card{width:100%;max-width:540px;max-height:88vh;overflow:auto;padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;background:#070a12;border:1px solid rgba(255,217,102,.3);border-bottom:0;display:flex;flex-direction:column;gap:9px}
.sqr-sheet-head{display:flex;align-items:center;justify-content:space-between}
.sqr-sheet-head b{font-size:14px;color:var(--gold)}
.sqr-x{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;font-size:18px;line-height:1}
.sqr-lbl{font-size:10px;font-weight:900;color:#cfd3e0;letter-spacing:.3px}
.sqr-sheet textarea{width:100%;resize:none;padding:9px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:var(--text);font-size:13px}
.sqr-checks{display:flex;flex-direction:column;gap:5px;max-height:32vh;overflow:auto}
.sqr-check{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.sqr-check input{width:18px;height:18px;accent-color:#ffd966;flex:0 0 auto}
.sqr-check span{display:flex;flex-direction:column;min-width:0}
.sqr-check b{font-size:12px}.sqr-check small{font-size:9.5px;color:#8f96ad}
.sqr-primary{min-height:42px;border-radius:13px;font-weight:1000}
.sqr-game{position:fixed;inset:0;z-index:9980;background:#000;display:flex;flex-direction:column}
.sqr-game-bar{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:calc(6px + env(safe-area-inset-top,0px)) 8px 6px;background:#070a12;border-bottom:1px solid rgba(255,217,102,.25)}
.sqr-game-bar b{font-size:12px;color:var(--gold);max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sqr-game-bar small{flex:1 1 auto;min-width:0;font-size:9px;color:#8f96ad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sqr-game-bar button{flex:0 0 auto;width:32px;height:30px;border-radius:9px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#fff;font-size:14px}
.sqr-game-frame{flex:1 1 auto;width:100%;min-height:0;border:0;background:#000}
/* Terkunci di Room Squad: Star Arena hanya jalur Games */
body.sqr-locked [data-arena-section="gameproject"],body.sqr-locked [data-arena-section="idola"],body.sqr-locked #gpEnterSessionBtn,body.sqr-locked #gpGateArea,body.sqr-locked #arenaGameProjectView,body.sqr-locked #arenaIdolaView,body.sqr-locked #arenaPartnersView>.arena-title-line,body.sqr-locked #arenaPartnersView>.panel-note{display:none!important}

body.sqr-locked #panelArena>.panel-head .close-panel{display:none!important}
.sq-room-btn{display:flex;align-items:center;gap:8px}.sq-room-btn .sq-note{margin-left:auto}

.arena-embed{display:inline-block;margin:4px 0 0 6px;padding:1px 8px;border-radius:99px;font-size:9px;font-weight:900;vertical-align:middle}
.arena-embed.ok{background:rgba(61,220,132,.14);color:#6ff0a6;border:1px solid rgba(61,220,132,.4)}
.arena-embed.no{background:rgba(255,184,77,.12);color:#ffcb7d;border:1px solid rgba(255,184,77,.4)}

/* V7.3.3 — rapikan tab Member Squad: badge tidak melar, tombol + sebaris, panel aksi rapi */
.sq-member-id .sq-badge{align-self:flex-start;width:auto;flex:0 0 auto}
.sq-member-row .sq-more{position:static;right:auto;top:auto;margin:0}
.sq-member-actions{padding:2px 0 10px}
.sq-member-actions button{flex:1 1 auto;min-width:0}

/* V7.3.4 — Savings & GameProject Squad */
.sq-kv.sq-muted{opacity:.55}
.sq-kv b{text-align:right}
.sq-chip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11px;border:1px solid var(--line,#3a3326);color:#cbbf9f;white-space:nowrap}
.sq-chip.on{background:linear-gradient(135deg,#f3d77a,#b88a2e);color:#1a1405;border-color:transparent}
.sq-gp-card{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.sq-gp-card .sq-sub{margin-top:6px}
.sq-shop-row{display:grid;grid-template-columns:1.4fr 1fr .9fr auto;gap:6px;margin:6px 0;align-items:center}
.sq-shop-row input,.sq-shop-row select{min-width:0;width:100%}
.sq-shop-row .sq-danger{padding:6px 10px}
#sqSettingDetail input[type=file]{width:100%}

/* ===== v7.4.0 Tampilan gabungan: font, sub-judul, background foto ===== */
body.font-system,body.font-system button,body.font-system input,body.font-system textarea,body.font-system select{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
body.font-app,body.font-app button,body.font-app input,body.font-app textarea,body.font-app select{font-family:"Stars Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,Helvetica,sans-serif}
.setting-sub{font-size:10.5px;font-weight:900;color:var(--gold);margin:10px 0 6px;letter-spacing:.2px}
.setting-sub:first-of-type{margin-top:2px}
.bg-dim-box{display:grid;gap:6px;margin:10px 0 2px}
.bg-dim-box label{font-size:10.5px;color:var(--muted)}
.bg-dim-box input[type=range]{width:100%;accent-color:var(--gold)}
body.has-bg-photo .bg{background-image:linear-gradient(rgba(2,6,16,var(--bg-dim,.55)),rgba(2,6,16,var(--bg-dim,.55))),var(--bg-photo);background-size:cover;background-position:center;background-repeat:no-repeat}
body.has-bg-photo .bg:before{opacity:.18}
body.has-bg-photo.motion-light .bg:before{opacity:0}

/* V7.5.1 pratinjau font di Setting > Bahasa */
.font-preview{margin:8px 0 2px;display:grid;gap:6px}
.font-preview div{border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:8px 10px;background:rgba(0,0,0,.22);font-size:13px;line-height:1.35;color:var(--text)}
.font-preview small{display:block;color:var(--gold);font-size:9.5px;font-weight:700;margin-bottom:2px;letter-spacing:.2px}
.font-preview .fp-system{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",sans-serif!important}
.font-preview .fp-app{font-family:"Stars Sans",Arial,sans-serif!important}
#fontStatus{display:block;margin-top:6px;font-size:10px;color:var(--muted)}
