/* 戰績 */
.g-record { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px 10px; }
.g-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); min-width: 0; }
.g-stat b { font-weight: normal; color: var(--text); font-size: 16px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; max-width: 100%; }
.g-expedition { position: relative; height: 100%; overflow: hidden; background: #07061a; }
.g-title { position: absolute; left: 12px; top: 8px; z-index: 4; font-size: 20px; color: var(--gold); text-shadow: 2px 2px 0 #07061a; }
.g-close { position: absolute; right: 10px; top: 8px; z-index: 4; padding: 4px 8px; }
.g-track { display: flex; height: 100%; transition: transform 240ms steps(6); }
.g-stage { position: relative; flex: none; width: 100%; height: 100%; overflow: hidden; }
.g-scene { position: absolute; inset: 0; }
.g-scene > img:first-child { width: 100%; height: 100%; object-fit: fill; }
.g-boss { position: absolute; left: 50%; top: 63.2%; transform: translate(-50%, -100%); image-rendering: pixelated; }
.g-boss.sil { opacity: .85; }
.g-name { position: absolute; left: 0; right: 0; top: 60px; text-align: center; font-size: 40px; line-height: 1; color: var(--gold); text-shadow: 3px 3px 0 #07061a; }
.g-lockmsg { position: absolute; left: 0; right: 0; top: 38%; padding: 8px; text-align: center; white-space: pre-line; line-height: 1.6; background: rgba(3,2,12,.6); }
.g-stage.locked .g-scene > img:first-child { filter: brightness(.45) saturate(.5); }
.g-info { position: absolute; left: 8px; right: 8px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: rgba(22,19,49,.94); }
.g-arrow { position: absolute; top: 50%; z-index: 3; width: 32px; height: 44px; margin-top: -22px; padding: 0; font-size: 20px; }
.g-arrow.l { left: 6px; } .g-arrow.r { right: 6px; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.g-dots i { width: 8px; height: 8px; background: var(--line); }
.g-dots i.on { background: var(--gold); }
.g-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.g-zone { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; min-width: 0; }
.g-zone b { font-weight: normal; font-size: 14px; white-space: nowrap; }
.g-zone span { font-size: 11px; color: var(--muted); line-height: 1.2; white-space: nowrap; min-height: 13px; }
.g-zone.on span { color: inherit; }
.chip.lock { opacity: .45; cursor: not-allowed; }
.g-go { width: 100%; margin-top: 2px; }

.b-settings { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; margin-top: 8px; }
.b-settings .row { gap: 6px; }

/* 市集 */
.m-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; }
.m-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.m-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--lo); box-shadow: inset 3px 0 0 0 var(--rc); }
.m-item > img { width: 32px; height: 32px; flex: none; }
.m-item .ti { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-item .ti b { font-weight: normal; color: var(--rc); }
.m-item .ti span { line-height: 1.3; }
.m-item .pxbtn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; flex: none; }
.m-item .pxbtn img { width: 12px; height: 12px; }
.m-tip { padding: 4px var(--px) 8px; line-height: 1.4; }
.g-squads { display: flex; flex-wrap: wrap; gap: 4px; }
.g-squad { display: flex; align-items: center; gap: 3px; padding: 3px 6px; background: var(--panel); color: var(--muted); box-shadow: 0 0 0 var(--px) var(--line-dk); opacity: .5; }
.g-squad.on { opacity: 1; color: var(--text); box-shadow: 0 0 0 var(--px) var(--gold); }
.g-squad .nm { font-size: 11px; margin-right: 2px; white-space: nowrap; }
.g-squad img { width: 24px; height: 24px; }
