/* ORBIT 2026-11-18 — consistency pass. Loaded LAST after all legacy themes. */
html body{--cool-fix:#cbb596;color:#f3ede3}
html body .shell>footer{display:none!important}
html body main{padding-bottom:126px!important}
/* 1. One-piece bottom bar: no independent raised + icon or blue halo */
html body nav.bottom-nav{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 align-items:stretch!important;gap:5px!important;
 padding:7px 8px 7px!important;
 min-height:68px!important;max-width:480px!important;
 border:1px solid #9a82602f!important;border-bottom-color:#16110c!important;
 background:linear-gradient(170deg,#302820f5,#171512f7)!important;
 box-shadow:0 -9px 28px #0008,inset 0 1px #ffffff17!important;
 border-radius:23px!important;
}
html body .bottom-nav .nav-item{
 display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;
 gap:4px!important;min-width:0!important;min-height:52px!important;
 margin:0!important;padding:7px 3px!important;
 border:1px solid transparent!important;border-radius:15px!important;
 background:transparent!important;color:#bcae9b!important;
 box-shadow:none!important;overflow:hidden!important;
 font-size:10px!important;font-weight:750!important;
}
html body .bottom-nav .nav-item svg,
html body .bottom-nav .create-nav svg{
 display:block!important;width:21px!important;height:21px!important;min-width:21px!important;
 position:static!important;margin:0!important;padding:0!important;
 background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;
 filter:none!important;outline:0!important;stroke:currentColor!important;
}
html body .bottom-nav .nav-item span{font-size:10px!important;line-height:1.2!important;color:inherit!important;margin:0!important}
html body .bottom-nav .nav-item.active:not(.create-nav){
 color:#f6dfb7!important;background:linear-gradient(155deg,#4a3c2d,#302920)!important;
 border:1px solid #e5c58c2e!important;box-shadow:inset 0 1px #fff2,0 3px 8px #0004!important;
}
html body .bottom-nav .nav-item.active svg{filter:none!important;color:inherit!important}
html body .bottom-nav .create-nav,
html body .bottom-nav .create-nav.active{
 background:linear-gradient(155deg,#edd3a5,#cfaa71 65%,#ac834e)!important;
 color:#302316!important;border:1px solid #f8dcaa9c!important;
 box-shadow:inset 0 2px #fff6,inset 0 -2px #7e5b3b56,0 4px 10px #0005!important;
}
html body .bottom-nav .create-nav span{font-size:9px!important;color:#302316!important}
html body .bottom-nav .create-nav:active{transform:translateY(1px)!important}
/* 2. Category filters: proper horizontal scrolling with no clipped final pill */
html body .filters{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;
 gap:7px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
 padding:4px 4px 9px!important;margin:0 0 13px!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 scroll-padding-inline:4px;
}
html body .filters::-webkit-scrollbar{display:none!important}
html body .filters>.filter{
 flex:0 0 auto!important;white-space:nowrap!important;min-width:0!important;
 padding:9px 14px!important;min-height:37px!important;margin:0!important;
 font-size:11px!important;line-height:1.15!important;font-weight:750!important;
 border:1px solid #c6b18d2a!important;border-radius:12px!important;
 color:#c8b7a0!important;background:linear-gradient(155deg,#302b25,#211e1a)!important;
 box-shadow:inset 0 1px #ffffff0d,0 3px 8px #0003!important;
}
html body .filters>.filter.active{
 color:#f3e6d1!important;background:linear-gradient(155deg,#574637,#342a20)!important;
 border:1px solid #d7b47e58!important;box-shadow:inset 0 1px #fff2,0 4px 9px #0003!important;
}
/* 3. Rooms: single surface, sensible information hierarchy, no outer blue rectangle */
html body .room-list{
 padding:0!important;margin:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 overflow:visible!important;display:grid!important;gap:10px!important;
}
html body .room-list>.room-row,
html body .room-row{
 display:flex!important;align-items:center!important;gap:10px!important;
 min-height:76px!important;margin:0!important;padding:12px!important;
 background:linear-gradient(147deg,#2a251f,#181715)!important;
 border:1px solid #bea17c28!important;border-radius:18px!important;
 box-shadow:inset 0 1px #fff2,0 8px 20px #0005!important;
 overflow:hidden!important;max-width:100%!important;
}
html body .room-row .room-thumb{
 flex:0 0 54px!important;width:54px!important;height:54px!important;
 border-radius:14px!important;border:1px solid #d4b6883b!important;
 object-fit:cover!important;box-shadow:none!important;
}
html body .room-row .room-info{min-width:0!important;flex:1 1 auto!important}
html body .room-row .room-info h3{
 font-size:13px!important;font-weight:850!important;color:#f5eada!important;
 overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;line-height:1.35!important;
}
html body .room-row .room-info p{
 font-size:10px!important;line-height:1.35!important;color:#ac9c87!important;
 overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
}
html body .room-row .room-people{
 flex:0 0 auto!important;font-size:10px!important;font-weight:800!important;
 color:#dfc69c!important;background:#e9c08d14!important;
 border:1px solid #e8c38c24!important;border-radius:10px!important;
 min-width:0!important;margin:0!important;padding:7px 8px!important;
}
html body .room-row>.btn{
 flex:0 0 auto!important;width:auto!important;min-width:65px!important;min-height:38px!important;
 padding:9px 12px!important;font-size:11px!important;line-height:1.2!important;
 border-radius:12px!important;white-space:nowrap!important;
}
html body .room-row>.btn.secondary{background:linear-gradient(140deg,#494035,#29251f)!important;color:#efddc5!important}
html body .room-grid{gap:12px!important}
html body .room-tile{background:linear-gradient(155deg,#302821,#191614)!important;border:1px solid #c9a97f30!important;
 box-shadow:inset 0 1px #fff2,0 8px 24px #0005!important}
/* 4. Admin players: small right action and compact rows */
html body .club-person{
 display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;
 margin:0 0 9px!important;padding:13px!important;
 background:linear-gradient(150deg,#29241f,#181715)!important;
 border:1px solid #cdb18e25!important;border-radius:18px!important;
 box-shadow:inset 0 1px #ffffff12,0 6px 16px #0004!important;
}
html body .club-person-info{min-width:0!important;flex:1 1 auto!important;gap:10px!important;overflow:hidden!important}
html body .club-person-info>.avatar{flex:0 0 46px!important;width:46px!important;height:46px!important;border-radius:13px!important}
html body .club-person-info>span:last-child{min-width:0!important;overflow:hidden!important}
html body .club-person-info b{font-size:12px!important;line-height:1.3!important;color:#f4e8d7!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .club-person-info small{font-size:10px!important;line-height:1.45!important;color:#aa9a85!important}
html body .club-person>.btn.secondary{
 flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:105px!important;
 min-height:36px!important;padding:7px 10px!important;font-size:10px!important;border-radius:12px!important;
}
/* 5. Header actions: subtle, consistent, no oversized isolated chips */
html body .section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
html body .section-heading h2{min-width:0!important;flex:1 1 auto!important}
html body .section-heading>button{
 flex:0 0 auto!important;min-height:0!important;max-width:38%!important;
 padding:6px 2px!important;font-size:11px!important;font-weight:700!important;
 white-space:nowrap!important;background:none!important;border:0!important;color:#e1be8a!important;
 border-radius:0!important;box-shadow:none!important;
}
html body .section-heading>button:active{opacity:.65}
html body .profile-gift-section .section-heading>button{max-width:30%!important}
html body .profile-gift-section .gift-shelf{overflow:visible!important}
html body .orbit-friends{min-width:0!important}
/* 6. Modal closing control and all blue leftovers */
html body .modal{border:1px solid #d5b99330!important;border-radius:25px!important;
 background:linear-gradient(156deg,#302a23,#191714 60%,#12110f)!important;
 box-shadow:0 24px 90px #000c,inset 0 1px #ffffff16!important;
 padding:30px 19px 23px!important;overflow-x:hidden!important;
}
html body .modal .close{
 top:13px!important;right:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:32px!important;height:32px!important;min-height:32px!important;
 border:1px solid #d2b69033!important;border-radius:11px!important;
 background:linear-gradient(155deg,#37312a,#211d19)!important;
 color:#e4d4bd!important;box-shadow:inset 0 1px #ffffff16,0 4px 10px #0005!important;
 padding:0!important;font-size:21px!important;font-weight:400!important;
}
html body .modal .close:active{transform:scale(.96)}
html body :is(.gift-target-card,.orbit-person,.player-sheet-avatar,.gift-detail-art,.club-search-results,.club-admin-tabs){
 background:linear-gradient(145deg,#29251f,#1a1815)!important;
 border-color:#c9a77b30!important;color:#efe4d4!important;
 box-shadow:inset 0 1px #fff1!important;
}
html body :is(.gift-target-card,.orbit-person) :is(small,p){color:#ab9b85!important}
html body .gift-purchase-modes button{
 color:#e1d5c3!important;background:linear-gradient(155deg,#343029,#221f1a)!important;
 border:1px solid #bda27d2f!important;box-shadow:inset 0 1px #fff1!important;
}
html body .gift-purchase-modes button.selected{background:linear-gradient(145deg,#645039,#3a2f24)!important;
 border-color:#f3d3a06e!important;color:#fff0d7!important}
html body .modal :is(input,textarea,select){color:#f2e7d6!important;border-color:#bc9d723d!important;
 background:linear-gradient(135deg,#171411,#26211c)!important}
html body :is(.club-wallet-note,.club-notice,.finance-alert){border-color:#c19e7030!important;
 background:#322920!important;color:#cdbba0!important}
html body :is(.room-info p,.player-rank,.gift-order p,.gift-price,.club-person small){text-shadow:none!important}
html body .gift-demo-button{display:none!important}
/* 7. New shop dialog */
.orbit-overline{font-size:9px!important;letter-spacing:1.7px!important;font-weight:850!important;color:#dcb985!important}
.orbit-buy{padding-top:13px}
.orbit-buy-overview{display:grid;grid-template-columns:115px minmax(0,1fr);gap:14px;align-items:center;margin:0 0 22px}
.orbit-buy-art{height:123px;width:115px;display:grid;place-items:center;
 background:radial-gradient(circle at 48% 27%,#b89a7040,#252019 68%);border:1px solid #e6c99e27;
 border-radius:22px;box-shadow:inset 0 2px 10px #0005}
.orbit-buy-art img{width:108px;height:114px;object-fit:contain;filter:drop-shadow(0 9px 9px #0008)}
.orbit-buy-info h2{font-size:19px!important;line-height:1.24!important;margin:7px 0 6px!important;color:#f9eddd!important;
 letter-spacing:-.55px!important;font-weight:850!important;overflow-wrap:anywhere}
.orbit-buy-info p{font-size:11px!important;color:#af9f8c!important;line-height:1.55!important}
.orbit-buy-price{display:inline-flex;align-items:center;gap:5px;margin:11px 0 0;padding:7px 10px;border-radius:11px;
 background:#e8c48f15;border:1px solid #e5c38833;color:#f6dbaf;font-size:15px;font-weight:850}
.orbit-buy-price img{width:19px;height:19px;object-fit:contain}
.orbit-buy-price small{font-size:10px!important;color:#c7a976!important}
.orbit-buy-label{font-size:11px!important;color:#d7c5ab!important;font-weight:800!important;margin:0 0 10px}
.orbit-buy-toggle{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#0e0d0bd6;
 border:1px solid #d3b68824;border-radius:16px;box-shadow:inset 0 2px 7px #0007;margin-bottom:17px}
.orbit-buy-toggle button{min-height:43px!important;padding:9px 6px!important;border-radius:12px!important;
 font-size:12px!important;font-weight:800!important;border:1px solid transparent!important;
 background:transparent!important;color:#9f8f7a!important;box-shadow:none!important}
.orbit-buy-toggle button.on{background:linear-gradient(155deg,#544333,#302820)!important;
 border-color:#d2aa7649!important;color:#f4e4cc!important;box-shadow:inset 0 1px #fff2,0 3px 8px #0004!important}
.orbit-buy-person{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:15px;
 background:linear-gradient(145deg,#302921,#211c18);border:1px solid #e9c5952d;margin:0 0 16px}
.orbit-buy-person>.avatar{flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:12px!important}
.orbit-buy-person>div{min-width:0;flex:1}
.orbit-buy-person small{display:block;font-size:9px;color:#c39d6c!important;letter-spacing:.8px}
.orbit-buy-person strong{display:block;font-size:14px;line-height:1.35;color:#f1e7d7!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.orbit-buy-person span{display:block;font-size:10px;color:#a99984}
.orbit-buy-person>button{font-size:10px;font-weight:800;color:#e1bd89;background:none;border:0;padding:6px}
.orbit-buy-message{display:flex;justify-content:space-between;margin:10px 0 8px;font-size:12px;color:#ddc5a6!important}
.orbit-buy-message span{font-size:10px;color:#9c907d}
.orbit-buy textarea{width:100%;min-height:75px!important;max-height:130px;resize:vertical;font-size:12px!important}
.orbit-buy-footnote{margin:2px 0 20px;padding:11px 12px;border:1px solid #bf9a6633;border-radius:13px;
 background:#c9ab7e0a;color:#bca990;font-size:10px;line-height:1.7}
.orbit-buy-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;padding:12px 0 0;
 border-top:1px solid #e2c69b1f}
.orbit-buy-total span{font-size:12px;color:#af9b80}
.orbit-buy-total strong{font-size:15px;color:#f4ddba;font-weight:850}
.orbit-buy-submit{display:flex!important;justify-content:center;align-items:center;gap:10px!important;
 width:100%!important;min-height:49px!important}
.orbit-buy-submit svg,.orbit-owned-redeem svg,.orbit-transfer button svg,.orbit-sell button svg{width:17px;height:17px;display:inline-block}
.orbit-buy-error{margin-top:10px;font-size:11px}
/* 8. Owned gift panel: balanced hierarchy, no view-animation button */
.orbit-owned{padding-top:12px}
.orbit-owned-photo{height:175px;width:100%;display:grid;place-items:center;border-radius:20px;
 background:radial-gradient(ellipse at center,#e7c2902b 0%,#24201b 56%,#181512 92%);
 border:1px solid #d2b08330;margin-bottom:18px}
.orbit-owned-photo img{height:155px;max-width:83%;object-fit:contain;filter:drop-shadow(0 9px 12px #0009)}
.orbit-owned-title{text-align:center}
.orbit-owned-title h2{font-size:21px!important;color:#f7ecda!important;margin:6px 0!important}
.orbit-owned-title p{font-size:11px;color:#ab9b87;line-height:1.5}
.orbit-owned-title p b{color:#dfc9a7}
.orbit-owned-message{padding:12px 15px;border-radius:13px;background:#2b241d;color:#ccb89b;font-size:12px;
 border:1px solid #ad8b5d25;margin-top:16px}
.orbit-owned-status{display:block;text-align:center;margin:15px auto;color:#ddbd8d;font-size:11px;font-weight:750}
.orbit-owned-options{border-top:1px solid #e9ca9c24;margin-top:18px;padding-top:17px}
.orbit-owned-redeem{display:flex!important;justify-content:center;align-items:center;gap:8px!important;margin-bottom:11px;width:100%}
.orbit-owned-duo{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}
.orbit-owned-duo>.btn{min-height:46px!important;font-size:11px!important;padding:10px 8px!important;
 white-space:normal!important;line-height:1.25!important}
.orbit-owned-sub{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0}
.orbit-owned-sub button{background:none;border:0;color:#d3b285;font-size:11px;font-weight:750;padding:5px 0;text-align:left}
.orbit-owned-warning{font-size:10px!important;color:#9e907a!important;line-height:1.6!important;
 margin:15px 0 0!important}
.orbit-owned .btn:disabled{opacity:.4!important}
/* 9. Sale and transfer dialogs */
.orbit-sell{padding-top:9px}
.orbit-sell h2,.orbit-transfer h2{font-size:23px!important;color:#f8ebd6!important;margin:7px 0 16px!important}
.orbit-sell-product{display:flex;align-items:center;gap:13px;padding:12px;border-radius:17px;
 background:linear-gradient(155deg,#30281f,#191714);border:1px solid #d3b48632;margin:14px 0}
.orbit-sell-product img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 4px 7px #0006)}
.orbit-sell-product b{display:block;color:#f3e4cb;font-size:14px}
.orbit-sell-product small{font-size:11px;color:#afa089}
.orbit-sell-intro,.orbit-transfer>p{font-size:12px;color:#bca991;line-height:1.6;margin:14px 0}
.orbit-sell form label,.orbit-transfer>label{font-size:12px;color:#e1c8a6!important;display:block;margin:16px 0 8px}
.orbit-sell-field{position:relative;display:flex;align-items:center}
.orbit-sell-field input{width:100%;padding-right:48px!important}
.orbit-sell-field span{position:absolute;right:15px;color:#dab57d}
.orbit-sell-note{font-size:11px!important;color:#9e917e!important;line-height:1.7;margin:13px 0 20px}
.orbit-sell form>.btn{display:flex!important;justify-content:center;align-items:center;gap:12px!important}
.orbit-transfer textarea{width:100%;min-height:75px!important}
.orbit-transfer>.btn{display:flex!important;align-items:center;justify-content:center;gap:10px!important;margin:17px 0 11px}
.orbit-link-button{display:block;margin:5px auto;background:none;color:#cdb28d;padding:8px;border:0;font-size:12px}
/* Tight mobile */
@media(max-width:390px){
 html body .room-row{gap:7px!important;padding:10px!important}
 html body .room-row .room-thumb{width:45px!important;height:45px!important;flex-basis:45px!important}
 html body .room-row>.btn{min-width:56px!important;padding:9px 8px!important}
 html body .room-row .room-people{padding:6px!important;font-size:9px!important}
 html body .club-person{padding:10px!important;gap:8px!important}
 html body .club-person>.btn.secondary{padding:6px 8px!important;font-size:9px!important}
 html body .modal{padding:30px 15px 20px!important}
 .orbit-buy-overview{grid-template-columns:98px minmax(0,1fr);gap:10px}
 .orbit-buy-art{width:98px;height:105px}
 .orbit-buy-art img{width:95px;height:100px}
 .orbit-buy-info h2{font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){.orbit-buy *,.orbit-owned *{transition:none!important;animation:none!important}}
