.store{padding:4px 0 16px;font-size:var(--kz-fs-xs);--store-line:#9d896249}.store button{font:inherit;color:inherit;cursor:pointer;box-shadow:none}.store-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.store-heading h1{margin:0;font-size:var(--kz-fs-lg)}.store-heading>div{display:flex;align-items:center;gap:8px;padding:5px 9px;border:2px solid var(--wood);border-radius:var(--kz-r-md);background:var(--surface)}.store-heading button{border:0;background:#e0b15d;border-radius:var(--kz-r-sm);width:24px;height:24px;padding:0}.store-price{display:inline-flex;align-items:center;gap:5px;font-weight:800;white-space:nowrap}.store-price img{width:21px;height:21px;object-fit:contain}.store-tabs{display:flex;overflow-x:auto;gap:4px;margin-bottom:14px;padding-bottom:5px;scrollbar-width:thin}.store-tabs button{position:relative;white-space:nowrap;padding:9px 12px;border:1px solid var(--store-line);border-radius:var(--kz-r-md);background:var(--surface);font-weight:700;flex:none;min-height:36px}.store-tabs button[aria-pressed=true]{background:#38604b;color:#fff8de;border-color:#264434}.store-tabs i{position:absolute;right:4px;top:3px;border-radius:50%;background:#d58446;width:6px;height:6px}.store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-card{min-width:0;border:1px solid var(--store-line);border-radius:var(--kz-r-md);background:var(--surface);overflow:hidden;display:flex;flex-direction:column}.store-card-art{height:108px;background:#263d32;position:relative;display:flex;align-items:center;justify-content:center;padding:10px;overflow:hidden}.store-card-art>img{width:100%;height:100%;object-fit:contain}.store-card-copy{padding:10px;display:flex;flex-direction:column;gap:6px;flex:1}.store-card-copy>small{font-size:var(--kz-fs-xs);opacity:.75}.store-card-copy>strong{font-size:var(--kz-fs-sm);line-height:1.3}.store-card-copy>span:not(.store-price){font-size:var(--kz-fs-xs);line-height:1.35;min-height:29px}.store-card-copy .element-symbol{width:17px;height:17px;vertical-align:middle}.store-card-footer{margin-top:auto;display:flex;gap:5px;align-items:center;flex-wrap:wrap}.store-card-footer button{margin-left:auto;background:#38604b;color:#fff8de;border:0;border-radius:var(--kz-r-sm);padding:6px 9px;min-height:30px}.store-card del,.store-detail del{font-size:var(--kz-fs-xs);opacity:.65}.store-heart{position:absolute;right:6px;bottom:6px;background:#f0e6d3;border:0;padding:5px;border-radius:50%;display:grid;place-items:center;width:28px;height:28px;color:#84755b!important}.store-heart svg{width:15px;height:15px}.store-heart.active{color:#b95a51!important}.store-discount{background:#e4b25c;color:#3a281b;position:absolute;left:7px;top:7px;padding:4px 7px;border-radius:var(--kz-r-sm);font-size:var(--kz-fs-xs);font-weight:800}.store-section-title{font-size:var(--kz-fs-sm);margin:12px 0 8px}.store-campaign{position:relative;isolation:isolate;min-height:185px;border:2px solid #856942;border-radius:var(--kz-r-md);overflow:hidden;background:#213c30;color:#fff6df}.store-campaign[hidden]{display:none}.store-campaign>img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;z-index:-2}.store-campaign:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#172b26ed,#172b2675 60%,transparent);z-index:-1}.store-campaign>div{padding:18px;width:70%}.store-campaign h2{font-size:var(--kz-fs-lg);color:inherit;margin:23px 0 6px;line-height:1.1}.store-campaign p{margin:5px 0 11px;font-size:var(--kz-fs-xs)}.store-campaign small{position:absolute;top:10px;right:9px;font-size:var(--kz-fs-xs);color:#fff6df}.store-campaign button{display:block;background:#e3b765;color:#302919;padding:8px 12px;margin-top:8px;border:0;border-radius:var(--kz-r-sm);font-weight:800}.store-campaign:after{content:'';position:absolute;inset:-100% -40%;background:linear-gradient(105deg,transparent 40%,#ffecb31a 50%,transparent 60%);animation:store-shine 12s ease-in-out infinite;pointer-events:none}.store-dots{display:flex;justify-content:center;gap:6px;margin-top:9px}.store-dots button{padding:0;width:7px;height:7px;min-height:7px;border:0;border-radius:100%;background:#acaa91}.store-dots button[aria-pressed=true]{background:#38604b}.store-bundle .store-card-art{height:120px}.store-daily-clock{display:flex;gap:8px;align-items:center;background:var(--surface);padding:9px 12px;border:1px solid var(--store-line);border-radius:var(--kz-r-md);margin-bottom:12px}.store-daily-clock svg{width:23px;height:23px}.store-daily-clock b{font-variant-numeric:tabular-nums}.store-daily-clock small{display:block;font-size:var(--kz-fs-xs);opacity:.7;margin-top:3px}.store-gift{border-color:#b29352}.store-gift button{background:#38604b;color:#fff8de;border:0;border-radius:var(--kz-r-sm);padding:7px}.store button:disabled{opacity:.55;cursor:default}.store-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.store-filters .kozy-choice{width:100%;font-size:var(--kz-fs-xs)}.store-notice{background:var(--surface);border-left:3px solid #b29352;padding:10px;font-size:var(--kz-fs-xs);line-height:1.5}.store-cash.recommended{outline:2px solid #b29352;outline-offset:1px}.store-cash button{border:1px solid var(--store-line);border-radius:var(--kz-r-sm);padding:8px;background:var(--surface)}.store-tools{display:flex;gap:12px;justify-content:center;margin:18px 0 0;padding-top:12px;border-top:1px solid var(--store-line)}.store-tools button{display:flex;align-items:center;gap:5px;font-size:var(--kz-fs-xs);border:0;background:transparent}.store-tools svg{width:15px;height:15px}.store-subtle{font-size:var(--kz-fs-xs);line-height:1.5;opacity:.7}.store-detail{text-align:center;max-width:340px;margin:auto}.store-detail-art{display:flex;justify-content:center;align-items:center;height:115px}.store-detail-art>img{max-width:180px;max-height:115px;object-fit:contain}.store-detail p{font-size:var(--kz-fs-xs);margin:9px 0}.store-detail ul{text-align:left;font-size:var(--kz-fs-xs);line-height:1.6}.store-detail small{display:block;font-size:var(--kz-fs-xs);margin:9px 0}.store-detail-price{display:flex;justify-content:center;align-items:center;gap:6px;margin:12px 0}.store-preview{background:#263d32;padding:8px;border-radius:var(--kz-r-md)}.store-preview>img{width:100%;max-height:155px;object-fit:contain}.store-preview .element-symbol{width:22px}.store-confirm,.store-success{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center;padding:10px}.store-success>svg{color:#44714e;width:45px;height:45px}.store-preferences{display:grid;gap:15px;font-size:var(--kz-fs-xs)}.store-preferences label{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.store-preferences input[type=number]{width:100%}.store-history{max-height:60dvh;overflow:auto}.store-history>div{display:grid;grid-template-columns:1fr auto;padding:10px 0;border-bottom:1px solid #9d896249;gap:6px;font-size:var(--kz-fs-xs)}.store-history small{grid-column:1/-1;font-size:var(--kz-fs-xs)}.store-avatar-preview{display:inline-flex;margin:5px}.store-avatar-preview img{max-height:58px}#modal:has(.store-detail),#modal:has(.store-confirm),#modal:has(.store-success){width:min(390px,calc(100vw - 24px));max-height:90dvh}html[data-theme=dark] .store{--store-line:#d7c99a30}@keyframes store-shine{0%,70%{transform:translateX(-75%)}100%{transform:translateX(75%)}}@media(prefers-reduced-motion:reduce){.store-campaign:after{animation:none;display:none}}@media(min-width:700px){.store-campaign{min-height:240px}.store-campaign h2{font-size:var(--kz-fs-xl)}.store-card-art{height:140px}}@media(max-width:350px){.store-card-copy{padding:8px}.store-card-copy>strong{font-size:var(--kz-fs-xs)}.store-card-art{height:95px}.store-tabs button{padding:8px 10px}.store-campaign>div{padding:14px}.store-campaign h2{font-size:var(--kz-fs-lg)}}

.store-heart{min-height:28px!important}.store-heading button{min-height:24px!important}.store button:focus-visible{outline:2px solid #b99c65;outline-offset:3px}

/* Keep only the clearance needed by the fixed bottom navigation. */
.main:has(.store){padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
.main:has(.store) #page{padding-bottom:0}.main:has(.store)>.footer{display:none}.store{padding-bottom:0}
.account-menu{max-width:440px;margin:8px auto}.account-menu h1{font-size:var(--kz-fs-lg);margin:12px 0 18px}.account-menu-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:58px;padding:12px 16px;margin:0 0 10px;border:2px solid var(--wood);border-radius:var(--kz-r-md);background:var(--surface);color:var(--text);text-align:left}.account-menu-row>span{display:flex;align-items:center;gap:12px}.account-menu-row .ui-icon{width:22px;height:22px}.account-menu-row> .ui-icon{width:16px;height:16px}

.account-menu-row [data-top-badge]{font-size:var(--kz-fs-xs);min-width:19px;text-align:center;border-radius:50%;padding:2px;background:#af493b;color:#fff}

.account-menu-row>span>img{width:24px;height:24px;object-fit:contain}

.koyn-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.koyn-offers .store-card{border:2px solid #a68148}.koyn-offers .store-card-art{height:115px;background:#243d32;padding:22px 8px 6px}.koyn-offers .store-card-art img{max-width:128px}.koyn-offers .store-card-copy{align-items:center;text-align:center;gap:5px;padding:10px}.koyn-offers .store-card-copy>b{font-size:var(--kz-fs-md)}.koyn-offers button{width:100%;margin-top:auto;min-height:38px;border:2px solid #7b5b2e;background:#e5b65d;color:#312515;font-weight:800}.club-store-entry{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:16px 0;padding:12px}.club-store-entry svg{width:24px;height:24px}.market-club-locked{text-align:center;max-width:420px;margin:20px auto}@media(min-width:760px){.koyn-pack-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.payment-actions,.payment-pix{display:grid;gap:10px;text-align:center}.payment-pix img{width:180px;height:180px;object-fit:contain;background:white;padding:8px;justify-self:center}.payment-pix textarea{width:100%;height:48px;resize:none;font-size:var(--kz-fs-xs)}.payment-pix p{margin:4px 0}

/* Club offer shares the store's existing surfaces and approved profile assets. */
.club-store-offer{max-width:420px;width:100%;box-sizing:border-box;margin:16px 0;scroll-margin:16px;padding:16px;overflow-wrap:anywhere}
.club-store-offer h2{display:flex;align-items:center;gap:8px;font-size:var(--kz-fs-lg);margin:0}
.club-store-offer .vip-features{padding:0;list-style:none;display:grid;gap:8px}
.club-store-offer .vip-features li{display:flex;align-items:center;gap:8px}
.club-store-offer .club-avatar-preview{display:flex;flex-wrap:wrap;gap:8px}
.club-store-offer .club-avatar-preview img{width:40px;height:40px;object-fit:contain}
.club-store-offer>.button{min-height:48px;width:100%}
.club-store-status{font-size:var(--kz-fs-sm)}

/* Explicit club entry starts below the sticky 88px HUD; short screens retain scroll room above navigation. */
.store:has(.club-store-offer){padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.club-store-offer{scroll-margin-top:104px;gap:8px}
.club-store-offer p{margin:0}
.club-store-offer .vip-features{margin:4px 0;gap:6px}
.club-store-offer .vip-features li{padding:8px 10px!important;min-height:36px}
.club-store-offer .vip-features .ui-icon{width:20px;height:20px;flex:none}

.club-store-price{display:grid;gap:6px}.club-store-price strong{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.club-store-confirm{display:grid;gap:12px;min-width:0}.club-store-confirm p{margin:0}.club-store-confirm label{display:grid;gap:6px}
.club-confirm-actions{display:flex;gap:8px;flex-wrap:wrap}.club-confirm-actions button{flex:1;min-height:48px}.club-store-confirm [data-club-result]{overflow-wrap:anywhere}
.elemental-egg-confirm{display:grid;gap:10px;min-width:0}.elemental-egg-heading{display:flex;align-items:center;gap:12px}.elemental-egg-confirm label{display:grid;gap:6px}.elemental-egg-confirm select,.elemental-egg-confirm input{min-height:44px;width:100%;min-width:0}.elemental-egg-confirm p{margin:0}.elemental-egg-actions{display:flex;gap:8px;position:sticky;bottom:0;background:var(--surface)}.elemental-egg-actions button{flex:1;min-height:44px}#modal:has(.elemental-egg-confirm){width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow-y:auto}.elemental-egg-confirm [data-elemental-result]{overflow-wrap:anywhere}.elemental-egg-confirm small{line-height:1.5}
.payment-email-notice{padding:12px;margin:8px 0 12px;border:1px solid var(--wood);border-radius:var(--kz-r-md);background:var(--surface);color:var(--text);font-size:var(--kz-fs-sm);line-height:1.5}.payment-email-notice p{margin:6px 0 10px}.payment-email-notice button,.payment-email-notice a,.payment-dialog button,.payment-pix button{min-height:44px}.payment-email-notice button,.payment-email-notice a{width:100%;margin-top:8px;white-space:normal}.payment-dialog #payment-result,.payment-pix #payment-result{font-size:var(--kz-fs-sm);line-height:1.5;white-space:normal;overflow-wrap:break-word;padding:8px 12px;border-left:3px solid var(--wood);color:var(--text);text-align:left}.payment-dialog #payment-result:empty{display:none}.payment-dialog #payment-result .button,.payment-pix #payment-result .button{display:block;margin-top:8px}.payment-dialog button:focus-visible,.payment-pix button:focus-visible,.payment-email-notice :is(button,a):focus-visible{outline:3px solid var(--text);outline-offset:2px}#modal:has(.payment-dialog),#modal:has(.payment-pix){width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 64px);overflow-y:auto}.payment-dialog .payment-actions{margin-top:12px}.payment-dialog #payment-result a{overflow-wrap:anywhere}.payment-dialog label{display:block;font-size:var(--kz-fs-sm)}
