:root{--action:#ffcf55;--action-hover:#f6bd31;--action-ink:#1d2331;--control-radius:9px}
a,a:visited{color:var(--text,#172033)}
a:hover{color:var(--accent,#6849e8)}
button,.small-btn,.primary,.btn,.sell,.upload-button{font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;border-radius:var(--control-radius);transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.small-btn,button:not(.header-icon):not(.avatar):not(.photo-thumb):not(.icon-btn){min-height:36px;padding:9px 15px;border:1px solid var(--border,#dce0ea);background:var(--surface2,#eef0f6);color:var(--text,#172033);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;vertical-align:middle}
a.small-btn,a.small-btn:visited{color:var(--text,#172033);text-decoration:none}
.small-btn.primary,button.primary,.primary,.sell,button.sell,.upload-button.primary{background:var(--action)!important;border-color:var(--action)!important;color:var(--action-ink)!important;box-shadow:0 2px 5px #0000000b}
.small-btn.primary:hover,button.primary:hover,.sell:hover,.upload-button.primary:hover{background:var(--action-hover)!important;border-color:var(--action-hover)!important}
.small-btn:hover,button:not(.header-icon):not(.avatar):not(.photo-thumb):not(.icon-btn):hover{border-color:#a2a9bd;box-shadow:0 3px 10px #00000012}
button:active,.small-btn:active{transform:translateY(1px)}
button:disabled{opacity:.55;cursor:not-allowed;transform:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a48aff;outline-offset:3px}
.small-btn.danger,button.danger{color:#cf435e;border-color:#cf435e55;background:transparent}
input[type=file]{font:inherit;font-size:13px;max-width:100%;color:var(--muted,#6b7280)}
input[type=file]::file-selector-button{border:0;border-radius:var(--control-radius);padding:9px 14px;margin-right:12px;background:var(--action);color:var(--action-ink);font:inherit;font-weight:700;cursor:pointer}
input[type=file]::file-selector-button:hover{background:var(--action-hover)}
.header-popover>a:not(.header-row){display:inline-flex;text-decoration:none;border:1px solid var(--border);border-radius:var(--control-radius);padding:9px 13px;margin-top:12px;background:var(--surface2);font-weight:700;font-size:12px}
.settings-card{padding:0;overflow:hidden;margin-bottom:26px}
.settings-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:start;gap:20px;padding:22px;border-bottom:1px solid var(--border)}
.settings-row:last-child{border-bottom:0}.settings-row>strong{padding-top:8px;font-size:13px}
.settings-row .field{max-width:360px}.settings-row p{margin:7px 0;font-size:13px;line-height:1.65}
.settings-photo{display:flex;align-items:center;gap:24px;margin-bottom:26px}.settings-avatar{width:94px;height:94px;border-radius:50%;object-fit:cover;flex:none}
.settings-verified{color:#087e66}body[data-theme=dark] .settings-verified{color:#61dec1}
.upload-button{cursor:pointer}.settings-photo [hidden]{display:none}
@media(max-width:650px){.settings-row{grid-template-columns:1fr;gap:10px;padding:18px}.settings-row>button{justify-self:start}.settings-photo{align-items:flex-start;gap:16px}.settings-avatar{width:68px;height:68px}.small-btn{max-width:100%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){button,.small-btn,.primary,.btn,.sell{transition:none}}

/* The account photo fills its circular header control at every breakpoint. */
.nav-actions #gsAvatar.avatar{width:40px;height:40px;min-width:40px;min-height:40px;padding:0!important;border:0!important;border-radius:50%;overflow:hidden;background:transparent!important;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 0 0 1px var(--border,#34374a);flex:none}
.nav-actions #gsAvatar.avatar img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:inherit}
.nav-actions #gsAvatar.avatar:focus-visible{outline:3px solid var(--action);outline-offset:3px}
@media(max-width:650px){.nav-actions #gsAvatar.avatar{width:36px;height:36px;min-width:36px;min-height:36px}}
.verified-badge{display:inline-grid;place-items:center;width:15px;height:15px;vertical-align:middle;border-radius:50%;background:#28aef3;color:white;font:800 11px system-ui;flex:none}
.sidebar-profile{display:flex;gap:10px;align-items:center;padding:4px 0 18px;margin-bottom:12px;border-bottom:1px solid var(--border);font-size:12px}.sidebar-profile img{width:38px;height:38px;object-fit:cover;border-radius:50%}.sidebar-profile small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.dash-nav summary{cursor:pointer;padding:12px;font-weight:700;font-size:14px}.dash-nav{align-self:start}.store-cover{height:110px;border-radius:18px;background:repeating-linear-gradient(35deg,#7653df 0 20px,#242239 20px 50px,#ffd25c 50px 60px,#242239 60px 100px);margin-bottom:-40px}.store-profile{position:relative;margin:0 16px 22px;padding-bottom:0}.store-identity{display:flex;align-items:center;gap:18px;padding:8px 0 20px}.store-identity h2{margin:0}.store-identity p{margin:6px 0;color:var(--muted);font-size:12px}.store-identity>button{margin-left:auto}.store-avatar{width:70px;height:70px;object-fit:cover;border-radius:50%;flex:none}.store-presence{font-size:12px}.store-presence:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#35d6b4;margin-right:6px}.store-presence.offline:before{background:#9ca3af}.store-tabs,.store-categories{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid var(--border)}.store-tabs a,.store-categories a{padding:12px 0;text-decoration:none;font-size:12px}.store-tabs .selected,.store-categories .selected{border-bottom:2px solid var(--action);font-weight:700}.store-categories{margin-bottom:18px}.store-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.store-filters .field{flex:1;min-width:130px;width:auto}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.store-offer{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);position:relative;min-height:160px}.store-offer-title{display:block;text-decoration:none;font-size:13px;font-weight:700;margin:10px 0;min-height:40px;padding-right:48px}.store-offer-image{position:absolute;right:12px;top:50px;width:44px;height:44px;object-fit:cover;border-radius:6px}.store-price{display:flex;justify-content:space-between;gap:8px;font-size:12px}.store-price small{font-weight:400}.store-price span{color:var(--muted)}#storeMore{margin-top:20px}@media(max-width:900px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.store-grid{grid-template-columns:1fr}.store-profile{margin:0 0 18px}.store-identity{flex-wrap:wrap}.store-avatar{width:56px;height:56px}.store-identity>button{margin-left:0}}

.wallet-history{margin-top:18px}.wallet-history .section-head{gap:16px;flex-wrap:wrap}.wallet-history .field{width:auto;max-width:100%}.wallet-transaction{padding:18px 0;border-bottom:1px solid var(--border)}.wallet-transaction-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.wallet-transaction-head>div{min-width:0}.wallet-transaction-amount{display:flex;align-items:flex-end;flex-direction:column;gap:8px;white-space:nowrap}.wallet-transaction details{margin-top:12px;font-size:13px}.wallet-transaction summary{cursor:pointer;font-weight:700}.wallet-reference{overflow-wrap:anywhere}.wallet-transaction p{overflow-wrap:anywhere}#walletHistoryMore{margin-top:12px}@media(max-width:550px){.wallet-transaction-head{gap:12px}.wallet-history .section-head{align-items:stretch;flex-direction:column}}

.recently-viewed{margin-top:32px}.recent-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recent-offer-grid h3{overflow-wrap:anywhere}.recently-viewed .section-head{gap:16px;flex-wrap:wrap}@media(max-width:800px){.recent-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.recent-offer-grid{grid-template-columns:1fr}}
