/* V1.65 website UI. Original game sprites only. */
/* Match the Farming glass: visible background through panels, sharp cyan rim, subtle drifting. */
body:not([data-ui-style="simple"]) #content .h162-next-bubbles .h162-float-bubble,
body:not([data-ui-style="simple"]) #content .gm-hero-orbs .gm-orb,
body:not([data-ui-style="simple"]) #content .gm-new-collection .gm-collection-bubble,
body:not([data-ui-style="simple"]) #content .gp150-deckslot img{
 background:linear-gradient(140deg,rgba(240,250,255,.24),rgba(100,179,231,.13) 27%,rgba(8,41,84,.18) 85%)!important;
 border-color:rgba(185,229,255,.56)!important;
 box-shadow:inset 0 2px 4px rgba(255,255,255,.21),inset 0 -10px 20px rgba(4,37,85,.10),0 10px 22px rgba(1,15,44,.16)!important;
 backdrop-filter:blur(12px) saturate(145%);
}
@keyframes v165-idle-float {0%,100%{translate:0 0}50%{translate:0 -6px}}
#content .h162-next-bubbles{display:flex!important;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:12px!important;max-width:100%}
#content .h162-next-bubbles .h162-float-bubble{width:calc((100% - 48px)/5)!important;min-width:0!important;max-width:154px!important;flex:0 1 calc((100% - 48px)/5)!important;min-height:116px!important;padding:12px 6px!important;animation:v165-idle-float 5.6s ease-in-out infinite!important;transition:transform .24s ease,background .24s ease!important}
#content .h162-next-bubbles .h162-float-bubble:nth-child(2n){animation-delay:-2.2s!important}
#content .h162-next-bubbles .h162-float-bubble:nth-child(3n){animation-delay:-3.8s!important}
#content .h162-next-bubbles .h162-float-bubble:hover{animation-play-state:paused!important;transform:translateY(-4px) scale(1.06)}
#content .h162-next-bubbles .h162-float-bubble span{font-size:11px;line-height:1.25;overflow-wrap:normal;hyphens:none}
#content .h162-next-bubbles .h162-float-bubble img{max-width:52px!important;max-height:52px!important;transition:transform .23s ease}
#content .h162-next-bubbles .h162-float-bubble:hover img{transform:scale(1.09)}
/* Center server data, render real measurements from official feed in a reserved chart area. */
#content .h162-status{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px}
#content .h162-status .h162-server{justify-content:center;margin:7px auto 0}
#content .h162-status>p{margin:0 auto;font-size:16px}
#content .h165-server-history{width:min(100%,600px);margin:10px auto 0;padding:15px 14px 12px;border:1px solid rgba(138,214,254,.23);border-radius:18px;background:rgba(11,41,82,.20)}
#content .h165-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#b4d8f4;font-size:11px;font-weight:800}
#content .h165-history-head span:last-child{color:#ecfaff;font-size:14px}
#content #h165-server-chart{height:125px;width:100%;display:block;overflow:visible;margin:12px 0 7px}
#content #h165-history-note{font-size:10px;line-height:1.5}
/* Home marketplace, small premium glass tiles and genuine in-game lock icons. */
#content .h164-market-grid{gap:11px!important}
#content .h164-market-pick{min-width:0!important;background:linear-gradient(142deg,rgba(83,154,209,.16),rgba(13,46,92,.24))!important;backdrop-filter:blur(11px);border-color:rgba(162,218,249,.32)!important;box-shadow:inset 0 2px 1px rgba(255,255,255,.16)!important;min-height:172px;justify-content:center;padding:14px 10px!important}
#content .h164-market-pick:hover{transform:translateY(-5px) scale(1.025);border-color:rgba(205,248,255,.80)!important;box-shadow:inset 0 2px 2px rgba(255,255,255,.26),0 13px 25px rgba(4,19,54,.29)!important}
#content .h164-pick-art{background:rgba(100,175,231,.11)!important;border:1px solid rgba(174,221,251,.38)!important;backdrop-filter:blur(12px)}
#content .h164-market-pick strong{font-size:13px;line-height:1.3;min-height:32px;display:grid;place-items:center;text-transform:capitalize}
#content .h165-locks{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;font-variant-numeric:tabular-nums}
#content .h165-lock{display:inline-flex;align-items:center;gap:3px;color:#c4ebff;font-size:15px;font-weight:850}
#content .h165-lock img{width:20px!important;height:20px!important;object-fit:contain;image-rendering:pixelated}
#content .h165-price-empty{font-size:11px;color:#92adc7}
/* Marketplace floating orbs: never overlap. Even spacing across upper right. */
#content .gtmarket.gm-v111 .gm-newhero{min-height:254px;position:relative;isolation:isolate;align-items:flex-end}
#content .gtmarket.gm-v111 .gm-hero-copy{max-width:59%;flex:1 1 auto;z-index:2}
#content .gtmarket.gm-v111 .gm-hero-orbs{position:absolute!important;top:21px!important;right:23px!important;left:auto!important;bottom:auto!important;z-index:1;width:min(39%,510px)!important;min-width:0!important;height:112px!important;display:flex!important;align-items:flex-start;justify-content:space-around;gap:12px;transform:none!important;margin:0!important;pointer-events:none}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:flex!important;align-items:center;justify-content:center;flex:1 1 0!important;min-width:0;max-width:106px;height:102px!important;width:auto!important;transform:none!important;animation:v165-idle-float 5.5s ease-in-out infinite!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float:nth-child(even){animation-delay:-2.3s!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float:nth-child(3n){animation-delay:-3.8s!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb{--orb-size:auto!important;position:relative!important;inset:auto!important;display:grid;place-items:center;width:100%!important;height:auto!important;max-height:92px;aspect-ratio:1/1;border-radius:19px!important;animation:none!important;transform:none!important;transition:transform .25s,border-color .25s,box-shadow .25s!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb img{max-width:76%!important;max-height:76%!important;object-fit:contain!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float:hover{animation-play-state:paused!important}
#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float:hover .gm-orb{transform:scale(1.06)!important}
/* Admin-only review warnings are visible in BOTH calendar implementations. */
#content .v165-admin-warning{position:absolute;top:4px;right:5px;z-index:3;width:21px;height:21px;border:1px solid #ffcf7c;border-radius:8px;color:#ffe3ad;background:rgba(112,51,17,.87);font-size:16px;font-weight:900;display:grid;place-items:center;box-shadow:0 0 12px rgba(255,172,57,.38)}
#content .v165-calendar-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
/* Pet arena: game art is pixel-accurate, controls sit INSIDE the scene. */
#content .gp150-scenebox{position:relative;border-radius:17px;overflow:hidden;aspect-ratio:800/450;border:1px solid rgba(162,228,255,.5);box-shadow:inset 0 2px rgba(255,255,255,.17),0 15px 35px rgba(0,15,44,.3)}
#content .gp150-gamecard{border-radius:20px;padding:8px;background:rgba(42,96,141,.23);border:1px solid rgba(163,222,255,.28);backdrop-filter:blur(18px)}
#content .gp150-settings,#content .gp150-panel{background:linear-gradient(139deg,rgba(60,121,166,.24),rgba(8,35,66,.35));border:1px solid rgba(177,220,252,.27);backdrop-filter:blur(14px)}
#content .gp150-scenebox .gp165-hotbar{position:absolute;z-index:4;left:50%;bottom:5px;transform:translateX(-50%);height:72px;width:min(33%,272px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:4px;border:3px solid rgba(167,222,252,.92);border-radius:10px;background:linear-gradient(180deg,#799aa6,#4d7280 18%,#274656 19%,#19303c 82%,#12232f);box-shadow:0 2px 0 rgba(0,0,0,.6),inset 0 0 0 2px #0e2737}
#content .gp150-scenebox .gp165-hotbar .gp150-ability{position:relative;min-width:0;min-height:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:2px;border-radius:5px;background:linear-gradient(180deg,#668698,#1e3845);border:2px solid rgba(160,215,235,.45);flex-direction:column;gap:0;transition:background .13s,border-color .13s}
#content .gp150-scenebox .gp165-hotbar .gp150-ability:hover:not(:disabled){background:linear-gradient(180deg,#7db7d1,#235f77);border-color:#d0effa}
#content .gp150-scenebox .gp165-hotbar .gp150-ability:disabled{opacity:.54;cursor:not-allowed}
#content .gp150-scenebox .gp165-hotbar .gp150-ability img{height:44px;width:44px;flex:0 0 auto;object-fit:contain;image-rendering:pixelated}
#content .gp150-scenebox .gp165-hotbar .gp150-ability small{display:none}
#content .gp150-scenebox .gp165-hotbar .gp150-ability em{position:absolute;right:2px;top:1px;font-size:11px;background:rgba(4,14,35,.88);color:#fce8a8;padding:0 3px;border-radius:2px;line-height:1.2}
#content .gp150-scenebox .gp165-hotbar .gp150-swap{background:linear-gradient(180deg,#8ec577,#5d8b4f 18%,#3e6b35 19%,#294827);border-color:#a8d29b}
#content .gp150-scenebox .gp165-hotbar .gp150-swap img{width:92%;height:42px;object-fit:contain}
@media(max-width:1020px){#content .gtmarket.gm-v111 .gm-hero-orbs{width:37%!important}#content .gtmarket.gm-v111 .gm-hero-copy{max-width:65%}}
@media(max-width:790px){#content .gtmarket.gm-v111 .gm-hero-orbs{display:none!important}#content .gtmarket.gm-v111 .gm-hero-copy{max-width:100%}#content .h162-next-bubbles .h162-float-bubble{flex-basis:calc((100% - 36px)/4)!important;width:calc((100% - 36px)/4)!important}}
@media(max-width:620px){#content .h162-next-bubbles .h162-float-bubble{flex-basis:calc((100% - 20px)/3)!important;width:calc((100% - 20px)/3)!important}#content .h165-history-head{font-size:10px}#content .gp150-scenebox .gp165-hotbar{width:50%;height:56px;bottom:4px}#content .gp150-scenebox .gp165-hotbar .gp150-ability img{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){#content .h162-next-bubbles .h162-float-bubble,#content .gtmarket.gm-v111 .gm-hero-orbs .gm-orb-float{animation:none!important}}

/* V1.66: arena approved in-game composition. This is real page UI, not an image overlay. */
#content .gp150-scenebox .gp165-hotbar{
 width:clamp(266px,39%,350px)!important;height:78px!important;bottom:8px!important;
 grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;
 border:3px solid #8ac9e5!important;padding:5px!important;
 border-radius:11px!important;background:linear-gradient(#6c97a8,#21465e 19%,#0c263a 85%)!important;
 box-shadow:0 2px 0 #06151f,inset 0 0 0 2px #0b2536,0 5px 16px rgba(3,19,40,.32)!important;
}
#content .gp150-scenebox .gp165-hotbar:before{content:"";position:absolute;top:-26px;left:calc(50% - 20px);width:40px;height:26px;border:3px solid #88c8e7;background:repeating-linear-gradient(180deg,#638b9c 0 3px,#b5dcea 3px 6px);border-radius:7px 7px 0 0;z-index:-1;box-shadow:inset 0 0 0 3px #20506a}
#content .gp150-scenebox .gp165-hotbar .gp150-ability{
 padding:3px!important;border:2px solid #45758b!important;border-radius:6px!important;
 background:linear-gradient(180deg,#173e56,#061e31)!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
#content .gp150-scenebox .gp165-hotbar .gp150-ability:hover:not(:disabled){border-color:#addff4!important;background:#286380!important}
#content .gp150-scenebox .gp165-hotbar .gp150-ability img{width:54px!important;height:54px!important;max-width:96%!important;object-fit:contain!important;image-rendering:pixelated!important}
#content .gp150-scenebox .gp165-hotbar .gp150-ability small{display:none!important}
#content .gp150-scenebox .gp165-hotbar .gp150-swap{border-color:#77dc86!important;background:linear-gradient(180deg,#246c45,#0d4229)!important;box-shadow:inset 0 0 0 2px #154732}
#content .gp150-scenebox .gp165-hotbar .gp150-swap img{height:52px!important;width:100%!important}
@media(max-width:620px){#content .gp150-scenebox .gp165-hotbar{width:45%!important;min-width:0!important;height:56px!important;bottom:4px!important;padding:3px!important;gap:2px!important;border-width:2px!important}#content .gp150-scenebox .gp165-hotbar:before{width:25px;height:15px;top:-16px;left:calc(50% - 12px);border-width:2px}#content .gp150-scenebox .gp165-hotbar .gp150-ability img{width:33px!important;height:33px!important}}
