/* The Huddle v3: isolated, responsive styles; no impact on Scout or search filters. */
html body .huddle{--hd-bg:#101622;--hd-card:#151e2c;--hd-edge:#2a3546;--hd-text:#f2f6fc;--hd-muted:#a8b7c9;--hd-yellow:#ffc94a;--hd-green:#55e0b1;max-width:970px;margin:24px auto 80px;padding:0 18px;box-sizing:border-box;color:var(--hd-text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal;text-shadow:none;-webkit-text-stroke:0}
.huddle *, .huddle *:before,.huddle *:after{box-sizing:border-box}
.huddle a{color:inherit;text-decoration:none}
.huddle-header{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(116deg,#1b283b 0%,#121a29 74%);border:1px solid #334154;border-radius:19px;padding:25px 30px 24px;box-shadow:0 15px 35px rgba(0,0,0,.14)}
.huddle-kicker{color:var(--hd-yellow);font-size:11px;letter-spacing:.14em;font-weight:800;display:inline-flex;gap:8px;align-items:center}
.huddle-live-dot{width:8px;height:8px;border-radius:50%;background:var(--hd-yellow);box-shadow:0 0 0 4px rgba(85,224,177,.1)}
.huddle h1{font-size:clamp(35px,5vw,52px);font-weight:850;letter-spacing:-.055em;line-height:1.08;margin:7px 0 10px;color:#fff}.huddle-period{color:var(--hd-yellow)}
.huddle-header p{margin:0;color:#b7c6d9;font-size:14px;max-width:600px}
.huddle-community-status{display:flex;flex-direction:column;align-items:center;flex:0 0 105px;border-left:1px solid var(--hd-edge);padding-left:24px}
.huddle-community-status strong{font-size:31px;line-height:1.1;color:var(--hd-yellow);font-weight:850}.huddle-community-status span{color:var(--hd-muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.huddle-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:16px 0 22px}
.huddle-shortcut{min-width:0;display:flex;align-items:center;gap:12px;background:#151e2b;border:1px solid #2d3a4b;padding:13px 15px;border-radius:13px;transition:border-color .15s,transform .15s}
.huddle-shortcut:not(.huddle-soon):hover{border-color:var(--hd-yellow);transform:translateY(-1px)}
.huddle-shortcut-icon{width:37px;height:37px;flex:0 0 37px;display:flex;align-items:center;justify-content:center;background:#253448;border-radius:11px;color:var(--hd-yellow);font-size:21px}
.huddle-shortcut>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.huddle-shortcut b{font-size:13px;color:#f5f8ff;font-weight:750}.huddle-shortcut small{font-size:11px;color:var(--hd-muted)}
.huddle-chevron{margin-left:auto;font-size:18px;color:var(--hd-yellow)}.huddle-soon{opacity:.75}.huddle-soon-pill{border-radius:7px;padding:4px 6px;background:#243247;color:#c7d0dd;font-size:10px;font-weight:800;margin-left:auto}
.huddle-panel{background:#141d2b;border:1px solid #2e3b4d;border-radius:18px;overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.huddle-panel-top{padding:17px 24px;border-bottom:1px solid var(--hd-edge);display:flex;align-items:center;justify-content:space-between;gap:16px}
.huddle-panel-title{display:flex;align-items:center;gap:10px}.huddle-chat-mark{color:var(--hd-green);font-size:12px}.huddle h2{font-size:17px;font-weight:750;margin:0;color:#f3f6fd;letter-spacing:-.02em}
.huddle-review-link{font-size:12px;color:var(--hd-yellow)!important}.huddle-review-link:hover{text-decoration:underline}
.huddle-feed{min-height:190px}.huddle-message{display:flex;gap:13px;padding:17px 23px;border-bottom:1px solid #273343}
.huddle-avatar,.huddle-compose-avatar{flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#284f69,#216152);color:#ecfff8;font-size:14px;font-weight:750;display:flex;align-items:center;justify-content:center}
.huddle-message-main{flex:1;min-width:0}.huddle-message-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 13px}.huddle-message-meta strong{font-size:13px;color:#f1f5fb}.huddle-message-meta time{font-size:11px;color:#8da0b6}
.huddle-message-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:14px;color:#dfe8f3;line-height:1.56}
.huddle-message-actions{display:flex;gap:15px;align-items:center;margin-top:8px;color:var(--hd-muted);font-size:11px}.huddle-message-actions form{padding:0;margin:0;border:0;background:transparent}.huddle-message-actions button{font:inherit;color:#9fb0c6;padding:0;background:transparent;border:0;cursor:pointer}.huddle-message-actions button:hover{color:var(--hd-yellow)}.huddle-hidden{opacity:.55}.huddle-hidden-label{color:#ffadad;font-size:11px}
.huddle-empty{text-align:center;padding:32px 20px 36px;color:var(--hd-muted);display:flex;flex-direction:column;align-items:center;gap:3px}.huddle-empty>span{font-size:25px;color:var(--hd-green)}.huddle-empty strong{color:#f5f8fc}.huddle-empty p{margin:0;font-size:13px}
.huddle-pages{display:flex;justify-content:center;align-items:center;gap:18px;padding:13px 10px;border-bottom:1px solid var(--hd-edge);font-size:12px;color:var(--hd-muted)}.huddle-pages a{color:var(--hd-yellow)}
.huddle-composer{border-top:1px solid var(--hd-edge);padding:17px 22px 19px;background:transparent;scroll-margin-top:24px}
.huddle-compose-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px}.huddle-compose-heading strong{font-size:13px}.huddle-compose-heading span{font-size:11px;color:var(--hd-muted)}
.huddle-compose-form{display:flex;align-items:flex-end;gap:12px;margin:0;padding:0!important;background:transparent!important;border:0!important}
.huddle-compose-bar{display:flex;flex:1;min-width:0;align-items:flex-end;gap:11px;border:1px solid #516073;border-radius:12px;background:transparent!important;padding:5px 11px;transition:border-color .15s}
.huddle-compose-bar:focus-within{border-color:var(--hd-yellow)}.huddle-compose-avatar{height:32px;width:32px;flex-basis:32px;border-radius:50%;font-size:13px;align-self:center}
.huddle-compose-bar textarea{flex:1;width:100%;min-width:0;height:38px;min-height:38px;max-height:120px;resize:none;padding:8px 5px;background:transparent!important;color:#fff!important;border:0!important;outline:0!important;box-shadow:none!important;line-height:21px;font:14px/21px system-ui,-apple-system,sans-serif}
.huddle-compose-bar textarea::placeholder{color:#a5b3c5;opacity:1}.huddle-post-button{flex:0 0 auto;min-height:43px;background:var(--hd-yellow)!important;color:#101a2a!important;border:0;border-radius:10px;padding:10px 21px;font:800 13px/1 system-ui,-apple-system,sans-serif;cursor:pointer}.huddle-post-button:hover{background:#ffe08d!important}
.huddle-moderation-banner{display:flex;gap:18px;align-items:center;justify-content:space-between;background:#222332;border-bottom:1px solid #6e5736;padding:20px 23px}.huddle-moderation-banner>div{min-width:0}.huddle-moderation-label{display:block;color:var(--hd-yellow);font-weight:850;font-size:10px;letter-spacing:.14em;margin-bottom:5px}.huddle-moderation-banner strong{display:block;color:#fff;font-size:21px}.huddle-moderation-banner p{margin:4px 0 0;color:#c5d1df;font-size:12px}.huddle-moderation-banner a{flex-shrink:0;font-size:12px;font-weight:750;color:var(--hd-yellow);text-decoration:underline}.huddle-report-count{display:inline-block;min-width:18px;text-align:center;border-radius:99px;background:#594023;color:#fff;font-weight:850;padding:1px 5px}

.huddle-fine-print{color:#8497ae;font-size:11px;margin:10px 0 0}.huddle-notice{background:#45251d;border:1px solid #cc816f;color:#ffd6ca;padding:9px 12px;border-radius:8px;margin:0 0 11px;font-size:13px}
.huddle-signed-out{display:flex;align-items:center;justify-content:space-between;gap:18px}.huddle-signed-out p{font-size:13px;color:var(--hd-muted);margin:0}.huddle-signed-out strong{color:white}.huddle-signed-out>div{display:flex;gap:8px;white-space:nowrap;align-items:center}.huddle-signed-out a{font-size:13px;border:1px solid #627184;padding:9px 11px;border-radius:8px}.huddle-signed-out .huddle-register{border-color:var(--hd-yellow);background:var(--hd-yellow);color:#142032;font-weight:800}
.huddle-community-guideline{text-align:center;color:#8d9cb0;font-size:11px;margin:15px 0}.huddle-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){html body .huddle{padding:0 12px;margin:12px auto 60px}.huddle-header{padding:22px 19px}.huddle-community-status{flex-basis:78px;padding-left:12px}.huddle-shortcuts{gap:7px}.huddle-shortcut{padding:10px 9px;gap:7px}.huddle-shortcut-icon{width:29px;height:29px;flex-basis:29px;font-size:17px}.huddle-shortcut b{font-size:11px}.huddle-shortcut small{font-size:10px}.huddle-chevron{display:none}.huddle-soon-pill{font-size:9px;padding:3px 5px}}
@media(max-width:490px){.huddle-header{align-items:flex-start}.huddle-community-status{flex-basis:55px;padding-left:8px}.huddle-community-status strong{font-size:26px}.huddle-community-status span{font-size:10px}.huddle-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}.huddle-shortcut{flex-direction:column;align-items:flex-start}.huddle-shortcut>span:nth-child(2){width:100%}.huddle-shortcut-icon{margin-bottom:0}.huddle-soon-pill{margin:2px 0 0}.huddle-panel-top{padding:15px}.huddle-message{padding:14px 12px;gap:9px}.huddle-avatar{flex-basis:31px;width:31px;height:31px;border-radius:10px;font-size:12px}.huddle-composer{padding:15px 10px}.huddle-compose-bar{gap:5px;padding:5px}.huddle-compose-avatar{display:none}.huddle-post-button{padding:10px 15px}.huddle-signed-out{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.huddle-shortcut{transition:none}}

@media(max-width:490px){.huddle-compose-form{gap:8px}.huddle-compose-bar{padding:3px 9px}.huddle-moderation-banner{flex-direction:column;align-items:flex-start;padding:16px}.huddle-post-button{min-height:42px}}
/* Match My Picks' outer dark panel spacing */
html body main.huddle {
    padding-top: 28px;
    padding-bottom: 28px;
    border-radius: 18px;
}

@media (max-width: 700px) {
    html body main.huddle {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
/* Fix The Huddle comment box on mobile */
@media (max-width: 650px) {
    html body .huddle .huddle-compose-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: none;
    }

    html body .huddle .huddle-compose-bar {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }

    html body .huddle .huddle-compose-bar textarea {
        width: 100%;
        min-width: 0;
    }

    html body .huddle .huddle-post-button {
        flex: 0 0 auto;
        width: 120px;
        margin: 0;
        align-self: flex-end;
    }
}
/* Huddle composer — responsive alignment fix */
html body .huddle .huddle-compose-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: end;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
}

html body .huddle .huddle-compose-bar {
    width: 100%;
    min-width: 0;
}

html body .huddle .huddle-post-button {
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: auto;
}

/* Tablets and mobile: stack input above button */
@media (max-width: 800px) {
    html body .huddle .huddle-compose-form {
        grid-template-columns: minmax(0, 1fr);
    }

    html body .huddle .huddle-post-button {
        width: 120px;
        justify-self: end;
    }
}


/* Huddle member identity presets, v1 */
html body .huddle-avatar-emoji{font-size:22px;line-height:1;flex-shrink:0}
@media(max-width:490px){html body .huddle-avatar-emoji{font-size:19px}}


/* Huddle image avatars v2; styles scoped to community comments only. */
html body .huddle-avatar-image{overflow:hidden;padding:0;background:#1b2940}
html body .huddle-avatar-image img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}

/* Compact leaderboard badge in the Huddle title card. */
.huddle-header-tools{display:flex;flex-direction:column;align-items:flex-end;align-self:stretch;justify-content:space-between;gap:12px;flex-shrink:0}
.huddle-header .huddle-leaderboard-compact{padding:7px 9px;gap:7px;border-radius:10px}
.huddle-header .huddle-leaderboard-compact .huddle-shortcut-icon{width:24px;height:24px;flex-basis:24px;border-radius:7px;font-size:15px}
.huddle-header .huddle-leaderboard-compact b{font-size:11px}
.huddle-header .huddle-leaderboard-compact small{font-size:9px}
.huddle-header .huddle-leaderboard-compact .huddle-soon-pill{font-size:8px;padding:3px 4px;margin:0}
@media(max-width:490px){.huddle-header{gap:10px}.huddle-header .huddle-leaderboard-compact{flex-direction:row;align-items:center;padding:6px;gap:5px}.huddle-header .huddle-leaderboard-compact>span:nth-child(2){width:auto}.huddle-header .huddle-leaderboard-compact .huddle-shortcut-icon,.huddle-header .huddle-leaderboard-compact small{display:none}}

/* Huddle community promo: small blended feature, not a full-page poster.
   Uses the same approved neon art as the homepage; scoped to The Huddle only. */
html body .huddle .huddle-community-promo {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 222px;
    margin: 15px 0 16px;
    padding: 21px 25px;
    overflow: hidden;
    border: 1px solid #a733c7;
    border-radius: 16px;
    background: #101021;
    box-shadow: 0 0 15px #b62dce35, 0 10px 25px #0005;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-text-stroke: 0;
}
html body .huddle .huddle-community-promo::before {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    inset: 0 0 0 36%;
    background: url('Images/Branding/huddle_promo_neon_right.webp') right 60% / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #0001 18%, #0006 43%, #000d 76%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #0001 18%, #0006 43%, #000d 76%, #000 100%);
}
html body .huddle .huddle-community-promo-copy {
    position: relative;
    z-index: 1;
    flex: 0 1 59%;
    min-width: 0;
    max-width: 540px;
}
html body .huddle .huddle-community-promo-kicker {
    color: #7cff4b;
    font: 800 11px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .12em;
}
html body .huddle .huddle-community-promo h2 {
    margin: 8px 0 9px;
    color: #f8eaff;
    font: 900 clamp(21px, 3vw, 29px)/1.14 Arial, Helvetica, sans-serif;
    letter-spacing: -.025em;
    -webkit-text-stroke: 0;
}
html body .huddle .huddle-community-promo p {
    margin: 0 0 15px;
    color: #e2d9ed;
    font: 400 14px/1.45 Arial, Helvetica, sans-serif;
}
html body .huddle .huddle-community-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
html body .huddle .huddle-community-promo-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    box-sizing: border-box;
    border-radius: 8px;
    text-decoration: none;
    font: 800 13px/1.25 Arial, Helvetica, sans-serif;
}
html body .huddle .huddle-community-promo-create { background: #62f525; color: #081409; border: 2px solid #62f525; }
html body .huddle .huddle-community-promo-join { background: #25072e; color: #fff; border: 2px solid #d946ef; }
html body .huddle .huddle-community-promo-create:hover { background: #b8ffa0; }
html body .huddle .huddle-community-promo-join:hover { background: #4c145e; }
html body .huddle .huddle-community-promo-actions a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* At phone widths show ALL the approved square art with no distortion/cropping.
   Fade its lower edge into the text area; HTML links remain genuine buttons. */
@media (max-width: 620px) {
    html body .huddle .huddle-community-promo {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        margin: 12px 0 14px;
        padding: 0;
    }
    html body .huddle .huddle-community-promo::before {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 745 / 719;
        background-position: center;
        background-size: contain;
        -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
    }
    html body .huddle .huddle-community-promo-copy {
        flex: none;
        max-width: none;
        width: 100%;
        box-sizing: border-box;
        padding: 0 17px 19px;
        margin-top: -8px;
    }
    html body .huddle .huddle-community-promo h2 { font-size: 21px; }
    html body .huddle .huddle-community-promo p { font-size: 13px; }
    html body .huddle .huddle-community-promo-actions a { flex: 1 1 130px; }
}
