/* Outrider — the interactive Outposts preview on /outposts.
   A light phone screen on the dark page, matching the static shots in app.css.
   One phone, two views: the list, and a place opened up. */

.demo { display:flex; gap:38px; align-items:flex-start; flex-wrap:wrap;
  justify-content:center; margin:34px 0 0; }

.demo-say { flex:1 1 300px; max-width:44ch; padding-top:6px; }
.demo-say h3 { font-size:clamp(19px,2.6vw,24px); line-height:1.14; letter-spacing:-.03em;
  font-weight:700; margin:0 0 13px; }
.demo-say p { font-size:16px; line-height:1.62; color:var(--ink-2); margin:0 0 13px; }
.demo-say p b { color:var(--ink); font-weight:640; }
.demo-say .try { font-family:ui-monospace,Consolas,monospace; font-size:11px;
  letter-spacing:.18em; text-transform:uppercase; color:var(--tan);
  margin:20px 0 0; display:flex; align-items:center; gap:9px; }
.demo-say .try i { width:6px; height:6px; border-radius:99px; background:var(--tan);
  font-style:normal; flex:none; }

/* ---- the phone ---- */
.dph { width:318px; height:648px; border-radius:38px; background:#241F19; padding:8px;
  box-shadow:0 0 0 1px rgba(255,255,255,.17), 0 2px 0 rgba(255,255,255,.05) inset, 0 36px 84px rgba(0,0,0,.72), 0 8px 22px rgba(0,0,0,.5);
  flex:0 0 auto; }
