*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfaf6;color:#0d1a34;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}header{height:94px;display:flex;align-items:center;max-width:1390px;margin:auto;padding:0 36px;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#0a0a0a;font-size:27px}.brand>span:last-child{display:flex;flex-direction:column;line-height:1}.brand small{font-size:9px;letter-spacing:2.5px;color:#697286;margin-top:8px}.mark{background:#cfff35;padding:9px 8px;border-radius:9px;transform:rotate(-4deg);font-weight:900}nav{display:flex;gap:42px}nav a{color:#0d1a34;text-decoration:none;font-size:14px}.actions{display:flex;gap:28px}.ghost,.dark,.urlbox button{border-radius:10px;padding:13px 27px;font-weight:700;font-size:14px}.ghost{background:transparent;border:1px solid #aab1bd}.dark,.urlbox button{background:#0d1a34;color:white;border:0}.hero{text-align:center;padding:32px 20px 0;overflow:hidden}.eyebrow{color:#5b45ff;letter-spacing:1.5px;font-weight:800;font-size:12px}.hero h1{font-size:66px;line-height:.98;margin:18px 0 22px;letter-spacing:-3px}.hero h1 span{display:block;color:#7e8797}.lead{color:#6f788b;font-size:17px;line-height:1.55}.urlbox{max-width:760px;height:72px;margin:24px auto 10px;background:white;border:1px solid #d8dbe0;border-radius:12px;display:flex;align-items:center;padding:8px 10px 8px 20px;box-shadow:0 14px 34px #0d1a3410;gap:12px}.urlbox input{flex:1;border:0;outline:0;font-size:17px}.urlbox button{height:56px}.micro{font-size:12px;color:#8c94a1}.crewhero{display:block;width:min(1220px,100%);margin:-2px auto -3px}.features{margin:0 auto 80px;max-width:1480px;background:#fff;border:1px solid #e4e5e7;border-radius:18px;box-shadow:0 8px 25px #00000008;display:grid;grid-template-columns:repeat(4,1fr);padding:28px 38px;gap:28px}.features article{display:flex;gap:17px;align-items:flex-start}.features article>b{font-size:28px}.features h3{font-size:14px;margin:0 0 5px}.features p{font-size:12px;line-height:1.5;color:#737d90;margin:0}.content{max-width:1050px;margin:auto;padding:95px 30px;text-align:center}.content h2{font-size:43px;letter-spacing:-1.5px;margin:12px 0}.content p{font-size:18px;line-height:1.7;color:#687386}.alt{max-width:none;background:white;padding-left:max(30px,calc((100% - 990px)/2));padding-right:max(30px,calc((100% - 990px)/2))}footer{padding:35px;display:flex;gap:25px;justify-content:center;color:#6d7583}.modal{position:fixed;inset:0;background:#07101dcc;display:none;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modalbox{background:white;border-radius:18px;padding:36px;max-width:520px;position:relative}.modalbox button{position:absolute;right:15px;top:10px;border:0;background:none;font-size:28px}@media(max-width:850px){nav{display:none}.actions .ghost{display:none}.hero h1{font-size:43px}.lead br{display:none}.features{grid-template-columns:1fr 1fr;margin:0 15px 50px}.crewhero{width:120%;margin-left:-10%}header{padding:0 18px}.brand{font-size:22px}}
.personaClicks{max-width:1220px;margin:-25px auto 28px;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:0 12px}.personaClicks button{border:1px solid transparent;background:transparent;padding:10px 5px;border-radius:12px;cursor:pointer;color:#15203a}.personaClicks button:hover,.personaClicks button.chosen{background:white;border-color:#dfe2e7;box-shadow:0 8px 20px #0000000c;transform:translateY(-2px)}.personaClicks b,.personaClicks small{display:block}.personaClicks small{color:#7a8392;margin-top:4px;font-size:10px}.personaPanel{max-width:980px;margin:0 auto 55px;background:white;border:1px solid #e2e4e8;border-radius:22px;padding:0 42px;max-height:0;overflow:hidden;opacity:0;transition:.45s;position:relative}.personaPanel.open{max-height:650px;padding-top:38px;padding-bottom:38px;opacity:1}.personaPanel .x{position:absolute;right:22px;top:18px;border:0;background:none;font-size:28px}.profileTop{display:flex;gap:18px;align-items:center}.profileTop h2{font-size:36px;margin:3px 0}.avatar{width:68px;height:68px;border-radius:50%;background:#d2ff39;display:grid;place-items:center;font-size:30px;font-weight:900}.personaPanel p{color:#687386;line-height:1.65}.stats{display:flex;gap:12px;margin:18px 0}.stats span,.chips i{background:#f2f4f6;border-radius:9px;padding:9px 12px;font-size:12px}.stats b{margin-left:7px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips i{font-style:normal}.profileCta{margin-top:24px}.scanner{padding:75px 20px;text-align:center;background:#f4f1ff}.scanner h2{font-size:45px;margin:10px}.scanner p{color:#6e7686}.scanStage,.results{display:none;max-width:1050px;margin:50px auto;padding:45px}.scanStage.show,.results.show{display:block}.scanStage{text-align:center}.pulse{width:80px;height:80px;border-radius:50%;background:#cfff35;margin:auto;animation:pulse 1.2s infinite}@keyframes pulse{50%{transform:scale(.85);opacity:.65}}.progress{height:7px;background:#e7e9ed;border-radius:8px;overflow:hidden;margin:25px auto;max-width:500px}.progress i{display:block;height:100%;width:40%;background:#5b45ff;animation:load 2s infinite}@keyframes load{from{transform:translateX(-100%)}to{transform:translateX(350%)}}.resultHead{display:flex;justify-content:space-between;gap:30px;align-items:center}.resultHead h2{font-size:40px;margin:8px 0}.resultHead p{color:#687386;line-height:1.6}.score{font-size:60px;font-weight:900}.score small{font-size:16px;color:#88909e}.issuegrid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:30px}.issuegrid article{background:white;border:1px solid #e4e6e9;border-left:7px solid;border-radius:14px;padding:22px}.issuegrid .red{border-left-color:#e54b4b}.issuegrid .amber{border-left-color:#e6a92c}.issuegrid .green{border-left-color:#42a66a}.issuegrid article>b{font-size:12px}.issuegrid article p,.issuegrid article small{color:#687386;line-height:1.5}.signup{margin-top:35px;background:#0d1a34;color:white;border-radius:18px;padding:30px}.signup p{color:#c6cbd5}.signup>div{display:flex;gap:8px}.signup input{padding:14px;border-radius:8px;border:0;flex:1}.signup .dark{background:#cfff35;color:#0d1a34}.signup label{display:block;font-size:11px;margin-top:12px;color:#c6cbd5}@media(max-width:850px){.personaClicks{grid-template-columns:repeat(2,1fr)}.issuegrid{grid-template-columns:1fr}.resultHead{align-items:flex-start}.personaPanel{margin:0 15px 40px}.stats{flex-direction:column}}

/* v4.1: character art itself is the selector */
.personaClicks{display:none!important}
.hero{position:relative}
.crewhero{margin-bottom:0}
.personaHotspots{width:min(1220px,100%);height:250px;margin:-280px auto 30px;position:relative;z-index:5;display:grid;grid-template-columns:repeat(7,1fr);padding:0 12px}
.personaHotspots button{border:0;background:transparent;cursor:pointer;border-radius:22px;transition:.22s}
.personaHotspots button:hover{background:rgba(207,255,53,.10);box-shadow:inset 0 -4px 0 rgba(91,69,255,.25)}
.personaHotspots button.chosen{background:rgba(207,255,53,.13);box-shadow:inset 0 -5px 0 #cfff35}
.personaPanel.open{margin-top:18px}
@media(max-width:850px){.personaHotspots{height:180px;margin-top:-205px;grid-template-columns:repeat(7,1fr);padding:0}.personaHotspots button{min-width:0}}

/* V5 rich global persona profiles */
.personaHotspots button:hover{background:transparent!important;box-shadow:none!important;transform:translateY(-3px)}
.personaHotspots button.chosen{background:transparent!important;box-shadow:none!important;position:relative}
.personaHotspots button.chosen:after{content:"";position:absolute;left:20%;right:20%;bottom:3px;height:4px;border-radius:5px;background:#cfff35}
.personaPanel{max-width:1450px!important;border-radius:18px!important;padding:0!important;display:grid;grid-template-columns:40% 1fr 300px;gap:28px;background:#fff;box-shadow:0 18px 55px rgba(15,30,60,.08)}
.personaPanel.open{max-height:900px!important;padding:12px!important}
.profileVisual{min-height:430px;border-radius:13px;overflow:hidden;position:relative;background:#f6f2eb}
.profileVisual img{width:100%;height:100%;object-fit:cover;object-position:center top;transform:scale(1.12)}
.visualNote{position:absolute;right:18px;top:20px;font-family:"Segoe Print","Bradley Hand",cursive;font-size:18px;line-height:1.15;transform:rotate(-5deg);color:#173a72;text-align:center}
.profileStory{padding:20px 0 14px}.signature{font-family:"Segoe Print","Bradley Hand",cursive;font-size:52px;font-weight:700;color:var(--accent);line-height:1;transform:rotate(-2deg);display:inline-block}
.profileMeta{font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#61708a;margin:8px 0 16px}
.profileStory blockquote{font-family:"Segoe Print","Bradley Hand",cursive;font-size:21px;color:#14284c;margin:0 0 14px}
.profileStory>p{font-size:14px;line-height:1.6;color:#61708a;margin:0 0 14px}
.life{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 18px}.life span{background:#f4f5f8;border-radius:9px;padding:8px 11px;font-size:11px;color:#33415d}
.profileStory h3{font-size:16px;margin:12px 0}.chips i{background:color-mix(in srgb,var(--accent) 10%,white)!important;border:1px solid color-mix(in srgb,var(--accent) 18%,white);color:#263755}
.motto{font-family:"Segoe Print","Bradley Hand",cursive;color:var(--accent);font-size:19px;margin-top:20px}
.quick{align-self:center;background:color-mix(in srgb,var(--accent) 7%,white);border-radius:14px;padding:20px}.quick h3{font-size:11px;letter-spacing:1.4px;color:#53627c}.meter{display:grid;grid-template-columns:95px 1fr 65px;gap:8px;align-items:center;margin:13px 0;font-size:10px}.meter i{height:8px;background:#e8e8ed;border-radius:8px;overflow:hidden}.meter i b{display:block;height:100%;background:var(--accent);border-radius:8px}.meter strong{text-align:right;font-size:10px}.quick .profileCta{width:100%;margin-top:25px}.quick>small{display:block;text-align:center;color:#7b8495;margin-top:8px}
@media(max-width:1000px){.personaPanel{grid-template-columns:1fr!important}.profileVisual{min-height:330px}.quick{width:auto}.personaPanel.open{max-height:1600px!important}.profileStory{padding:12px 16px}}

/* V5.1 — balanced persona profile, closer to approved visual */
.personaPanel{
  max-width:1450px!important;
  grid-template-columns:minmax(320px,38%) minmax(420px,1fr) 300px!important;
  gap:26px!important;
  align-items:stretch!important;
  overflow:hidden;
}
.personaPanel.open{padding:12px!important;max-height:680px!important}
.profileVisual{
  height:440px!important;
  min-height:0!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#f5efe5,#eef5eb);
  overflow:hidden!important;
}
.profileVisual img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;
  object-position:center 20%!important;
  transform:none!important;
}
.profileStory{padding:18px 0 10px!important;min-width:0}
.profileStory>p{max-width:680px;font-size:13px!important;line-height:1.55!important}
.signature{font-size:48px!important}
.quick{align-self:center!important;margin-right:8px!important}
.visualNote{
  top:20px!important;right:18px!important;
  padding:8px 12px;background:rgba(255,255,255,.78);
  border-radius:10px;backdrop-filter:blur(3px)
}
@media(max-width:1000px){
 .personaPanel{grid-template-columns:1fr!important}
 .personaPanel.open{max-height:1700px!important}
 .profileVisual{height:360px!important}
}

/* ===========================
   V6 RESPONSIVE PRODUCTION UI
   =========================== */

/* Desktop: keep artwork clean; no fluorescent selected overlay */
.personaHotspots button,
.personaHotspots button:hover,
.personaHotspots button.chosen{
  background:transparent!important;
  box-shadow:none!important;
}
.personaHotspots button.chosen:after{
  content:"";
  position:absolute;
  left:30%; right:30%; bottom:2px;
  height:4px; border-radius:10px;
  background:#cfff35;
}

/* Profile: balanced editorial layout */
.personaPanel{
  width:min(1180px,calc(100% - 32px))!important;
  margin:18px auto 34px!important;
  grid-template-columns:minmax(260px,34%) minmax(0,1fr) 260px!important;
  gap:24px!important;
  border:1px solid #e2e6ee!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
.personaPanel.open{
  padding:14px!important;
  max-height:none!important;
}
.profileVisual{
  height:390px!important;
  min-height:390px!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:#f3f1eb!important;
}
.profileVisual img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;
  object-position:center top!important;
  transform:none!important;
}
.profileStory{padding:15px 0!important}
.signature{font-size:44px!important}
.quick{margin:0!important;align-self:center!important}
.visualNote{font-size:15px!important}

/* Never let the page itself become wider than the viewport */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}

/* -------- MOBILE -------- */
@media (max-width: 760px){

  header, nav, .nav, .topbar{
    max-width:100%!important;
  }

  /* Hero controls */
  .hero{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .hero h1{
    font-size:42px!important;
    line-height:.98!important;
  }
  .urlbox,
  .urlBar,
  .url-entry{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    height:auto!important;
  }
  .urlbox input,
  .urlBar input,
  .url-entry input{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .urlbox button,
  .urlBar button,
  .url-entry button,
  #chooseTester,
  .chooseTester{
    width:100%!important;
    min-height:52px!important;
    position:static!important;
  }

  /* Crew becomes a swipe strip instead of seven tiny people */
  .crewResponsive,
  .crewhero{
    width:1050px!important;
    max-width:none!important;
    height:auto!important;
    display:block!important;
  }
  .crewhero-wrap,
  .crewWrap,
  .crew-section{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .crewhero-wrap::-webkit-scrollbar,
  .crewWrap::-webkit-scrollbar,
  .crew-section::-webkit-scrollbar{display:none}

  /* Existing invisible click targets track the large artwork */
  .personaHotspots{
    width:1050px!important;
    max-width:none!important;
    height:225px!important;
    margin-top:-245px!important;
    grid-template-columns:repeat(7,150px)!important;
    padding:0!important;
    transform:none!important;
  }
  .personaHotspots button{
    width:150px!important;
    min-width:150px!important;
  }

  /* Expanded tester becomes a proper mobile card */
  .personaPanel{
    width:calc(100% - 24px)!important;
    margin:18px 12px 30px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    border-radius:18px!important;
  }
  .personaPanel.open{
    padding:10px!important;
  }
  .profileVisual{
    order:1;
    width:100%!important;
    height:310px!important;
    min-height:310px!important;
  }
  .profileStory{
    order:2;
    padding:10px 8px 4px!important;
  }
  .quick{
    order:3;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .signature{font-size:42px!important}
  .profileMeta{font-size:10px!important;line-height:1.4!important}
  .profileStory blockquote{font-size:19px!important}
  .life,.chips{gap:6px!important}
  .life span,.chips i{font-size:10px!important;padding:7px 9px!important}
  .profileCta{min-height:50px!important}

  /* Scanner/results */
  .scanner,#scan,.results,#results{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .issuegrid{
    grid-template-columns:1fr!important;
  }
  .resultHead{
    display:flex!important;
    flex-direction:column!important;
  }
}

/* Small phones */
@media (max-width:420px){
  .hero h1{font-size:36px!important}
  .profileVisual{height:270px!important;min-height:270px!important}
  .personaPanel{width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}
}

.crewMobileRail{position:relative;width:100%;overflow:visible}
@media(max-width:760px){
 .crewMobileRail{
   overflow-x:auto!important;overflow-y:hidden!important;
   -webkit-overflow-scrolling:touch;
   padding-bottom:8px;
 }
 .crewMobileRail .personaHotspots{
   position:absolute!important;
   left:0!important;
   bottom:8px!important;
   margin:0!important;
 }
}
