/* BRO2KIT WORLD6A (CITY-WORLD6 11-16): the HolyDude.com intro (Todd's words), the one house-rules line + "How chat and safety work",
 * the bro.com mark in loading states, the forward chevron hidden under open sheets, the street-photo pause chip and photo date. Plain ASCII. */
.w6-logo{display:inline-block;height:32px;vertical-align:middle}
#load .loadbox .w6-logo{height:44px;margin:0 auto 10px;display:block;width:max-content}
#pre header.top a.brand{display:inline-flex;align-items:center;height:32px}

/* intro (static page and inside the setup3 card) */
.hero .w6-chips,.s3-top .w6-chips{margin:10px 0 0;font:700 14px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--s3-gold2,#f6d27a);letter-spacing:.01em}
.hero .w6-sub,.s3-top .w6-sub{margin:8px 0 0;font:500 16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--s3-ink,#f3eee4);max-width:70ch}
.w6-lines{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.w6-lines li{display:flex;gap:10px;align-items:flex-start;font:400 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--s3-mut,#b9b3a8)}
.w6-lines li p{margin:0}
.w6-lines li b{color:var(--s3-ink,#f3eee4);font-weight:700}
.w6-lines li svg{flex:0 0 20px;width:20px;height:20px;color:var(--s3-gold2,#f6d27a);margin-top:1px}
.s3-top .w6-pick,.enterbar .w6-pick{margin:10px auto 0;display:block;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--s3-line,rgba(255,255,255,.22));background:transparent;color:var(--s3-ink,#f3eee4);font:600 15px system-ui,sans-serif;cursor:pointer}
.enterbar .w6-pick:hover{border-color:var(--s3-gold,#f5b800)}
.w6-what{margin:8px 0 0}
.w6-what > summary{cursor:pointer;font:600 13.5px system-ui,sans-serif;color:var(--s3-gold2,#f6d27a);min-height:32px;display:inline-flex;align-items:center}
.w6-cityline{margin:0 0 6px;text-align:center;font:600 15px/1.3 system-ui,sans-serif;color:var(--s3-ink,#f3eee4)}
.w6-cityline[hidden]{display:none}
.w6-how{margin:10px 0 0}
.w6-how > summary{cursor:pointer;font:600 14px system-ui,sans-serif;color:var(--s3-ink,#f3eee4);min-height:36px;display:flex;align-items:center}
.w6-how h3{font-size:15px;margin:12px 0 6px}
.w6-how .card{background:transparent;border:0;padding:0;margin:0}
.w6-how .soc-howgrid{display:grid;gap:8px}
.w6-how ul.rules{font-size:13px;line-height:1.45;padding-left:18px}
.w6-priv{font-size:12px;color:var(--s3-mut,#b9b3a8)}
/* the intro must leave Enter above the fold: short desktops get the compact intro (titles only, no duplicate summary) */
@media (min-width:1100px) and (max-height:900px){
  .s3-top .w6-lines{grid-template-columns:repeat(4,max-content);gap:4px 22px;margin-top:8px}
  .s3-top .w6-lines li span{display:none}
  .s3-top .w6-sub{font-size:14.5px;line-height:1.4;max-width:none}
  .s3-top{padding-top:16px}
  html.s3on .s3-go-sum,html.s3on #setup .g-go > h2{display:none}
}
@media (min-width:1100px) and (max-width:1599px){html.s3on .s3-place{display:none}}
@media (max-width:1099px){
  html.s3on .s3-card:has(.w6-sub){max-height:calc(100dvh - 84px)}
  html.s3on #pre:has(.s3-top .w6-sub) .s3-place{display:none}
}
@media (max-width:560px){
  html.s3on .s3-eye{display:block!important;font-size:11px!important;margin-bottom:2px}
  html.s3on .s3-top h1{display:block!important;font-size:17px;line-height:1.2}
  .s3-top .w6-sub{font-size:13px;line-height:1.35;margin-top:4px}
  .s3-top .w6-chips{font-size:12.5px;margin-top:6px}
  .s3-top .w6-lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;margin-top:6px}
  .s3-top .w6-lines li{font-size:12px}
  .s3-top .w6-lines li span{display:none}
  .s3-top .w6-lines li svg{flex-basis:16px;width:16px;height:16px}
  .enterbar .w6-pick{min-height:40px;font-size:14px;margin-top:6px}
}

/* SHEETCHEV1: no walk chevron / stick over an open sheet; the feed bar never shows through a sheet */
body.w6-sheet #game .svfwd,body.w6-sheet #stick{display:none!important}
body.w6-sheet #game .lv-tick,body.w6-sheet #game .pk-cred,body.w6-sheet #game .cam-btn{visibility:hidden!important}   /* VD2 09:52Z: the park credit and the Live cams chip never over a card */
/* CARDDOCK1 (VD2 09:44Z TS phone: the business card ran under the dock): on phones the card ends above the dock and scrolls inside */
@media (max-width:699px){
  #game .bz-sheet{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--clb,0px) + 86px)!important;max-height:calc(100dvh - max(10px,env(safe-area-inset-bottom)) - var(--clb,0px) - 86px - 120px)!important;overflow:auto!important;overscroll-behavior:contain}
}

/* street photos paused (429 / busy) and the photo's capture date */
#game .svpause{position:absolute;z-index:75;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top) + 118px);padding:7px 14px;border-radius:999px;background:rgba(7,11,18,.82);color:#f3eee4;font:600 13px/1.2 system-ui,sans-serif;border:1px solid rgba(246,210,122,.55);pointer-events:none;white-space:nowrap;max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis}
#game .svpause[hidden],#game.sv .svpause,#game.svjs-on .svpause{display:none}
#game .svjsdate{position:absolute;z-index:6;right:12px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--clb,0px) + 4px);padding:2px 8px;border-radius:6px;background:rgba(0,0,0,.5);color:#eee;font:11px/1.4 system-ui,sans-serif;pointer-events:none}
#game:not(.svjs-on) .svjsdate,#game .svjsdate:empty{display:none}
body.touch #game .svjsdate{bottom:calc(max(10px,env(safe-area-inset-bottom)) + 96px)}
/* W8UI1 OSMCRED1 (CITY-WORLD8 11-16): the map credit line never sits on a sheet or the buddy card; in Photo-real only "Map data (c) OpenStreetMap" stays */
#game:has(.cl-sheet) .osm,#game:has(.cl-buddy) .osm{visibility:hidden}
#game.photo .osm .osm-x{display:none}
/* W9UI1 INNAME1 (CITY-WORLD9 11-16): "Go inside" + the place's full name on a small second line, cut cleanly with an ellipsis */
#game .w5-in{text-align:left;line-height:1.15}
#game .w5-in .w9-dn{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;opacity:.85}
/* OSMCRED1b: the map credit never sits on a place card */
#game:has(.svplace:not([hidden])) .osm,#game:has(.bz-sheet) .osm{visibility:hidden}

/* VD1 (VISUAL-DESIGNER 11-16) ---------------------------------------------------------------------------------------------
 * ARRIVE1: the "You're in X" card sat on top of the "Loading the real X..." card and over your own person; it now sits just above it. */
#game .cl-arrive{top:auto;bottom:calc(50% + 44px)}
/* PKCRED1: the park waits credit is a quiet line under the right-hand buttons, not a loud link touching the music button */
#game .pk-cred{top:calc(env(safe-area-inset-top) + 172px);font-size:10px;background:rgba(7,11,18,.55);padding:2px 7px}
#game .pk-cred a{color:rgba(243,238,228,.72);text-decoration:none}
/* HERO1: Todd's headline breaks evenly (no lone "Live!" line); the line under it is centred */
.hero h1{text-wrap:balance}
.hero .w6-sub{margin-left:auto;margin-right:auto}
/* TLSPACE1 (Todd: "the button spacing ... upper left side on desktop"): the Go inside / Places here / Rides column starts 9 px under the
 * clock + LIVE cams row (it touched it, 3 px), 10 px between pills, left edges lined up at 12 px with the clock row */
@media (min-width:761px){
  #game #bp-tl{top:calc(max(10px,env(safe-area-inset-top)) + 136px);gap:10px;left:12px}
}
/* PANEL1: the Me menu is above the top-left buttons (Go inside / Places here / Rides) and ends above the dock on phones */
#panel:not([hidden]){z-index:26}
@media (max-width:640px){
  #panel{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--clb,0px) + 86px)}
  /* SHEET1 (B8): phone sheets leave the top of the city visible, keep their title + close in view while scrolling, and show a grab ba
   * (drag it down to close); they stop short of the right edge so the round Report-a-bug button never sits on a tile (B33). */
  #game .cl-sheet{max-height:min(72dvh,calc(100% - 170px));left:8px;right:40px;width:auto;transform:none}
  #game .cl-sheet:not(.hm4)>.cl-hd{position:sticky;top:-12px;z-index:3;margin:-12px -14px 8px;padding:20px 14px 8px;background:rgba(10,15,24,.98);border-radius:20px 20px 0 0}
  #game .cl-sheet:not(.hm4)>.cl-hd::before{content:"";position:absolute;left:50%;top:6px;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:rgba(243,238,228,.35)}
}
/* AVFLASH1 (CITY-AVATARS12): no cartoon doll on setup; the card box shows a soft shimmer until the real card has loaded, then fades in */
canvas#avCanvas{display:none!important}
img#avPhoto:not(.avin){border-radius:16px;background:linear-gradient(100deg,rgba(127,127,127,.10) 30%,rgba(127,127,127,.24) 50%,rgba(127,127,127,.10) 70%);background-size:220% 100%;animation:avsk1 1.3s linear infinite}
img#avPhoto.avin{animation:avin1 .25s ease-out}
@keyframes avsk1{from{background-position:120% 0}to{background-position:-120% 0}}
@keyframes avin1{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){img#avPhoto:not(.avin),img#avPhoto.avin{animation:none}}
/* TOP2PASS1 (BRO-B5 11-17): the see-through top strip never swallows a tap; its own controls still do */
#game .hud.top2{pointer-events:none}#game .hud.top2>*{pointer-events:auto}#game .hud.top2>.grow{pointer-events:none}
/* TICKUP1 (BRO-B4 11-17): phones at street level: chat ticker at the top, walk arrows never covered */
body.touch:not(.lv-sheet) #game.svjs-on .lv-tick,body.touch:not(.lv-sheet) #game.sv .lv-tick{top:calc(env(safe-area-inset-top) + 146px);bottom:auto;height:32px;font-size:13px}
/* GLASS1 step 1 (BRO-B4 11-17, Todd: "clean this screen up make it amazing the glassmorphism idea on all nav"): one frosted-glass token layer for the
 * always-on chrome. VISUAL properties only (background, blur, border, shadow, radius, colour, transitions): no size or position changes here.
 * Text stays AA over bright photos: the blur also darkens what is behind (brightness .72) under a 58% dark tint. No blur support / reduced
 * transparency = the solid fallback. Gold = the active item only. Off switch: remove this block (kit glass1a off). */
#game{--g1-tint:rgba(12,17,27,.58);--g1-tint2:rgba(12,17,27,.74);--g1-solid:rgba(10,14,22,.94);--g1-bd:rgba(255,255,255,.24);--g1-bd2:rgba(255,255,255,.14);--g1-hi:rgba(255,255,255,.12);--g1-gold:#F6D27A;
  --g1-blur:blur(18px) saturate(1.45) brightness(.72);--g1-sh:0 10px 32px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.16);--g1-sh2:0 6px 18px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.14);--g1-ease:cubic-bezier(.2,.8,.2,1)}
#game .cl-bar,#game .svb:not(.gold),#game .svbar .svb.gold,#game .lv-onpill.inhead,#game .lv-tick,#game .toast,#game .cam-btn,#game .svfs,#game .svmap-btn,#game .pk-cred,#game .svplace,#game .cl-arrive,#game .ctl-tip{
  background:var(--g1-tint)!important;-webkit-backdrop-filter:var(--g1-blur);backdrop-filter:var(--g1-blur);border:1px solid var(--g1-bd)!important;box-shadow:var(--g1-sh2)!important;color:#fff}
#game .cl-bar{border-radius:26px!important;box-shadow:var(--g1-sh)!important}
#game .toast,#game .svplace,#game .cl-arrive{border-radius:18px!important;background:var(--g1-tint2)!important}
#game .toast.w{color:var(--g1-gold)}
#game .pk-cred{border-color:var(--g1-bd2)!important;box-shadow:none!important}
/* dock buttons: clear glass, a light wash on hover / press, gold only on the open one */
#game .cl-bar>.cl-b{background:transparent;border-radius:20px;color:#fff;transition:background .18s var(--g1-ease),color .18s var(--g1-ease),transform .12s var(--g1-ease),box-shadow .18s var(--g1-ease)}
#game .cl-bar>.cl-b i{transition:transform .18s var(--g1-ease)}
#game .cl-bar>.cl-b:hover,#game .cl-bar>.cl-b:focus-visible{background:var(--g1-hi)}
#game .cl-bar>.cl-b:hover i{transform:translateY(-2px) scale(1.08)}
#game .cl-bar>.cl-b:active{transform:scale(.95)}
#game .cl-bar>.cl-b.dock1-on,#game .cl-bar>.cl-b[aria-expanded="true"],#game .cl-bar>.cl-b[aria-pressed="true"]{background:linear-gradient(180deg,rgba(246,210,122,.96),rgba(212,168,75,.96))!important;color:#14100A!important;box-shadow:0 4px 14px rgba(212,168,75,.35),inset 0 1px 0 rgba(255,255,255,.5)}
/* the one Fly up / Street level pill: glass with a gold rim (gold fill is kept for the active dock item) */
#game .svbar .svb,#game .svbar .svb.gold{background:var(--g1-tint)!important;color:#fff!important;border-color:rgba(246,210,122,.62)!important;transition:background .18s var(--g1-ease),border-color .18s var(--g1-ease),transform .12s var(--g1-ease),box-shadow .18s var(--g1-ease)}
#game .svb:hover,#game .svb:focus-visible,#game .cam-btn:hover,#game .svfs:hover,#game .svmap-btn:hover,#game .lv-onpill.inhead:hover,#game .lv-tick:hover{background:var(--g1-tint2)!important;border-color:var(--g1-gold)!important;box-shadow:0 0 0 3px rgba(246,210,122,.28),var(--g1-sh2)!important}
#game .svb:active,#game .cam-btn:active,#game .svfs:active,#game .svmap-btn:active{transform:scale(.96)}
#game .svbar .svb:active{transform:scale(.96)}
/* title / count pill and the chat ticker: light rim instead of the heavy gold outline */
#game .lv-onpill.inhead,#game .lv-tick{border-color:var(--g1-bd)!important;transition:background .18s var(--g1-ease),border-color .18s var(--g1-ease),opacity .35s ease}
#game .svmap-btn{color:var(--g1-gold)}
/* the top fade behind the title is lighter, so the photo reads to the top edge */
#game .hud.top2{background:linear-gradient(180deg,rgba(7,11,18,.46),rgba(7,11,18,0))}
#game .toast{animation:g1in .24s var(--g1-ease) both}
@keyframes g1in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){#game{--g1-tint:var(--g1-solid);--g1-tint2:var(--g1-solid)}}
@media (prefers-reduced-transparency:reduce){#game{--g1-tint:var(--g1-solid);--g1-tint2:var(--g1-solid);--g1-blur:none}}
body.g1-solid #game{--g1-tint:var(--g1-solid);--g1-tint2:var(--g1-solid);--g1-blur:none}
/* TICKUP2 (BRO-B8 11-17): phones at street level: chat ticker at the top (beats the w5css pin), walk arrows never covered */
html body.touch:not(.lv-sheet) #game.svjs-on .lv-tick,html body.touch:not(.lv-sheet) #game.sv .lv-tick{top:calc(env(safe-area-inset-top) + 146px)!important;bottom:auto!important;height:32px!important;font-size:13px}
/* DOCKLOW1 (BRO-B8 11-17): desktop street view, short windows: compact dock at the bottom edge, clear of Google's walk arrows */
@media (min-width:1000px) and (max-height:900px){body:not(.touch) #game.svjs-on nav.cl-bar{bottom:8px!important}body:not(.touch) #game.svjs-on nav.cl-bar>.cl-b{flex-direction:row!important;min-height:40px!important;gap:6px!important;font-size:13px!important}body:not(.touch) #game.svjs-on nav.cl-bar>.cl-b i{font-size:17px!important}body:not(.touch) #game.svjs-on .lv-tick{max-width:min(400px,calc(50vw - 300px))!important}}
@media (prefers-reduced-motion:reduce){#game .cl-bar>.cl-b,#game .cl-bar>.cl-b i,#game .svb,#game .toast{transition:none;animation:none}}
/* GLASS2A (BRO-B9 11-17, Todd GLASS1 step 2: glass on the sheets): the dock sheets (More, Go, Talk, Me, Play) are frosted glass like the dock;
 * their tiles and rows are light glass, a gold rim on hover / focus only. VISUAL properties only. Text stays AA: 80% dark tint + the darkening
 * blur; no blur support / reduced transparency = solid. Off switch: remove this block (kit glass2a off). */
#game{--g2-tint:rgba(12,17,27,.80);--g2-hd:rgba(12,17,27,.88);--g2-tile:rgba(255,255,255,.07);--g2-tile2:rgba(255,255,255,.14)}
#game .cl-sheet{background:var(--g2-tint)!important;-webkit-backdrop-filter:var(--g1-blur);backdrop-filter:var(--g1-blur);border:1px solid var(--g1-bd)!important;box-shadow:var(--g1-sh)!important}
#game .cl-sheet>.cl-hd{background:var(--g2-hd)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
#game .cl-sheet .cl-item,#game .cl-sheet .cl-chip{background:var(--g2-tile)!important;border:1px solid var(--g1-bd2)!important;transition:background .18s var(--g1-ease),border-color .18s var(--g1-ease),transform .12s var(--g1-ease)}
#game .cl-sheet .cl-item:hover,#game .cl-sheet .cl-item:focus-visible,#game .cl-sheet .cl-chip:hover,#game .cl-sheet .cl-chip:focus-visible{background:var(--g2-tile2)!important;border-color:var(--g1-gold)!important}
#game .cl-sheet .cl-item:active,#game .cl-sheet .cl-chip:active{transform:scale(.98)}
#game .cl-sheet .cl-search input{background:rgba(255,255,255,.09)!important;border-color:var(--g1-bd)!important}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){#game{--g2-tint:var(--g1-solid);--g2-hd:var(--g1-solid)}}
@media (prefers-reduced-transparency:reduce){#game{--g2-tint:var(--g1-solid);--g2-hd:var(--g1-solid)}}
body.g1-solid #game{--g2-tint:var(--g1-solid);--g2-hd:var(--g1-solid)}
@media (prefers-reduced-motion:reduce){#game .cl-sheet .cl-item,#game .cl-sheet .cl-chip{transition:none}}
/* DOCKON1 (BRO-B12 11-17): the open dock button is really gold, so its dark label reads (clarity.js dock1css was winning the background with a faint wash) */
#game nav.cl-bar>.cl-b.cl-b.cl-b.dock1-on,#game nav.cl-bar>.cl-b.cl-b.cl-b[aria-expanded="true"],#game nav.cl-bar>.cl-b.cl-b.cl-b[aria-pressed="true"]{background:linear-gradient(180deg,rgba(246,210,122,.96),rgba(212,168,75,.96))!important;color:#14100A!important;box-shadow:0 4px 14px rgba(212,168,75,.35),inset 0 1px 0 rgba(255,255,255,.5)!important}
#game nav.cl-bar>.cl-b.cl-b.cl-b.dock1-on>span,#game nav.cl-bar>.cl-b.cl-b.cl-b[aria-expanded="true"]>span,#game nav.cl-bar>.cl-b.cl-b.cl-b[aria-pressed="true"]>span{color:#14100A!important;opacity:1!important;text-shadow:none!important}

/* CP2BUST 224515 */
