/* DV3 · bro.com v3 blueprint, re-skinned per brand (dude: surf / casual-chic / bold; holydude: classy, cross, heavenly).
   Loaded after dv2.css only when DUDE_V3 is on. Re-themes every dv2 surface through the --ds-* tokens and styles the v3 home. */

/* ---------- 1. brand tokens ---------- */
html.dv3[data-brand="dude"] {
  --ds-bg: #fff8f0; --ds-surface: #ffffff; --ds-surface-2: #fdeee0; --ds-surface-3: #f8e0cc;
  --ds-ink: #0f2a3a; --ds-ink-2: #2e4a5a; --ds-ink-3: #4f6673; --ds-line: rgba(15, 42, 58, .09); --ds-line-2: rgba(15, 42, 58, .17);
  --ds-accent: #ff6a3d; --ds-accent-2: #ff8a4c; --ds-on-accent: #10202a; --ds-accent-soft: rgba(255, 106, 61, .12); --ds-accent-ink: #b8401a; --ds-accent-fill: #c2410c;
  --ds-glass: rgba(255, 248, 240, .88); --ds-hero-glow: none;
  --ds-font-display: "Archivo Black", "Inter", system-ui, sans-serif;
  --v3-teal: #0f9c97; --v3-teal-ink: #0b6f6b; --v3-navy: #0f2a3a; --v3-grad: linear-gradient(100deg, #ff5e3a 0%, #ff8a3d 55%, #ffb547 100%);
  --v3-script: "Kaushan Script", "Brush Script MT", cursive; --v3-panel: #ffffff; --v3-hair: rgba(255, 106, 61, .28);
}
html.dv3[data-brand="dude"][data-ds-theme="dark"] {
  --ds-bg: #0a1c27; --ds-surface: #0f2634; --ds-surface-2: #143243; --ds-surface-3: #1b3e52;
  --ds-ink: #fdf4ea; --ds-ink-2: rgba(253, 244, 234, .8); --ds-ink-3: rgba(253, 244, 234, .62); --ds-line: rgba(253, 244, 234, .1); --ds-line-2: rgba(253, 244, 234, .18);
  --ds-accent: #ff7a4a; --ds-accent-ink: #ffa27a; --ds-accent-fill: #c2410c; --ds-on-accent: #10202a; --ds-glass: rgba(10, 28, 39, .88); --v3-panel: #0f2634; --v3-navy: #fdf4ea; --v3-teal-ink: #4fd6cf;
}
html.dv3[data-brand="holydude"] {
  --ds-bg: #f7f9fe; --ds-surface: #ffffff; --ds-surface-2: #eef3fd; --ds-surface-3: #e1e9fa;
  --ds-ink: #0e1b3d; --ds-ink-2: #33415f; --ds-ink-3: #515e7c; --ds-line: rgba(14, 27, 61, .08); --ds-line-2: rgba(14, 27, 61, .16);
  --ds-accent: #2f5bea; --ds-accent-2: #234bd0; --ds-on-accent: #ffffff; --ds-accent-soft: rgba(47, 91, 234, .09); --ds-accent-ink: #2449c4; --ds-accent-fill: #2f5bea;
  --ds-glass: rgba(247, 249, 254, .9); --ds-hero-glow: none;
  --ds-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --v3-gold: #b8892c; --v3-gold-ink: #8a6417; --v3-navy: #0e1b3d; --v3-grad: linear-gradient(180deg, #e9c46e 0%, #c9962f 100%);
  --v3-script: "Cormorant Garamond", Georgia, serif; --v3-panel: #ffffff; --v3-hair: rgba(184, 137, 44, .35);
}
html.dv3[data-brand="holydude"][data-ds-theme="dark"] {
  --ds-bg: #0a1022; --ds-surface: #111a33; --ds-surface-2: #172344; --ds-surface-3: #1f2d55;
  --ds-ink: #f1f4fc; --ds-ink-2: rgba(241, 244, 252, .8); --ds-ink-3: rgba(241, 244, 252, .62); --ds-line: rgba(241, 244, 252, .09); --ds-line-2: rgba(241, 244, 252, .17);
  --ds-accent: #6b8cff; --ds-accent-ink: #a8bcff; --ds-accent-fill: #3d5bd9; --ds-on-accent: #0a1022; --ds-glass: rgba(10, 16, 34, .9); --v3-panel: #111a33; --v3-navy: #f1f4fc; --v3-gold-ink: #e9c46e;
}

