/* Koleksiyon mağazası — v0.7.7 */
.shop-dialog{width:min(1040px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:#faf7fc;overflow:auto}
.shop-head{background:#fffcf7;border-color:#e8e0ed;z-index:4}
.shop-head h2{font-size:28px;color:#463b56}.shop-head p{line-height:1.5}
.shop-wallet{flex-wrap:wrap;margin-bottom:14px;background:#fff3d9;border-color:#ecddb3}
.coin-packs-soon{font-size:10px;color:#8f7b5c}
.shop-epic-banner{display:flex;align-items:center;gap:18px;margin:0 24px 18px;padding:20px;border:1px solid #dbcbe9;border-radius:18px;background:linear-gradient(115deg,#eee3f5,#fcf2dc);color:#705883}
.epic-crest{display:grid;place-items:center;flex:none;width:66px;height:66px;border:2px solid #d8bd80;border-radius:16px;background:#fff5df;font-size:42px;color:#ad8d4d;box-shadow:0 3px 0 #e8d6b4}
.shop-epic-banner h3{margin:5px 0;font-size:24px;color:#675079}.shop-epic-banner p{margin:0;font-size:12px;line-height:1.5}
.shop-epic-banner button{margin-left:auto;flex:none;background:#fff8ed;color:#8d6b42;border:1px solid #ddc797;box-shadow:none}
.shop-categories{display:flex;gap:7px;flex-wrap:wrap;padding:0 24px;margin-bottom:12px}
.shop-categories button{min-height:36px;padding:8px 12px;font-size:12px;border:1px solid #ded2ea;border-radius:9px;background:#fffcff;color:#584268;box-shadow:none}
.shop-categories button:hover:enabled,.shop-categories button:focus-visible{background:#ede3f5;color:#493456;border-color:#c4abd9;transform:none}
.shop-categories button[aria-pressed=true]{background:#795599;border-color:#795599;color:#fff}
.shop-categories button[aria-pressed=true]:hover:enabled,.shop-categories button[aria-pressed=true]:focus-visible{background:#674582;border-color:#674582;color:#fff}
.shop-categories button[data-shop-category=epic]{border-color:#d7bf89;color:#73551c;background:#fff6df}
.shop-categories button[data-shop-category=epic]:hover:enabled,.shop-categories button[data-shop-category=epic]:focus-visible{background:#f5e3b5;border-color:#ba994b;color:#614615}
.shop-categories button[data-shop-category=epic][aria-pressed=true]{background:#8c682c;border-color:#8c682c;color:#fff}
.shop-categories button[data-shop-category=epic][aria-pressed=true]:hover:enabled,.shop-categories button[data-shop-category=epic][aria-pressed=true]:focus-visible{background:#775620;border-color:#775620;color:#fff}
.shop-epic-banner button:hover:enabled,.shop-epic-banner button:focus-visible{background:#f5e3b5;color:#614615;transform:none}
.shop-filter-bar{display:flex;align-items:center;gap:10px;margin:0 24px 14px}
.shop-search{flex:1;min-width:0}.shop-search input{min-height:40px!important;padding:10px 12px!important;background:white!important}
.shop-filter-bar select{min-height:40px;border:1px solid #e0d7e9;border-radius:9px;background:white;color:#796189;font-size:12px;padding:8px}
#shopResultCount{font-size:11px;color:#93809f;white-space:nowrap}
.shop-dialog .shop-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 24px 22px}
.shop-dialog .shop-item{display:flex;flex-direction:column;gap:12px;padding:16px;min-width:0;background:#fffdfd;border:1px solid #e8deef;box-shadow:0 3px 0 #f0e7f4;border-radius:16px}
.shop-dialog .shop-item.rarity-rare{border-top:3px solid #bcaa7c}
.shop-dialog .shop-item.rarity-epic{border:1px solid #e0c89c;border-top:3px solid #c3a062;background:linear-gradient(155deg,#fffcf4,#f8f0fb);box-shadow:0 3px 0 #efdfbe}
.shop-dialog .shop-item-icon{align-self:center;display:grid;place-items:center;width:96px;height:96px;flex:none;overflow:visible;border-radius:var(--avatar-radius,18%);background:#f6f0fa;font-size:42px}
.shop-dialog .shop-item-icon.product-frame{width:108px;height:108px;background:transparent}
.shop-dialog .shop-item-icon.product-avatar{width:108px;height:108px}
.shop-dialog .rarity-epic .shop-item-title span{background:#49305d;color:#ffe393;border:1px solid #b99138}
.shop-dialog .rarity-epic .shop-price{color:#9c5d08}
.shop-dialog .shop-item-icon img{width:100%;height:100%;object-fit:contain}
.shop-dialog .shop-item-info{width:100%;flex:1}
.shop-dialog .shop-item-title{gap:6px}.shop-dialog .shop-item-title strong{font-size:15px;line-height:1.3}
.shop-dialog .shop-item-info p{font-size:11px;line-height:1.55;margin:7px 0}
.shop-dialog .shop-item-info small{font-size:10px;color:#9b81b0;letter-spacing:.3px}
.shop-dialog .shop-item-actions{width:100%;align-items:center;flex-wrap:wrap;gap:7px;padding-top:8px;border-top:1px solid #f0e9f5}
.shop-dialog .shop-price{font-size:14px;white-space:nowrap}.shop-dialog .shop-item-actions button{margin-left:auto;min-height:36px;padding:9px 11px;font-size:11px}
.shop-dialog .shop-use:hover:enabled,.shop-dialog .shop-use:focus-visible{background:#ede3f5;color:#493456;transform:none}
.name-preview{font-size:19px;letter-spacing:-.5px}.shop-item-icon:has(.name-preview){width:100%;background:#f8f3fa;border:1px solid #eee3f2}
.product-avatar,.product-frame{display:grid;place-items:center;border-radius:var(--avatar-radius,18%)}
.highlight-art.product-avatar .avatar-art,.highlight-art.product-frame .avatar-art{max-width:100%;max-height:100%}
body:not(.in-game) .highlight-art.product-frame{flex:none;width:80px;height:80px;aspect-ratio:1;align-self:center;justify-self:center;max-width:100%;--frame-width:6px}
.shop-empty{grid-column:1/-1;min-height:140px;display:grid;place-items:center;line-height:1.6}
.shop-footnote{line-height:1.6;color:#9583a1}.vip-card{background:linear-gradient(110deg,#9d86b8,#bea1c5)}
.username-check{margin:7px 0 4px}.username-check p{margin:0;font-size:11px;line-height:1.5;color:#93809d}
.username-check p[data-state=available]{color:#538369}.username-check p[data-state=taken]{color:#b07b76}
.username-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.username-suggestion{min-height:30px;padding:6px 9px;border:1px solid #e0d3ed;border-radius:8px;background:#f4edfa;color:#806294;font-size:12px;box-shadow:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.shop-dialog .shop-items{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-epic-banner{gap:12px;flex-wrap:wrap}.shop-epic-banner button{margin-left:78px}}
@media(max-width:520px){.shop-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:18px}.shop-head{padding:17px 14px;gap:8px}.shop-head h2{font-size:22px}.shop-head p{font-size:11px}.shop-wallet,.shop-epic-banner{margin-left:12px;margin-right:12px}.shop-wallet{padding:11px}.shop-wallet strong{font-size:14px}.coin-packs-soon{width:100%}.shop-epic-banner{padding:14px}.shop-epic-banner h3{font-size:20px}.shop-epic-banner p{font-size:11px}.epic-crest{width:48px;height:48px;font-size:30px;border-radius:12px}.shop-epic-banner>div{flex:1;min-width:0}.shop-epic-banner button{margin-left:60px;font-size:11px;min-height:34px;padding:8px}.shop-categories{padding:0 12px;gap:5px}.shop-categories button{min-height:34px;padding:7px 9px;font-size:11px}.shop-filter-bar{margin:0 12px 12px;gap:6px;flex-wrap:wrap}.shop-filter-bar select{font-size:11px;max-width:145px}.shop-dialog .shop-items{padding:0 12px 16px;gap:10px}.shop-dialog .shop-item{padding:11px;gap:10px}.shop-dialog .shop-item-icon{width:78px;height:78px;font-size:34px}.shop-dialog .shop-item-icon.product-frame{width:78px;height:78px;--frame-width:6px}.shop-dialog .shop-item-title strong{font-size:13px}.shop-dialog .shop-item-info p{font-size:10px}.shop-dialog .shop-price{font-size:11px}.shop-dialog .shop-item-actions button{width:100%;min-height:36px}.vip-card{margin-left:12px;margin-right:12px;gap:10px}.name-preview{font-size:16px}}

/* v0.10.5 — one shop layout in both the lobby and the game. */
body #shopModal{box-sizing:border-box;position:fixed;inset:12px;margin:auto;width:min(1080px,calc(100vw - 24px));max-width:1080px;max-height:calc(var(--viewport-height,100dvh) - 24px);padding:20px!important;overflow-x:hidden;overflow-y:auto;background:#1b283a!important;color:#edf2f7!important;border:1px solid #40536c!important;border-radius:18px!important;color-scheme:dark}
body #shopModal *{box-sizing:border-box;min-width:0}
body #shopModal .shop-head{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 14px;padding:0 0 14px;background:transparent!important;border-bottom:1px solid #3a4e68;box-shadow:none}
body #shopModal .shop-head>div{flex:1;min-width:0}
body #shopModal .shop-head h2{font-size:25px;line-height:1.15;letter-spacing:-.5px;margin:8px 0;color:#f3f6fb!important}
body #shopModal .shop-head p{font-size:12px;line-height:1.5;margin:0;color:#adbed3}
body #shopModal .eyebrow{font-size:9px;letter-spacing:1.2px;color:#f2c56a}
body #shopModal #shopClose{flex:none;width:34px;height:34px;min-height:34px;padding:0;font-size:23px;background:#2b3d54!important;color:#e2ebf6!important;border:1px solid #4a607d!important}
body #shopModal>button[data-rewarded-ad]{display:none}
body #shopModal .shop-wallet{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:7px 14px;margin:0 0 14px;padding:12px 14px;background:#24364e!important;border:1px solid #425a78;border-radius:12px;color:#bccde2}
body #shopModal .shop-wallet strong{font-size:18px;color:#ffd174}
body #shopModal .coin-packs-soon{font-size:10px;color:#9eb2ce;width:auto}
body #shopModal .starter-note{margin:0 0 12px;padding:10px 12px;background:#294136;border:1px solid #416c52;color:#bfe7cc;border-radius:10px;font-size:11px}
body #shopModal .shop-epic-banner{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 0 14px;padding:14px;background:linear-gradient(110deg,#313644,#27394d)!important;border:1px solid #70623d;border-radius:13px;color:#edf2f7}
body #shopModal .epic-crest{display:grid;place-items:center;width:44px;height:44px;font-size:27px;border-radius:12px;background:#5d4a27;color:#ffdb87;flex:none}
body #shopModal .shop-epic-banner>div{min-width:0;flex:none}
body #shopModal .shop-epic-banner h3{font-size:20px;line-height:1.2;word-break:normal;overflow-wrap:normal;margin:5px 0;color:#f1f5fb}
body #shopModal .shop-epic-banner p{font-size:11px;line-height:1.5;color:#acbdd3;margin:0}
body #shopModal .shop-epic-banner button{margin:0;min-height:36px;font-size:11px;padding:8px 12px;white-space:nowrap;background:#37485e!important;color:#ffda8b!important;border:1px solid #79653c!important}
body #shopModal .shop-categories{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;margin:0 0 12px;padding:0 0 7px;scrollbar-width:thin;scrollbar-color:#536c8f transparent}
body #shopModal .shop-categories button{flex:0 0 auto;min-height:35px;padding:7px 11px;font-size:11px;white-space:nowrap;background:#273b54!important;color:#c4d5eb!important;border:1px solid #49617f!important;border-radius:8px;box-shadow:none}
body #shopModal .shop-categories button[aria-pressed=true]{background:#f3b31d!important;color:#182235!important;border-color:#f3b31d!important}
body #shopModal .shop-filter-bar{display:grid;grid-template-columns:minmax(0,1fr) 175px auto;align-items:center;gap:8px;margin:0 0 14px;padding:0;border:0;background:none!important}
body #shopModal .shop-filter-bar label{margin:0;min-width:0}
body #shopModal .shop-filter-bar :is(input,select){width:100%;height:40px;min-height:40px;padding:8px 10px;font-size:12px;background:#121f31!important;color:#edf2f7!important;border:1px solid #48607f!important}
body #shopModal #shopResultCount{font-size:10px;white-space:nowrap;color:#9db3d0}
body #shopModal .shop-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;margin:0;padding:0}
body #shopModal .shop-item{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px;border:1px solid #445b78!important;border-radius:13px;background:#23354b!important;color:#edf2f7;box-shadow:none!important;overflow:hidden}
body #shopModal .shop-item.rarity-rare{border-color:#4f9bbd!important}
body #shopModal .shop-item.rarity-epic{border-color:#b18b46!important}
body #shopModal .shop-art-button{display:flex;align-items:center;justify-content:center;flex:none;width:100%;height:115px;min-height:115px;padding:12px!important;margin:0;border:1px solid #334d6b!important;border-radius:10px;background:#132236!important;background-image:none!important;color:#e3edf9!important;box-shadow:none;overflow:hidden}
body #shopModal .shop-art-button:hover{background:#1c3049!important;transform:none}
body #shopModal .shop-item-icon{display:grid;place-items:center;flex:none;width:84px;height:84px;max-width:100%;max-height:100%;margin:0;background:transparent;border:0;border-radius:14px;font-size:42px;overflow:visible}
body #shopModal .shop-item-icon.product-frame{width:86px;height:86px;--frame-width:6px}
body #shopModal .shop-item-icon.product-avatar{width:84px;height:84px}
body #shopModal .shop-item-icon.card-preview{width:100%;height:82px;min-height:0;padding:7px!important;overflow:hidden}
body #shopModal .shop-item-icon:has(.name-preview){width:100%;height:84px;background:none;border:0}
body #shopModal .name-preview{max-width:100%;font-size:17px;overflow:hidden;text-overflow:ellipsis}
body #shopModal .shop-item-title{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
body #shopModal .shop-item-title strong{font-size:13px;line-height:1.3;color:#f2f5fb!important}
body #shopModal .shop-item-title span{padding:3px 5px;font-size:8px;line-height:1.3;background:#30465f;color:#f2cd83;border:0;border-radius:5px}
body #shopModal .shop-item-info{flex:1;width:100%;min-width:0}
body #shopModal .shop-item-info p{font-size:11px;line-height:1.45;margin:8px 0;color:#aebfd5}
body #shopModal .shop-item-info small{font-size:8px;line-height:1.4;color:#9fb4d1;letter-spacing:.3px}
body #shopModal .shop-item-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0;padding-top:9px;border-top:1px solid #3c526f}
body #shopModal .shop-price{font-size:12px;color:#ffce6d;white-space:nowrap}
body #shopModal .shop-price:before{content:"C";font-size:10px}
body #shopModal .shop-item-actions button{margin:0;min-height:34px;padding:7px 11px;border:1px solid #dca728!important;border-radius:8px;background:#f3b31d!important;color:#182235!important;font-size:11px;box-shadow:none}
body #shopModal .shop-item-actions .shop-use{background:#2d4b42!important;color:#c0e7d4!important;border-color:#4c806b!important}
body #shopModal .vip-card{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 0;padding:12px;background:#25374f!important;border:1px solid #465d7d;border-radius:12px}
body #shopModal .vip-card>div{flex:1}
body #shopModal .vip-card p{font-size:11px;line-height:1.5}
body #shopModal .shop-footnote{margin:10px 0 0;padding:0;background:none!important;border:0;font-size:10px;line-height:1.5;color:#9fb2cc}
body #shopPreview .shop-preview-art{overflow:hidden}
@media(max-width:560px){
body #shopModal{inset:7px;width:calc(100vw - 14px);max-height:calc(var(--viewport-height,100dvh) - 14px);padding:13px!important;border-radius:14px!important}
body #shopModal .shop-head{gap:8px;padding-bottom:12px;margin-bottom:12px}
body #shopModal .shop-head h2{font-size:20px;line-height:1.15}
body #shopModal .shop-head p{font-size:11px}
body #shopModal .shop-wallet{padding:10px 12px;margin-bottom:12px}
body #shopModal .shop-wallet strong{font-size:16px}
body #shopModal .coin-packs-soon{width:100%;font-size:9px}
body #shopModal .shop-epic-banner{grid-template-columns:35px minmax(0,1fr);gap:9px;padding:12px}
body #shopModal .epic-crest{width:35px;height:35px;font-size:23px}
body #shopModal .shop-epic-banner h3{font-size:17px}
body #shopModal .shop-epic-banner p{font-size:10px}
body #shopModal .shop-epic-banner button{grid-column:1/-1;justify-self:stretch;margin:2px 0 0;min-height:34px;font-size:10px}
body #shopModal .shop-filter-bar{grid-template-columns:minmax(0,1fr) 132px;gap:7px}
body #shopModal #shopResultCount{grid-column:1/-1}
body #shopModal .shop-filter-bar :is(input,select){height:38px;min-height:38px;font-size:11px;padding:7px}
body #shopModal .shop-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0}
body #shopModal .shop-item{padding:9px;gap:7px}
body #shopModal .shop-art-button{height:99px;min-height:99px;padding:9px!important}
body #shopModal .shop-item-icon.product-avatar{width:73px;height:73px}
body #shopModal .shop-item-icon.product-frame{width:73px;height:73px}
body #shopModal .shop-item-title strong{font-size:12px}
body #shopModal .shop-item-info p{font-size:10px}
body #shopModal .shop-item-actions{gap:6px}
body #shopModal .shop-item-actions button{width:100%;min-height:36px}
body #shopModal .shop-price{font-size:11px}
}

/* Profile owns its layout and artwork sizes at every viewport. */
body #profileModal{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;line-height:1.45;font-family:system-ui,sans-serif;scroll-padding-top:60px}
body #profileModal *{box-sizing:border-box}
body #profileModal>.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-16px;z-index:5;margin:-16px -16px 12px;padding:12px 16px;background:#1b283a;border-bottom:1px solid #394d67}
body #profileModal #profileTitle{margin:0;font-size:18px;line-height:1.3}
body #profileModal #profileClose{width:40px;height:40px;min-height:40px;flex:none;padding:0;font-size:20px}
body #profileModal .profile-summary{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;margin:0 0 12px;border:1px solid #3c526e;border-radius:13px;overflow:hidden}
body #profileModal .profile-avatar{display:grid;place-items:center;position:relative;width:48px;height:48px;min-width:48px;max-width:48px;flex:none;font-size:28px}
body #profileModal .profile-identity{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}
body #profileModal .profile-identity>strong{display:block;min-width:0;max-width:100%;font-size:18px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #profileModal .profile-identity>small{display:block;margin:0;font-size:11px;color:#b3c4d9}
body #profileModal #profileStatus{margin:0;font-size:12px;line-height:1.5}
body #profileModal #profileStatus:empty,body #profileModal #profileNote:empty{display:none}
body #profileModal .profile-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 12px}
body #profileModal .profile-stat{grid-column:span 2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:9px 5px;border:1px solid #40536a;border-radius:10px;text-align:center}
body #profileModal .profile-stat:nth-child(n+4){grid-column:span 3}
body #profileModal .profile-stat strong{font-size:19px;font-variant-numeric:tabular-nums;line-height:1.15;color:#f8d481}
body #profileModal .profile-stat small{font-size:10px;line-height:1.4;color:#afc0d5;overflow-wrap:anywhere}
body #profileModal .profile-best{margin:0 0 14px;padding:0;border:1px solid #3c526e;border-radius:11px;overflow:hidden}
body #profileModal .profile-best>summary{cursor:pointer;padding:11px 12px;font-size:12px;font-weight:700;min-height:40px}
body #profileModal #profileDrawing{display:grid;gap:8px;padding:0 12px 12px;min-width:0}
body #profileModal #profileDrawing canvas{display:block;width:100%;max-width:100%;height:auto;max-height:180px;object-fit:contain;background:#fffdf8;border-radius:8px}
body #profileModal #profileDrawing :is(p,strong){margin:0;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
body #profileModal .profile-inventory-section{min-width:0}
body #profileModal .profile-inventory-section>.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
body #profileModal .profile-inventory-section h3{font-size:14px;margin:0;line-height:1.4}
body #profileModal #profileShop{font-size:11px;min-height:36px;padding:6px 8px;white-space:normal;text-align:right}
body #profileModal .profile-inventory{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0}
body #profileModal .inventory-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:1px solid #40536a;border-radius:11px;min-width:0;overflow:hidden}
body #profileModal .inventory-art{display:grid;place-items:center;position:relative;isolation:isolate;width:44px;height:44px;min-width:44px;min-height:0;max-width:44px;max-height:44px;margin:0;padding:3px;border-radius:10px;font-size:25px;background:#152337;overflow:hidden}
body #profileModal .inventory-art>svg,body #profileModal .inventory-art>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
body #profileModal .inventory-art.product-frame{--frame-width:3px;overflow:visible}
body #profileModal .inventory-art .name-preview{font-size:9px;line-height:1.3;max-width:100%}
body #profileModal .inventory-art.card-preview{grid-template-columns:14px minmax(0,1fr);gap:2px;padding:4px!important;font-size:6px}
body #profileModal .inventory-art.card-preview .card-preview-avatar{width:14px;height:14px;font-size:8px}
body #profileModal .inventory-art.card-preview :is(strong,small){font-size:5px;max-width:100%;overflow:hidden}
body #profileModal .inventory-info{display:flex;flex-direction:column;gap:3px;min-width:0}
body #profileModal .inventory-info strong{display:block;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
body #profileModal .inventory-info small{display:block;font-size:10px;line-height:1.3;color:#a9bbd2}
body #profileModal .inventory-item>button{min-height:38px;max-width:110px;padding:7px 10px;font-size:11px;line-height:1.3;white-space:normal}
body #profileModal .inventory-item>button:disabled{background:#28443a!important;color:#c7ebd6!important;border:1px solid #4a7562!important;opacity:1}
body #profileModal .profile-inventory>p{padding:12px;margin:0;border:1px solid #40536a;border-radius:10px;font-size:12px;line-height:1.5}
body #profileModal #profileNote{margin:12px 0;font-size:10px;line-height:1.5}
body #profileModal .profile-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;margin:14px 0 0;padding:12px 0 0;background:none;border-top:1px solid #3c526e}
body #profileModal .profile-footer button{min-height:40px;padding:8px 12px;font-size:12px;flex:1}
body #profileModal [hidden]{display:none!important}
@media(max-width:560px){
 body #profileModal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(var(--viewport-height,100dvh) - 16px);padding:12px;border-radius:16px!important}
 body #profileModal>.profile-heading{top:-12px;margin:-12px -12px 10px;padding:9px 12px}
 body #profileModal #profileTitle{font-size:16px}
 body #profileModal .profile-summary{padding:10px;gap:10px;margin-bottom:10px}
 body #profileModal .profile-avatar{width:42px;height:42px;min-width:42px;max-width:42px;font-size:24px}
 body #profileModal .profile-identity>strong{font-size:16px}
 body #profileModal .profile-stats{gap:6px;margin-bottom:10px}
 body #profileModal .profile-stat{min-height:55px;padding:7px 4px}
 body #profileModal .profile-stat strong{font-size:17px}
 body #profileModal .profile-stat small{font-size:9px}
 body #profileModal .inventory-item{grid-template-columns:40px minmax(0,1fr) auto;gap:8px;padding:7px}
 body #profileModal .inventory-art{width:40px;height:40px;min-width:40px;max-width:40px;max-height:40px}
 body #profileModal .inventory-item>button{min-height:38px;max-width:90px;font-size:10px;padding:7px 8px}
 body #profileModal .profile-footer{margin-top:10px;padding-top:10px}
}
