* { box-sizing: border-box; }
:root { font-family: 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif; color: #674e5b; background: #fffaf7; }
body { margin: 0; background: radial-gradient(ellipse at 15% 15%, #fce8ef 0, transparent 45%), radial-gradient(ellipse at 90% 80%, #f3ebfa 0, transparent 40%); }
main { width: min(100%, 1080px); margin: 0 auto; padding: 38px 24px 20px; text-align: center; }
.eyebrow { color: #bd8295; font-size: 10px; letter-spacing: .3em; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 600; letter-spacing: .1em; margin: 0; }
.intro { font-size: 13px; color: #a18791; margin: 12px 0 25px; letter-spacing: .1em; }
nav, .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
button { font: inherit; font-size: 13px; color: #806371; background: #ffffffcf; border: 1px solid #eadce1; border-radius: 100px; padding: 10px 21px; cursor: pointer; transition: background .15s, transform .15s; }
button:hover { background: #fff; transform: translateY(-1px); }
button[aria-pressed="true"] { background: #b87b92; color: #fff; border-color: #b87b92; }
button:focus-visible { outline: 3px solid #c99eb0; outline-offset: 3px; }
.stage { position: relative; height: clamp(320px, 52vw, 440px); margin-top: 12px; isolation: isolate; }
#view { width: 100%; height: 100%; display: block; position: relative; z-index: 1; touch-action: none; }
.halo { position: absolute; inset: 9% 8% 8%; background: #ffffff8a; border-radius: 50%; border: 1px solid #ffffff; z-index: 0; }
.star { position: absolute; color: #cc9ca9; font-size: 42px; z-index: 0; }
.s1 { top: 16%; left: 9%; transform: rotate(-15deg); }
.s2 { bottom: 22%; right: 7%; font-size: 29px; }
#status { position: absolute; top: 45%; width: 100%; margin: 0; font-size: 13px; color: #806371; z-index: 3; background: #fffaf7ed; padding: 12px; }
#status[hidden] { display: none; }
#names { position: absolute; bottom: 4px; left: 0; right: 0; display: flex; justify-content: space-around; gap: 4px; z-index: 2; pointer-events: none; }
#names span { font-size: 12px; padding: 5px 16px; border-radius: 20px; background: #ffffffd9; color: #9a7283; border: 1px solid #ecdfe5; }
footer { margin-top: 15px; }
.actions button { font-size: 12px; padding: 9px 18px; background: transparent; }
.actions button[aria-pressed="true"] { background: #b87b92; }
.hint { color: #ab929d; font-size: 11px; margin-top: 18px; }
html.embed, html.embed body { background: transparent; width: 100%; height: 100%; overflow: hidden; }
.embed main { padding: 0; width: 100%; height: 100%; max-width: none; }
.embed .chrome { display: none !important; }
.embed .stage { width: 100%; height: 100%; margin: 0; }
@media (max-width: 520px) {
  main { padding: 28px 10px 14px; }
  nav { gap: 5px; }
  nav button { font-size: 12px; padding: 9px 13px; }
  .stage { height: 350px; }
  #names { left: 2%; right: 2%; }
  #names span { padding: 5px 9px; font-size: 11px; }
}
