#hero-registry{margin:12px 0;background:#fff;border:1px solid var(--brand-border);border-radius:21px;padding:18px;scroll-margin-top:16px}
.registry-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 4px}
.registry-caption{margin-inline-start:auto;color:var(--brand-muted);text-align:right;white-space:nowrap}
#hero-registry h2{margin:0;font-size:1.125rem;font-weight:700;line-height:1.35;letter-spacing:-.02em;color:var(--brand-ink)}
#hero-registry h2:focus-visible{outline:3px solid var(--brand-focus);outline-offset:3px}
.registry-description,.registry-status{font-size:13px;color:var(--brand-muted);margin:7px 0 12px}
.registry-players{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.registry-players a{display:flex;flex-direction:column;justify-content:center;min-height:68px;padding:12px;border:1px solid var(--brand-border);border-radius:12px;background:var(--brand-background);color:var(--brand-ink);text-decoration:none;overflow-wrap:anywhere}
.registry-players a:focus-visible,#registry-retry:focus-visible{outline:3px solid var(--brand-focus);outline-offset:2px}
.registry-players span{font-size:12px;color:var(--brand-muted);margin-top:3px}
#registry-retry{min-height:44px;border:1px solid var(--brand-border);border-radius:9px;padding:8px 14px;background:#fff;color:var(--brand-ink)}
@media(max-width:320px){.registry-players{grid-template-columns:1fr}}

#registry-toggle{width:100%;min-height:44px;text-align:left}
#registry-toggle .registry-heading-icon img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}

#registry-details{padding-block-start:12px}
#registry-details[hidden]{display:none}

/* Neutral portrait slots: approved individual artwork will replace these later. */
.registry-players a{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}
.registry-players .registry-portrait{position:relative;display:block;flex:0 0 52px;width:52px;height:60px;margin:0;overflow:hidden;border:1px solid #c8ba9f;border-bottom:3px solid #df8c35;border-radius:8px;background:#fff4dc var(--theme-registry-background,url('player-artwork/portrait-manga-background-v1.jpg')) center/cover no-repeat;box-shadow:0 1px 3px #0a1d2d0d}
.registry-portrait::before{content:'';position:absolute;top:10px;left:17px;width:18px;height:20px;border-radius:50%;background:#263b4a}
.registry-portrait::after{content:'';position:absolute;bottom:-3px;left:7px;width:38px;height:28px;border-radius:50% 50% 0 0;background:#263b4a}
.registry-players .registry-player-copy{display:flex;flex-direction:column;min-width:0;margin:0}
.registry-player-copy strong{color:var(--brand-ink);font-size:14px}
@media(max-width:370px){.registry-players a{gap:8px;padding:10px}.registry-players .registry-portrait{flex-basis:42px;width:42px;height:52px}.registry-portrait::before{left:12px}.registry-portrait::after{left:2px}}

.registry-portrait .registry-face{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.registry-portrait:has(.registry-face:not([hidden]))::before,.registry-portrait:has(.registry-face:not([hidden]))::after{display:none}
.registry-portrait .registry-face[hidden]{display:none}

/* Keep Kean's longer alias compact at phone widths; allow accessible wrapping. */
@media(max-width:600px){.registry-players a[href="/players/p-a520c5a3-c471-4653-bff3-d1ce598ae33e"] .registry-player-copy>span{font-size:11px;letter-spacing:-.01em;line-height:1.35}}

.registry-player-copy .registry-attendance{font-size:12px;font-weight:600;color:var(--brand-muted)}
.registry-player-copy .registry-attendance.is-playing{color:var(--brand-status-success,var(--brand-leaf))}
