/* Persistent premium controls live outside headings that are hidden on the original city view. */
.premium-topbar{position:fixed;z-index:80;top:12px;right:22px;max-width:calc(100vw - 64px);display:flex;align-items:center;gap:10px;padding:7px;background:linear-gradient(135deg,#281e13f5,#101918f5);border:1px solid #98763f;border-radius:12px;box-shadow:0 4px 22px #0008;box-sizing:border-box;font-family:system-ui,sans-serif;overflow:visible}.premium-vip-control{position:relative}.premium-topbar a{min-height:48px;display:flex;gap:8px;align-items:center;padding:5px 10px;box-sizing:border-box;text-decoration:none;border-radius:8px;color:#fbe4ac;border:1px solid #a77d3c;background:linear-gradient(145deg,#785220,#2c271b);font-size:13px}.premium-topbar a:hover,.premium-topbar a:focus-visible{outline:2px solid #ffe0a0;outline-offset:2px;background:linear-gradient(145deg,#936a2d,#3c3525)}.premium-topbar strong,.premium-topbar small{display:block}.premium-topbar small{font-size:10px;font-weight:400;color:#e3d4b6;margin-top:2px}.premium-crown{width:34px;height:34px;color:#efbd55;filter:drop-shadow(0 0 5px #fbbf4970)}.premium-vip-link{box-shadow:0 0 13px #db9a3445;animation:premium-shimmer 3.2s ease-in-out infinite}.premium-vip-link.premium-vip-active{border-color:#e6cd78;background:linear-gradient(135deg,#75602d,#243c2a)}.premium-vip-active small{color:#c9f5b5}.premium-header-wallet{display:flex;gap:6px;align-items:center;color:#f6d98d;font-size:12px;padding:0 7px;min-width:0}.premium-header-wallet strong{font-size:16px}.drakma-coin{display:inline-block;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#d6a644 url('/game-assets/drakma-v2.png') no-repeat 50% 38%/100% auto;box-shadow:0 0 9px #dfa63850;border:1px solid #f1cd77;box-sizing:border-box}.premium-vip-tooltip{position:absolute;top:calc(100% + 13px);right:0;width:310px;max-width:calc(100vw - 64px);padding:16px;box-sizing:border-box;z-index:82;border:1px solid #d7b266;border-radius:10px;background:linear-gradient(135deg,#322619,#15211e);box-shadow:0 12px 32px #000b;color:#f7e6c4;font:13px/1.65 system-ui,sans-serif;overflow-wrap:anywhere}.premium-vip-tooltip::before{content:'';position:absolute;top:-8px;right:28px;width:13px;height:13px;background:#312619;border-left:1px solid #d7b266;border-top:1px solid #d7b266;transform:rotate(45deg)}.premium-vip-tooltip[hidden]{display:none}.premium-vip-tooltip strong{font-size:15px;color:#ffe3a0}.premium-vip-tooltip ul{padding-left:18px;margin:10px 0}.premium-vip-tooltip li{margin:7px 0}.premium-tooltip-help{color:#c3d2c0;margin-bottom:0}.premium-panel{padding:clamp(18px,3vw,32px);background:radial-gradient(ellipse at 15% 0,#71502530,transparent 55%),linear-gradient(140deg,#24221c,#131e20);border:1px solid #947641;border-radius:14px;color:#f1e4c9;min-width:0}.premium-store-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.premium-panel h2,.premium-panel h3{color:#f5d391}.premium-panel button,.premium-panel a{min-height:44px}.premium-wallet-card{display:flex;align-items:center;gap:22px;padding:24px;margin:24px 0;border:1px solid #a27a3e;border-radius:12px;background:linear-gradient(130deg,#4d3e2355,#121c1f)}.drakma-coin-large{width:90px;height:90px}.premium-wallet-card h3{margin:0}.premium-wallet-card strong{font-size:30px;color:#f8d486}.premium-empty{text-align:center;padding:36px 24px;margin:22px 0;border:1px dashed #8c774f;border-radius:12px;background:#0b151930;max-width:100%;overflow-wrap:anywhere}.premium-empty-symbol{font-size:48px;color:#cfa960;text-shadow:0 0 24px #ddb65940}.premium-empty p{max-width:580px;margin:14px auto;line-height:1.7}.premium-vip-offer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;border:1px solid #687955;border-radius:10px;background:#1b33272e;flex-wrap:wrap}.premium-vip-offer a{display:flex;align-items:center;justify-content:center;padding:10px 16px;border:1px solid #c09a55;border-radius:8px;background:#5a4625;color:#ffedc0;text-decoration:none}.premium-vip-offer h3,.premium-vip-offer p{margin:8px 0}.online-world{padding-top:100px!important}.square-welcome{top:106px!important}body.has-city-sidebar #painelPraca:has(.jrpg-sheet){top:90px;bottom:auto;left:50%;transform:translateX(-50%);max-height:calc(100dvh - 110px)}
@keyframes premium-shimmer{0%,100%{box-shadow:0 0 10px #db9a3430}50%{box-shadow:0 0 20px #edbc5d70}}@media(prefers-reduced-motion:reduce){.premium-vip-link{animation:none}}@media(max-width:650px){.premium-topbar{left:42px;right:10px;top:8px;max-width:none;justify-content:space-between;gap:6px;padding:5px}.premium-topbar a{padding:5px 7px;gap:5px;font-size:11px;min-height:46px}.premium-crown{width:26px;height:26px}.premium-topbar .drakma-coin{width:25px;height:25px}.premium-header-wallet{font-size:10px;padding:0 2px;gap:3px;flex-direction:column}.premium-header-wallet>.drakma-coin{display:none}.premium-header-wallet strong{font-size:14px}.premium-vip-tooltip{position:fixed;top:76px;left:42px;right:10px;width:auto;max-width:none}.premium-vip-tooltip::before{left:26px;right:auto}.premium-panel{padding:16px}.premium-wallet-card{padding:16px;gap:14px}.drakma-coin-large{width:64px;height:64px}.premium-wallet-card h3{font-size:16px}.premium-wallet-card strong{font-size:24px}.premium-empty{padding:24px 14px}.premium-store-heading button,.premium-vip-offer a{width:100%}.online-world{padding-top:86px!important}.square-welcome{top:88px!important}}
/* Long balances stay readable inside the wallet and contained in the top bar. */
.premium-wallet-card>div{min-width:0;overflow-wrap:anywhere}.premium-header-wallet strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:650px){.premium-header-wallet strong{max-width:60px}.premium-header-wallet{flex-shrink:0}}
.premium-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.premium-product{min-width:0;display:flex;flex-direction:column;padding:18px;border:1px solid #997942;border-radius:12px;background:linear-gradient(150deg,#3b302260,#0e1e20)}.premium-product h3{font-size:19px}.premium-product>p{line-height:1.6}.premium-product>button{margin-top:auto}.premium-product-price{font-size:20px;font-weight:bold;color:#f2cd7e}.premium-product-status{font:12px system-ui;color:#c7dac4}.premium-product-preview{position:relative;min-height:165px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:12px;background:#091a1ccc;border-radius:9px;overflow:hidden}.premium-preview-portrait{position:relative;width:130px;height:130px;box-sizing:border-box}.premium-preview-portrait img{width:100%;height:100%;object-fit:contain}.premium-preview-name{font:24px Georgia,serif;overflow-wrap:anywhere;text-align:center;padding:0 8px}.premium-preview-spark{font-size:46px;color:#f5cf6d;text-shadow:0 0 22px #e9b33b}.premium-catalog-help{line-height:1.7}.premium-product-preview button{font-size:12px;padding:7px 12px}.premium-golden-name{color:#f7ce6c!important;text-shadow:0 1px 2px #000,0 0 10px #c7973d66}.premium-root-frame{position:relative;outline:3px solid #b49b58;outline-offset:-4px;box-shadow:inset 0 0 0 7px #294d32,inset 0 0 0 9px #8a7441}.premium-root-frame::before,.premium-root-frame::after{content:'❧';position:absolute;z-index:3;color:#bba568;font:42px Georgia,serif;pointer-events:none;text-shadow:0 1px 3px #000}.premium-root-frame::before{left:2px;top:0;transform:rotate(-45deg)}.premium-root-frame::after{right:2px;bottom:0;transform:rotate(135deg)}#battle-scene,#arena-duel-scene,.raid-combat-header{position:relative}.premium-victory-effect{position:absolute;inset:0;z-index:20;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 80%,#e7bf4930,transparent 65%)}.premium-spore{position:absolute;bottom:5%;width:8px;height:8px;background:#ffdc7d;border-radius:50%;box-shadow:0 0 12px #edbd43,0 0 4px #fff4c3;animation:premium-spore-rise 2.2s ease-out both}.premium-effect-still .premium-spore{animation:none;bottom:40%;opacity:.7}.premium-effect-still{background:radial-gradient(ellipse at center,#e7bf4922,transparent 60%)}@keyframes premium-spore-rise{0%{transform:translateY(0) scale(.5);opacity:0}20%{opacity:1}100%{transform:translateY(-200px) scale(.15);opacity:0}}#premium-confirm{max-width:min(420px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #c6a15c;border-radius:12px;padding:24px;background:#172423;color:#f2e4c3}#premium-confirm::backdrop{background:#000b}#premium-confirm p{line-height:1.7;overflow-wrap:anywhere}#premium-confirm .actions{display:flex;flex-wrap:wrap;gap:10px}#premium-confirm button{min-height:44px}.premium-vip-offer{margin-top:24px}@media(max-width:900px){.premium-catalog{grid-template-columns:1fr}}@media(max-width:650px){.premium-product{padding:14px}.premium-product-preview{min-height:155px}#premium-confirm{padding:18px}#premium-confirm button{width:100%}}@media(prefers-reduced-motion:reduce){.premium-spore{animation:none;bottom:40%;opacity:.7}}

.premium-spore-0{left:5%;animation-delay:0.00s;width:4px;height:4px}.premium-spore-1{left:11%;animation-delay:0.12s;width:6px;height:6px}.premium-spore-2{left:17%;animation-delay:0.24s;width:8px;height:8px}.premium-spore-3{left:23%;animation-delay:0.36s;width:4px;height:4px}.premium-spore-4{left:29%;animation-delay:0.00s;width:6px;height:6px}.premium-spore-5{left:35%;animation-delay:0.12s;width:8px;height:8px}.premium-spore-6{left:41%;animation-delay:0.24s;width:4px;height:4px}.premium-spore-7{left:47%;animation-delay:0.36s;width:6px;height:6px}.premium-spore-8{left:53%;animation-delay:0.00s;width:8px;height:8px}.premium-spore-9{left:59%;animation-delay:0.12s;width:4px;height:4px}.premium-spore-10{left:65%;animation-delay:0.24s;width:6px;height:6px}.premium-spore-11{left:71%;animation-delay:0.36s;width:8px;height:8px}.premium-spore-12{left:77%;animation-delay:0.00s;width:4px;height:4px}.premium-spore-13{left:83%;animation-delay:0.12s;width:6px;height:6px}.premium-spore-14{left:89%;animation-delay:0.24s;width:8px;height:8px}.premium-spore-15{left:95%;animation-delay:0.36s;width:4px;height:4px}

.motion-reduced .premium-spore{animation:none;bottom:40%;opacity:.7}

.drakma-pix-card{padding:20px;margin:24px 0;border:1px solid #a27a3e;border-radius:12px;background:linear-gradient(135deg,#49381f70,#102222)}.drakma-rate{font-size:24px;color:#f4d38c;font-weight:bold}.drakma-pix-card label{display:block;margin:12px 0 6px}.drakma-pix-card input{max-width:180px;min-height:44px;padding:8px;box-sizing:border-box}.drakma-pix-card textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;resize:vertical;overflow-wrap:anywhere}.drakma-pix-card .actions{display:flex;gap:10px;flex-wrap:wrap}.drakma-pix-card p,.drakma-pix-card li{overflow-wrap:anywhere;line-height:1.7}.drakma-pix-card details{margin-top:20px}.drakma-pix-card summary{cursor:pointer;min-height:44px}#drakma-confirm{max-width:min(420px,calc(100vw - 32px));box-sizing:border-box;border:1px solid #c6a15c;border-radius:12px;padding:24px;background:#172423;color:#f2e4c3}#drakma-confirm::backdrop{background:#000b}.vip-drakma-bonus{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px;border:1px solid #ba924a;border-radius:10px;background:#5f472633}.vip-drakma-bonus>span:last-child{flex-basis:100%;font-size:13px}@media(max-width:650px){.drakma-pix-card{padding:14px}.drakma-pix-card .actions>*{width:100%;box-sizing:border-box}#drakma-confirm{padding:18px}}

.jrpg-portrait,.arena-profile-portrait,.raid-pet-portrait{position:relative}.premium-mini-pet{position:absolute!important;right:4%;bottom:8%;width:80px!important;height:80px!important;max-width:30%!important;object-fit:contain!important;z-index:4;pointer-events:none;animation:mini-pet-idle 2.8s ease-in-out infinite;filter:drop-shadow(0 2px 3px #0009)}.premium-mini-pet.premium-pet-enemy{right:auto;left:4%;scale:-1 1}.premium-pet-preview{width:130px;height:130px;object-fit:contain}.raid-pet-portrait>img:first-child{display:block;width:100%;height:160px;object-fit:contain}.raid-pet-portrait .premium-mini-pet{width:52px!important;height:52px!important}.premium-pet-still,.motion-reduced .premium-mini-pet{animation:none}@keyframes mini-pet-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@media(max-width:650px){.sprite-window .premium-mini-pet{width:48px!important;height:48px!important;bottom:12%}}@media(prefers-reduced-motion:reduce){.premium-mini-pet{animation:none}}
/* Pet placement is independent of the actor sprite's crop offsets. */
.premium-mini-pet{top:auto!important;left:auto!important;margin:0!important}.premium-mini-pet.premium-pet-enemy{right:auto!important;left:4%!important}.battle-scene img.premium-mini-pet{top:auto!important;left:auto!important;right:0!important;bottom:0!important;width:64px!important;height:64px!important;max-width:none!important}.battle-scene img.premium-mini-pet.premium-pet-enemy{right:auto!important;left:0!important}@media(max-width:650px){.battle-scene img.premium-mini-pet{width:40px!important;height:40px!important}}

/* Name styles remain legible over the city, combat HUD and raid cards. */
.premium-frost-name{color:#c2f4ff!important;text-shadow:0 1px 2px #000,-1px 0 1px #43869f,1px 0 1px #43869f,0 0 9px #73d5f655;letter-spacing:.025em}.premium-mycelium-name{color:#c0c7ff!important;text-shadow:0 1px 2px #000,0 0 9px #637eff70;text-decoration:underline dotted #9faaf0;text-underline-offset:.2em;text-decoration-thickness:1px}.premium-draconic-name{color:#ffd29b!important;text-shadow:0 1px 2px #000,0 0 5px #c9683766;animation:drakoria-name-embers 4s ease-in-out infinite}.premium-eclipse-name{color:#e8dcff!important;text-shadow:none;filter:drop-shadow(0 1px 1px #0008) drop-shadow(0 0 3px #9c70da44);background-image:linear-gradient(110deg,#e2edff 10%,#ceadff 45%,#f3e9ff 65%,#b7d8ff 90%);background-size:220% 100%;background-position:0 50%;animation:drakoria-name-eclipse 6s ease-in-out infinite alternate}@supports(background-clip:text){.premium-eclipse-name{background-clip:text;-webkit-background-clip:text;color:transparent!important}}
@keyframes drakoria-name-embers{0%,100%{text-shadow:0 1px 2px #000,0 0 5px #c9683766}50%{text-shadow:0 1px 2px #000,0 0 10px #f7a75d99,0 0 16px #c35c2d44}}@keyframes drakoria-name-eclipse{from{background-position:0 50%}to{background-position:100% 50%}}
.motion-reduced .premium-draconic-name,.motion-reduced .premium-eclipse-name{animation:none}@media(prefers-reduced-motion:reduce){.premium-draconic-name,.premium-eclipse-name{animation:none}}

.premium-skin-preview{min-height:250px;display:flex;flex-direction:column;justify-content:end;background:radial-gradient(ellipse at 50% 75%,#93382044,transparent 65%);gap:8px}.premium-skin-preview img.premium-skin-art{position:static;width:100%;height:184px;object-fit:contain;filter:drop-shadow(0 6px 5px #0008)}.premium-skin-preview>span{font-size:.8rem;text-transform:capitalize}.premium-skin-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:5px}.premium-skin-actions button{font-size:.75rem;padding:7px}.premium-skin-actions button[aria-pressed='true']{border-color:#f5b366;background:#603529}

/* Category tabs adapt to narrow screens without horizontal page overflow. */
.premium-categories{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #b48b4f66;padding:12px 0 16px;margin-top:24px}
.premium-categories .premium-category{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border:1px solid #81714e;border-radius:9px;background:#142123;color:#e8dcc5;padding:10px 16px;cursor:pointer;font-weight:600}
.premium-category[aria-selected="true"]{background:linear-gradient(140deg,#745126,#3d3222);border-color:#f1cd7e;color:#fff0cc;box-shadow:inset 0 0 0 1px #dfbb6555}.premium-category-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;padding:2px 5px;box-sizing:border-box;border-radius:20px;background:#0004;color:#f5d99a;font-size:.75rem;font-variant-numeric:tabular-nums}.premium-category:focus-visible,#premium-catalog:focus-visible{outline:3px solid #ffe0a0;outline-offset:3px}.premium-category-status{margin:14px 0 0;color:#ceb88f;font-size:.9rem}.premium-category-empty{grid-column:1/-1;padding:24px;border:1px dashed #8c774f;border-radius:10px;text-align:center;line-height:1.6}
@media(max-width:650px){.premium-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.premium-categories .premium-category{min-width:0;padding:10px 8px;gap:8px;font-size:.9rem}}

.premium-slot-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#ebd09b}.premium-slot-symbol{font:48px system-ui}.premium-slot-preview span:last-child{font-size:12px}

/* One Piece-inspired pass rewards: kingly gold and crimson, treasure ropes and a straw-hat crest. */
.premium-pass-name{display:inline-block;max-width:100%;color:#ffe6a0!important;font-weight:900!important;letter-spacing:.04em;background:linear-gradient(115deg,#ffedac 5%,#efb64a 22%,#fff9da 38%,#ffcc64 50%,#ec7656 64%,#ffe6a0 80%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.35px #5b261b;text-shadow:none!important;filter:drop-shadow(0 2px 0 #381218) drop-shadow(0 0 7px #dc514966);animation:pass-king-glint 5s ease-in-out infinite}
.premium-pass-frame{position:relative;isolation:isolate;outline:2px solid #f6d47c;outline-offset:-2px;border-radius:12px;background:radial-gradient(ellipse at 50% 82%,#bd712133,transparent 65%),linear-gradient(145deg,#162e39,#09181f);box-shadow:inset 0 0 22px #edb34835,0 0 16px #d9a64555,0 5px 16px #0007}
.premium-pass-ornament{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;filter:drop-shadow(0 2px 3px #0008)}
@keyframes pass-king-glint{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.premium-pass-name{animation:none;background-position:38% 50%}}.premium-pass-victory{filter:hue-rotate(155deg)}

.premium-vip-tooltip{pointer-events:none}
