/* Diddy Duels — host screen menus + phone controller (base look comes from style.css, shared with Bust a Nut! / Bowling) */

/* ---------- splash ---------- */
.splash .logo.big { font-size: clamp(70px, 13vw, 230px); animation: hubFlicker 5s infinite; }
.splash-btns { display: flex; gap: 2vw; flex-wrap: wrap; justify-content: center; }
.splash-btns .btn { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 20px 34px; font-size: clamp(20px, 2.2vw, 36px); }
.splash-btns .btn small { font-family: var(--body); font-weight: 700; font-size: clamp(12px, 1vw, 17px); opacity: .85; max-width: 24ch; line-height: 1.25; }

/* ---------- host: shared ---------- */
#scene { background: #0d0418; }
.tv .glass { background: rgba(18, 6, 31, .78); }
.stage { padding: 2.4vh 2.4vw calc(2.4vh + 76px); gap: 1.6vh; }
.pause { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 2, 16, .7); z-index: 20; }
.pause-card { padding: 34px 44px; display: flex; flex-direction: column; gap: 16px; min-width: 320px; text-align: center; }
.chip { background: var(--ink-3); border-radius: 12px; padding: 9px 14px; font-weight: 800; font-size: clamp(13px, 1.05vw, 17px); border: 2px solid transparent; color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--gold); background: #3d1d0a; color: var(--gold); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sec { font-family: var(--display); letter-spacing: .12em; color: var(--pink); font-size: clamp(11px, .9vw, 15px); text-transform: uppercase; margin: 8px 0 6px; }

