#guest-actions[hidden],#guest-welcome[hidden],#header-profile[hidden]{display:none!important}
#guest-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}#guest-actions button{font:700 14px/1.2 system-ui;white-space:nowrap;padding:12px 16px;border-radius:6px;border:1px solid transparent;cursor:pointer}#guest-actions .guest-signup{background:#d3ff43;color:#10150d}#guest-actions .guest-login{background:transparent;color:#f5f5eb;border-color:#465332}
#guest-welcome{display:flex;align-items:center;justify-content:space-between;gap:40px;margin:24px 0 32px;padding:38px 42px;border:1px solid #3f4d2b;border-radius:14px;background:radial-gradient(ellipse at 100% 0%,#4a612530,transparent 65%),#151b10;color:#f5f5eb}
#guest-welcome .guest-eyebrow{font-size:11px;letter-spacing:3px;font-weight:700;color:#d3ff43;margin:0 0 16px}#guest-welcome h1{font-family:inherit;font-size:clamp(28px,3.2vw,46px);line-height:1.08;letter-spacing:-1.4px;margin:0;text-transform:none;font-weight:800}#guest-welcome h1 span{color:#d3ff43}#guest-welcome .guest-description{max-width:520px;margin:18px 0 0;font-size:16px;line-height:1.6;color:#b5bca9}#guest-welcome .guest-join{flex:0 1 350px}#guest-welcome button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:21px 24px;border:0;border-radius:6px;background:#d3ff43;color:#10150d;font:700 16px/1.4 system-ui;cursor:pointer;text-align:left}#guest-welcome button span{font-size:26px}#guest-welcome .guest-join p{color:#b5bca9;font-size:12px;text-align:center;margin:12px 0 0}#guest-actions button:focus-visible,#guest-welcome button:focus-visible{outline:2px solid #f5f5eb;outline-offset:4px}
@media(max-width:900px){#guest-welcome{padding:28px;gap:25px}.library-ready header.guest-header{flex-wrap:wrap}.library-ready header.guest-header nav{flex-wrap:wrap}#guest-welcome .guest-join{flex-basis:300px}}
@media(max-width:600px){#guest-welcome{flex-direction:column;align-items:stretch;margin-top:16px;padding:24px}#guest-welcome .guest-join{flex-basis:auto}#guest-welcome h1{font-size:32px}.library-ready header.guest-header nav{width:100%;justify-content:flex-end;margin-left:0}#guest-actions button{padding:10px 12px;font-size:13px}#guest-actions{gap:6px}}

#guest-welcome{position:relative;padding-top:48px}
#guest-welcome .guest-dismiss{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid #718052;border-radius:50%;background:#11180c;color:#e8eddf;font:24px/1 system-ui;cursor:pointer}
#guest-welcome .guest-dismiss:hover{background:#304021;color:#d3ff43}

#guest-welcome .guest-dismiss{font-size:0;line-height:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
#guest-welcome .guest-dismiss::after{content:'';display:block;width:16px;height:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}

/* Center the close icon independently of the join button layout. */
#guest-welcome .guest-dismiss{gap:0;justify-content:center}
#guest-welcome .guest-dismiss::after{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}

#guest-welcome .guest-listen{display:none}
@media(max-width:600px){
 #guest-welcome{margin:12px 0 16px;padding:12px 48px 12px 12px;gap:0}
 #guest-welcome .guest-copy,#guest-welcome .guest-join p{display:none}
 #guest-welcome .guest-join{display:flex;gap:8px;flex-basis:auto}
 #guest-welcome .guest-join button{min-height:44px;padding:8px 10px;gap:4px;font-size:12px;line-height:1.3;justify-content:center;text-align:center;flex:1}
 #guest-welcome .guest-join button span{display:none}
 #guest-welcome .guest-listen{display:flex;flex:0 0 auto;width:auto}
 #guest-welcome .guest-join button:not(.guest-listen){background:transparent;color:#d3ff43;border:1px solid #617637}
 #guest-welcome .guest-dismiss{top:50%;right:4px;transform:translateY(-50%);width:40px;height:44px;min-width:40px;border:0}
}