.dscr { width:100%; height:100%; border-radius:31px; overflow:hidden; position:relative;
  background:#FAF8F4; color:#17150F; display:flex; flex-direction:column;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
/* Header and status share a diluted version of the site's sand accent, so the
   app screens read as part of the same company as the website. */
.dstat { height:27px; flex:none; display:flex; align-items:center;
  justify-content:space-between; padding:7px 21px 0; font-size:10.5px; font-weight:640;
  background:#17150F; color:rgba(255,255,255,.72); }
.dbody { flex:1 1 auto; overflow-y:auto; overscroll-behavior:contain; }
.dbody::-webkit-scrollbar { width:0; }

/* list */
.dhd { padding:6px 17px 14px; flex:none; background:#17150F;
  border-bottom:1px solid #2C281F; }
.dhd h4 { font-size:23px; line-height:1.06; letter-spacing:-.034em; font-weight:730;
  margin:0 0 3px; color:#fff; }
.dhd .sub { font-size:12px; color:rgba(255,255,255,.78); margin:0; }
.dsearch { margin:12px 0 0; background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.24);
  border-radius:11px; padding:9px 12px; font-size:12.5px; color:rgba(255,255,255,.82);
  display:flex; align-items:center; gap:8px; }
.dlist { padding:8px 13px 22px; display:flex; flex-direction:column; gap:10px; }
.dcard { background:#fff; border:1px solid #E7E2D8; border-radius:14px; overflow:hidden;
  cursor:pointer; transition:.18s; text-align:left; padding:0; font:inherit; color:inherit;
  width:100%; display:block; }
.dcard:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(26,23,20,.12); }
.dcard:focus-visible { outline:2px solid var(--tan); outline-offset:2px; }
/* These are spans inside a <button>. Spans are inline by default, which silently
   throws away height and makes the photo vanish — they must be told otherwise. */
.dcard .im, .dcard .tx { display:block; }
.dcard .im { height:98px; background:#DED7CC center/cover no-repeat; position:relative; }
.dcard .im.none { display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#EFEAE2,#DED7CC); }
.dcard .im.none span { font-size:9.5px; letter-spacing:.16em; text-transform:uppercase;
  color:#6F6A5E; font-family:ui-monospace,Consolas,monospace; }
.dcard .mi { position:absolute; right:8px; bottom:8px; background:rgba(0,0,0,.6); color:#fff;
  font-size:10px; font-weight:640; padding:3px 8px; border-radius:99px;
  font-variant-numeric:tabular-nums; }
.dcard .tx { padding:10px 12px 12px; }
.dcard h5 { font-size:14px; line-height:1.22; letter-spacing:-.015em; font-weight:680;
  margin:0 0 3px; color:#17150F; }
.dcard .ag { font-size:11px; color:#6F6A5E; margin:0 0 7px; }
.dchips { display:flex; gap:5px; flex-wrap:wrap; }
.dchip { font-size:10px; font-weight:640; padding:3px 7px; border-radius:6px;
  background:#F1EDE5; color:#5F584E; white-space:nowrap; }
.dchip.g { background:#E5F0E8; color:#376E48; }
.dchip.w { background:#F8EDD7; color:#875D13; }
.dchip.t { background:transparent; border:1px dashed #E7E2D8; color:#6F6A5E; }

/* detail */
.ddet { display:none; }
.ddet.on { display:block; }
.dlistview.off { display:none; }
.dhero { height:186px; background:#DED7CC center/cover no-repeat; position:relative; }
.dhero.none { background:linear-gradient(135deg,#EFEAE2,#DED7CC); }
.dback { position:absolute; top:11px; left:11px; height:30px; padding:0 13px 0 9px;
  border-radius:99px; background:rgba(255,255,255,.95); border:none; cursor:pointer;
  font:inherit; font-size:12.5px; font-weight:640; color:#17150F; display:flex;
  align-items:center; gap:5px; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.dback:hover { background:#fff; }
.dgal { position:absolute; left:0; right:0; bottom:0; display:flex; gap:5px;
  padding:9px 11px; overflow-x:auto; background:linear-gradient(transparent,rgba(0,0,0,.4)); }
.dgal::-webkit-scrollbar { height:0; }
.dgal i { flex:0 0 auto; width:40px; height:40px; border-radius:7px; background:#fff center/cover;
  border:1.5px solid rgba(255,255,255,.85); cursor:pointer; }
.dgal i.on { border-color:#EFC391; }
.dgal .add { display:flex; align-items:center; justify-content:center; color:#fff;
  background:rgba(255,255,255,.16); border-style:dashed; font-size:16px; font-style:normal; }

.dwrap2 { padding:15px 17px 28px; }
.dwrap2 h4 { font-size:21px; line-height:1.08; letter-spacing:-.034em; font-weight:730;
  margin:0 0 4px; color:#17150F; }
.dwrap2 .ag { font-size:12px; color:#6F6A5E; margin:0 0 13px; }
.dprov { border:1px solid #E7E2D8; background:#fff; border-radius:11px; padding:10px 12px;
  margin:0 0 15px; display:flex; gap:9px; align-items:flex-start; }
.dprov i { width:7px; height:7px; border-radius:99px; background:#875D13; margin-top:4px;
  flex:none; font-style:normal; }
.dprov p { margin:0; font-size:11.5px; line-height:1.5; color:#5F584E; }
.dfacts { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:#E7E2D8;
  border:1px solid #E7E2D8; border-radius:11px; overflow:hidden; margin:0 0 15px; }
.dfact { background:#fff; padding:9px 11px; }
.dfact span { display:block; font-size:9px; letter-spacing:.13em; text-transform:uppercase;
  color:#6F6A5E; font-family:ui-monospace,Consolas,monospace; margin-bottom:3px; }
.dfact b { font-size:12.5px; font-weight:645; letter-spacing:-.01em; }
.dfact b.y { color:#376E48; } .dfact b.n { color:#A04338; }
.dfact b.u { color:#6F6A5E; font-weight:540; }
.dsec { margin:0 0 14px; }
.dsec h6 { font-size:9.5px; letter-spacing:.17em; text-transform:uppercase; color:#6F6A5E;
  font-family:ui-monospace,Consolas,monospace; margin:0 0 6px; font-weight:600; }
.dsec p { font-size:13px; line-height:1.56; color:#5F584E; margin:0; }
.dsec p.thin { color:#6F6A5E; font-style:italic; }
.dsrc { font-size:11.5px; color:#8A5A2B; }
.dcred { font-size:10.5px; color:#6F6A5E; margin-top:6px; }
.dacts { display:flex; gap:8px; margin:16px 0 0; }
.dbtn { flex:1; padding:11px; border-radius:10px; border:1px solid #E7E2D8; background:#fff;
  font:inherit; font-size:12.5px; font-weight:650; color:#17150F; text-align:center; }
.dbtn.pri { background:#17150F; color:#fff; border-color:#17150F; }
/* a second way out at the bottom, so you never have to scroll back up to leave */
.dbtn.wide { display:block; width:100%; margin:9px 0 0; cursor:pointer;
  background:transparent; border-color:transparent; color:#8A5A2B; font-weight:640; }
.dbtn.wide:hover { background:#F1EDE5; }

@media (max-width:760px) {
  .demo { gap:26px; }
  .demo-say { max-width:none; }
}
