/* ============================================================
   称号抽取插件 - 清爽浅色主题
   复刻参考站 gacha.htm 视觉，只保留本站用到的组件
   ============================================================ */

.gacha-shell {
	--ink: #1f2328;
	--muted: #6b7280;
	--line: #e5e7eb;
	--surface: #ffffff;
	--surface-2: #f6f7f9;
	--line-strong: #d1d5db;
	--primary: #1294d7;
	max-width: 1040px;
	margin: 0 auto;
	padding: 18px 16px 56px;
	color: var(--ink);
	font-size: 13.5px;
	line-height: 1.6;
}

.gacha-shell *,
.gacha-shell *::before,
.gacha-shell *::after { box-sizing: border-box; }

/* ---------- 面包屑 ---------- */
.gacha-shell .gacha-crumb {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 12px;
}
.gacha-shell .gacha-crumb a { color: inherit; text-decoration: none; }
.gacha-shell .gacha-crumb a:hover { color: var(--ink); }
.gacha-shell .gacha-crumb span { color: #c0c4cc; }

/* ---------- 头部卡片 ---------- */
.gacha-shell .gacha-head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
}
.gacha-shell .gacha-head-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	color: var(--ink);
	font-size: 22px;
	line-height: 1;
}
.gacha-shell .gacha-head-copy { min-width: 0; flex: 1 1 auto; }
.gacha-shell .gacha-head-copy h1 {
	margin: 0 0 3px;
	color: var(--ink);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.35;
}
.gacha-shell .gacha-head-copy p {
	margin: 0;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.6;
}
.gacha-shell .gacha-head-side {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
	padding-left: 20px;
	border-left: 1px solid var(--line);
}

