/* 窓の中身（82〜88 の窓）の見た目。style.css の後に読む。2026-11-25 */

/* ---------- 講和会議（88） ---------- */
.講和頭本 { flex: 1; min-width: 0; }
.講和負 { font-size: 16px; color: #fff; }
.講和順 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.順札 { font-size: 12px; padding: 1px 6px; border: 1px solid #555; border-left-width: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.03); color: var(--薄字); }
.順札 b { color: var(--字); font-variant-numeric: tabular-nums; }
.順札.我 { color: var(--字); }
.順札.休 { opacity: 0.45; }
.順札.今 { color: #fff; background: rgba(255, 216, 74, 0.16); box-shadow: 0 0 0 1px var(--金), 0 0 10px rgba(255, 216, 74, 0.45); animation: 番の光 1.4s ease-in-out infinite; }
@keyframes 番の光 { 50% { box-shadow: 0 0 0 1px var(--金), 0 0 2px rgba(255, 216, 74, 0.1); } }
.講和待ち { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border: 1px solid var(--線); border-radius: 6px; margin: 6px 0; }
.講和上 { position: sticky; top: -8px; z-index: 2; background: var(--窓); padding: 6px 0 2px; margin-top: -2px; border-bottom: 1px solid var(--線); }
.講和点 { display: flex; align-items: center; gap: 8px; }
.講和点 .名 { color: var(--薄字); }
.講和点数 { font-size: 22px; color: var(--金); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; transition: color 0.3s; }
.講和済数 { font-variant-numeric: tabular-nums; }
.講和済数.動 { color: #fff3c4; text-shadow: 0 0 6px rgba(255, 200, 60, 0.9); }
.順点.動 { color: #ff8a7a; text-shadow: 0 0 6px rgba(255, 120, 90, 0.8); }
.講和点数.動 { color: #fff3c4; text-shadow: 0 0 8px rgba(255, 200, 60, 0.9); }
.講和棒 { flex: 1; height: 8px; background: #333b48; border-radius: 4px; overflow: hidden; }
.講和棒 i { display: block; height: 100%; background: linear-gradient(90deg, #b8860b, var(--金)); transition: width 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.講和選 { margin: 6px 0 2px; padding: 8px; border: 1px solid var(--金); border-radius: 6px; background: rgba(255, 216, 74, 0.07); }
.講和選.出 { animation: 札が出る 0.22s ease-out; }
@keyframes 札が出る { from { transform: translateY(-6px); opacity: 0; } to { transform: none; opacity: 1; } }
.講和選.足らず { border-color: #6a7280; background: rgba(150, 150, 150, 0.06); }
.講和選名 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.講和選名 b { font-size: 17px; color: #fff; }
.講和値 { margin: 3px 0 6px; font-variant-numeric: tabular-nums; }
.講和値 b { color: var(--金); }
.講和値 b.赤 { color: #ff8a7a; }
.処分々 { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 6px; }
.処分 { --法色: var(--金); display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 8px; border-left: 4px solid var(--法色); text-align: left; min-width: 0; }
.処分 b { font-size: 15px; color: var(--法色); }
.処分 span { font-size: 11px; color: var(--薄字); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.処分.傀儡 { --法色: #c89cff; }
.処分.独立 { --法色: #8ec8ff; }
.処分.返還 { --法色: #9fe09f; }
.処分:hover:not(:disabled) { background: #31405a; box-shadow: inset 0 0 0 1px var(--法色); }
.講和見送り { color: var(--薄字); }
.講和判 { position: fixed; z-index: 9999; pointer-events: none; font-size: 30px; font-weight: bold; padding: 2px 12px; border: 3px solid; border-radius: 8px; background: rgba(12, 14, 20, 0.6); letter-spacing: 0.15em; text-shadow: 0 0 8px currentColor; transform: translate(-50%, -50%); animation: 判 0.95s ease-out forwards; }
@keyframes 判 { 0% { transform: translate(-50%, -50%) scale(2.2) rotate(-12deg); opacity: 0; } 22% { transform: translate(-50%, -50%) scale(0.92) rotate(-6deg); opacity: 1; } 34% { transform: translate(-50%, -50%) scale(1) rotate(-6deg); } 75% { opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1) rotate(-6deg); opacity: 0; } }
.講和行 { cursor: pointer; }
.講和行:hover { background: rgba(255, 255, 255, 0.04); }
.講和印 { width: 8px; height: 8px; border-radius: 2px; background: #555; flex: none; }
.講和行.可 .講和印 { background: var(--金); }
.講和行.可 .講和行値 { color: var(--金); }
.講和行.不 { opacity: 0.55; }
.講和行.済 .名, .講和行.済 .講和行値 { opacity: 0.6; }
.講和行値 { min-width: 2.5em; text-align: right; font-variant-numeric: tabular-nums; }
.講和行先 { flex: 1; text-align: right; font-size: 12px; }
.講和行.新 { animation: 行が光る 1.2s ease-out; }
@keyframes 行が光る { 0% { background: rgba(255, 230, 120, 0.45); } 100% { background: transparent; } }

/* ---------- 生産・開発・建設（82） ---------- */
.表 td.工数 { font-variant-numeric: tabular-nums; font-weight: bold; text-align: right; padding-right: 8px; border-radius: 3px; }
.表 tr.休み td:not(.工ボ) { opacity: 0.5; }
.表 td.効率 { white-space: nowrap; font-variant-numeric: tabular-nums; }
.表 td.効率 .棒 { width: 34px; }
.表 td.在庫 { font-variant-numeric: tabular-nums; }
.表 td.工ボ { white-space: nowrap; }
.増光 { animation: 増光 0.9s ease-out; }
.減光 { animation: 減光 0.9s ease-out; }
@keyframes 増光 { 0% { background: rgba(92, 214, 92, 0.55); color: #fff; } 100% { background: transparent; } }
@keyframes 減光 { 0% { background: rgba(224, 90, 74, 0.55); color: #fff; } 100% { background: transparent; } }
.出光 { animation: 出光 0.9s ease-out; }
@keyframes 出光 { 0% { background: rgba(255, 216, 74, 0.35); transform: translateX(-6px); } 30% { transform: none; } 100% { background: transparent; } }
.研究行 .棒, .建造行 .棒 { flex: 1; min-width: 50px; height: 7px; }
.研究行 .名, .建造行 .名 { min-width: 0; flex: 0 1 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--字); }
.研究行 .日, .建造行 .日 { min-width: 3em; text-align: right; }
.研究空き .名 { color: #5a6270; font-style: italic; }
.研究空き { border-bottom-style: dashed; }
.技.研究中 { opacity: 1; box-shadow: inset 3px 0 0 #5aa8e6; }
.技.研究中 .技効 { color: #8ec8ff; }
.技.完成光 { animation: 技の完成 2.2s ease-out; }
@keyframes 技の完成 { 0% { background: rgba(255, 230, 120, 0.6); box-shadow: 0 0 14px rgba(255, 200, 60, 0.9); } 40% { background: rgba(255, 230, 120, 0.25); } 100% { background: transparent; box-shadow: none; } }
#窓ボタン button.完成光 { animation: ボタンの完成 1.3s ease-out; }
@keyframes ボタンの完成 { 0%, 40% { background: #7a5a12; border-color: var(--金); box-shadow: 0 0 12px rgba(255, 216, 74, 0.9); color: #fff; } 100% { box-shadow: none; } }

/* 編成の窓: 大隊の数・足した札の飛び込み・見積りの差（▲▼） */
.大隊数 { font-size: 0.85em; padding: 1px 8px; border-radius: 10px; background: #2a3a52; color: #cfe0ff; }
.大隊数.満 { background: #6a2a2a; color: #ffd0c8; }
.大隊.入る { animation: 大隊入る 0.32s cubic-bezier(.2,1.6,.4,1); }
@keyframes 大隊入る { from { transform: translateY(-14px) scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
button.満 { opacity: 0.45; }
.大隊々 .大隊:hover { color: #ff8a7a; border-color: #a0463c; text-decoration: line-through; }
button.この型を新設 { border-color: var(--金); color: var(--金); font-weight: bold; }
button.この型を新設.新設足らず { border-color: #a0463c; color: var(--薄字); }
.見積り値 .差 { font-style: normal; font-size: 0.85em; margin-left: 6px; animation: 差光る 1.2s ease-out; }
.見積り値.良 .差 { color: #7ee08a; }
.見積り値.悪 .差 { color: #ff8a7a; }
.見積り値.中 .差 { color: #ffd27a; }
@keyframes 差光る { from { text-shadow: 0 0 8px currentColor; } to { text-shadow: none; } }

/* ---------- 方面軍（85） ---------- */
.軍強さ { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.軍強さ .棒 { width: 90px; height: 7px; }
.方面軍箱 .顔 { transition: transform 0.15s; }
.顔替え { animation: 顔替え 0.6s ease-out; }
@keyframes 顔替え { 0% { transform: rotateY(90deg) scale(0.8); filter: brightness(2); } 60% { transform: none; filter: brightness(1.3); } 100% { filter: none; } }
.方面軍箱.出光 { animation: 軍が光る 0.9s ease-out; }
@keyframes 軍が光る { 0% { border-color: var(--金); box-shadow: 0 0 12px rgba(255, 216, 74, 0.6); background: rgba(255, 216, 74, 0.12); } 100% { box-shadow: none; } }
.方針選 { border-left: 4px solid #888; }
.方針選.防衛 { border-left-color: #5aa8e6; }
.方針選.前進 { border-left-color: #e05a4a; }
.方針選.待機 { border-left-color: #888; }

/* ---------- 海軍・空軍（86） ---------- */
.艦札々 { display: inline-flex; flex-wrap: wrap; gap: 3px; vertical-align: middle; }
.艦札 { font-size: 12px; padding: 0 5px; border-radius: 3px; background: #2a3546; color: var(--薄字); }
.艦札 b { color: #cfe3ff; margin-left: 3px; font-variant-numeric: tabular-nums; }
.艦状 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.艦状 .棒 { width: 70px; }
.艦状 .赤字 { color: #ff8a7a; }
.移動中 { color: #8ec8ff; animation: 移動の点 1.2s ease-in-out infinite; }
@keyframes 移動の点 { 50% { opacity: 0.55; } }
.艦隊箱.出光 { animation: 軍が光る 0.9s ease-out; }
.任務選 { border-left: 4px solid #888; }
.任務選.制海, .任務選.制空 { border-left-color: #5aa8e6; }
.任務選.護衛 { border-left-color: #5cd65c; }
.任務選.通商破壊, .任務選.戦略爆撃 { border-left-color: #e8964a; }
.任務選.上陸支援, .任務選.近接支援 { border-left-color: #9fe09f; }
.任務選.船団攻撃 { border-left-color: #e05a4a; }
.翼行 { flex-wrap: wrap; }
.翼基地 { cursor: pointer; text-decoration: underline dotted #5a6270; }
.翼基地:hover { color: var(--金); }

/* ---------- 外交・記録（87） ---------- */
.国行 { cursor: pointer; border-left: 3px solid transparent; padding-left: 4px; }
.国行.敵 { border-left-color: #e05a4a; background: rgba(224, 90, 74, 0.05); }
.国行.味 { border-left-color: #5cd65c; }
.国行:hover { background: rgba(255, 255, 255, 0.04); }
.国行光 { animation: 国行光 1.2s ease-out; }
@keyframes 国行光 { 0% { background: rgba(255, 140, 110, 0.4); } 100% { background: transparent; } }
.中身 .知 { border-left: 3px solid transparent; padding-left: 6px; }
.中身 .知.戦 { border-left-color: #e05a4a; }
.中身 .知.和 { border-left-color: #8ec8ff; }
.中身 .知.成 { border-left-color: #5cd65c; }
.中身 .知:hover { background: rgba(255, 255, 255, 0.04); }
.中身 .知.新 { animation: 記録が来る 0.5s ease-out backwards, 行が光る 1.6s ease-out backwards; }
@keyframes 記録が来る { from { transform: translateX(14px); opacity: 0; } to { transform: none; opacity: 1; } }

.断りそう { color: #ff8a7a; font-weight: bold; }
.受けそう { color: #8ef08e; font-weight: bold; }
.空き有り { color: var(--金); animation: 空き有り 1.6s ease-in-out infinite; }
@keyframes 空き有り { 50% { text-shadow: 0 0 8px rgba(255, 216, 74, 0.9); } }
.系統見出し { display: flex; justify-content: space-between; align-items: baseline; }
.型が出る { animation: 型が出る 0.7s ease-out; }
@keyframes 型が出る { 0% { transform: scale(0.6); box-shadow: 0 0 14px rgba(255, 216, 74, 0.9); } 40% { transform: scale(1.08); } 100% { transform: none; box-shadow: none; } }
.綱引き { position: relative; height: 14px; margin: 4px 0 3px; border-radius: 7px; overflow: hidden; background: linear-gradient(90deg, #7a2a24, #b8443a); }
.綱我 { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #2f7a3a, #5cd65c); box-shadow: 2px 0 6px rgba(0, 0, 0, 0.5); transition: width 0.5s ease-out; }
.綱字 { position: relative; display: block; text-align: center; font-size: 11px; line-height: 14px; color: #fff; text-shadow: 0 1px 2px #000; font-variant-numeric: tabular-nums; }
.記録札々 { margin: 2px 0 8px; }
.記録札 { font-size: 12px; padding: 1px 10px; border-radius: 12px; border-left-width: 3px; }
.記録札.戦 { border-left-color: #e05a4a; }
.記録札.和 { border-left-color: #8ec8ff; }
.記録札.成 { border-left-color: #5cd65c; }
.記録札.我 { border-left-color: var(--金); }
.記録札.事 { border-left-color: #c9a2ff; }
.艦隊名 { cursor: pointer; }
.講和札々 { display: flex; gap: 4px; }
button.大隊足す small { display: block; font-size: 11px; color: var(--薄字); font-variant-numeric: tabular-nums; line-height: 1.2; }
.技.可.枠満 { opacity: 0.7; }
.技.可.枠満 .技効 { color: var(--薄字); }
button.新設足らず { opacity: 0.55; border-color: #a0463c; }
button.効かない { opacity: 0.5; }
.前線行 { font-size: 12px; color: var(--薄字); margin: 2px 0; cursor: pointer; }
.前線行 b { color: var(--字); font-variant-numeric: tabular-nums; }
.前線行.無 { cursor: default; opacity: 0.6; }
.前線行 .前線比.良 { color: #8ef08e; }
.前線行 .前線比.中 { color: #e6c84a; }
.前線行 .前線比.悪 { color: #ff8a7a; }
.記録新 { align-self: center; font-size: 12px; padding: 0 8px; border-radius: 10px; background: rgba(255, 216, 74, 0.2); color: var(--金); animation: 空き有り 1.6s ease-in-out 2; }
.記録月 { margin: 10px 0 2px; font-size: 13px; color: var(--金); border-bottom: 1px solid rgba(255, 216, 74, 0.3); }
.記録日 { display: inline-block; min-width: 2.6em; text-align: right; font-variant-numeric: tabular-nums; }
.技年.先 { color: #ff9a7a; }
.任せる { border-radius: 4px; padding: 2px 4px; }
.任せる.入 { color: var(--金); }
.講和見送り.うながす { color: #fff; border-color: var(--金); animation: 番の光 1.4s ease-in-out infinite; box-shadow: 0 0 0 1px var(--金); }
.講和行 .名 { flex: 0 0 8.5em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.装備々 { display: flex; flex-wrap: wrap; gap: 3px; }
.装備札 { font-size: 12px; padding: 0 5px; border-radius: 3px; background: #2a3546; }
.装備札 b { font-variant-numeric: tabular-nums; }
.装備札.足らず { background: rgba(224, 90, 74, 0.25); color: #ffb0a0; }
.在差 { font-style: normal; font-size: 10px; margin-left: 4px; }
.在差.増 { color: #8ef08e; }
.在差.減 { color: #ff8a7a; }
.技.鎖 { cursor: pointer; }
.技.鎖 .技効 { color: #8a93a0; }
.将 { border-radius: 4px; }
.将.任 { cursor: pointer; }
.将.任:hover { background: rgba(255, 216, 74, 0.08); }
.将:not(.任) { opacity: 0.75; }
.将任 { margin-left: auto; font-size: 11px; padding: 0 6px; border-radius: 8px; background: #2a3a52; color: #cfe0ff; white-space: nowrap; }
.翼数 { font-size: 11px; padding: 0 6px; border-radius: 8px; background: #2a3a52; color: #cfe0ff; font-variant-numeric: tabular-nums; }
.講和行先.民 { color: #6f7884; }
.外交見出し.戦争中 { color: #ff8a7a; }
.外交見出し.味方 { color: #8ef08e; }
.外交見出し { cursor: pointer; }
.外交見出し.畳 { opacity: 0.7; }

/* ---------- 事件の選び（88）: 選んだ札は金に光って膨らみ、選ばなかった札は縮んで消える ---------- */
#箱 .ボタン列 button.選んだ { animation: 事件選んだ 0.42s ease-out forwards; position: relative; z-index: 1; }
#箱 .ボタン列 button.選ばず { animation: 事件選ばず 0.32s ease-in forwards; pointer-events: none; }
@keyframes 事件選んだ {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 216, 74, 0); }
    35% { transform: scale(1.1); box-shadow: 0 0 22px 6px rgba(255, 216, 74, 0.9); background: #9a7418; color: #fff; }
    100% { transform: scale(1.05); box-shadow: 0 0 14px 3px rgba(255, 216, 74, 0.6); background: #8a6814; border-color: #ffe680; color: #fff; }
}
@keyframes 事件選ばず { to { transform: scale(0.82) translateY(8px); opacity: 0; filter: grayscale(1); } }


/* ---------- 動く窓・進みの窓（83_動く窓。本人 11-26「画面右に用意するのはやめて、移動式ウインドウに」） ---------- */
#窓.浮く { right: auto; bottom: auto; max-width: none; border: 1px solid #4a5668; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55); resize: both; overflow: hidden; min-width: 220px; min-height: 120px; }
#窓.浮く .中身, .小窓 .中身 { flex: 1; min-height: 0; }
#窓.浮く .窓題, .小窓 .窓題 { cursor: move; user-select: none; touch-action: none; background: linear-gradient(180deg, rgba(255, 216, 74, 0.08), transparent); border-radius: 8px 8px 0 0; }
#窓.掴み中, .小窓.掴み中 { opacity: 0.88; }
#窓.浮く:not([hidden]) { animation: 浮窓が出る 0.16s ease-out; }
@keyframes 浮窓が出る { from { transform: scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.小窓 { position: absolute; z-index: 6; display: flex; flex-direction: column; background: var(--窓); border: 1px solid #4a5668; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55); resize: both; overflow: hidden; zoom: calc(var(--lv10-表示倍率, 1) * var(--lv10-文字倍率, 1)); }
.小窓 .窓題 { font-size: 14px; padding: 5px 10px; }
.進み題注 { flex: 1; margin-left: 8px; font-size: 11px; font-weight: normal; color: var(--薄字); }
.小窓 .中身 { padding: 4px 10px 10px; font-size: 12px; overflow-y: auto; }
.進み見出し { display: flex; justify-content: space-between; margin: 8px 0 2px; font-size: 12px; color: var(--金); border-bottom: 1px solid var(--線); cursor: pointer; }
.進み見出し span { color: var(--薄字); font-weight: normal; }
.進み行 { display: flex; align-items: center; gap: 6px; padding: 2px; border-radius: 3px; cursor: pointer; }
.進み行:hover { background: rgba(255, 255, 255, 0.05); }
.進み行 .名 { flex: 0 1 10em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.進み行 .棒 { flex: 1; min-width: 40px; height: 7px; }
.進み行 .日 { min-width: 4.2em; text-align: right; }
.進み行.空き .名 { color: var(--金); font-style: italic; flex-basis: auto; }
.進み他 { color: var(--薄字); font-size: 11px; text-align: right; }

/* 工場の四角（軍需＝橙・民需＝水色・合成石油＝紫・建設中＝斜線・空き＝灰） */
.工場札 { display: inline-flex; flex-wrap: wrap; gap: 2px; vertical-align: middle; max-width: 100%; }
.工 { --工色: #e6c84a; display: inline-block; flex: none; width: 13px; height: 13px; border-radius: 2px; background: var(--工色); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); vertical-align: middle; }
.工.軍需 { --工色: #f0963c; }
.工.民需 { --工色: #6fd0f5; }
.工.合成 { --工色: #b98cf0; }
.工.空き { background: #343b46; box-shadow: inset 0 0 0 1px #5a6270; }
.工.建 { background: repeating-linear-gradient(135deg, var(--工色) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1.5px var(--工色); animation: 建の脈 1.6s ease-in-out infinite; }
@keyframes 建の脈 { 50% { opacity: 0.55; } }
.工場札.小 .工 { width: 10px; height: 10px; }
.工場欄 { display: flex; flex-direction: column; gap: 2px; }
.工場数 { color: var(--薄字); font-size: 11px; }
.工凡例 { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--薄字); margin: 2px 0 6px; }
.工凡例 span { display: inline-flex; align-items: center; gap: 4px; }
.工場行 { cursor: pointer; }
.工場行:hover { background: rgba(255, 255, 255, 0.04); }
.工場行 .名 { flex: 0 0 7.5em; min-width: 0; color: var(--字); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.工場行 .工場札 { flex: 1; }
.工場行 .日 { min-width: 3.5em; text-align: right; }
.力札々 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 8px; }
.力札 { --色: #888; padding: 6px 8px; border: 1px solid var(--線); border-top: 3px solid var(--色); border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.力札.軍需 { --色: #f0963c; cursor: pointer; }
.力札.軍需:hover { background: rgba(240, 150, 60, 0.08); }
.力札.民需 { --色: #6fd0f5; }
.力題 { display: flex; align-items: center; gap: 4px; }
.力題 b { font-size: 18px; color: #fff; margin-left: auto; }
.力値 b { color: var(--色); font-size: 15px; }
.民需帯 { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #333b48; margin: 4px 0 2px; }
.民需帯 i { display: block; height: 100%; }
.民需内訳 i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 3px; vertical-align: middle; }
.民需帯 i.消, .民需内訳 i.消 { background: #8a93a0; }
.民需帯 i.輸, .民需内訳 i.輸 { background: #e6c84a; }
.民需帯 i.建, .民需内訳 i.建 { background: #6fd0f5; }

/* 損耗（兵・組・補を字と % 付きの棒で） */
.師棒 { grid-column: 1 / 3; display: flex; gap: 8px; }
.損 { flex: 1; display: flex; align-items: center; gap: 3px; font-size: 11px; min-width: 0; }
.損 b { color: var(--薄字); font-weight: normal; }
.師棒 .損 .棒 { flex: 1; width: auto; min-width: 20px; height: 5px; }
.損値 { min-width: 2.6em; text-align: right; font-variant-numeric: tabular-nums; }
.損値.悪 { color: #ff8a7a; font-weight: bold; }

/* 海空・方面軍: 使い方・選んだ箱・地図で選ぶ・海の戦況 */
.使い方 { background: rgba(255, 216, 74, 0.06); border-left: 3px solid var(--金); padding: 4px 8px; border-radius: 3px; line-height: 1.7; }
.使い方 b { color: var(--金); }
.使い方 button { padding: 0 6px; }
.艦隊箱.選, .翼箱.選, .方面軍箱.選 { border-color: var(--金); box-shadow: 0 0 0 1px var(--金), 0 0 12px rgba(255, 216, 74, 0.3); }
button.地図選 { border-color: rgba(255, 216, 74, 0.6); color: #ffe680; }
.任説 { margin: 0; flex: 1 1 100%; }
.艦敵 { font-size: 12px; margin: 2px 0; }
.艦敵.悪 { color: #ff8a7a; font-weight: bold; }
.艦敵.中 { color: #ffd27a; }
.艦敵.良 { color: #8ef08e; }
.海況行 { padding: 4px; border-bottom: 1px dotted #2b3340; cursor: pointer; }
.海況行:hover { background: rgba(255, 255, 255, 0.04); }
.海況行.戦 { border-left: 3px solid #ff9a3c; padding-left: 6px; }
.海況名 { display: flex; justify-content: space-between; }
.海況名 .赤字 { color: #ff8a7a; }
.翼目標.有 > span:first-child { color: #ffe680; }
.翼箱 .軍名, .軍名[role=button] { cursor: pointer; }
.方針々 { display: inline-flex; gap: 3px; }
.方針ボ { border-left: 4px solid #888; }
.方針ボ.防衛 { border-left-color: #5aa8e6; }
.方針ボ.前進 { border-left-color: #e05a4a; }
.方針ボ.押.防衛 { background: #1f4a72; border-color: #5aa8e6; }
.方針ボ.押.前進 { background: #6a2a22; border-color: #e05a4a; }
.方針ボ.押.待機 { background: #3a3f48; border-color: #aaa; }
.軍顔 { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font-size: 10px; color: var(--薄字); }
.軍居 { font-size: 12px; color: #cfe3ff; cursor: pointer; margin: 2px 0; }
.軍居:hover { color: var(--金); }
.補充行 { font-size: 12px; margin: 4px 0; padding: 3px 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.03); border-left: 3px solid #888; line-height: 1.5; }
.補充行.良 { border-left-color: #5cd65c; }
.補充行.中 { border-left-color: #e6c84a; }
.補充行.悪 { border-left-color: #e05a4a; }
.補充行 .赤字 { color: #ff8a7a; }
.師一覧 { margin-top: 4px; max-height: 260px; overflow-y: auto; border-top: 1px solid var(--線); }
.師.小 { padding: 2px 4px; }
.費用々 { display: flex; flex-direction: column; gap: 2px; }
.費用 { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.費用 .名 { min-width: 4.5em; color: var(--薄字); }
.費用 b { min-width: 3.5em; text-align: right; font-variant-numeric: tabular-nums; }
.費用 .棒 { flex: 1; }
.費用 .日 { min-width: 9em; text-align: right; }
.費用.悪 b, .費用.悪 .日 { color: #ff8a7a; }
.表 td.日産 { font-variant-numeric: tabular-nums; color: #9fe09f; white-space: nowrap; }
button.新設ボ small { display: block; font-size: 10px; color: var(--薄字); line-height: 1.2; }
#選び帯 { position: absolute; left: 50%; top: calc(var(--上高, 38px) + 46px); transform: translateX(-50%); z-index: 26; display: flex; gap: 10px; align-items: center; padding: 6px 12px; background: rgba(60, 46, 8, 0.95); border: 2px solid var(--金); border-radius: 8px; font-size: 14px; color: #fff3c4; box-shadow: 0 0 18px rgba(255, 216, 74, 0.4); white-space: nowrap; max-width: 96vw; }
#地図.選び待ち { cursor: crosshair; }
#地図.札の上 { cursor: pointer; }
.方面軍箱 .軍強さ { white-space: nowrap; gap: 3px; flex-wrap: wrap; }
.方面軍箱 .軍強さ .棒 { width: 56px; }

/* 練度の札（新兵＝灰・訓練済＝白・熟練＝水色・精鋭＝金・古参＝濃い金。本人 11-26） */
.師棒 { flex-wrap: wrap; row-gap: 1px; }
.練札 { flex: none; font-size: 11px; padding: 0 6px; border-radius: 8px; background: #2a313c; color: #9aa3ad; white-space: nowrap; }
.練札 b { font-weight: normal; font-variant-numeric: tabular-nums; }
.練札.段1 { color: #e8e6df; background: #30394a; }
.練札.段2 { color: #bfe6ff; background: #22405a; }
.練札.段3 { color: #ffe9a0; background: #4a3c12; box-shadow: inset 0 0 0 1px rgba(255, 216, 74, 0.5); }
.練札.段4 { color: #fff3c4; background: #6b4e10; box-shadow: inset 0 0 0 1px var(--金), 0 0 6px rgba(255, 216, 74, 0.5); }

/* 兵器の窓（84_兵器窓） */
.兵器箱 { padding: 6px 8px; margin: 6px 0; border: 1px solid var(--線); border-left: 3px solid var(--金); border-radius: 6px; background: rgba(255, 255, 255, 0.02); }
.兵器頭 { display: flex; align-items: baseline; gap: 8px; }
.兵器系 { font-size: 11px; color: var(--薄字); min-width: 3.5em; }
.兵器名 { flex: 1; font-size: 16px; color: #fff3c4; }
.世代々 { display: flex; flex-wrap: wrap; gap: 3px; margin: 4px 0; }
.世代 { font-size: 11px; padding: 1px 7px; border-radius: 10px; border: 1px solid #3a4350; color: #6f7884; background: rgba(0, 0, 0, 0.2); }
.世代.済 { color: #c8b878; border-color: #6b5a20; }
.世代.今 { color: #111; background: var(--金); border-color: var(--金); font-weight: bold; }
.世代.研究中 { color: #bfe6ff; border-color: #5aa8e6; background: rgba(90, 168, 230, 0.15); }
.世代.可 { color: #e8e6df; border-color: #8a93a0; border-style: dashed; }
.世代 small { color: inherit; opacity: 0.85; }
.兵器効 { font-size: 12px; }
.効あり { color: #8ef08e; }
.次兵器 { margin-top: 4px; padding: 3px 6px; font-size: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.03); color: var(--薄字); }
.次兵器 b { color: var(--字); }
.次兵器.可 { cursor: pointer; border: 1px dashed rgba(255, 216, 74, 0.5); }
.次兵器.可:hover { background: rgba(255, 216, 74, 0.08); }
.次兵器.可 .次状 { color: var(--金); }
.次兵器.中 .次状 { color: #8ec8ff; }
.性能表 td.性値 { font-variant-numeric: tabular-nums; white-space: nowrap; }
.性能表 td.性名 { white-space: nowrap; }
.性差 { font-style: normal; font-size: 10px; margin-left: 3px; }
.性差.増 { color: #8ef08e; }
.性差.減 { color: #ff8a7a; }
.性能表 { font-size: 12px; }
.性能表 th, .性能表 td { padding: 2px 3px; }
.性能表 .性差 { display: block; margin: 0; line-height: 1; }

/* 順位の窓（87_順位窓）・練度の表・警備 */
.順位表 td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.順位表 tr.我 td { background: rgba(255, 216, 74, 0.12); color: #fff3c4; }
.順位表 tr[role=button] { cursor: pointer; }
.順位表 tr[role=button]:hover td { background: rgba(255, 255, 255, 0.05); }
.順国 .色 { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.順状 { margin-left: 4px; font-size: 10px; padding: 0 4px; border-radius: 6px; background: #2a313c; }
.順状.敵 { color: #ff8a7a; } .順状.味方 { color: #8ef08e; } .順状.傀儡 { color: #c89cff; }
.順点 { font-weight: bold; text-align: right; }
.順差.増 { color: #8ef08e; } .順差.減 { color: #ff8a7a; }
.推移 svg { display: block; }
.練度表 td { white-space: nowrap; }
button.警備ボ { border-color: #6fa0d0; color: #cfe3ff; }
.順位表 { font-size: 12px; }
.順位表 th, .順位表 td { padding: 2px 3px; white-space: nowrap; }

/* 使い方は「？」で出す（初めは隠す）・止めている間の金の枠・急ぐこと */
.中身 .使い方 { display: none; }
.中身.説明 .使い方 { display: block; }
.窓題 .説明ボ { margin-left: auto; margin-right: 6px; padding: 0 8px; font-size: 13px; }
#ゲーム.止め中::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3; box-shadow: inset 0 0 0 3px rgba(255, 216, 74, 0.55), inset 0 0 18px rgba(255, 216, 74, 0.18); }
.進み見出し.急 { color: #ff9a8a; }
.急行 { border-left: 3px solid #888; padding-left: 5px; }
.急行.赤 { border-left-color: #e05a4a; color: #ffc0b4; }
.急行.黄 { border-left-color: #e6c84a; color: #ffe9a0; }
.急行.灰 { border-left-color: #6f7884; }
.急行 .名 { flex: 1 1 auto; white-space: normal; }

/* 運び（86_運び）・軍の帯・窓の切り替えの札・建設の順・訓練の取り消し */
.運び影 { position: fixed; z-index: 9999; pointer-events: none; padding: 3px 10px; border-radius: 6px; background: rgba(60, 46, 8, 0.95); border: 1px solid var(--金); color: #fff3c4; font-size: 13px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6); }
body.運び中, body.運び中 * { cursor: grabbing !important; user-select: none; }
[data-運] { cursor: grab; }
.受け中 { outline: 2px dashed var(--金) !important; outline-offset: -2px; background: rgba(255, 216, 74, 0.12) !important; }
#軍帯 .中身 { padding: 4px 6px 8px; }
.軍札 { border: 1px solid var(--線); border-left: 3px solid #5aa8e6; border-radius: 6px; padding: 4px 6px; margin: 4px 0; background: rgba(255, 255, 255, 0.02); }
.軍札.選 { border-color: var(--金); box-shadow: 0 0 0 1px var(--金); }
.軍札.外 { border-left-color: #6f7884; }
.軍札頭 { display: flex; align-items: center; gap: 5px; }
.軍札頭 .小顔 { width: 24px; height: 24px; border-radius: 4px; }
.軍札名 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; font-size: 12px; }
.軍札名:hover { color: var(--金); }
.軍札目 { color: #ffe680; font-size: 10px; white-space: nowrap; }
.方針々.小 button { padding: 0 4px; font-size: 11px; min-width: 0; border-left-width: 3px; }
.軍札数 { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--薄字); margin: 2px 0; }
.軍札数 .棒 { flex: 1; height: 4px; }
.師札々 { display: flex; flex-wrap: wrap; gap: 2px; }
.師札 { width: 15px; height: 15px; border-radius: 3px; font-size: 9px; line-height: 15px; text-align: center; color: #111; font-weight: bold; background: linear-gradient(0deg, var(--兵, #5cd65c) var(--割, 100%), #3a414c var(--割, 100%)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5); }
.師札.選 { box-shadow: 0 0 0 2px var(--金); }
.師札.訓 { background: #3a5a7a; color: #cfe3ff; }
.師札.攻 { box-shadow: inset 0 0 0 1.5px #e05a4a; }
.師札.警 { border-radius: 50%; }
.師札:hover { transform: scale(1.25); }
.窓札々 { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px 8px; border-bottom: 1px solid var(--線); background: rgba(0, 0, 0, 0.15); }
.窓札 { font-size: 11px; padding: 1px 6px; }
.窓札 small, #窓ボタン .鍵字 { margin-left: 3px; font-size: 9px; color: var(--薄字); }
.窓札.押 small, #窓ボタン button.押 .鍵字 { color: #fff3c4; }
.建順 { min-width: 1.4em; text-align: right; color: var(--薄字); font-variant-numeric: tabular-nums; }
.建順行 { cursor: grab; }
button.訓取消 { grid-column: 1 / 3; justify-self: end; font-size: 11px; padding: 0 6px; }

/* 一覧の窓（87_一覧窓）: 見出しで並べ替え・字で絞る・行を押すと地図へ */
.一札々 { display: flex; gap: 3px; margin: 2px 0 6px; }
.一札々 .窓札 { font-size: 12px; padding: 2px 12px; }
.一上 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.一絞 { flex: 0 1 160px; min-width: 80px; padding: 2px 6px; background: #12161c; color: #e8ecf1; border: 1px solid var(--線); border-radius: 4px; }
.一副 { font-size: 11px; color: var(--薄字); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.一表 { font-size: 11px; width: 100%; }
.一表 th, .一表 td { padding: 1px 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.一表 th.一見 { cursor: pointer; user-select: none; text-align: left; }
.一表 th.一見:hover { color: var(--金); }
.一表 th.一見.今 { color: #fff3c4; }
.一表 tr[role=button] { cursor: pointer; }
.一表 tr[role=button]:hover td { background: rgba(255, 255, 255, 0.06); }
.一表 tr.選 td { background: rgba(255, 216, 74, 0.14); }
.一表 tr.他 td { opacity: 0.6; }
.一表 .悪 { color: #ff8a7a; } .一表 .良 { color: #8ef08e; }
.一名.攻 { color: #ffb0a0; }
.一自 { color: #fff3c4; }
.一棒 { display: inline-flex; align-items: center; gap: 3px; }
.一棒 .棒 { width: 22px; }
.戦種 { display: inline-block; min-width: 1.6em; text-align: center; border-radius: 4px; font-size: 11px; padding: 0 3px; background: #3a414c; }
.戦種.陸 { background: #5a4a2a; color: #ffe0a0; } .戦種.海 { background: #234a6a; color: #cfe3ff; } .戦種.空 { background: #3a3a6a; color: #dcd0ff; }.一巻 { overflow-x: auto; }
.一表 td:first-child, .一表 th:first-child { position: sticky; left: 0; z-index: 1; background: #141921; }.一表 td { max-width: 6.5em; overflow: hidden; text-overflow: ellipsis; }
.一表 td .練札 { padding: 0 3px; }.一表 td:first-child { max-width: 9em; }

/* 行き先の見込み（86_見込み）: 師団を選んで地図の上へ動かすと 経路・着く日数・力の比 */
#見込み帯 { position: absolute; left: 50%; top: calc(var(--上高, 38px) + 8px); transform: translateX(-50%); z-index: 25; display: flex; gap: 12px; align-items: center; padding: 4px 12px; background: rgba(16, 20, 28, 0.94); border: 1px solid #5a6678; border-radius: 8px; font-size: 13px; color: #e8e6df; white-space: nowrap; max-width: 92vw; pointer-events: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
#見込み帯 b { color: #fff3c4; }
#見込み帯 .見先 { font-weight: bold; color: var(--金); }
#見込み帯 .見先.攻 { color: #ff9a8a; }
#見込み帯 .見道 { overflow: hidden; text-overflow: ellipsis; max-width: 40vw; color: var(--薄字); }
#見込み帯 .見比.良 { color: #8ef08e; } #見込み帯 .見比.並 { color: #ffe680; } #見込み帯 .見比.悪 { color: #ff8a7a; }
#見込み帯 .見不 { color: #ff6a5a; font-weight: bold; }
#見込み帯 .見上 { color: #8ec8ff; }
/* 展開の帯（86_展開帯）: 右下に軍団の札を横に並べる（番号・顔・構え・地方・師団の数・戦力） */
#展開帯 { position: absolute; right: 10px; bottom: 8px; z-index: 5; display: flex; align-items: flex-end; gap: 6px; max-width: 64%; overflow-x: auto; padding: 2px; zoom: calc(var(--lv10-表示倍率, 1) * var(--lv10-文字倍率, 1)); }
#展開帯 button.展たたむ, #展開帯 button.展開く { align-self: flex-end; padding: 2px 8px; font-size: 12px; background: rgba(16, 20, 28, 0.9); border: 1px solid #4a5668; border-radius: 6px; color: var(--薄字); cursor: pointer; }
#展開帯 button.展開く { color: var(--金); }
.展札 { flex: 0 0 auto; width: 172px; padding: 5px 7px 6px; background: linear-gradient(180deg, rgba(28, 34, 46, 0.95), rgba(14, 18, 26, 0.95)); border: 1px solid #3c4656; border-left: 3px solid #888; border-radius: 7px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55); cursor: pointer; font-size: 12px; color: #e8e6df; transition: transform 0.12s, box-shadow 0.12s; }
.展札:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); }
.展札.選 { border-color: var(--金); box-shadow: 0 0 0 1px var(--金), 0 0 12px rgba(255, 216, 74, 0.35); }
.展札.攻 { border-left-color: #e05a4a; } .展札.防 { border-left-color: #5aa8e6; } .展札.待 { border-left-color: #9aa2ae; } .展札.警 { border-left-color: #5cd65c; } .展札.手 { border-left-color: #d8a838; }
.展札.受け中 { box-shadow: 0 0 0 2px #8ef08e; }
.展頭 { display: flex; align-items: center; gap: 5px; }
.展鍵 { font: bold 10px/14px sans-serif; color: #111; background: var(--金); border-radius: 3px; padding: 0 3px; flex: 0 0 auto; }
.展頭 .展顔, .展印 { width: 28px; height: 28px; border-radius: 5px; flex: 0 0 auto; }
.展印 { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; background: #26303e; border: 1px solid #3c4656; }
.展名 { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.展名 b, .展名 small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.展名 b { font-size: 13px; color: #fff3c4; }
.展名 small { font-size: 10px; color: var(--薄字); }
.展行 { display: flex; align-items: center; gap: 4px; margin: 4px 0 2px; white-space: nowrap; overflow: hidden; }
.展構え { font-size: 11px; font-weight: bold; padding: 0 6px; border-radius: 3px; border: 1px solid #555; background: #2a3039; color: #ddd; line-height: 16px; }
button.展構え { cursor: pointer; }
.展構え.攻 { background: #6a2a22; border-color: #e05a4a; color: #ffd0c8; }
.展構え.防 { background: #1f4a72; border-color: #5aa8e6; color: #d4ebff; }
.展構え.待 { background: #3a3f48; border-color: #9aa2ae; }
.展構え.警 { background: #1f4a2a; border-color: #5cd65c; color: #d4ffd4; }
.展構え.手 { background: #4a3a14; border-color: #d8a838; color: #ffe8b0; }
.展目 { color: #ffe680; font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.展交 { color: #ff8a7a; font-size: 11px; } .展訓 { color: #8ec8ff; font-size: 11px; }
.展居 { font-size: 11px; color: #cfd6e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.展数 { display: flex; justify-content: space-between; font-size: 11px; color: var(--薄字); margin-top: 2px; }
.展数 b { color: #fff; font-size: 13px; margin-right: 1px; }
.展棒 { display: flex; flex-direction: column; gap: 2px; margin-top: 3px; }
.展棒 .棒 { width: 100%; height: 4px; }