﻿
:root{
  --bg:#080404;
  --panel:#080404;
  --panel2:#241e21;
  --line:#3a302c;
  --muted:#b8b09a;
  --red:#9c9677;
  --red2:#49391f;
  --white:#ffffff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  min-height:100vh;
  position:relative;
  background:
    radial-gradient(circle at 52% 18%,rgba(73,57,31,.70),transparent 34%),
    linear-gradient(180deg,#080404 0%,#14100f 40%,#241e21 74%,#49391f 100%);
  background-attachment:fixed;
  color:var(--white);
}
body:before,
body:after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
}
body:before{
  opacity:.18;
  background:
    radial-gradient(circle at 8% 24%,transparent 0 22px,rgba(255,255,255,.18) 23px 25px,transparent 26px),
    radial-gradient(circle at 10% 25%,transparent 0 48px,rgba(255,255,255,.12) 49px 52px,transparent 53px),
    radial-gradient(circle at 88% 74%,transparent 0 18px,rgba(255,255,255,.16) 19px 21px,transparent 22px),
    radial-gradient(circle at 90% 75%,transparent 0 44px,rgba(255,255,255,.10) 45px 48px,transparent 49px),
    linear-gradient(16deg,transparent 0 58%,rgba(255,255,255,.13) 58.4% 60.2%,transparent 60.6%),
    linear-gradient(164deg,transparent 0 52%,rgba(0,0,0,.22) 52.4% 55.2%,transparent 55.6%),
    linear-gradient(24deg,transparent 0 14%,rgba(255,255,255,.10) 14.2% 15.4%,transparent 15.7%),
    linear-gradient(0deg,transparent 0 92%,rgba(255,255,255,.08) 92.2% 93.2%,transparent 93.5%);
  background-size:
    420px 420px,
    420px 420px,
    520px 520px,
    520px 520px,
    760px 520px,
    680px 460px,
    640px 440px,
    380px 180px;
  background-position:
    0 20px,
    0 20px,
    80px 40px,
    80px 40px,
    -120px 80px,
    220px 220px,
    40px 360px,
    0 0;
}
body:after{
  opacity:.12;
  background-image:
    linear-gradient(45deg,rgba(255,255,255,.12) 1px,transparent 1px),
    radial-gradient(circle at 35% 20%,rgba(255,255,255,.18),transparent 1px),
    radial-gradient(circle at 70% 65%,rgba(0,0,0,.35),transparent 1px);
  background-size:28px 28px,22px 22px,34px 34px;
}
body > *{
  position:relative;
  z-index:1;
}
a{color:inherit;text-decoration:none}
img,video{max-width:100%}
button,
input,
select,
textarea{
  font:inherit;
}
.pwa-offline-notice{
  position:sticky;
  top:0;
  z-index:100;
  padding:10px 18px;
  background:#9c9677;
  color:#080404;
  text-align:center;
  font-size:14px;
  font-weight:900;
  letter-spacing:.02em;
}
.pwa-install-button{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:100;
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
.pwa-install-button[hidden],
.pwa-offline-notice[hidden]{
  display:none;
}
:focus-visible{
  outline:3px solid rgba(156,150,119,.80);
  outline-offset:3px;
}
.site-header{
  position:sticky;top:0;z-index:20;
  background:#000;
  border-bottom:1px solid rgba(156,150,119,.28);
  box-shadow:0 8px 20px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
}
.site-header:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(156,150,119,.68),rgba(73,57,31,.42),transparent);
}
.nav-wrap{
  max-width:1220px;margin:auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 22px;gap:20px;
}
.logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  white-space:nowrap;
}
.logo img{
  display:block;
  width:330px;
  max-width:34vw;
  height:auto;
}
.main-nav{display:flex;align-items:center;gap:22px;font-size:21px;text-transform:uppercase;font-weight:900;color:#aaa;letter-spacing:.04em}
.nav-section{display:flex;align-items:center;gap:18px;flex:0 0 auto}
.nav-section-community{border-left:1px solid #333;padding-left:18px}
.nav-section-label{color:#9c9677;font-size:10px;letter-spacing:.16em}
.main-nav a,
.main-nav .nav-current{
  padding:13px 16px;
  border:1px solid transparent;
  border-radius:999px;
  line-height:1;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.main-nav a:hover,.main-nav a.active,.main-nav .nav-current{color:white;background:rgba(156,150,119,.14);border-color:rgba(156,150,119,.38);transform:translateY(-1px)}
.main-nav .nav-current{cursor:default}
.nav-actions{display:flex;gap:10px;flex:0 0 auto}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;border:0;border-radius:999px;padding:12px 18px;
  background:var(--red);color:#050505;font-weight:900;text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.btn:hover{background:#c6bea0;color:#050505;transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,0,0,.22)}
.btn.secondary{background:transparent;border:1px solid #444;color:white}
.btn.secondary:hover{background:white;color:black}
.mobile-toggle{display:none;background:none;border:0;color:white;font-size:28px}
.container{max-width:1220px;margin:auto;padding:40px 22px}
.hero{
  position:relative;overflow:hidden;border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 75% 20%,rgba(156,150,119,.22),transparent 28%),
    radial-gradient(circle at 15% 85%,rgba(255,255,255,.14),transparent 24%),
    rgba(5,5,5,.42);
  backdrop-filter:blur(1px);
}
.hero:before{
  content:"";position:absolute;inset:0;opacity:.08;
  background-image:linear-gradient(135deg,#fff 1px,transparent 1px);
  background-size:30px 30px;
}
.hero-inner{
  position:relative;max-width:1220px;margin:auto;
  display:grid;grid-template-columns:1fr .85fr;gap:38px;
  align-items:center;padding:70px 22px;
}
.kicker{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid rgba(156,150,119,.35);background:rgba(35,120,170,.25);
  color:#f3efe2;border-radius:999px;padding:9px 14px;
  text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.08em;
}
h1{font-size:68px;line-height:.94;margin:18px 0;text-transform:uppercase;letter-spacing:-3px}
.home-hero-title{
  max-width:760px;
  font-size:clamp(42px,5vw,56px);
  line-height:1;
  letter-spacing:0;
}
h2{font-size:44px;line-height:1;margin:8px 0 18px;text-transform:uppercase;letter-spacing:-1px}
h3{font-size:24px;margin:8px 0 12px}
p{color:#cfcfcf;line-height:1.6}
.grid{display:grid;gap:22px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.grid.three{grid-template-columns:repeat(3,1fr)}
.grid.four{grid-template-columns:repeat(4,1fr)}
.home-dashboard{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:24px;
  align-items:start;
}
.home-feed-panel,
.home-map-panel{
  min-width:0;
}
.expandable-frame{
  position:relative;
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  padding:18px;
  background:rgba(5,5,5,.34);
  box-shadow:0 20px 42px rgba(0,0,0,.18);
  transform-origin:center;
  transition:transform .28s ease,opacity .28s ease,border-color .28s ease,box-shadow .28s ease,background .28s ease;
}
.expandable-frame.is-expanding,
.expandable-frame.is-collapsing{
  transform:scale(.985);
  opacity:.86;
}
.frame-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.frame-expand-btn{
  min-width:96px;
}
.expandable-frame.is-fullscreen{
  position:fixed;
  inset:18px;
  z-index:1001;
  overflow:auto;
  padding:22px;
  background:#050505;
  border-color:rgba(156,150,119,.55);
  box-shadow:0 0 0 9999px rgba(0,0,0,.78),0 24px 80px rgba(0,0,0,.72);
  animation:frameExpandIn .28s ease both;
}
.expandable-frame.was-fullscreen{
  animation:frameCollapseOut .22s ease both;
}
.expandable-frame.is-fullscreen .home-map-shell{
  height:calc(100vh - 190px);
  min-height:520px;
  transition:height .28s ease;
}
.expandable-frame.is-fullscreen .home-feed-list{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  max-height:calc(100vh - 180px);
}
body.frame-expanded{
  overflow:hidden;
}
@keyframes frameExpandIn{
  from{opacity:.3;transform:scale(.94) translateY(18px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
@keyframes frameCollapseOut{
  from{opacity:1;transform:scale(1) translateY(0)}
  to{opacity:.3;transform:scale(.96) translateY(18px)}
}
@media(prefers-reduced-motion:reduce){
  .expandable-frame,
  .expandable-frame.is-fullscreen,
  .expandable-frame.was-fullscreen,
  .expandable-frame.is-fullscreen .home-map-shell{
    animation:none;
    transition:none;
  }
}
.home-feed-list{
  display:grid;
  gap:14px;
  margin-top:18px;
  max-height:420px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-right:8px;
  scrollbar-width:thin;
  scrollbar-color:transparent transparent;
  transition:scrollbar-color .18s ease;
}
.home-feed-list:hover,
.home-feed-list:focus-within{
  scrollbar-color:#9c9677 rgba(255,255,255,.08);
}
.home-feed-list::-webkit-scrollbar{
  width:8px;
}
.home-feed-list::-webkit-scrollbar-track{
  background:transparent;
}
.home-feed-list::-webkit-scrollbar-thumb{
  background:transparent;
  border-radius:999px;
}
.home-feed-list:hover::-webkit-scrollbar-thumb,
.home-feed-list:focus-within::-webkit-scrollbar-thumb{
  background:#9c9677;
}
.home-feed-list .feed-post{
  border-radius:8px;
  padding:18px;
}
.home-feed-list .post-body{
  margin-bottom:0;
}
.home-map-shell{
  height:420px;
  margin-top:18px;
}
.home-map-controls{
  position:absolute;
  left:16px;
  right:16px;
  top:16px;
  z-index:5;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:8px;
  background:rgba(8,4,4,.78);
  backdrop-filter:blur(8px);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}
.home-map-controls .map-control-btn{
  min-height:34px;
  padding:7px 11px;
  flex:1 1 auto;
}
.home-map-shell .pin{
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
}
.home-map-shell .pin:hover,
.home-map-shell .pin:focus-visible{
  background:var(--red);
  color:#050505;
  border-color:#fff;
  transform:translate(-50%,-50%) scale(1.24);
  box-shadow:0 0 0 8px rgba(156,150,119,.22),0 0 26px rgba(156,150,119,.55);
}
.home-map-popover{
  position:absolute;
  left:16px;
  top:82px;
  z-index:4;
  display:grid;
  gap:3px;
  max-width:min(280px,calc(100% - 32px));
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  background:rgba(8,4,4,.82);
  color:#fff;
  backdrop-filter:blur(8px);
  box-shadow:0 14px 34px rgba(0,0,0,.34);
  opacity:.92;
  transform:translateY(0);
  transition:opacity .16s ease,transform .16s ease;
}
.home-map-popover.is-changing{
  opacity:.55;
  transform:translateY(-4px);
}
.home-map-popover span{
  color:#f3efe2;
  font-size:12px;
  font-weight:800;
}
.card{
  background:linear-gradient(180deg,rgba(18,18,18,.96),rgba(9,9,9,.94));
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  padding:22px;
  box-shadow:0 18px 42px rgba(0,0,0,.20);
}
.label{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#777;font-weight:900}
.muted{color:var(--muted)}
.map-shell{
  height:540px;position:relative;overflow:hidden;border-radius:8px;
  border:1px solid rgba(255,255,255,.14);background:#d7dce0;
}
.map-shell:before{
  content:"";position:absolute;inset:0;opacity:.34;
  background-image:linear-gradient(90deg,#1d1d1d 1px,transparent 1px),linear-gradient(#1d1d1d 1px,transparent 1px);
  background-size:48px 48px;
}
.map-shell:after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 40% 40%,rgba(156,150,119,.36),transparent 25%),radial-gradient(circle at 70% 65%,rgba(255,255,255,.44),transparent 20%);
}
.map-note{
  position:absolute;left:24px;top:24px;z-index:2;
  max-width:330px;background:rgba(0,0,0,.7);border:1px solid #333;
  border-radius:18px;padding:16px;backdrop-filter:blur(6px);
}
.pin{
  position:absolute;z-index:3;transform:translate(-50%,-50%);
  width:42px;height:42px;border-radius:50%;
  background:#000;border:2px solid var(--red);
  color:white;display:grid;place-items:center;
  box-shadow:0 0 22px rgba(156,150,119,.55);
  cursor:pointer;font-size:20px;
}
.pin.active{background:var(--red);color:#050505;border-color:white;transform:translate(-50%,-50%) scale(1.18)}
.searchbar{
  display:flex;align-items:center;gap:10px;border:1px solid var(--line);
  background:#000;border-radius:999px;padding:14px 16px;color:#999;
}
.spot-detail .tag{display:inline-block;background:white;color:black;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;text-transform:uppercase}
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0}
.info-box{background:var(--panel2);border:1px solid var(--line);border-radius:16px;padding:14px}
.profile-bank-links{gap:12px}
.profile-bank-link{
  display:grid;
  gap:6px;
  color:#f3efe2;
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.profile-bank-link span{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}
.profile-bank-link:hover,
.profile-bank-link:focus-visible{
  background:rgba(156,150,119,.12);
  border-color:rgba(156,150,119,.58);
  transform:translateY(-1px);
}
.community-link-card{
  display:block;
  color:#f3efe2;
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.community-link-card:hover,
.community-link-card:focus-visible{
  background:rgba(156,150,119,.12);
  border-color:rgba(156,150,119,.58);
  transform:translateY(-1px);
}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{background:rgba(156,150,119,.22);color:#f3efe2;border-radius:999px;padding:8px 11px;font-weight:900;font-size:13px}
.clip{
  aspect-ratio:16/9;border-radius:8px;border:1px solid var(--line);
  background:radial-gradient(circle at 30% 20%,rgba(156,150,119,.35),transparent 26%),linear-gradient(135deg,#222,#070707);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:16px;position:relative;overflow:hidden;
}
.profile-clip{
  background:
    radial-gradient(circle at 50% 20%,rgba(156,150,119,.55),transparent 30%),
    linear-gradient(135deg,#101010,#1f3f4b);
}
.fresh-clip{
  padding:0;
  background:#050505;
}
.fresh-clip img,
.fresh-clip video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.clip-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  padding:16px;
  background:linear-gradient(180deg,rgba(0,0,0,.74),rgba(0,0,0,.12) 38%,rgba(0,0,0,.18));
  z-index:2;
}
.clip-meta-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  width:100%;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.75);
}
.clip-meta-top b{
  font-size:15px;
  text-transform:uppercase;
}
.clip-meta-top span{
  color:#f3efe2;
  font-size:12px;
  font-weight:900;
}
.play{
  width:56px;height:56px;border-radius:50%;background:var(--red);
  color:#050505;
  display:grid;place-items:center;margin-bottom:12px;font-size:22px;
}
.cover{
  min-height:300px;padding:36px 0;
  background:radial-gradient(circle at 25% 30%,rgba(156,150,119,.36),transparent 28%),rgba(12,12,12,.38);
  border-bottom:1px solid var(--line);position:relative;overflow:hidden;
}
.cover:before{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(90deg,#fff 1px,transparent 1px),linear-gradient(#fff 1px,transparent 1px);background-size:32px 32px}
.profile-wrap{position:relative;max-width:1220px;margin:auto;padding:0 22px;display:flex;justify-content:space-between;gap:28px;align-items:end;min-height:230px}
.user-main{display:flex;gap:22px;align-items:end;flex-wrap:wrap}
.avatar{width:140px;height:140px;border-radius:50%;border:4px solid #fff;background:#000;display:grid;place-items:center;font-size:56px;box-shadow:0 15px 40px rgba(0,0,0,.55)}
.avatar.needs-avatar{
  overflow:hidden;
  border-color:rgba(156,150,119,.62);
  background:rgba(8,4,4,.28);
  backdrop-filter:blur(4px);
  font-size:0;
}
.avatar.has-photo{
  overflow:hidden;
  border-color:#9c9677;
  background:#080404;
  font-size:0;
}
.avatar.has-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.avatar-create-link{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  gap:2px;
  padding:12px;
  color:#f3efe2;
  text-align:center;
  text-transform:uppercase;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
}
.blank-character{
  width:62px;
  height:88px;
  position:relative;
  display:block;
  opacity:.54;
}
.blank-head,
.blank-body,
.blank-legs{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  border:3px solid rgba(255,255,255,.82);
  background:rgba(255,255,255,.06);
}
.blank-head{
  top:0;
  width:34px;
  height:34px;
  border-radius:50%;
}
.blank-body{
  top:36px;
  width:46px;
  height:34px;
  border-radius:18px 18px 8px 8px;
}
.blank-legs{
  top:68px;
  width:38px;
  height:20px;
  border-radius:4px 4px 12px 12px;
}
.avatar.has-skater{
  overflow:hidden;
  border-color:#9c9677;
  background:
    radial-gradient(circle at 50% 22%,rgba(156,150,119,.32),transparent 46%),
    linear-gradient(180deg,#241e21,#080404);
  font-size:0;
}
.profile-skater-scene{
  width:170px;
  height:170px;
  transform:translate(-15px,-12px) scale(.64) rotate(-7deg);
  transform-origin:center;
}
.profile-skater-scene .cartoon-avatar{
  left:82px;
  top:8px;
  transform:rotate(9deg) translateY(3px);
}
.profile-skater-scene .cartoon-arm.left{
  transform:rotate(35deg);
}
.profile-skater-scene .cartoon-arm.right{
  transform:rotate(-32deg);
}
.profile-skater-scene .cartoon-legs{
  transform:skewX(-6deg);
}
.profile-skater-scene .cartoon-board{
  bottom:18px;
  transform:rotate(-14deg);
}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-width:260px}
.stat{background:rgba(0,0,0,.65);border:1px solid #333;border-radius:18px;padding:16px;text-align:center}
.stat strong{font-size:26px;display:block}
.friend,.row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--panel2);border:1px solid var(--line);border-radius:16px;padding:13px;margin-top:10px}
.upload-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.profile-edit-form{
  display:grid;
  gap:12px;
}
.profile-edit-form label{
  display:grid;
  gap:7px;
  color:#d9d9d9;
  font-weight:800;
}
.input{
  width:100%;background:#111;border:1px solid #292929;border-radius:16px;
  padding:15px;color:white;font-size:15px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.input:focus{
  border-color:#9c9677;
  box-shadow:0 0 0 4px rgba(156,150,119,.14);
  background:#0b0b0b;
}
.dropzone{
  grid-column:1/-1;min-height:150px;border:1px dashed rgba(156,150,119,.6);
  background:rgba(35,120,170,.18);border-radius:20px;
  display:grid;place-items:center;text-align:center;color:#ddd;
}
.upload-wip-layout{
  margin-top:28px;
}
.local-wip-card{
  display:grid;
  gap:16px;
}
.image-dropzone{
  cursor:pointer;
}
.image-preview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.image-preview-item{
  min-width:0;
  background:var(--panel2);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.image-preview-item img{
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  display:block;
}
.image-preview-item span{
  display:block;
  padding:9px;
  color:#ccc;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.image-remove-btn{
  width:calc(100% - 16px);
  margin:0 8px 8px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:#080404;
  color:#f3efe2;
  padding:7px 9px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.image-remove-btn:hover{
  background:#9c9677;
  color:#050505;
}
.wip-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer{border-top:1px solid var(--line);padding:30px 22px;color:#aaa;text-align:center}
.footer-links{display:inline-flex;gap:12px;margin:0 12px;flex-wrap:wrap;justify-content:center}
.footer-demo-note{display:block;margin-top:8px;color:#777;font-size:12px}
.public-beta-strip{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:12px 22px;
  border-bottom:1px solid rgba(156,150,119,.28);
  background:linear-gradient(90deg,rgba(156,150,119,.16),rgba(8,4,4,.92));
  color:#d8d2be;
  font-size:13px;
}
.public-beta-strip strong{color:#f3efe2;text-transform:uppercase;letter-spacing:.08em}
.public-beta-strip span{margin-left:8px}
.beta-pill,.demo-data-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:6px 9px;
  border:1px solid rgba(156,150,119,.38);
  border-radius:999px;
  background:rgba(156,150,119,.12);
  color:#d8d2be;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.demo-data-badge{margin-top:12px}
.beta-local-note{margin-top:12px}
.beta-legal-note a{color:#f3efe2;text-decoration:underline;text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid #f3efe2;
  outline-offset:3px;
}
@media(max-width:760px){
  .public-beta-strip{align-items:flex-start;flex-direction:column}
  .public-beta-strip span{margin-left:0}
  .nav-wrap{gap:10px;padding-left:14px;padding-right:14px}
  .logo img{max-width:58vw}
  .mobile-toggle{flex:0 0 auto;font-size:22px;padding:8px 0}
}
@media(max-width:920px){
  .logo img{width:250px;max-width:62vw}
  .main-nav{display:none}
  .nav-actions{display:flex}
  .mobile-toggle{display:block}
  .main-nav.open{display:flex;position:absolute;left:0;right:0;top:84px;background:#000;border-bottom:1px solid var(--line);padding:20px 22px;flex-direction:column;align-items:stretch}
  .main-nav.open .nav-section{align-items:stretch;flex-direction:column}
  .main-nav.open .nav-section-community{border-left:0;border-top:1px solid #333;padding-left:0;padding-top:14px;margin-top:4px}
  .hero-inner,.grid.two,.grid.three,.grid.four,.home-dashboard{grid-template-columns:1fr}
  h1{font-size:44px}
  h2{font-size:34px}
  .profile-wrap{display:block}
  .stats{margin-top:22px}
  .upload-form{grid-template-columns:1fr}
  .map-shell{height:420px}
}


/* Google Maps version */
.real-map-shell{
  height:540px;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.14);
  background:#d9dee2;
  position:relative;
}
#googleMap{
  width:100%;
  height:100%;
}
.local-map-canvas{
  width:120%;
  height:120%;
  left:-10%;
  top:-10%;
  position:relative;
  transform-origin:center;
  transition:transform .22s ease;
  background:
    radial-gradient(circle at 42% 38%,rgba(156,150,119,.42),transparent 18%),
    radial-gradient(circle at 68% 62%,rgba(255,255,255,.58),transparent 16%),
    linear-gradient(22deg,transparent 0 24%,rgba(70,80,90,.20) 24.3% 26%,transparent 26.4%),
    linear-gradient(154deg,transparent 0 54%,rgba(40,48,54,.22) 54.4% 57.5%,transparent 58%),
    linear-gradient(180deg,#eef2f4,#cbd2d7);
}
.osm-tile-grid{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
  opacity:.82;
  filter:saturate(.85) contrast(.96) brightness(1.08);
}
.osm-tile-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.local-map-canvas:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.34;
  background-image:
    linear-gradient(90deg,#48515a 1px,transparent 1px),
    linear-gradient(#48515a 1px,transparent 1px);
  background-size:48px 48px;
  z-index:1;
}
.map-controls{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:4;
  display:grid;
  gap:8px;
  width:min(230px,calc(100% - 32px));
  padding:12px;
  background:rgba(0,0,0,.78);
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  backdrop-filter:blur(8px);
}
.map-attribution{
  position:absolute;
  right:10px;
  bottom:8px;
  z-index:3;
  padding:4px 7px;
  background:rgba(255,255,255,.86);
  color:#111;
  border-radius:4px;
  font-size:11px;
  font-weight:700;
}
.map-control-row{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}
.map-control-btn{
  border:1px solid #444;
  border-radius:999px;
  background:#111;
  color:white;
  min-height:38px;
  padding:8px 12px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.map-control-btn:hover{
  background:var(--red);
  border-color:var(--red);
  color:#050505;
}
.map-control-btn.find-nearby-btn{
  background:linear-gradient(135deg,var(--red),#f3efe2);
  border-color:#f3efe2;
  color:#050505;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 14px 28px rgba(156,150,119,.22);
}
.home-map-controls .find-nearby-btn{
  flex:1 0 100%;
}
.pin.nearby{
  box-shadow:0 0 0 8px rgba(243,239,226,.14),0 0 34px rgba(156,150,119,.78);
}
.map-control-btn.wide{
  width:100%;
}
.map-controls p{
  margin:0;
  color:#aaa;
  font-size:12px;
  line-height:1.35;
}
.api-warning{
  background:rgba(156,150,119,.12);
  border:1px solid rgba(156,150,119,.45);
  color:#f3efe2;
  border-radius:18px;
  padding:16px;
  margin:16px 0;
}
.api-warning code{
  background:#000;
  padding:2px 6px;
  border-radius:6px;
}

/* Skatepark directory */
.skateparks-page{
  display:grid;
  gap:22px;
}
.skatepark-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:22px;
  flex-wrap:wrap;
}
.skatepark-search{
  min-width:min(100%,360px);
  padding:0;
  border-radius:18px;
  background:transparent;
}
.region-tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:12px;
  border:1px solid var(--line);
  background:#080808;
  scrollbar-color:#444 transparent;
}
.region-tab{
  flex:0 0 auto;
  min-height:44px;
  padding:10px 18px;
  border:1px solid #3b3931;
  background:#141414;
  color:#d8d2be;
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.region-tab:hover,
.region-tab.active{
  border-color:#f3efe2;
  background:#9c9677;
  color:#050505;
}
.state-tabs{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:4px 0 12px;
  scrollbar-color:#444 transparent;
}
.state-tab{
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:999px;
  background:#0b0b0b;
  color:#aaa;
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.state-tab:hover,
.state-tab.active{
  background:var(--red);
  border-color:var(--red);
  color:#050505;
}
.skatepark-count{
  color:#9c9677;
}
.state-panel{
  display:grid;
  gap:24px;
}
.city-group{
  display:grid;
  gap:12px;
}
.city-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  border-bottom:1px solid var(--line);
  padding-bottom:10px;
}
.city-heading h3{
  margin:0;
  text-transform:uppercase;
}
.skatepark-card{
  display:grid;
  align-content:start;
  gap:8px;
  overflow:hidden;
}
.skatepark-card p{
  margin:0 0 8px;
}
.park-image-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:4px 0 8px;
}
.park-image-link{
  display:block;
  min-width:0;
  overflow:hidden;
  border-radius:12px;
  background:#181818;
  border:1px solid var(--line);
}
.park-image-link img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .18s ease;
}
.park-image-link:hover img{
  transform:scale(1.04);
}
.park-photo-needed{
  display:grid;
  place-items:center;
  gap:4px;
  min-height:130px;
  margin:4px 0 8px;
  border:1px dashed #454239;
  background:linear-gradient(135deg,rgba(156,150,119,.14),#0b0b0b);
  color:#aaa58f;
  text-align:center;
}
.park-photo-needed strong{
  color:#f3efe2;
  font-size:13px;
  text-transform:uppercase;
}
.park-photo-needed span{font-size:11px}

/* Integrated legal/signup pages */
.legal-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:22px;
  align-items:start;
}
.auth-layout{
  max-width:820px;
}
.signup-card,.legal-card,.consent-card{
  border-radius:24px;
}
.signup-form{
  display:grid;
  gap:14px;
}
.signup-form label{
  display:grid;
  gap:8px;
  color:#ddd;
  font-weight:900;
}
.legal-summary-box,.warning-box{
  background:var(--panel2);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}
.warning-box{
  border-color:rgba(156,150,119,.45);
  color:#f3efe2;
  margin:18px 0;
}
.legal-list{
  color:#cfcfcf;
  line-height:1.6;
  padding-left:20px;
}
.legal-list.compact{
  margin-top:8px;
}
.checkline{
  display:flex !important;
  grid-template-columns:none !important;
  align-items:flex-start;
  gap:10px !important;
  background:rgba(156,150,119,.12);
  border:1px solid rgba(156,150,119,.35);
  border-radius:16px;
  padding:14px;
}
.checkline input{
  margin-top:3px;
}
.btn.disabled,.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.list .spot-item{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
}
.checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.checklist label{
  background:var(--panel2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  color:#ddd;
  font-weight:900;
}
.source-note-inline{
  margin-top:22px;
  padding:14px 16px;
  border-left:3px solid #9c9677;
  background:rgba(156,150,119,.08);
  color:#aaa;
  font-size:12px;
}
.source-note-inline a{color:#f3efe2;text-decoration:underline;text-underline-offset:3px}
.trick-tutorial-hub,.trick-family-section{
  display:grid;
  gap:16px;
  margin-bottom:30px;
}
.trick-tutorial-intro{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}
.trick-tutorial-intro p{max-width:720px}
.tutorial-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.tutorial-form[hidden]{display:none}
.tutorial-form label{
  display:grid;
  gap:7px;
  color:#ddd;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.tutorial-form .tutorial-notes{grid-column:1/-1}
.tutorial-form textarea{resize:vertical}
.tutorial-list{display:grid;gap:10px}
.tutorial-empty{margin:0}
.tutorial-card{
  display:grid;
  grid-template-columns:minmax(150px,.35fr) 1fr auto;
  gap:16px;
  align-items:center;
  padding:14px 16px;
  border:1px solid #333;
  background:#111;
}
.tutorial-card h3{margin:5px 0 0;font-size:18px}
.tutorial-card p{margin:0;font-size:13px}
.tutorial-card-meta{display:grid;gap:5px;color:#aaa;font-size:11px;text-align:right}
.tutorial-card-meta a{color:#f3efe2;font-weight:900}
.trick-family-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.trick-family-card{
  display:grid;
  align-content:start;
  gap:10px;
  min-height:190px;
  padding:16px;
  border:1px solid #333;
  background:#111;
}
.trick-family-card h3{margin:0;font-size:20px}
.trick-family-card p{margin:0;color:#aaa;font-size:13px;line-height:1.55}
.learn-intro{margin-bottom:30px}
.spots-page-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:30px;
}
.spots-page-heading p{max-width:720px}
.spot-directory-section,.saved-spots-section{
  display:grid;
  gap:16px;
  margin-bottom:34px;
}
.spot-directory-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.spot-directory-card{
  overflow:hidden;
  border:1px solid #333;
  background:#111;
}
.spot-directory-card>a{display:block}
.spot-directory-card img,.spot-directory-placeholder{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  background:linear-gradient(135deg,#3b3425,#090909);
  color:#f3efe2;
  font-size:42px;
  font-weight:900;
}
.spot-directory-copy{
  display:grid;
  gap:9px;
  padding:16px;
}
.spot-directory-copy h3,.spot-directory-copy p{margin:0}
.spot-directory-copy .btn{justify-self:start;margin-top:5px}
@media(max-width:900px){
  .tutorial-form,.trick-family-grid,.spot-directory-grid{grid-template-columns:1fr}
  .tutorial-card{grid-template-columns:1fr}
  .tutorial-card-meta{text-align:left}
}
@media(max-width:640px){
  .trick-tutorial-intro{align-items:stretch;flex-direction:column}
  .trick-tutorial-intro .btn{width:100%}
}
.footer a{
  color:#ddd;
}
@media(min-width:921px){
  .main-nav{
    gap:14px;
    font-size:20px;
    max-width:calc(100vw - 500px);
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .main-nav::-webkit-scrollbar{
    display:none;
  }
  .main-nav a[data-nav="legal"],
  .main-nav a[data-nav="signup"]{
    display:none;
  }
}
@media(max-width:920px){
  .legal-layout,.checklist{
    grid-template-columns:1fr;
  }
}




/* Phone-session feature pack */
.upload-confirm-box{
  background:var(--panel2);
  border:1px solid #444;
  border-radius:16px;
  padding:14px;
  margin:16px 0;
}
.upload-confirm-box h3{
  margin-top:0;
  color:#f3efe2;
}
.social-layout{
  max-width:1400px;
  margin:0 auto;
  padding:40px 22px;
  display:grid;
  grid-template-columns:84px minmax(0,1fr) 280px;
  gap:20px;
  align-items:start;
}
.feed-column{
  display:grid;
  gap:18px;
}
.social-sidebar{
  position:sticky;
  top:100px;
}
.feed-profile-rail{
  position:sticky;
  top:100px;
  display:flex;
  justify-content:center;
}
.feed-profile-button{
  width:68px;
  height:68px;
  border-radius:50%;
  border:2px solid rgba(243,239,226,.78);
  background:linear-gradient(145deg,#f3efe2,#9c9677);
  color:#050505;
  display:grid;
  place-items:center;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.feed-profile-button:hover,
.feed-profile-button:focus-visible{
  transform:translateY(-2px);
  border-color:#fff;
  box-shadow:0 16px 34px rgba(0,0,0,.42);
  outline:none;
}
.feed-profile-button-inner{
  width:100%;
  height:100%;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  text-align:center;
  font-size:12px;
  line-height:1.05;
  font-weight:900;
  text-transform:uppercase;
  padding:9px;
}
.feed-profile-button-inner.has-photo{padding:0;background:#111}
.feed-profile-button-inner.has-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.feed-profile-button-inner.has-skater{
  position:relative;
  padding:0;
  background:#111;
}
.feed-avatar-scene{
  position:absolute;
  left:50%;
  top:53%;
  width:120px;
  height:128px;
  transform:translate(-50%,-50%) scale(.36);
  transform-origin:center;
  pointer-events:none;
}
.mini-profile,.post-head,.person-card{
  display:flex;
  gap:12px;
  align-items:center;
}
.post-head{
  align-items:flex-start;
}
.mini-avatar{
  width:46px;
  height:46px;
  border-radius:14px;
  background:var(--red);
  color:#050505;
  display:grid;
  place-items:center;
  font-weight:900;
  flex:0 0 auto;
}
.social-stats{
  display:grid;
  gap:8px;
  margin:16px 0;
}
.social-stats span{
  background:#111;
  border:1px solid #333;
  border-radius:12px;
  padding:10px;
}
.full{
  width:100%;
  text-align:center;
  margin-top:10px;
}
.quick-action-row,.feed-filter-row,.tabs,.post-actions,.chip-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.feed-list,.people-list{
  display:grid;
  gap:14px;
}
.feed-post,.person-card,.session-card,.legend-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
}
.feed-reason{
  margin-left:auto;
  border:1px solid rgba(156,150,119,.45);
  background:rgba(156,150,119,.14);
  color:#f3efe2;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  white-space:nowrap;
}
.post-body{
  font-size:16px;
  line-height:1.55;
  white-space:pre-wrap;
}
.spot-chip,.media-link{
  color:#f3efe2;
}
.media-link{
  display:inline-block;
  margin:8px 0;
  text-decoration:underline;
}
.score-debug{
  margin:12px 0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  background:#0c0c0c;
  color:#cfcfcf;
  padding:10px 12px;
}
.score-debug summary{
  cursor:pointer;
  color:#f3efe2;
  font-weight:900;
}
.score-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.score-grid span{
  background:#111;
  border:1px solid #2a2a2a;
  border-radius:10px;
  padding:8px;
  color:#aaa;
  font-size:12px;
}
.score-grid b{
  display:block;
  color:#f3efe2;
  text-transform:uppercase;
  font-size:10px;
}
.feed-training-actions .btn{
  font-size:11px;
  padding:9px 11px;
}
.comments{
  display:none;
  margin-top:12px;
  border-top:1px solid #333;
  padding-top:12px;
}
.comments.open{
  display:block;
}
.comments p,.trend-list p,.compact-list p{
  background:#111;
  border:1px solid #333;
  border-radius:12px;
  padding:10px;
}
.comment-row{
  display:flex;
  gap:8px;
}
.comment-row input{
  margin-top:0;
}
.tab.active{
  background:var(--red);
  color:#050505;
  border-color:var(--red);
}
.friends-layout,.sessions-layout,.legends-layout{
  max-width:1220px;
  margin:0 auto;
  padding:40px 22px;
  display:grid;
  grid-template-columns:1fr 320px;
  gap:20px;
  align-items:start;
}
.friends-layout{
  grid-template-columns:minmax(0,1fr) minmax(260px,320px);
}
.friends-layout > .card:first-child{
  grid-row:span 2;
}
.sessions-layout{
  grid-template-columns:420px 1fr;
}
.person-main{
  flex:1;
}
.person-main h3,.session-card h3{
  margin-top:0;
}
.person-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.sk8-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%) translateY(20px);
  background:var(--red);
  color:#050505;
  padding:12px 16px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 12px 30px rgba(0,0,0,.4);
  opacity:0;
  pointer-events:none;
  transition:.2s;
  z-index:1000;
}
.sk8-toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.floating-action{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--red);
  color:#050505;
  border:0;
  font-size:14px;
  font-weight:900;
  display:none;
  z-index:999;
  box-shadow:0 12px 30px rgba(0,0,0,.4);
}
.floating-action.show{
  display:block;
}
.builder-layout{
  display:grid;
  grid-template-columns:1fr 1fr 300px;
  gap:18px;
  align-items:start;
}
.avatar-board-preview{
  background:#121212;
  border:1px solid #333;
  border-radius:20px;
  min-height:260px;
  display:grid;
  place-items:center;
  padding:16px;
}
.avatar-photo-preview{
  min-height:72px;
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  margin:10px 0 14px;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:#080404;
}
.avatar-photo-preview img{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid var(--line);
}
.avatar-photo-preview span{
  color:#f3efe2;
  font-size:12px;
  font-weight:900;
}
.avatar-photo-stage{
  width:230px;
  max-width:100%;
  aspect-ratio:1;
  border-radius:8px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:#080404;
}
.avatar-photo-stage img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cartoon-scene{
  width:230px;
  height:230px;
  position:relative;
}
.cartoon-avatar{
  position:absolute;
  left:70px;
  top:10px;
  width:90px;
  height:160px;
}
.cartoon-head{
  width:64px;
  height:64px;
  border-radius:50%;
  border:3px solid #111;
  margin:0 auto;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:900;
  color:#111;
}
.cartoon-hair{
  text-align:center;
  background:#111;
  color:#f3efe2;
  border-radius:999px;
  font-size:12px;
  margin:4px auto;
  width:76px;
  padding:3px;
}
.cartoon-body{
  width:78px;
  height:70px;
  margin:0 auto;
  border-radius:18px 18px 8px 8px;
  background:#444;
  border:3px solid #111;
}
.cartoon-body.hoodie{background:#333}
.cartoon-body.tshirt{background:#9c9677}
.cartoon-body.tank{background:#9c9677}
.cartoon-body.flannel{background:repeating-linear-gradient(45deg,#752,#752 8px,#111 8px,#111 12px)}
.cartoon-legs{
  width:70px;
  height:48px;
  margin:0 auto;
  background:#222;
  border:3px solid #111;
  border-radius:4px 4px 16px 16px;
}
.cartoon-board{
  position:absolute;
  left:32px;
  bottom:10px;
  width:170px;
  height:24px;
  border-radius:999px;
  background:#111;
  border:3px solid #333;
  transform:rotate(-8deg);
}
.cartoon-board.graphic{background:linear-gradient(90deg,#111,#9c9677,#ffffff)}
.cartoon-board.red{background:#9c9677}
.cartoon-board.natural{background:#49391f}
.cartoon-board .truck{
  position:absolute;
  left:63px;
  top:8px;
  width:42px;
  height:7px;
  border-radius:999px;
  background:#aaa;
}
.cartoon-board .truck.black{background:#000}
.cartoon-board .truck.gold{background:#c9a227}
.cartoon-board .wheel{
  position:absolute;
  top:20px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#eee;
  border:3px solid #111;
}
.cartoon-board .wheel.left{left:35px}
.cartoon-board .wheel.right{right:35px}
.cartoon-board .wheel.red{background:#9c9677}
.cartoon-board .wheel.blue{background:#9c9677}
.cartoon-board .wheel.green{background:#c6bea0}

/* Detailed avatar builder */
.avatar-board-preview{
  background:
    radial-gradient(circle at 50% 18%,rgba(156,150,119,.18),transparent 30%),
    linear-gradient(180deg,#171717,#0d0d0d);
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  min-height:300px;
}
.cartoon-scene{
  width:260px;
  height:270px;
}
.cartoon-avatar{
  left:82px;
  top:8px;
  width:96px;
  height:206px;
  z-index:2;
}
.cartoon-neck{
  position:absolute;
  left:39px;
  top:61px;
  width:22px;
  height:24px;
  border:3px solid #111;
  border-top:0;
  z-index:1;
}
.cartoon-head{
  position:relative;
  z-index:2;
  width:72px;
  height:78px;
  border-radius:44% 44% 48% 48%;
  box-shadow:inset 8px -8px 0 rgba(0,0,0,.10);
}
.cartoon-hair{
  position:absolute;
  left:3px;
  top:-9px;
  width:60px;
  height:28px;
  margin:0;
  padding:0;
  border-radius:24px 24px 10px 10px;
  box-shadow:12px 5px 0 #111;
  font-size:0;
}
.cartoon-hair.long{
  left:-3px;
  width:76px;
  height:56px;
  border-radius:30px 30px 22px 22px;
  box-shadow:none;
  z-index:-1;
}
.cartoon-hair.buzz{
  left:5px;
  top:-4px;
  width:56px;
  height:14px;
  border-radius:999px 999px 6px 6px;
  box-shadow:none;
}
.cartoon-hair.hat{
  left:1px;
  top:-15px;
  width:70px;
  height:25px;
  border-radius:8px 8px 18px 18px;
  background:#9c9677;
  box-shadow:20px 10px 0 -9px #050505;
}
.cartoon-hair.hood{
  left:-3px;
  top:-5px;
  width:78px;
  height:82px;
  border-radius:44px 44px 28px 28px;
  background:#202020;
  box-shadow:none;
  z-index:-1;
}
.cartoon-ear{
  position:absolute;
  top:28px;
  width:12px;
  height:18px;
  border:3px solid #111;
  border-radius:50%;
  background:inherit;
}
.cartoon-ear.left{left:-12px}
.cartoon-ear.right{right:-12px}
.cartoon-eye{
  position:absolute;
  top:31px;
  width:8px;
  height:10px;
  border-radius:50%;
  background:#111;
}
.cartoon-eye.left{left:22px}
.cartoon-eye.right{right:22px}
.cartoon-brow{
  position:absolute;
  top:24px;
  width:15px;
  height:3px;
  background:#111;
  border-radius:999px;
}
.cartoon-brow.left{left:18px;transform:rotate(-8deg)}
.cartoon-brow.right{right:18px;transform:rotate(8deg)}
.cartoon-nose{
  position:absolute;
  left:33px;
  top:39px;
  width:8px;
  height:12px;
  border-right:3px solid rgba(0,0,0,.45);
  border-bottom:3px solid rgba(0,0,0,.35);
  border-radius:0 0 8px 0;
}
.cartoon-mouth{
  position:absolute;
  left:27px;
  top:57px;
  width:20px;
  height:8px;
  border-bottom:3px solid #111;
  border-radius:50%;
}
.cartoon-special-mark{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  font-weight:900;
  color:#111;
  opacity:0;
}
.cartoon-head[class*="special-"] .cartoon-special-mark{opacity:1}
.cartoon-head[class*="special-"] .cartoon-eye,
.cartoon-head[class*="special-"] .cartoon-brow,
.cartoon-head[class*="special-"] .cartoon-nose,
.cartoon-head[class*="special-"] .cartoon-mouth{opacity:.22}
.cartoon-head.special-robot{border-radius:12px;background:#bfc7cc!important}
.cartoon-head.special-skeleton{background:#eeeeea!important}
.cartoon-body{
  position:relative;
  width:86px;
  height:78px;
  margin:-2px auto 0;
  border-radius:22px 22px 10px 10px;
  z-index:3;
  box-shadow:inset 10px -12px 0 rgba(0,0,0,.18);
}
.cartoon-hood{
  position:absolute;
  left:19px;
  top:-5px;
  width:42px;
  height:22px;
  border:3px solid rgba(0,0,0,.45);
  border-top:0;
  border-radius:0 0 18px 18px;
}
.cartoon-body.tshirt .cartoon-hood,
.cartoon-body.tank .cartoon-hood,
.cartoon-body.flannel .cartoon-hood{display:none}
.cartoon-shirt-logo{
  position:absolute;
  left:50%;
  top:34px;
  transform:translateX(-50%);
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#050505;
  color:#9c9677;
  font-weight:900;
  font-size:13px;
}
.cartoon-arm{
  position:absolute;
  top:14px;
  width:18px;
  height:68px;
  border:3px solid #111;
  border-radius:12px;
}
.cartoon-arm.left{left:-16px;transform:rotate(12deg)}
.cartoon-arm.right{right:-16px;transform:rotate(-12deg)}
.cartoon-legs{
  position:relative;
  width:76px;
  height:58px;
  margin:0 auto;
  border-radius:5px 5px 18px 18px;
  z-index:2;
  box-shadow:inset 0 -12px 0 rgba(0,0,0,.22);
}
.cartoon-legs:before{
  content:"";
  position:absolute;
  left:35px;
  top:4px;
  width:3px;
  height:48px;
  background:#111;
}
.cartoon-knee{
  position:absolute;
  top:24px;
  width:18px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}
.cartoon-knee.left{left:9px}
.cartoon-knee.right{right:9px}
.cartoon-shoe{
  position:absolute;
  bottom:-14px;
  width:36px;
  height:16px;
  border:3px solid #111;
  background:#101010;
  border-radius:12px 12px 5px 5px;
}
.cartoon-shoe.left{left:-5px;transform:rotate(5deg)}
.cartoon-shoe.right{right:-5px;transform:rotate(-5deg)}
.cartoon-shoe:after{
  content:"";
  position:absolute;
  left:7px;
  top:4px;
  width:16px;
  height:2px;
  background:#9c9677;
}
.cartoon-board{
  left:38px;
  bottom:16px;
  width:184px;
  height:26px;
  box-shadow:0 14px 20px rgba(0,0,0,.28);
}
.deck-bolt{
  position:absolute;
  top:9px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(255,255,255,.85);
}
.deck-bolt.one{left:52px}
.deck-bolt.two{left:62px}
.deck-bolt.three{right:52px}
.deck-bolt.four{right:62px}
.legends-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:18px;
}
.legend-badge{
  width:62px;
  height:62px;
  border-radius:18px;
  background:var(--red);
  color:#050505;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:22px;
}
.verify-chip,.chip-row span{
  font-size:12px;
  background:#111;
  border:1px solid #555;
  color:#f3efe2;
  border-radius:999px;
  padding:4px 7px;
}
@media(max-width:1000px){
  .social-layout,.friends-layout,.sessions-layout,.legends-layout,.builder-layout{
    grid-template-columns:1fr;
  }
  .social-sidebar,.feed-profile-rail{
    position:static;
  }
  .feed-profile-rail{
    justify-content:flex-start;
  }
}
@media(max-width:600px){
  .person-card,.mini-profile,.post-head{
    align-items:flex-start;
  }
  .post-head{
    flex-wrap:wrap;
  }
  .feed-reason{
    margin-left:58px;
  }
  .score-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .person-card,.comment-row{
    flex-direction:column;
  }
}






body[data-page="feed"]{
  background:#080808;
}
.feed-app-topbar{
  position:sticky;
  top:0;
  z-index:50;
  min-height:76px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:12px clamp(14px,4vw,34px);
  background:rgba(8,8,8,.94);
  border-bottom:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(14px);
}
.feed-top-left,.feed-top-actions,.composer-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.feed-logo img{height:42px;width:auto;display:block}
.feed-mini-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.feed-mini-nav a,.feed-icon-btn,.feed-tool-slot{
  min-height:38px;
  border:1px solid rgba(255,255,255,.14);
  background:#111;
  color:#f3efe2;
  border-radius:999px;
  padding:9px 13px;
  font-weight:900;
  text-decoration:none;
}
.feed-mini-nav a[aria-current="page"]{background:#f3efe2;color:#050505}
.feed-icon-btn{cursor:pointer;font:inherit}
.feed-tool-slot{width:38px;padding:0;opacity:.45}
.feed-post-trigger{min-width:86px}
.feed-app-shell{
  max-width:860px;
  margin:0 auto;
  padding:22px 14px 44px;
}
.feed-stream,.feed-list{display:grid;gap:18px}
.app-feed-post{
  padding:0;
  overflow:hidden;
  border-radius:18px;
  background:#101010;
}
.post-media-frame{
  display:grid;
  place-items:center;
  width:100%;
  aspect-ratio:16/10;
  margin:12px 0 0;
  background:#050505;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  overflow:hidden;
}
.post-media-frame img,.post-media-frame video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.external-media a,.empty-media{
  color:#f3efe2;
  font-weight:900;
}
.post-content{padding:14px 16px 16px}
.app-post-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.post-author-link{
  color:#f3efe2;
  font-weight:900;
}
.post-author-link:hover,
.post-author-link:focus-visible{
  color:#c6bea0;
}
.post-meta-list{display:grid;gap:4px;margin:10px 0;color:#d9d3bd}
.post-meta-list p{margin:0}.post-meta-list span{color:#9c9677;font-weight:900;text-transform:uppercase;font-size:11px}
.post-comments-summary{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:12px;
  padding-top:12px;
  color:#d2d2d2;
}
.post-comments-summary p{margin:6px 0 0}.post-comments-summary span{color:#f3efe2;font-weight:900}
.app-reactions{
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}
.app-reactions .btn{
  min-height:34px;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
}
.feed-comments{
  display:none;
}
.feed-comments.open{
  display:block;
}
.composer-modal[hidden]{display:none}
.composer-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:18px;
}
.composer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68)}
.composer-panel{
  position:relative;
  z-index:1;
  width:min(640px,100%);
  max-height:calc(100vh - 36px);
  overflow:auto;
  background:#111;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:18px;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.composer-head,.composer-actions,.between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.composer-head h2{margin:2px 0 0}.composer-actions{margin-top:14px}.composer-actions p{margin:0}
.composer-location-box,.privacy-fieldset{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px;
  margin-top:12px;
}
.privacy-fieldset{display:grid;gap:8px}.privacy-fieldset legend{font-weight:900;color:#f3efe2;padding:0 6px}
.compact-confirm{border-radius:14px;margin:12px 0 0}
.favorite-place-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.favorite-chip{border:1px solid #444;background:#0b0b0b;color:#f3efe2;border-radius:999px;padding:7px 10px;cursor:pointer}
.location-search{margin-bottom:12px}.location-map-picker{min-height:220px;border:1px solid #333;border-radius:16px;background:radial-gradient(circle at 50% 45%,rgba(156,150,119,.24),transparent 32%),#080808;display:grid;place-items:center;text-align:center;padding:18px;position:relative;overflow:hidden}
.location-pin{width:18px;height:18px;border-radius:50%;background:#f3efe2;box-shadow:0 0 0 10px rgba(243,239,226,.13);position:absolute;top:44%;left:50%;transform:translate(-50%,-50%)}
.favorite-confirm{margin-top:12px;border:1px solid rgba(156,150,119,.45);border-radius:14px;padding:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.favorite-confirm p{margin:0;margin-right:auto}
body.modal-open{overflow:hidden}
@media(max-width:760px){
  .feed-app-topbar{grid-template-columns:1fr;gap:10px;align-items:stretch}
  .feed-mini-nav{justify-content:flex-start;overflow:auto;padding-bottom:2px}
  .feed-top-actions{justify-content:space-between}
  .feed-tool-slot{display:none}
  .composer-head,.composer-actions,.between{align-items:flex-start;flex-direction:column}
}


.feed-app-frame{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
  background:#0c0c0c;
  box-shadow:0 22px 70px rgba(0,0,0,.28);
}
.feed-frame-title{
  color:#f3efe2;
  text-transform:uppercase;
  font-size:15px;
  letter-spacing:.08em;
}
.feed-app-frame .feed-app-topbar{
  position:sticky;
  top:77px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.feed-mini-nav-btn{
  min-height:38px;
  border:1px solid rgba(255,255,255,.14);
  background:#111;
  color:#f3efe2;
  border-radius:999px;
  padding:9px 13px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.feed-mini-nav-btn.active,
.feed-mini-nav-btn[aria-expanded="true"]{
  background:#f3efe2;
  color:#050505;
}
.feed-menu-panel{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:12px 16px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:#090909;
}
.feed-menu-panel[hidden]{display:none}
.feed-menu-panel a{
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:8px 12px;
  color:#f3efe2;
  text-decoration:none;
  font-weight:900;
}
.feed-map-panel{
  border-bottom:1px solid rgba(255,255,255,.1);
  padding:16px;
  background:#080808;
}
.feed-map-panel[hidden]{display:none}
.feed-map-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:14px;
  margin-bottom:14px;
}
.feed-map-head h2{
  font-size:26px;
  margin:2px 0 0;
  letter-spacing:0;
}
.feed-map-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.feed-map-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:14px;
}
.feed-real-map-shell{
  height:420px;
}
.feed-spot-detail{
  margin:0;
}
.feed-app-frame .feed-stream{
  padding:16px;
}
@media(max-width:920px){
  .feed-app-frame .feed-app-topbar{
    top:75px;
  }
}
@media(max-width:760px){
  .feed-app-shell{
    padding:10px 0 28px;
  }
  .feed-app-frame{
    border-left:0;
    border-right:0;
    border-radius:0;
  }
  .feed-app-frame .feed-app-topbar{
    position:sticky;
    top:74px;
    grid-template-columns:1fr;
  }
  .feed-map-layout{
    grid-template-columns:1fr;
  }
  .feed-real-map-shell{
    height:calc(100vh - 250px);
    min-height:360px;
  }
  .feed-app-frame .feed-stream{
    padding:12px;
  }
}

.account-menu{
  position:relative;
  display:flex;
  align-items:center;
}
.account-menu-trigger{
  width:46px;
  height:46px;
  border-radius:50%;
  border:2px solid rgba(243,239,226,.78);
  background:#111;
  color:#f3efe2;
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
}
.account-menu-avatar{
  width:100%;
  height:100%;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#f3efe2,#9c9677);
  color:#050505;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}
.account-menu-dropdown{
  position:absolute;
  right:0;
  left:auto;
  top:calc(100% + 10px);
  z-index:80;
  width:230px;
  display:grid;
  gap:4px;
  padding:10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  background:#080808;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
}
.account-menu-dropdown[hidden]{display:none}
.account-menu-dropdown a,
.account-menu-dropdown button{
  border:0;
  border-radius:6px;
  background:transparent;
  color:#f3efe2;
  text-align:left;
  padding:10px 12px;
  font:inherit;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}
.account-menu-dropdown a:hover,
.account-menu-dropdown button:hover{
  background:#f3efe2;
  color:#050505;
}
.account-options-card{
  display:grid;
  gap:16px;
}
.account-option-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.account-option-list a,
.account-option-list button{
  border:1px solid #444;
  border-radius:8px;
  background:#111;
  color:#f3efe2;
  padding:11px 12px;
  text-align:left;
  text-decoration:none;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.privacy-preferences,
.visibility-preferences,
.private-location-note{
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  padding:14px;
  background:#0b0b0b;
}
.privacy-preferences{
  display:grid;
  gap:10px;
}
.visibility-preferences{
  display:grid;
  gap:8px;
}
.private-location-note p{
  margin-bottom:0;
}
@media(max-width:920px){
  .nav-actions{
    align-items:center;
  }
}
@media(max-width:680px){
  .account-option-list{
    grid-template-columns:1fr;
  }
}

@media(max-width:920px){
  .site-header .nav-actions{
    display:flex;
    align-items:center;
    margin-left:auto;
  }
  .site-header .nav-actions > .btn{
    display:none;
  }
  .site-header .account-menu{
    display:flex;
  }
}

.youtube-media iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Final feed scroll override */
body .feed-app-frame{
  max-height:calc(100vh - 118px);
  display:flex;
  flex-direction:column;
  min-height:0;
}
body .feed-app-frame .feed-app-topbar,
body .feed-app-frame .feed-menu-panel,
body .feed-app-frame .feed-map-panel{
  flex:0 0 auto;
}
body .feed-app-frame .feed-stream{
  flex:1 1 auto;
  min-height:260px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#9c9677 #111;
}
body .feed-app-frame .feed-stream::-webkit-scrollbar{
  width:10px;
}
body .feed-app-frame .feed-stream::-webkit-scrollbar-track{
  background:#111;
}
body .feed-app-frame .feed-stream::-webkit-scrollbar-thumb{
  background:#9c9677;
  border-radius:999px;
  border:2px solid #111;
}
@media(max-width:760px){
  body .feed-app-frame{
    max-height:calc(100vh - 84px);
  }
  body .feed-app-frame .feed-stream{
    min-height:320px;
  }
}

.avatar-system-card{
  overflow:hidden;
}
.avatar-builder-shell{
  display:grid;
  grid-template-columns:180px minmax(260px,.95fr) minmax(320px,1.1fr);
  gap:18px;
  align-items:start;
}
.avatar-builder-tabs{
  display:grid;
  gap:8px;
  position:sticky;
  top:100px;
}
.avatar-tab{
  border:1px solid #444;
  border-radius:8px;
  background:#101010;
  color:#f3efe2;
  padding:10px 12px;
  text-align:left;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.avatar-tab.active{
  background:#f3efe2;
  color:#050505;
}
.avatar-builder-controls{
  min-width:0;
}
.avatar-panel{
  display:none;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:#0b0b0b;
  padding:16px;
}
.avatar-panel.active{
  display:grid;
  gap:12px;
}
.avatar-save-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.avatar-preview-panel{
  display:grid;
  gap:14px;
}
.modular-avatar-preview{
  min-height:520px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:
    linear-gradient(180deg,rgba(156,150,119,.14),transparent),
    #090909;
  overflow:hidden;
}
.modular-avatar-svg{
  width:min(100%,390px);
  height:auto;
  display:block;
}
.profile-modular-avatar{
  width:132px;
  height:132px;
  display:block;
}
.avatar-config-preview{
  max-height:220px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:#050505;
  color:#cfcfcf;
  padding:12px;
  font-size:12px;
  white-space:pre-wrap;
}
@media(max-width:1000px){
  .avatar-builder-shell{
    grid-template-columns:1fr;
  }
  .avatar-builder-tabs{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.youtube-preview-link{
  position:relative;
  width:100%;
  height:100%;
  display:block;
  color:#f3efe2;
  text-decoration:none;
}
.youtube-preview-link img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.youtube-preview-link:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.42));
}
.youtube-play-badge{
  position:absolute;
  left:50%;
  top:50%;
  z-index:1;
  transform:translate(-50%,-50%);
  border-radius:999px;
  background:#f3efe2;
  color:#050505;
  padding:12px 16px;
  font-weight:900;
  text-transform:uppercase;
  box-shadow:0 14px 34px rgba(0,0,0,.38);
}

.profile-collapse{
  padding:0;
  overflow:hidden;
}
.profile-collapse > summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  cursor:pointer;
  color:#f3efe2;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.profile-collapse > summary::-webkit-details-marker{
  display:none;
}
.profile-collapse > summary:after{
  content:"+";
  width:26px;
  height:26px;
  border:1px solid #444;
  border-radius:50%;
  display:grid;
  place-items:center;
}
.profile-collapse[open] > summary:after{
  content:"-";
}
.profile-collapse > :not(summary){
  margin-left:18px;
  margin-right:18px;
}
.profile-collapse > :last-child{
  margin-bottom:18px;
}
.profile-collapse > .label,
.profile-collapse > h2,
.profile-collapse > h3{
  margin-top:18px;
}
.profile-spots-section h2{
  font-size:28px;
  letter-spacing:0;
}
.profile-spot-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.profile-spot-action{
  display:grid;
  gap:4px;
  min-height:92px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:8px;
  background:#0b0b0b;
  color:#f3efe2;
  text-decoration:none;
  text-align:left;
  padding:13px;
  font:inherit;
  cursor:pointer;
}
.profile-spot-action span{
  color:#bdbdbd;
  font-size:13px;
  line-height:1.45;
}
@media(max-width:700px){
  .profile-spot-grid{
    grid-template-columns:1fr;
  }
}

.account-menu-trigger{
  width:55px;
  height:68px;
  border-radius:999px;
  border:0;
  background:transparent;
  display:grid;
  grid-template-rows:55px auto;
  gap:3px;
}
.account-menu-avatar{
  border:2px solid rgba(243,239,226,.78);
  font-size:8px;
  overflow:hidden;
  position:relative;
}
.account-menu-avatar.has-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.account-menu-name{
  max-width:76px;
  color:#f3efe2;
  font-size:10px;
  line-height:1;
  font-weight:900;
  text-align:center;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.account-menu-avatar.has-mini-avatar{
  background:linear-gradient(180deg,#171717,#080808);
}
.account-avatar-head{
  position:absolute;
  left:50%;
  top:14px;
  width:25px;
  height:25px;
  transform:translateX(-50%);
  border-radius:50%;
  background:var(--avatar-skin);
}
.account-avatar-head:before{
  content:"";
  position:absolute;
  left:-2px;
  right:-2px;
  top:-5px;
  height:13px;
  border-radius:50% 50% 40% 40%;
  background:var(--avatar-hair);
}
.account-avatar-body{
  position:absolute;
  left:50%;
  bottom:5px;
  width:32px;
  height:22px;
  transform:translateX(-50%);
  border-radius:10px 10px 7px 7px;
  background:var(--avatar-top);
}
.map-page-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.feed-bank-spot{
  white-space:nowrap;
}
@media(max-width:920px){
  .account-menu-trigger{
    width:55px;
    height:66px;
  }
}

/* Home feed/map app framing */
body .home-hero-title{
  font-size:clamp(36px,4.25vw,48px);
  line-height:.98;
  margin:8px 0 8px;
}
body .hero p{
  margin:0;
  line-height:1.42;
}
body .hero-inner{
  gap:28px;
  padding-top:28px;
  padding-bottom:28px;
}
body .map-app-frame{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
  background:#0c0c0c;
  box-shadow:0 22px 70px rgba(0,0,0,.28);
  min-width:0;
}
body .map-app-frame .map-app-topbar{
  position:sticky;
  top:77px;
  z-index:8;
  border-bottom:1px solid rgba(255,255,255,.1);
}
body .map-app-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,.34fr);
  gap:16px;
  padding:16px;
  min-height:0;
}
body .map-app-shell{
  height:520px;
  margin-top:0;
}
body .map-app-side{
  border-left:1px solid rgba(255,255,255,.1);
  padding:8px 0 8px 16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
}
body .map-app-side h2{
  font-size:26px;
  line-height:1.05;
  margin:8px 0;
}
body .map-quick-actions{
  display:grid;
  gap:8px;
}
body .map-quick-actions a,
body .map-footer-link{
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  color:#f7f3e6;
  font-size:12px;
  font-weight:900;
  padding:10px 12px;
  text-transform:uppercase;
}
body .map-app-footer{
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:12px 16px 16px;
}
body .map-app-footer .map-control-btn{
  min-height:36px;
}
body .map-app-footer .wide{
  min-width:84px;
}
@media(max-width:920px){
  body .map-app-body{
    grid-template-columns:1fr;
  }
  body .map-app-side{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.1);
    padding:14px 0 0;
  }
}
@media(max-width:760px){
  body .hero-inner{
    padding-top:24px;
    padding-bottom:24px;
  }
  body .map-app-frame{
    border-left:0;
    border-right:0;
    border-radius:0;
  }
  body .map-app-frame .map-app-topbar{
    top:74px;
    grid-template-columns:1fr;
  }
  body .map-app-shell{
    height:calc(100vh - 270px);
    min-height:360px;
  }
}

/* Home map compact header action */
.map-mini-nav{
  justify-content:flex-start;
}
.map-bank-action{
  min-height:34px;
  padding:8px 12px;
  font-size:12px;
}

/* Compact feed frame header */
.feed-app-topbar .feed-top-left .feed-profile-button{
  flex:0 0 auto;
}
.feed-app-topbar .feed-frame-title{
  white-space:nowrap;
}

/* Homepage hero clip height trim */
body .hero .fresh-clip{
  aspect-ratio:16 / 7;
}

/* Feed scope icon controls */
.feed-scope-nav{
  justify-content:center;
}
.feed-scope-btn{
  width:42px;
  height:38px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:8px;
  background:#111;
  color:#f3efe2;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.feed-scope-btn.active,
.feed-scope-btn[aria-pressed="true"]{
  background:#f3efe2;
  color:#050505;
}
.feed-scope-icon{
  position:relative;
  width:24px;
  height:22px;
  display:block;
}
.friends-icon span{
  position:absolute;
  border:2px solid currentColor;
  border-radius:999px;
}
.friends-icon span:first-child{
  width:9px;
  height:9px;
  left:2px;
  top:2px;
}
.friends-icon span:last-child{
  width:11px;
  height:11px;
  right:1px;
  top:0;
}
.friends-icon:before,
.friends-icon:after{
  content:"";
  position:absolute;
  bottom:2px;
  border:2px solid currentColor;
  border-top:0;
  border-radius:0 0 999px 999px;
}
.friends-icon:before{
  left:0;
  width:12px;
  height:7px;
}
.friends-icon:after{
  right:0;
  width:14px;
  height:8px;
}
.community-icon{
  border:2px solid currentColor;
  border-radius:5px;
}
.community-icon:before,
.community-icon:after{
  content:"";
  position:absolute;
  background:currentColor;
}
.community-icon:before{
  left:6px;
  top:0;
  width:2px;
  height:100%;
}
.community-icon:after{
  right:6px;
  top:0;
  width:2px;
  height:100%;
}
.community-icon span{
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:currentColor;
}
.community-icon span:nth-child(1){left:3px;top:4px}
.community-icon span:nth-child(2){left:10px;top:12px}
.community-icon span:nth-child(3){right:3px;top:6px}

/* Equal home feed/map frames */
body .home-dashboard{
  grid-template-columns:repeat(2,minmax(0,1fr));
  padding-top:22px;
}
body .home-dashboard .feed-app-frame,
body .home-dashboard .map-app-frame{
  height:calc(100vh - 118px);
  max-height:calc(100vh - 118px);
  min-height:620px;
}
body .home-dashboard .map-app-frame{
  display:flex;
  flex-direction:column;
}
body .home-dashboard .map-app-body{
  flex:1 1 auto;
  min-height:0;
}
body .home-dashboard .map-app-shell{
  height:100%;
  min-height:0;
}
body .home-dashboard .map-app-footer,
body .home-dashboard .map-app-topbar{
  flex:0 0 auto;
}
@media(max-width:920px){
  body .home-dashboard{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  body .home-dashboard .feed-app-frame,
  body .home-dashboard .map-app-frame{
    height:calc(100vh - 84px);
    max-height:calc(100vh - 84px);
    min-height:560px;
  }
}

/* Feed module no longer owns profile entry */
.feed-app-frame .feed-top-left{
  min-width:0;
}

/* Feed and map window title bars */
.frame-titlebar{
  row-gap:10px;
  align-items:center;
  padding-top:12px;
}
.frame-window-title{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  min-height:22px;
}
.frame-window-title .feed-frame-title{
  display:block;
  font-size:15px;
  line-height:1;
  letter-spacing:.08em;
}
.frame-titlebar .feed-top-left,
.frame-titlebar .feed-mini-nav,
.frame-titlebar .feed-top-actions{
  align-self:center;
}
.map-app-topbar .frame-window-title{
  justify-content:flex-start;
}
@media(max-width:760px){
  .frame-titlebar{
    row-gap:8px;
  }
}

/* Click-to-focus home feed/map sizing */
body .home-dashboard{
  transition:grid-template-columns .24s ease;
}
body .home-dashboard.is-feed-focused{
  grid-template-columns:minmax(0,7fr) minmax(0,3fr);
}
body .home-dashboard.is-map-focused{
  grid-template-columns:minmax(0,3fr) minmax(0,7fr);
}
body .home-feed-panel,
body .home-map-panel{
  transition:filter .2s ease, opacity .2s ease;
}
body .home-dashboard.is-feed-focused .home-map-panel,
body .home-dashboard.is-map-focused .home-feed-panel{
  opacity:.9;
}
@media(max-width:920px){
  body .home-dashboard,
  body .home-dashboard.is-feed-focused,
  body .home-dashboard.is-map-focused{
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce){
  body .home-dashboard,
  body .home-feed-panel,
  body .home-map-panel{
    transition:none;
  }
}

/* Centered top-edge frame titles */
body .frame-titlebar{
  padding:0 clamp(14px,4vw,34px) 12px;
  row-gap:8px;
}
body .frame-window-title{
  justify-content:center;
  min-height:34px;
  align-items:center;
}
body .map-app-topbar .frame-window-title{
  justify-content:center;
}
body .frame-window-title .feed-frame-title{
  font-size:17px;
  line-height:1;
}

/* Keep feed/map side-by-side on tablet-width app frames */
@media(min-width:761px){
  body .home-dashboard{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body .home-dashboard.is-feed-focused{
    grid-template-columns:minmax(0,7fr) minmax(0,3fr);
  }
  body .home-dashboard.is-map-focused{
    grid-template-columns:minmax(0,3fr) minmax(0,7fr);
  }
}

/* Featured clip spacing trim */
body .hero .card{
  padding-top:6px;
  padding-bottom:6px;
}
body .hero #freshClipOfDay{
  margin-top:4px !important;
}

/* Compact map frame spacing */
body .home-dashboard .map-app-body{
  padding-top:8px;
  padding-bottom:8px;
}
body .home-dashboard .map-app-footer{
  padding-top:8px;
  padding-bottom:8px;
}

/* Lift frame titles into the top title strip */
body .frame-titlebar{
  padding:0;
  row-gap:0;
  background:#090909;
}
body .frame-window-title{
  min-height:48px;
  justify-content:center;
  align-items:center;
  background:#151515;
  border-bottom:1px solid rgba(255,255,255,.08);
}
body .frame-window-title .feed-frame-title{
  font-size:20px;
  line-height:1;
  letter-spacing:.1em;
}
body .frame-titlebar .feed-top-left,
body .frame-titlebar .feed-mini-nav,
body .frame-titlebar .feed-top-actions{
  padding-top:12px;
  padding-bottom:12px;
}
body .frame-titlebar .feed-top-left{
  padding-left:clamp(14px,4vw,34px);
}
body .frame-titlebar .feed-top-actions{
  padding-right:clamp(14px,4vw,34px);
}

/* Slimmer frame title strip */
body .frame-window-title{
  min-height:30px;
}
body .frame-window-title .feed-frame-title{
  font-size:18px;
}

/* Restore full frame title strip */
body .frame-window-title{
  min-height:48px;
}
body .frame-window-title .feed-frame-title{
  font-size:20px;
}

/* Remove embedded frame top gap from sticky offset */
body .home-dashboard .feed-app-frame .feed-app-topbar,
body .home-dashboard .map-app-frame .map-app-topbar{
  top:0;
}

.feed-comments{
  display:none;
  margin:12px 16px 16px;
}
.feed-comments.open{
  display:block;
}
.feed-comments p span{
  color:#f3efe2;
  font-weight:900;
}
.feed-comment-row{
  margin-top:10px;
}
.feed-comment-row .btn{
  flex:0 0 auto;
}
.feed-comment-row input{
  min-width:0;
}
@media(max-width:620px){
  .feed-comment-row{
    flex-direction:column;
  }
  .feed-comment-row .btn{
    width:100%;
  }
}

.home-module-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.home-social-layout{
  max-width:none;
  margin:0;
  padding:0;
  grid-template-columns:minmax(190px,.55fr) minmax(360px,1.35fr) minmax(190px,.55fr);
  gap:16px;
}
.home-social-layout .post-composer h2{
  font-size:clamp(28px,3vw,38px);
}
.home-social-layout .social-sidebar,
.home-social-layout .post-composer{
  align-self:start;
}
.home-social-layout .feed-list{
  max-height:780px;
  overflow:auto;
  padding-right:6px;
}
.home-social-layout .feed-list::-webkit-scrollbar{width:10px}
.home-social-layout .feed-list::-webkit-scrollbar-track{background:#101010;border-radius:999px}
.home-social-layout .feed-list::-webkit-scrollbar-thumb{background:#5c543e;border-radius:999px}
.home-feed-stream{
  display:grid;
  gap:14px;
}
.home-feed-postbar{
  position:sticky;
  top:0;
  z-index:6;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:rgba(9,9,9,.94);
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}
.home-feed-profile{
  flex:0 0 auto;
  width:56px;
  height:56px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(156,150,119,.48);
  background:#111;
  display:grid;
  place-items:center;
}
.home-feed-profile .feed-profile-button-inner{
  width:100%;
  height:100%;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#f3efe2;
  font-size:11px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  text-align:center;
}
.home-feed-profile .feed-profile-button-inner img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.home-post-menu{
  flex:1 1 auto;
  min-width:0;
}
.home-post-menu summary{
  list-style:none;
  cursor:pointer;
  min-height:48px;
  display:flex;
  align-items:center;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:#151515;
  color:#b8b09a;
  font-weight:900;
}
.home-post-menu summary::-webkit-details-marker{
  display:none;
}
.home-post-menu[open] summary{
  border-radius:8px 8px 0 0;
  color:#f3efe2;
  border-color:rgba(156,150,119,.45);
}
.home-post-panel{
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid rgba(156,150,119,.35);
  border-top:0;
  border-radius:0 0 8px 8px;
  background:#0d0d0d;
}
.home-post-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.compact-confirm{
  display:grid;
  gap:8px;
  padding:12px;
}
.home-feed-filters{
  display:none;
}
.home-feed-filters .btn{
  min-height:34px;
  padding:8px 12px;
  font-size:12px;
}
.home-feed-stream .feed-list{
  display:grid;
  gap:16px;
  max-height:none;
  overflow:visible;
  padding-right:0;
}
.home-feed-stream .feed-post{
  margin:0;
}
.home-feed-stream .favorite-place-row:empty{
  display:none;
}
.public-profile-hero{
  border-bottom:1px solid rgba(156,150,119,.24);
  background:rgba(5,5,5,.32);
}
.public-profile-head{
  display:flex;
  align-items:center;
  gap:18px;
  padding-top:30px;
  padding-bottom:30px;
}
.public-avatar{
  width:88px;
  height:88px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:2px solid rgba(156,150,119,.58);
  background:#111;
  color:#f3efe2;
  font-size:24px;
  font-weight:900;
}
.public-profile-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.public-profile-head h1{
  margin:8px 0;
  font-size:clamp(34px,5vw,58px);
}
.public-profile-layout{
  display:grid;
  grid-template-columns:minmax(240px,.36fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.public-profile-side,
.public-profile-main{
  display:grid;
  gap:18px;
}
.public-simple-list{
  display:grid;
  gap:8px;
}
.public-message-card{
  display:grid;
  gap:12px;
}
.public-message-card[hidden]{
  display:none;
}
.public-message-thread,
.friend-message-list{
  display:grid;
  gap:10px;
}
.public-message-thread p,
.friend-message-list p{
  margin:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  background:rgba(255,255,255,.04);
}
.public-message-thread strong,
.friend-message-list strong{
  display:block;
  color:#f3efe2;
}
.public-message-thread span,
.friend-message-list span{
  display:block;
  color:#9c9677;
  font-size:12px;
  font-weight:900;
  margin:2px 0 6px;
}
.public-simple-list p{
  margin:0;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.public-video-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.public-video-tile{
  display:block;
  aspect-ratio:1;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  background:#050505;
}
.public-video-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.public-feed-label{
  margin-bottom:10px;
}
.public-profile-posts{
  display:grid;
  gap:16px;
}
.public-reactions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:#b8b09a;
  font-size:13px;
  font-weight:900;
}
@media(max-width:860px){
  .public-profile-layout{
    grid-template-columns:1fr;
  }
  .public-video-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
.feed-visibility-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0;
}
@media(max-width:760px){
  .home-feed-postbar{
    align-items:flex-start;
  }
  .home-feed-profile{
    width:48px;
    height:48px;
  }
  .home-post-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:1100px){
  .home-social-layout{
    grid-template-columns:1fr;
  }
}

.explore-hub{display:grid;gap:22px}
.explore-hero-card .input{max-width:720px;margin-top:14px}
.explore-tab-row{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:86px;z-index:4;background:rgba(8,4,4,.86);padding:12px;border:1px solid var(--line);backdrop-filter:blur(12px)}
.explore-panel{display:none}
.explore-panel.active{display:block}
.explore-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.explore-card{min-height:210px}
.explore-card[hidden]{display:none}
.explore-timeline{display:grid;gap:14px}
@media(max-width:900px){.explore-card-grid{grid-template-columns:1fr}.explore-tab-row{position:static}}

.history-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,340px);
  gap:28px;
  align-items:end;
  padding:26px 0 24px;
  border-bottom:1px solid var(--line);
}
.history-intro h2{margin-bottom:10px}
.history-intro p{max-width:780px}
.history-jump{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.history-jump a{
  padding:10px 12px;
  border:1px solid #3a3830;
  background:#111;
  color:#d8d2be;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.history-jump a:hover{background:#9c9677;color:#050505}
.history-timeline{
  gap:0;
  position:relative;
}
.history-timeline:before{
  content:"";
  position:absolute;
  left:169px;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(#9c9677,var(--line) 12%,var(--line) 88%,#9c9677);
}
.history-era{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:30px;
  position:relative;
  padding:34px 0;
  border-bottom:1px solid var(--line);
  scroll-margin-top:150px;
}
.history-date{
  position:sticky;
  top:154px;
  align-self:start;
  padding:2px 24px 0 0;
  text-align:right;
}
.history-date:after{
  content:"";
  position:absolute;
  top:8px;
  right:-7px;
  width:13px;
  height:13px;
  border:2px solid #f3efe2;
  border-radius:50%;
  background:#9c9677;
  box-shadow:0 0 0 6px rgba(156,150,119,.16);
}
.history-date span{
  display:block;
  color:#f3efe2;
  font-size:24px;
  font-weight:900;
}
.history-date strong{
  display:block;
  margin-top:6px;
  color:#9c9677;
  font-size:11px;
  line-height:1.35;
  text-transform:uppercase;
}
.history-chapter{
  max-width:860px;
  padding:0 0 0 8px;
}
.history-chapter h3{
  margin-bottom:14px;
  font-size:28px;
}
.history-chapter p{
  color:#c7c4ba;
  font-size:16px;
  line-height:1.75;
}
.history-image{
  float:right;
  width:min(290px,38%);
  margin:2px 0 18px 24px;
  border:1px solid #34322c;
  background:#111;
}
.history-image img{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  filter:saturate(.82) contrast(1.04);
}
.history-image figcaption{
  padding:9px 10px;
  color:#aaa58f;
  font-size:10px;
  font-weight:800;
  line-height:1.4;
}
.history-milestones{
  clear:both;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin:22px 0 4px;
  border:1px solid #34322c;
  background:#34322c;
}
.history-milestones div{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:13px;
  background:#0d0d0d;
}
.history-milestones time{
  color:#f3efe2;
  font-size:14px;
  font-weight:900;
}
.history-milestones p{
  margin:0;
  color:#aaa;
  font-size:12px;
  line-height:1.5;
}
.history-milestones em{color:#d8d2be}
.history-milestones .history-name{font-size:inherit}
.history-name{
  color:#f3efe2;
  font-weight:900;
  text-decoration:underline;
  text-decoration-color:#9c9677;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
.history-name:hover{color:#9c9677}
.history-keywords{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.history-keywords span{
  padding:6px 9px;
  border:1px solid #34322c;
  color:#aaa58f;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}
.history-topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.history-topic-grid div{
  padding:16px;
  border:1px solid #333;
  background:#111;
}
.history-topic-grid strong{color:#f3efe2;text-transform:uppercase}
.history-topic-grid p{margin:8px 0 0;font-size:13px;line-height:1.55}
.history-source-note{
  margin-top:24px;
  padding:18px 20px;
  border-left:3px solid #9c9677;
  background:rgba(156,150,119,.08);
}
.history-source-note strong{color:#f3efe2}
.history-source-note p{margin:6px 0 0;color:#aaa}
.history-source-note a{color:#f3efe2;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
  .history-intro{grid-template-columns:1fr}
  .history-timeline:before{left:7px}
  .history-era{grid-template-columns:1fr;gap:14px;padding:28px 0 28px 28px}
  .history-date{position:relative;top:auto;padding:0;text-align:left}
  .history-date:after{left:-27px;right:auto;top:6px}
  .history-date span{font-size:22px}
  .history-chapter{padding:0}
  .history-chapter h3{font-size:24px}
  .history-image{
    float:none;
    width:100%;
    max-width:420px;
    margin:0 0 18px;
  }
  .history-milestones{grid-template-columns:1fr}
  .history-topic-grid{grid-template-columns:1fr}
}

.gear-tab-row{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0;padding:12px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.gear-panel{display:none}.gear-panel.active{display:block}
.board-archive-intro{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center;margin-bottom:18px}.board-archive-intro img{max-height:260px;justify-self:center}
.deck-year-wall{display:grid;gap:18px}.deck-year-row{display:grid;grid-template-columns:180px 1fr;gap:14px;align-items:stretch;border-top:1px solid var(--line);padding-top:18px}.deck-year-row[hidden]{display:none}.deck-year-label{background:#111;border:1px solid #333;border-radius:16px;padding:16px}.deck-year-label span{display:block;font-size:34px;font-weight:900;color:#f3efe2}.deck-year-label strong{color:#b8b09a}.deck-card{display:inline-grid;vertical-align:top;width:min(220px,48vw);min-height:390px;margin:0 10px 10px 0;padding:14px;border:1px solid #333;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.35)),#111}.deck-card img{height:190px;justify-self:center}.deck-card h3{font-size:18px}.deck-card p{font-size:13px}.source-note{margin-top:18px}.gear-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gear-era-card{background:#111;border:1px solid #333;border-radius:18px;padding:18px;min-height:240px}.gear-era-card[hidden]{display:none}.gear-icon{width:86px;height:86px;margin-bottom:14px;border:4px solid #f3efe2;background:#222}.wheel-icon{border-radius:50%;box-shadow:inset 0 0 0 18px #111}.truck-icon{border-radius:14px;position:relative}.truck-icon:before{content:"";position:absolute;left:8px;right:8px;top:35px;height:14px;background:#9c9677;border-radius:999px}.truck-icon:after{content:"";position:absolute;left:28px;right:28px;top:18px;bottom:18px;border:4px solid #9c9677;border-radius:12px}.shoe-icon{border-radius:70% 30% 24% 32%;transform:skewX(-12deg)}.bearing-icon{border-radius:50%;box-shadow:inset 0 0 0 10px #111,inset 0 0 0 25px #9c9677}.other-icon{clip-path:polygon(50% 0,100% 28%,86% 100%,14% 100%,0 28%)}
@media(max-width:900px){.board-archive-intro,.deck-year-row{grid-template-columns:1fr}.gear-wall{grid-template-columns:1fr}.deck-card{width:100%}}

.park-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.park-archive-card{overflow:hidden;border:1px solid #333;border-radius:18px;background:#111}.park-archive-card img,.park-placeholder{width:100%;height:210px;object-fit:cover;display:grid;place-items:center;background:linear-gradient(135deg,#49391f,#080404);font-size:48px;font-weight:900;color:#f3efe2}.park-archive-card div:not(.park-placeholder){padding:16px}.legend-lane{display:grid;gap:12px;margin-bottom:26px}.legend-lane-head{display:flex;align-items:center;gap:12px}.legend-lane-head span{font-size:34px;font-weight:900;color:#9c9677}.legend-card-row{display:flex;gap:14px;overflow:auto;padding-bottom:12px}.legend-pro-card{flex:0 0 260px;border:1px solid #333;border-radius:18px;background:#111;overflow:hidden}.legend-pro-card img,.legend-placeholder{width:100%;height:250px;object-fit:cover;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,rgba(156,150,119,.35),transparent 35%),#080404;color:#f3efe2;font-size:42px;font-weight:900}.legend-pro-card div:not(.legend-placeholder){padding:16px}.legend-pro-card p{font-size:13px}.women-pros .legend-lane-head h3{color:#f3efe2}
@media(max-width:900px){.park-archive-grid{grid-template-columns:1fr}.legend-pro-card{flex-basis:78vw}}

.reference-board-wall{margin-top:22px}.reference-board-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reference-board-tile{overflow:hidden;border:1px solid #333;border-radius:18px;background:#111}.reference-board-art{height:280px;background:#050505;overflow:hidden}.reference-board-art img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);transform:scale(1.9)}.reference-board-art.wide-reference img{transform:scale(1);object-fit:contain}.reference-board-tile>div:not(.reference-board-art){padding:16px}.reference-board-tile h3{font-size:20px}.reference-board-tile p{font-size:13px}
.wheel-archive-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.wheel-card{display:grid;gap:14px;align-content:start;min-height:360px;border:1px solid #333;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),#111;padding:18px}.wheel-card h3{font-size:20px}.wheel-card p{font-size:13px}.wheel-visual{position:relative;width:138px;height:138px;margin:0 auto 4px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.58),transparent 0 16%,var(--wheel,#f3efe2) 17% 100%);box-shadow:inset 0 0 0 13px rgba(0,0,0,.2),inset 0 0 0 34px var(--wheel,#f3efe2),inset 0 0 0 45px var(--hub,#111),0 16px 34px rgba(0,0,0,.36)}.wheel-visual:before{content:"";position:absolute;inset:18px;border-radius:50%;border:2px dashed rgba(255,255,255,.42)}.wheel-visual span{position:relative;z-index:1;max-width:86px;text-align:center;color:#050505;font-size:18px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;text-shadow:0 1px rgba(255,255,255,.42)}.star-wheel:after,.slime-wheel:after,.modern-wheel:after{content:"";position:absolute;inset:9px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 10deg,rgba(255,255,255,.38) 10deg 18deg,transparent 18deg 45deg);mix-blend-mode:screen}.oj-wheel span{color:#fff}.bones-wheel span{font-size:14px}.small-wheel{width:104px;height:104px;margin-top:18px}
@media(max-width:1000px){.reference-board-grid,.wheel-archive-wall{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.reference-board-grid,.wheel-archive-wall{grid-template-columns:1fr}.reference-board-art img{transform:scale(1.45)}}

@media(max-width:760px){
  .site-header .nav-wrap{gap:8px;padding-left:12px;padding-right:12px}
  .site-header .logo img{width:190px;max-width:42vw}
  .site-header .account-menu-trigger{width:48px;height:52px;padding:6px}
  .site-header .account-menu-name{display:none}
  .site-header .mobile-toggle{font-size:18px;line-height:1;padding:8px 0;max-width:54px}
}

/* Mobile overflow guard for form/profile/social pages */
@media(max-width:600px){
  .container,
  .social-layout,
  .legal-layout,
  .auth-layout,
  .upload-wip-layout,
  .public-profile-layout,
  .profile-wrap{
    width:100%;
    max-width:100%;
    min-width:0;
  }

  .social-layout,
  .legal-layout,
  .upload-wip-layout,
  .public-profile-layout,
  .grid.two{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .card,
  .feed-column,
  .social-sidebar,
  .post-composer,
  .signup-form,
  .signup-form > *,
  .signup-form label,
  .upload-form,
  .upload-form > *,
  .legal-card,
  .signup-card,
  .local-wip-card,
  .dropzone,
  .public-profile-side,
  .public-profile-main{
    min-width:0;
    max-width:100%;
  }

  .signup-form,
  .upload-form,
  .local-wip-card{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .input,
  input,
  select,
  textarea,
  button,
  .btn,
  .demo-data-badge{
    max-width:100%;
  }

  .quick-action-row,
  .feed-filter-row,
  .post-actions,
  .wip-actions,
  .public-profile-actions{
    min-width:0;
    max-width:100%;
    flex-wrap:wrap;
  }

  .legal-card,
  .signup-card,
  .post-composer,
  .local-wip-card,
  .social-sidebar{
    overflow-wrap:anywhere;
  }

  .signup-form > *,
  .upload-form > *,
  .legal-summary-box,
  .checkline,
  .dropzone,
  .wip-actions,
  .demo-data-badge{
    width:100%;
  }

  .public-profile-head{
    align-items:flex-start;
    gap:12px;
  }

  .public-profile-head > div:not(.public-profile-avatar){
    flex:1 1 0;
    min-width:0;
  }

  .public-profile-head h1{
    font-size:clamp(26px,7.5vw,34px);
    overflow-wrap:anywhere;
  }
}
