/* HYBRI8 Profile — premium visual layer, presentation only */
body.profile-page{
  background:
    radial-gradient(circle at 78% -10%,rgba(231,185,143,.16),transparent 30rem),
    radial-gradient(circle at 8% 42%,rgba(185,119,71,.055),transparent 24rem),
    linear-gradient(180deg,#0b1419 0,#071016 48%,#05090c 100%);
}
.profile-page .top{margin-bottom:18px}
.profile-page .brand{letter-spacing:.065em}
.profile-page .mark{
  border-color:rgba(231,185,143,.42);
  background:radial-gradient(circle at 32% 18%,rgba(241,209,181,.26),transparent 42%),linear-gradient(145deg,#2b2018,#111619);
  box-shadow:0 14px 34px rgba(0,0,0,.34),0 0 24px rgba(185,119,71,.09),inset 0 1px 0 rgba(255,255,255,.07);
}
.profile-page .hero{
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-color:rgba(231,185,143,.28);
  background:
    radial-gradient(circle at 86% 8%,rgba(241,209,181,.18),transparent 18rem),
    radial-gradient(circle at 12% 110%,rgba(185,119,71,.10),transparent 22rem),
    linear-gradient(145deg,#1a1b1b 0,#10191d 58%,#0a1013 100%);
  box-shadow:0 28px 90px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.055);
}
.profile-page .hero:before{
  content:"PROFILE";
  position:absolute;
  right:24px;
  top:22px;
  font-size:10px;
  font-weight:950;
  letter-spacing:.24em;
  color:rgba(241,209,181,.32);
}
.profile-page .hero h1{font-size:clamp(44px,9vw,70px);max-width:720px}
.profile-page .hero p{max-width:620px;font-size:15px;color:#cbd2ce}

/* Guest conversion showcase */
.profile-page .profile-guest-showcase{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:18px;align-items:stretch;margin-top:18px;padding:18px;border:1px solid rgba(231,185,143,.28);border-radius:28px;background:radial-gradient(circle at 90% 0,rgba(231,185,143,.14),transparent 18rem),linear-gradient(145deg,rgba(19,27,30,.99),rgba(6,11,14,.99));box-shadow:0 30px 82px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.04)}
.profile-page .profile-guest-copy{align-self:center;padding:14px 8px 14px 14px}.profile-page .profile-guest-copy h2{margin:10px 0 12px;font-size:clamp(42px,6vw,68px);line-height:.94;letter-spacing:-.06em}.profile-page .profile-guest-copy>p{max-width:630px;margin:0;color:#b9c3bd;font-size:14px;line-height:1.58}.profile-page .profile-guest-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.profile-page .profile-guest-benefits>span{min-width:0;padding:12px;border:1px solid rgba(231,185,143,.14);border-radius:14px;background:rgba(255,255,255,.018)}.profile-page .profile-guest-benefits b{width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(231,185,143,.18);border-radius:10px;background:rgba(213,161,115,.07);color:#efc6a4;font-size:13px}.profile-page .profile-guest-benefits strong{display:block;margin-top:10px;font-size:12px}.profile-page .profile-guest-benefits small{display:block;margin-top:3px;color:#89968f;font-size:10px;line-height:1.35}.profile-page .profile-guest-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.profile-page .profile-guest-actions .btn{min-height:50px}.profile-page .profile-guest-note{display:block;margin-top:10px;color:#839089;font-size:10px;line-height:1.45}
.profile-page .profile-guest-visual{position:relative;overflow:hidden;min-height:370px;border:1px solid rgba(231,185,143,.22);border-radius:22px;background:#071014;box-shadow:0 24px 62px rgba(0,0,0,.34);isolation:isolate}.profile-page .profile-guest-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 27%;filter:saturate(.82) contrast(1.06) brightness(.74)}.profile-page .profile-guest-visual:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(4,8,10,.03),rgba(4,8,10,.08) 42%,rgba(4,8,10,.9) 100%)}.profile-page .profile-guest-visual-top{position:absolute;z-index:2;left:13px;right:13px;top:12px;display:flex;justify-content:space-between;gap:10px}.profile-page .profile-guest-visual-top span,.profile-page .profile-guest-visual-top b{padding:6px 8px;border:1px solid rgba(231,185,143,.22);border-radius:999px;background:rgba(5,11,14,.68);font-size:10px;font-weight:900;letter-spacing:.1em}.profile-page .profile-guest-visual-top span{color:#e7b98f}.profile-page .profile-guest-visual-top b{color:#c8d0cc}.profile-page .profile-guest-visual-bottom{position:absolute;z-index:2;left:15px;right:15px;bottom:16px}.profile-page .profile-guest-visual-bottom small{display:block;color:#aeb8b2;font-size:10px;font-weight:900;letter-spacing:.12em}.profile-page .profile-guest-visual-bottom strong{display:block;margin-top:6px;color:#fff;font-size:26px;line-height:.96;letter-spacing:-.04em}
.profile-page.is-guest .profile-summary{border-color:rgba(231,185,143,.38)}.profile-page.is-guest .profile-account{border-color:rgba(231,185,143,.2)}.profile-page.is-guest #onboardingCta,.profile-page.is-guest #logout{background:linear-gradient(180deg,#e7b98f,#d5a173)!important;color:#17110d!important;border-color:rgba(255,222,196,.34)!important}

.profile-page .profile-grid{gap:16px}
.profile-page .profile-summary{
  position:relative;
  overflow:hidden;
  border-color:rgba(231,185,143,.30);
  background:radial-gradient(circle at 100% 0,rgba(231,185,143,.13),transparent 13rem),linear-gradient(150deg,rgba(24,27,27,.98),rgba(10,17,21,.98));
  box-shadow:0 22px 58px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.055);
}
.profile-page .profile-summary:after{
  content:"8";
  position:absolute;
  right:-5px;
  bottom:-40px;
  font-size:132px;
  line-height:1;
  font-weight:1000;
  color:rgba(231,185,143,.035);
  pointer-events:none;
}
.profile-page .profile-summary h2{font-size:28px;max-width:88%;position:relative;z-index:1}
.profile-page .profile-summary #summary{font-size:14px;color:#c1cac5}
.profile-page .profile-summary #profileState{
  margin-top:16px;
  border-color:rgba(231,185,143,.16);
  background:rgba(213,161,115,.055);
  color:#cbd3ce;
}
.profile-page #onboardingCta{min-width:190px;box-shadow:0 14px 34px rgba(213,161,115,.18)}

.profile-page .profile-connections .list{gap:10px;margin-top:18px}
.profile-page .profile-connections .item{
  position:relative;
  min-height:70px;
  padding:14px 44px 14px 15px;
  border:1px solid rgba(231,185,143,.11);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(18,28,33,.92),rgba(9,16,20,.92));
  text-decoration:none;
  color:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.profile-page .profile-connections .item:after{
  content:"›";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-52%);
  color:var(--accent2);
  font-size:25px;
  font-weight:500;
}
.profile-page .profile-connections .item strong{font-size:14px;color:#f3f6f4}
.profile-page .profile-connections .item small{font-size:11px;color:#9fa9a3}
@media(hover:hover){
  .profile-page .profile-connections .item:hover{transform:translateY(-2px);border-color:rgba(231,185,143,.30);background:linear-gradient(145deg,rgba(27,32,32,.96),rgba(11,18,22,.96))}
}

.profile-page .profile-privacy{
  border-color:rgba(223,136,127,.18);
  background:radial-gradient(circle at 100% 0,rgba(223,136,127,.075),transparent 14rem),linear-gradient(150deg,rgba(20,24,26,.98),rgba(9,15,19,.98));
}
.profile-page .profile-privacy .kicker{color:#e8b7ae}
.profile-page .profile-privacy p{max-width:56ch}.profile-page .profile-local-guest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.profile-page .profile-local-guest[hidden]{display:none!important}.profile-page .profile-local-guest>div{min-width:0;padding:11px;border:1px solid rgba(158,207,177,.14);border-radius:13px;background:rgba(158,207,177,.035)}.profile-page .profile-local-guest small{display:block;color:#9fc5ad;font-size:10px;font-weight:900;letter-spacing:.08em}.profile-page .profile-local-guest strong{display:block;margin-top:7px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-page .profile-local-guest span{display:block;margin-top:4px;color:#86948c;font-size:10px;line-height:1.35}
.profile-page .profile-privacy .quick-actions{align-items:stretch}
.profile-page .profile-privacy .btn.secondary{
  border-color:rgba(223,136,127,.18);
  background:rgba(223,136,127,.055);
  color:#efd4cf;
}
.profile-page .profile-privacy .btn.secondary:hover{border-color:rgba(223,136,127,.34);background:rgba(223,136,127,.085)}
.profile-page #privacyState{
  margin-top:13px;
  border-color:rgba(255,255,255,.07);
  background:rgba(5,10,13,.58);
}

.profile-page .profile-account{
  display:flex;
  min-height:235px;
  flex-direction:column;
  align-items:flex-start;
  background:linear-gradient(150deg,rgba(18,27,31,.98),rgba(8,14,18,.98));
}
.profile-page .profile-account h2{font-size:26px}
.profile-page .profile-account p{max-width:38ch;margin-bottom:auto}
.profile-page .profile-account #logout{
  min-width:132px;
  border-color:rgba(231,185,143,.16);
  background:rgba(213,161,115,.055);
  color:#e7ded6;
}
.profile-page .profile-account #logout:active{background:rgba(213,161,115,.10)}

.profile-page .profile-system{
  position:relative;
  margin-top:18px;
  padding-right:min(32vw,260px);
  overflow:hidden;
  border-color:rgba(231,185,143,.24);
  background:
    radial-gradient(circle at 88% 50%,rgba(231,185,143,.15),transparent 12rem),
    linear-gradient(145deg,rgba(20,25,27,.98),rgba(8,14,18,.98));
  box-shadow:0 24px 70px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.05);
}
.profile-page .profile-system:after{
  content:"SYSTEM / 8";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  color:rgba(241,209,181,.18);
  font-size:clamp(20px,4vw,40px);
  font-weight:1000;
  letter-spacing:-.04em;
  pointer-events:none;
}
.profile-page .profile-system h2{font-size:28px}
.profile-page .profile-system p{max-width:52ch}
.profile-page .profile-system .btn{margin-top:4px}

@media(min-width:1180px){
  .profile-page .profile-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }
  .profile-page .profile-summary,
  .profile-page .profile-privacy{grid-column:span 2}
  .profile-page .profile-connections,
  .profile-page .profile-account{grid-column:span 1}
  .profile-page .profile-summary h2{max-width:72%}
  .profile-page .profile-account{min-height:100%}
}

@media(max-width:640px){
  .profile-page .shell{padding-left:12px;padding-right:12px;padding-bottom:max(42px,calc(env(safe-area-inset-bottom) + 28px))}
  .profile-page .top{height:58px;margin-bottom:12px}
  .profile-page .hero{min-height:198px;padding:22px 19px;border-radius:24px}
  .profile-page .hero:before{right:18px;top:18px;font-size:10px}
  .profile-page .hero h1{font-size:46px;max-width:90%}
  .profile-page .hero p{font-size:13px;max-width:92%}
  .profile-page .profile-guest-showcase{grid-template-columns:1fr;gap:12px;margin-top:12px;padding:12px;border-radius:22px}.profile-page .profile-guest-copy{padding:8px 5px 2px}.profile-page .profile-guest-copy h2{font-size:41px}.profile-page .profile-guest-copy>p{font-size:13px}.profile-page .profile-guest-benefits{grid-template-columns:1fr}.profile-page .profile-guest-actions{display:grid;grid-template-columns:1fr}.profile-page .profile-guest-actions .btn{width:100%}.profile-page .profile-guest-visual{min-height:270px}.profile-page .profile-guest-visual img{object-position:center 24%}.profile-page .profile-guest-visual-bottom strong{font-size:23px}.profile-page .profile-local-guest{grid-template-columns:1fr}.profile-page .profile-local-guest>div{padding:10px 11px}
  .profile-page .profile-grid{gap:11px;margin-top:12px}
  .profile-page .profile-grid .card{padding:18px;border-radius:20px}
  .profile-page .profile-summary h2,.profile-page .profile-system h2{font-size:25px}
  .profile-page .profile-account{min-height:0}
  .profile-page .profile-account p{margin-bottom:14px}
  .profile-page .profile-system{margin-top:11px;padding:18px 18px 20px}
  .profile-page .profile-system:after{right:15px;top:18px;transform:none;font-size:15px;letter-spacing:.04em}
  .profile-page .profile-system p{padding-right:0;max-width:90%}
  .profile-page .profile-connections .item{min-height:68px}
  .profile-page .quick-actions .btn,.profile-page #logout{min-height:48px;width:100%}
}
@media(max-width:390px){
  .profile-page .hero h1{font-size:41px}
  .profile-page .hero{min-height:188px}
  .profile-page .profile-grid .card{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  .profile-page .profile-connections .item{transition:none}
}
