/* Open interior layouts, following the approved split-stage homepage. */
body.kz-inner .category-heading,body.kz-inner .customer-heading{padding:25px 0 8px;margin-bottom:18px}
body.kz-inner .kz-help-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid #2a597948}
body.kz-inner .kz-help-toolbar .how-button{display:inline-flex;width:auto;min-height:38px;padding:9px 0;background:none!important;border:0!important;border-radius:0!important;color:#49baff!important;font-size:11px!important;box-shadow:none!important;gap:10px;margin:0}
.kz-help-discord{display:inline-flex;align-items:center;gap:10px;color:#73bcdf;text-decoration:none;font:650 italic 11px 'Segoe UI',sans-serif}.kz-help-discord svg{width:24px;height:22px;fill:#119fff;filter:drop-shadow(0 0 6px #008cff55)}.kz-help-discord b{font:400 18px 'Segoe UI',sans-serif;color:#11baff}.kz-help-discord:hover{color:#d7f3ff}
body.kz-inner .intro-and-developer{display:block!important;padding-top:20px!important}
body.kz-inner .intro-and-developer .archive-intro{padding-bottom:5px!important}
/* Directory pages: open logo-led destinations instead of framed boxes. */
body.kz-directory-page .tool-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;background:none}
body.kz-directory-page .tool-cards>a.tool-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:27px 10px 27px 0;min-height:280px;background:transparent!important;border:0!important;border-bottom:1px solid #2a597966!important;border-radius:0!important;box-shadow:none!important;overflow:hidden;transition:background .25s,transform .25s}
body.kz-directory-page .tool-cards>a.tool-card:hover{background:radial-gradient(ellipse at 50% 65%,#008cff14,transparent 70%)!important;transform:translateY(-3px)}
body.kz-directory-page .tool-card .uniform-logo-stage{height:115px;margin:7px 0 24px;justify-content:flex-start}
body.kz-directory-page .tool-card .uniform-logo-stage svg{max-width:240px;max-height:85px}
body.kz-directory-page .tool-card h2{margin:12px 0 15px!important;font-size:24px!important;line-height:1.2!important;letter-spacing:.4px!important}
body.kz-directory-page .tool-card h2:before{display:none}
body.kz-directory-page .tool-card p{font-size:12px;line-height:1.8;max-width:330px;margin:0 0 23px;color:#a0b8ce}
body.kz-directory-page .tool-card strong{position:relative;display:block;width:100%;padding-top:15px;margin-top:auto;font:750 italic 10px 'Segoe UI',sans-serif!important;color:#19b4ff!important;letter-spacing:.5px}
body.kz-directory-page .tool-card strong:after{content:none;position:absolute;right:6px;bottom:-3px;font:400 22px 'Segoe UI',sans-serif;color:#12baff}
body.kz-directory-page .tool-card .platform-wordmark{order:-1;min-height:110px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;margin:0 0 15px;gap:2px}
body.kz-directory-page .platform-wordmark .wordmark-main{font:750 italic 34px 'Segoe UI',sans-serif!important;letter-spacing:-.5px}
body.kz-directory-page .platform-wordmark .wordmark-secondary{font:750 italic 20px 'Segoe UI',sans-serif!important;color:#119fff!important}
body.kz-directory-page .platform-badges{gap:6px;margin-bottom:16px}
body.kz-directory-page .platform-badge{padding:0 8px 0 0;border:0;background:none;min-height:25px;font-size:9px}
body.kz-directory-page .game-card-logo{object-fit:contain;max-height:120px;filter:drop-shadow(0 12px 20px #0006)}
body.kz-directory-page .tool-card.game-editor-card{min-height:280px}
/* Pricing: one clear list per category with prices and actions aligned. */
body.kz-price-page .service-category-tabs{display:flex;padding:8px 0 20px;margin:0 0 15px;gap:25px;border-bottom:1px solid #2a59794d;background:none}
body.kz-price-page .service-category-tabs a{padding:8px 0;background:none!important;border:0!important;border-radius:0!important;font-size:11px;color:#8db9d6!important;text-decoration:none}
body.kz-price-page .service-category-tabs a:hover,body.kz-price-page .service-category-tabs a.active{color:#119fff!important;background:none!important}
body.kz-price-page .service-category{background:transparent!important;border:0!important;padding:15px 0 0;border-radius:0;margin:0 0 35px;box-shadow:none!important}
body.kz-price-page .service-category>h2{font-size:30px!important;letter-spacing:.3px!important;border:0;margin:12px 0 5px;padding:10px 0}
body.kz-price-page .service-category>h2:before{display:none}
body.kz-price-page .service-offers{display:block}
body.kz-price-page .offer-group-label{font:750 italic 10px 'Segoe UI',sans-serif;letter-spacing:1.5px;color:#5298c4;margin:29px 0 0;padding:0 0 10px;border-bottom:1px solid #23537370}
body.kz-price-page .service-offer{position:relative;padding:24px 220px 24px 0;min-height:128px;background:transparent!important;border:0!important;border-bottom:1px solid #2a59794d!important;border-radius:0;box-shadow:none!important}
body.kz-price-page .offer-heading{display:block}
body.kz-price-page .offer-heading h3{font-size:20px!important;line-height:1.4;max-width:760px;margin:0;color:#d9efff}
body.kz-price-page .service-price{position:absolute;right:0;top:23px;font:800 italic 25px 'Segoe UI',sans-serif!important;color:#149fff!important}
body.kz-price-page .service-offer ul{font:450 13px/1.9 'Segoe UI',sans-serif;color:#a4bfd5;margin:13px 0 0;padding-left:17px}
body.kz-price-page .offer-note{font-size:12px;line-height:1.8;max-width:700px;margin-top:12px;border-color:#145e92}
body.kz-price-page .offer-customer-actions{position:absolute;right:0;bottom:23px;display:flex;gap:8px;margin:0}
body.kz-price-page .offer-customer-actions button{font-size:10px;min-height:35px;padding:8px 12px;border-radius:6px!important}
body.kz-price-page .offer-customer-actions .customer-save{background:none!important;border:0!important;color:#6bb6df!important}
body.kz-price-page .offer-customer-actions .customer-add{background:#063b64!important;border-color:#147ab4!important;color:#61c9ff!important;box-shadow:none!important}
body.kz-price-page .service-offer:has(.customer-add.in-cart){background:linear-gradient(90deg,#008cff0d,transparent)!important}
/* Gallery: one uninterrupted intro, a compact control dock and larger imagery. */
body.kz-inner :is(.archive-intro,.category-heading) .section-kicker{display:none}
body.kz-inner .perm-search-row{background:#041221e8!important;padding:19px;border-color:#235373!important;box-shadow:0 12px 30px #0002}
body.kz-inner .perm-controls{grid-template-columns:1.6fr 1fr;gap:22px}
body.kz-inner #perm-open-finder,body.kz-inner #openImageFinder{min-height:44px;background:#061e34!important;border:1px solid #1d5a82!important;color:#49baff!important;box-shadow:none!important}
body.kz-inner .perm-import-panel{margin-top:18px;background:transparent!important;border:0!important;border-bottom:1px solid #214e6f!important;border-radius:0;padding:0 0 12px}
body.kz-inner .perm-grid{gap:17px}
body.kz-inner .perm-card{background:#041221d9!important;border:1px solid #244c694d;border-radius:11px;padding:10px;transition:border-color .2s,transform .2s}
body.kz-inner .perm-card:hover{border-color:#149fff;transform:translateY(-2px)}
body.kz-inner .perm-card img{border-radius:7px}
body.kz-inner .camo-grid{gap:20px}
body.kz-inner .camo-card{background:transparent!important;border:0;border-bottom:1px solid #23537380;border-radius:0;padding:0 0 15px}
body.kz-inner .camo-card img{border-radius:10px;border:1px solid #23537380}
body.kz-inner .camo-card:hover{transform:translateY(-3px);box-shadow:none}
/* Customer pages: lighter, open summaries and focused forms. */
body.kz-account-page .account-layout{gap:55px;align-items:start}
body.kz-account-page .account-benefits{background:none!important;border:0!important;padding:20px 15px 20px 0;box-shadow:none!important}
body.kz-account-page .account-orbit{display:none}
body.kz-account-page .account-benefits h2{font-size:32px!important;line-height:1.2!important;max-width:400px}
body.kz-account-page .account-benefits li{font-size:14px;line-height:1.9;color:#a4bfd5}
body.kz-account-page .account-form-panel{padding:30px;background:#041221ee!important;border:1px solid #235373!important;border-radius:14px}
body.kz-account-page .account-tabs{gap:24px;border-bottom:1px solid #235373;padding-bottom:12px}
body.kz-account-page .account-tabs button{padding:7px 0;background:none!important;border:0!important;border-radius:0!important;color:#89b3d2!important}
body.kz-account-page .account-tabs button.selected{color:#119fff!important;background:none!important}
body.kz-account-page .customer-item{background:transparent!important;border:0!important;border-bottom:1px solid #2a59794d!important;border-radius:0;padding:23px 0}
body.kz-account-page .customer-item-image{border-radius:9px}
body.kz-account-page .customer-save-status{background:none!important;border:0!important;border-bottom:1px solid #2a59794d!important;border-radius:0;padding:0 0 18px;color:#8eabc4}
body.kz-account-page .customer-filters{gap:20px;padding:0 0 8px}
body.kz-account-page .customer-filters button{padding:10px 0;background:none!important;border:0!important;color:#8db9d6!important}
body.kz-account-page .customer-filters button.selected{color:#119fff!important;background:none!important}
body.kz-account-page .account-summary-card{background:transparent!important;border:0!important;border-bottom:1px solid #2a597970!important;border-radius:0}
/* Editors: text tabs and a clear working area rather than stacked button boxes. */
body.kz-editor-page :is(.tabs,.top-tabs,.sub-tabs){border-bottom:1px solid #235373!important;padding-bottom:10px;gap:22px}
body.kz-editor-page :is(.tabs button,.top-tabs .tab,.sub-tabs .sub){background:none!important;border:0!important;border-radius:0!important;padding:9px 0;color:#8db9d6!important;box-shadow:none!important}
body.kz-editor-page :is(.tabs button[aria-selected=true],.top-tabs .tab.active,.sub-tabs .sub.active){color:#119fff!important;background:none!important;border:0!important}
body.kz-editor-page .items .item{background:transparent!important;border:0!important;border-bottom:1px solid #234e6f55!important;border-radius:0;padding:13px 16px;text-align:left}
body.kz-editor-page .items .item.active{background:#008cff12!important;color:#36bbff!important;box-shadow:inset 3px 0 #009dff!important}
body.kz-editor-page .panel-head{background:#071a2b;border-bottom:1px solid #244c69;padding:18px 22px}
@media(max-width:1000px){body.kz-directory-page .tool-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}body.kz-account-page .account-layout{gap:30px}}
@media(max-width:700px){body.kz-price-page .service-offer{padding:22px 0;min-height:0}body.kz-price-page .offer-heading{display:flex;align-items:flex-start;gap:20px}body.kz-price-page .offer-heading h3{font-size:17px!important;flex:1}body.kz-price-page .service-price{position:static;font-size:22px!important}body.kz-price-page .offer-customer-actions{position:static;justify-content:flex-end;margin-top:18px}body.kz-price-page .service-category>h2{font-size:26px!important}body.kz-price-page .service-category-tabs{gap:20px}body.kz-inner .kz-help-toolbar{gap:12px}.kz-help-discord{font-size:10px}body.kz-inner .perm-controls{grid-template-columns:1fr;gap:15px}body.kz-account-page .account-layout{grid-template-columns:1fr}body.kz-account-page .account-benefits{padding:10px 0}body.kz-account-page .account-form-panel{padding:25px}body.kz-editor-page :is(.tabs,.top-tabs,.sub-tabs){gap:17px}}
@media(max-width:480px){body.kz-directory-page .tool-cards{grid-template-columns:1fr;gap:0}body.kz-directory-page .tool-cards>a.tool-card{min-height:240px;padding:26px 5px 24px 0}body.kz-directory-page .tool-card .uniform-logo-stage{height:100px;margin-bottom:12px}body.kz-directory-page .tool-card h2{font-size:23px!important}.kz-help-discord span{display:none}body.kz-inner .kz-help-toolbar{padding-bottom:17px;margin-bottom:10px}body.kz-price-page .service-category-tabs a{font-size:10px}body.kz-price-page .offer-customer-actions button{flex:0 1 auto}}
body.kz-directory-page .tool-card.lettered-card{justify-content:flex-start}.kz-directory-art{order:-1;position:relative;width:100%;height:150px;margin:0 0 19px;display:flex;align-items:center;justify-content:flex-start}.kz-dir-avatar{width:105px;height:115px;object-fit:cover;border-radius:11px;box-shadow:0 15px 30px #0005;border:1px solid #46769b60}.kz-dir-back{transform:rotate(-9deg);margin-left:13px;opacity:.65}.kz-dir-front{transform:rotate(6deg);margin-left:-22px;margin-top:9px}.kz-dir-single{width:125px;height:125px;margin-left:15px;transform:rotate(-4deg)}.kz-dir-platform{width:82px;height:82px;object-fit:contain;margin-left:25px;filter:drop-shadow(0 0 18px #008cff35)}body.kz-directory-page .lettered-card h2{min-height:29px}body.kz-directory-page .lettered-card p{min-height:48px;max-width:315px;text-transform:none}
body.kz-price-page .service-catalogue{background:#020c19d9;padding:10px 26px 5px;border-radius:14px;border:0;box-shadow:none}body.kz-price-page .service-offer{min-height:108px;padding-top:21px;padding-bottom:21px}body.kz-price-page .service-price{top:19px}body.kz-price-page .offer-customer-actions{bottom:19px}body.kz-price-page .service-category-tabs{position:static;backdrop-filter:none!important;background:none!important;border-top:0}body.kz-price-page .service-category{margin-bottom:25px}body.kz-price-page .service-category>h2{margin-top:4px}@media(max-width:700px){body.kz-price-page .service-catalogue{padding:6px 18px}body.kz-price-page .service-offer{min-height:0;padding:20px 0}}
body.kz-directory-page .home-search{background:none!important;border:0!important;border-radius:0;padding:0;margin:15px 0 26px;box-shadow:none}body.kz-directory-page .home-search input{height:49px;background:#041221eb;border:1px solid #265474;font-size:13px}body.kz-inner .perm-note{background:none!important;border:0!important;border-radius:0;padding:0;margin:14px 0;font:450 12px/1.7 'Segoe UI',sans-serif;max-width:850px;color:#87a5bd}body.kz-inner .perm-results{margin-top:24px;padding:14px 0;border-top:1px solid #2a59794d}body.kz-inner .perm-results strong{font:750 italic 19px 'Segoe UI',sans-serif!important;text-transform:uppercase;color:#dff1ff}body.kz-inner .perm-results span{font:500 11px 'Segoe UI',sans-serif;color:#8cacc4}body.kz-inner .perm-grid{margin-top:10px}
/* Stable logo compositing and a single, aligned directory action. */
body.kz-directory-page .tool-card strong{display:flex;width:auto;align-items:center;gap:12px;font-size:11px!important;padding:12px 0 3px;transition:color .2s,gap .2s}
body.kz-directory-page .tool-card strong:after{position:static;content:none;font:400 19px/1 'Segoe UI',sans-serif;color:inherit}
body.kz-directory-page .tool-card:hover strong{color:#89deff!important;gap:18px}
/* Avoid hover-created compositing groups swallowing the BO4 screen blend. */
body.kz-directory-page .tool-cards>a.category-game-card[href="/BO4"],body.kz-directory-page .tool-cards>a.category-game-card[href="/BO4"]:hover{transform:none!important}
/* Centre game directory content as one consistent destination. */
body.kz-directory-page .tool-cards>a.category-game-card{align-items:center;text-align:center;padding-right:0}
body.kz-directory-page .category-game-card .uniform-logo-stage{justify-content:center}
body.kz-directory-page .category-game-card .platform-badges{justify-content:center}
body.kz-directory-page .category-game-card strong{justify-content:center}
/* Unified avatar browsing controls. */
body.kz-gallery-page .archive-intro p{font:650 italic 12px/1.8 'Segoe UI',sans-serif!important;text-transform:none!important;letter-spacing:.2px;color:#a6bfd4!important;max-width:780px}
body.kz-gallery-page .search-wrap{background:#041323!important;border:1px solid #146899!important;border-radius:10px!important;padding:0 18px!important;min-height:54px;box-shadow:none!important}
body.kz-gallery-page .search-wrap input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none;font:650 italic 13px 'Segoe UI',sans-serif!important;height:54px!important;padding:12px!important}
body.kz-gallery-page .search-wrap:focus-within{border-color:#13b5ff!important;box-shadow:0 0 16px #008cff20!important}
body.kz-gallery-page :is(.search-wrap,.image-search-button,.perm-open-finder) svg{color:#18b5ff!important;stroke:#18b5ff!important}
body.kz-gallery-page .search-wrap>span{display:none}
body.kz-gallery-page .perm-controls{background:none!important;border:0!important;padding:0!important;box-shadow:none!important;gap:18px!important}
body.kz-gallery-page :is(#perm-search,#perm-region){font:650 italic 13px 'Segoe UI',sans-serif!important;background:#041323!important;border:1px solid #146899!important;border-radius:9px!important;min-height:54px!important}
body.kz-gallery-page :is(input[type=search])::placeholder{color:#829eb7!important;font:600 italic 13px 'Segoe UI',sans-serif!important}
body.kz-gallery-page :is(.image-search-button,.perm-open-finder){width:auto!important;display:inline-flex!important;min-height:40px!important;padding:8px 0!important;border:0!important;background:none!important;box-shadow:none!important;justify-content:flex-start!important;font:750 italic 12px 'Segoe UI',sans-serif!important;color:#27baff!important}
body.kz-gallery-page :is(.modded-favourite-filter,.perm-favourite-filter){border:0!important;background:none!important;padding:10px 0!important;box-shadow:none!important;white-space:nowrap}
/* Guides: one reading surface with open numbered steps. */
body.kz-inner .how-dialog{width:min(760px,94vw)!important;padding:30px!important;background:linear-gradient(145deg,#071c31,#030d19 75%)!important;border:1px solid #17618e!important;border-top:2px solid #00aaff!important;border-radius:16px!important}
body.kz-inner .how-dialog h2{font:850 italic clamp(24px,3vw,32px)/1.2 'Segoe UI',sans-serif!important;letter-spacing:.2px!important;margin:12px 0 16px!important}
body.kz-inner .how-dialog .how-intro{font:550 italic 14px/1.8 'Segoe UI',sans-serif!important;color:#a6bfd4!important}
body.kz-inner .how-steps{gap:0!important}
body.kz-inner .how-steps li{padding:18px 0!important;background:none!important;border:0!important;border-bottom:1px solid #19507770!important;border-radius:0!important;font:550 italic 14px/1.8 'Segoe UI',sans-serif!important;gap:18px!important}
body.kz-inner .how-step-number{background:none!important;border:0!important;border-radius:0!important;color:#1db8ff!important;font:850 italic 22px 'Segoe UI',sans-serif!important}
body.kz-inner .how-close{background:none!important;border:0!important;box-shadow:none!important;color:#38bfff!important}
body.kz-inner .how-note{background:#008cff0a!important;border:0!important;border-left:2px solid #00aaff!important;border-radius:0!important;font:550 italic 12px/1.8 'Segoe UI',sans-serif!important}
body.kz-inner .how-dialog-footer>a{background:#008fff!important;color:#eaf8ff!important;border:0!important;border-radius:8px!important;padding:13px 20px!important;font:800 italic 12px 'Segoe UI',sans-serif!important}
@media(max-width:600px){body.kz-inner .how-dialog{padding:22px 18px!important}body.kz-gallery-page .search-row{gap:12px!important}}
body.kz-directory-page .tool-cards>a.kz-centred-option{align-items:center;text-align:center;justify-content:center;gap:14px;min-height:240px;padding:28px 10px}
body.kz-directory-page .kz-centred-option .game-card-logo{order:-1;width:110px;height:110px;margin:0 auto 10px}
body.kz-directory-page .kz-centred-option .platform-wordmark{align-items:center;min-height:90px;margin:0}
body.kz-directory-page .kz-centred-option h2{margin:4px 0!important}
body.kz-directory-page .kz-centred-option p{flex:none;margin:0!important}
body.kz-directory-page .kz-console-option p{font:800 italic 22px/1.5 'Segoe UI',sans-serif!important;color:#009fff!important;text-shadow:0 0 16px #008cff40}
html body.kz-gallery-page :is(.image-search-button,.perm-open-finder){width:max-content!important;flex:0 0 auto!important;min-height:38px!important;padding:9px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#1fb8ff!important;justify-content:flex-start!important}
html body.kz-gallery-page .search-wrap kbd{display:none!important}
html body.kz-gallery-page .search-row{align-items:center;column-gap:18px;row-gap:8px}
html body.kz-inner .how-dialog .how-steps li{background:transparent!important;border:0!important;border-bottom:1px solid #19507770!important;border-radius:0!important;box-shadow:none!important;padding:18px 0!important}
html body.kz-inner .how-dialog .how-close{background:transparent!important;border:0!important;box-shadow:none!important}
html body.kz-inner .how-dialog .how-step-number{border:0!important;background:none!important;box-shadow:none!important}
html body.kz-gallery-page #openImageFinder,html body.kz-gallery-page #perm-open-finder{background:transparent!important;border:0!important;box-shadow:none!important;width:max-content!important;min-height:38px!important;padding:9px 0!important;flex:0 0 auto!important}
/* Unified PSN destinations: centred artwork, names and blue descriptions. */
html body.kz-directory-page .tool-cards>a.kz-psn-destination{align-items:center;text-align:center;justify-content:flex-start;gap:0;padding:28px 12px;min-height:310px}
html body.kz-directory-page .kz-psn-destination .kz-directory-art{align-self:center;justify-content:center;margin-left:auto!important;margin-right:auto!important}
html body.kz-directory-page .kz-psn-destination h2{text-align:center;margin:18px 0 14px!important}
html body.kz-directory-page .kz-psn-destination p{flex:none;text-align:center;margin:0 auto!important;max-width:340px;font:800 italic 20px/1.5 'Segoe UI',sans-serif!important;color:#009fff!important;text-shadow:0 0 16px #008cff30}
/* BO4's taller lockup needs more height to match adjacent wordmarks. */
html body.kz-directory-page .category-game-card[href="/BO4"] .uniform-logo-stage svg{max-width:270px;max-height:115px;width:100%;height:115px}
html body.kz-directory-page .camo-menu-card p{font:800 italic 18px/1.5 'Segoe UI',sans-serif!important;text-transform:uppercase!important;color:#009fff!important;text-shadow:0 0 16px #008cff30;text-align:center}
/* Unboxed service actions and uninterrupted price labels. */
html body.kz-price-page .service-offer .offer-heading{border:0!important;background:none!important;box-shadow:none!important;padding-bottom:0!important}
html body.kz-price-page .service-offer .offer-customer-actions{border:0!important;padding-top:0!important;box-shadow:none!important;align-items:center}
html body.kz-price-page .service-offer .customer-save{font-size:0!important;min-width:40px;min-height:40px;padding:6px!important;color:#009fff!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.kz-price-page .service-offer .customer-save:before{content:'♡';font:400 30px/1 'Segoe UI Symbol','Segoe UI',sans-serif;color:#009fff}
html body.kz-price-page .service-offer .customer-save[aria-pressed=true]:before{content:'♥'}
html body.kz-price-page .service-offer .customer-add{background:transparent!important;border:0!important;box-shadow:none!important;color:#009fff!important;font:800 italic 12px 'Segoe UI',sans-serif!important;padding:8px 0 8px 12px!important}
html body.kz-price-page .service-offer :is(.customer-add,.customer-save):hover{filter:drop-shadow(0 0 7px #009fff);color:#65d4ff!important}
html body.kz-gallery-page .perm-controls{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
/* Compact, consistent avatar toolbars on both collections. */
html body.kz-gallery-page .perm-search-row{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr) auto!important;gap:18px!important;align-items:end!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 12px!important;box-shadow:none!important}
html body.kz-gallery-page .perm-search-row .perm-controls{display:contents!important}
html body.kz-gallery-page .perm-controls>label{display:flex!important;flex-direction:column;gap:10px;font:800 italic 11px 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-gallery-page .perm-search-row .perm-favourite-filter{margin:0!important;min-height:54px!important;align-self:end}
html body.kz-gallery-page .perm-filter-row{margin:4px 0 14px!important;padding:0!important;min-height:0!important;justify-content:flex-start!important}
html body.kz-gallery-page #perm-reset{padding:6px 0!important;border:0!important;background:none!important;font:750 italic 11px 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-gallery-page .perm-import-panel{margin:10px 0 14px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body.kz-gallery-page .perm-note{margin:8px 0!important;padding:0!important;font:600 italic 12px/1.6 'Segoe UI',sans-serif!important;color:#8eaec7!important}
html body.kz-gallery-page .perm-region-status{margin:8px 0 12px!important;border:0!important}
html body.kz-gallery-page .search-section{padding:0!important;margin:0 0 16px!important;background:none!important;border:0!important}
html body.kz-gallery-page .search-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 20px!important}
html body.kz-gallery-page #openImageFinder{grid-column:1/-1;justify-self:start}
html body.kz-gallery-page .kz-help-toolbar{margin-bottom:22px!important}
@media(max-width:700px){html body.kz-gallery-page .perm-search-row{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}html body.kz-gallery-page .perm-search-row .perm-favourite-filter{min-height:35px!important}html body.kz-gallery-page .search-row{grid-template-columns:minmax(0,1fr)!important}html body.kz-gallery-page #openImageFinder{grid-column:auto}}
/* Help and policies follow the same KiiLz typography and open navigation. */
html body .support-page{max-width:1000px;padding:32px 0 55px}
html body .support-page .support-kicker{display:none}
html body .support-page h1{font:900 italic clamp(30px,4vw,50px)/1.15 'Segoe UI',sans-serif!important;text-transform:uppercase!important;letter-spacing:.3px;margin:20px 0 22px!important}
html body .support-page .support-intro{font:650 italic 14px/1.8 'Segoe UI',sans-serif!important;color:#159fff!important}
html body .support-page .support-date{font:550 italic 11px 'Segoe UI',sans-serif!important;color:#7b9cb8}
html body .support-page .faq-jumps{gap:25px;padding:12px 0;border-bottom:1px solid #19507780}
html body .support-page .faq-jumps a{background:none!important;border:0!important;box-shadow:none!important;padding:8px 0!important;color:#009fff!important;font:800 italic 12px 'Segoe UI',sans-serif!important;text-transform:uppercase}
html body .support-page :is(.faq-group,.policy-block){padding:24px 26px!important;background:#031326dd!important;border:0!important;border-radius:12px!important;margin-top:22px;box-shadow:none!important}
html body .support-page h2{font:850 italic 23px/1.4 'Segoe UI',sans-serif!important;text-transform:uppercase!important;color:#d9f0ff!important}
html body .support-page .faq-question{background:transparent!important;border:0!important;border-bottom:1px solid #19507770!important}
html body .support-page .faq-question summary{font:750 italic 15px/1.7 'Segoe UI',sans-serif!important;color:#009fff!important;padding:18px 0!important}
html body .support-page :is(.faq-answer p,.policy-block p,.policy-block li){font:550 italic 14px/1.85 'Segoe UI',sans-serif!important;color:#a6bfd4!important}
html body .support-page .support-contact{border:0!important;border-left:2px solid #009fff!important;background:#008cff08!important;font:650 italic 13px/1.8 'Segoe UI',sans-serif!important}
@media(max-width:600px){html body .support-page :is(.faq-group,.policy-block){padding:18px!important}html body .support-page .faq-jumps{gap:18px}}
/* Restore the approved storm on the gallery template. */
html body.avatar-page:before{content:''!important;display:block!important;visibility:visible!important;opacity:1!important;mask-image:none!important}
html body.kz-gallery-page .kz-gallery-utilities{display:flex;align-items:center;gap:24px;margin:8px 0 14px;padding:0 0 12px;border-bottom:1px solid #18587b66}
html body.kz-gallery-page .kz-gallery-utilities #perm-reset{margin-left:auto!important}
html body.kz-gallery-page #perm-region-status{display:none!important}
html body.kz-gallery-page .perm-import-panel{margin-top:30px!important;font-size:11px;opacity:.7}
html body.kz-gallery-page .perm-results{margin-top:10px!important;padding-top:8px!important}
/* Gallery empty and count states use the KiiLz palette too. */
html body.kz-gallery-page :is(#empty,.empty,.perm-empty){background:#031426!important;border:1px solid #124f78!important;border-radius:12px!important;color:#a6bfd4!important;box-shadow:none!important}
html body.kz-gallery-page :is(#empty,.empty,.perm-empty) :is(h2,h3,strong){color:#dcefff!important;font-family:'Segoe UI',sans-serif!important;font-style:italic;font-weight:850}
html body.kz-gallery-page :is(#empty,.empty,.perm-empty) p{color:#8eb6d3!important;font:600 italic 13px/1.7 'Segoe UI',sans-serif!important}
html body.kz-gallery-page :is(#resultCount,.live-avatar-count,.archive-stats){color:#38baff!important;font:700 italic 11px 'Segoe UI',sans-serif!important}
html body.kz-gallery-page .live-avatar-count:before{background:#009fff!important;box-shadow:0 0 8px #009fff88!important}
/* Matching avatar preview layouts with image-first hierarchy. */
html body :is(#avatarActions,#perm-dialog){width:min(580px,94vw)!important;max-height:92dvh!important;padding:26px!important;border:1px solid #126496!important;border-top:2px solid #009fff!important;border-radius:18px!important;background:linear-gradient(150deg,#071d32,#020d19 70%)!important;box-shadow:0 25px 100px #000a!important}
html body :is(#avatarActions,#perm-dialog)::backdrop{background:#000b!important;backdrop-filter:blur(8px)}
html body #avatarActions .avatar-actions-header{border:0!important;padding:0!important;align-items:flex-start}
html body #avatarActions .section-kicker{font:800 italic 11px 'Segoe UI',sans-serif!important;color:#009fff!important;letter-spacing:1px}
html body #selectedAvatarCode{font:600 11px/1.6 Consolas,monospace!important;color:#8aabc5!important;overflow-wrap:anywhere;max-width:430px;margin:8px 0!important}
html body #perm-title{font:850 italic 23px/1.3 'Segoe UI',sans-serif!important;text-align:center;padding:5px 30px 0;margin:0 0 20px!important}
html body :is(#selectedAvatarImage,#perm-image){display:block;width:min(280px,70vw)!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;background:#020b15!important;border:1px solid #174466!important;border-radius:16px!important;margin:22px auto!important;box-shadow:0 12px 32px #0005}
html body :is(#closeAvatarActions,#perm-close){background:transparent!important;border:0!important;box-shadow:none!important;color:#19b5ff!important;width:36px!important;height:36px!important;min-width:36px!important;font:26px 'Segoe UI',sans-serif!important}
html body :is(#avatarActions,#perm-dialog) .preview-navigation{margin:12px auto 20px!important;justify-content:center;gap:20px}
html body :is(#avatarActions,#perm-dialog) .preview-navigation button{background:transparent!important;border:0!important;color:#009fff!important;box-shadow:none!important;font-size:22px!important}
html body :is(#avatarActions,#perm-dialog) :is(.avatar-share-row,.avatar-action-buttons,.perm-actions){display:flex!important;justify-content:center!important;flex-wrap:wrap;gap:12px 24px;margin:10px 0!important}
html body :is(#copyAvatarLink,#favouriteSelectedAvatar,#copySelectedCode,#downloadSelectedEdat,#perm-copy){background:transparent!important;border:0!important;box-shadow:none!important;color:#009fff!important;min-height:38px!important;padding:8px 0!important;font:800 italic 12px 'Segoe UI',sans-serif!important}
html body :is(#downloadSelectedEdat)[aria-disabled=true]{opacity:.35}
html body :is(#edatAvailability,#perm-status){text-align:center;font:550 italic 11px/1.5 'Segoe UI',sans-serif!important;color:#7399b8!important;margin:10px 0!important}
html body #perm-reference{font:550 11px/1.7 Consolas,monospace!important;overflow-wrap:anywhere;text-align:center;color:#8aabc5!important}
html body :is(#avatarActions,#perm-dialog) .avatar-cart-action{display:block!important;width:100%!important;border:0!important;border-top:1px solid #195077!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:#009fff!important;padding:18px 8px 4px!important;margin:16px 0 0!important;font:850 italic 13px 'Segoe UI',sans-serif!important}
@media(max-width:600px){html body :is(#avatarActions,#perm-dialog){padding:20px 16px!important}html body :is(#selectedAvatarImage,#perm-image){width:min(240px,65vw)!important;margin:16px auto!important}}
html body #avatarActions :is(#copyAvatarLink,#favouriteSelectedAvatar,#copySelectedCode,#downloadSelectedEdat,#closeAvatarActions),html body #perm-dialog #perm-close{background:transparent!important;border:0!important;box-shadow:none!important;outline-offset:3px}
html body #avatarActions .avatar-share-row,html body #avatarActions .avatar-action-buttons{width:100%!important;grid-template-columns:none!important;display:flex!important;justify-content:center!important;gap:12px 25px!important}
html body :is(#avatarActions,#perm-dialog) .kz-preview-heart{display:block!important;margin:18px auto 4px!important;background:transparent!important;border:0!important;padding:6px!important;box-shadow:none!important;min-width:48px;min-height:44px;font-size:0!important;color:#009fff!important;cursor:pointer}
html body :is(#avatarActions,#perm-dialog) .kz-preview-heart:before{content:'♡';font:400 34px/1 'Segoe UI Symbol','Segoe UI',sans-serif;color:#009fff}
html body :is(#avatarActions,#perm-dialog) .kz-preview-heart[aria-pressed=true]:before{content:'♥'}
html body :is(#avatarActions,#perm-dialog) .kz-preview-heart:hover{filter:drop-shadow(0 0 8px #009fff)}
html body #avatarActions .avatar-share-row,html body #avatarActions .avatar-action-buttons{margin:2px 0!important}
html body :is(#avatarActions,#perm-dialog) .avatar-cart-action{margin-top:4px!important;padding-top:15px!important}
html body :is(#avatarActions,#perm-dialog) :is(#perm-status,.avatar-metadata):empty{display:none!important;min-height:0!important;margin:0!important}
html body :is(#selectedAvatarImage,#perm-image){width:min(250px,65vw)!important;margin:16px auto!important}
html body :is(#avatarActions,#perm-dialog) .kz-preview-heart{margin:10px auto 3px!important}
/* Account and cart: consistent customer workspace. */
html body.kz-account-page .customer-heading{padding-bottom:20px!important;margin-bottom:22px!important}
html body.kz-account-page .customer-heading .customer-kicker{display:none}
html body.kz-account-page .customer-heading h1{font:900 italic clamp(32px,4vw,52px)/1.15 'Segoe UI',sans-serif!important;margin:12px 0 18px!important}
html body.kz-account-page .customer-heading>p{font:650 italic 13px/1.8 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-account-page .customer-save-status{padding:10px 0!important;margin:0 0 20px!important;font:600 italic 12px/1.6 'Segoe UI',sans-serif!important;border:0!important;background:none!important;color:#8cacc6!important}
html body.kz-account-page .account-dashboard{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:24px;align-items:stretch}
html body.kz-account-page .account-profile{padding:28px!important;border:1px solid #15486b!important;border-radius:14px!important;background:#031426e8!important}
html body.kz-account-page .profile-initial{background:#009fff12;border:1px solid #17628e;color:#009fff;font:850 italic 28px 'Segoe UI',sans-serif}
html body.kz-account-page .account-profile h2:before{display:none}
html body.kz-account-page .account-profile p{font:600 italic 13px/1.7 'Segoe UI',sans-serif;color:#8fb1ca}
html body.kz-account-page .account-synced{font:650 italic 11px 'Segoe UI',sans-serif;color:#009fff}
html body.kz-account-page .account-profile button{background:none!important;border:0!important;border-top:1px solid #164263!important;border-radius:0!important;text-align:left;color:#009fff!important;padding:14px 0!important;box-shadow:none!important;min-height:40px!important}
html body.kz-account-page .account-summary-card{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:26px 18px!important;border:0!important;border-bottom:1px solid #164263!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:300px}
html body.kz-account-page .account-summary-card>span{color:#009fff;font:400 38px 'Segoe UI Symbol',sans-serif}
html body.kz-account-page .account-summary-card>strong{font:900 italic 48px 'Segoe UI',sans-serif!important;color:#009fff!important;margin:16px 0!important}
html body.kz-account-page .account-summary-card h3{font:850 italic 20px 'Segoe UI',sans-serif;text-transform:uppercase;margin:12px 0}
html body.kz-account-page .account-summary-card p{font:600 italic 12px/1.8 'Segoe UI',sans-serif;color:#8fb1ca;flex:none}
html body.kz-account-page .account-summary-card>b{display:none}
html body.kz-account-page .customer-cart-layout{gap:28px!important;align-items:start}
html body.kz-account-page .cart-bundle{padding:22px 24px!important;background:#031426e8!important;border:0!important;border-left:2px solid #009fff!important;border-radius:0 10px 10px 0!important;margin:0 0 18px!important}
html body.kz-account-page .cart-bundle h2{font:850 italic 20px 'Segoe UI',sans-serif!important;text-transform:uppercase}
html body.kz-account-page .cart-bundle h2:before,html body.kz-account-page .customer-item h3:before{display:none}
html body.kz-account-page .cart-bundle-heading>strong{font:850 italic 26px 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-account-page .cart-bundle :is(p,a){font:650 italic 12px/1.8 'Segoe UI',sans-serif!important}
html body.kz-account-page .cart-bundle a{color:#009fff!important;text-decoration:none}
html body.kz-account-page .order-panel{background:#031426f2!important;border:1px solid #15486b!important;border-radius:14px!important;padding:26px!important;box-shadow:none!important}
html body.kz-account-page .order-panel :is(p,label,.cart-price-row,.order-total){font:650 italic 13px/1.8 'Segoe UI',sans-serif!important;color:#9bbdd5}
html body.kz-account-page #cart-total{font:900 italic 38px 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-account-page :is(.customer-item-price,.cart-price-row strong){font:800 italic 16px 'Segoe UI',sans-serif!important;color:#009fff!important}
html body.kz-account-page .customer-item{padding:24px 0!important;gap:18px!important}
html body.kz-account-page .customer-item h3{font:850 italic 18px/1.4 'Segoe UI',sans-serif!important}
html body.kz-account-page .customer-item-actions :is(a,button),html body.kz-account-page .order-panel :is(.customer-primary,.customer-discord){background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#009fff!important;padding:10px 0!important;min-height:40px!important;font:800 italic 12px 'Segoe UI',sans-serif!important}
html body.kz-account-page .customer-item-actions{gap:22px}
html body.kz-account-page textarea{font:600 italic 13px/1.7 'Segoe UI',sans-serif!important}
@media(max-width:800px){html body.kz-account-page .account-dashboard{grid-template-columns:1fr 1fr}html body.kz-account-page .account-profile{grid-column:1/-1}html body.kz-account-page .account-summary-card{min-height:230px}}@media(max-width:480px){html body.kz-account-page .account-dashboard{grid-template-columns:1fr}html body.kz-account-page .account-summary-card{min-height:200px}}
html body.kz-account-page .account-summary-card>span svg{width:34px;height:34px;stroke:#009fff;filter:drop-shadow(0 0 7px #009fff55)}

/* The BO4 logo removes its black matte in SVG. */
html body.kz-directory-page .category-game-card[href="/BO4"] .uniform-logo-stage{mix-blend-mode:normal}

/* Let the artwork carry the gallery and preview without panel borders. */
html body.kz-gallery-page :is(.perm-card,.avatar-card-shell,.avatar-card,.image-shell,.perm-preview) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.kz-gallery-page :is(.perm-card,.avatar-card) {
  padding: 0 !important;
}
html body.kz-gallery-page :is(.perm-card h2,.avatar-card .avatar-code) {
  display: block;
  min-height: 0;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: center;
}
html body.kz-gallery-page :is(#avatarActions,#perm-dialog) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.kz-gallery-page :is(#closeAvatarActions,#perm-close) {
  position: absolute;
  top: 4px;
  right: 4px;
}
html body.kz-gallery-page :is(#selectedAvatarImage,#perm-image) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
  margin: 12px auto !important;
}
html body.kz-gallery-page :is(#selectedAvatarCode,#perm-title) {
  margin: 0 auto !important;
  padding: 0;
  text-align: center;
}

/* Keep preview gestures inside the modal. Vertical scrolling starts outside the artwork. */
html:has(body.kz-gallery-page :is(#avatarActions,#perm-dialog)[open]),
body.kz-gallery-page:has(:is(#avatarActions,#perm-dialog)[open]) {
  overflow: hidden;
  overscroll-behavior: none;
}
body.kz-gallery-page :is(#avatarActions,#perm-dialog) {
  overscroll-behavior: contain;
}
body.kz-gallery-page :is(#selectedAvatarImage,#perm-image) {
  touch-action: pinch-zoom !important;
}

.kz-directory-art[data-avatar-cycle] .kz-dir-avatar {
  box-sizing: border-box;
  width: min(112px, 43%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.kz-directory-art[data-avatar-cycle] .kz-dir-back {
  margin-left: 0;
  opacity: .88;
}
.kz-directory-art[data-avatar-cycle] .kz-dir-front {
  margin-left: -8px;
}
