:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172238;
    background: #f5f8fc;
    font-synthesis: none;
    --blue: #1769e8;
    --blue-dark: #1058c8;
    --green: #15b878;
    --line: #e2e8f1;
    --muted: #68758b;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-height: 100vh; margin: 0; background: #f5f8fc; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 5vw, 76px); border-bottom: 1px solid #e9edf4; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #eef7ff, #f8fffc); border: 1px solid #d8e6f2; box-shadow: 0 6px 16px #173f7614; overflow: hidden; }
.brand-mark b { color: var(--blue); font-size: 22px; line-height: 1; }
.brand-mark i { position: absolute; right: 4px; bottom: 3px; color: var(--green); font-size: 13px; font-style: normal; font-weight: 900; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { color: #172238; font-size: 16px; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: #8a96a8; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.header-trust { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d9eee5; border-radius: 999px; background: #f2fbf7; color: #147a54; font-size: 11px; font-weight: 700; }
.header-trust i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #d9f5e9; }

.auth-layout { flex: 1; display: grid; grid-template-columns: minmax(420px, .94fr) minmax(460px, 1.06fr); min-height: 690px; }
.story-panel { position: relative; min-height: 100%; display: flex; align-items: center; overflow: hidden; padding: clamp(52px, 8vw, 112px); color: white; background: linear-gradient(145deg, #102f73 0%, #1158c8 48%, #087f91 100%); isolation: isolate; }
.story-panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 9% 15%, #4f8ff738 0 11%, transparent 33%), radial-gradient(circle at 90% 88%, #18c88f45 0 8%, transparent 31%); }
.story-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .11; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, #000, transparent 78%); }
.story-content { position: relative; z-index: 2; max-width: 560px; }
.story-badge { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; padding: 9px 13px; border: 1px solid #ffffff2e; border-radius: 999px; background: #ffffff12; color: #e5f3ff; font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.story-badge span { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #2bd092; color: #073e31; font-size: 10px; }
.story-panel h1 { margin: 0; font-size: clamp(40px, 4.4vw, 65px); line-height: 1.03; letter-spacing: -.055em; }
.story-panel h1 em { color: #73edc2; font-style: normal; }
.story-panel > .story-content > p { max-width: 530px; margin: 25px 0 36px; color: #d7e6fa; font-size: 15px; line-height: 1.8; }
.trust-list { display: grid; gap: 13px; }
.trust-list > div { display: flex; align-items: center; gap: 13px; }
.trust-icon { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #ffffff2b; border-radius: 11px; background: #ffffff12; color: #8ff1d0; font-size: 17px; }
.trust-list > div > span:last-child { display: flex; flex-direction: column; }
.trust-list strong { font-size: 12px; }
.trust-list small { margin-top: 4px; color: #b9cee9; font-size: 10px; }
.story-orbit { position: absolute; right: -84px; bottom: -92px; width: 330px; height: 330px; border: 1px solid #ffffff24; border-radius: 50%; }
.story-orbit::before, .story-orbit::after { content: ""; position: absolute; border: 1px solid #ffffff1b; border-radius: 50%; }
.story-orbit::before { inset: 37px; }.story-orbit::after { inset: 78px; }
.story-orbit > div { position: absolute; inset: 105px; z-index: 2; display: grid; place-items: center; border-radius: 31px; background: #ffffffee; box-shadow: 0 24px 60px #042d5a55; transform: rotate(-8deg); }
.story-orbit > div span { color: var(--blue); font-size: 58px; font-weight: 800; }.story-orbit > div b { position: absolute; right: 12px; bottom: 10px; color: var(--green); font-size: 31px; }
.story-orbit > i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #75edc5; box-shadow: 0 0 0 5px #75edc526; }
.story-orbit > i:nth-child(1) { top: 25px; left: 86px; }.story-orbit > i:nth-child(2) { top: 136px; left: -4px; }.story-orbit > i:nth-child(3) { top: 52px; right: 45px; }

.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px clamp(24px, 6vw, 92px); background: radial-gradient(circle at 72% 12%, #e8f2ff 0 7%, transparent 29%), #f7f9fc; }
.auth-card { width: min(100%, 480px); min-height: 464px; display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 4vw, 45px); border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: 0 24px 70px #17345c16; }
.auth-view { animation: appear .25s ease both; }
.guest-launch-view { min-height: 390px; display: grid; place-items: center; align-content: center; padding: 20px; text-align: center; animation: appear .25s ease both; }
.guest-launch-mark { width: 58px; height: 58px; display: grid; place-items: center; position: relative; margin-bottom: 30px; border-radius: 18px; background: linear-gradient(145deg, #1677ee, #0f55be); color: #fff; box-shadow: 0 16px 35px #1768d535; }
.guest-launch-mark span { font-size: 25px; font-weight: 850; }.guest-launch-mark i { position: absolute; right: 9px; top: 8px; font-size: 12px; font-style: normal; }
.guest-launch-spinner { width: 42px; height: 42px; margin-bottom: 22px; border: 4px solid #dbe6f4; border-top-color: #2479e8; border-radius: 50%; animation: spin .75s linear infinite; }
.guest-launch-view h2 { font-size: 25px; }.guest-launch-view > p { max-width: 330px; margin: 11px auto 0; color: #7c899c; font-size: 12px; line-height: 1.65; }
.guest-launch-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; color: #238061; font-size: 10px; font-weight: 750; }.guest-launch-status i { width: 7px; height: 7px; border-radius: 50%; background: #19b87d; box-shadow: 0 0 0 4px #daf5e9; }
.guest-launch-view > a { margin-top: 24px; padding: 11px 18px; border-radius: 11px; background: #216fe0; color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; }
.guest-launch-active .site-header, .guest-launch-active .story-panel, .guest-launch-active .safety-message, .guest-launch-active footer { display: none; }
.guest-launch-active .site-shell, .guest-launch-active .auth-layout, .guest-launch-active .auth-panel { min-height: 100vh; }
.guest-launch-active .auth-layout { display: block; }.guest-launch-active .auth-panel { padding: 20px; }
.guest-launch-active .auth-card { min-height: 430px; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.step-label { display: block; margin-bottom: 9px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.auth-card h2 { margin: 0; color: #152038; font-size: 29px; letter-spacing: -.04em; }
.intro { margin: 11px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.intro strong { color: #26364f; }
form > label { display: block; margin-bottom: 8px; color: #334159; font-size: 11px; font-weight: 750; }
.phone-field { height: 54px; display: flex; align-items: center; border: 1px solid #dce3ed; border-radius: 12px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.phone-field:focus-within { border-color: #76a6ed; background: #fff; box-shadow: 0 0 0 4px #1c6de916; }
.country { height: 28px; display: flex; align-items: center; gap: 7px; padding: 0 13px; border-right: 1px solid #dde3ec; }
.country b { font-size: 16px; }.country strong { font-size: 12px; }
.phone-field input { min-width: 0; flex: 1; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #1c2940; font-size: 14px; font-weight: 600; }
input::placeholder { color: #a4adba; font-weight: 450; }
.field-help { margin: 8px 0 0; color: #8b96a8; font-size: 10px; }
.form-error { margin-top: 13px; padding: 10px 12px; border: 1px solid #ffd1d6; border-radius: 9px; background: #fff4f5; color: #b43845; font-size: 10px; line-height: 1.45; }
.primary-button { width: 100%; min-height: 51px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #1769e8, #125eca); color: white; box-shadow: 0 10px 24px #1769e830; font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .15s, filter .15s; }
.primary-button:hover { filter: brightness(1.05); transform: translateY(-1px); }.primary-button:active { transform: none; }.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.primary-button b { font-size: 17px; font-weight: 450; }.primary-button.is-loading span::after { content: "…"; }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 25px; padding-top: 21px; border-top: 1px solid #edf0f4; }
.privacy-note > span { width: 25px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #eaf8f2; color: #14885c; }
.privacy-note p { margin: 1px 0 0; color: #8490a1; font-size: 9px; line-height: 1.55; }
.back-button { margin: 0 0 24px; padding: 0; border: 0; background: transparent; color: #65748a; font-size: 10px; font-weight: 700; cursor: pointer; }
.back-button:hover { color: var(--blue); }
.otp-input { width: 100%; height: 64px; padding: 0 16px; border: 1px solid #dce3ed; border-radius: 12px; outline: 0; background: #fbfcfe; color: #183054; text-align: center; font-size: 27px; font-weight: 750; letter-spacing: .42em; text-indent: .42em; transition: border-color .15s, box-shadow .15s; }
.otp-input:focus { border-color: #76a6ed; background: #fff; box-shadow: 0 0 0 4px #1c6de916; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; }
.consent-row input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); }
.consent-row label { margin: 0; color: #738096; font-size: 9px; line-height: 1.55; }
.consent-row a { color: #2369ce; font-weight: 700; }
.resend-row { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 19px; color: #8490a1; font-size: 10px; }
.resend-row button { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 800; cursor: pointer; }.resend-row button:disabled { color: #a4adba; cursor: default; }
.loading-state { display: grid; place-items: center; color: #7a8799; font-size: 11px; }
.spinner { width: 32px; height: 32px; border: 3px solid #e7edf5; border-top-color: var(--blue); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 15px; background: #e8f8f1; color: #0d9864; font-size: 22px; font-weight: 800; }
.link-form > label { display: block; margin-bottom: 8px; color: #334159; font-size: 11px; font-weight: 750; }
.url-field { height: 54px; display: flex; align-items: center; border: 1px solid #dce3ed; border-radius: 12px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }.url-field:focus-within { border-color: #76a6ed; background: #fff; box-shadow: 0 0 0 4px #1c6de916; }.url-field > span { width: 45px; color: #2570d8; text-align: center; font-size: 18px; }.url-field input { min-width: 0; height: 100%; flex: 1; padding: 0 13px 0 0; border: 0; outline: 0; background: transparent; color: #1c2940; font-size: 12px; font-weight: 600; }
.session-launch { display: grid; min-height: 250px; place-items: center; align-content: center; text-align: center; }.session-launch .spinner { margin-bottom: 18px; }.session-launch strong { color: #344258; font-size: 13px; }.session-launch small { max-width: 310px; margin-top: 7px; color: #8490a1; font-size: 9px; line-height: 1.55; }.session-launch .secondary-button { width: auto; min-width: 130px; margin-top: 22px; }
.remote-session { overflow: hidden; border: 1px solid #dce3ec; border-radius: 14px; background: #111827; box-shadow: 0 18px 50px #15233a2c; }.remote-toolbar { min-height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 13px; background: #fff; }.secure-session-dot { display: inline-flex; align-items: center; gap: 6px; color: #177954; font-size: 8px; font-weight: 750; }.secure-session-dot i { width: 7px; height: 7px; border-radius: 50%; background: #16b677; box-shadow: 0 0 0 4px #daf5e9; }.remote-toolbar > strong { min-width: 0; flex: 1; overflow: hidden; color: #3c495d; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.remote-toolbar > span:nth-last-of-type(1) { color: #66758b; font-family: ui-monospace, monospace; font-size: 9px; font-weight: 750; }.remote-toolbar button { min-height: 28px; padding: 0 9px; border: 1px solid #f0c9ce; border-radius: 7px; background: #fff5f6; color: #ad3b49; font-size: 8px; font-weight: 750; }
.stream-frame { position: relative; aspect-ratio: 16 / 9; background: #101827; }.stream-frame iframe { width: 100%; height: 100%; display: block; border: 0; background: #111827; }.stream-loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: #101827; color: #b6c2d3; }.stream-loading small { font-size: 9px; }
.stream-loading[hidden] { display: none !important; }
.remote-meta { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 12px; background: #f7f9fc; color: #7c899c; font-size: 7px; }.remote-meta b { color: #18805b; }
.stream-active .story-panel { display: none; }.stream-active .auth-layout { display: block; min-height: 0; }.stream-active .auth-panel { min-height: calc(100vh - 131px); justify-content: flex-start; padding: 25px; }.stream-active .auth-card { width: min(100%, 1240px); min-height: 0; padding: 14px; }.stream-active .home-view > .success-icon, .stream-active .home-view > .step-label, .stream-active .home-view > h2, .stream-active .home-view > .intro, .stream-active .home-view > .admin-link, .stream-active .home-view > .secondary-button { display: none; }.stream-active .safety-message { display: none; }
.campaign-state { display: flex; flex-direction: column; align-items: center; padding: 25px 18px; border: 1px solid #e4eaf2; border-radius: 15px; background: #f8fafc; text-align: center; }
.campaign-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 11px; background: #e9f1ff; color: var(--blue); font-size: 17px; }
.campaign-state strong { color: #2d3b50; font-size: 12px; }.campaign-state small { margin-top: 6px; color: #8591a2; font-size: 9px; line-height: 1.5; }
.campaign-state.has-campaigns { display: block; padding: 0; border: 0; background: transparent; text-align: left; }
.campaign-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }.campaign-heading span { color: #344258; font-size: 10px; font-weight: 750; }.campaign-heading span b { color: var(--blue); }.campaign-heading small { margin: 0; font-size: 8px; }
.user-campaign-list { display: grid; gap: 7px; max-height: 195px; overflow-y: auto; }
.user-campaign { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #e1e7ef; border-radius: 11px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }.user-campaign:hover { border-color: #bfd0ed; }.user-campaign.selected { border-color: #83a9e7; background: #f5f8ff; box-shadow: 0 0 0 3px #1769e80d; }.user-campaign > span { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; background: linear-gradient(145deg,#eaf2ff,#e7f9f2); color: #2267d4; font-size: 11px; font-weight: 850; }.user-campaign > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }.user-campaign strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.user-campaign small { margin-top: 4px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.user-campaign i { color: #8f9bad; font-size: 17px; font-style: normal; }
.start-browser-button { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 11px; border: 0; border-radius: 11px; background: linear-gradient(135deg,#1769e8,#105cc8); color: #fff; box-shadow: 0 8px 20px #1769e825; font-size: 10px; font-weight: 750; cursor: pointer; }.start-browser-button b { font-size: 15px; }.campaign-phase-note { margin: 8px 2px 0; color: #929cab; text-align: center; font-size: 7px; }.campaign-phase-note.visible { color: #356dba; }
.admin-link { display: block; margin-top: 13px; color: #2565c9; text-align: center; text-decoration: none; font-size: 9px; font-weight: 750; }.admin-link:hover { text-decoration: underline; }
.secondary-button { width: 100%; min-height: 44px; margin-top: 17px; border: 1px solid #dce3ed; border-radius: 11px; background: #fff; color: #536176; font-size: 11px; font-weight: 750; cursor: pointer; }.secondary-button:hover { background: #f7f9fc; }
.safety-message { width: min(100%, 480px); display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; padding: 0 10px; color: #78869a; font-size: 9px; line-height: 1.55; }
.safety-message span { width: 17px; height: 17px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #e9c979; border-radius: 50%; color: #a26d05; font-weight: 800; }
.safety-message p { margin: 1px 0 0; }
footer { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 5vw, 76px); border-top: 1px solid #e8edf3; background: #fff; color: #8c97a7; font-size: 9px; }
footer nav { display: flex; align-items: center; gap: 18px; } footer a { color: #66748a; text-decoration: none; } footer a:hover { color: var(--blue); }
.noscript { position: fixed; inset: auto 20px 20px; z-index: 20; padding: 12px; border-radius: 9px; background: #a72e3a; color: #fff; text-align: center; font-size: 12px; }

.legal-page { padding: 40px 20px; background: #f4f7fb; }
.legal-card { width: min(100%, 760px); margin: 0 auto; padding: clamp(28px, 6vw, 62px); border: 1px solid #e0e7f0; border-radius: 22px; background: #fff; box-shadow: 0 20px 60px #19345f12; }
.legal-back { display: inline-block; margin-bottom: 35px; color: #56708f; text-decoration: none; font-size: 11px; font-weight: 700; }
.legal-kicker { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-card h1 { margin: 8px 0 5px; font-size: 36px; letter-spacing: -.04em; }.legal-updated { margin: 0 0 35px; color: #919cad; font-size: 10px; }
.legal-card h2 { margin: 28px 0 8px; color: #25334a; font-size: 15px; }.legal-card p { color: #66748a; font-size: 12px; line-height: 1.8; }

@media (max-width: 960px) {
    .auth-layout { grid-template-columns: 1fr; }
    .story-panel { min-height: auto; padding: 55px clamp(24px, 8vw, 72px); }
    .story-panel h1 { font-size: clamp(37px, 8vw, 56px); }
    .story-panel > .story-content > p { margin-bottom: 0; }
    .trust-list, .story-orbit { display: none; }
    .auth-panel { min-height: 650px; }
}
@media (max-width: 600px) {
    .site-header { height: 66px; padding: 0 18px; }.header-trust span { display: none; }.header-trust { width: 35px; height: 35px; justify-content: center; padding: 0; }
    .brand-mark { width: 37px; height: 37px; }.brand strong { font-size: 14px; }
    .story-panel { padding: 40px 23px; }.story-badge { margin-bottom: 21px; font-size: 9px; }.story-panel h1 { font-size: 38px; }.story-panel > .story-content > p { margin-top: 18px; font-size: 12px; line-height: 1.65; }
    .auth-panel { justify-content: flex-start; min-height: 620px; padding: 28px 16px 35px; }
    .auth-card { min-height: 455px; padding: 29px 22px; border-radius: 19px; }.auth-card h2 { font-size: 25px; }
    footer { padding: 16px 20px; flex-direction: column; justify-content: center; } footer nav span { display: none; }
    .stream-active .site-header { display: none; }.stream-active footer { display: none; }.stream-active .auth-panel { min-height: 100vh; padding: 0; }.stream-active .auth-card { min-height: 100vh; padding: 0; border: 0; border-radius: 0; }.stream-active .remote-session { min-height: 100vh; border: 0; border-radius: 0; }.stream-active .stream-frame { aspect-ratio: auto; height: calc(100vh - 80px); }.remote-toolbar { gap: 8px; }.secure-session-dot { font-size: 0; }.remote-meta { min-height: 34px; }.remote-meta span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
