
/* 81AI V13 iOS visual rebuild. Keeps original function IDs; replaces the old dashboard visual system. */
:root{
  --v13-bg:#05070c;--v13-card:rgba(19,24,34,.78);--v13-card-2:rgba(12,16,24,.92);
  --v13-line:rgba(255,255,255,.075);--v13-text:#f7f9fc;--v13-muted:#8793a4;
  --v13-cyan:#74e5ff;--v13-violet:#8d82ff;--v13-green:#72e3a6;
  --v13-safe:env(safe-area-inset-bottom,0px)
}
html,body{background:#020307!important}
body[data-ui-generation="V13_NEW_IOS_HOME"]{
  color:var(--v13-text);
  background:
    radial-gradient(circle at 7% -8%,rgba(63,183,255,.19),transparent 35%),
    radial-gradient(circle at 100% 1%,rgba(111,90,255,.16),transparent 32%),
    linear-gradient(180deg,#080b12 0,#04060b 55%,#020307 100%)!important;
}
body[data-ui-generation="V13_NEW_IOS_HOME"] .ambient,
body[data-ui-generation="V13_NEW_IOS_HOME"] .grid-noise{opacity:.28}
.v13-shell{width:min(520px,100%);min-height:100vh;margin:0 auto;padding:0 16px calc(94px + var(--v13-safe));position:relative}
.v13-header{height:68px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40;background:linear-gradient(180deg,rgba(5,7,12,.96),rgba(5,7,12,.72),transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.v13-brand,.v13-header-right{display:flex;align-items:center}.v13-brand{gap:10px}.v13-header-right{gap:8px}
.v13-logo{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,var(--v13-cyan),var(--v13-violet));color:#061018;font-size:14px;font-weight:950;box-shadow:0 10px 30px rgba(83,183,255,.18)}
.v13-brand strong{display:block;font-size:16px;letter-spacing:.1px}.v13-brand small{display:block;font-size:9px;color:var(--v13-muted);margin-top:2px}
.v13-online{font-size:9px;color:#c9f8ff;border:1px solid rgba(116,229,255,.16);background:rgba(8,25,33,.65);border-radius:999px;padding:7px 9px}.v13-online i,.v13-loaded i,.v13-stage-status i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--v13-green);box-shadow:0 0 10px var(--v13-green);margin-right:5px}
.v13-profile{width:34px;height:34px;border:1px solid var(--v13-line);border-radius:50%;background:rgba(19,25,36,.82);color:#dce8f6;padding:0;overflow:hidden}.v13-profile span{width:100%;height:100%;display:grid;place-items:center;font-size:10px;background-size:cover;background-position:center}
.v13-profile span.has-photo{font-size:0}
.v13-hero{padding:16px 2px 18px}.v13-kicker{font-size:10px;letter-spacing:1px;font-weight:800;color:var(--v13-cyan)}
.v13-hero h1{margin:8px 0 9px;font-size:32px;line-height:1.06;letter-spacing:-1.1px;font-weight:850}.v13-hero h1 em{font-style:normal;background:linear-gradient(90deg,#fff 5%,#aeeeff 45%,#aaa2ff 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.v13-hero p{margin:0;color:var(--v13-muted);font-size:11px;letter-spacing:.1px}
.v13-stage-card{border:1px solid var(--v13-line);border-radius:28px;background:linear-gradient(180deg,rgba(24,30,43,.82),rgba(11,15,23,.90));padding:10px;box-shadow:0 24px 70px rgba(0,0,0,.28);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.v13-stage-top{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 4px}.v13-stage-status{font-size:9px;color:#d8e7f4}.v13-change-photo{height:30px;border:1px solid var(--v13-line);background:rgba(10,15,23,.78);color:#c6d5e5;border-radius:10px;font-size:9px;padding:0 10px}
.v13-photo{height:430px;border-radius:22px;position:relative;display:block;overflow:hidden;background:radial-gradient(circle at 50% 25%,rgba(71,146,187,.20),transparent 31%),#070b11;cursor:pointer}
.v13-photo input{display:none}.v13-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}
.v13-photo-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--v13-muted);z-index:1}.v13-upload-symbol{width:60px;height:60px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(80,202,255,.15),rgba(124,100,255,.20));border:1px solid rgba(116,229,255,.09);font-size:28px;color:#c9f7ff;margin-bottom:12px}.v13-photo-empty strong{font-size:14px;color:#fff}.v13-photo-empty small{font-size:9px;margin-top:5px}
.v13-stage-gradient{position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(4,7,11,.18) 62%,rgba(4,7,11,.94) 100%);pointer-events:none}
.v13-stage-scan{position:absolute;left:12%;right:12%;top:42%;height:1px;background:linear-gradient(90deg,transparent,var(--v13-cyan),transparent);box-shadow:0 0 16px var(--v13-cyan);opacity:.32;pointer-events:none}
.v13-stage-copy{position:absolute;left:18px;right:18px;bottom:18px;z-index:2}.v13-loaded{font-size:9px;color:#a9ecfa}.v13-stage-copy h2{margin:5px 0 3px;font-size:24px;letter-spacing:-.5px}.v13-stage-copy p{margin:0;color:#9aa8b8;font-size:10px}
.v13-photo .image-meta{position:absolute;right:12px;top:12px;z-index:3;max-width:58%;font-size:8px;color:#c8d8e7;border:1px solid var(--v13-line);border-radius:999px;background:rgba(7,11,17,.62);backdrop-filter:blur(14px);padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v13-role-section{padding:18px 0 4px}.v13-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}.v13-section-title strong{font-size:14px}.v13-section-title small{font-size:9px;color:var(--v13-muted);margin-left:7px}.v13-new-human{height:31px;border-radius:11px;border:1px solid rgba(116,229,255,.17);background:rgba(16,34,47,.62);color:#c5f6ff;font-size:9px;padding:0 10px}
.v13-role-strip{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 5px}.v13-role-strip::-webkit-scrollbar{display:none}
.v13-role-strip .default-human-card{min-width:132px!important;height:64px!important;border-radius:18px!important;border:1px solid var(--v13-line)!important;background:rgba(15,20,29,.84)!important;display:grid!important;grid-template-columns:44px 1fr!important;align-items:center!important;gap:9px!important;padding:9px!important;color:#fff!important;text-align:left!important;box-shadow:none!important}
.v13-role-strip .default-human-card.active{border-color:rgba(116,229,255,.35)!important;background:linear-gradient(145deg,rgba(19,43,58,.90),rgba(25,27,53,.90))!important}
.v13-role-strip .default-human-media{width:44px!important;height:44px!important;border-radius:14px!important;margin:0!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:linear-gradient(145deg,#17394f,#302d5e)!important}
.v13-role-strip .default-human-media img{width:100%!important;height:100%!important;object-fit:cover!important}.v13-role-strip .default-human-media b{font-size:13px!important}.v13-role-strip .default-human-copy{display:block!important}.v13-role-strip .default-human-copy strong{font-size:11px!important;line-height:1.3!important}
.v13-control-group{margin-top:14px;border:1px solid var(--v13-line);border-radius:24px;overflow:hidden;background:linear-gradient(180deg,rgba(20,25,36,.76),rgba(12,16,24,.88));backdrop-filter:blur(20px)}
.v13-control-row{min-height:70px;width:100%;border:0;border-bottom:1px solid var(--v13-line);background:transparent;color:#fff;display:grid;grid-template-columns:42px 1fr 20px;gap:10px;align-items:center;padding:10px 13px;text-align:left}.v13-control-row:last-child{border-bottom:0}.v13-row-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(75,195,244,.15),rgba(125,101,255,.19));color:#d5f8ff;font-size:12px;font-weight:800}.v13-row-copy small{display:block;color:#748396;font-size:8px}.v13-row-copy strong{display:block;font-size:12px;margin-top:3px}.v13-row-copy em{display:block;font-style:normal;color:#657588;font-size:8px;margin-top:2px}.v13-row-copy input{width:100%;border:0;background:transparent;color:#fff;font-size:12px;font-weight:800;padding:2px 0;outline:none}.v13-row-arrow{color:#657386;font-size:20px;text-align:right}
.v13-start{margin:14px 0 0;width:100%;height:66px;border:0;border-radius:21px;background:linear-gradient(135deg,var(--v13-cyan),var(--v13-violet));color:#061018;display:grid;grid-template-columns:42px 1fr 18px;gap:10px;align-items:center;text-align:left;padding:0 15px;box-shadow:0 18px 44px rgba(88,158,255,.18)}.v13-start-orb{width:40px;height:40px;border-radius:50%;background:rgba(4,14,20,.14);display:grid;place-items:center}.v13-start-orb i{width:12px;height:12px;border-radius:50%;background:#061018;box-shadow:0 0 0 7px rgba(6,16,24,.08)}.v13-start strong{display:block;font-size:14px}.v13-start small{display:block;font-size:8px;opacity:.66;margin-top:2px}.v13-start b{font-size:22px}
.v13-service{margin-top:12px;border:1px solid var(--v13-line);border-radius:17px;background:rgba(13,18,27,.8);min-height:54px;display:grid;grid-template-columns:10px 1fr auto;gap:9px;align-items:center;padding:9px 12px}.v13-service>i{width:7px;height:7px;border-radius:50%;background:var(--v13-green)}.v13-service strong{font-size:10px;display:block}.v13-service span{font-size:8px;color:var(--v13-muted)}.v13-service button{height:29px;border-radius:9px;border:1px solid var(--v13-line);background:#111a26;color:#dce8f4;font-size:8px}
.v13-tabbar{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:80;width:min(520px,100%);height:calc(78px + var(--v13-safe));padding:8px 8px var(--v13-safe);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(9,12,18,.76);border-top:1px solid var(--v13-line);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.v13-tab{border:0;background:transparent;color:#637084;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px}.v13-tab span{font-size:18px}.v13-tab small{font-size:9px}.v13-tab.active{color:var(--v13-cyan)}
body[data-ui-generation="V13_NEW_IOS_HOME"] .mobile-bottom-nav{display:none!important}
@media(min-width:521px){body[data-ui-generation="V13_NEW_IOS_HOME"]{padding:16px 0}.v13-shell{border:1px solid var(--v13-line);border-radius:34px;overflow:hidden;min-height:calc(100vh - 32px);box-shadow:0 30px 90px rgba(0,0,0,.45)}.v13-tabbar{bottom:16px;border-radius:0 0 34px 34px}}

/* V13.4 registration visibility */
.v13-auth-entry{height:34px;padding:0 11px;border:1px solid rgba(116,229,255,.20);border-radius:999px;background:rgba(17,34,48,.78);color:#c9f7ff;font-size:10px;font-weight:700;white-space:nowrap}.v13-auth-entry[hidden]{display:none!important}
