/* Guest portrait card: independent of floating chat opacity or stacking. */
.cf-guest-overlay[hidden]{display:none!important}.cf-guest-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:rgba(10,7,9,.68);padding:16px}
.cf-guest-card{position:relative;isolation:isolate;width:min(100%,350px);padding:26px 26px 28px;text-align:center;color:#f0dfc6;background:linear-gradient(145deg,#3b2531,#1d171a 70%);border:1px solid #c8a064;box-shadow:inset 0 0 0 3px #1b1412,0 22px 65px #000c;border-radius:5px}
/* Reuse the approved Clan Halls corner artwork, with breathing room inside the frame. */
.cf-guest-card::before,.cf-guest-card::after{content:"";position:absolute;width:39px;height:39px;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.92;z-index:0}
.cf-guest-card::before{top:13px;left:13px;background-image:url('/social/assets/theme/hall-ornaments/corner-nw.svg')}
.cf-guest-card::after{bottom:13px;right:13px;background-image:url('/social/assets/theme/hall-ornaments/corner-se.svg')}
.cf-guest-card > *{position:relative;z-index:1}
.cf-guest-card .cf-guest-dismiss{position:absolute;z-index:2}
.cf-guest-dismiss{position:absolute;right:7px;top:6px;z-index:1;border:0;background:transparent;color:#f3d3a0;font:25px Georgia,serif;cursor:pointer;padding:3px 8px}
.cf-guest-portrait{width:200px;height:200px;max-width:100%;margin:8px auto 12px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:radial-gradient(circle,#71513c,#23171a 68%);border:6px ridge #d5b273;outline:2px solid #7f5528;box-shadow:0 0 0 5px #26170f,0 0 0 7px #b58a48,inset 0 0 14px #0009}
.cf-guest-portrait img{width:100%;height:100%;object-fit:cover}.cf-guest-portrait img[hidden],.cf-guest-portrait span[hidden]{display:none}.cf-guest-portrait span{font-size:80px;color:#efd6a2}
.cf-guest-card h3{color:#efd29c;margin:16px 0;font:600 19px Georgia,serif;overflow-wrap:anywhere}.cf-guest-actions{display:grid;gap:10px;max-width:240px;margin:0 auto}
.cf-guest-actions button,.cf-guest-actions a{display:block;width:100%;box-sizing:border-box;text-align:center;padding:11px 15px;background:linear-gradient(#693f50,#361d30);color:#fff0d4!important;border:1px solid #c49a61;border-radius:3px;font:600 13px Georgia,serif;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}
.cf-guest-actions button:hover,.cf-guest-actions a:hover{filter:brightness(1.18)}.cf-guest-actions button:disabled{opacity:.55;cursor:default}
.cf-guest-feedback{min-height:1em;margin:9px 0 0;font:12px system-ui;color:#edd09f}

/* Sitewide player-card: originally from Tavern, isolated for reuse. */
.cf-guest-overlay .cf-guest-actions button:focus-visible,.cf-guest-overlay .cf-guest-actions a:focus-visible{outline:2px solid #f5d78a;outline-offset:3px}

[data-player-card][role=button]{cursor:pointer}[data-player-card][role=button]:focus-visible{outline:2px solid #f5d78a;outline-offset:3px}

.cf-guest-overlay [hidden]{display:none!important}
