/* 휴대폰 전용 세로 전투 화면. PC용 style.css에는 영향을 주지 않는다. */
.mobile-game #stage { width: 480px; height: 900px; }
.mobile-game #start .start-box { width: 100%; padding: 18px; }
.mobile-game #start h1 { width: 100%; height: 170px; font-size: 27px; margin-bottom: 18px; }
.mobile-game .pick { gap: 12px; }
.mobile-game .pick-btn { width: 132px; height: 230px; }
.mobile-game .pick-name { font-size: 48px; }
.mobile-game .foe-pick { width: 100%; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding: 12px; }
.mobile-game .foe-pick span { width: 100%; margin: 0 0 4px; }
.mobile-game .foe-pick .chip { min-width: 65px; padding: 9px 12px; }
.mobile-start-note { margin-top: 18px; color: #e7cea0; font-size: 15px; }

.mobile-game #game { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 104px; }
.mobile-game #board { grid-template-rows: 92px minmax(0, 1fr) minmax(0, 1fr) 135px; gap: 4px; padding: 4px 6px; }
.mobile-game #board::before { inset: 92px 6px 138px; border-radius: 8px; }
.mobile-game .field { gap: 5px; padding: 0 5px; border-radius: 8px; }
.mobile-game #enemy-field { align-items: flex-end; padding-bottom: 12px; }
.mobile-game #player-field { align-items: flex-start; padding-top: 12px; }
.mobile-game .field .board-card, .mobile-game .field .slot { width: 82px; height: 112px; flex: 0 1 82px; min-width: 0; }
.mobile-game .board-card .u-name { font-size: 9px; }
.mobile-game .board-card .stat { width: 30px; height: 30px; font-size: 11px; }
.mobile-game .board-card .u-icons, .mobile-game .board-card .u-tr { bottom: 13%; }
.mobile-game .ic { width: 14px; height: 14px; font-size: 8px; }
.mobile-game .board-card .battle-icon { width: 19px; height: 19px; border-width: 1px; }
.mobile-game .board-card .battle-treasures .tr { width: 15px; height: 15px; font-size: 9px; }
.mobile-game .hand-row { padding: 0 76px; }
.mobile-game .hand-row::before { inset: 0 -6px; }
.mobile-game .hand-row::after { left: -6px; right: -6px; }
.mobile-game #player-hand { overflow: hidden; }
.mobile-game .hand-row .hand { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; padding: 6px 5px 8px; gap: 5px; scrollbar-width: thin; }
.mobile-game .hand-row .hand, .mobile-game .mull-cards { touch-action: pan-x; overscroll-behavior-x: contain; }
.mobile-game .hand .card { flex: 0 0 78px; width: 78px; height: 110px; aspect-ratio: auto; }
.mobile-game .hand .card .c-cost { width: 24px; height: 24px; font-size: 12px; }
.mobile-game .hand .card.k-unit .c-name { font-size: 11px; }
.mobile-game .hand .card:hover { transform: none; }
.mobile-game .hand .card.selected { transform: translateY(-4px); }
.mobile-game .enemy-hand { gap: 3px; overflow: hidden; align-items: center; }
.mobile-game .enemy-hand .back { flex: 0 0 25px; width: 25px; height: 36px; }

.mobile-game .lord-side { left: 3px; width: 75px; gap: 2px; }
.mobile-game .lord-side.foe { top: 5px; }
.mobile-game .lord-side.mine { bottom: 8px; }
.mobile-game .lord-side .lord-card, .mobile-game .lord-slot { width: 57px; height: 78px; }
.mobile-game .lord-card .u-name { font-size: 8px; }
.mobile-game .lord-card .stat { width: 28px; height: 28px; font-size: 10px; }
.mobile-game .lord-icons { display: grid; grid-template-columns: repeat(2, 28px); gap: 2px; }
.mobile-game .power, .mobile-game .fac { width: 28px; height: 28px; }
.mobile-game .fac b { font-size: 12px; }
.mobile-game .fac small { font-size: 7px; }
.mobile-game .p-cost { width: 16px; height: 16px; font-size: 8px; top: -5px; left: -5px; }
.mobile-game .p-star, .mobile-game .power small, .mobile-game .forms { display: none; }
.mobile-game .res-col { right: 4px; width: 65px; gap: 3px; }
.mobile-game .res-col.foe { top: 5px; }
.mobile-game .res-col.mine { bottom: 9px; }
.mobile-game .pile { width: 40px; height: 50px; }
.mobile-game .pile i { width: 34px; height: 46px; bottom: calc(var(--k) * 1px); border-width: 1px; }
.mobile-game .pile span { bottom: -11px; font-size: 8px; }
.mobile-game .pile-count, .mobile-game .pile-empty { left: 17px; min-width: 22px; height: 22px; font-size: 10px; }
.mobile-game .food-box { width: 58px; padding: 3px 2px; border-radius: 6px; }
.mobile-game .food-box b { font-size: 16px; }
.mobile-game .food-box b span { font-size: 10px; }
.mobile-game .pips { grid-template-columns: repeat(5, 8px); gap: 1px; }
.mobile-game .pips i { width: 8px; height: 10px; }

.mobile-game #sidebar { position: static; padding: 5px 8px; gap: 4px; overflow: visible; }
.mobile-game #midline { flex-direction: row; align-items: center; gap: 5px; }
.mobile-game #midline .turn { flex: 0 0 auto; padding: 4px 8px; font-size: 12px; }
.mobile-game #midline .terrain { flex: 1; padding: 3px 6px; font-size: 9px; line-height: 1.2; }
.mobile-game #midline .terrain b { font-size: 10px; }
.mobile-game .game-actions { height: 39px; }
.mobile-game .game-actions #end-turn { padding: 3px; font-size: 15px; }
.mobile-game #draw-card { flex-basis: 130px; font-size: 12px; }
.mobile-game #hint { min-height: 17px; font-size: 11px; line-height: 1.2; }
.mobile-game #log { display: none; }
/* 자주 안 쓰는 버튼은 ☰ 메뉴 안에 둔다 */
.mobile-game #mobile-menu-btn { flex: 0 0 42px; padding: 0; font-size: 20px; color: #fff0c9; border: 1px solid #8d6a3a; border-radius: 6px; background: url('images/ui/button-wide.webp') center / cover; }
.mobile-game #mobile-menu-btn[aria-expanded="true"] { border-color: #ffe5a2; box-shadow: 0 0 10px #f3c46aaa; }
.mobile-game #mobile-menu { position: absolute; z-index: 32; left: 8px; bottom: 108px; width: 170px; flex-direction: column; gap: 5px; padding: 7px; border: 1px solid #bd975c; border-radius: 8px; background: #170f0af2; box-shadow: 0 5px 20px #000c; }
.mobile-game #mobile-menu:not([hidden]) { display: flex; }
.mobile-game #mobile-menu button { min-height: 34px; padding: 2px 6px; font-size: 13px; color: #fff0c9; border: 1px solid #8d6a3a; border-radius: 5px; background: url('images/ui/button-wide.webp') center / cover; }
.mobile-game #mobile-close-detail { position: absolute; z-index: 31; left: 50%; bottom: 112px; width: 180px; min-height: 34px; transform: translateX(-50%); font-size: 13px; color: #fff0c9; border: 1px solid #bd975c; border-radius: 6px; background: url('images/ui/button-wide.webp') center / cover; }
.mobile-game #mobile-close-detail[hidden] { display: none; }
.mobile-game.mobile-inspect #mobile-menu-btn { border-color: #ffe5a2; box-shadow: 0 0 12px #f3c46aaa; }
.mobile-game #detail { display: none; position: absolute; z-index: 30; left: 28px; right: 28px; bottom: 152px; max-height: 560px; overflow-y: auto; padding: 14px; border: 1px solid #bd975c; border-radius: 10px; background: #170f0aee; box-shadow: 0 5px 24px #000c; }
.mobile-game #detail.mobile-open { display: flex; }
.mobile-game #detail .card.big { flex: none; width: 210px; height: 296px; min-height: 296px; }
.mobile-game #detail .howto { font-size: 14px; }
.mobile-game .game-card-description { font-size: 14px; }
.mobile-game #played, .mobile-game .info-box, .mobile-game .turn-banner { left: 50%; }
.mobile-game #played .card.big { width: 230px; min-height: 324px; }
.mobile-game #played .card.big.k-unit.has-art { height: 324px; min-height: 324px; }
.mobile-game .played-label { width: 220px; min-height: 60px; font-size: 23px; }
.mobile-game .info-box { max-width: 440px; }
.mobile-game .turn-banner { max-width: 440px; }
.mobile-game .over-box.help { width: 450px; max-height: 780px; }
.mobile-game .over-box.mull { width: 460px; padding: 16px; }
.mobile-game .mull-cards { justify-content: flex-start; overflow-x: auto; padding: 8px; }
.mobile-game .mull-cards > div { flex: none; }
.mobile-game .mull-cards .card { width: 130px; height: 184px; margin: 0; }
.mobile-game .mull-cards .card .c-text { font-size: 9px; }
.mobile-game .over-box.result-box { max-height: 760px; }

/* ───────── 휴대폰 덱 구성 화면 (2026-11-06) ─────────
   위: 진영·통솔력·책략 막대와 지형 (한두 줄) / 가운데: 카드 목록 4칸 / 아래: 고른 장수와 버튼.
   큰 카드는 "카드 자세히 보기"를 켜고 카드를 누르면 화면 위에 뜬다. */
.mobile-game #deck { padding: 8px 8px 8px; gap: 6px; }
.mobile-game .deck-head { gap: 5px; }
.mobile-game .dh-lord { padding: 3px 8px 3px 3px; gap: 6px; border-radius: 9px; }
.mobile-game .dh-lord span { width: 30px; height: 30px; font-size: 18px; }
.mobile-game .dh-lord b { font-size: 13px; }
.mobile-game .dh-lord small { font-size: 10px; }
.mobile-game .meter { width: 104px; height: 26px; padding: 0 6px; font-size: 11px; border-radius: 7px; }
.mobile-game .dh-terrain { flex: 1 1 100%; padding: 3px 8px; }
.mobile-game .dh-terrain b { font-size: 12px; }
.mobile-game .dh-terrain small { font-size: 10px; }
.mobile-game .dh-rule { display: none; }
.mobile-game .deck-head .dh-help { margin-left: auto; padding: 4px 10px; font-size: 12px; }
.mobile-game .deck-inspect {
  position: absolute; right: 8px; top: 8px; z-index: 5; padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 800;
  border: 1px solid #a78047; background: linear-gradient(#3a2716, #1d130c); color: #f4d48b;
}
.mobile-game.deck-inspect .deck-inspect { background: linear-gradient(#7dffa3, #3fcf68); color: #08240f; border-color: #eaffef; }
.mobile-game.deck-inspect .deck-grid .pool-card { outline: 1px dashed #f4d48b88; }
.mobile-game .deck-head { padding-right: 112px; }
.mobile-game .deck-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; --ch: 470px; }
.mobile-game .deck-filters { gap: 4px; }
.mobile-game .deck-filters > div { gap: 3px; }
.mobile-game .deck-filters .chip { padding: 3px 7px; font-size: 11px; }
.mobile-game .deck-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; padding: 10px 4px 12px; }
.mobile-game .deck-grid .pool-card:hover { transform: none; }
.mobile-game .deck-side { padding: 6px; gap: 5px; border-radius: 9px; }
.mobile-game .deck-list { flex: none; max-height: 112px; display: flex; flex-flow: row wrap; gap: 3px; align-content: flex-start; }
.mobile-game .deck-list h4 { flex: 1 1 100%; font-size: 11px; padding-bottom: 2px; }
.mobile-game .deck-list .pick-row, .mobile-game .deck-list .deck-lord-row { flex: 0 0 auto; min-height: 0; max-height: none; padding: 3px 6px; font-size: 11px; width: auto; }
.mobile-game .deck-list .pick-row small, .mobile-game .deck-list .deck-lord-row small { display: none; }
.mobile-game .deck-msg { font-size: 11px; min-height: 0; }
.mobile-game .deck-buttons { grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mobile-game .deck-buttons button { padding: 7px 2px; font-size: 12px; }
.mobile-game .deck-buttons .back { grid-column: span 1; }
.mobile-game .deck-buttons .go { grid-column: span 3; padding: 9px; font-size: 16px; }
/* 큰 카드 창 */
.mobile-game .deck-detail-col { display: none; }
.mobile-game.deck-detail-open .deck-detail-col {
  display: flex; position: absolute; inset: 0; z-index: 20; overflow-y: auto; padding: 46px 10px 14px; border-radius: 0;
  background: #0b0705f2; border: 0;
}
.mobile-game .deck-detail-close {
  position: absolute; top: 8px; right: 8px; z-index: 2; padding: 6px 16px; border-radius: 8px; font-size: 14px; font-weight: 800;
  border: 1px solid #a78047; background: linear-gradient(#3a2716, #1d130c); color: #f4d48b;
}
.mobile-game .deck-summary { display: none; }
/* 지형 정하기 화면 */
.mobile-game .terrain-box { width: 100%; padding: 14px; }
.mobile-game .terrain-box h2 { font-size: 30px; }
.mobile-game .terrain-cards { gap: 8px; }
.mobile-game .terrain-info { margin: 14px auto 12px; padding: 8px 12px; }
.mobile-game .terrain-info h3 { font-size: 20px; }
.mobile-game .terrain-info p { font-size: 13px; }
.mobile-game .t-card { width: 142px; height: 200px; padding: 10px 8px; border-radius: 12px; }
/* 휴대폰 덱 구성 다듬기: 머리줄을 낮게, 필터는 한 줄 가로 스크롤, 카드는 3칸 */
.mobile-game .dh-terrain { flex: 1 1 auto; }
.mobile-game .dh-terrain small { display: none; }
.mobile-game .deck-head .dh-help { margin-left: 0; }
.mobile-game .deck-filters { flex-wrap: nowrap; flex-direction: column; gap: 4px; }
.mobile-game .deck-filters > div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.mobile-game .deck-filters > div::-webkit-scrollbar { display: none; }
.mobile-game .deck-filters .chip { flex: none; }
.mobile-game .deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }

/* 휴대폰: 동탁군·원소군 작은 버튼, 갤러리는 위에 큰 카드·아래 목록 (2026-11-06) */
.mobile-game .pick-btn.small { width: 150px; height: 52px; }
.mobile-game .pick-btn.small .pick-name { font-size: 20px; }
.mobile-game .gallery-head { gap: 6px; padding: 8px 10px; }
.mobile-game .gallery-head h2 { font-size: 16px; }
.mobile-game .gallery-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
.mobile-game .gallery-tabs .chip, .mobile-game .gallery-sep { flex: none; }
.mobile-game .gallery-body { grid-template-columns: 1fr; grid-template-rows: 58% minmax(0, 1fr); }
.mobile-game .gallery-view { border-left: 0; border-bottom: 1px solid #a7804766; }
.mobile-game .gallery-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.mobile-game .gallery-item { font-size: 10px; }
.mobile-game .gallery-card.mini { zoom: .16; }
.mobile-game .gallery-view { order: -1; }
.mobile-game .gallery-body { grid-template-rows: 55% minmax(0, 1fr); }

/* 모바일 상세 화면의 설명과 선택 버튼 */
.mobile-game #mobile-deck-pick, .mobile-game .mobile-confirm-play { display: block; min-height: 40px; margin: 8px auto; padding: 6px 18px; color: #fff0c9; background: #634621; border: 1px solid #bd975c; border-radius: 6px; }
.mobile-game #detail .game-card-description, .mobile-game .deck-card-info { overflow-wrap: anywhere; word-break: keep-all; line-height: 1.45; }
.mobile-game #detail .card.big.k-unit.has-art .c-text, .mobile-game #deck-detail .card.big.k-unit.has-art .c-text { font-size: 9px; line-height: 1.2; overflow-y: auto; overflow-wrap: anywhere; word-break: keep-all; }
.mobile-game .dh-terrain { flex: 1 1 100%; }
.mobile-game .dh-terrain b::before { content: '이번 지형: '; }

/* 작은 화면에서 빈 덱과 군량이 겹치지 않도록 크기를 맞춘다. */
.mobile-game .pile.empty::before { width: 40px; height: 50px; border-radius: 5px; }
.mobile-game .pile.empty .pile-empty { left: 20px; top: 50%; padding: 2px 3px; font-size: 9px; letter-spacing: 0; border-width: 1px; }
/* 카드 아래 능력치 장식 위에 설명이 겹치지 않게 공간을 확보한다. */
.mobile-game #played .card.big.k-unit.has-art .c-text { bottom: 8%; height: auto; max-height: 34%; font-size: 10px; line-height: 1.18; overflow: hidden; overflow-wrap: anywhere; word-break: keep-all; }
.mobile-game .info-box.info-power, .mobile-game .info-box.info-skill { width: 440px; max-width: 440px; min-height: 147px; padding: 38px 70px; }
.mobile-game .info-box.info-power b, .mobile-game .info-box.info-skill b { line-height: 1.1; margin: 0 0 2px; overflow-wrap: anywhere; word-break: keep-all; }
.mobile-game .info-box.info-power p, .mobile-game .info-box.info-skill p { margin: 0; line-height: 1.15; overflow-wrap: anywhere; word-break: keep-all; }

/* 덱 머리글을 두 줄로 정리해 카드 목록을 넓힌다. */
.mobile-game .deck-head { display: grid; grid-template-columns: 105px 1fr 1fr 90px; grid-template-rows: 30px 30px; gap: 4px; padding: 5px; }
.mobile-game .deck-head .dh-lord { grid-column: 1; grid-row: 1 / 3; }
.mobile-game .deck-head .meter { width: 100%; min-width: 0; height: 26px; }
.mobile-game .deck-head .dh-terrain { grid-column: 4; grid-row: 1; min-width: 0; padding: 2px 4px; }
.mobile-game .deck-head .dh-terrain b { font-size: 10px; white-space: nowrap; }
.mobile-game .deck-head .dh-help { grid-column: 4; grid-row: 2; margin: 0; padding: 3px; }
.mobile-game #deck-inspect { display: none; }
/* 설명은 카드 하단에 붙이고 양옆 능력치 그림을 피한다. */
.mobile-game #played .card.big.k-unit.has-art .c-text { left: 19%; width: 62%; bottom: 8%; height: auto; max-height: 34%; }

/* 상세 내용은 세로로 스크롤하고 행동 버튼은 창 아래에 고정한다. */
.mobile-game #detail.mobile-open { flex-flow: column nowrap; overflow-x: hidden; }
.mobile-game #detail.mobile-open > * { max-width: 100%; }
.mobile-game #detail .mobile-confirm-play { position: sticky; bottom: 0; z-index: 5; flex: 0 0 auto; align-self: center; min-width: 180px; margin: 8px auto 0; box-shadow: 0 0 0 6px #170f0a, 0 2px 8px #000; }

/* 휴대폰 브라우저의 자동 글자 확대와 PC용 최소 너비를 보정한다. */
.mobile-game { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.mobile-game :is(.deck-head, .deck-pool, .deck-side, .gallery-view, .gallery-list, #midline, #hint) { min-width: 0; }
.mobile-game :is(.game-card-description, .deck-card-info, .terrain-info, .over-box p, .over-box li, #detail ul, #hint) { word-break: keep-all; overflow-wrap: anywhere; }
.mobile-game .game-card-description { font-size: 12px; line-height: 1.45; }
.mobile-game #detail > :is(ul, .game-card-description, .howto) { flex: 0 0 auto; min-width: 0; width: 100%; }
.mobile-game #detail ul { font-size: 11px; line-height: 1.45; margin: 4px 0; padding-left: 17px; }
.mobile-game #detail .howto { font-size: 12px; }
.mobile-game #detail .mobile-confirm-play, .mobile-game #mobile-deck-pick { font-size: 13px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.mobile-game .mobile-confirm-play:disabled { color: #b9ad98; background: #332b23; cursor: default; }
.mobile-game .deck-head .dh-lord b { font-size: 11px; white-space: nowrap; }
.mobile-game .deck-head .meter { font-size: 10px; padding: 0 4px; gap: 3px; white-space: nowrap; }
.mobile-game .deck-head .dh-terrain b { font-size: 9px; }
.mobile-game .deck-head .dh-terrain b::before { content: '지형: '; }
.mobile-game .deck-card-info { font-size: 11px; gap: 5px 8px; text-align: left; }
.mobile-game .deck-card-info > * { min-width: 0; max-width: 100%; }
.mobile-game .deck-detail-col { flex-direction: column; align-items: center; }
.mobile-game #deck-detail { width: 100%; min-width: 0; }
.mobile-game #mobile-deck-pick { position: sticky; bottom: 0; z-index: 3; flex: none; max-width: 100%; }
.mobile-game :is(.over-box.help, .over-box.mull, .over-box.discard, .over-box.result-box) { min-width: 0; max-width: 94%; max-height: 820px; overflow-y: auto; }
.mobile-game .over-box h2 { font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.mobile-game .over-box :is(p, li) { font-size: 12px; line-height: 1.5; }
.mobile-game .info-box { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.mobile-game .info-box.info-terrain { width: 440px; max-width: 92%; min-height: 160px; padding: 36px 65px; }
.mobile-game .info-box.info-terrain b { font-size: 17px; }
.mobile-game .info-box.info-terrain p { font-size: 11px; line-height: 1.3; }
.mobile-game .played-label { font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.mobile-game #hint { max-height: 34px; overflow-y: auto; flex-shrink: 0; font-size: 10px; line-height: 1.3; }
.mobile-game #midline .terrain { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.mobile-game .gallery-view { min-height: 0; overflow-y: auto; }

/* 상세 내용과 행동 영역을 분리해 설명 위에 버튼이 겹치지 않게 한다. */
.mobile-game #mobile-detail-actions { position: absolute; z-index: 31; left: 28px; right: 28px; bottom: 108px; display: flex; gap: 8px; }
.mobile-game #mobile-detail-actions[hidden] { display: none; }
.mobile-game #mobile-detail-actions > button { position: static; transform: none; flex: 1 1 0; min-width: 0; width: 0; min-height: 36px; margin: 0; padding: 5px 8px; font-size: 12px; line-height: 1.3; box-shadow: none; }
.mobile-game #mobile-detail-actions > button:only-child { width: auto; }
/* 군주 포함 6장이 되어도 전장 너비와 덱 위치는 고정한다. */
.mobile-game #game, .mobile-game #board { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.mobile-game .field { min-width: 0; }
.mobile-game .field:has(.lord-card.sortie) { gap: 0; }
.mobile-game .field:has(.lord-card.sortie) > :is(.board-card, .slot) { flex: 0 0 82px; }
.mobile-game .field:has(.lord-card.sortie) > :is(.board-card, .slot) + :is(.board-card, .slot) { margin-left: -9px; }
.mobile-game .field .board-card.selected { z-index: 6; }
/* 목록은 그림과 바깥 이름만, 상세 카드는 위쪽 공간을 더 넓게 쓴다. */
.mobile-game .gallery-body { grid-template-rows: minmax(0, 72fr) minmax(0, 28fr); }
.mobile-game .gallery-card.mini .card.big > :not(.c-art) { display: none; }
.mobile-game .gallery-card.mini { zoom: 1; --ch: 90px; }
.mobile-game .gallery-card.mini .card.big { width: 64px; height: 90px; min-height: 0; padding: 0; }
.mobile-game .gallery-item { gap: 3px; padding: 4px; font-size: 11px; }
.mobile-game .gallery-item > span { line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
.mobile-game .gallery-list { padding: 8px; gap: 6px; }

.mobile-game #player-field .field-formations { top: 130px; }
.mobile-game .field-formations .form { padding: 2px 8px; font-size: 11px; }

.mobile-game .formation-link { left: -3px; right: -3px; bottom: -14px; height: 9px; }
.mobile-game .formation-link.start { left: 50%; }
.mobile-game .formation-link.end { right: 50%; }
.mobile-game .formation-link b { font-size: 9px; padding: 1px 6px; }
.mobile-game .heal-marker, .mobile-game .retreat-marker { font-size: 8px; padding: 2px 4px; }
.mobile-game #played.mythic-presentation .played-label { width: 360px; min-height: 86px; padding: 8px 60px; font-size: 19px; }