/* ---------- 2. v3 replaces the v2 home blocks (the legacy content below stays) ---------- */
html.dv3 #b1#b1#b1 #dv2Guest, html.dv3 #p-dash#p-dash#p-dash #dv2Home, html.dv3 #fn1Home#fn1Home #dv2Home { display: none !important; }
html.dv3 #p-dash > #dv3Home { order: -999 !important; flex: 0 0 auto !important; width: 100%; display: block !important; }
html.dv3 #b1#b1 #dv3Guest { display: block !important; position: relative; left: 50%; width: 100vw; margin-left: -50vw; text-align: left; }
html.dv3.dv2-guest #b1#b1 :is(#wel2Card, #hdh1Eb, #b1H1, #hdh1Sub, .try1-wrap) { display: none !important; }
.v3-home { color: var(--ds-ink); font-family: var(--ds-font-sans); display: flex; flex-direction: column; gap: 28px; padding-bottom: 20px; }
.v3-home * { box-sizing: border-box; }
.v3-home :is(h1, h2, h3, p, b, small, li, button, a) { font-family: inherit; }
.v3-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.v3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--v3-grad); color: #fff; font: 800 15px/1 var(--ds-font-sans); letter-spacing: .02em; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
html.dv3[data-brand="dude"] .v3-btn { color: #1a1206; text-shadow: none; }
.v3-btn:hover { filter: brightness(1.05); }
.v3-link { background: none; border: 0; color: inherit; text-decoration: underline; font: 600 14px var(--ds-font-sans); cursor: pointer; padding: 8px 0; }

/* banner */
.v3-banner { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: stretch; }
.v3-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: 70% 50%; }
.v3-banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 30, .62) 0%, rgba(8, 20, 30, .28) 45%, rgba(8, 20, 30, 0) 70%); }
html.dv3[data-brand="holydude"] .v3-banner-bg { background-position: 75% 40%; }
html.dv3[data-brand="holydude"] .v3-banner-bg::after { background: linear-gradient(90deg, rgba(10, 22, 52, .58) 0%, rgba(10, 22, 52, .22) 45%, rgba(10, 22, 52, 0) 68%); }
.v3-banner-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.v3-banner-l { color: #fff; }
.v3-wm { display: flex; align-items: baseline; gap: 6px; line-height: .9; }
html.dv3[data-brand="dude"] .v3-wm-a { font: 400 clamp(64px, 11vw, 132px)/0.9 "Archivo Black", Impact, sans-serif; letter-spacing: -.02em; background: var(--v3-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
html.dv3[data-brand="dude"] .v3-wm-b { font: 400 clamp(26px, 4vw, 44px)/1 "Archivo Black", sans-serif; color: #fff; }
html.dv3[data-brand="holydude"] .v3-wm { align-items: center; gap: 14px; }
html.dv3[data-brand="holydude"] .v3-wm-a, html.dv3[data-brand="holydude"] .v3-wm-b { font: 700 clamp(54px, 9vw, 108px)/0.95 "Cormorant Garamond", Georgia, serif; color: #fff; text-shadow: 0 2px 16px rgba(10, 22, 52, .5); }
html.dv3[data-brand="holydude"] .v3-wm-b { color: #f3d48a; }
.v3-wm-cross { display: inline-block; width: clamp(26px, 4vw, 44px); aspect-ratio: 2 / 3; background: linear-gradient(#f6dc93, #c9962f); clip-path: polygon(40% 0, 60% 0, 60% 28%, 100% 28%, 100% 42%, 60% 42%, 60% 100%, 40% 100%, 40% 42%, 0 42%, 0 28%, 40% 28%); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.v3-tag { margin: 14px 0 6px; font: 400 clamp(24px, 3.4vw, 38px)/1.1 var(--v3-script); color: #ffd28a; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
html.dv3[data-brand="holydude"] .v3-tag { font-style: italic; font-weight: 600; color: #f3d48a; }
.v3-sub { margin: 0 0 18px; max-width: 34rem; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.v3-bul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 22px; }
.v3-bul li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.v3-bi { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v3-cta { background: var(--ds-glass); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--v3-hair); border-radius: 22px; padding: 24px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55); }
.v3-cta h2 { margin: 0 0 8px; font: 400 26px/1.1 var(--ds-font-display); color: var(--ds-ink); text-transform: none; }
html.dv3[data-brand="dude"] .v3-cta h2 { text-transform: uppercase; font-size: 22px; }
html.dv3[data-brand="holydude"] .v3-cta h2 { font-weight: 700; font-size: 30px; }
.v3-cta p { margin: 0 0 16px; color: var(--ds-ink-2); font-size: 15px; line-height: 1.5; }
.v3-cta .v3-btn { width: 100%; }
.v3-cta .v3-link { display: block; margin: 6px auto 0; color: var(--ds-ink-2); }

/* pillars */
.v3-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -54px; position: relative; z-index: 2; }
.v3-pillar { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; min-height: 132px; padding: 0; text-align: left; border-radius: 20px; overflow: hidden; border: 1px solid var(--v3-hair); background: var(--v3-panel); color: var(--ds-ink); cursor: pointer; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.v3-pillar:hover { transform: translateY(-3px); }
.v3-pil-img { background-size: cover; background-position: center; }
.v3-pil-tx { display: grid; align-content: center; gap: 6px; padding: 14px 16px; }
.v3-pil-tx b { font: 400 21px/1 var(--ds-font-display); text-transform: uppercase; color: var(--ds-ink); letter-spacing: .01em; }
html.dv3[data-brand="holydude"] .v3-pil-tx b { text-transform: none; font-weight: 700; font-size: 26px; }
.v3-pil-tx small { color: var(--ds-ink-3); font-size: 13.5px; line-height: 1.4; }

/* ask hero */
.v3-ask { position: relative; overflow: hidden; border-radius: 28px; margin: 0 auto; width: calc(100% - 2 * max(16px, env(safe-area-inset-left))); max-width: 1148px; }
.v3-ask-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; opacity: .55; }
.v3-ask-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ds-bg) 0%, color-mix(in srgb, var(--ds-bg) 55%, transparent) 40%, var(--ds-bg) 100%); }
.v3-ask-in { position: relative; text-align: center; padding-top: 44px; padding-bottom: 34px; max-width: 880px; }
.v3-h1 { margin: 0; font: 400 clamp(34px, 5.6vw, 64px)/1.02 var(--ds-font-display); color: var(--ds-ink); letter-spacing: -.01em; text-wrap: balance; }
html.dv3[data-brand="dude"] .v3-h1 { text-transform: uppercase; }
html.dv3[data-brand="holydude"] .v3-h1 { font-weight: 700; }
.v3-h1sub { margin: 10px auto 22px; color: var(--ds-ink-2); font-size: 17px; max-width: 36rem; }
.v3-box { text-align: left; background: var(--ds-surface); border: 1px solid var(--ds-line-2); border-radius: 22px; box-shadow: 0 26px 60px -36px rgba(0, 0, 0, .5); }
.v3-box:focus-within { border-color: var(--ds-accent); box-shadow: 0 26px 60px -36px rgba(0, 0, 0, .5), var(--ds-focus); }
.v3-home .v3-q { display: block; width: 100%; min-height: 84px; max-height: 220px; resize: none; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--ds-ink) !important; font: 17px/1.5 var(--ds-font-sans); padding: 18px 20px 6px; }
.v3-box-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px 14px; }
.v3-chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.v3-chips::-webkit-scrollbar { display: none; }
.v3-chip { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ds-line-2); background: var(--ds-surface); color: var(--ds-ink-2); font: 600 13.5px var(--ds-font-sans); cursor: pointer; white-space: nowrap; }
.v3-chip:hover, .v3-chip[aria-pressed="true"] { border-color: var(--ds-accent); color: var(--ds-ink); background: var(--ds-accent-soft); }
.v3-mic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ds-line-2); background: transparent; color: var(--ds-ink-2); display: grid; place-items: center; cursor: pointer; }
.v3-send { flex: 0 0 auto; min-height: 44px; }
.v3-trust { margin: 10px 0 0; font-size: 12.5px; color: var(--ds-ink-3); }
.v3-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.v3-tile { display: grid; justify-items: center; gap: 4px; padding: 14px 8px; border-radius: 16px; border: 1px solid var(--ds-line); background: var(--ds-surface); color: var(--ds-ink); cursor: pointer; font-family: var(--ds-font-sans); transition: transform .25s, border-color .2s; }
.v3-tile:hover { transform: translateY(-2px); border-color: var(--ds-accent); }
.v3-ti { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--ds-accent-soft); color: var(--ds-accent-ink); }
html.dv3[data-brand="dude"] .v3-tile:nth-child(even) .v3-ti { background: rgba(15, 156, 151, .12); color: var(--v3-teal-ink); }
html.dv3[data-brand="holydude"] .v3-ti { background: rgba(184, 137, 44, .12); color: var(--v3-gold-ink); }
.v3-tile b { font-size: 14px; } .v3-tile small { font-size: 12px; color: var(--ds-ink-3); }

