/* DFIN2 (DUDE-FINISH2 11-30, Todd: "Dude.com and HolyDude.com finished... perfect, polished"). One overlay for the legacy dude/holydude pages:
   one header logo, white frosted-glass cards (Todd 11-24: no black panels), sign-up sheet title clear of the X, 404 card centred.
   Off: touch /home/dude/dfin2-off, or ?dfin2=0 on one load. Undo: bash /root/dfin2c.sh undo */

/* ---------- 1. one logo: the home's DUDE.com mark everywhere on dude.com ---------- */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) img.dfin2-logo-img{content:normal!important;height:26px!important;width:auto!important;max-width:none!important;display:block!important;filter:none!important}
@media (min-width:900px){html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) img.dfin2-logo-img{height:30px!important}}
a.dfin2-logo{position:absolute;left:16px;top:15px;z-index:5;display:flex;align-items:center;min-height:30px;line-height:0;text-decoration:none!important}
@media (min-width:900px){a.dfin2-logo{left:24px;top:14px}}

/* ---------- 2. white frosted-glass cards on dude.com's dark pages (hub + games + arcade) ---------- */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-cta,.v3-pillar,.v3-box,.v3-tile,.v3-card,.wel1-in,.b1-say,.ht1-row,.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1,.dfin2-card){
  background:rgba(255,255,255,.9)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);
  border:1px solid rgba(255,255,255,.7)!important;color:#15171c!important;box-shadow:0 14px 34px -20px rgba(0,0,0,.7)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-cta,.v3-pillar,.v3-box,.v3-tile,.v3-card,.wel1-in,.b1-say,.ht1-row,.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1,.dfin2-card) :is(h1,h2,h3,h4,h5,b,strong,label,legend,span,div,li,i,em,a:not([class*="btn"]):not([class*="play"])){color:#15171c!important;text-shadow:none!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-cta,.v3-pillar,.v3-box,.v3-tile,.v3-card,.wel1-in,.b1-say,.ht1-row,.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1,.dfin2-card) :is(p,small){color:#454a56!important;text-shadow:none!important}
/* picture areas keep their own dark frame and light lettering */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-card-ph,.ar-gc-m,.ar-hero-m),html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-card-ph,.ar-gc-m,.ar-hero-m) *{color:#fff}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body .v3-card-ph :is(span,b,i,div,em){color:inherit!important}
/* inputs inside the white cards */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-box,.wel1-in) :is(textarea,input:not([type="hidden"])){background:#fff!important;color:#15171c!important;border:1px solid rgba(21,23,28,.16)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-box,.wel1-in) :is(textarea,input)::placeholder{color:#6b7080!important}
/* outline buttons and chips inside the cards: dark ink */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.v3-card,.v3-cta,.wel1-in,.b1-say,.ht1-row,.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1,.v3-box) :is(button,a):not([class*="btn"]):not([class*="play"]):not([style*="background"]){color:#15171c!important;border-color:rgba(21,23,28,.22)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1) :is(.ar-b:not(.feat):not(.acc),.ar-chip,.ar-tag){color:#2b2f38!important;border:1px solid rgba(21,23,28,.12)!important;background:rgba(21,23,28,.05)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.ar-gc,.ar-hero,.ar-opp,.ar-mature,.dt2-mis,.f1-card,.vn1) .ar-b.acc{color:#7a4a1f!important;border-color:rgba(122,74,31,.45)!important;background:rgba(219,163,107,.10)!important}

/* chips in the ask box, the speaker's name, the floating "Hey dude" composer */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body .v3-box .v3-chip{background:rgba(21,23,28,.06)!important;color:#15171c!important;border:1px solid rgba(21,23,28,.14)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body .b1-say #b1SayName{color:#8a5a2b!important;-webkit-text-fill-color:#8a5a2b!important;background:none!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body form.b1-box{background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border:1px solid rgba(255,255,255,.7)!important;color:#15171c!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body form.b1-box textarea{background:transparent!important;color:#15171c!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body form.b1-box textarea::placeholder{color:#5d6270!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body form.b1-box button:not([class*="mic"]):not([id*="Mic"]):not([id*="mic"]){color:#15171c!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body form.b1-box button svg{color:inherit}

/* content pages (features, contact): their .card boxes are white glass too; fields inside are white */
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff):not(.lt1-app) body :is(main,.wrap,section,article) .card:not(.nd-card){background:rgba(255,255,255,.9)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border:1px solid rgba(255,255,255,.7)!important;color:#15171c!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff):not(.lt1-app) body :is(main,.wrap,section,article) .card:not(.nd-card) :is(h1,h2,h3,h4,b,strong,label,span,div,li,a:not(.cta):not([class*="btn"])){color:#15171c!important;text-shadow:none!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff):not(.lt1-app) body :is(main,.wrap,section,article) .card:not(.nd-card) :is(p,small){color:#454a56!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.card,.vn1,.dt2-mis,.f1-card) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select){background:#fff!important;color:#15171c!important;border:1px solid rgba(21,23,28,.18)!important}
html[data-brand="dude"]:not(#dfa):not(#dfb):not(#dfc):not(#dfd):not(#dfe):not(#dff) body :is(.card,.vn1) :is(input,textarea)::placeholder{color:#6b7080!important}

/* ---------- 3. sign-up / sign-in sheet: the title never runs under the close X ---------- */
#authSheet .dfin2-sheet-t{padding-left:64px!important;padding-right:64px!important}
#authSheet .dfin2-sheet-t>div:first-child{font-size:clamp(18px,5vw,22px)!important}

/* ---------- 4. 404 + newsletter card: centred ---------- */
#nlSignup{text-align:center!important}
#nlSignup form{justify-content:center!important}
#nlSignup .nl13-ts:empty{min-height:0!important}
html[data-brand="dude"] main>a.home[href="/"]{background:linear-gradient(180deg,#e2ab74,#c8894f)!important;color:#17110b!important;border:0!important}

/* ---------- 5. /pricing.php: the same logo as every other page (the page printed the name as plain text) ---------- */
html[data-dfin2="dude"] .dp-h{background:rgba(8,11,17,.92)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
html[data-dfin2="dude"] .dp-h .dp-nav a.home{color:#f4ede4!important;background:transparent!important;border:1px solid rgba(244,237,228,.28)!important}
html[data-dfin2] .dp-h a.dp-brand{display:block!important;flex:0 0 auto;height:30px;font-size:0!important;line-height:0!important;color:transparent!important;background:url(/dude-world/brand/dude-logo.svg) left center/auto 26px no-repeat;width:94px}
html[data-dfin2] .dp-h a.dp-brand>*{display:none!important}
html[data-dfin2="holy"] .dp-h a.dp-brand{background-image:url(/b1/logo-hd-halo.svg);background-size:auto 28px;width:136px}

/* ---------- 6. holydude.com light pages: the floating "Ask" bar is light too (it was a navy band) ---------- */
html[data-dfin2="holy"]:not(#dfa):not(#dfb):not(#dfc) body #cb3Pub{background:rgba(255,255,255,.92)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border-top:1px solid rgba(14,27,61,.10)!important;box-shadow:0 -10px 30px -20px rgba(14,27,61,.35)!important}
html[data-dfin2="holy"]:not(#dfa):not(#dfb):not(#dfc) body #cb3Pub input{border:1px solid rgba(14,27,61,.18)!important;color:#0e1b3d!important}