/* ---------- 钱包 ---------- */
.gacha-shell .gacha-wallet { min-width: 214px; }
.gacha-shell .gacha-wallet-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.gacha-shell .gacha-wallet-k { color: var(--muted); font-size: 11.5px; letter-spacing: .04em; }
.gacha-shell .gacha-wallet-v {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
}
.gacha-shell .gacha-wallet-sub {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 2px;
	color: var(--muted);
	font-size: 11.5px;
}
.gacha-shell .gacha-wallet-sub b { color: var(--ink); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.gacha-shell .gacha-wallet-sub i { color: var(--muted); font-style: normal; font-weight: 500; }
.gacha-shell .gacha-wallet-prog { display: block; height: 4px; margin-top: 6px; background: #e5e7eb; }
.gacha-shell .gacha-wallet-prog i { display: block; height: 100%; background: linear-gradient(90deg, #111827, #4b5563); }
.gacha-shell .gacha-wallet-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 6px;
	font-size: 11.5px;
}
.gacha-shell .gacha-free { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.gacha-shell .gacha-free::before { content: ""; width: 6px; height: 6px; background: #9ca3af; }
.gacha-shell .gacha-free.is-ready { color: #047857; }
.gacha-shell .gacha-free.is-ready::before { background: #059669; }
.gacha-shell .gacha-wallet-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.gacha-shell .gacha-wallet-link:hover { text-decoration: underline; }

/* ---------- 标签页 ---------- */
.gacha-shell .gacha-tabs {
	position: relative;
	display: flex;
	gap: 3px;
	margin: 12px 0 18px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	overflow-x: auto;
	scrollbar-width: none;
}
.gacha-shell .gacha-tabs::-webkit-scrollbar { display: none; }
.gacha-shell .gacha-tabs-pill {
	position: absolute;
	top: 4px;
	left: 0;
	width: 0;
	height: calc(100% - 8px);
	background: var(--ink);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition: transform .28s cubic-bezier(.2,.7,.25,1), width .28s cubic-bezier(.2,.7,.25,1);
}
.gacha-shell .gacha-tabs.is-ready .gacha-tabs-pill { opacity: 1; }
.gacha-shell .gacha-tab {
	position: relative;
	z-index: 1;
	flex: 1 0 auto;
	min-width: 0;
	padding: 9px 10px;
	border-radius: 4px;
	color: var(--ink);
	font-size: 13.5px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.gacha-shell .gacha-tab:hover { color: #fff; background: #4b5563; }
.gacha-shell .gacha-tab.is-active { background: var(--ink); color: var(--surface); font-weight: 700; }
.gacha-shell .gacha-tabs.is-ready .gacha-tab.is-active { background: transparent; }
.gacha-shell .gacha-tabs.is-ready .gacha-tab.is-active:hover { background: transparent; }

/* ---------- 主区 ---------- */
.gacha-shell .gacha-main { min-width: 0; }

/* ---------- 右上角快捷入口 ---------- */
.gacha-shell .gacha-quicklinks {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	margin: -6px 0 12px;
}
.gacha-shell .gacha-quicklink {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--muted);
	font-size: 12.5px;
	text-decoration: none;
}
.gacha-shell .gacha-quicklink:hover { border-color: #9ca3af; color: var(--ink); }

/* ---------- 喜报跑马灯 ---------- */
.gacha-shell .gacha-ticker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--surface);
	overflow: hidden;
}
.gacha-shell .gacha-ticker-label {
	flex: 0 0 auto;
	padding-right: 10px;
	border-right: 1px solid var(--line);
	color: #dc2626;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
}
.gacha-shell .gacha-ticker-trackwrap {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
}
.gacha-shell .gacha-ticker-track {
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	will-change: transform;
}
.gacha-shell .gacha-ticker-track.is-running { animation: gacha-marquee var(--gacha-marquee, 32s) linear infinite; }
.gacha-shell .gacha-ticker:hover .gacha-ticker-track.is-running,
.gacha-shell .gacha-ticker:focus-within .gacha-ticker-track.is-running { animation-play-state: paused; }
.gacha-shell .gacha-ticker-item { color: #4b5563; font-size: 12.5px; }
.gacha-shell .gacha-ticker-item b { color: var(--ink); font-weight: 600; }
.gacha-shell .gacha-ticker-name { color: var(--ticker-color, #374151); font-weight: 700; }
.gacha-shell .gacha-ticker-item em { color: #9ca3af; font-style: normal; }
.gacha-shell .gacha-ticker-empty { color: #9ca3af; font-size: 12px; }
@keyframes gacha-marquee { from { transform: translateX(0); } to { transform: translateX(var(--gacha-shift, -50%)); } }

/* ---------- 抽取按钮 ---------- */
.gacha-shell .gacha-draw-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 20px 0 10px;
	flex-wrap: wrap;
}
.gacha-shell .gacha-draw-form { display: inline-flex; margin: 0; }
.gacha-shell .gacha-draw-action {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 200px;
	height: 56px;
	padding: 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: 0;
	background: var(--surface);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-align: left;
	transition: filter .15s ease, transform .15s ease, border-color .15s ease, background .15s ease;
}
.gacha-shell .gacha-draw-action:hover { transform: translateY(-1px); filter: brightness(.99); }
.gacha-shell .gacha-draw-action:active { transform: translateY(0) scale(.995); }
.gacha-shell .gacha-draw-action.is-free { background: #fff; color: var(--ink); }
.gacha-shell .gacha-draw-action.is-ten { background: #111827; border-color: #111827; color: #fff; }
.gacha-shell .gacha-draw-action.is-ten:hover { background: #000; border-color: #000; }
.gacha-shell .gacha-draw-action.is-hundred { background: #dc2626; border-color: #dc2626; color: #fff; }
.gacha-shell .gacha-draw-action.is-hundred:hover { background: #b91c1c; border-color: #b91c1c; }
.gacha-shell .gacha-draw-num { font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gacha-shell .gacha-draw-copy { display: flex; flex-direction: column; gap: 3px; line-height: 1.15; }
.gacha-shell .gacha-draw-copy b { font-size: 13.5px; font-weight: 700; }
.gacha-shell .gacha-draw-copy em { color: var(--muted); font-size: 11.5px; font-style: normal; }
.gacha-shell .gacha-draw-action[disabled] { opacity: .5; cursor: default; }

/* ---------- 区块标题 ---------- */
.gacha-shell .gacha-sec-title {
	margin: 20px 0 10px;
	color: var(--ink);
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.4;
}
.gacha-shell .gacha-sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 26px 0 12px;
}
.gacha-shell .gacha-sec-head .gacha-sec-title { margin: 0; }
.gacha-shell .gacha-sec-meta { color: var(--muted); font-size: 12.5px; }
.gacha-shell .gacha-sec-sub { margin: -6px 0 14px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- 称号池 ---------- */
.gacha-shell .gacha-pool-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}
.gacha-shell .gacha-pool-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 106px;
	padding: 16px 16px 14px;
	border: 1px solid var(--pool-border, #e5e7eb);
	border-radius: 5px;
	background: var(--pool-bg, #f9fafb);
	text-align: center;
	transition: border-color .16s ease, transform .18s ease;
}
.gacha-shell .gacha-pool-card:hover { transform: translateY(-2px); border-color: #cbd5e1; }
.gacha-shell .gacha-pool-rarity { color: var(--pool-color, #374151); font-size: 12px; font-weight: 800; letter-spacing: .06em; line-height: 1.3; }
.gacha-shell .gacha-pool-rate { margin-top: 8px; color: var(--pool-color, #374151); font-size: 26px; font-weight: 700; line-height: 1.05; }
.gacha-shell .gacha-pool-count { margin-top: 4px; color: #4b5563; font-size: 12px; }

/* ---------- 称号云工具条 ---------- */
.gacha-shell .gacha-cloud-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 12px;
}
.gacha-shell .gacha-cloud-search {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 34px;
	padding: 0 11px;
	min-width: 200px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: var(--surface);
}
.gacha-shell .gacha-cloud-search i { color: var(--muted); font-size: 13px; }
.gacha-shell .gacha-cloud-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: 12.5px;
}
.gacha-shell .gacha-cloud-filter { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.gacha-shell .gacha-cloud-filter button {
	height: 30px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--muted);
	font-size: 12px;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.gacha-shell .gacha-cloud-filter button b { margin-left: 2px; font-size: 11px; font-weight: 600; opacity: .75; }
.gacha-shell .gacha-cloud-filter button:hover { background: var(--surface-2); color: var(--ink); }
.gacha-shell .gacha-cloud-filter button.is-active { background: #111827; color: #fff; }

/* ---------- 称号云 ---------- */
.gacha-shell .gacha-title-cloud {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px 12px;
}
.gacha-shell .gacha-cloud-cell { display: flex; min-width: 0; }
.gacha-shell .gacha-cloud-cell[hidden] { display: none !important; }
.gacha-shell .gacha-cloud-none { margin: 18px 0; color: var(--muted); font-size: 12.5px; }

/* 徽章 chip */
.gacha-shell .gacha-badge--chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: auto;
	min-height: 38px;
	max-width: 100%;
	padding: 5px 12px;
	border: 1px solid var(--gacha-border, #d1d5db);
	border-radius: 6px;
	background: var(--gacha-bg, #fff);
	color: var(--gacha-color, #374151);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	overflow: hidden;
	transition: transform .15s ease, filter .15s ease;
}
.gacha-shell .gacha-badge--chip .gacha-badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	color: var(--gacha-color, #374151);
	font-size: 14px;
}
.gacha-shell .gacha-badge--chip .gacha-badge-icon-text {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 1em;
	line-height: 1;
}
.gacha-shell .gacha-badge--chip .gacha-badge-name {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
	padding: 0 2px;
	letter-spacing: .01em;
	white-space: normal;
	word-break: break-word;
	line-height: 1.25;
	color: var(--ink);
	overflow: hidden;
	text-overflow: clip;
}
.gacha-shell .gacha-badge--chip .gacha-badge-rarity {
	flex: 0 0 auto;
	padding: 1px 5px;
	border: 0;
	border-radius: 2px;
	background: var(--gacha-bg, #f3f4f6);
	color: var(--gacha-color, #374151);
	font-size: 10.5px;
	line-height: 1.4;
}

/* ---------- 空状态 ---------- */
.gacha-shell .gacha-empty2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 150px;
	padding: 24px 12px;
	color: #9ca3af;
	text-align: center;
}
.gacha-shell .gacha-empty2-icon { font-size: 24px; color: #c0c4cc; }
.gacha-shell .gacha-empty2 strong { color: var(--muted); font-size: 13px; font-weight: 600; }
.gacha-shell .gacha-empty2 p { margin: 0; color: #9ca3af; font-size: 12px; }

/* ---------- 按钮 ---------- */
.gacha-shell .gacha-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 34px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.gacha-shell .gacha-btn-dark { border-color: #1f2937; background: #1f2937; color: #fff; }
.gacha-shell .gacha-btn-dark:hover { background: #111827; border-color: #111827; color: #fff; }
.gacha-shell .gacha-btn-light { border-color: #d1d5db; background: #fff; color: #374151; }
.gacha-shell .gacha-btn-light:hover { border-color: #9ca3af; background: #f9fafb; color: #111827; }
.gacha-shell .gacha-inline-btn { width: auto; min-width: 96px; margin-top: 10px; }

/* ---------- 我的称号网格 ---------- */
.gacha-shell .gacha-coll-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.gacha-shell .gacha-coll-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-height: 184px;
	padding: 14px 12px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	text-align: center;
}
.gacha-shell .gacha-coll-card.is-equipped { border-color: #111827; background: #f8f9fa; }
.gacha-shell .gacha-coll-card.is-locked { border-color: #f59e0b; background: #fffbeb; }
.gacha-shell .gacha-coll-desc { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.gacha-shell .gacha-coll-meta { display: flex; align-items: center; justify-content: center; gap: 6px; color: #9ca3af; font-size: 11.5px; }
.gacha-shell .gacha-coll-actions { display: flex; gap: 6px; width: 100%; margin-top: auto; }
.gacha-shell .gacha-coll-actions .gacha-btn { width: 100%; height: 34px; }

/* ---------- 提示 toast ---------- */
.gacha-shell .gacha-flash {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	font-size: 12.5px;
	line-height: 1.6;
}
.gacha-shell .gacha-flash.is-ok { border-color: #86efac; background: #f0fdf4; color: #166534; }
.gacha-shell .gacha-flash.is-err { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
	.gacha-shell .gacha-pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gacha-shell .gacha-coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gacha-shell .gacha-title-cloud { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 640px) {
	.gacha-shell { padding: 14px 10px 96px; }
	.gacha-shell .gacha-head { flex-wrap: wrap; padding: 16px 14px; }
	.gacha-shell .gacha-head-side { width: 100%; margin-top: 12px; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.gacha-shell .gacha-tabs { gap: 3px; padding: 4px; flex-wrap: wrap; overflow: visible; }
	.gacha-shell .gacha-tab { flex: 1 0 30%; padding: 9px 8px; font-size: 12.5px; }
	.gacha-shell .gacha-draw-actions { flex-direction: column; gap: 8px; }
	.gacha-shell .gacha-draw-form,
	.gacha-shell .gacha-draw-action { width: 100%; }
	.gacha-shell .gacha-pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gacha-shell .gacha-title-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gacha-shell .gacha-coll-grid { grid-template-columns: 1fr; }
	.gacha-shell .gacha-cloud-tools { gap: 8px; }
	.gacha-shell .gacha-cloud-search { min-width: 100%; flex: 1 1 100%; }
}

/* 卡片/按钮统一小圆角，贴合参考图 */
.gacha-shell .gacha-head,
.gacha-shell .gacha-tabs,
.gacha-shell .gacha-coll-card,
.gacha-shell .gacha-recycle-card,
.gacha-shell .gacha-recipe-card,
.gacha-shell .gacha-trade-publish,
.gacha-shell .gacha-notice,
.gacha-shell .gacha-pity-card,
.gacha-shell .gacha-history-item { border-radius: 6px; }
.gacha-shell .gacha-btn,
.gacha-shell .gacha-tools-search,
.gacha-shell .gacha-tools-select,
.gacha-shell .gacha-recycle-count input,
.gacha-shell .gacha-recipe-bottom input,
.gacha-shell .gacha-publish-field select,
.gacha-shell .gacha-publish-field input { border-radius: 4px; }

/* ---------- 抽取结果铺开层 ---------- */
.gacha-reveal-sheet { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .32s ease, visibility .32s ease; }
.gacha-reveal-sheet.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.gacha-reveal-backdrop { position: absolute; inset: 0; background: radial-gradient(circle at 50% 26%, rgba(99,102,241,.20), transparent 56%), rgba(7,9,14,.86); backdrop-filter: blur(10px); }
.gacha-reveal-panel { position: relative; z-index: 2; display: flex; flex-direction: column; width: min(1020px, 94vw); max-height: min(88vh, 940px); padding: 26px 26px 20px; background: linear-gradient(180deg, rgba(23,27,36,.98), rgba(14,17,23,.98)); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 120px rgba(0,0,0,.6); opacity: 0; transform: translateY(18px); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.gacha-reveal-sheet.is-active .gacha-reveal-panel { opacity: 1; transform: none; }
.gacha-reveal-head { position: relative; flex: 0 0 auto; padding: 0 46px 14px 0; }
.gacha-reveal-kicker { display: block; color: #8b93a7; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.gacha-reveal-x { position: absolute; top: -6px; right: -4px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.04); color: #8b93a7; font-size: 15px; line-height: 1; cursor: pointer; }
.gacha-reveal-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.gacha-reveal-head h2 { margin: 8px 0 4px; color: #fff; font-size: 24px; letter-spacing: -.01em; }
.gacha-reveal-head p { margin: 0; color: rgba(255,255,255,.5); font-size: 12px; }
.gacha-reveal-grid { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 6px 6px 14px 2px; }
.gacha-reveal-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 104px; padding: 13px 14px 12px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--gacha-color,#6b7280) 34%, rgba(255,255,255,.06)); background: linear-gradient(160deg, color-mix(in srgb, var(--gacha-color,#6b7280) 15%, #161a21), #12151b 64%); }
.gacha-reveal-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 9px; background: color-mix(in srgb, var(--gacha-color,#6b7280) 20%, rgba(255,255,255,.04)); color: var(--gacha-color,#e5e7eb); font-size: 17px; font-weight: 700; }
.gacha-reveal-icon-text { font-size: 18px; line-height: 1; }
.gacha-reveal-name { color: #f4f6fb; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.gacha-reveal-meta { display: flex; align-items: center; gap: 6px; margin-top: auto; color: #9aa3b5; font-size: 10.5px; }
.gacha-reveal-meta b { padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--gacha-color,#6b7280) 22%, transparent); color: var(--gacha-color,#e5e7eb); font-weight: 700; letter-spacing: .04em; }
.gacha-reveal-meta em { font-style: normal; opacity: .75; }
.gacha-reveal-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.gacha-reveal-foot span { color: #8b93a7; font-size: 12px; }
.gacha-reveal-foot .gacha-btn { width: auto; min-width: 148px; height: 40px; font-size: 13px; }
.gacha-reveal-open { overflow: hidden; }
@media (max-width: 720px) {
	.gacha-reveal-sheet { padding: 12px; }
	.gacha-reveal-panel { width: 100%; max-height: 90vh; padding: 18px 16px 14px; }
	.gacha-reveal-head h2 { font-size: 19px; }
	.gacha-reveal-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
	.gacha-reveal-card { min-height: 92px; padding: 11px 11px 10px; }
	.gacha-reveal-name { font-size: 13px; }
}

/* 全站称号徽章兜底样式 */
.tg-title-badge{
	display:inline-flex !important;
	align-items:center;
	gap:2px;
	padding:1px 8px;
	border-radius:999px;
	font-size:12px;
	font-weight:600;
	line-height:1.7;
	margin:0 4px;
	white-space:nowrap;
	vertical-align:middle;
	flex:0 0 auto;
	flex-shrink:0;
}

/* ---------- 抽取记录页 ---------- */
.gacha-shell .gacha-head-stat { display: flex; flex-direction: column; gap: 2px; }
.gacha-shell .gacha-head-stat-k { color: var(--muted); font-size: 11.5px; letter-spacing: .04em; }
.gacha-shell .gacha-head-stat-v {
	font-size: 22px; font-weight: 800; letter-spacing: -.02em;
	font-variant-numeric: tabular-nums; color: var(--ink);
}
.gacha-shell .gacha-head-stat-v i { color: var(--muted); font-style: normal; font-size: 12px; font-weight: 500; margin-left: 3px; }

.gacha-shell .gacha-pity-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px; margin: 0 0 16px;
}
.gacha-shell .gacha-pity-card {
	border: 1px solid var(--line); background: var(--surface); padding: 14px 16px;
}
.gacha-shell .gacha-pity-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px;
}
.gacha-shell .gacha-pity-label { color: var(--ink); font-weight: 700; font-size: 13px; }
.gacha-shell .gacha-pity-left { color: var(--muted); font-size: 12px; }
.gacha-shell .gacha-pity-bar { display: block; height: 6px; background: #e5e7eb; }
.gacha-shell .gacha-pity-bar i { display: block; height: 100%; background: #111827; }

.gacha-shell .gacha-history-list { display: flex; flex-direction: column; gap: 10px; }
.gacha-shell .gacha-history-item {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 16px; border: 1px solid var(--line); background: var(--surface);
}
.gacha-shell .gacha-history-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gacha-shell .gacha-history-time { color: var(--muted); font-size: 12px; }
.gacha-shell .gacha-history-side { flex: 0 0 auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.gacha-shell .gacha-history-item .gacha-history-chip {
	width: auto; min-height: 0; max-width: 100%; padding: 3px 10px; gap: 6px;
}
.gacha-shell .gacha-history-item .gacha-history-chip .gacha-badge-name { text-align: left; }

@media (max-width: 640px) {
	.gacha-shell .gacha-pity-grid { grid-template-columns: 1fr; }
	.gacha-shell .gacha-history-item { flex-direction: column; align-items: flex-start; gap: 8px; }
	.gacha-shell .gacha-history-side { white-space: normal; }
}

/* ---------- 称号回收页 ---------- */
.gacha-shell .gacha-recycle-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.gacha-shell .gacha-recycle-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	padding: 16px;
	border: 1px solid var(--line);
	background: var(--surface);
}
.gacha-shell .gacha-recycle-top {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.gacha-shell .gacha-recycle-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 16px;
}
.gacha-shell .gacha-recycle-name {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	font-size: 13.5px;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gacha-shell .gacha-recycle-rarity {
	flex: 0 0 auto;
	padding: 1px 6px;
	background: var(--surface-2);
	color: var(--muted);
	font-size: 10.5px;
	font-weight: 700;
}
.gacha-shell .gacha-recycle-desc {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
}
.gacha-shell .gacha-recycle-own { margin: 0; color: var(--muted); font-size: 11.5px; }
.gacha-shell .gacha-recycle-bottom {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
}
.gacha-shell .gacha-recycle-count input {
	width: 64px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	text-align: center;
	outline: 0;
}
.gacha-shell .gacha-recycle-bottom .gacha-recycle-btn {
	flex: 1 1 auto;
	height: 38px;
}

/* ---------- 工具行 / 批量条 ---------- */
.gacha-shell .gacha-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}
.gacha-shell .gacha-tools-search {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	min-width: 180px;
}
.gacha-shell .gacha-tools-search i { color: var(--muted); font-size: 13px; }
.gacha-shell .gacha-tools-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: 12.5px;
}
.gacha-shell .gacha-tools-select {
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 12.5px;
	outline: 0;
}
.gacha-shell .gacha-tools-btn { width: auto; height: 34px; padding: 0 14px; }
.gacha-shell .gacha-tools-reset {
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 12.5px;
	cursor: pointer;
	padding: 0 6px;
}
.gacha-shell .gacha-tools-reset:hover { color: var(--ink); }

.gacha-shell .gacha-batchbar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	margin-bottom: 14px;
}
.gacha-shell .gacha-batch-check { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12.5px; }
.gacha-shell .gacha-batch-link {
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	background: #fff;
	color: var(--muted);
	font-size: 12.5px;
	cursor: pointer;
}
.gacha-shell .gacha-batch-link:hover { border-color: #9ca3af; color: var(--ink); }
.gacha-shell .gacha-batch-link.is-danger { border-color: #fca5a5; color: #dc2626; background: #fff; }
.gacha-shell .gacha-batch-link.is-danger:hover { border-color: #dc2626; color: #b91c1c; }

/* ---------- 提示条 / 说明 ---------- */
.gacha-shell .gacha-notice {
	padding: 10px 12px;
	border: 1px solid var(--line);
	background: var(--surface-2);
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.6;
	margin: 0 0 16px;
}
.gacha-shell .gacha-section-tip { margin: 6px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* ---------- 熔炼配方卡片 ---------- */
.gacha-shell .gacha-recipe-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 20px;
}
.gacha-shell .gacha-recipe-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border: 1px solid var(--line);
	background: #f7f8fa;
}
.gacha-shell .gacha-recipe-title { font-weight: 700; font-size: 14px; color: var(--ink); text-align: center; }
.gacha-shell .gacha-recipe-sub { color: var(--muted); font-size: 12px; text-align: center; }
.gacha-shell .gacha-recipe-desc { color: var(--muted); font-size: 12px; text-align: center; }
.gacha-shell .gacha-recipe-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.gacha-shell .gacha-recipe-bottom input {
	width: 64px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 13px;
	text-align: center;
	outline: 0;
}
.gacha-shell .gacha-recipe-bottom .gacha-btn {
	flex: 1 1 auto;
	height: 38px;
	border-color: #9ca3af;
	background: #9ca3af;
	color: #fff;
}
.gacha-shell .gacha-recipe-bottom .gacha-btn:hover { background: #6b7280; border-color: #6b7280; color: #fff; }

/* ---------- 熔炼材料列表 ---------- */
.gacha-shell .gacha-smelt-list { display: flex; flex-direction: column; gap: 10px; }
.gacha-shell .gacha-smelt-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	background: var(--surface);
}
.gacha-shell .gacha-smelt-state { color: var(--muted); font-size: 12px; }
.gacha-shell .gacha-smelt-row .gacha-badge--chip { justify-content: flex-start; }
.gacha-shell .gacha-smelt-row .gacha-badge--chip .gacha-badge-name { text-align: left; }

/* ---------- 交易卡片 / 发布表单 ---------- */
.gacha-shell .gacha-trade-price { font-weight: 800; font-size: 16px; color: var(--ink); }
.gacha-shell .gacha-trade-publish {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	background: var(--surface);
}
.gacha-shell .gacha-publish-field { display: flex; flex-direction: column; gap: 6px; }
.gacha-shell .gacha-publish-field label { color: var(--muted); font-size: 12px; }
.gacha-shell .gacha-publish-field select,
.gacha-shell .gacha-publish-field input {
	height: 34px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 12.5px;
	outline: 0;
	min-width: 140px;
}
.gacha-shell .gacha-publish-btn { flex: 0 0 auto; height: 34px; width: auto; padding: 0 18px; }
.gacha-shell .gacha-trade-publish .gacha-publish-field:first-child { flex: 1 1 220px; }
.gacha-shell .gacha-trade-publish .gacha-publish-field:first-child select { min-width: 0; width: 100%; }
.gacha-shell .gacha-coll-more {
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 11.5px;
	cursor: pointer;
	padding: 0;
}
.gacha-shell .gacha-coll-more:hover { color: var(--ink); }

@media (max-width: 860px) {
	.gacha-shell .gacha-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.gacha-shell .gacha-recipe-grid { grid-template-columns: 1fr; }
	.gacha-shell .gacha-trade-publish { flex-direction: column; align-items: stretch; }
	.gacha-shell .gacha-publish-field select,
	.gacha-shell .gacha-publish-field input { min-width: 100%; }
}

/* ============================================================
   参考站 gacha_pro 标准组件对齐(真实类名)
   ============================================================ */

/* 面板卡片 */
.gacha-shell .gacha-panel2 { margin: 0 0 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.gacha-shell .gacha-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.gacha-shell .gacha-panel-head h2 { margin: 0 0 3px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
.gacha-shell .gacha-panel-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.gacha-shell .gacha-panel-head > span { color: var(--muted); font-size: 12px; }

/* 收藏区头部 */
.gacha-shell .gacha-coll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 2px 0 12px; }
.gacha-shell .gacha-coll-head h2 { margin: 0 0 2px; color: var(--ink); font-size: 17px; font-weight: 700; }
.gacha-shell .gacha-coll-head p { margin: 0; color: var(--muted); font-size: 12px; }
.gacha-shell .gacha-coll-head > span { color: var(--muted); font-size: 12px; }

/* 卡片勾选 */
.gacha-shell .gacha-check { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; margin: 0; cursor: pointer; }
.gacha-shell .gacha-check input { width: 14px; height: 14px; margin: 0; accent-color: #1f2937; cursor: pointer; }
.gacha-shell .gacha-check span { display: none; }

/* 更多操作折叠 */
.gacha-shell .gacha-item-more { width: 100%; margin-top: 2px; text-align: center; }
.gacha-shell .gacha-item-more > summary { color: #9ca3af; font-size: 11px; cursor: pointer; list-style: none; }
.gacha-shell .gacha-item-more > summary::-webkit-details-marker { display: none; }
.gacha-shell .gacha-item-more[open] > summary { margin-bottom: 8px; }
.gacha-shell .gacha-more-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* 熔炼配方 */
.gacha-shell .gacha-formula-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.gacha-shell .gacha-formula { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); text-align: center; }
.gacha-shell .gacha-formula-title { color: #374151; font-size: 13px; font-weight: 700; }
.gacha-shell .gacha-formula-meta { color: #9ca3af; font-size: 11px; line-height: 1.8; }
.gacha-shell .gacha-formula-act { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.gacha-shell .gacha-formula-act .form-control { width: 58px; height: 30px; }
.gacha-shell .gacha-formula-act .gacha-btn { width: auto; height: 30px; padding: 0 12px; }
.gacha-shell .gacha-formula[disabled] { opacity: .6; }

/* 熔炼材料 */
.gacha-shell .gacha-mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 10px; }
.gacha-shell .gacha-mat-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-align: center; }
.gacha-shell .gacha-mat-meta { color: #9ca3af; font-size: 11.5px; }
.gacha-shell .gacha-mat-card.is-disabled { opacity: .62; background: #f8fafc; }
.gacha-shell .gacha-mat-card.is-disabled .gacha-badge--chip { filter: grayscale(.35); }

/* 可勾选卡片: 指针 + 选中高亮 */
.gacha-shell .gacha-mat-card,
.gacha-shell .gacha-coll-card { cursor: pointer; }
.gacha-shell .gacha-mat-card.is-disabled,
.gacha-shell .gacha-coll-card.is-equipped { cursor: default; }
.gacha-shell .gacha-mat-card.is-checked,
.gacha-shell .gacha-coll-card.is-checked { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 0 0 1px #16a34a inset; }

/* 交易子标签 */
.gacha-shell .gacha-subtabs { display: flex; align-items: center; gap: 22px; margin: 0 0 14px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.gacha-shell .gacha-subtab { position: relative; padding: 8px 2px 10px; color: var(--muted); font-size: 12.5px; text-decoration: none; }
.gacha-shell .gacha-subtab.is-active { color: var(--ink); font-weight: 600; }
.gacha-shell .gacha-subtab.is-active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #111827; }

/* 提示条 */
.gacha-shell .gacha-alert { margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: #374151; font-size: 12px; line-height: 1.7; }

/* 筛选行 + 表单控件基础 */
.gacha-shell .gacha-filter { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.gacha-shell .gacha-filter .form-control,
.gacha-shell .gacha-field .form-control,
.gacha-shell .gacha-field .form-select { height: 34px; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12.5px; outline: 0; }
.gacha-shell .gacha-filter .form-control { width: 220px; }
.gacha-shell .gacha-filter .form-select { width: 126px; }
.gacha-shell .gacha-filter-btn { width: auto; height: 34px; padding: 0 16px; }
.gacha-shell .gacha-filter-reset { border: 0; background: transparent; color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 0 6px; }
.gacha-shell .gacha-filter-reset:hover { color: var(--ink); }

/* 交易挂牌卡片 */
.gacha-shell .gacha-listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.gacha-shell .gacha-listing-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-align: center; }
.gacha-shell .gacha-listing-card > .gacha-badge--chip { width: auto; min-width: 176px; max-width: 94%; }
.gacha-shell .gacha-listing-price { display: flex; align-items: baseline; gap: 4px; color: #374151; font-size: 12px; }
.gacha-shell .gacha-listing-price strong { color: #111827; font-size: 16px; font-weight: 700; }
.gacha-shell .gacha-listing-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; color: #6b7280; font-size: 11px; }
.gacha-shell .gacha-listing-seller { color: #9ca3af; font-size: 11px; }
.gacha-shell .gacha-listing-card form { width: 100%; margin-top: 2px; }

/* 发布表单 */
.gacha-shell .gacha-publish-form { display: grid; grid-template-columns: minmax(0,2fr) 100px 120px auto; gap: 10px; align-items: end; }
.gacha-shell .gacha-field { display: flex; flex-direction: column; gap: 4px; }
.gacha-shell .gacha-field label { color: #6b7280; font-size: 11.5px; }
.gacha-shell .gacha-publish-form .gacha-btn { width: auto; height: 34px; padding: 0 16px; }

/* 批量操作条 */
.gacha-shell .gacha-batch-bar { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; margin-bottom: 10px; padding: 8px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.95); }
.gacha-shell .gacha-batch-bar label { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: var(--muted); font-size: 11px; flex: 0 0 auto; }
.gacha-shell .gacha-batch-bar .gacha-btn { width: auto; flex: 0 0 auto; height: 28px; padding: 0 9px; font-size: 11px; }
.gacha-shell .gacha-batch-bar .is-danger { color: #b91c1c; border-color: #fecaca; }

/* 头部统计 wallet is-stat */
.gacha-shell .gacha-wallet.is-stat { min-width: 150px; }
.gacha-shell .gacha-wallet.is-stat .gacha-wallet-v { font-size: 20px; }

/* 响应式 */
@media (max-width: 860px) {
	.gacha-shell .gacha-coll-grid,
	.gacha-shell .gacha-mat-grid,
	.gacha-shell .gacha-listing-grid,
	.gacha-shell .gacha-recycle-list,
	.gacha-shell .gacha-formula-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
	.gacha-shell .gacha-coll-grid,
	.gacha-shell .gacha-mat-grid,
	.gacha-shell .gacha-listing-grid,
	.gacha-shell .gacha-recycle-list,
	.gacha-shell .gacha-formula-grid { grid-template-columns: 1fr; }
	.gacha-shell .gacha-filter .form-control,
	.gacha-shell .gacha-filter .form-select { width: 100%; }
	.gacha-shell .gacha-publish-form { grid-template-columns: 1fr; }
	.gacha-shell .gacha-publish-form .gacha-btn { width: 100%; }
	.gacha-shell .gacha-batch-bar { flex-wrap: wrap; }
}

/* 链接按钮 / 禁用态对齐 */
.gacha-shell .gacha-link { appearance: none; border: 0; background: transparent; color: var(--muted); font-size: 12px; text-decoration: none; cursor: pointer; padding: 2px 0; }
.gacha-shell .gacha-link:hover { color: var(--ink); text-decoration: underline; }
.gacha-shell .gacha-link.is-danger { color: #dc2626; }
.gacha-shell .gacha-btn.is-disabled,
.gacha-shell .gacha-btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }
.gacha-shell .gacha-btn-dark.is-disabled { opacity: 1; background: #374151; border-color: #374151; color: #fff; font-weight: 600; }
.gacha-shell .form-control-sm { height: 30px; }