/* crew (ORIGINAL character pictures) */
.v3-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.v3-sec-h h2 { margin: 0; font: 400 clamp(24px, 3vw, 34px)/1.1 var(--ds-font-display); color: var(--ds-ink); }
html.dv3[data-brand="dude"] .v3-sec-h h2 { text-transform: uppercase; }
html.dv3[data-brand="holydude"] .v3-sec-h h2 { font-weight: 700; }
.v3-sec-h p { margin: 0; color: var(--ds-ink-3); font-size: 14.5px; max-width: 40rem; }
.v3-crew-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.v3-face { display: grid; justify-items: center; gap: 3px; padding: 0 0 10px; border-radius: 18px; overflow: hidden; border: 1px solid var(--v3-hair); background: var(--v3-panel); color: var(--ds-ink); cursor: pointer; font-family: var(--ds-font-sans); text-align: center; transition: transform .25s; }
.v3-face:hover { transform: translateY(-3px); }
.v3-face-ph { position: relative; display: block; width: 100%; aspect-ratio: 2 / 2.4; overflow: hidden; background: #000; }
.v3-face-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.v3-ai { position: absolute; top: 8px; left: 8px; font: 800 10px/1 var(--ds-font-sans); letter-spacing: .08em; padding: 4px 7px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; }
.v3-face b { margin-top: 8px; font-size: 14px; } .v3-face small { font-size: 11.5px; color: var(--ds-ink-3); padding: 0 6px; line-height: 1.3; }

/* everything, grouped */
.v3-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.v3-group { border: 1px solid var(--ds-line); border-radius: 18px; background: var(--ds-surface); padding: 6px 16px 14px; }
.v3-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; min-height: 48px; }
.v3-group summary::-webkit-details-marker { display: none; }
.v3-group h3 { margin: 0; font: 400 19px var(--ds-font-display); color: var(--ds-ink); }
html.dv3[data-brand="dude"] .v3-group h3 { text-transform: uppercase; font-size: 16px; }
html.dv3[data-brand="holydude"] .v3-group h3 { font-weight: 700; font-size: 22px; }
.v3-group summary span { font-size: 12px; font-weight: 700; color: var(--ds-ink-3); background: var(--ds-surface-2); border-radius: 999px; padding: 3px 9px; }
div.v3-group h3 { padding: 12px 0 6px; }
.v3-glinks { display: flex; flex-wrap: wrap; gap: 6px; }
.v3-glinks :is(a, button) { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ds-line-2); background: var(--ds-surface); color: var(--ds-ink-2); font: 600 13px var(--ds-font-sans); text-decoration: none; cursor: pointer; }
.v3-glinks :is(a, button):hover { border-color: var(--ds-accent); color: var(--ds-ink); }

