:root{
  --red:#ed121e;
  --red2:#b5000a;
  --panel:#080808;
  --row:#171717;
  --text:#fff;
  --muted:#d0d0d0;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#020202;color:var(--text);font-family:Arial,Helvetica,sans-serif}
body{min-height:100vh;overflow-x:hidden}
button,input{font:inherit}


.top-scenery{
  position:fixed;
  inset:0 0 auto 0;
  height:310px;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.05),rgba(2,2,2,.72) 82%,#020202 100%),
    url("/static/header-clean.jpg") center top / cover no-repeat;
  z-index:0;
  pointer-events:none;
}

/* Disabled: old side textures contained pieces of the mockup UI. */
.texture-left,.texture-right{display:none!important}

.page-shell{
  position:relative;
  z-index:1;
  width:min(100%,980px);
  margin:0 auto;
  padding:30px 18px 0;
}

.hero{
  text-align:center;
  padding:10px 10px 28px;
}

.logo{
  width:min(88vw,620px);
  height:auto;
  display:block;
  margin:0 auto;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.75));
}

.main-card{
  border:2px solid var(--red);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(10,10,10,.97),rgba(3,3,3,.985));
  padding:22px;
  box-shadow:0 0 24px rgba(237,18,30,.11),0 28px 75px rgba(0,0,0,.58);
}

.simple-card{max-width:820px;margin:0 auto}

.heading{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  margin-bottom:20px;
}

.main-heading{grid-template-columns:auto 1fr auto}

.heading h1{
  margin:0;
  font-size:clamp(31px,5vw,47px);
  line-height:1;
  letter-spacing:-.02em;
}

.heading p{
  margin:8px 0 0;
  color:#d1d1d1;
  font-size:17px;
}

.stacked-photo-icon{
  width:74px;
  height:64px;
  position:relative;
}

.stacked-photo-icon span{
  position:absolute;
  width:53px;
  height:46px;
  border-radius:5px;
  background:#0b0b0b;
}

.stacked-photo-icon span:first-child{
  left:3px;top:2px;
  border:5px solid #ff4350;
  transform:rotate(-9deg);
}

.stacked-photo-icon span:last-child{
  right:0;bottom:0;
  border:5px solid #ef1521;
}

.count-pill{
  border:1px solid #464646;
  background:rgba(15,15,15,.95);
  border-radius:999px;
  padding:12px 22px;
  font-size:16px;
  font-weight:900;
  white-space:nowrap;
}

.photo-list{display:grid;gap:13px}

.photo-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:16px;
  align-items:center;
  min-height:94px;
  padding:14px 16px;
  border:1px solid #3b3b3b;
  border-radius:15px;
  background:linear-gradient(180deg,#1a1a1a,#101010);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.photo-badge{
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#070707;
  font-size:27px;
  font-weight:950;
}

