/* t1783: album-style square frame cards (profile picker + Cards page sections). */
.t1783-frames{margin:18px 0 8px}
.t1783-frames h2,.t1783-frames h3{margin:0 0 6px;font-size:20px;color:var(--gold,#e0c36a)}
.t1783-frames .sub,.t1783-frames .cards-blurb{color:var(--muted,#a5adba);font-size:13px;margin:0 0 14px;max-width:850px}
.t1783-fgrid{display:flex;gap:16px;overflow-x:auto;padding:8px 4px 16px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
#t65Frames .t1783-fgrid,#t65Frames.t1783-frames .t1783-fgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));overflow:visible;scroll-snap-type:none}
.t1783-fcard{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;width:148px;flex:0 0 148px;scroll-snap-align:start;padding:12px 10px 14px;border-radius:14px;background:linear-gradient(165deg,#1a1c22 0%,#0e1014 55%,#161820 100%);border:3px solid #2c2f34;box-shadow:0 8px 20px rgba(0,0,0,.35);color:inherit;text-align:center;min-height:44px}
html[data-theme="light"] .t1783-fcard{background:linear-gradient(165deg,#ffffff 0%,#f0f3f6 60%,#e8ecf1 100%);border-color:#4a4e55}
.t1783-fcard[aria-pressed="true"],.t1783-fcard.equipped{border-color:#D4AF37;box-shadow:0 0 0 1px rgba(246,226,122,.35),0 0 14px 2px rgba(212,175,55,.45)}
.t1783-fcard.locked{cursor:default;opacity:.55;filter:grayscale(.85)}
.t1783-fcard .pv{width:96px;height:96px;position:relative;display:block;border-radius:0}
.t1783-fcard .none{width:96px;height:96px;display:grid;place-items:center;border:1px dashed #48505f;color:var(--muted,#a5adba);font-size:12px}
.t1783-fcard b{font-size:13px;font-weight:800;line-height:1.25}
.t1783-fcard span.meta{font-size:11px;color:var(--muted,#a5adba);line-height:1.3}
.t1783-fcard .eq,.t1783-pill{display:inline-block;font:900 9px/1.6 system-ui;letter-spacing:.06em;text-transform:uppercase;padding:0 6px;border-radius:4px}
.t1783-fcard .eq{color:#111;background:#D4AF37}
.t1783-pill.owned{background:#20b2aa;color:#06211f}
.t1783-pill.lockedp{background:#3a3f48;color:#c5cad3}
.t1783-kitsoon{margin:28px 0 12px;padding:22px 18px;border:1px dashed #48505f;border-radius:16px;background:rgba(255,255,255,.03);text-align:center;max-width:640px}
.t1783-kitsoon h3{margin:0 0 6px;color:var(--gold,#e0c36a);font-size:18px}
.t1783-kitsoon p{margin:0;color:var(--muted,#a5adba);font-size:13px}
#t65Frames{margin:14px 0 4px;padding-top:12px;border-top:1px solid var(--line,#2a2e36)}
#t65Frames h3{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;margin:0 0 4px;color:inherit}
#t65Frames .msg{font-size:11px;margin-top:8px;min-height:1.2em}
.t1783-headbtns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media(max-width:540px){
  .t1783-fcard{width:132px;flex-basis:132px;padding:10px 8px 12px}
  .t1783-fcard .pv,.t1783-fcard .none{width:84px;height:84px}
  #t65Frames .t1783-fgrid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}
}

/* t1783/t1787: manager-details collapse + profile frames flip album (badge-wall / card-album style) */
.t1783-mgr-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 4px}
.t1783-details-toggle{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;font-size:13px;font-weight:800;color:inherit;border:1px solid var(--line,#2a2e36);border-radius:10px}
.t1783-details-toggle:focus-visible{outline:2px solid var(--gold,#e0c36a);outline-offset:2px}
.t1783-details-arrow{display:inline-block;transition:transform .15s ease;color:var(--muted,#a5adba)}
.t1783-details-toggle[aria-expanded="true"] .t1783-details-arrow{transform:rotate(90deg)}
.t1783-mgr-bar .btn{margin-top:0;margin-left:0}
#mgrDetails{margin-top:8px}
#mgrDetails[hidden]{display:none!important}
#t65Frames.bw-wall .bw-track{margin-top:4px}
#t65Frames .t1783-pv{width:92px;height:92px;position:relative;display:block;flex:0 0 92px}
#t65Frames .t1783-none{width:92px;height:92px;display:grid;place-items:center;border:1px dashed #48505f;color:var(--muted,#a5adba);font-size:11px;border-radius:8px}
#t65Frames .bw-tile.t1783-eq .tw-face{border-color:#D4AF37;box-shadow:0 0 0 1px rgba(246,226,122,.35),0 0 14px 2px rgba(212,175,55,.45)}
#t65Frames .t1783-equip{display:inline-block;margin-top:6px;padding:6px 10px;border-radius:8px;background:#D4AF37;color:#111;font:800 11px/1.2 system-ui;cursor:pointer;letter-spacing:.02em}
#t65Frames .t1783-equip[aria-disabled="true"]{opacity:.6;cursor:default;background:#3a3f48;color:#c5cad3}
#t65Frames .tw-front .eq{color:#111;background:#D4AF37;font:900 9px/1.6 system-ui;letter-spacing:.06em;text-transform:uppercase;padding:0 6px;border-radius:4px}