/* ---------- 3. phone: Ask first, then tiles, faces row, pillars as a list (bro v3 phone order) ---------- */
@media (max-width: 899px) {
  .v3-home { gap: 18px; }
  .v3-banner { min-height: 0; } .v3-banner-in { grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 26px; gap: 18px; }
  .v3-bul { display: none; } .v3-sub { font-size: 15px; margin-bottom: 0; }
  .v3-ask { order: -1; border-radius: 0; width: 100%; } .v3-ask-in { padding-top: 26px; padding-bottom: 20px; }
  .v3-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v3-pillars { grid-template-columns: 1fr; margin-top: 0; gap: 10px; } .v3-pillar { min-height: 96px; grid-template-columns: 34% 1fr; }
  .v3-crew-row { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .v3-crew-row::-webkit-scrollbar { display: none; }
  .v3-face { flex: 0 0 104px; }
  .v3-groups { grid-template-columns: 1fr; }
  .v3-cta { padding: 18px; }
}
@media (min-width: 900px) and (max-width: 1100px) { .v3-crew-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } .v3-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 4. the app ("back"): bold brand type on headings, cross mark in holydude's header ---------- */
html.dv3 #app#app#app#app :is(h1, h2), html.dv3 #app#app#app#app .pnl :is(h1, h2) { font-family: var(--ds-font-display) !important; }
html.dv3[data-brand="dude"] #app#app#app#app .pnl > :is(h1, h2):first-child { text-transform: uppercase; }
html.dv3 #bottomNav#bottomNav#bottomNav { border-top: 1px solid var(--v3-hair) !important; }
html.dv3[data-brand="holydude"] #app > .top { border-bottom: 1px solid var(--v3-hair) !important; }
html.dv3 #fn1More#fn1More#fn1More { background: var(--ds-bg) !important; }
html.dv3 #fn1More h2 { font-family: var(--ds-font-display) !important; }

/* ---------- 5. hold the v3 type and banner colours against the legacy page rules (#b1 landing and #app home) ---------- */
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-sub, .v3-bul li, .v3-bul li *) { color: #fff !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-tag { color: #ffd28a !important; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-tag { color: #f3d48a !important; font-family: "Cormorant Garamond", Georgia, serif !important; font-style: italic; font-weight: 600 !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-tag { font-family: "Kaushan Script", "Brush Script MT", cursive !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-wm-a, .v3-wm-b, .v3-h1, .v3-cta h2, .v3-sec-h h2, .v3-pil-tx b, .v3-group h3) { font-family: "Archivo Black", Impact, sans-serif !important; font-weight: 400 !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-a { color: transparent !important; -webkit-text-fill-color: transparent !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-b { color: #fff !important; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-wm-a, .v3-wm-b, .v3-h1, .v3-cta h2, .v3-sec-h h2, .v3-pil-tx b, .v3-group h3) { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important; font-weight: 700 !important; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-a { color: #fff !important; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-b { color: #f3d48a !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-h1, .v3-sec-h h2, .v3-pil-tx b, .v3-group h3, .v3-cta h2) { color: var(--ds-ink) !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-cta p, .v3-h1sub) { color: var(--ds-ink-2) !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-pil-tx small, .v3-tile small, .v3-face small, .v3-sec-h p, .v3-trust) { color: var(--ds-ink-3) !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-btn { color: #fff !important; background: var(--v3-grad) !important; border: 0 !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-btn { color: #1a1206 !important; }
/* holydude: keep the cross in view, the card sits under the words on the left */
@media (min-width: 900px) {
  html.dv3[data-brand="holydude"] .v3-banner-in { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  html.dv3[data-brand="holydude"] .v3-banner-l { grid-column: 1; }
  html.dv3[data-brand="holydude"] .v3-cta { grid-column: 1; max-width: 480px; }
  html.dv3[data-brand="holydude"] .v3-banner { min-height: 560px; }
  html.dv3[data-brand="holydude"] .v3-banner-bg { background-position: 68% 38%; }
}
/* one logo at a time: the small header logo hides while the big hero wordmark is visible (dv3.js) or the first paint is pending */
html.dv3-wm-vis #b1Top .b1-logo, html.dv3-wm-vis #app > .top .t-logo { visibility: hidden !important; opacity: 0; transition: opacity .2s; }
html.dv3 #b1Top .b1-logo, html.dv3 #app > .top .t-logo { transition: opacity .2s; }

/* ---------- 6. step 2: in-app banner header on every feature panel (scene + title) ---------- */
.v3-band { position: relative; display: block; min-height: 96px; margin: 10px 0 14px; border-radius: 20px; overflow: hidden; border: 1px solid var(--v3-hair); box-shadow: 0 16px 36px -24px rgba(0, 0, 0, .5); }
.v3-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.v3-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, color-mix(in srgb, var(--ds-bg) 35%, transparent)); }
html.dv3[data-brand="holydude"] .v3-band-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, color-mix(in srgb, var(--ds-bg) 35%, transparent)); }
html.dv3 #app#app#app#app .v3-band .v3-band-tx { position: relative; padding: 16px 20px; color: #fff !important; font: 400 clamp(22px, 3vw, 32px)/1.05 var(--ds-font-display) !important; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
html.dv3[data-brand="dude"] #app#app#app#app .v3-band .v3-band-tx { text-transform: uppercase; font-family: "Archivo Black", Impact, sans-serif !important; }
html.dv3[data-brand="holydude"] #app#app#app#app .v3-band .v3-band-tx { font-family: "Cormorant Garamond", Georgia, serif !important; font-weight: 700 !important; font-size: clamp(26px, 3.4vw, 38px) !important; }
@media (max-width: 639px) { .v3-band { min-height: 72px; border-radius: 16px; margin: 6px 0 10px; } }
/* app cards and tiles: brand hairlines, softer radius (bro v3 panels, lighter) */
html.dv3 #app#app .pnl:not(#p-games) :is(.card, .crd, .prof-sec, .fn1-week, .i13-ch):not([style*="background"]) { border-color: var(--v3-hair) !important; border-radius: 18px !important; }
html.dv3 #fn1More#fn1More .fn1-tile { border-color: var(--v3-hair) !important; }
html.dv3 #fn1More details > summary { font-family: var(--ds-font-display) !important; }
html.dv3[data-brand="dude"] #fn1More details > summary { text-transform: uppercase; letter-spacing: .02em; }
html.dv3[data-brand="holydude"] #fn1More details > summary { font-weight: 700 !important; font-size: 1.15rem !important; }
/* the chat: a calm brand backdrop behind the conversation */
html.dv3 #p-chat#p-chat { background: linear-gradient(180deg, color-mix(in srgb, var(--ds-accent) 6%, var(--ds-bg)) 0%, var(--ds-bg) 260px) !important; }
/* no "coming soon" (Todd 10-15) */
html.dv3 [data-f1-status="soon"], html.dv3 .f1-soon { display: none !important; }/* public landing sections below the v3 home (Taste, Plans, Why, Ideas, Share…): brand display type */
html.dv3[data-brand="dude"] #b1#b1#b1 :is(h2, h3.b1-h, .b1-sec h2):not(.v3-home *) { font-family: "Archivo Black", Impact, sans-serif !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .01em; }
html.dv3[data-brand="holydude"] #b1#b1#b1 :is(h2, h3.b1-h, .b1-sec h2):not(.v3-home *) { font-family: "Cormorant Garamond", Georgia, serif !important; font-weight: 700 !important; font-size: clamp(28px, 3.4vw, 40px) !important; }
/* ================= 7. dude.com = bro.com system in dude's bronze / charcoal (Todd's cast sheet), light and dark alike ================= */
html.dv3[data-brand="dude"], html.dv3[data-brand="dude"][data-ds-theme="dark"], html.dv3[data-brand="dude"][data-ds-theme="light"] {
  --ds-bg: #121214; --ds-surface: #1b1b1e; --ds-surface-2: #232327; --ds-surface-3: #2c2c31;
  --ds-ink: #f4ede4; --ds-ink-2: rgba(244, 237, 228, .8); --ds-ink-3: rgba(244, 237, 228, .62); --ds-line: rgba(244, 237, 228, .09); --ds-line-2: rgba(244, 237, 228, .17);
  --ds-accent: #c8894f; --ds-accent-2: #dba36b; --ds-on-accent: #17110b; --ds-accent-soft: rgba(200, 137, 79, .15); --ds-accent-ink: #e2ab74; --ds-accent-fill: #a5652c;
  --ds-glass: rgba(18, 18, 20, .9); --v3-panel: #1b1b1e; --v3-navy: #f4ede4; --v3-hair: rgba(205, 140, 80, .32); --v3-teal-ink: #e2ab74;
  --v3-grad: linear-gradient(180deg, #f3c58e 0%, #d58f4f 45%, #9b5a26 100%);
  --v3-bronze: linear-gradient(180deg, #ffe0b4 0%, #e3a465 35%, #b46a2e 62%, #e8a96a 100%);
  color-scheme: dark;
}
html.dv3[data-brand="dude"] body { background: #121214 !important; }
html.dv3[data-brand="dude"] #b1#b1#b1 { background: #121214 !important; }
/* hero: charcoal with the beach banner faded right, bronze wordmark, Jake big on the right */
html.dv3[data-brand="dude"] .v3-banner { min-height: 560px; }
html.dv3[data-brand="dude"] .v3-banner-bg { opacity: .32; filter: saturate(.8) contrast(1.05); }
html.dv3[data-brand="dude"] .v3-banner-bg::after { background: linear-gradient(90deg, #121214 8%, rgba(18, 18, 20, .55) 48%, rgba(18, 18, 20, .85) 100%); }
html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(260px, .8fr); align-items: end; }
html.dv3[data-brand="dude"] .v3-banner-l { align-self: center; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-a { background: var(--v3-bronze) !important; -webkit-background-clip: text !important; background-clip: text !important; font-size: clamp(64px, 9vw, 120px) !important; filter: drop-shadow(0 3px 0 #3a2210) drop-shadow(0 10px 22px rgba(0, 0, 0, .6)); font-style: italic; letter-spacing: -.01em; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-b { color: #f4ede4 !important; font-size: clamp(22px, 3vw, 34px) !important; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-tag { font-family: "Archivo Black", Impact, sans-serif !important; text-transform: uppercase; letter-spacing: .18em; font-size: clamp(16px, 1.8vw, 22px) !important; color: #f4ede4 !important; margin-top: 18px; }
html.dv3[data-brand="dude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-sub { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px !important; color: rgba(244, 237, 228, .72) !important; line-height: 2; max-width: 30rem; }
.v3-voice { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--v3-hair); background: rgba(200, 137, 79, .14); color: #f4ede4; font: 700 14px var(--ds-font-sans); cursor: pointer; }
.v3-hero-face { position: relative; align-self: stretch; padding: 0; border: 1px solid var(--v3-hair); border-radius: 22px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 2 / 3; max-height: 520px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.v3-hero-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-card-name { position: absolute; left: 14px; bottom: 34px; font: 400 clamp(30px, 3.4vw, 44px)/1 "Kaushan Script", "Brush Script MT", cursive; background: var(--v3-bronze); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .8)); }
.v3-hero-cap { position: absolute; left: 14px; bottom: 12px; font: 700 11px var(--ds-font-sans); letter-spacing: .14em; text-transform: uppercase; color: #f4ede4; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.v3-hero-face::after, .v3-card-ph::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); pointer-events: none; }
.v3-hero-face > span, .v3-card-ph > span { z-index: 2; }
html.dv3[data-brand="dude"] .v3-cta { background: rgba(27, 27, 30, .88); }
/* cinematic cast cards */
.v3-cast-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v3-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--v3-hair); background: var(--v3-panel); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .7); }
.v3-card-ph { position: relative; display: block; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 4 / 4.4; overflow: hidden; }
.v3-card-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.v3-card:hover .v3-card-ph img { transform: scale(1.04); }
.v3-card .v3-card-name { bottom: 10px; font-size: clamp(28px, 2.6vw, 38px); }
.v3-play { position: absolute; right: 10px; bottom: 12px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgba(18, 18, 20, .72); color: #f3c58e; border: 1px solid rgba(243, 197, 142, .5); }
.v3-playing .v3-play { background: #c8894f; color: #17110b; animation: v3pulse 1.2s ease-in-out infinite; }
@keyframes v3pulse { 50% { box-shadow: 0 0 0 8px rgba(200, 137, 79, .0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 137, 79, .5); } }
.v3-card-cap { display: flex; align-items: center; gap: 7px; padding: 10px 12px 6px; font: 700 10.5px/1.3 var(--ds-font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-ink-2); border-top: 1px solid var(--v3-hair); }
.v3-card-cap b { color: var(--ds-ink); } .v3-card-cap i { color: var(--v3-hair); font-style: normal; } .v3-card-cap span:last-child { font-weight: 600; }
.v3-card-ic { color: #e2ab74; display: inline-grid; }
html.dv3[data-brand="holydude"] .v3-card-ic { color: var(--v3-gold-ink); }
.v3-card-cta { margin: 6px 12px 12px; min-height: 40px; border-radius: 999px; border: 1px solid var(--v3-hair); background: transparent; color: var(--ds-ink); font: 700 13px var(--ds-font-sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.v3-card-cta:hover { background: var(--ds-accent-soft); border-color: var(--ds-accent); }
html.dv3[data-brand="holydude"] .v3-card .v3-card-name { background: linear-gradient(180deg, #fff6d8, #f0cf7f 55%, #c9962f); -webkit-background-clip: text; background-clip: text; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-style: italic; }
@media (max-width: 899px) {
  html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: 1fr; }
  .v3-hero-face { order: -1; max-height: 420px; width: 100%; aspect-ratio: 4 / 4.2; }
  .v3-cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v3-card-cap { font-size: 9.5px; letter-spacing: .08em; flex-wrap: wrap; }
  .v3-card .v3-card-name { font-size: 28px; }
}
@media (min-width: 900px) and (max-width: 1100px) { html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); } html.dv3[data-brand="dude"] .v3-cta { grid-column: 1 / -1; } }
/* less clutter: more air between the big sections */
html.dv3 .v3-home { gap: 44px; }
@media (max-width: 899px) { html.dv3 .v3-home { gap: 26px; } }/* dude hero: two columns (words + join card | Jake), bronze brush names everywhere */
@media (min-width: 900px) {
  html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important; grid-template-areas: "l face" "cta face"; align-items: center; row-gap: 22px; }
  html.dv3[data-brand="dude"] .v3-banner-l { grid-area: l; } html.dv3[data-brand="dude"] .v3-cta { grid-area: cta; max-width: 520px; } html.dv3[data-brand="dude"] .v3-hero-face { grid-area: face; max-height: 600px; }
  html.dv3[data-brand="dude"] .v3-pillars { margin-top: 0; }
}
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-card-name { font-family: "Kaushan Script", "Brush Script MT", cursive !important; font-weight: 400 !important; color: transparent !important; -webkit-text-fill-color: transparent !important; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-card-name { font-family: "Cormorant Garamond", Georgia, serif !important; font-weight: 700 !important; font-style: italic; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home :is(.v3-card-cap, .v3-card-cap *, .v3-hero-cap) { font-family: var(--ds-font-sans) !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-hero-cap { color: #f4ede4 !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-voice { color: #f4ede4 !important; }/* one set of share icons on the landing */
html.dv3.dv3-oneshare #b1 .b1-foot share-kit, html.dv3 #b1:has(#b1Share share-kit) .b1-foot share-kit { display: none !important; }
html.dv3 #b1Share [data-v3old] { display: none !important; }
/* dude is charcoal now: the light-on-dark logo everywhere */
html.dv3[data-brand="dude"] #b1Top .b1-logo img, html.dv3[data-brand="dude"] .wh1-top .wh1-logo img { content: url(/m3/logo-d-dark.svg) !important; }
html.dv3[data-brand="dude"] #app#app#app#app > .top .t-logo { background-image: url(/m3/logo-d-dark.svg) !important; }

/* ================= 8. holydude polish: cross hero with depth, slow god-rays and drifting light motes; Read / Watch / Laugh cards ================= */
html.dv3[data-brand="holydude"] .v3-banner { min-height: 600px; }
html.dv3[data-brand="holydude"] .v3-banner-bg { background-position: 72% 40%; transform: scale(1.04); animation: v3drift 40s ease-in-out infinite alternate; }
@keyframes v3drift { to { transform: scale(1.09) translate(-1.2%, -.8%); } }
.v3-rays { position: absolute; inset: 0; pointer-events: none; background: conic-gradient(from 200deg at 74% 34%, transparent 0deg, rgba(255, 236, 180, .18) 8deg, transparent 16deg, rgba(255, 236, 180, .12) 26deg, transparent 34deg, rgba(255, 236, 180, .16) 46deg, transparent 56deg); mix-blend-mode: screen; animation: v3rays 9s ease-in-out infinite alternate; }
@keyframes v3rays { from { opacity: .55; } to { opacity: 1; } }
.v3-dust { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(2px 2px at 20% 30%, rgba(255, 246, 220, .8), transparent 60%), radial-gradient(1.5px 1.5px at 60% 70%, rgba(255, 246, 220, .7), transparent 60%), radial-gradient(2px 2px at 80% 20%, rgba(255, 246, 220, .7), transparent 60%), radial-gradient(1.5px 1.5px at 40% 85%, rgba(255, 246, 220, .6), transparent 60%), radial-gradient(1.5px 1.5px at 90% 55%, rgba(255, 246, 220, .6), transparent 60%); background-size: 420px 420px; animation: v3dust 30s linear infinite; opacity: .7; }
@keyframes v3dust { to { background-position: 60px -420px, -40px -420px, 30px -420px, -60px -420px, 20px -420px; } }
@media (prefers-reduced-motion: reduce) { html.dv3 .v3-banner-bg, .v3-rays, .v3-dust { animation: none !important; } }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-a { font-size: clamp(58px, 9.5vw, 116px) !important; letter-spacing: -.01em; }
html.dv3[data-brand="holydude"] :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-sub { font-size: 18px !important; max-width: 32rem; line-height: 1.6; }
html.dv3[data-brand="holydude"] .v3-home { gap: 52px; }
html.dv3[data-brand="holydude"] .v3-pillar { min-height: 150px; }
/* Read / Watch / Laugh */
.v3-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v3-link-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--v3-hair); background: var(--v3-panel); color: var(--ds-ink); text-decoration: none; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.v3-link-card:hover { transform: translateY(-3px); }
.v3-lc-img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.v3-lc-tx { display: grid; gap: 6px; padding: 16px 18px 18px; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-lc-tx b { font: 700 26px/1.05 "Cormorant Garamond", Georgia, serif !important; color: var(--ds-ink) !important; }
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-lc-tx small { color: var(--ds-ink-3) !important; font-size: 14.5px; line-height: 1.45; }
.v3-lc-tx i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: var(--ds-accent-ink); }
@media (max-width: 899px) { .v3-links { grid-template-columns: 1fr; } .v3-lc-img { aspect-ratio: 16 / 7; } }

/* C5 POP: the site's own "Get the app" banner and "Turn on alerts" card wait for dv3.js (after the visitor engages, one, once a day) */
body > #pwaBanner:not(.dv3-pop), body > #inAppInstallBanner:not(.dv3-pop), body > #p1Card:not(.dv3-pop) { display: none !important; }
html body > #p1Card.dv3-pop-sm { max-width: 340px !important; padding: 10px 12px !important; font-size: 13.5px !important; border-radius: 14px !important; }
html body > #p1Card.dv3-pop-sm h4 { margin: 0 0 6px !important; font-size: 14.5px !important; }
html body > #p1Card.dv3-pop-sm > div:not(.p1-btns) { display: none !important; }
html body > #p1Card.dv3-pop-sm .p1-btns { margin-top: 0 !important; }
html body > #pwaBanner.dv3-pop-sm, html body > #inAppInstallBanner.dv3-pop-sm { max-width: 360px !important; padding: 8px 8px 8px 12px !important; gap: 10px !important; }
html body > #pwaBanner.dv3-pop-sm img { width: 32px !important; height: 32px !important; border-radius: 8px !important; }
html body > #pwaBanner.dv3-pop-sm .a1-bt { font-size: 0 !important; line-height: 1.2 !important; }
html body > #pwaBanner.dv3-pop-sm .a1-bt b { font-size: 14px !important; }
html body > #pwaBanner.dv3-pop-sm .a1-go { min-height: 38px !important; padding: 0 12px !important; }
@media (prefers-reduced-motion: no-preference) { .dv3-pop-sm { animation: dv3PopIn .28s ease-out both; } }
@keyframes dv3PopIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 699px) { html body > #p1Card.dv3-pop-sm, html body > #pwaBanner.dv3-pop-sm, html body > #inAppInstallBanner.dv3-pop-sm { top: calc(66px + env(safe-area-inset-top, 0px)) !important; bottom: auto !important; } }

/* LOGO5 (Todd 10-15 "the E at the end of DUDE is cut off"): text painted with background-clip:text only paints inside its own box, and the
   italic / script glyphs lean past it. Room on both sides (padding) that takes no space (negative margin), on every clipped wordmark. */
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-wm-a, html.dv3 .v3-wm-a { padding-inline: .08em .34em !important; margin-inline: -.08em -.34em !important; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html.dv3 .v3-wm { overflow: visible !important; }
html.dv3 .v3-card-name, html.dv3 .v3-card .v3-card-name { padding-inline: .06em .22em !important; margin-inline: -.06em -.22em !important; }
html.dv3 .v3-card-ph { overflow: hidden; }
/* HERO5: no portrait in the dude hero: wordmark + text left, the join card right; full-bleed scene (or the cinematic loop) behind */
html.dv3[data-brand="dude"] .v3-banner-bg { opacity: .62 !important; filter: saturate(.95) contrast(1.05) !important; }
html.dv3[data-brand="dude"] .v3-banner-bg::after { background: linear-gradient(90deg, rgba(18, 18, 20, .92) 0%, rgba(18, 18, 20, .55) 50%, rgba(18, 18, 20, .25) 100%), linear-gradient(0deg, rgba(18, 18, 20, .85), rgba(18, 18, 20, 0) 40%) !important; }
html.dv3[data-brand="dude"] .v3-banner.v3-has-vid .v3-banner-bg { opacity: 1 !important; }
.v3-hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .v3-hero-vid { display: none; } }
@media (min-width: 900px) {
  html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr) !important; grid-template-areas: "l cta" !important; align-items: end !important; row-gap: 22px; }
  html.dv3[data-brand="dude"] .v3-banner-l { grid-area: l; align-self: center; } html.dv3[data-brand="dude"] .v3-cta { grid-area: cta; max-width: 460px; justify-self: end; }
}
@media (max-width: 899px) { html.dv3[data-brand="dude"] .v3-banner-in { grid-template-columns: 1fr !important; grid-template-areas: none !important; } html.dv3[data-brand="dude"] .v3-banner { min-height: 0; } }
.v3-voice-cast { margin-top: 12px; }
/* NAMES5 (Todd "fonts in names of avatars are cut off"): the brush-script / italic names are painted with background-clip:text, which only
   paints inside the line box (line-height 1): the swashes above and below were cut. Taller paint box, same baseline. */
html.dv3 .v3-card-name, html.dv3 .v3-card .v3-card-name { line-height: 1.25 !important; padding-block: .14em .26em !important; bottom: calc(34px - .3em) !important; overflow: visible !important; }
html.dv3 .v3-wm-a { padding-block: .06em .1em !important; }
/* INTO5 (Todd: "the internet for what you are into ... should be on it"): the old site's line, back in the hero */
html.dv3 :is(#b1, #app):is(#b1, #app):is(#b1, #app) .v3-home .v3-into { margin: 14px 0 6px !important; font: 600 clamp(18px, 2.2vw, 26px)/1.25 var(--ds-font-sans, Inter, system-ui, sans-serif) !important; color: #f4ede4 !important; letter-spacing: .005em; max-width: 30ch; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
/* LIVECARDS: the calm loop over the still (same crop), fades in once it really plays; name / play / AI badges stay on top; the LIP4 canvas sits right after the video */
.v3-card-ph { position: relative; }
.v3-card-ph > video.v3-card-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.v3-card-ph > video.v3-card-v.on { opacity: 1; }
.v3-card-ph > :is(.v3-card-name, .v3-play, .v3-ai) { z-index: 2; }

/* HERO6 (Todd 10-20 "fix the dude.com header hero"): Todd's picked faces (Woman 4, Jake 2, Hank 2); faces never under the copy.
   Phone: the faces sit in their own band on top, the copy and the Join card below it. Desktop: faces kept clear above the Join card. */
html.dv3[data-brand="dude"] .v3-hero-vid { object-position: 62% 62%; }
html.dv3[data-brand="dude"] .v3-banner.v3-has-vid .v3-banner-bg { background-position: 62% 62%; }
@media (min-width: 900px) {
  html.dv3[data-brand="dude"] .v3-banner { min-height: clamp(500px, calc(100vh - 232px), 620px) !important; }
  html.dv3[data-brand="dude"] .v3-banner-bg::after { background: linear-gradient(90deg, rgba(18, 18, 20, .92) 0%, rgba(18, 18, 20, .6) 34%, rgba(18, 18, 20, .08) 56%, rgba(18, 18, 20, 0) 100%), linear-gradient(0deg, rgba(18, 18, 20, .75), rgba(18, 18, 20, 0) 26%) !important; }
  html.dv3[data-brand="dude"] .v3-banner-in { align-items: end !important; padding-bottom: 40px; }
  html.dv3[data-brand="dude"] .v3-banner-l { align-self: center; }
  html.dv3[data-brand="dude"] .v3-cta { padding: 18px 22px; background: rgba(22, 22, 25, .82); }
  html.dv3[data-brand="dude"] .v3-cta h2 { font-size: 19px; }
  html.dv3[data-brand="dude"] .v3-cta p { margin-bottom: 12px; }
}
/* r2 (tester 10-20): short desktop screens (1024x768, 1280x720, 1366x768): compact Join card so its top clears the chins */
@media (min-width: 900px) and (max-height: 860px) {
  html.dv3[data-brand="dude"] .v3-banner .v3-cta h2 { display: none; }
  html.dv3[data-brand="dude"] .v3-banner .v3-cta { padding: 14px 18px; max-width: 400px; }
  html.dv3[data-brand="dude"] .v3-banner-in { padding-bottom: 28px; }
}
/* r2: the faces-band layout covers phones AND tablets (<= 899 px) */
@media (max-width: 899px) {
  html.dv3[data-brand="dude"] .v3-banner { flex-direction: column; min-height: 0 !important; }
  html.dv3[data-brand="dude"] .v3-banner .v3-banner-bg { position: relative !important; inset: auto !important; flex: none; width: 100%; aspect-ratio: 39 / 20; opacity: 1 !important; filter: none !important; background-position: 50% 50% !important; }
  html.dv3[data-brand="dude"] .v3-banner .v3-banner-bg::after { background: linear-gradient(0deg, #121214 0%, rgba(18, 18, 20, .35) 22%, rgba(18, 18, 20, 0) 45%) !important; }
  html.dv3[data-brand="dude"] .v3-hero-vid { object-position: 50% 50%; }
  html.dv3[data-brand="dude"] .v3-banner-in { padding-top: 0 !important; padding-bottom: 20px !important; gap: 14px !important; margin-top: -26px; }
  html.dv3[data-brand="dude"] .v3-banner .v3-sub { display: none; }
  html.dv3[data-brand="dude"] .v3-banner .v3-cta { padding: 14px 16px; }
  html.dv3[data-brand="dude"] .v3-banner .v3-cta h2 { display: none; }
  html.dv3[data-brand="dude"] .v3-banner .v3-cta p { margin-bottom: 12px; font-size: 14.5px; }
  html.dv3[data-brand="dude"] .v3-banner .v3-cta .v3-link { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
}

/* DUDEFIX2 (visitor pass P1, 10-20): two button labels were invisible: "See plans" (white text on a white pill) and the newsletter
   "Sign up" (white text on a cream pill). dude.com only. */
html.dv3[data-brand="dude"] .b1-cta a.b1-btn:not(.pri) { background: transparent !important; color: #f4ede4 !important; -webkit-text-fill-color: #f4ede4 !important; border: 1px solid rgba(244, 237, 228, .5) !important; }
html.dv3[data-brand="dude"] .b1-cta a.b1-btn:not(.pri):hover { border-color: #e2ab74 !important; color: #e2ab74 !important; -webkit-text-fill-color: #e2ab74 !important; }
html.dv3[data-brand="dude"] #nlSignupForm button { background: #e2ab74 !important; color: #1a1208 !important; -webkit-text-fill-color: #1a1208 !important; border: 0 !important; font-weight: 700; min-height: 44px; }
