
:root{
  --bg:#0b0a10;
  --ink:#fff7fd;
  --muted:#dbcfe4;
  --rose:#ff7ac6;
  --blush:#ffb3d6;
  --gold:#ffd96a;
  --mint:#69f7c2;
  --glass:#ffffff18;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:radial-gradient(1000px 600px at 15% 0%,#1b0d2b 0%,transparent 60%),radial-gradient(900px 500px at 85% 10%,#0d1a2b 0%,transparent 55%),radial-gradient(800px 400px at 50% 100%,#2a0e3b 0%,transparent 60%),#0b0a10;color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial}

.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:linear-gradient(180deg,#00000066,#00000010);backdrop-filter:blur(6px);border-bottom:1px solid #ffffff22}
.brand{display:flex;align-items:center;gap:10px}
.crest{width:36px;height:36px;border-radius:50%;filter:drop-shadow(0 2px 8px #000000aa)}
.name strong{display:block; font-size:14px; background:linear-gradient(90deg,var(--gold),var(--mint)); -webkit-background-clip:text; background-clip:text; color:transparent}
.name span{display:block; font-size:11px; opacity:.8}
.reach .pill{margin-left:8px;padding:8px 12px;border-radius:999px;border:1px solid #ffffff22;background:linear-gradient(90deg,#ffd1e6,#ffffff);color:#2a071d;font-weight:800;font-size:12px}

.scene{position:relative; min-height: calc(100vh - 64px); display:grid; place-items:center; overflow:hidden}
.aura{position:absolute; inset:-10% -10% -10% -10%; background:radial-gradient(closest-side,#ff7ac622,transparent 70%); filter: blur(20px); animation: breathe 6s ease-in-out infinite}
@keyframes breathe{0%,100%{opacity:.8}50%{opacity:.55}}

.ai-core{position:relative; z-index:2; display:grid; place-items:center; padding:20px}
.ai-text{max-width:560px; text-align:center; background:linear-gradient(180deg,#ffffff0e,#0000001e); border:1px solid #ffffff22; border-radius:18px; padding:16px 16px 12px; box-shadow:0 16px 60px #000000b0, 0 0 80px #ff7ac620}
.ai-text .tiny{margin:0 0 4px; font-size:11px; letter-spacing:.1em; opacity:.8}
.ai-text h1{margin:4px 0 6px; font-size:22px; line-height:1.3}
.ai-text h1 em{background:linear-gradient(90deg,var(--gold),var(--mint));-webkit-background-clip:text;background-clip:text;color:transparent;font-style:normal}
.ai-text p{margin:0 0 10px; color:var(--muted)}
.chips{display:flex; gap:8px; flex-wrap:wrap; justify-content:center}
.chip{border:1px solid #ffffff22; border-radius:999px; padding:8px 12px; font-weight:800; background:#ffffff12; color:#fff; font-size:12px}

.orbit{position:absolute; width:120vmin; height:120vmin; max-width:1200px; max-height:1200px; transform-style:preserve-3d; animation: spin 36s linear infinite; z-index:1}
@keyframes spin{from{transform:rotateY(0deg)}to{transform:rotateY(-360deg)}}
.tile{position:absolute; top:50%; left:50%; transform-style:preserve-3d; width:min(46vw,260px); height:min(34vh,220px); border-radius:16px; overflow:hidden; border:1px solid #ffffff22; background:linear-gradient(180deg,#ffffff10,#00000030); box-shadow: 0 20px 60px #000000a0, 0 0 80px #ff7ac620}
.tile img{width:100%; height:100%; object-fit:cover; display:block}
.tile figcaption{position:absolute; left:8px; bottom:8px; padding:6px 10px; border-radius:999px; background:linear-gradient(180deg,#00000085,#00000040); border:1px solid #ffffff3a; font-size:12px}

.sheet{position:fixed; inset:0; display:grid; place-items:end center; background:#00000066; z-index:10}
.sheet[hidden]{display:none}
.sheet-body{width:100%; max-width:520px; height:78vh; background:linear-gradient(180deg,#120b1a,#0b0a12); border:1px solid #ffffff22; border-top-left-radius:18px; border-top-right-radius:18px; box-shadow:0 -20px 60px #000000c0,0 0 80px #ff7ac620; display:flex; flex-direction:column}
.sheet-body header{display:flex; align-items:center; gap:10px; padding:10px 12px; border-bottom:1px solid #ffffff17; background:linear-gradient(90deg,#ff7ac61a,#ffffff05)}
.sheet-body header strong{font-size:14px}
.sheet-body header button{margin-left:auto; background:#ffffff14; color:#fff; border:1px solid #ffffff22; border-radius:10px; width:30px; height:30px}
.flow{flex:1; overflow:auto; padding:14px; display:flex; flex-direction:column; gap:10px}
.step{background:#ffffff10; border:1px solid #ffffff22; border-radius:14px; padding:12px}
.step h3{margin:0 0 6px; font-size:16px}
.step p{margin:0 0 8px; color:#e9dff0}
.options{display:flex; flex-wrap:wrap; gap:8px}
.opt{padding:10px 12px; border-radius:12px; border:1px solid #ffffff22; background:#ffffff12; font-weight:700; font-size:13px}
.inline{display:flex; gap:8px; flex-wrap:wrap}
.inline input, .inline select{padding:12px; border-radius:12px; border:1px solid #ffffff22; background:#0f0d16; color:#fff}

.confirm{position:fixed; inset:0; display:grid; place-items:center; background:#00000066; z-index:15}
.confirm[hidden]{display:none}
.confirm .card{width:min(92vw,480px); background:linear-gradient(180deg,#120b1a,#0b0a12); border:1px solid #ffffff22; border-radius:18px; padding:16px; box-shadow:0 20px 60px #000000c0, 0 0 80px #ff7ac620}
.confirm h3{margin:0 0 8px}
.confirm p{margin:0 0 12px; color:#e9dff0}
.confirm .btn{display:inline-block; margin-right:8px; margin-bottom:8px; padding:10px 14px; border-radius:12px; border:1px solid #ffffff22; background:#ffffff12; color:#fff; font-weight:800; font-size:13px}
.confirm .primary{background:linear-gradient(90deg,var(--mint),#b4ffe6); color:#03140d}
.confirm .soft{background:linear-gradient(90deg,#ff7ac6,#ffb3d6); color:#2a071d}
.note{font-size:12px; color:#c9bed5}

.foot{padding:20px 12px; text-align:center; color:#bfb5d0; border-top:1px solid #ffffff1a}

@media (max-width:480px){
  .tile{width:72vw; height:32vh}
  .ai-text{max-width:92vw}
}
