:root{
  --navy:#0d1837;--gold:#b58a45;--lav:#7777f6;--ink:#26345f;--muted:#7c849c;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",system-ui,sans-serif;background:#fff;color:var(--ink)}
body{min-height:100vh}
.app{width:min(100%,720px);margin:0 auto;padding:42px 20px 28px;text-align:center}
.brand{margin-bottom:24px}
.logo{font-family:Georgia,serif;font-size:34px;letter-spacing:.05em;color:var(--gold)}
.logo span{font-weight:400}.sub{font-size:11px;letter-spacing:.42em;color:var(--gold);margin-top:2px}
.luna-card{padding:8px 0}
.halo{width:min(72vw,390px);aspect-ratio:1;margin:0 auto 24px;border-radius:50%;padding:5px;border:1.5px solid var(--gold);position:relative;background:linear-gradient(145deg,#777cf8,#eef0ff);box-shadow:0 0 0 12px rgba(181,138,69,.06)}
.luna-image{width:100%;height:100%;object-fit:cover;object-position:center top;border-radius:50%;display:block}
.image-help{position:absolute;inset:5px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f1f2ff;color:#59638a;font-size:13px}
.image-help strong{font-size:16px}
h1{font-family:Georgia,"Yu Mincho",serif;font-size:28px;letter-spacing:.08em;margin:0 0 10px;color:#24376e}
.lead{margin:0;color:#727de4;font-size:16px}
.wave{height:74px;display:flex;align-items:center;justify-content:center;gap:6px;margin:22px auto 4px}
.wave i{display:block;width:5px;height:10px;border-radius:9px;background:#8b8df7;opacity:.55;transition:height .15s}
.wave.active i{animation:pulse .85s ease-in-out infinite}
.wave.active i:nth-child(2),.wave.active i:nth-child(8){animation-delay:.1s}
.wave.active i:nth-child(3),.wave.active i:nth-child(7){animation-delay:.2s}
.wave.active i:nth-child(4),.wave.active i:nth-child(6){animation-delay:.3s}
.wave.active i:nth-child(5){animation-delay:.4s}
@keyframes pulse{0%,100%{height:10px}50%{height:52px}}
.status{min-height:24px;margin:0 0 16px;color:#5867ca}
.error{min-height:22px;color:#b42318;font-size:13px;white-space:pre-wrap}
.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
button{min-height:48px;border-radius:999px;padding:0 22px;font-size:16px;border:0;cursor:pointer}
button:disabled{opacity:.42;cursor:not-allowed}
.primary{background:var(--navy);color:#fff;min-width:190px}
.secondary{background:#f1f2f7;color:#2c3450}
.danger{color:#8d2630}
.notice{font-size:11px;color:#9a9faf;margin-top:28px}
@media(max-width:480px){
 .app{padding-top:28px}.logo{font-size:29px}.halo{width:min(78vw,330px)}
 h1{font-size:24px}.lead{font-size:14px}.actions{flex-direction:column}
 button{width:100%}
}
@media(prefers-reduced-motion:reduce){.wave.active i{animation:none}.wave.active i:nth-child(odd){height:32px}}
