
#hbBothFoundModal .hb-auth-card{
    max-width:470px !important;
    background:
        radial-gradient(90% 50% at 15% -8%, rgba(79,139,255,0.16) 0%, transparent 60%),
        radial-gradient(90% 55% at 90% -6%, rgba(229,193,88,0.15) 0%, transparent 58%),
        linear-gradient(168deg, #101a2e 0%, #0a1020 45%, #060911 100%) !important;
    border:1px solid rgba(160,180,230,0.22) !important;
}
#hbBothFoundModal .hb-bf-head .hb-sub{ margin-bottom:18px; }
#hbBothFoundModal .hb-bf-head .hb-sub b{ color:#e8edf8; font-weight:700; word-break:break-all; }

#hbBothFoundModal .hb-bf-col{
    position:relative; text-align:left; border-radius:20px; padding:18px;
    display:flex; flex-direction:column; min-width:0;
    background:linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012));
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.07), 0 18px 40px rgba(0,0,0,0.35);
}
#hbBothFoundModal .hb-bf-acc{ border:1px solid rgba(91,140,255,0.42); }
#hbBothFoundModal .hb-bf-rooms{ border:1px solid rgba(229,193,88,0.38); }
#hbBothFoundModal .hb-bf-acc::before,
#hbBothFoundModal .hb-bf-rooms::before{
    content:""; position:absolute; left:18px; right:18px; top:-1px; height:2px; border-radius:2px;
    background:linear-gradient(90deg, transparent, #5b8cff, transparent); }
#hbBothFoundModal .hb-bf-rooms::before{ background:linear-gradient(90deg, transparent, #e5c158, transparent); }

#hbBothFoundModal .hb-bf-ph{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
#hbBothFoundModal .hb-bf-pic{
    flex:0 0 44px; width:44px; height:44px; border-radius:14px; display:grid; place-items:center; font-size:17px;
    color:#a9c4ff; background:rgba(91,140,255,0.15); border:1px solid rgba(91,140,255,0.5);
    box-shadow:0 0 18px -4px rgba(91,140,255,0.55); }
#hbBothFoundModal .hb-bf-pic.is-gold{
    color:#f3d98a; background:rgba(229,193,88,0.13); border-color:rgba(229,193,88,0.5);
    box-shadow:0 0 18px -4px rgba(229,193,88,0.55); }
#hbBothFoundModal .hb-bf-ptx{ flex:1; min-width:0; }
#hbBothFoundModal .hb-bf-ptx b{ display:block; font-size:16.5px; font-weight:800; color:#fff; letter-spacing:.2px; }
#hbBothFoundModal .hb-bf-ptx > span{ display:block; margin-top:3px; font-size:13px; line-height:1.45; color:#93a0b4; }

#hbBothFoundModal .hb-bf-roles{ display:flex; flex-wrap:wrap; gap:7px; margin:0 0 14px; }
#hbBothFoundModal .hb-bf-role{
    display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border-radius:50px;
    font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
    color:#d6e2ff; background:rgba(91,140,255,0.13); border:1px solid rgba(91,140,255,0.42); }
#hbBothFoundModal .hb-bf-role i{ font-size:11px; color:#9dbcff; }
#hbBothFoundModal .hb-bf-perks{ list-style:none; margin:0 0 16px; padding:0; display:flex; flex-direction:column; gap:8px; }
#hbBothFoundModal .hb-bf-perks li{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; line-height:1.4; color:#c5cfdd; }
#hbBothFoundModal .hb-bf-perks i{ margin-top:2px; font-size:12px; color:#7fa6ff; }
#hbBothFoundModal .hb-bf-acc #hbBfHousbeBtn{ width:100%; margin:auto 0 0; }
#hbBothFoundModal .hb-bf-note{
    display:flex; align-items:flex-start; gap:7px; margin:10px 2px 0; font-size:12px; line-height:1.45; color:#8592a6; }
#hbBothFoundModal .hb-bf-note i{ margin-top:2px; font-size:11px; color:#7fa6ff; }

#hbBothFoundModal .hb-bf-or{ display:flex; align-items:center; gap:10px; margin:16px 4px; }
#hbBothFoundModal .hb-bf-or span{ flex:1; height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); }
#hbBothFoundModal .hb-bf-or em{
    font-style:normal; font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#8a94a6;
    width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
    border:1px solid rgba(255,255,255,0.14); background:#0b1222; }

