/* Shared spacing beneath the global banner. */
:root{--page-gap:24px;--page-title-size:clamp(2.4rem,5vw,4rem)}
/* One footer shell, independent of each page's content width. */
body footer.ozz-site-footer[data-ozz-global-footer]{position:static;float:none;clear:both;box-sizing:border-box;width:calc(100% - 48px);max-width:1152px;margin:20px auto 40px;padding:74px 24px 28px;border-top:1px solid rgba(255,255,255,.08);text-align:left;opacity:1;font-family:"Patrick Hand",cursive;font-size:14px;font-size-adjust:.514;line-height:1.45}
body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;color:inherit;font-size:inherit}
body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-copyright{color:rgba(255,255,255,.58);font-size:inherit;font-weight:400}
body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end;margin-left:auto}
body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-links a{color:rgba(255,255,255,.78);font-family:inherit;font-size:inherit;font-weight:600;text-decoration:none}
body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-links a:hover{color:#fff}
@media(max-width:600px){body footer.ozz-site-footer[data-ozz-global-footer]{width:calc(100% - 32px);padding:36px 8px 28px}body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-row{flex-direction:column;align-items:flex-start}body footer.ozz-site-footer[data-ozz-global-footer] .ozz-site-footer-links{justify-content:flex-start;margin-left:0}}
html{scrollbar-gutter:stable}
.site-header .nav nav a.active{background-image:none!important;background-size:0!important}
.site-header .nav-menu>a.active>img,.site-header .nav-menu>a.active>.nav-me-img{filter:drop-shadow(0 0 9px rgba(123,184,255,.65))}
body.gallery-font .gallery-page{padding:var(--page-gap) 0 46px;overflow:visible}
body.gallery-font .gallery-wrap,body.gallery-font .gallery-list-section{background:none!important;border:0!important;box-shadow:none!important;padding:0;margin:0}
body.gallery-font .gallery-list-section::before,body.gallery-font .gallery-list-section::after{display:none}
body.gallery-font .gallery-page-heading{padding-top:0;padding-bottom:0}
body.gallery-font .gallery-page-title,body .ozz-page-title{font-size:var(--page-title-size)!important;line-height:1.12!important;font-weight:700;margin:0!important;text-shadow:none;max-width:none}
body.gallery-font .gallery-heading-actions{margin:var(--page-gap) 0}
body.market-font main.market-page{max-width:1200px;padding-inline:24px;padding-top:var(--page-gap)!important;margin-top:0}
body.market-font .market-page>.ozz-page-title{margin-bottom:var(--page-gap)!important}
body.market-font .market-page>.tabs{margin-top:0;padding:0}
body.clans-body{background:#090a1c!important}
body.clans-body::before{display:none!important;background:none!important}
body.clans-body main.clans-page{padding-top:var(--page-gap)!important;margin-top:0}
body.clans-body .clan-directory-intro,body.clans-body .clan-profile-stage{left:auto;width:100%;margin:0;padding:0 0 32px;background:transparent;border:0;box-shadow:none}
body.clans-body .clan-directory-inner{max-width:none}
body.clans-body .clan-directory-intro .clan-hero{padding:0 0 var(--page-gap);min-height:0;align-items:start;gap:var(--page-gap)}
body.clans-body .clan-hero h1{margin:0 0 var(--page-gap)!important}
body.clans-body .clan-hero p{margin:0}
body.profile-font .profile-wrap{padding-top:var(--page-gap)!important;margin-top:0}
body.profile-font .profile-user-search-row{margin:0 0 var(--page-gap)}
body.profile-font .profile-grid{margin-top:0}
body.profile-font .p-gallery-card:nth-child(n){width:100%;margin:0;transform:none}
body.profile-font .p-gallery-grid{gap:18px;align-items:start}
body.profile-font .p-gallery-grid+.p-listings-head{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
.p-collection-items{overflow:hidden}
.p-collection.is-collapsed .p-collection-items{max-height:var(--collection-height,360px);mask-image:linear-gradient(#000 calc(100% - 40px),transparent)}
.p-collection.is-collapsed :is(.p-listing-grid,.p-grid-titles)>:nth-child(n+5){filter:blur(4px);pointer-events:none;user-select:none}
.p-collection-toggle{display:block;margin:12px auto 0;padding:6px 14px;background:transparent;border:0;color:#a9d6ff;font:inherit;cursor:pointer}
.p-collection-toggle:hover{text-decoration:underline}
/* Explicit, alternating full-width homepage sections. */
body.home-font-preview .home2-page .home-feature-grid{display:flex;flex-direction:column}
body.home-font-preview .home2-page .home-feature-card[data-home-section]{order:0;height:auto!important;min-height:560px!important;padding:48px 0!important;grid-column:auto;border:0!important}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:42px;padding:0 24px!important;height:auto!important;min-height:460px!important}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-content{grid-column:1;grid-row:1;width:100%;max-width:none;margin:0;position:relative;z-index:2}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-head{height:auto;max-width:none;margin:0;justify-content:flex-start;gap:14px}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-heading{text-align:left}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-title{font-size:clamp(1.8rem,3vw,2.5rem)}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-media{display:block;position:relative;inset:auto;width:100%;height:460px!important;min-height:360px!important;grid-column:2;grid-row:1;transform:none}
body.home-font-preview .home2-page .home-feature-card[data-home-section]:nth-child(even) .home-feature-content{grid-column:2}
body.home-font-preview .home2-page .home-feature-card[data-home-section]:nth-child(even) .home-feature-media{grid-column:1}
body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-body{max-width:none}
body.home-font-preview .home2-page .home-support-footer .home-feature-actions{justify-content:flex-start}
@media(max-width:920px){
 body.home-font-preview .home2-hero-inner{padding-bottom:285px}
 body.home-font-preview .home2-podium-artwork{bottom:-25px}
}
@media(max-width:700px){
 body.home-font-preview .home2-page .home-feature-card[data-home-section]{min-height:0!important;padding:38px 0!important}
 body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-shell{grid-template-columns:minmax(0,1fr)!important;min-height:0!important;padding:0 18px!important}
 body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-content{grid-column:1!important}
 body.home-font-preview .home2-page .home-feature-card[data-home-section] .home-feature-media{display:none!important}
}
/* The shine is masked to the gem silhouette, rather than its square bounds. */
.gem-shine{position:relative;display:inline-grid;place-items:center;width:63px;height:63px;flex-shrink:0}
.gem-shine img.gem-icon{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform:none}
.gem-shine::after{content:"";position:absolute;inset:0;pointer-events:none;mask:url('/assets/casual-icons/ItemIcon_Gem_Circle.Png') center/contain no-repeat;-webkit-mask:url('/assets/casual-icons/ItemIcon_Gem_Circle.Png') center/contain no-repeat;background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.9) 49%,transparent 56%) 160% 0/300% 100% no-repeat;animation:gem-shine 6s linear infinite}
@keyframes gem-shine{0%,75%{background-position:160% 0}100%{background-position:-60% 0}}
.balance-buy-gems{display:inline-flex;align-items:center;justify-content:center;width:28px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#62b5ff;font:700 28px/1 system-ui;cursor:pointer;pointer-events:auto;flex-shrink:0}
.balance-buy-gems:hover{color:#a8d8ff;text-shadow:0 0 10px #62b5ff80}
.balance-buy-gems:focus-visible{outline:2px solid #62b5ff;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.gem-shine::after{animation:none;background:none}}

/* One title treatment for the public directory pages. */
body .ozz-page-title{font-family:"Patrick Hand",cursive!important;font-size:var(--page-title-size)!important;font-size-adjust:.514;line-height:1.12!important;font-weight:700!important;letter-spacing:normal!important;text-align:left!important;color:#fff;margin:0!important;padding:0!important;text-shadow:none!important}
body.clans-body main.clans-page,body.leaderboard-page main.leaderboard-wrap{max-width:1200px;padding:var(--page-gap) 24px 48px!important;margin:0 auto}
body.clans-body .clan-directory-intro .clan-hero{flex-direction:column;gap:var(--page-gap);padding:0 0 var(--page-gap)}
body.clans-body .clan-hero h1.ozz-page-title{margin:0!important}
body.leaderboard-page .leaderboard-hero{padding:0!important;margin:0 0 var(--page-gap);text-align:left}
body.leaderboard-page .leaderboard-podium-grid{gap:0 32px}
body.leaderboard-page .leaderboard-podium-card{position:relative;padding:28px 0 32px;overflow:visible;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;transform:none!important}
body.leaderboard-page .leaderboard-podium-card::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(125,145,190,.2),transparent);pointer-events:none}
body.leaderboard-page .leaderboard-podium-scene{max-width:760px}
.p-collection :is(.p-listing-grid,.p-grid-titles)>:nth-child(n+5){transition:filter 1s ease}
.market-scroll-top{position:absolute;right:calc(100% + 12px);top:0;min-height:54px;padding:10px 16px;border:1px solid rgba(139,185,245,.3);border-radius:12px;background:rgba(20,29,49,.94);box-shadow:0 8px 24px #0004;backdrop-filter:blur(10px);color:#edf5ff;font:inherit;font-size:17px;white-space:nowrap;cursor:pointer;pointer-events:auto;will-change:transform,opacity}
.market-scroll-top[hidden]{display:none}
.market-scroll-top:hover{background:rgba(35,49,77,.98)}
.market-scroll-top:focus-visible{outline:2px solid #8dcaff;outline-offset:3px}
.market-scroll-top.is-stacked{top:auto;bottom:calc(100% + 10px);right:0}
@media(prefers-reduced-motion:reduce){.p-collection :is(.p-listing-grid,.p-grid-titles)>:nth-child(n+5){transition:none}}

/* Keep the clan directory action on the title row at every viewport. */
body.clans-body .clan-directory-intro .clan-hero{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
body.clans-body .clan-directory-intro .clan-hero-actions{margin-left:auto;flex-shrink:0;text-align:right}
