/* Gallery — Connect wallet (look by Grok, built by Claude). Brand: gold #C9A84C, black, system font. */
.gw-overlay { position:fixed; inset:0; background:rgba(0,0,0,.72); z-index:80; opacity:0; pointer-events:none; transition:opacity .2s; }
.gw-overlay.open { opacity:1; pointer-events:auto; }
.gw-panel { position:fixed; left:0; right:0; bottom:0; z-index:90; background:#0A0A0A; border-top:1px solid #C9A84C; border-radius:14px 14px 0 0;
  max-height:88vh; overflow-y:auto; -webkit-overflow-scrolling:touch; transform:translateY(100%); transition:transform .25s ease; visibility:hidden;
  padding-bottom:env(safe-area-inset-bottom, 0px); font-family:system-ui,-apple-system,"Segoe UI",sans-serif; color:#E8E8E8; }
.gw-panel.open { transform:none; visibility:visible; }
@media (min-width:761px) {
  .gw-panel { left:50%; right:auto; bottom:auto; top:50%; width:460px; max-height:90vh; border:1px solid #C9A84C; border-radius:10px;
    transform:translate(-50%,-46%); opacity:0; transition:opacity .2s, transform .2s; }
  .gw-panel.open { transform:translate(-50%,-50%); opacity:1; }
}
@media (prefers-reduced-motion: reduce) { .gw-panel, .gw-overlay { transition:none; } }
.gw-grab { width:38px; height:4px; border-radius:2px; background:#333; margin:10px auto 0; }
@media (min-width:761px) { .gw-grab { display:none; } }
.gw-head { display:flex; align-items:center; gap:4px; padding:8px 8px 0 20px; }
.gw-head h2 { margin:0; font-size:19px; font-weight:600; color:#FFF; letter-spacing:.01em; flex:1; }
.gw-back { width:40px; height:44px; margin-left:-12px; background:none; border:0; color:#C9A84C; font-size:30px; line-height:1; cursor:pointer; }
.gw-x { width:44px; height:44px; background:none; border:0; color:#888; font-size:20px; cursor:pointer; border-radius:6px; }
.gw-x:focus-visible, .gw-back:focus-visible, .gw-row:focus-visible, .gw-chip:focus-visible, .gw-btn:focus-visible { outline:2px solid #D4B45C; outline-offset:2px; }
.gw-body { padding:0 16px; }
.gw-sub { font-size:13px; color:#888; line-height:1.45; margin:2px 4px 12px; }
.gw-sub b { color:#E8E8E8; font-weight:600; }
.gw-chips { display:flex; gap:6px; margin:0 0 10px; overflow-x:auto; scrollbar-width:none; }
.gw-chips::-webkit-scrollbar { display:none; }
.gw-chip { display:inline-flex; align-items:center; gap:6px; flex:none; padding:7px 12px; border:1px solid #2A2A2A; border-radius:999px; background:none; color:#AAA; font:inherit; font-size:13px; cursor:pointer; }
.gw-chip[aria-pressed="true"] { border-color:#C9A84C; color:#FFF; }
.gw-chip .gw-net { width:14px; height:14px; }
.gw-net { width:16px; height:16px; display:block; flex:none; }
.gw-list { display:flex; flex-direction:column; gap:7px; }
.gw-row { display:flex; align-items:center; gap:12px; width:100%; padding:10px 12px; background:#141414; border:1px solid #222; border-radius:12px; color:#E8E8E8;
  font:inherit; text-align:left; cursor:pointer; text-decoration:none; transition:border-color .15s, background .15s; min-height:60px; }
a.gw-row, a.gw-row:visited { color:#E8E8E8; text-decoration:none; }
.gw-row:hover { border-color:#C9A84C; background:#141209; }
.gw-row[data-rec], .gw-row[aria-busy="true"] { border-color:#C9A84C; }
.gw-icon { width:40px; height:40px; border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#1A1A1A; border:1px solid #3A3A3A;
  color:#C9A84C; font-size:17px; font-weight:600; flex:none; }
.gw-icon img { width:100%; height:100%; object-fit:cover; display:block; }
.gw-icon.has-img { border-color:transparent; background:transparent; }
.gw-icon.gw-g { background:#C9A84C; border-color:#C9A84C; color:#111; font-weight:700; font-family:Georgia,"Times New Roman",serif; font-size:21px; }
.gw-nm { flex:1; min-width:0; font-size:15px; font-weight:500; color:#FFF; line-height:1.25; }
.gw-nm small { display:block; font-size:12px; color:#888; font-weight:400; margin-top:2px; }
.gw-right { display:flex; align-items:center; gap:8px; flex:none; }
.gw-nets { display:flex; gap:4px; align-items:center; }
.gw-pill2 { font-size:10.5px; padding:3px 7px; border-radius:999px; background:#222; color:#BBB; white-space:nowrap; }
.gw-tag { font-size:11px; color:#888; letter-spacing:.04em; display:flex; align-items:center; gap:5px; white-space:nowrap; }
.gw-tag .dot { width:7px; height:7px; border-radius:50%; background:#C9A84C; }
.gw-tag.ready { color:#C9A84C; }
.gw-spin { width:14px; height:14px; border:2px solid #2A2A2A; border-top-color:#C9A84C; border-radius:50%; animation:gw-spin .7s linear infinite; flex:none; }
@keyframes gw-spin { to { transform:rotate(360deg); } }
.gw-foot { font-size:11.5px; color:#777; text-align:center; margin:10px 4px 0; line-height:1.45; }

/* WalletConnect view */
.gw-qr { width:240px; max-width:100%; aspect-ratio:1; margin:6px auto 12px; background:#FFF; border-radius:14px; padding:8px; display:flex; align-items:center; justify-content:center; }
.gw-qr svg { width:100%; height:100%; display:block; }
.gw-qr-wait { background:#141414; border:1px solid #222; }
.gw-btn { display:block; width:100%; text-align:center; border:1px solid #C9A84C; color:#C9A84C; background:none; border-radius:10px; padding:13px; font:inherit; font-weight:600; font-size:14px;
  margin-top:8px; cursor:pointer; text-decoration:none; }
.gw-btn.gold { background:#C9A84C; color:#111; }
.gw-wcerr { padding:14px; border:1px solid #5a2a2a; border-radius:10px; color:#E8E8E8; font-size:13px; line-height:1.5; margin-top:4px; }

.gw-waiting { display:none; margin:12px 16px 0; padding:12px 14px; border:1px solid #2A2A2A; border-radius:8px; font-size:13px; color:#E8E8E8; align-items:center; gap:10px; }
.gw-waiting.show { display:flex; }
.gw-waiting button { margin-left:auto; background:none; border:0; color:#C9A84C; font:inherit; font-size:13px; cursor:pointer; padding:8px; }
.gw-note { padding:14px 20px 20px; font-size:12px; color:#888; line-height:1.55; margin:0; }

/* header button when connected */
.gw-pill { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; background:transparent !important; color:#C9A84C !important; border:1px solid #C9A84C; font-variant-numeric:tabular-nums; }
.gw-pill .dot { width:7px; height:7px; border-radius:50%; background:#C9A84C; }
.gw-pill-nets { display:inline-flex; gap:3px; }
.gw-pill-nets .gw-net { width:13px; height:13px; }
.gw-drop { position:absolute; top:calc(100% + 8px); right:0; width:min(360px, calc(100vw - 24px)); background:#0A0A0A; border:1px solid #2A2A2A; border-radius:10px; z-index:70; display:none; overflow:hidden;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif; box-shadow:0 12px 30px rgba(0,0,0,.6); text-align:left; }
.gw-drop.open { display:block; }
.gw-dline { display:flex; gap:8px; padding:12px 12px; border-bottom:1px solid #2A2A2A; }
.gw-dline > .gw-net { margin-top:2px; }
.gw-dline > div { flex:1; min-width:0; }
.gw-dline b { display:block; font-size:12px; font-weight:600; color:#E8E8E8; letter-spacing:.04em; }
.gw-dline .addr { display:block; font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:-.01em; color:#AAA; white-space:nowrap; margin:3px 0 6px; }
.gw-dacts { display:flex; gap:14px; }
.gw-dacts button { background:none; border:0; padding:6px 0; color:#C9A84C; font:inherit; font-size:13px; cursor:pointer; }
.gw-dacts button[data-act="disc"] { color:#888; }
.gw-dmore { display:block; width:100%; text-align:left; padding:13px 14px; background:none; border:0; color:#E8E8E8; font:inherit; font-size:13px; cursor:pointer; }
.gw-dmore:hover, .gw-dmore:focus-visible, .gw-dacts button:focus-visible { background:#1A1A1A; outline:none; }

/* phone ☰ menu */
.gw-menu { display:flex; flex-direction:column; align-items:center; gap:10px; width:100%; }
.gw-menu .gw-menu-btn { display:block; width:100%; max-width:320px; padding:14px 18px; border:1px solid #C9A84C; border-radius:6px; background:transparent; color:#C9A84C;
  font:inherit; font-size:15px; letter-spacing:.08em; cursor:pointer; text-align:center; }
.gw-menu .gw-menu-addr { font-size:13px; color:#888; letter-spacing:.04em; font-variant-numeric:tabular-nums; }

/* notices */
.gw-notice { position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom, 0px)); transform:translateX(-50%); z-index:120; display:none; align-items:center; gap:10px;
  width:max-content; max-width:min(92vw, 460px); background:#0A0A0A; border:1px solid #C9A84C; color:#E8E8E8; padding:12px 8px 12px 16px; border-radius:8px; font:13px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;
  box-shadow:0 12px 30px rgba(0,0,0,.6); }
.gw-notice.open { display:flex; }
.gw-notice a { color:#C9A84C; }
.gw-notice button { flex:none; width:36px; height:36px; background:none; border:0; color:#888; font-size:16px; cursor:pointer; }

/* Approved artists never see "Apply"; only approved artists see the Created tab / badge */
html.gw-artist a[href$="artist-application.html"] { display:none !important; }
html:not(.gw-artist) .only-artist { display:none !important; }
html:not(.gw-demo) .only-demo { display:none !important; }
html.gw-demo .not-demo { display:none !important; }

/* Pay-per-view stays out of the menus until the Private room key is turned on */
html:not(.gw-private) a[href$="pay-per-view.html"] { display:none !important; }

/* Suspended wallet (copyright case): Create disappears; other actions are blocked with a message (wallet.js) */
html.gw-suspended a[href$="create.html"] { display: none !important; }