/* ---------- host: lobby ---------- */
.dl { flex: 1; display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.dl-top { display: flex; align-items: center; gap: 2vw; }
.dl-top .logo { font-size: clamp(26px, 3.4vw, 56px); }
.modes { display: flex; gap: 10px; margin-left: 1vw; }
.mode { text-align: left; padding: 10px 18px; border-radius: 16px; background: rgba(18, 6, 31, .78); border: 2px solid var(--line); font-weight: 800; font-size: clamp(13px, 1.1vw, 18px); color: var(--text); }
.mode b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(14px, 1.3vw, 22px); color: var(--gold); }
.mode[aria-pressed="true"] { border-color: var(--pink); background: linear-gradient(135deg, rgba(255, 45, 138, .3), rgba(18, 6, 31, .85)); box-shadow: 0 0 24px rgba(255, 45, 138, .35); }
.mode small { display: block; font-weight: 700; color: var(--muted); font-size: .8em; }
.dl-main { flex: 1; display: grid; grid-template-columns: minmax(250px, 24vw) 1fr minmax(260px, 24vw); gap: 1.6vw; min-height: 0; }
.dl-col { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.dl-col::-webkit-scrollbar { display: none; }
.plist { display: flex; flex-direction: column; gap: 6px; }
.prow { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 2px solid transparent; text-align: left; width: 100%; color: var(--text); }
.prow.sel { border-color: var(--gold); background: rgba(255, 200, 61, .1); }
.prow.off { opacity: .4; }
.prow .nm { font-weight: 900; font-size: clamp(13px, 1.1vw, 18px); line-height: 1.1; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .nm small { display: block; font-weight: 700; color: var(--muted); font-size: .72em; }
.prow .tools { display: flex; gap: 4px; }
.tbtn { width: 30px; height: 30px; border-radius: 9px; background: var(--ink-3); font-size: 14px; display: grid; place-items: center; color: var(--text); }
.tbtn[aria-pressed="true"] { background: #3d1d0a; box-shadow: inset 0 0 0 2px var(--gold); }
.addbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.addbar .chip { font-size: clamp(11px, .85vw, 14px); padding: 7px 10px; }
.cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1vw; padding: 14px; align-content: start; }
.cc { background: none; padding: 0; position: relative; text-align: center; color: var(--text); font-weight: 800; font-size: clamp(10px, .85vw, 14px); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cc .av { width: 100%; height: auto; aspect-ratio: 1; flex: none; max-width: 92px; }
.cc.mine .av { box-shadow: 0 0 0 4px var(--gold), 0 0 22px var(--gold); }
.cc.taken .av { opacity: .3; }
.cc.taken::after { content: attr(data-by); position: absolute; top: 34%; left: 0; right: 0; font-size: .95em; text-shadow: 0 2px 8px #000; color: #fff; }
.dl-center { display: flex; flex-direction: column; gap: 1.2vh; min-height: 0; }
.cinfo { display: flex; gap: 2vw; padding: 14px 22px; align-items: center; }
.cinfo .fig { --h: min(26vh, 300px); }
.cinfo .txt { flex: 1; min-width: 0; }
.cinfo h2 { font-size: clamp(22px, 2.6vw, 44px); }
.cinfo .ctag { color: var(--muted); font-weight: 700; font-size: clamp(12px, 1vw, 16px); }
.stat { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: clamp(11px, .9vw, 14px); margin-top: 5px; }
.stat span { width: 5em; color: var(--muted); }
.stat i { flex: 1; height: 9px; border-radius: 99px; background: #0c0415; overflow: hidden; display: block; position: relative; }
.stat i b { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--pink), var(--gold)); border-radius: 99px; }
.mv { font-size: clamp(11px, .95vw, 15px); font-weight: 700; margin-top: 7px; color: var(--text); }
.mv b { color: var(--gold); font-family: var(--display); font-weight: 400; letter-spacing: .05em; }
.startbtn { font-size: clamp(22px, 2.4vw, 40px); padding: 18px 20px; }
.err2 { color: #ffb0b0; font-weight: 800; font-size: clamp(12px, 1vw, 16px); min-height: 1.3em; }
.keys { font-size: clamp(10px, .8vw, 13px); color: var(--muted); font-weight: 700; line-height: 1.5; }
.keys kbd { background: var(--ink-3); border-radius: 5px; padding: 1px 6px; color: var(--text); font-family: inherit; font-weight: 900; }
.code-wrap { margin-left: auto; text-align: right; padding: 10px 20px; }
.code-wrap small { display: block; font-weight: 700; color: var(--muted); font-size: clamp(11px, .95vw, 16px); }
.code-wrap b { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 64px); letter-spacing: .12em; color: var(--gold); line-height: 1; }

/* ---------- host: bracket ---------- */
.bk-wrap { flex: 1; display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.bk-head { display: flex; align-items: baseline; gap: 2vw; }
.bk-head h1 { font-size: clamp(26px, 3.6vw, 60px); }
.bk-head .nx { font-weight: 900; font-size: clamp(14px, 1.5vw, 24px); color: var(--gold); }
.bk { flex: 1; display: flex; gap: 1.4vw; min-height: 0; padding: 1.4vh 1.4vw; }
.bk-col { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 6px; min-width: 0; }
.bk-col h4 { margin: 0; font-family: var(--display); font-weight: 400; color: var(--pink); font-size: clamp(10px, .85vw, 14px); letter-spacing: .1em; text-align: center; }
.bk-m { background: rgba(255, 255, 255, .05); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.bk-m.cur { border-color: var(--gold); box-shadow: 0 0 26px rgba(255, 200, 61, .4); animation: bkPulse 1.2s infinite alternate; }
.bk-m.done { opacity: .75; }
.bk-s { display: flex; align-items: center; gap: 7px; padding: 4px 8px; font-weight: 900; font-size: clamp(11px, .95vw, 16px); min-height: 2.4em; }
.bk-s + .bk-s { border-top: 1px solid var(--line); }
.bk-s .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-s.w { color: var(--gold); background: rgba(255, 200, 61, .1); }
.bk-s.l { opacity: .4; text-decoration: line-through; }
.bk-s.empty { color: var(--muted); font-weight: 700; }
@keyframes bkPulse { to { box-shadow: 0 0 40px rgba(255, 200, 61, .7); } }

/* ---------- host: versus / results ---------- */
.vs { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4vh; text-align: center; min-height: 0; }
.vs .tagline { font-family: var(--display); letter-spacing: .12em; color: var(--pink); font-size: clamp(16px, 2vw, 34px); text-shadow: 0 0 20px rgba(255, 45, 138, .6); }
.vs-row { display: flex; align-items: flex-end; justify-content: center; gap: 3vw; width: 100%; }
.vs-side { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; animation: vsIn .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.vs-side.r { animation-name: vsInR; }
.vs-side .fig { --h: min(52vh, 520px); }
.vs-side .nm { font-family: var(--display); font-size: clamp(22px, 3.2vw, 56px); text-shadow: 4px 4px 0 var(--pink); line-height: 1; }
.vs-side .sub { font-weight: 800; color: var(--muted); font-size: clamp(12px, 1.1vw, 18px); }
.vs-side .cpu { color: var(--gold); }
.vs-mid { font-family: var(--display); font-size: clamp(60px, 9vw, 160px); color: var(--gold); text-shadow: 0 0 40px rgba(255, 200, 61, .7), 6px 6px 0 var(--pink); animation: vsPop .7s cubic-bezier(.2, 1.8, .4, 1) .3s both; }
.vs .line { font-weight: 800; font-size: clamp(14px, 1.5vw, 24px); color: var(--text); max-width: 60vw; text-shadow: 0 2px 10px #000; }
.vs .cd { font-family: var(--display); color: var(--gold); font-size: clamp(22px, 2.6vw, 44px); }
@keyframes vsIn { from { transform: translateX(-60vw) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vsInR { from { transform: translateX(60vw) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vsPop { from { transform: scale(4); opacity: 0; } to { transform: none; opacity: 1; } }
.mend { position: absolute; left: 0; right: 0; bottom: 14vh; display: flex; justify-content: center; pointer-events: none; }
.mend .glass { padding: 14px 34px; text-align: center; font-weight: 900; font-size: clamp(16px, 1.8vw, 30px); }
.mend .glass b { font-family: var(--display); font-weight: 400; color: var(--gold); }
.final { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6vh; text-align: center; min-height: 0; }
.final h1 { font-size: clamp(24px, 3vw, 54px) !important; max-width: 80vw; }
.final .podium { display: flex; align-items: flex-end; justify-content: center; gap: 3vw; }
.final .slot { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 900; font-size: clamp(14px, 1.6vw, 26px); }
.final .slot .fig { --h: min(30vh, 320px); }
.final .slot.first .fig { --h: min(40vh, 420px); animation: hype .6s infinite alternate; }
.final .slot.second .fig, .final .slot.third .fig { --h: min(28vh, 290px); }
.final .slot .pl { font-family: var(--display); color: var(--gold); font-size: 1.3em; }
.final .lead { font-size: clamp(14px, 1.4vw, 22px); }
.final .stats { font-weight: 800; color: var(--muted); font-size: clamp(13px, 1.1vw, 18px); }
@keyframes hype { to { transform: translateY(-3vh) rotate(-3deg); } }

/* ======================= PHONE ======================= */
.phone .modegrid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.phone .modebtn { text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--ink-3); border: 2px solid transparent; font-weight: 800; }
.phone .modebtn b { display: block; font-family: var(--display); font-weight: 400; color: var(--gold); font-size: 18px; }
.phone .modebtn small { color: var(--muted); font-weight: 700; }
.phone .modebtn[aria-pressed="true"] { border-color: var(--pink); background: #3a1030; }
.phone .chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.phone .chipset .chip { font-size: 15px; padding: 9px 13px; }
.phone .row.who { align-items: center; gap: 10px; padding: 6px 0; }
.phone .specbtn { margin-left: auto; padding: 6px 12px; border-radius: 99px; font-weight: 800; font-size: 13px; background: var(--ink-3); color: var(--text); }
.phone .specbtn[aria-pressed="true"] { background: #3d1d0a; box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold); }
.phone .vsbox { display: flex; align-items: center; justify-content: center; gap: 14px; }
.phone .vsbox .fig { --h: 150px; }
.phone .vsbox b { font-family: var(--display); font-size: 36px; color: var(--gold); text-shadow: 3px 3px 0 var(--pink); }
.phone .bkmini { display: flex; flex-direction: column; gap: 6px; }
.phone .bkmini .m { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 6px 10px; border: 2px solid transparent; }
.phone .bkmini .m.cur { border-color: var(--gold); }
.phone .bkmini .m.mine { background: rgba(255, 45, 138, .18); }
.phone .bkmini .m i { font-style: normal; color: var(--muted); font-family: var(--display); }

/* the controller */
.ctl { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none;
  background: radial-gradient(ellipse at 50% 20%, #3a1060 0%, #12061f 70%); }
.ctl * { -webkit-tap-highlight-color: transparent; touch-action: none; }
.ctl-hud { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: calc(env(safe-area-inset-top) + 36px) 14px 4px; }
.ctl-side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ctl-side.r { align-items: flex-end; text-align: right; }
.ctl-side .nm { font-family: var(--display); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpbar { height: 16px; border-radius: 99px; background: #0c0415; border: 2px solid #000; overflow: hidden; position: relative; width: 100%; }
.hpbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(180deg, #9dff6a, #2ecf3a); transition: width .12s linear; }
.hpbar.low i { background: linear-gradient(180deg, #ff7a5a, #e01a2a); }
.ctl-side.r .hpbar i { inset: 0 0 0 auto; }
.mtbar { height: 8px; border-radius: 99px; background: #0c0415; overflow: hidden; width: 70%; position: relative; border: 1px solid #000; }
.mtbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #2de2ff, #b84dff); transition: width .12s linear; }
.mtbar.full i { background: linear-gradient(90deg, #fff, #ffc83d, #ff2d8a, #2de2ff); animation: rainbow 1s linear infinite; background-size: 300% 100%; }
.ctl-side.r .mtbar i { inset: 0 0 0 auto; }
@keyframes rainbow { to { background-position: 300% 0; } }
.ctl-mid { text-align: center; font-family: var(--display); }
.ctl-mid .tm { font-size: 30px; color: var(--gold); line-height: 1; }
.ctl-mid .rd { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.ctl-banner { position: relative; flex: 1; display: grid; place-items: center; text-align: center; padding: 0 16px; min-height: 0; }
.ctl-banner .big { font-family: var(--display); font-size: clamp(22px, 7vw, 40px); color: var(--gold); text-shadow: 3px 3px 0 var(--pink); line-height: 1; }
.ctl-banner .small { font-weight: 800; color: var(--muted); margin-top: 6px; font-size: 14px; }
.ctl-banner .finish { color: #ff5a5a; animation: pulse .4s infinite alternate; }
.ctl-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 6px 16px calc(env(safe-area-inset-bottom) + 46px); position: relative; z-index: 2; }
.stick { position: relative; width: min(38vw, 210px); aspect-ratio: 1; flex: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 70%); border: 3px solid rgba(255, 255, 255, .22); }
.stick::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .12); }
.stick .arr { position: absolute; font-size: 18px; color: rgba(255, 255, 255, .45); font-weight: 900; }
.stick .arr.u { top: 5%; left: 50%; transform: translateX(-50%); } .stick .arr.d { bottom: 5%; left: 50%; transform: translateX(-50%); }
.stick .arr.l { left: 6%; top: 50%; transform: translateY(-50%); } .stick .arr.r { right: 6%; top: 50%; transform: translateY(-50%); }
.stick .nub { position: absolute; width: 38%; aspect-ratio: 1; left: 31%; top: 31%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9fcb, #ff2d8a 55%, #6b0f3c); box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.abox { display: flex; flex-direction: column; gap: 10px; align-items: stretch; flex: none; }
.agrid { display: grid; grid-template-columns: repeat(2, min(21vw, 98px)); gap: 12px; justify-content: end; }
.abtn { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 15px; color: #fff; border: 3px solid rgba(0, 0, 0, .5); box-shadow: 0 6px 0 rgba(0, 0, 0, .45), inset 0 3px 8px rgba(255, 255, 255, .35); position: relative; line-height: 1; text-align: center; }
.abtn small { display: block; font-family: var(--body); font-weight: 800; font-size: 10px; opacity: .85; margin-top: 3px; }
.abtn.p { background: radial-gradient(circle at 35% 30%, #ff9fcb, #ff2d8a 60%, #7a0f42); }
.abtn.k { background: radial-gradient(circle at 35% 30%, #ffe08a, #ffc83d 60%, #a87400); color: #2a1300; }
.abtn.b { background: radial-gradient(circle at 35% 30%, #9eefff, #2de2ff 60%, #0a7a96); color: #002a33; }
.abtn.s { background: radial-gradient(circle at 35% 30%, #d8b0ff, #9a5aff 60%, #4a1a96); }
.abtn.on { transform: translateY(5px) scale(.96); box-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 0 30px rgba(255, 255, 255, .5); filter: brightness(1.3); }
.superbtn { height: 54px; border-radius: 14px; font-family: var(--display); font-size: 17px; color: #fff; background: #241238; border: 3px solid rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.superbtn i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #2de2ff, #b84dff); opacity: .65; transition: width .12s linear; }
.superbtn span { position: relative; }
.superbtn.ready { animation: rainbowBg 1s linear infinite; border-color: #fff; color: #fff; }
.superbtn.ready i { opacity: 0; }
.superbtn.on { filter: brightness(1.5); transform: scale(.97); }
@keyframes rainbowBg { 0% { background: #ff2d8a; } 33% { background: #ffc83d; } 66% { background: #2de2ff; } 100% { background: #ff2d8a; } }
.ctl-foot { position: absolute; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 74px); display: flex; justify-content: center; gap: 10px; pointer-events: none; font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .4); }
.ctl .quit { position: absolute; top: calc(env(safe-area-inset-top) + 2px); right: 8px; background: rgba(0, 0, 0, .35); border-radius: 99px; width: 28px; height: 28px; font-size: 13px; color: #fff; z-index: 3; touch-action: manipulation; }
.ctl .fsbtn { position: absolute; top: calc(env(safe-area-inset-top) + 2px); left: 8px; background: rgba(0, 0, 0, .35); border-radius: 99px; width: 28px; height: 28px; font-size: 13px; color: #fff; z-index: 3; touch-action: manipulation; }
.ctl-react { display: flex; gap: 10px; justify-content: center; padding: 0 16px calc(env(safe-area-inset-bottom) + 18px); }
.ctl-react button { font-size: 40px; padding: 14px 0; border-radius: 18px; background: var(--ink-3); flex: 1; touch-action: manipulation; }
.ctl-react button:active { transform: scale(.92); }
.ctl.spec .ctl-bot { display: none; }
.ctl-keys { text-align: center; font-size: 11px; color: rgba(255, 255, 255, .35); font-weight: 700; padding: 0 12px 6px; display: none; }
@media (hover: hover) and (pointer: fine) { .ctl-keys { display: block; } }
@media (orientation: landscape) and (max-height: 520px) {
  .ctl-hud { padding-top: calc(env(safe-area-inset-top) + 6px); }
  .stick { width: min(52vh, 210px); }
  .amini .abtn { width: min(24vh, 84px); }
  .superbtn { height: 42px; }
  .ctl-bot { padding-bottom: calc(env(safe-area-inset-bottom) + 26px); }
  .ctl-banner { position: static; }
  .pad { width: min(30vw, 170px); }
  .tap { min-height: 0; }
  .ctl-foot { display: none; }
}
.rotate-hint { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 11px; font-weight: 800; color: rgba(255, 255, 255, .35); pointer-events: none; }
@media (orientation: landscape) { .rotate-hint { display: none; } }

/* live fight preview (player.js parks one canvas behind the controller, or over #pvSlot for spectators) */
#pvCanvas { position: fixed; z-index: 29; pointer-events: none; border-radius: 0; display: none; }
.pvslot { width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; background: #12061f; border: 2px solid rgba(255, 255, 255, .12); margin-bottom: 12px; }
.ctl.pvon { background: transparent; }
.ctl.pvon .ctl-banner .big { visibility: hidden; }
.ctl.pvon .ctl-banner .small { text-shadow: 0 2px 6px #000; color: #fff; }
.ctl-hud { position: relative; z-index: 2; }
/* attack pad: the top half punches, the bottom half kicks; two fingers on it block */
.arow { display: flex; gap: 10px; align-items: stretch; justify-content: flex-end; }
.amini { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.amini .abtn { width: min(16vw, 84px); font-size: 13px; }
.pad { display: flex; flex-direction: column; gap: 10px; width: min(30vw, 170px); }
.tap { flex: 1; min-height: 70px; border-radius: 18px; border: 3px solid rgba(0, 0, 0, .5); color: #fff; font-family: var(--display); font-size: 17px; display: grid; place-content: center; text-align: center; line-height: 1.1; box-shadow: 0 5px 0 rgba(0, 0, 0, .45), inset 0 3px 8px rgba(255, 255, 255, .3); }
.tap small { font-family: var(--body); font-weight: 800; font-size: 10px; opacity: .85; margin-top: 3px; }
.tap.p { background: radial-gradient(circle at 35% 30%, #ff9fcb, #ff2d8a 60%, #7a0f42); }
.tap.k { background: radial-gradient(circle at 35% 30%, #ffe08a, #ffc83d 60%, #a87400); color: #2a1300; }
.tap.on { transform: translateY(4px) scale(.98); box-shadow: 0 1px 0 rgba(0, 0, 0, .45), 0 0 30px rgba(255, 255, 255, .5); filter: brightness(1.3); }
.abtn.cool { filter: grayscale(.85) brightness(.55); }

/* round home button in the phone header (built by lobbykit.js) */
.homelink { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 18px; background: var(--ink-3); border: 1.5px solid rgba(255, 45, 138, .6); }
