/* きもちジャンプ JUMP1026（このページだけで読む） */
html, body.jmp-body { margin: 0; padding: 0; height: 100%; background: #1d1830; overflow: hidden; overscroll-behavior: none; }
body.jmp-body { font-family: system-ui, -apple-system, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif; color: #2a2140; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.jmp { position: fixed; inset: 0; display: flex; flex-direction: column; }
.jmp-stage { position: relative; width: 100%; flex: none; overflow: hidden; background: #7cc8ff; }
.jmp-cv { display: block; width: 100%; height: 100%; touch-action: none; }
.jmp-hud { position: absolute; left: 6px; top: 34px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 60px); pointer-events: none; }
.is-touch:not(.is-land) .jmp-hud { top: auto; bottom: 6px; }
.jmp-chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px 2px 2px; border-radius: 999px; background: rgba(20, 16, 40, .5); color: #fff; font-size: 11px; font-weight: 700; border: 2px solid var(--c); }
.jmp-chip img { width: 20px; height: 20px; border-radius: 50%; background: #fff; object-fit: contain; }
.jmp-menu-b { position: absolute; right: 4px; top: 0; width: 36px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; }

/* 操作ボタン（スマホ縦: 画面の下・横: 画面の上に重ねる） */
.jmp-pad { position: relative; flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-sizing: border-box; background: linear-gradient(#2b2347, #1d1830); touch-action: none; gap: 10px; }
.jmp-pad[hidden] { display: none; }
.jmp-pad.is-off { opacity: .35; }
.jmp-pad__l, .jmp-pad__r { display: flex; gap: 10px; align-items: center; }
.jmp-pad button { width: 76px; height: 76px; border-radius: 22px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; font-weight: 800; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25); touch-action: none; -webkit-user-select: none; user-select: none; padding: 0; font-family: inherit; }
.jmp-pad button.is-jump { width: 92px; height: 92px; border-radius: 50%; background: #ff7aa8; font-size: 17px; }
.jmp-pad button.is-dash { width: 64px; height: 64px; border-radius: 50%; background: #5a8cff; font-size: 13px; }
.jmp-pad button.is-on { transform: translateY(2px) scale(.96); filter: brightness(1.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25), 0 0 0 3px rgba(255, 255, 255, .6); }
.is-land .jmp-pad { position: absolute; left: 0; right: 0; bottom: 0; background: none; padding: 0 calc(14px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left)); pointer-events: none; height: auto !important; }
.is-land .jmp-pad button { pointer-events: auto; opacity: .55; }
.is-land .jmp-pad button.is-on { opacity: .85; }
@media (max-width: 370px) {
	.jmp-pad { padding-left: 8px; padding-right: 8px; gap: 6px; }
	.jmp-pad__l, .jmp-pad__r { gap: 8px; }
	.jmp-pad button { width: 70px; height: 70px; }
	.jmp-pad button.is-jump { width: 86px; height: 86px; }
	.jmp-pad button.is-dash { width: 60px; height: 60px; }
}

/* 重ねる画面 */
.jmp-ov { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); box-sizing: border-box; background: rgba(24, 18, 44, .45); -webkit-overflow-scrolling: touch; }
.jmp-ov[hidden] { display: none; }
.jmp-ov.is-menu, .jmp-ov.is-help { background: rgba(24, 18, 44, .62); }
.jmp-card { width: 100%; max-width: 420px; margin: auto; background: #fffaf3; border-radius: 22px; padding: 16px 16px 14px; box-sizing: border-box; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 10px; }
.jmp-card h2 { margin: 0; font-size: 19px; text-align: center; color: #4b2f73; }
.jmp-card p { margin: 0; font-size: 14px; line-height: 1.6; }
.jmp-logo { text-align: center; padding: 6px 0 2px; }
.jmp-logo b { display: block; font-size: 34px; letter-spacing: .04em; color: #ff5f9e; text-shadow: 0 3px 0 #fff, 0 5px 0 rgba(120, 60, 150, .25); line-height: 1.2; }
.jmp-logo small { display: block; font-size: 14px; font-weight: 700; color: #6c5ce7; margin-top: 2px; }
.jmp-me { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 8px; border: 2px solid #f1e4ff; }
.jmp-me img { width: 56px; height: 56px; object-fit: contain; }
.jmp-me div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jmp-me b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jmp-me span { font-size: 12px; color: #7a6a8e; }
.jmp-b { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: #efe6ff; color: #4b2f73; font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; padding: 8px 10px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); }
.jmp-b.is-main { background: linear-gradient(#ff8fbd, #ff6aa1); color: #fff; font-size: 17px; min-height: 54px; box-shadow: inset 0 -4px 0 rgba(150, 30, 80, .25); }
.jmp-b.is-sub { background: #f4f0f8; color: #5e4d78; font-size: 14px; min-height: 44px; }
.jmp-b.is-on { outline: 3px solid #ff6aa1; }
.jmp-me .jmp-b { width: auto; min-height: 40px; padding: 6px 12px; }
.jmp-row { display: flex; gap: 8px; }
.jmp-row > * { flex: 1; min-width: 0; }
.jmp-note { font-size: 12px !important; color: #8a7a9e; text-align: center; }
.jmp-good { font-weight: 800; color: #d6336c; text-align: center; }
.jmp-err { color: #d6336c; font-weight: 700; }
.jmp-wait { text-align: center; color: #7a6a8e; font-weight: 700; }
.jmp-back { text-align: center; color: #6c5ce7; font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px; }
.jmp-lbl { font-size: 12px !important; font-weight: 800; color: #8a7a9e; margin-top: 2px !important; }
.jmp-in { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #6b5a82; }
.jmp-in input { font-size: 22px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; border-radius: 12px; border: 2px solid #e2d6f5; font-family: inherit; user-select: text; -webkit-user-select: text; }
.jmp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.jmp-g { min-height: 44px; border: 0; border-radius: 12px; background: #f4f0f8; color: #4b2f73; font-weight: 800; font-size: 14px; font-family: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; }
.jmp-g small { font-size: 10px; font-weight: 700; color: #8a7a9e; }
.jmp-g.is-on { background: #ff6aa1; color: #fff; }
.jmp-g.is-on small { color: #fff; }
.jmp-chpv { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.jmp-chpv img { width: 110px; height: 110px; object-fit: contain; }
.jmp-chpv b { font-size: 14px; }
.jmp-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.jmp-slot { position: relative; background: #fff; border: 3px solid var(--c, #e2d6f5); border-radius: 14px; padding: 4px 2px 6px; display: flex; flex-direction: column; align-items: center; min-height: 82px; box-sizing: border-box; }
.jmp-slot img { width: 48px; height: 48px; object-fit: contain; }
.jmp-slot b { font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jmp-slot i { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 800; background: #ffd43b; color: #5c3b00; border-radius: 999px; padding: 0 6px; white-space: nowrap; }
.jmp-slot.is-empty { border-style: dashed; border-color: #e2d6f5; color: #b9aacd; font-size: 12px; font-weight: 700; justify-content: center; }
.jmp-stages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.jmp-st { min-height: 62px; border: 0; border-radius: 14px; color: #fff; font-family: inherit; font-weight: 800; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); }
.jmp-st b { font-size: 12px; opacity: .9; }
.jmp-st.th-meadow { background: linear-gradient(#7cc8ff, #5cbf3f); }
.jmp-st.th-cave { background: linear-gradient(#4a3a6e, #2a2244); }
.jmp-st.th-sky { background: linear-gradient(#5fb6ff, #ffc3dd); }
.jmp-st.th-castle { background: linear-gradient(#563266, #2c1c40); }
.jmp-st.is-on { outline: 4px solid #ff6aa1; outline-offset: 1px; }
.jmp-st:disabled { opacity: .8; }
.jmp-st:disabled.is-on { opacity: 1; }
.jmp-rs, .jmp-rkl ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.jmp-rs li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 6px 8px; border: 2px solid #f1e4ff; }
.jmp-rs li.is-me { border-color: #ff8fbd; }
.jmp-rs img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.jmp-rs .n { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; display: flex; flex-direction: column; overflow: hidden; }
.jmp-rs .n small, .jmp-rs .v small { font-size: 11px; font-weight: 700; color: #d6336c; }
.jmp-rs .v small { color: #8a7a9e; }
.jmp-rs .v { text-align: right; font-weight: 800; font-size: 14px; display: flex; flex-direction: column; white-space: nowrap; }
.jmp-tabs { display: flex; gap: 4px; }
.jmp-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 10px; background: #f4f0f8; color: #5e4d78; font-weight: 800; font-family: inherit; font-size: 14px; }
.jmp-tabs button.is-on { background: #6c5ce7; color: #fff; }
.jmp-rkl li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-bottom: 1px solid #f1e4ff; font-size: 14px; }
.jmp-rkl li.is-me { background: #fff0f6; border-radius: 10px; }
.jmp-rkl li b { width: 22px; text-align: center; color: #6c5ce7; }
.jmp-rkl li img { width: 30px; height: 30px; object-fit: contain; }
.jmp-rkl li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.jmp-rkl li em { font-style: normal; font-weight: 800; }
.jmp-help ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.65; }
