/* DIRTY HORSE — Nightfall v9.77 Live Chat Experience. Only on /live-chat/. */
body.dh-chat-v978{--dhc-bg:#07080a;--dhc-panel:#101115;--dhc-border:rgba(216,146,58,.25);--dhc-gold:#df973d;--dhc-ice:#ece8e1;--dhc-muted:#aaa5a1;background:#07080a;color:#f2eee9}
body.dh-chat-v978 .dh-chat-experience{background:radial-gradient(ellipse 58% 32% at 50% 1%,rgba(151,73,16,.14),transparent 80%),#07080a;position:relative;min-height:76vh;padding-bottom:70px;overflow:hidden}
body.dh-chat-v978 .dh-chat-experience:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.15;background-image:radial-gradient(#fff 0.6px,transparent .6px);background-size:18px 18px;mask-image:linear-gradient(#000,transparent 80%)}
.dh-chat-experience .wrap{max-width:1320px;position:relative;z-index:1}
.dh-chat-hero{position:relative;border-bottom:1px solid #50341c;background:linear-gradient(115deg,rgba(25,14,12,.68),rgba(5,6,8,.5) 55%,rgba(29,19,16,.6));overflow:hidden}
.dh-chat-hero-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);align-items:center;gap:36px;min-height:315px;padding-top:43px;padding-bottom:39px}
.dh-chat-hero-copy{position:relative;z-index:1}
.dh-chat-eyebrow,.dh-chat-aside-eyebrow{display:flex;align-items:center;gap:10px;color:#db9a48;font:800 12px/1.3 'Barlow Condensed',Impact,sans-serif;letter-spacing:.17em}
.dh-chat-pulse{width:9px;height:9px;background:#e29a3d;border-radius:50%;box-shadow:0 0 0 4px rgba(225,148,55,.14)}
.dh-chat-eyebrow-rule{display:inline-block;height:1px;width:19px;background:#c0843d}
.dh-chat-hero h1{margin:16px 0 13px;font:900 clamp(46px,6vw,93px)/.94 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;letter-spacing:-.018em;color:#fff;max-width:900px}
.dh-chat-hero h1 em,.dh-chat-sidecard h2 em{font-style:normal;color:#df973d}
.dh-chat-hero p{font-size:clamp(13px,1.23vw,16px);line-height:1.65;color:#cfcbc6;max-width:590px;margin:0}
.dh-chat-hero-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:24px}
.dh-chat-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:12px 18px;border:1px solid #87613b;text-decoration:none!important;font:900 16px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.045em;transition:transform .2s,border-color .2s,background-color .2s}
.dh-chat-button:hover,.dh-chat-button:focus-visible{transform:translateY(-2px)}
.dh-chat-button-primary{color:#090807!important;background:#dc9236;border-color:#e6a74f;box-shadow:0 9px 26px rgba(192,114,27,.18)}
.dh-chat-button-primary:hover{background:#efac53}
.dh-chat-button-soft{color:#fff!important;background:rgba(255,255,255,.055)}
.dh-chat-button-soft:hover{background:rgba(240,170,80,.12)}
.dh-chat-hero-visual{height:260px;min-width:0;position:relative;display:flex;justify-content:center;align-items:center;isolation:isolate}
.dh-chat-visual-ring{width:255px;height:255px;position:absolute;border-radius:50%;border:1px solid rgba(222,148,57,.28);box-shadow:0 0 55px rgba(222,148,57,.08),inset 0 0 46px rgba(222,148,57,.04);transform:rotate(-17deg)}
.dh-chat-visual-ring-two{width:205px;height:205px;border-style:dashed;border-color:rgba(222,148,57,.2);transform:rotate(22deg)}
.dh-chat-hero-artmark{font:italic 900 clamp(35px,4.2vw,59px)/.85 'Barlow Condensed',Impact,sans-serif;letter-spacing:-.035em;text-align:center;filter:drop-shadow(0 12px 25px #000);transform:rotate(-5deg);color:#fff;z-index:1}
.dh-chat-hero-artmark span{color:#df973d;display:block}
.dh-chat-hero-artmark small{display:block;font:800 10px/1.5 'Barlow Condensed',Impact,sans-serif;letter-spacing:.3em;color:#d7c9b4;margin-top:15px}
.dh-chat-visual-bars{position:absolute;bottom:13px;display:flex;align-items:center;gap:4px;height:22px;opacity:.6}
.dh-chat-visual-bars i{display:block;width:3px;height:12px;background:#de973b;border-radius:3px}
.dh-chat-visual-bars i:nth-child(2n){height:19px}.dh-chat-visual-bars i:nth-child(3n){height:7px}
.dh-chat-grid{display:grid;grid-template-columns:minmax(0,1fr) 286px;align-items:start;gap:22px;margin-top:29px}
.dh-chat-stage{min-width:0;border:1px solid #5c422a;background:linear-gradient(155deg,#131115,#090a0d 55%);box-shadow:0 20px 70px rgba(0,0,0,.35);border-radius:15px;overflow:hidden}
.dh-chat-stage-header{min-height:73px;background:linear-gradient(90deg,#1f1714,#131318);border-bottom:1px solid rgba(216,146,58,.3);display:flex;gap:13px;align-items:center;justify-content:space-between;padding:13px 20px}
.dh-chat-stage-ident{display:flex;align-items:center;gap:12px;min-width:0}
.dh-chat-stage-ident strong{font:900 22px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.05em;color:#fff;display:block}
.dh-chat-stage-ident small{display:block;margin-top:6px;color:#b0a6a1;font-size:11px}
.dh-chat-stage-light{flex:0 0 11px;height:11px;border-radius:50%;background:#e7a042;box-shadow:0 0 0 5px rgba(231,160,66,.13),0 0 20px rgba(231,160,66,.3)}
.dh-chat-stage-tool{border:1px solid rgba(223,151,61,.46);background:#221b19;color:#eee;padding:9px 13px;border-radius:8px;font:800 13px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.04em;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.dh-chat-stage-tool:hover,.dh-chat-stage-tool:focus-visible{background:#3b2a1c;border-color:#df973d}
.dh-chat-stage-tool[aria-pressed="true"]{background:#df973d;color:#10100f}
.dh-chat-plugin{padding:13px clamp(12px,2vw,23px) 18px;min-height:380px;color:#e9e4df}
/* Let shortcode content expand across the stage. Keep its internal IDs and event handlers intact. */
.dh-chat-plugin>:is(div,section,article){width:100%!important;max-width:none!important;margin-left:0;margin-right:0}
.dh-chat-plugin>:is(h1,h2){font:900 clamp(29px,3vw,41px)/1.1 'Barlow Condensed',Impact,sans-serif;margin:12px 0;color:#fff}
.dh-chat-plugin>:is(p,small){color:#bfb9b3;line-height:1.55}
.dh-chat-plugin :is(button,input[type="button"],input[type="submit"]){min-height:30px;line-height:1.2;letter-spacing:.01em;border-radius:6px;transition:background-color .16s,border-color .16s,transform .16s}
.dh-chat-plugin :is(button,input[type="button"],input[type="submit"]):hover{filter:brightness(1.16)}
.dh-chat-plugin :is(button,input[type="button"],input[type="submit"]):focus-visible,.dh-chat-plugin :is(input,textarea,select):focus-visible{outline:2px solid #f2ae51;outline-offset:2px}
.dh-chat-plugin :is(input[type="text"],input[type="email"],textarea){color:#f7f3ec;caret-color:#edab52;min-height:43px;border-radius:7px}
.dh-chat-plugin textarea{min-height:48px;resize:vertical}
.dh-chat-plugin select{min-height:35px;border-radius:6px;color:inherit}
.dh-chat-plugin a{overflow-wrap:anywhere}
.dh-chat-plugin [data-dh-chat-role="reaction"]{border-radius:9px!important;background:#232022!important;border-color:#534033!important;min-width:33px}
.dh-chat-plugin [data-dh-chat-role="moderator"]{border-radius:7px!important;border-color:#8a5536!important;background:#271d1c!important}
.dh-chat-plugin [data-dh-chat-role="reply"]{border-color:#8b653c!important;background:#28221d!important;color:#f5d8b3!important}
.dh-chat-plugin [data-dh-chat-role="send"]{min-height:42px!important;background:#d9943c!important;color:#13100d!important;font:900 16px/1 'Barlow Condensed',Impact,sans-serif!important;padding:10px 18px!important;border-radius:8px!important;border:1px solid #e5aa61!important}
.dh-chat-plugin [data-dh-chat-role="send"]:hover{background:#f0ac56!important}
.dh-chat-stage-footer{border-top:1px solid rgba(205,141,57,.19);padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#121014}
.dh-chat-stage-footer>span{font:800 12px/1.35 'Barlow Condensed',Impact,sans-serif;letter-spacing:.08em;color:#b5a79c}
.dh-chat-accent{color:#e0a24f}
.dh-chat-jump{background:transparent;border:0;color:#de9d4c;text-decoration:underline;text-underline-offset:4px;font:800 13px/1 'Barlow Condensed',Impact,sans-serif;white-space:nowrap}
.dh-chat-jump:hover{color:#fff}
.dh-chat-sidebar{display:grid;gap:15px}
.dh-chat-sidecard{border:1px solid rgba(217,146,58,.25);background:linear-gradient(140deg,#181417,#0e1014);border-radius:13px;padding:24px 20px;overflow:hidden}
.dh-chat-sidecard-welcome{background:radial-gradient(circle at 100% 0%,rgba(203,126,35,.21),transparent 65%),linear-gradient(140deg,#201616,#0f1014)}
.dh-chat-sidecard h2{font:900 clamp(29px,2.4vw,35px)/1 'Barlow Condensed',Impact,sans-serif;margin:17px 0 10px;color:#fff}
.dh-chat-sidecard p{color:#bfb5ad;font:400 13px/1.6 Montserrat,Arial,sans-serif}
.dh-chat-side-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:21px}
.dh-chat-side-pills span{border-radius:30px;background:#30241b;border:1px solid #594029;padding:6px 9px;color:#dfb278;font:800 11px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:.04em}
.dh-chat-rules ul{list-style:none;padding:0;margin:15px 0;display:grid;gap:14px}
.dh-chat-rules li{display:flex;align-items:start;gap:11px;color:#d3cdc6;font:500 12px/1.6 Montserrat,Arial,sans-serif}
.dh-chat-rules li span{font:900 15px 'Barlow Condensed',Impact,sans-serif;color:#e3a04c;padding-top:1px}
.dh-chat-rules small{display:block;font-size:11px;line-height:1.5;color:#a9a29d;padding-top:12px;border-top:1px solid rgba(210,151,79,.2)}
.dh-chat-side-link{display:flex;flex-direction:column;gap:9px;padding:20px;border:1px solid #75502e;border-radius:13px;background:#211916;text-decoration:none!important;transition:border-color .2s,transform .2s}
.dh-chat-side-link strong{color:#ddd0bc;font:800 11px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.12em}
.dh-chat-side-link span{font:900 21px 'Barlow Condensed',Impact,sans-serif;color:#e5a148}
.dh-chat-side-link:hover{border-color:#e5a148;transform:translateY(-2px)}
.dh-chat-bottomnote{font:500 11px/1.6 Montserrat,Arial,sans-serif;color:#9b9189;margin-top:24px!important;letter-spacing:.025em}
body.dh-chat-focus .dh-chat-hero,body.dh-chat-focus .dh-chat-sidebar,body.dh-chat-focus .dh-chat-bottomnote{display:none}
body.dh-chat-focus .dh-chat-grid{max-width:1450px;grid-template-columns:minmax(0,1fr);margin-top:22px}
body.dh-chat-focus .dh-chat-plugin{min-height:65vh}
body.dh-chat-focus .dh-chat-stage{border-color:#d99742}
@media(max-width:1000px){.dh-chat-grid{grid-template-columns:minmax(0,1fr) 238px;gap:14px}.dh-chat-stage-header{padding:12px 14px}.dh-chat-hero-layout{grid-template-columns:minmax(0,1fr) 240px}.dh-chat-hero-visual{transform:scale(.85)}}
@media(max-width:800px){.dh-chat-hero-layout{grid-template-columns:1fr;min-height:0;padding-top:35px;padding-bottom:32px}.dh-chat-hero-visual{display:none}.dh-chat-grid{grid-template-columns:1fr}.dh-chat-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-chat-side-link{grid-column:1/-1}.dh-chat-hero h1{font-size:clamp(44px,9vw,71px)}}
@media(max-width:580px){body.dh-chat-v978 .dh-chat-experience{padding-bottom:40px}.dh-chat-hero-layout{padding-top:24px;padding-bottom:24px}.dh-chat-hero h1{font-size:clamp(44px,12vw,60px);margin:13px 0}.dh-chat-eyebrow{font-size:10px;letter-spacing:.09em}.dh-chat-button{flex:1;min-width:125px;padding:12px;font-size:14px}.dh-chat-grid{margin-top:13px}.dh-chat-stage{border-radius:10px}.dh-chat-stage-header{min-height:62px;padding:12px 10px}.dh-chat-stage-ident strong{font-size:18px}.dh-chat-stage-ident small{font-size:10px}.dh-chat-stage-tool{font-size:11px;padding:9px}.dh-chat-stage-tool span{display:none}.dh-chat-plugin{padding:10px 8px 14px;min-height:380px}.dh-chat-plugin :is(button,input[type="button"]){min-height:34px}.dh-chat-stage-footer{flex-wrap:wrap;padding:12px;gap:11px}.dh-chat-sidebar{grid-template-columns:1fr}.dh-chat-sidecard{padding:19px 17px}.dh-chat-side-link{grid-column:auto}.dh-chat-bottomnote{margin-top:17px!important}}
@media(prefers-reduced-motion:reduce){.dh-chat-experience *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Modern, unobtrusive scrollbars for the existing message feed. */
.dh-chat-plugin .dh-chat-feed{scrollbar-width:thin;scrollbar-color:#966432 #151313}
.dh-chat-plugin .dh-chat-feed::-webkit-scrollbar{width:8px}
.dh-chat-plugin .dh-chat-feed::-webkit-scrollbar-track{background:#151313}
.dh-chat-plugin .dh-chat-feed::-webkit-scrollbar-thumb{background:#81552b;border-radius:20px}

/* Chat plugin v2.1 owns the compact emoji toolbar directly below the composer. */
.dh-chat-experience #dhchat-app .dhchat-emoji-tools{max-width:100%}

/* Nightfall v9.94 — approved clean Dirty Horse Live Chat wallpaper.
   Uses the exact moonlit roadhouse artwork with no fake UI mockup behind the real chat. */
body.dh-chat-v978{background:#040608!important}
body.dh-chat-v978 .dh-chat-experience{
 background-color:transparent!important;
 background-image:linear-gradient(rgba(3,6,9,.56),rgba(3,6,9,.62)),url('dirty-horse-live-chat-bg-v994.png')!important;
 background-position:center top!important;
 background-size:cover!important;
 background-repeat:no-repeat!important;
 background-attachment:fixed!important;
}
body.dh-chat-v978 .dh-chat-experience:before{display:none!important}
body.dh-chat-v978 .dh-chat-hero{background:linear-gradient(115deg,rgba(11,11,14,.70),rgba(5,7,10,.50) 55%,rgba(11,11,14,.70))!important}
body.dh-chat-v978 .dh-chat-stage,body.dh-chat-v978 .dh-chat-sidecard{backdrop-filter:blur(5px)}
@media(max-width:767px){body.dh-chat-v978 .dh-chat-experience{background-attachment:scroll!important;background-position:center top!important}}
