/* Shared Zeyad's Stuff shell for account, profile, and owner pages.
 * Aligned with the hub's final navigation.css palette and Ultraproxi branding.
 */
@font-face{font-family:Ultraproxi;src:url('/assets/ultraproxi.otf') format('opentype');font-weight:100 900;font-display:swap}
:root{
 color-scheme:dark;--hub-bg:#25272b;--hub-panel:#34373c;--hub-raised:#3d4146;
 --hub-input:#292d31;--hub-border:#151619;--hub-hairline:#ffffff20;
 --hub-text:#f4f4f4;--hub-muted:#bcc1c5;--hub-accent:#76fa74;
 --hub-accent-ink:#111;--hub-soft:#76fa7415;
 background:var(--hub-bg);color:var(--hub-text);
}
:root[data-theme="light"]{
 color-scheme:light;--hub-bg:#e6e7e9;--hub-panel:#fafafa;--hub-raised:#f1f2f3;
 --hub-input:#fff;--hub-border:#252525;--hub-hairline:#25252535;
 --hub-text:#202124;--hub-muted:#565d61;--hub-accent:#40a33c;
 --hub-accent-ink:#fff;--hub-soft:#40a33c22;
}
:root[data-accent="purple"]{--hub-accent:#c4adff;--hub-accent-ink:#251739}
:root[data-accent="blue"]{--hub-accent:#89d9fa;--hub-accent-ink:#112c39}
:root[data-accent="orange"]{--hub-accent:#ffc38a;--hub-accent-ink:#34210e}
:root[data-theme="light"][data-accent="purple"]{--hub-accent:#7650ba;--hub-accent-ink:#fff}
:root[data-theme="light"][data-accent="blue"]{--hub-accent:#126e96;--hub-accent-ink:#fff}
:root[data-theme="light"][data-accent="orange"]{--hub-accent:#a85113;--hub-accent-ink:#fff}
html{background:var(--hub-bg);scrollbar-gutter:stable}
body,body.community-page,body.account-hub-page{background:var(--hub-bg);color:var(--hub-text);font-family:Arial,Helvetica,sans-serif;min-width:0}
h1,h2,h3,.brand,.site-brand-name,.hub-tile strong,.primary,.section-title{font-family:Ultraproxi,Arial,sans-serif;letter-spacing:0;font-weight:650}
a{color:var(--hub-accent)}
button,input,textarea,select{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--hub-accent);outline-offset:3px}
[hidden]{display:none!important}
/* Shared animated layer-mark header, same component as main launcher. */
.site-header,body>header{height:auto;min-height:82px;padding:12px max(24px,calc((100vw - 1240px)/2));background:var(--hub-panel);border:0;border-bottom:3px solid var(--hub-border);display:flex;align-items:center;justify-content:space-between;gap:16px}
.site-header .brand,body>header .brand,.site-header .site-brand,body>header .site-brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--hub-text);min-width:0;font-size:25px}
.site-brand-name{font-size:25px;white-space:nowrap}
.site-brand-name strong{font-weight:750}
.site-brand-subtitle{display:block;color:var(--hub-muted);font-size:10px;letter-spacing:.35px;margin-top:2px}
.site-logo-stack{width:54px;height:54px;aspect-ratio:1;position:relative;flex-shrink:0;isolation:isolate}
.site-logo-stack img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.site-brand:hover .site-logo-box,.site-brand:focus-visible .site-logo-box{transform:rotate(100deg) scale(.9)}
.site-brand:hover .site-logo-outer,.site-brand:focus-visible .site-logo-outer{transform:rotate(-14deg) scale(1.08)}
.site-brand:hover .site-logo-zeyad{transform:translateY(-5%)}
.site-brand:hover .site-logo-stuff{transform:translateY(5%) rotate(3deg)}
.site-header nav,body>header nav,.site-header .site-nav,body>header .site-nav{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.site-nav a,.site-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;background:var(--hub-raised);border:2px solid var(--hub-border);border-radius:5px;color:var(--hub-text);font-size:13px;font-weight:700;text-decoration:none}
.site-nav a:hover,.site-header nav a:hover{color:var(--hub-accent);border-color:var(--hub-accent)}
.site-nav a[aria-current="page"],.site-header nav a[aria-current="page"]{color:var(--hub-accent-ink);background:var(--hub-accent)}
/* Cards, panels, content widths, launch tiles. */
main,main.account-hub-main,main.community-layout{max-width:1240px;margin:0 auto;padding:30px 24px 64px}
.account-card,.panel,.stat,.profile-card,.profile-editor,.hub-identity,.hub-tile,.control-grid>div,.media-field{background:var(--hub-panel);border:2px solid var(--hub-border);border-radius:6px;color:var(--hub-text);box-shadow:0 3px 0 #0002}
.account-card{overflow:hidden}
.section-title{background:repeating-linear-gradient(130deg,transparent 0 25px,#ffffff08 25px 50px),var(--hub-panel);border-bottom:2px solid var(--hub-border);padding:18px 24px}
.status-dot,.online-dot{background:var(--hub-accent)}
h1,h2,h3{color:var(--hub-text)}
.page-heading h1,.hub-welcome h1{font-size:clamp(27px,4vw,34px);font-weight:700}
.eyebrow,.hub-eyebrow{color:var(--hub-accent);letter-spacing:1.1px;font-size:11px}
p,.muted,.panel-head p,.small,.hub-welcome>p,.hub-caption,.account-meta,.history-detail,.fact-label,.profile-username,.profile-editor small{color:var(--hub-muted)}
.profile-about p,.profile-about h3,.profile-display-name,.profile-facts strong{color:var(--hub-text)}
#message,#status,#account-message{background:var(--hub-panel);color:var(--hub-text);border-left:4px solid var(--hub-accent);border-radius:3px}
#message[data-error="true"],#status[data-error="true"],#account-message[data-error="true"]{border-color:#ff9696}
input,textarea,select{background:var(--hub-input);border:2px solid var(--hub-border);border-radius:5px;color:var(--hub-text);min-width:0;max-width:100%}
input::placeholder,textarea::placeholder{color:var(--hub-muted);opacity:.85}
button,.hub-footer-actions button,.action-link,.secondary-button,.crop-reset{background:var(--hub-raised);border:2px solid var(--hub-border);border-radius:5px;color:var(--hub-text)}
button:hover:not(:disabled),.action-link:hover,.secondary-button:hover{border-color:var(--hub-accent);color:var(--hub-accent)}
button.primary,.primary,.hub-tile.highlight,.profile-editor button.primary{background:var(--hub-accent);color:var(--hub-accent-ink);border:2px solid var(--hub-border);border-radius:5px;box-shadow:inset 0 -3px #0002}
button.primary:hover:not(:disabled),.primary:hover,.hub-tile.highlight:hover{filter:brightness(1.06);color:var(--hub-accent-ink)}
button.danger{background:#783844;color:#fff}
.tabs [aria-pressed="true"]{border-color:var(--hub-accent);color:var(--hub-accent)}
.google-button,.text-button,.site-header a{color:var(--hub-text)}
.text-button{border-color:transparent;background:transparent;color:var(--hub-muted)}
.account-card{max-width:650px;margin:0 auto}
body:has(.account-card)>main{max-width:680px;margin:45px auto}
.hub-identity{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}
.hub-identity strong{color:var(--hub-text)}
.hub-status{color:var(--hub-accent)!important}
.hub-tile{position:relative;min-height:200px;padding:23px;text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
.hub-tile:not(.highlight){background:var(--hub-panel)}
.hub-tile:hover{border-color:var(--hub-accent);transform:translateY(-2px)}
.hub-tile-icon{color:var(--hub-accent)}
.hub-tile.highlight .hub-tile-icon,.hub-tile.highlight>span:last-child{color:var(--hub-accent-ink)}
.hub-tile>span:last-child{color:var(--hub-muted)}
.profile-card{overflow:hidden}
.profile-inner{background:var(--hub-panel)}
.profile-cover{background-color:var(--hub-raised)}
.profile-avatar-frame{border-color:var(--hub-panel);background:var(--hub-raised)}
.profile-about{border-top-color:var(--hub-hairline)}
.profile-member-since{border-top-color:var(--hub-hairline);color:var(--hub-muted)}
.profile-member-since strong{color:var(--hub-text)}
.profile-badge-icon{background:var(--hub-raised);border-color:var(--hub-border);color:var(--hub-accent)}
.profile-badge-icon:hover,.profile-badge-icon:focus-visible{background:var(--hub-soft);border-color:var(--hub-accent)}
.profile-editor .panel-head,.panel-head{border-bottom-color:var(--hub-hairline)}
.media-field,.profile-facts>div,.profile-about{background:transparent}
.media-preview{border-color:var(--hub-border);background:var(--hub-raised)}
.media-privacy-note{background:var(--hub-raised);border-left-color:var(--hub-accent);color:var(--hub-muted)}
.crop-zoom>input[type=range]{accent-color:var(--hub-accent)}
.crop-reset{background:var(--hub-raised)}
.pill{border-color:var(--hub-hairline);color:var(--hub-text)}
.pill.approved{color:var(--hub-accent);border-color:var(--hub-accent)}
.account-row,.history-item,.control-grid>div,.profile-facts>div{border-color:var(--hub-border);background:var(--hub-raised)}
.stat span{color:var(--hub-muted)}
.profile-form input:not([type=checkbox]),.profile-form textarea,.profile-form select,.control-grid input:not([type=checkbox]),.control-grid textarea,.control-grid select{width:100%;max-width:100%;min-width:0}
dialog{background:var(--hub-panel);color:var(--hub-text);border:2px solid var(--hub-border)}
dialog::backdrop{background:#08090bd6}
footer,.footnote{color:var(--hub-muted)}
@media(max-width:700px){
 .site-header,body>header{padding:12px 16px;min-height:72px}
 .site-logo-stack{width:42px;height:42px}
 .site-brand-name{font-size:19px}
 .site-brand-subtitle{font-size:9px}
 .site-nav a,.site-header nav a{padding:8px 10px;font-size:12px;min-height:36px}
 main,main.account-hub-main,main.community-layout{padding:24px 16px 48px}
 .hub-identity,.edit-grid,.media-grid,.control-grid{grid-template-columns:minmax(0,1fr)}
 .hub-tile{min-height:165px}
}
@media(max-width:430px){.site-header,body>header{flex-wrap:wrap}.site-nav{width:100%}.site-brand-name{font-size:18px}}
@media(prefers-reduced-motion:reduce){.site-logo-stack img,.hub-tile{transition:none!important}.site-brand:hover .site-logo-stack img{transform:none!important}}


/* Account hub polish: one border around the account summary, not nested outlines. */
.account-hub-page .hub-identity{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;gap:0;padding:0;overflow:hidden;
  background:var(--hub-panel);
}
.account-hub-page .hub-identity>div{
  min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;
  padding:21px 24px;background:transparent;border:0;border-radius:0;
  box-shadow:none;outline:none;
}
.account-hub-page .hub-identity>div+div{border-left:1px solid var(--hub-hairline)}
.account-hub-page .hub-caption{margin:0;font-size:12px;line-height:1.4}
.account-hub-page .hub-identity strong{display:block;font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.3}
.account-hub-page .hub-card-grid{align-items:stretch;gap:16px}
.account-hub-page .hub-tile,.account-hub-page .hub-tile.highlight{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  gap:12px;min-height:192px;text-align:left;padding:24px;
  background:var(--hub-panel);color:var(--hub-text);
  border:2px solid var(--hub-border);border-radius:6px;
  box-shadow:0 3px 0 #0002;
}
.account-hub-page .hub-tile.highlight{
  border-color:var(--hub-border);background:var(--hub-panel);
}
.account-hub-page .hub-tile:hover,.account-hub-page .hub-tile.highlight:hover{
  border-color:var(--hub-accent);background:var(--hub-raised);
  color:var(--hub-text);filter:none;
}
.account-hub-page .hub-tile strong,.account-hub-page .hub-tile.highlight strong{
  margin:0;color:var(--hub-text);font-family:Ultraproxi,Arial,sans-serif;
  font-size:21px;line-height:1.25;font-weight:650;
}
.account-hub-page .hub-tile>span:last-child,.account-hub-page .hub-tile.highlight>span:last-child{
  color:var(--hub-muted);font:14px/1.55 Arial,Helvetica,sans-serif;
}
.account-hub-page .hub-tile-icon,.account-hub-page .hub-tile.highlight .hub-tile-icon{
  display:inline-grid;place-items:center;width:44px;height:44px;
  background:var(--hub-soft);border:1px solid var(--hub-hairline);
  border-radius:5px;color:var(--hub-accent);
}
.account-hub-page .hub-tile-icon svg{width:24px;height:24px;display:block}
@media(max-width:650px){
  .account-hub-page .hub-identity{grid-template-columns:minmax(0,1fr)}
  .account-hub-page .hub-identity>div+div{border-left:0;border-top:1px solid var(--hub-hairline)}
  .account-hub-page .hub-identity>div{padding:17px 20px}
  .account-hub-page .hub-tile{min-height:155px}
}
