/* 互动乐园：海龟汤 / 剧本杀 / Python 小游戏 */

/* ================================================================
 * 海龟汤
 * ================================================================ */
.soup {
	max-width: 1080px;
	margin: 14px auto 40px;
	background: #fff;
	border: 1px solid #f0e7da;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	overflow: hidden;
}

.soup-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-bottom: 1px solid #f7efe3;
	background: linear-gradient(120deg, #fffaf2, #fff);
}
.soup-h-t {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.soup-h-t b {
	font-size: 17px;
	color: #0f172a;
}
.soup-h-t span {
	font-size: 12px;
	color: #a8a29e;
}
.soup-h-t em {
	font-style: normal;
	font-weight: 700;
	color: #78716c;
	letter-spacing: .06em;
}
.soup-h-s {
	flex: 0 0 auto;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: #b45309;
	background: #fffbeb;
	border: 1px solid #fde68a;
	white-space: nowrap;
}
.soup-h-s.is-over {
	color: #15803d;
	background: #ecfdf5;
	border-color: #bbf7d0;
}

.soup-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 236px;
}
.soup-main {
	padding: 18px 20px;
	min-width: 0;
}
.soup-side {
	border-left: 1px solid #f7efe3;
	padding: 18px 16px;
	background: #fffdf9;
}
.soup-side h4 {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: #a8a29e;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
}

/* 汤面 */
.soup-face {
	padding: 18px 20px;
	border-radius: 16px;
	background: linear-gradient(135deg, #fff7ed, #fefce8);
	border: 1px solid #fde68a;
	margin-bottom: 16px;
}
.soup-f-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 9px;
	flex-wrap: wrap;
}
.soup-f-k {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	color: #b45309;
	background: #fff;
	padding: 2px 8px;
	border-radius: 5px;
	border: 1px solid #fde68a;
}
.soup-f-head b {
	font-size: 16px;
	color: #78350f;
}
.soup-f-over {
	margin-left: auto;
	font-style: normal;
	font-size: 11.5px;
	font-weight: 700;
	color: #15803d;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	padding: 2px 9px;
	border-radius: 999px;
}
.soup-f-txt {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.85;
	color: #44403c;
	letter-spacing: .01em;
}
.soup-truth {
	margin-top: 14px;
	padding: 13px 15px;
	border-radius: 12px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}
.soup-truth b {
	display: block;
	font-size: 12.5px;
	color: #15803d;
	margin-bottom: 6px;
	letter-spacing: .04em;
}
.soup-truth p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.85;
	color: #14532d;
}
.soup-hints {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 13px;
	padding-top: 12px;
	border-top: 1px dashed #fde68a;
}
.soup-hint {
	display: flex;
	gap: 9px;
	align-items: baseline;
	font-size: 13.5px;
	color: #78716c;
}
.soup-hint i {
	flex: 0 0 auto;
	font-style: normal;
	font-size: 10.5px;
	font-weight: 700;
	color: #b45309;
	background: #fff;
	border: 1px solid #fde68a;
	padding: 1px 6px;
	border-radius: 5px;
}
.soup-hint em {
	font-style: normal;
}