.photo-badge.red{color:#ff1b27;border:2px solid #ff1b27}
.photo-badge.purple{color:#b72cff;border:2px solid #b72cff}
.photo-badge.green{color:#00d052;border:2px solid #00d052}

.photo-info{min-width:0}

.photo-top-line{
  display:flex;
  align-items:center;
  gap:11px;
  flex-wrap:wrap;
}

.photo-number{
  font-size:clamp(29px,5vw,39px);
  font-weight:950;
  line-height:1;
}

.photo-type{
  margin-top:5px;
  font-size:17px;
  color:#d4d4d4;
}

.edit-link{
  border:0;
  background:transparent;
  color:#a8a8a8;
  padding:0;
  font-size:11px;
  font-weight:800;
  text-decoration:underline;
  cursor:pointer;
}

.remove-button{
  width:58px;
  height:58px;
  border-radius:11px;
  border:2px solid var(--red);
  background:#0a0a0a;
  color:#ff2833;
  font-size:26px;
  cursor:pointer;
}

.two-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:20px;
}

.large-action{
  width:100%;
  min-height:110px;
  border-radius:15px;
  padding:17px 19px;
  display:flex;
  gap:15px;
  align-items:center;
  justify-content:center;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}

.primary-action{
  border:1px solid #ff313b;
  background:linear-gradient(180deg,#ef0f1b,#be000a);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13);
}

.secondary-action{
  border:1px solid #4c4c4c;
  background:linear-gradient(180deg,#2a2a2a,#141414);
  color:#fff;
}

.camera-symbol,.pencil-symbol{
  flex:0 0 auto;
  font-size:39px;
  line-height:1;
}

.large-action strong{
  display:block;
  font-size:20px;
}

.large-action small{
  display:block;
  margin-top:4px;
  font-size:14px;
  color:#ececec;
  font-weight:400;
}

.clear-action{
  width:100%;
  min-height:83px;
  margin-top:14px;
  border:2px solid var(--red);
  border-radius:15px;
  background:rgba(12,0,2,.72);
  color:#ff2530;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.trash-big{font-size:35px}
.clear-action strong{display:block;font-size:20px}
.clear-action small{display:block;margin-top:4px;color:#c5c5c5;font-size:14px;font-weight:400}

.trailer-banner{
  margin-top:18px;
  border:2px solid #6a0a10;
  border-left-color:var(--red);
  border-right-color:var(--red);
  background:
    linear-gradient(90deg,rgba(237,18,30,.09),transparent 25%,transparent 75%,rgba(237,18,30,.08)),
    #070707;
  border-radius:3px;
  padding:16px 22px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:20px;
  align-items:center;
  text-align:center;
}

.outside-banner{
  margin:16px 4px 0;
  box-shadow:0 0 18px rgba(237,18,30,.12);
}

.trailer-banner strong{
  display:block;
  font-size:clamp(19px,3vw,26px);
  letter-spacing:.025em;
}

.trailer-banner em{color:var(--red);font-style:normal}

.trailer-banner span{
  display:block;
  margin-top:5px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.28em;
}

.trailer-banner small{
  display:block;
  margin-top:8px;
  font-size:12px;
  letter-spacing:.18em;
  color:#e0e0e0;
}

.empty-state{
  padding:30px 15px;
  border:1px dashed #444;
  border-radius:14px;
  color:#aaa;
  text-align:center;
}



.haunt-footer{
  min-height:320px;
  margin:0 -18px;
  position:relative;
  display:grid;
  place-items:start center;
  padding-top:42px;
  overflow:hidden;
  background:transparent;
}
.haunt-footer::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:min(1800px,140vw);
  height:320px;
  transform:translateX(-50%);
  background:url("/static/forest-seamless.png") center bottom / cover no-repeat;
  opacity:.98;
  pointer-events:none;
}
.haunt-footer::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,#020202 0%,rgba(2,2,2,.22) 23%,transparent 44%),
    radial-gradient(circle at 50% 78%,rgba(180,0,10,.20),transparent 36%);
  pointer-events:none;
}
.haunt-copy{
  position:relative;
  z-index:2;
  text-align:center;
  transform:rotate(-4deg);
  filter:drop-shadow(0 3px 4px rgba(0,0,0,.8));
}
.haunt-copy span{
  display:block;
  font-size:clamp(28px,5vw,43px);
  font-weight:950;
  font-style:italic;
  line-height:.9;
  color:#eeeeee;
  letter-spacing:-.03em;
}
.haunt-copy i{
  display:block;
  width:165px;
  height:5px;
  background:var(--red);
  margin:18px auto 0;
  transform:rotate(-7deg);
  border-radius:999px;
}
.save-card{text-align:center}
.saved-kicker{color:var(--red);font-weight:950;letter-spacing:.14em;font-size:13px}
.saved-number{font-size:clamp(70px,16vw,112px);font-weight:950;line-height:.9;margin:16px 0 8px}
.saved-type{font-size:22px;color:#ddd}
.saved-status{margin:14px 0 22px;color:#ff303a;font-weight:850}
.save-card .large-action{margin-top:12px}

.modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:16px;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(5px);
}

.modal[hidden]{display:none}

.modal-card{
  width:min(100%,500px);
  max-height:calc(100vh - 32px);
  overflow:auto;
  background:#0b0b0b;
  border:2px solid var(--red);
  border-radius:18px;
  padding:22px;
  box-shadow:0 30px 90px rgba(0,0,0,.7);
}

.modal-card h2{margin:0 0 8px;font-size:29px}
.modal-card p{color:#c8c8c8}

.photo-input{
  width:100%;
  min-height:58px;
  border:2px solid #444;
  border-radius:12px;
  background:#020202;
  color:#fff;
  padding:10px 13px;
  font-size:28px;
  font-weight:900;
  outline:none;
}

.photo-input:focus{border-color:var(--red)}

.modal-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.modal-button{
  min-height:52px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}

.modal-button.red{border:0;background:linear-gradient(180deg,#ef0e1a,#b80009);color:#fff}
.modal-button.dark{border:1px solid #444;background:#202020;color:#fff}

.scanner-title-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.close-x{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #555;
  background:#1a1a1a;
  color:#fff;
  font-size:27px;
  cursor:pointer;
}

.reader{
  margin-top:12px;
  overflow:hidden;
  border-radius:14px;
  background:#000;
}

.reader video{width:100%!important;border-radius:14px}
.scanner-status{min-height:20px;margin-top:11px;text-align:center;color:#c9c9c9}

@media (max-width:720px){
  .top-scenery{height:235px}
  .page-shell{padding:18px 10px 0}
  .hero{padding-bottom:18px}
  .main-card{padding:14px;border-radius:17px}
  .main-heading{grid-template-columns:auto 1fr}
  .count-pill{grid-column:1/-1;justify-self:end;padding:9px 15px;font-size:14px}
  .stacked-photo-icon{width:58px;height:52px}
  .stacked-photo-icon span{width:42px;height:37px;border-width:4px}
  .heading{gap:12px}
  .heading h1{font-size:31px}
  .heading p{font-size:15px}
  .photo-row{grid-template-columns:auto 1fr auto;min-height:82px;padding:12px 10px;gap:10px}
  .photo-badge{width:51px;height:51px;font-size:21px}
  .remove-button{width:48px;height:48px;font-size:22px}
  .photo-number{font-size:29px}
  .photo-type{font-size:14px}
  .two-actions{grid-template-columns:1fr;gap:11px}
  .large-action{min-height:88px}
  .large-action strong{font-size:18px}
  .large-action small{font-size:13px}
  .trailer-banner{grid-template-columns:46px 1fr;gap:10px;padding:13px 10px}
  .trailer-banner strong{font-size:17px}
  .trailer-banner span{font-size:11px}
  .trailer-banner small{font-size:10px}
  .haunt-footer{min-height:260px;margin:0 -10px;padding-top:34px}
  .haunt-copy span{font-size:29px}
}

@media (max-width:430px){
  .photo-top-line{gap:7px}
  .edit-link{font-size:10px}
  .clear-action strong{font-size:17px}
  .clear-action small{font-size:12px}
}


/* Polished UI icons — no emoji/font glyphs */
.ui-photo-icon,
.ui-camera-icon,
.ui-trash-icon,
.ui-pencil-icon{
  position:relative;
  flex:0 0 auto;
  display:inline-block;
  width:42px;
  height:42px;
}

.ui-photo-icon::before{
  content:"";
  position:absolute;
  left:6px;
  top:7px;
  width:25px;
  height:21px;
  border:3px solid #fff;
  border-radius:3px;
  transform:rotate(-7deg);
  opacity:.85;
}
.ui-photo-icon::after{
  content:"";
  position:absolute;
  right:3px;
  bottom:4px;
  width:26px;
  height:22px;
  border:3px solid #fff;
  border-radius:3px;
  background:transparent;
}
.ui-photo-icon i::before{
  content:"";
  position:absolute;
  right:8px;
  top:17px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#fff;
}

.ui-camera-icon::before{
  content:"";
  position:absolute;
  left:3px;
  top:11px;
  width:35px;
  height:25px;
  border:3px solid #fff;
  border-radius:5px;
}
.ui-camera-icon::after{
  content:"";
  position:absolute;
  left:12px;
  top:5px;
  width:16px;
  height:9px;
  border:3px solid #fff;
  border-bottom:0;
  border-radius:4px 4px 0 0;
}
.ui-camera-icon i{
  position:absolute;
  left:14px;
  top:17px;
  width:13px;
  height:13px;
  border:3px solid #fff;
  border-radius:50%;
}

.ui-pencil-icon::before{
  content:"";
  position:absolute;
  width:31px;
  height:7px;
  left:4px;
  top:18px;
  border:3px solid #fff;
  border-radius:2px;
  transform:rotate(-45deg);
}
.ui-pencil-icon::after{
  content:"";
  position:absolute;
  width:12px;
  height:3px;
  right:1px;
  bottom:7px;
  background:#fff;
  border-radius:999px;
}

.ui-trash-icon::before{
  content:"";
  position:absolute;
  left:10px;
  top:11px;
  width:20px;
  height:25px;
  border:3px solid currentColor;
  border-top:0;
  border-radius:0 0 3px 3px;
}
.ui-trash-icon::after{
  content:"";
  position:absolute;
  left:8px;
  top:7px;
  width:24px;
  height:3px;
  background:currentColor;
  border-radius:999px;
}
.ui-trash-icon i::before{
  content:"";
  position:absolute;
  left:15px;
  top:3px;
  width:10px;
  height:5px;
  border:3px solid currentColor;
  border-bottom:0;
  border-radius:3px 3px 0 0;
}

.mini-trash{
  position:relative;
  display:inline-block;
  width:22px;
  height:25px;
}
.mini-trash::before{
  content:"";
  position:absolute;
  left:4px;
  top:6px;
  width:13px;
  height:16px;
  border:2px solid currentColor;
  border-top:0;
  border-radius:0 0 2px 2px;
}
.mini-trash::after{
  content:"";
  position:absolute;
  left:2px;
  top:3px;
  width:17px;
  height:2px;
  background:currentColor;
  border-radius:999px;
}

.camera-symbol,.pencil-symbol,.trash-big{display:none!important}


.large-action{
  gap:18px;
}
.large-action .ui-photo-icon,
.large-action .ui-camera-icon,
.large-action .ui-pencil-icon{
  width:44px;
  height:44px;
}
.clear-action .ui-trash-icon{
  color:#ff2631;
  width:40px;
  height:40px;
}
.remove-button{
  display:grid;
  place-items:center;
  line-height:1;
}
.remove-button .mini-trash{
  color:#ff2933;
}
.haunt-footer{
  margin-top:2px;
}


/* v12 MOBILE SAFETY OVERRIDES */
.location-pin{
  width:46px !important;
  height:58px !important;
  max-width:46px !important;
  max-height:58px !important;
  min-width:0 !important;
  object-fit:contain !important;
  display:block !important;
  position:static !important;
  transform:none !important;
}

.trailer-banner,
.outside-banner{
  grid-template-columns:58px minmax(0,1fr) !important;
  align-items:center !important;
  gap:14px !important;
  min-height:112px !important;
  overflow:hidden !important;
}

.trailer-banner > div{
  min-width:0 !important;
}

@media (max-width:720px){
  .page-shell{
    width:100% !important;
    max-width:100% !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .outside-banner{
    margin:14px 4px 0 !important;
  }

  .trailer-banner,
  .outside-banner{
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:10px !important;
    padding:13px 12px !important;
    min-height:96px !important;
  }

  .location-pin{
    width:34px !important;
    height:44px !important;
    max-width:34px !important;
    max-height:44px !important;
    justify-self:center !important;
  }

  .trailer-banner strong{
    font-size:15px !important;
    line-height:1.15 !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  .trailer-banner span{
    font-size:10px !important;
    line-height:1.25 !important;
    letter-spacing:.20em !important;
  }

  .trailer-banner small{
    font-size:9px !important;
    line-height:1.3 !important;
    letter-spacing:.12em !important;
  }

  .haunt-footer{
    min-height:230px !important;
    padding-top:30px !important;
  }

  .haunt-footer::before{
    height:230px !important;
    width:130vw !important;
  }

  .haunt-copy span{
    font-size:27px !important;
  }
}

@media (max-width:390px){
  .trailer-banner strong{font-size:14px !important}
  .trailer-banner span{font-size:9px !important}
  .trailer-banner small{font-size:8px !important}
}

/* v14 main page scanner */
.home-view-button{
  margin-top:12px;
}
