body.msg { overflow-y: auto; background: radial-gradient(ellipse at 50% -10%, #3a2f22 0%, #14110e 60%); min-height: 100%; }
.wrapm { width: min(440px, 100%); margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 20px 40px; }
.wrapm header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.intro-txt { text-align: center; }
.intro-txt h1 { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1.1; }
.intro-txt h1 em { font-family: "Pinyon Script", cursive; font-style: normal; color: var(--gold); font-size: 1.15em; }
.intro-txt p { color: rgba(244,236,220,.75); margin: 10px 0 18px; font-size: .95rem; line-height: 1.6; }
.intro-txt b { color: var(--cream); font-weight: 500; }
.mode { display: flex; gap: 6px; padding: 5px; background: rgba(255,255,255,.06); border-radius: 999px; margin: 0 auto 18px; width: max-content; }
.mode button { padding: 9px 18px; border-radius: 999px; font-size: .85rem; transition: all .3s; }
.mode button.on { background: var(--cream); color: #1b1814; }
.mode.lock { pointer-events: none; opacity: .5; }

.deck { position: relative; border-radius: 22px; padding: 18px; background: linear-gradient(180deg, #2c2620, #1a1612); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 50px rgba(0,0,0,.45); margin-bottom: 18px; overflow: hidden; }
.deck video { display: none; width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; transform: scaleX(-1); background: #000; margin-bottom: 12px; }
.deck.video video { display: block; }
.deck.video .cassette { transform: scale(.55); margin: -40px auto -48px; }
.cassette { position: relative; aspect-ratio: 1.58; border-radius: 12px; padding: 7% 6% 0; background: linear-gradient(180deg, #e9dfcc, #d6c7ab); box-shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 0 0 2px rgba(0,0,0,.08); transition: transform .5s var(--ease); }
.cassette .label { position: relative; height: 78%; border-radius: 6px; background: repeating-linear-gradient(180deg, #fffaf0 0 18px, #f3e6cc 18px 19px); border-top: 10px solid #c2603a; padding: 6px 10px; }
.cassette .side { position: absolute; left: 10px; top: 4px; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #c2603a; }
.cassette .hand { display: block; text-align: center; font-family: "Caveat", cursive; font-size: 1.35rem; color: #2a3b8f; margin-top: 2px; }
.cassette .dur { position: absolute; right: 10px; top: 6px; font-size: .62rem; letter-spacing: .1em; color: #8a7d68; }
.window { position: absolute; left: 22%; right: 22%; top: 46%; height: 30%; border-radius: 999px; background: rgba(40,30,20,.82); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; overflow: hidden; }
.tape { position: absolute; top: 50%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #3a2a1c; transform: translateY(-50%); left: -8%; transition: width 1s linear; }
.tape.r { left: auto; right: -8%; width: 22%; right: 6%; }
.reel { position: relative; z-index: 2; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #f4ecdc; border: 3px solid #f4ecdc; }
.reel i { position: absolute; left: 50%; top: 50%; width: 22%; height: 100%; margin: -50% 0 0 -11%; background: rgba(40,30,20,.82); border-radius: 2px; }
.reel i:nth-child(2) { transform: rotate(60deg); } .reel i:nth-child(3) { transform: rotate(120deg); }
.cassette.spin .reel { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.cassette .bottom { position: absolute; left: 18%; right: 18%; bottom: 0; height: 14%; background: #c5b597; clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); display: flex; justify-content: space-around; align-items: center; }
.cassette .bottom i { width: 8%; aspect-ratio: 1; border-radius: 50%; background: #6c5e47; }
#wave { width: 100%; height: 56px; display: block; margin-top: 14px; }
.clock { text-align: center; font-family: "Share Tech Mono", monospace; color: var(--orange); font-size: 1.4rem; text-shadow: 0 0 8px rgba(255,138,31,.6); margin-top: 6px; }

.rec-row { display: flex; justify-content: center; margin: 10px 0 8px; }
.rec { width: 84px; height: 84px; border-radius: 50%; padding: 8px; background: linear-gradient(180deg, #4a4037, #1c1814); box-shadow: 0 6px 0 #0b0907, 0 12px 30px rgba(0,0,0,.6); transition: transform .15s; }
.rec span { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #d3301f 60%, #8c1a10); transition: border-radius .3s, transform .3s; }
.rec.on span { border-radius: 10px; transform: scale(.55); }
.rec.on { animation: recpulse 1.4s infinite; }
@keyframes recpulse { 0% { box-shadow: 0 6px 0 #0b0907, 0 0 0 0 rgba(211,48,31,.5); } 70% { box-shadow: 0 6px 0 #0b0907, 0 0 0 22px rgba(211,48,31,0); } 100% { box-shadow: 0 6px 0 #0b0907, 0 0 0 0 rgba(211,48,31,0); } }
.hint { text-align: center; font-size: .82rem; opacity: .65; }
.review { display: none; margin-top: 8px; }
.review.on { display: block; }
.review audio { width: 100%; margin-bottom: 14px; }
.review video { width: 100%; border-radius: 14px; margin-bottom: 14px; display: none; background: #000; }
.btns.two { grid-template-columns: 1fr 1fr; }
.seal { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: radial-gradient(circle at 35% 30%, #d06a50, #8e2a1c); box-shadow: 0 20px 40px rgba(0,0,0,.4), inset 0 -6px 12px rgba(0,0,0,.3); animation: up .9s var(--ease); }