#hbBothFoundModal #hbBfGuestRoomBtns{ display:flex; flex-direction:column; gap:10px; margin:0; }
#hbBothFoundModal .hb-bf-room{
    position:relative; display:flex; flex-direction:column; align-items:stretch; gap:5px; width:100%;
    text-align:left; cursor:pointer; font:inherit; color:#e8edf5;
    padding:12px 13px 11px; border-radius:16px;
    background:linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:inset 3px 0 0 var(--rc,#e5c158);
    transition:border-color .18s, background .18s, transform .18s, box-shadow .18s; }
#hbBothFoundModal .hb-bf-room:hover,
#hbBothFoundModal .hb-bf-room:focus-visible{
    border-color:var(--rc,#e5c158); background:linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
    transform:translateY(-2px);
    box-shadow:inset 3px 0 0 var(--rc,#e5c158), 0 12px 28px rgba(0,0,0,0.4), 0 0 22px -8px var(--rc,#e5c158);
    outline:none; }
#hbBothFoundModal .hb-bf-rtop{ display:flex; align-items:center; gap:11px; }
#hbBothFoundModal .hb-bf-ric{
    flex:0 0 36px; width:36px; height:36px; border-radius:11px; display:grid; place-items:center; font-size:15px;
    color:var(--rc,#e5c158); border:1px solid var(--rc,#e5c158);
    background:color-mix(in srgb, var(--rc,#e5c158) 15%, transparent); }
#hbBothFoundModal .hb-bf-rhead{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
#hbBothFoundModal .hb-bf-rid{ font-size:15.5px; font-weight:800; color:#fff; letter-spacing:.3px; overflow-wrap:anywhere; }
#hbBothFoundModal .hb-bf-rtag{
    display:flex; align-items:center; gap:6px; min-width:0; font-size:10.5px; font-weight:800;
    letter-spacing:.07em; text-transform:uppercase; color:var(--rc,#e5c158);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#hbBothFoundModal .hb-bf-rtag::before{
    content:""; flex:0 0 6px; width:6px; height:6px; border-radius:50%; background:var(--rc,#e5c158);
    box-shadow:0 0 8px var(--rc,#e5c158); }
#hbBothFoundModal .hb-bf-rrel{ font-size:13px; color:#cfd7e3; margin-top:3px; }
#hbBothFoundModal .hb-bf-rmeta{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; color:#8592a6; }
#hbBothFoundModal .hb-bf-rmeta span{ display:inline-flex; align-items:center; gap:5px; min-width:0; }
#hbBothFoundModal .hb-bf-rmeta i{ font-size:11px; color:#6f7c91; }
#hbBothFoundModal .hb-bf-rgo{
    margin-top:auto; display:flex; align-items:center; justify-content:center; gap:7px;
    padding:8px 12px; border-radius:11px; font-size:13px; font-weight:800; letter-spacing:.3px;
    color:#1a1205; background:linear-gradient(135deg, #f6e7bd 0%, #e5c158 55%, #caa63f 100%);
    box-shadow:0 4px 14px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.6); }
#hbBothFoundModal .hb-bf-rgo i{ font-size:12px; transition:transform .18s; }
#hbBothFoundModal .hb-bf-room:hover .hb-bf-rgo i{ transform:translateX(3px); }
#hbBothFoundModal .hb-bf-rmeta{ margin-bottom:6px; }
#hbBothFoundModal #hbBfGuestBtn{ margin-top:12px; }
#hbBothFoundModal .hb-bf-foot{ text-align:center; }

/* desktop: the two panels side by side, the rooms two-up, nothing to scroll
   for the usual handful of rooms */
@media (min-width:900px){
    #hbBothFoundModal .hb-auth-card{
        max-width:1040px !important; width:calc(100% - 48px) !important;
        padding:24px 34px 16px !important; }
    #hbBothFoundModal .hb-bf-head{ max-width:660px; margin:0 auto; }
    #hbBothFoundModal .hb-bf-head .hb-eyebrow-top{ margin-top:4px; }
    #hbBothFoundModal .hb-bf-head .hb-sub{ margin-bottom:18px; }
    #hbBothFoundModal #hbBfHousbeBtn{ white-space:nowrap; padding-left:16px !important; padding-right:16px !important; }
    #hbBothFoundModal .hb-bf-foot .hb-swap{ margin-top:10px; }
    #hbBothFoundModal .hb-bf-foot .hb-domain{ margin-top:6px; }
    #hbBothFoundModal .hb-bf-grid{
        display:grid; grid-template-columns:minmax(290px, 340px) 34px minmax(0, 1fr);
        gap:0 18px; align-items:stretch; }
    #hbBothFoundModal .hb-bf-or{ flex-direction:column; margin:0; }
    #hbBothFoundModal .hb-bf-or span{ width:1px; height:auto; background:linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent); }
    #hbBothFoundModal .hb-bf-col{ padding:18px 20px; }
    #hbBothFoundModal #hbBfGuestRoomBtns{
        display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px;
        max-height:min(520px, calc(100vh - 352px)); overflow-y:auto; padding:2px 4px 4px 2px; margin:-2px -4px -4px -2px;
        scrollbar-width:thin; scrollbar-color:rgba(229,193,88,0.35) transparent; }
    #hbBothFoundModal #hbBfGuestRoomBtns.is-single{ grid-template-columns:minmax(0, 1fr); }
    #hbBothFoundModal #hbBfGuestRoomBtns[style*="display: none"]{ display:none !important; }
}
/* short laptop screens: the eyebrow goes so three rooms still fit unscrolled */
@media (min-width:900px) and (max-height:800px){
    #hbBothFoundModal .hb-bf-head .hb-eyebrow{ display:none; }
    #hbBothFoundModal .hb-bf-head .hb-title{ margin-top:6px; }
    #hbBothFoundModal #hbBfGuestRoomBtns{ max-height:min(520px, calc(100vh - 300px)); }
    #hbBothFoundModal .hb-bf-col{ padding:14px 18px; }
    #hbBothFoundModal .hb-bf-ph{ margin-bottom:10px; }
    #hbBothFoundModal .hb-bf-foot .hb-domain{ display:none; }
}
#hbBothFoundModal #hbBfHousbeBtn{ white-space:nowrap; }
@media (max-width:359px){ #hbBothFoundModal #hbBfHousbeBtn{ white-space:normal; } }
@media (max-width:480px){
    #hbBothFoundModal #hbBfHousbeBtn{ font-size:14.5px !important; letter-spacing:0 !important; padding-left:12px !important; padding-right:12px !important; }
    #hbBothFoundModal .hb-bf-col{ padding:15px; border-radius:18px; }
    #hbBothFoundModal .hb-bf-perks{ display:none; }
    #hbBothFoundModal .hb-bf-or{ margin:12px 4px; }
}
@media (prefers-reduced-motion: reduce){
    #hbBothFoundModal .hb-bf-room, #hbBothFoundModal .hb-bf-rgo i{ transition:none; }
    #hbBothFoundModal .hb-bf-room:hover{ transform:none; }
}
#hbBothFoundModal .hb-bf-ptx .hb-bf-em{ display:inline; font-style:normal; color:#fff; font-weight:700; }
/* the rooms card with no room cards: its list and button sit like the account card's */
#hbBothFoundModal .hb-bf-rooms{ display:flex; flex-direction:column; }
#hbBothFoundModal .hb-bf-rooms #hbBfGuestBtn{ margin-top:auto; }
#hbBothFoundModal .hb-bf-gperks{ margin-bottom:16px; }
#hbBothFoundModal .hb-bf-gperks li i{ color:#e5c158; }
@media (max-width:480px){ #hbBothFoundModal .hb-bf-gperks{ display:block !important; } #hbBothFoundModal .hb-bf-gperks[style*="none"]{ display:none !important; } }
#hbBothFoundModal .hb-bf-why{
    display:flex; align-items:flex-start; gap:10px; margin:14px 0 0; padding:11px 14px;
    border-radius:14px; background:rgba(74,144,255,.08); border:1px solid rgba(120,170,255,.28);
    color:#cfdcf2; font-size:13.5px; line-height:1.5; text-align:left;
}
#hbBothFoundModal .hb-bf-why i{ flex:0 0 auto; margin-top:2px; color:#8fb8ff; }
#hbBothFoundModal .hb-bf-why b{ color:#fff; }
@media (max-width:480px){ #hbBothFoundModal .hb-bf-why{ font-size:13px; padding:10px 12px; margin-top:12px; } }