/* 汤主面板 */
.soup-stage {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.soup-host {
	padding: 15px 17px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.soup-host-top {
	display: flex;
	align-items: center;
	gap: 9px;
}
.soup-host-top span {
	font-size: 12px;
	font-weight: 700;
	color: #4f46e5;
	background: #eef2ff;
	padding: 2px 9px;
	border-radius: 6px;
}
.soup-host-top em {
	font-style: normal;
	font-size: 12px;
	color: #94a3b8;
}
.soup-pending {
	padding: 13px 15px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #fde68a;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.soup-pending span {
	font-size: 11px;
	font-weight: 700;
	color: #b45309;
	letter-spacing: .1em;
}
.soup-pending b {
	font-size: 16px;
	line-height: 1.6;
	color: #1f2937;
	font-weight: 600;
}
.soup-ans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.soup-ans-b {
	padding: 11px 6px;
	border-radius: 11px;
	border: 1px solid #e2e8f0;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.soup-ans-b:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(15, 23, 42, .07);
}
.soup-ans-b:active {
	transform: scale(.97);
}
.soup-ans-b.is-yes {
	color: #15803d;
	border-color: #bbf7d0;
	background: #f0fdf4;
}
.soup-ans-b.is-no {
	color: #b91c1c;
	border-color: #fecaca;
	background: #fef2f2;
}
.soup-ans-b.is-rel {
	color: #64748b;
	border-color: #e2e8f0;
	background: #f8fafc;
}
.soup-ans-b.is-both {
	color: #b45309;
	border-color: #fde68a;
	background: #fffbeb;
}
.soup-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.soup-peek summary {
	cursor: pointer;
	font-size: 12.5px;
	color: #94a3b8;
	padding: 4px 0;
}
.soup-peek-t {
	margin: 8px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fffbeb;
	border: 1px dashed #fde68a;
	font-size: 13.5px;
	line-height: 1.8;
	color: #78350f;
}

/* 提示 / 说明 */
.soup-how {
	padding: 14px 16px;
	border-radius: 13px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
}
.soup-how b {
	font-size: 13px;
	color: #334155;
}
.soup-how p {
	margin: 6px 0 0;
	font-size: 13.5px;
	line-height: 1.75;
	color: #64748b;
}
.soup-dim {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #94a3b8;
}

/* 抢答 */
.soup-guess {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.soup-guess h4 {
	margin: 4px 0 2px;
	font-size: 12.5px;
	color: #64748b;
	letter-spacing: .06em;
}
.soup-g {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	padding: 9px 12px;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 13px;
	color: #334155;
}
.soup-g b {
	flex: 0 0 auto;
	font-size: 12px;
	color: #64748b;
}
.soup-g span {
	flex: 1 1 200px;
	min-width: 0;
	word-break: break-word;
}
.soup-g.is-yes {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}
.soup-g.is-near {
	background: #fffbeb;
	border: 1px solid #fde68a;
}
.soup-g-ops {
	display: flex;
	gap: 6px;
	flex: 0 0 auto;
}
.soup-g-tag {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 2px 7px;
	border-radius: 5px;
}
.soup-g.is-yes .soup-g-tag {
	color: #15803d;
	border-color: #bbf7d0;
}

/* 问答流 */
.soup-qa {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed #f0e7da;
	display: flex;
	flex-direction: column;
	gap: 9px;
	max-height: 420px;
	overflow-y: auto;
}
.soup-empty {
	font-size: 13px;
	color: #a8a29e;
	padding: 10px 0;
}
.soup-line {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.soup-q {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 13px;
	border-radius: 12px 12px 12px 4px;
	background: #f8fafc;
	font-size: 14px;
	color: #1f2937;
	max-width: 88%;
}
.soup-q b {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: #94a3b8;
	font-weight: 600;
}
.soup-q span {
	word-break: break-word;
}
.soup-a {
	align-self: flex-start;
	margin-left: 14px;
	padding: 5px 13px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
	color: #64748b;
}
.soup-a.is-yes {
	color: #15803d;
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.soup-a.is-no {
	color: #b91c1c;
	background: #fef2f2;
	border-color: #fecaca;
}
.soup-a.is-rel {
	color: #64748b;
	background: #f8fafc;
}
.soup-a.is-both {
	color: #b45309;
	background: #fffbeb;
	border-color: #fde68a;
}
.soup-a.is-wait {
	color: #94a3b8;
	background: #fff;
	border-style: dashed;
	font-weight: 600;
}

/* 结算 */
.soup-over {
	display: flex;
	flex-direction: column;
	gap: 11px;
	align-items: flex-start;
	padding: 6px 0;
}
.soup-over-ico {
	font-size: 30px;
	line-height: 1;
}
.soup-over h3 {
	margin: 0;
	font-size: 18px;
	color: #0f172a;
}
.soup-rank {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.soup-rk {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 9px;
	background: #f8fafc;
	font-size: 13px;
	color: #475569;
}
.soup-rk b {
	flex: 1 1 auto;
	color: #334155;
}
.soup-rk span {
	color: #4f46e5;
	font-weight: 700;
}
.soup-rk-tag {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 700;
	color: #b45309;
	background: #fffbeb;
	border: 1px solid #fde68a;
	padding: 1px 6px;
	border-radius: 5px;
}

/* 侧栏 */
.soup-players {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.soup-p {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 6px 9px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid #f5efe6;
	font-size: 12.5px;
	color: #44403c;
}
.soup-p.is-me {
	border-color: #fde68a;
	background: #fffdf5;
	font-weight: 700;
}
.soup-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f59e0b;
	flex: 0 0 auto;
}
.soup-pn {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.soup-tag {
	flex: 0 0 auto;
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	color: #b45309;
	background: #fffbeb;
	padding: 1px 5px;
	border-radius: 4px;
}
.soup-sc {
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	color: #4f46e5;
}
.soup-tipbox {
	margin-top: 12px;
	font-size: 12.5px;
	color: #16a34a;
	min-height: 16px;
	opacity: 0;
	transition: opacity .18s ease;
}
.soup-tipbox.is-show {
	opacity: 1;
}
.soup-tipbox.is-bad {
	color: #b91c1c;
}

/* 底部 */
.soup-foot {
	padding: 12px 20px 14px;
	border-top: 1px solid #f7efe3;
	background: #fffdf9;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.soup-form {
	display: flex;
	align-items: center;
	gap: 8px;
}
.soup-form-k {
	flex: 0 0 34px;
	font-size: 11.5px;
	font-weight: 700;
	color: #a8a29e;
}
.soup-form input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 13px;
	border: 1px solid #e7e2d9;
	border-radius: 11px;
	font-size: 14px;
	font-family: inherit;
	color: #1f2937;
	background: #fff;
}
.soup-form input:focus {
	outline: none;
	border-color: #fbbf24;
	box-shadow: 0 0 0 3px rgba(251, 191, 36, .16);
}
.soup-share {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 2px;
	padding-top: 9px;
	border-top: 1px dashed #f0e7da;
}
.soup-share span {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: #a8a29e;
}
.soup-share input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid #e7e2d9;
	border-radius: 8px;
	font-size: 11.5px;
	color: #78716c;
	background: #fff;
	font-family: inherit;
}

/* ---------- 手机 ---------- */
@media (max-width: 720px) {
	.soup-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.soup-side {
		border-left: 0;
		border-top: 1px solid #f7efe3;
	}
	.soup-main {
		padding: 14px;
	}
	.soup-head {
		padding: 13px 14px;
	}
	.soup-foot {
		padding: 11px 14px;
	}
	.soup-f-txt {
		font-size: 15.5px;
		line-height: 1.8;
	}
	.soup-ans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.soup-q {
		max-width: 100%;
	}
	.soup-qa {
		max-height: 330px;
	}
	.soup-share span {
		display: none;
	}
}

.soup-form[hidden],
.soup-share[hidden],
.mur-chat[hidden],
.mur-share[hidden] {
	display: none !important;
}

/* ================================================================
 * 剧本杀
 * ================================================================ */
.mur {
	max-width: 1080px;
	margin: 14px auto 40px;
	background: #fff;
	border: 1px solid #e7e7f5;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	overflow: hidden;
}
.mur-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-bottom: 1px solid #eeecfb;
	background: linear-gradient(120deg, #f7f5ff, #fff);
}
.mur-h-t {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.mur-h-t b {
	font-size: 17px;
	color: #0f172a;
}
.mur-h-t span {
	font-size: 12px;
	color: #a5a1bd;
}
.mur-h-t em {
	font-style: normal;
	font-weight: 700;
	color: #6d6890;
	letter-spacing: .06em;
}
.mur-h-s {
	flex: 0 0 auto;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: #4f46e5;
	background: #eef2ff;
	border: 1px solid #dbe3ff;
	white-space: nowrap;
}
.mur-h-s.is-vote {
	color: #c2410c;
	background: #fff7ed;
	border-color: #fed7aa;
}
.mur-h-s.is-over {
	color: #15803d;
	background: #ecfdf5;
	border-color: #bbf7d0;
}
.mur-h-s.is-cast,
.mur-h-s.is-intro {
	color: #7c3aed;
	background: #f5f3ff;
	border-color: #ddd6fe;
}

.mur-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 236px;
}
.mur-main {
	padding: 18px 20px;
	min-width: 0;
}
.mur-side {
	border-left: 1px solid #eeecfb;
	padding: 18px 16px;
	background: #fcfbff;
}
.mur-side h4 {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: #a5a1bd;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
}
.mur-stage {
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.mur-loading,
.mur-dim {
	font-size: 13px;
	line-height: 1.7;
	color: #9b97b5;
	margin: 0;
}

/* 等人 */
.mur-wait {
	text-align: center;
	padding: 26px 18px;
	border-radius: 15px;
	background: #faf9ff;
	border: 1px dashed #ddd8f3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.mur-wait-ico {
	font-size: 30px;
	line-height: 1;
}
.mur-wait h3 {
	margin: 0;
	font-size: 17px;
	color: #312e5c;
}
.mur-wait-b {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.75;
	color: #6b6688;
	max-width: 520px;
}
.mur-wait .mur-dim {
	max-width: 520px;
}

/* 角色本 */
.mur-role {
	padding: 16px 18px;
	border-radius: 15px;
	background: linear-gradient(140deg, #faf8ff, #fff);
	border: 1px solid #e6e2fb;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mur-role.is-det {
	background: #f8fafc;
	border-color: #e6eaf0;
}
.mur-role-h {
	display: flex;
	align-items: baseline;
	gap: 9px;
	flex-wrap: wrap;
}
.mur-role-h span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #7c3aed;
	background: #f5f3ff;
	border: 1px solid #ddd6fe;
	padding: 2px 8px;
	border-radius: 5px;
}
.mur-role-h b {
	font-size: 20px;
	color: #1e1b4b;
}
.mur-role-h em {
	font-style: normal;
	font-size: 12.5px;
	color: #8b87a8;
}
.mur-book h4,
.mur-secret b,
.mur-task b {
	display: block;
	font-size: 11.5px;
	letter-spacing: .08em;
	color: #8b87a8;
	margin: 0 0 5px;
}
.mur-book p,
.mur-secret p,
.mur-task p,
.mur-book-p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.9;
	color: #33314d;
}
.mur-secret {
	padding: 12px 14px;
	border-radius: 11px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
}
.mur-secret b {
	color: #c2410c;
}
.mur-secret p {
	color: #7c2d12;
	font-size: 14px;
}
.mur-task {
	padding: 12px 14px;
	border-radius: 11px;
	background: #eef2ff;
	border: 1px solid #dbe3ff;
}
.mur-task b {
	color: #4338ca;
}
.mur-task p {
	color: #312e81;
	font-size: 14px;
}
.mur-readybar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 15px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	font-size: 13px;
	color: #64748b;
}
.mur-readybar em.is-ok {
	margin-left: auto;
	font-style: normal;
	font-size: 12.5px;
	font-weight: 700;
	color: #15803d;
}

/* 自述 */
.mur-say-box {
	padding: 15px 17px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.mur-say-box h4 {
	margin: 0;
	font-size: 14px;
	color: #1f2937;
}
.mur-desc {
	display: flex;
	gap: 8px;
}
.mur-desc input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 13px;
	border: 1px solid #e2e8f0;
	border-radius: 11px;
	font-size: 14px;
	font-family: inherit;
	color: #1f2937;
}
.mur-desc input:focus {
	outline: none;
	border-color: #a5b4fc;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}
.mur-says {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.mur-say {
	display: flex;
	gap: 9px;
	align-items: baseline;
	padding: 9px 12px;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 13.5px;
	color: #334155;
}
.mur-say b {
	flex: 0 0 auto;
	font-size: 12px;
	color: #7c3aed;
}
.mur-say span {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-word;
	line-height: 1.7;
}

/* 搜证 */
.mur-search-top {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 12px 15px;
	border-radius: 12px;
	background: #faf8ff;
	border: 1px solid #e6e2fb;
	font-size: 13px;
	color: #4c4a6a;
}
.mur-dots {
	display: flex;
	gap: 4px;
}
.mur-dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #e2e8f0;
}
.mur-dots i.is-on {
	background: #818cf8;
}
.mur-clue-sec h4 {
	margin: 4px 0 8px;
	font-size: 12.5px;
	color: #8b87a8;
	letter-spacing: .06em;
}
.mur-clue {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e9e9f5;
	margin-bottom: 8px;
}
.mur-clue.is-pub {
	background: #f0fdf4;
	border-color: #bbf7d0;
}
.mur-clue.is-scene {
	background: #fffbeb;
	border-color: #fde68a;
}
.mur-clue-h {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 5px;
}
.mur-clue-h b {
	flex: 1 1 auto;
	font-size: 13.5px;
	color: #312e5c;
}
.mur-clue p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: #4c4a6a;
}
.mur-clue-tag {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 700;
	color: #15803d;
	background: #fff;
	border: 1px solid #bbf7d0;
	padding: 1px 6px;
	border-radius: 5px;
}
.mur-clue-btn {
	flex: 0 0 auto;
	padding: 3px 9px;
	border: 1px solid #ddd6fe;
	border-radius: 7px;
	background: #f5f3ff;
	color: #6d28d9;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 700;
	cursor: pointer;
}
.mur-clue-btn:hover {
	background: #ede9fe;
}
.mur-clue-by {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	color: #94a3b8;
}

/* 讨论 / 投票 */
.mur-talk {
	padding: 14px 16px;
	border-radius: 13px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
}
.mur-talk h4 {
	margin: 0 0 6px;
	font-size: 14px;
	color: #1f2937;
}
.mur-talk p {
	margin: 0 0 5px;
	font-size: 13.5px;
	line-height: 1.75;
	color: #64748b;
}
.mur-vote h4 {
	margin: 0 0 10px;
	font-size: 14px;
	color: #1f2937;
}
.mur-targets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mur-target {
	padding: 10px 15px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	font-family: inherit;
	font-size: 13.5px;
	color: #334155;
	cursor: pointer;
	transition: all .15s ease;
}
.mur-target:hover {
	border-color: #a5b4fc;
	background: #f5f7ff;
	color: #4338ca;
	transform: translateY(-1px);
}
.mur-block {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* 揭晓 */
.mur-over {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}
.mur-over-ico {
	font-size: 30px;
	line-height: 1;
}
.mur-over h3 {
	margin: 0;
	font-size: 18px;
	color: #0f172a;
}
.mur-truth {
	width: 100%;
	padding: 14px 16px;
	border-radius: 13px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}
.mur-truth b {
	display: block;
	font-size: 12px;
	letter-spacing: .1em;
	color: #15803d;
	margin-bottom: 6px;
}
.mur-truth p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.9;
	color: #14532d;
}
.mur-reveal,
.mur-votes {
	width: 100%;
}
.mur-reveal h4,
.mur-votes h4 {
	margin: 0 0 7px;
	font-size: 12.5px;
	color: #8b87a8;
	letter-spacing: .06em;
}
.mur-rv {
	display: flex;
	align-items: baseline;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 9px;
	background: #f8fafc;
	font-size: 13px;
	color: #475569;
	margin-bottom: 5px;
}
.mur-rv b {
	flex: 0 0 auto;
	color: #312e5c;
}
.mur-rv span {
	flex: 1 1 auto;
	min-width: 0;
	color: #7b7796;
}
.mur-rv.is-kill {
	background: #fef2f2;
	border: 1px solid #fecaca;
}
.mur-rv.is-kill em {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 700;
	color: #b91c1c;
	background: #fff;
	border: 1px solid #fecaca;
	padding: 1px 6px;
	border-radius: 5px;
}
.mur-vt {
	display: flex;
	gap: 9px;
	padding: 7px 12px;
	border-radius: 8px;
	background: #f8fafc;
	font-size: 12.5px;
	color: #64748b;
	margin-bottom: 4px;
}
.mur-vt b {
	color: #334155;
}
.mur-vt span {
	color: #94a3b8;
}
.mur-vt em {
	margin-left: auto;
	font-style: normal;
	font-size: 11.5px;
	color: #94a3b8;
}
.mur-vt.is-hit {
	background: #f0fdf4;
}
.mur-vt.is-hit em {
	color: #15803d;
	font-weight: 700;
}

/* 侧栏 */
.mur-players {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.mur-p {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 9px;
	border-radius: 9px;
	background: #fff;
	border: 1px solid #efedfa;
	font-size: 12.5px;
	color: #44415f;
}
.mur-p.is-me {
	border-color: #ddd6fe;
	background: #faf8ff;
	font-weight: 700;
}
.mur-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #818cf8;
	flex: 0 0 auto;
}
.mur-pn {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mur-tag {
	flex: 0 0 auto;
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	color: #6d28d9;
	background: #f5f3ff;
	padding: 1px 5px;
	border-radius: 4px;
	max-width: 76px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mur-tag.det {
	color: #64748b;
	background: #f1f5f9;
}
.mur-tag.ok {
	color: #15803d;
	background: #f0fdf4;
}
.mur-tag.me {
	color: #4f46e5;
	background: #eef2ff;
}
.mur-tip {
	margin-top: 12px;
	font-size: 12.5px;
	color: #16a34a;
	min-height: 16px;
	opacity: 0;
	transition: opacity .18s ease;
}
.mur-tip.is-show {
	opacity: 1;
}
.mur-tip.is-bad {
	color: #b91c1c;
}

/* 日志 */
.mur-log {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px dashed #eeecfb;
	display: flex;
	flex-direction: column;
	gap: 5px;
	max-height: 230px;
	overflow-y: auto;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
	mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
}
.mur-log:empty {
	display: none;
}
.mur-msg {
	font-size: 12.5px;
	line-height: 1.65;
	color: #64748b;
	padding: 5px 10px;
	border-radius: 8px;
	background: #f8fafc;
}
.mur-msg.clue {
	background: #f0fdf4;
	color: #15803d;
}
.mur-msg.round {
	background: #eef2ff;
	color: #4f46e5;
	font-weight: 700;
}
.mur-msg.win {
	background: #f5f3ff;
	color: #6d28d9;
	font-weight: 700;
}
.mur-msg.vote {
	background: #fffbeb;
	color: #b45309;
}

/* 底部 */
.mur-foot {
	padding: 12px 20px 14px;
	border-top: 1px solid #eeecfb;
	background: #fcfbff;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.mur-chat {
	display: flex;
	gap: 8px;
}
.mur-chat input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 13px;
	border: 1px solid #e4e2f2;
	border-radius: 11px;
	font-size: 14px;
	font-family: inherit;
	color: #1f2937;
	background: #fff;
}
.mur-chat input:focus {
	outline: none;
	border-color: #a5b4fc;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}
.mur-share {
	display: flex;
	align-items: center;
	gap: 9px;
}
.mur-share span {
	flex: 0 0 auto;
	font-size: 11.5px;
	color: #a5a1bd;
}
.mur-share input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 7px 10px;
	border: 1px solid #e4e2f2;
	border-radius: 8px;
	font-size: 11.5px;
	color: #78716c;
	background: #fff;
	font-family: inherit;
}

@media (max-width: 720px) {
	.mur-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.mur-side {
		border-left: 0;
		border-top: 1px solid #eeecfb;
	}
	.mur-main {
		padding: 14px;
	}
	.mur-head {
		padding: 13px 14px;
	}
	.mur-foot {
		padding: 11px 14px;
	}
	.mur-book p,
	.mur-secret p,
	.mur-task p {
		font-size: 14px;
	}
	.mur-role-h b {
		font-size: 18px;
	}
	.mur-share span {
		display: none;
	}
	.mur-log {
		max-height: 180px;
	}
}

/* ================================================================
 * Python 小游戏
 * ================================================================ */
.fun {
	max-width: 1000px;
	margin: 14px auto 40px;
	background: #fff;
	border: 1px solid #e9eef5;
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	overflow: hidden;
}
.fun-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 15px 20px;
	border-bottom: 1px solid #eef2f7;
	background: linear-gradient(120deg, #f8fafc, #fff);
}
.fun-h-t {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.fun-h-t b {
	font-size: 17px;
	color: #0f172a;
}
.fun-h-t span {
	font-size: 12.5px;
	line-height: 1.6;
	color: #94a3b8;
}
.fun-h-s {
	flex: 0 0 auto;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: #4f46e5;
	background: #eef2ff;
	border: 1px solid #dbe3ff;
	white-space: nowrap;
}
.fun-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 196px;
}
.fun-stage {
	padding: 20px;
	min-width: 0;
}
.fun-loading {
	font-size: 13px;
	color: #94a3b8;
	padding: 30px 0;
	text-align: center;
}
.fun-side {
	border-left: 1px solid #eef2f7;
	padding: 18px 14px;
	background: #fbfcfe;
}
.fun-side h4 {
	margin: 0 0 10px;
	font-size: 12.5px;
	color: #94a3b8;
}
.fun-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.fun-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid #eef2f7;
	background: #fff;
	font-size: 13px;
	color: #475569;
	text-decoration: none;
	transition: all .15s ease;
}
.fun-link:hover {
	border-color: #c7d2fe;
	background: #f5f7ff;
	color: #4338ca;
}
.fun-link.is-on {
	border-color: #a5b4fc;
	background: #eef2ff;
	color: #4338ca;
	font-weight: 700;
}
.fun-link i {
	font-style: normal;
	font-size: 15px;
}
.fun-note {
	margin: 14px 0 0;
	font-size: 11.5px;
	line-height: 1.7;
	color: #a8b0bd;
}

/* 代码 */
.fun-code-wrap {
	border-top: 1px solid #eef2f7;
	background: #0f172a;
}
.fun-code-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 20px;
	font-size: 12.5px;
	color: #94a3b8;
}
.fun-code-h em {
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: #c7d2fe;
	background: rgba(99, 102, 241, .18);
	border: 1px solid rgba(129, 140, 248, .35);
	padding: 3px 10px;
	border-radius: 7px;
	cursor: pointer;
}
.fun-code {
	margin: 0;
	padding: 0 20px 18px;
	max-height: 360px;
	overflow: auto;
	font-family: Consolas, "Courier New", monospace;
	font-size: 12.5px;
	line-height: 1.75;
	color: #cbd5e1;
	white-space: pre;
	tab-size: 4;
}

/* 按钮 */
.fun-btn {
	padding: 9px 18px;
	border: 1px solid #4f46e5;
	border-radius: 10px;
	background: #4f46e5;
	color: #fff;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, opacity .15s ease;
}
.fun-btn:hover {
	transform: translateY(-1px);
}
.fun-btn:active {
	transform: scale(.97);
}
.fun-btn:disabled {
	opacity: .55;
	cursor: default;
	transform: none;
}
.fun-btn.ghost {
	background: #fff;
	color: #4f46e5;
	border-color: #c7d2fe;
}
.fun-btn.sm {
	padding: 6px 12px;
	font-size: 12.5px;
}

/* 大厅卡片 */
.fun-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.fun-card {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 15px;
	border-radius: 13px;
	border: 1px solid #eef2f7;
	background: #fff;
	text-decoration: none;
	transition: all .16s ease;
}
.fun-card:hover {
	border-color: #c7d2fe;
	background: #f8faff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(79, 70, 229, .08);
}
.fun-card-ico {
	font-size: 20px;
	line-height: 1;
}
.fun-card b {
	font-size: 14px;
	color: #1f2937;
}
.fun-card em {
	font-style: normal;
	font-size: 12px;
	line-height: 1.65;
	color: #94a3b8;
}

/* ---------- 猜数字 ---------- */
.g-panel {
	max-width: 420px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}
.g-range {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12px;
	color: #94a3b8;
}
.g-range span {
	flex: 0 0 26px;
	text-align: center;
	font-weight: 700;
	color: #64748b;
}
.g-range-bar {
	flex: 1 1 auto;
	height: 8px;
	border-radius: 999px;
	background: #f1f5f9;
	overflow: hidden;
	position: relative;
}
.g-range-bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #818cf8, #6366f1);
	transition: width .2s ease, margin-left .2s ease;
}
.g-big {
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
	color: #cbd5e1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}
.g-big.is-hi {
	color: #f97316;
}
.g-big.is-lo {
	color: #2563eb;
}
.g-big.is-win {
	color: #16a34a;
}
.g-sub {
	margin: 0;
	font-size: 13px;
	color: #94a3b8;
}
.g-row {
	display: flex;
	gap: 8px;
	width: 100%;
	max-width: 320px;
}
.g-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 11px;
	font-size: 16px;
	font-family: inherit;
	color: #1f2937;
	text-align: center;
}
.g-input:focus {
	outline: none;
	border-color: #a5b4fc;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}
.g-info {
	width: 100%;
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	color: #94a3b8;
}
.g-log {
	width: 100%;
	max-height: 170px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.g-h {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 12px;
	border-radius: 9px;
	background: #f8fafc;
	font-size: 13px;
	color: #475569;
}
.g-h b {
	color: #1f2937;
}
.g-ok {
	margin-left: auto;
	color: #16a34a;
	font-weight: 700;
}
.g-hi {
	margin-left: auto;
	color: #f97316;
	font-weight: 700;
}
.g-lo {
	margin-left: auto;
	color: #2563eb;
	font-weight: 700;
}

/* ---------- 贪吃蛇 ---------- */
.s-panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}
.s-hud {
	width: 100%;
	max-width: 420px;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}
.s-canvas {
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 14px;
	border: 1px solid #eef2f7;
	background: #f8fafc;
	touch-action: none;
}
.s-btns {
	display: flex;
	gap: 8px;
}
.s-pad {
	display: grid;
	grid-template-columns: repeat(3, 52px);
	grid-template-rows: repeat(2, 44px);
	gap: 6px;
}
.s-key {
	border: 1px solid #e2e8f0;
	border-radius: 11px;
	background: #fff;
	font-size: 18px;
	color: #4f46e5;
	cursor: pointer;
	font-family: inherit;
}
.s-key:active {
	background: #eef2ff;
}

/* ---------- 汉诺塔 ---------- */
.h-panel {
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.h-hud {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}
.h-board {
	display: flex;
	gap: 10px;
	padding: 8px 4px 0;
}
.h-col {
	position: relative;
	flex: 1 1 0;
	height: 200px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f7;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.h-col.is-sel {
	border-color: #a5b4fc;
	background: #eef2ff;
}
.h-col::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 14px;
	width: 6px;
	height: 156px;
	border-radius: 3px;
	background: #e2e8f0;
}
.h-disk {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 20px;
	border-radius: 6px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .12);
	transition: bottom .12s ease, width .12s ease;
}
.h-name {
	position: absolute;
	top: 7px;
	left: 9px;
	font-size: 11px;
	font-weight: 700;
	color: #cbd5e1;
}
.h-ctl {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: #94a3b8;
}
.h-ctl-k {
	margin-right: 2px;
}
.h-n {
	width: 34px;
	height: 30px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	color: #64748b;
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
}
.h-n.is-on {
	border-color: #6366f1;
	background: #eef2ff;
	color: #4338ca;
	font-weight: 700;
}
.h-msg {
	margin: 0;
	font-size: 13px;
	color: #64748b;
	min-height: 20px;
}
.h-msg.is-bad {
	color: #b91c1c;
}
.h-msg.is-win {
	color: #15803d;
	font-weight: 700;
}

/* ---------- 生命游戏 ---------- */
.l-panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}
.l-hud {
	width: 100%;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}
.l-canvas {
	width: 100%;
	max-width: 504px;
	height: auto;
	border-radius: 12px;
	cursor: crosshair;
	touch-action: manipulation;
}
.l-ctl {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.l-note {
	margin: 0;
	font-size: 12px;
	color: #a8b0bd;
	line-height: 1.7;
	text-align: center;
}

@media (max-width: 860px) {
	.fun-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.fun-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.fun-side {
		border-left: 0;
		border-top: 1px solid #eef2f7;
	}
	.fun-stage {
		padding: 14px;
	}
	.fun-list {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.fun-link {
		flex: 1 1 45%;
	}
	.fun-code {
		font-size: 11.5px;
		padding: 0 14px 16px;
	}
	.g-big {
		font-size: 58px;
	}
	.h-col {
		height: 170px;
	}
	.h-col::before {
		height: 128px;
	}
}
