/* R8 基本スタイル。舞台は 1280×720 固定で、窓に合わせて拡大縮小する（000_基盤.js の 舞台合わせ）。 */
:root {
  --地: #0d1a12;
  --板: #1c3326;
  --板2: #24402f;
  --板3: #2e5039;
  --枠: #b89b4a;
  --枠淡: #6f6233;
  --字: #f3efd9;
  --字淡: #b8b39a;
  --赤: #c0504d;
  --赤淡: #5a2322;
  --青: #3a86c8;
  --青淡: #1d3a57;
  --黄: #e8d23a;
  --黄淡: #4d4515;
  --白: #e8e8e0;
  --白淡: #4a4a44;
  --橙: #e08a2e;
  --緑: #5fc46a;
  --注目: #ffe36b;
  --文字倍率: var(--lv10-文字倍率, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif; color: var(--字); user-select: none; }
#外枠 { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; }
#舞台 {
  position: relative; width: 1280px; height: 720px; flex: none;
  background: radial-gradient(ellipse at 50% 30%, #1f3a2a, var(--地) 70%);
  transform-origin: center center; overflow: hidden;
  font-size: calc(16px * var(--文字倍率));
}
button { font-family: inherit; }

/* ---- 画面 ---- */
.画面 { position: absolute; inset: 0; display: none; }
.画面.表示 { display: block; }
.画面.入場 { animation: 画面入 .22s ease-out; }   /* 別の画面に替わった時（000 RQ.画面.切替・2026-11-17） */
@keyframes 画面入 { from { opacity: 0; } to { opacity: 1; } }

/* ---- 汎用部品 ---- */
.板 { background: linear-gradient(180deg, var(--板2), var(--板)); border: 2px solid var(--枠淡); border-radius: 6px; box-shadow: inset 0 0 0 1px #0008; }
.見出し { background: linear-gradient(180deg, #5b4b1f, #3b3013); color: var(--注目); font-weight: bold; padding: 4px 10px; border-radius: 4px 4px 0 0; letter-spacing: .1em; }
.釦 {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 34px; padding: 4px 14px; border-radius: 5px; cursor: pointer;
  background: linear-gradient(180deg, #4b5d3e, #2b3a23); color: var(--字);
  border: 2px solid var(--枠淡); font-size: 1em; font-weight: bold;
}
.釦:hover { border-color: var(--枠); }
.釦.大 { min-height: 48px; font-size: 1.2em; padding: 6px 26px; }
.釦.無効, .釦:disabled { opacity: .4; cursor: default; }
.釦.赤 { background: linear-gradient(180deg, #8a3331, #4c1716); }
.釦.青 { background: linear-gradient(180deg, #2d6aa0, #173a5a); }
.lv10-focus, .pad-focus { outline: 3px solid var(--注目) !important; outline-offset: 1px; box-shadow: 0 0 12px var(--注目) !important; z-index: 5; }
.数 { font-family: "Consolas", "MS Gothic", monospace; font-weight: bold; }
.淡 { color: var(--字淡); }
.右寄 { text-align: right; }

/* ---- 通知 ---- */
#通知 { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 3000; pointer-events: none; display: flex; flex-direction: column; gap: 6px; align-items: center; }
#通知 .札 { background: #000d; border: 1px solid var(--枠); color: var(--字); padding: 8px 18px; border-radius: 6px; font-size: 16px; animation: 通知消 3.2s forwards; }
/* 実績の札（526 杯の札。2026-11-17）: 杯の印・金の地と字、出る時に一度光る */
#通知 .札.実績 { display: flex; align-items: center; gap: 8px; color: #ffe9a0; border-color: #e8d23a; border-left-color: #ffd23a; background: linear-gradient(90deg, rgba(70, 58, 16, .96), rgba(16, 24, 19, .95)); box-shadow: 0 0 0 1px #e8d23a55, 0 0 18px #e8d23a55, 0 6px 20px rgba(0, 0, 0, .5); }
#通知 .札.実績 .実績杯 { display: inline-flex; width: 20px; height: 20px; color: #ffd23a; filter: drop-shadow(0 0 4px #ffd23a); }
#通知 .札.実績 .実績杯 svg { width: 100%; height: 100%; }
/* 加入の札（527 人.加入の札。2026-11-17）: 小さい顔（3:4）と青い光 */
#通知 .札.加入 { display: flex; align-items: center; gap: 10px; border-left-color: #5aa8ff; box-shadow: 0 0 0 1px #5aa8ff55, 0 0 16px #5aa8ff44, 0 6px 20px rgba(0, 0, 0, .5); }
#通知 .札.加入 .加入顔 { width: 27px; height: 36px; border-radius: 3px; background: center top / cover no-repeat; box-shadow: 0 0 0 1px #fff4; flex: none; }
@keyframes 通知消 { 0% { opacity: 0; transform: translateY(-6px); } 8% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }

/* ---- タイトル ---- */
#画面_タイトル { background: radial-gradient(ellipse at 50% 40%, #35573f, #081009 75%); background-size: cover; background-position: center; }
/* キービジュアル（本人支給 DG7top大.jpg.webp 1448×2048 縦長）を右に全高で。左端はぼかして背景へ溶かす。題とメニューは左の空きの中央 */
#画面_タイトル .キービジュアル { position: absolute; right: 0; top: 0; height: 720px; width: auto; pointer-events: none; }   /* 絵は全高で全部見せ、切らない・マスクしない。溶かすのは絵の左に足した余白の中（tools/タイトル絵.py。2026-11-05 本人） */
#画面_タイトル .タ夜空 { position: absolute; inset: 0; background-size: 1280px 720px; background-position: 345px 0; background-repeat: no-repeat; transform: scaleX(-1); }
#画面_タイトル .題, #画面_タイトル .副題 { right: 640px !important; }
#画面_タイトル .選択 { left: 320px !important; }
#画面_タイトル .題 { position: absolute; left: 0; right: 0; top: 160px; text-align: center; font-size: 56px; font-weight: bold; color: var(--注目); text-shadow: 0 4px 0 #3b3013, 0 0 3px #000, 0 0 14px #000d, 0 0 30px #0009; letter-spacing: .15em; }   /* 背景の絵が明るくても読めるように黒の縁（2026-11-05） */
#画面_タイトル .副題 { position: absolute; left: 0; right: 0; top: 250px; text-align: center; font-size: 22px; color: #f4efe0; letter-spacing: .4em; text-shadow: 0 1px 3px #000, 0 0 3px #000, 0 0 10px #000; }
#画面_タイトル .選択 { position: absolute; left: 50%; top: 380px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 14px; width: 320px; }
#画面_タイトル .版 { position: absolute; right: 16px; bottom: 10px; color: var(--字淡); font-size: 13px; text-shadow: 0 0 3px #000, 0 1px 3px #000; }
/* タイトルの動き（210）: 題に光が走る・光の粒が舞いのぼる・開くと 題→副題→メニュー の順に浮かぶ */
#画面_タイトル .題::after { content: attr(data-字); position: absolute; inset: 0; color: transparent; text-shadow: none; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, #fffbe0d0 50%, transparent 58%); background-size: 260% 100%; background-position: 130% 0;
  -webkit-background-clip: text; background-clip: text; animation: 題光 6s ease-in-out 1.4s infinite; }
@keyframes 題光 { 0% { background-position: 130% 0; } 35%, 100% { background-position: -30% 0; } }
#画面_タイトル.入場 .題 { animation: 題入 1.2s cubic-bezier(.2, .8, .3, 1) both; }
#画面_タイトル.入場 .副題 { animation: 題入 1s ease-out .45s both; }
#画面_タイトル.入場 .選択 { animation: 選入 .8s ease-out .8s both; }
@keyframes 題入 { from { opacity: 0; letter-spacing: .45em; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes 選入 { from { opacity: 0; margin-top: 18px; } to { opacity: 1; margin-top: 0; } }
.タ粒 { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.タ粒 span { position: absolute; bottom: -10px; border-radius: 50%; background: radial-gradient(circle, #fff6c8, #ffd76b88 45%, #ffd76b00 70%); box-shadow: 0 0 6px #ffe39a; animation: 粒昇 linear infinite; }
@keyframes 粒昇 { 0% { transform: translate(0, 0); } 25% { transform: translate(14px, -190px); } 50% { transform: translate(-8px, -380px); } 75% { transform: translate(12px, -570px); } 100% { transform: translate(0, -760px); } }
@media (prefers-reduced-motion: reduce) { .タ粒, #画面_タイトル .題::after { display: none; } #画面_タイトル.入場 .題, #画面_タイトル.入場 .副題, #画面_タイトル.入場 .選択 { animation: none; } }

/* ---- 拠点（本家の3段: 上＝タブと本体／下＝パーティー欄／最下段＝フッター） ---- */
/* 左上 250×60 は Lv10 共通UIの予約域なのでタブは x=250 から、本体は y=60 から */
.上タブ { position: absolute; left: 250px; right: 10px; top: 6px; height: 48px; display: flex; gap: 6px; }
.上タブ .タブ { flex: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.15em; font-weight: bold; border: 2px solid var(--枠淡); border-bottom: none; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #2f4a37, #1b2d21); color: var(--字淡); }
.上タブ .タブ.選択中 { background: linear-gradient(180deg, #d08a2a, #7a4a13); color: #fff; border-color: var(--注目); }
.上タブ .タブ .タブ絵 { width: 20px; height: 20px; margin-right: 8px; opacity: .75; filter: drop-shadow(0 1px 0 #0008); }   /* v0.1.136 タブの絵 */
.上タブ .タブ .タブ絵 svg { width: 100%; height: 100%; display: block; }
.上タブ .タブ.選択中 .タブ絵 { opacity: 1; color: #ffe9b0; }
.帯絵 { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; opacity: .8; }   /* v0.1.141 下帯の釦の絵 */
.帯絵 svg { width: 100%; height: 100%; display: block; }
.本体 { position: absolute; left: 10px; right: 10px; top: 60px; bottom: 192px; }
.編成中 .本体 { bottom: 36px; }
.編成中 .下隊列 { display: none; }
/* パーティー欄: 前1・後4・前2・後5・前3。前列は上寄せ、後列は下寄せ */
.下隊列 { position: absolute; left: 10px; right: 10px; bottom: 34px; height: 156px; display: flex; gap: 6px; }
.下隊列 .キャラ札 { height: 138px; }
.下隊列 .キャラ札.列_前 { align-self: flex-start; }
.下隊列 .キャラ札.列_後 { align-self: flex-end; }
.下帯 { position: absolute; left: 0; right: 0; bottom: 0; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: linear-gradient(180deg, #2a2a2a, #111); border-top: 1px solid var(--枠淡); font-size: 15px; }
.下帯 .釦 { min-height: 26px; padding: 0 12px; font-size: 14px; }
.下帯 .項 { display: flex; align-items: center; gap: 6px; padding: 0 10px; border-left: 1px solid #444; }
.下帯 .項 .数 { color: var(--注目); }
/* 手応え（220 拠.手応え・221 スキル取得）: 光って字が浮く */
.下帯 .項, .キ技, .キ可表 .行 { position: relative; }
.手応え { animation: 手応え .6s ease-out; }
@keyframes 手応え { 0% { background-color: #ffe36b66; box-shadow: 0 0 12px #ffe36b; } 100% { background-color: transparent; box-shadow: none; } }
.浮字 { position: absolute; right: 12px; top: 50%; font-weight: bold; font-size: 15px; pointer-events: none; text-shadow: 0 0 3px #000, 0 1px 2px #000; animation: 浮字 1s ease-out forwards; z-index: 5; white-space: nowrap; }
.浮字.増 { color: #7aff9a; } .浮字.減 { color: #ff8a7a; }
.下帯 .浮字 { top: -6px; right: 0; }
.店一覧 .浮字 { right: 110px; } .キ済表 .浮字 { right: 165px; } .キ可表 .浮字 { right: 80px; }
@keyframes 浮字 { 0% { opacity: 0; transform: translateY(-30%) scale(.7); } 15% { opacity: 1; transform: translateY(-70%) scale(1.15); } 30% { transform: translateY(-80%) scale(1); } 65% { opacity: 1; } 100% { opacity: 0; transform: translateY(-190%); } }
/* タブごとの背景（本拠地の絵）。絵がある時だけ板を半透明にして背景を透かす */
#画面_拠点 { background-size: cover; background-position: center; }
#画面_拠点.背景あり .板 { background: linear-gradient(180deg, #24402fa8, #1c3326b8); }
#画面_拠点.背景あり .ク左 { background-color: #1c3326b8; }
.拠点地 { color: var(--注目); font-weight: bold; }
.ログ一覧 { max-height: 520px; }
.ログ行 { cursor: default; font-size: 14px; }
.ログ時 { width: 90px; flex: none; font-size: 12px; }
.帯ゲージ { width: 70px; height: 8px; background: #0008; border: 1px solid #555; border-radius: 4px; overflow: hidden; }
.帯ゲージ .量 { height: 100%; background: linear-gradient(90deg, #b89b4a, #ffe36b); }

/* ---- キャラ札（隊列・戦闘） ---- */
.キャラ札 { position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: 22px 1fr 18px; gap: 2px 6px; padding: 4px; }
.キャラ札.空 { display: flex; align-items: center; justify-content: center; background: #0003; border: 2px dashed #ffffff22; }
.空番 { font-size: 56px; color: #ffffff22; }
/* 前列・後列の印（札の左上）と縁の色: 前＝暖色、後＝寒色 */
.列印 { position: absolute; left: -2px; top: -2px; z-index: 2; font-size: 12px; font-weight: bold; padding: 0 6px; border-radius: 6px 0 6px 0; }
.列印.前 { background: #8a4a2a; color: #ffd9c0; } .列印.後 { background: #2a5a8a; color: #cfe6ff; }
.キャラ札.列_前 { border-left: 4px solid #8a4a2a; } .キャラ札.列_後 { border-left: 4px solid #2a5a8a; }
.キャラ札.持 { border-color: var(--注目); box-shadow: 0 0 12px var(--注目); }
.札職 { font-size: 11px; color: var(--字淡); font-weight: normal; margin-left: 6px; }
.札Lv { float: right; font-size: 12px; color: var(--字淡); }
.キャラ札 .名 { grid-column: 1 / 3; font-weight: bold; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 20px; }
.キャラ札 .顔 { grid-row: 2; height: auto; min-height: 76px; align-self: stretch; }   /* 技の欄の高さまで縦に伸ばす（2026-10-31 本人「高さの余りの分だけ長方形に」） */
.キャラ札 .技 { grid-row: 2; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.キャラ札 .体 { grid-column: 1 / 3; }
.顔 { position: relative; width: 76px; height: 102px; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: bold; color: #fff; text-shadow: 0 2px 3px #000; border: 1px solid #0008; }
.顔 .職 { position: absolute; left: 2px; top: 2px; font-size: 11px; background: #000a; padding: 0 3px; border-radius: 3px; text-shadow: none; }
.顔 .lv { position: absolute; right: 2px; bottom: 2px; font-size: 12px; background: #000a; padding: 0 3px; border-radius: 3px; text-shadow: none; }
/* 肖像（018_顔.js）: 98×122 の札の上の正方形だけ（下の名前の焼き込みは切る）。職の色は下の帯で残す */
/* 2026-10-31 本人「正方形にする必要は無い。高さの余りの分だけ長方形に」: 枠が縦長でも埋まるよう cover（正方形の枠では前と同じ）。
   レベテンの札（.札絵）は 高さの 125%＝上の 80%（名前の上まで）を枠の高さに合わせ、はみ出す左右を切る */
.顔.絵あり { background-size: cover !important; background-position: center top !important; background-repeat: no-repeat !important; box-shadow: inset 0 -4px 0 var(--職色, #0006), inset 0 0 0 1px #fff3; }
.顔.絵あり.札絵 { background-size: auto 125% !important; }
.顔.絵あり.職_ファイター { --職色: #a8553a; } .顔.絵あり.職_ガード { --職色: #3f7fb8; } .顔.絵あり.職_ガンナー { --職色: #8c9a3a; } .顔.絵あり.職_ソーサラー { --職色: #8a4cb8; }
.顔.絵あり.職_ヒーラー { --職色: #c8648c; } .顔.絵あり.職_レンジャー { --職色: #2f8a78; } .顔.絵あり.職_スパルタ { --職色: #b8862f; } .顔.絵あり.職_シビリアン { --職色: #7a7a7a; }
.職_ファイター { background: linear-gradient(135deg, #a8553a, #5a2415); }
.職_ガード { background: linear-gradient(135deg, #3f7fb8, #1b3c5c); }
.職_ガンナー { background: linear-gradient(135deg, #8c9a3a, #454d15); }
.職_ソーサラー { background: linear-gradient(135deg, #8a4cb8, #3c1c5a); }
.職_ヒーラー { background: linear-gradient(135deg, #d27a9a, #6a2a42); }
.職_レンジャー { background: linear-gradient(135deg, #3a9a86, #154a3e); }
.職_スパルタ { background: linear-gradient(135deg, #c28a2e, #5e3d0c); }
.職_シビリアン { background: linear-gradient(135deg, #8a8a8a, #3a3a3a); }
.技行 { display: flex; justify-content: space-between; align-items: center; height: 20px; padding: 0 6px; border-radius: 3px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.技行 .回 { font-family: Consolas, monospace; font-weight: bold; margin-left: 6px; }
.技行.赤 { background: linear-gradient(90deg, #a8413f, #5a1d1c); }
.技行.青 { background: linear-gradient(90deg, #2f73b0, #183a5c); }
.技行.黄 { background: linear-gradient(90deg, #d6c233, #6e6212); color: #2a2200; }
.技行.白 { background: linear-gradient(90deg, #dcdcd2, #7a7a70); color: #222; }
.技行.橙 { background: linear-gradient(90deg, #e08a2e, #6e3c0c); }
.技行.尽 { filter: grayscale(1) brightness(.6); }
.体棒 { position: relative; height: 16px; background: #0008; border: 1px solid #000; border-radius: 3px; overflow: hidden; font-size: 11px; }
.体棒 .量 { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #2fa84a, #8be08f); }
.体棒 .量.危 { background: linear-gradient(90deg, #b83a2f, #e0808b); }
/* HP の残像（420 HP棒）: 減った分は白→赤で少し残ってから左へ縮む。増えた分は緑に光って消える */
.HP影 { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.HP影.減 { background: linear-gradient(180deg, #fff, #ffb0a0); transform-origin: left center; animation: HP減 .9s ease-in both; }
.HP影.増 { background: #b8ffc8; mix-blend-mode: screen; animation: HP増 .9s ease-out both; }
@keyframes HP減 { 0%, 30% { transform: scaleX(1); opacity: 1; background: #fff; } 45% { background: #ff8a70; } 100% { transform: scaleX(0); opacity: .9; background: #d04030; } }
@keyframes HP増 { 0% { opacity: .95; } 100% { opacity: 0; } }
.体棒 .字 { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 4px; text-shadow: 0 1px 2px #000; font-family: Consolas, monospace; }

/* ---- 一覧（汎用の表） ---- */
.一覧 { overflow-y: auto; }
.一覧::-webkit-scrollbar { width: 10px; }
.一覧::-webkit-scrollbar-thumb { background: var(--枠淡); border-radius: 5px; }
.行 { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-bottom: 1px solid #0006; cursor: pointer; min-height: 30px; }
.行:hover { background: #ffffff10; }
.行.選択中 { background: #b89b4a33; outline: 1px solid var(--枠); }
.行.無効 { opacity: .45; }

/* ---- 窓（モーダル） ---- */
/* 窓は y=60 より下に出す（左上は Lv10 共通UIの予約域） */
.窓幕 { position: absolute; inset: 0; padding-top: 60px; background: #000a; display: flex; align-items: center; justify-content: center; z-index: 500; }
.窓 { min-width: 420px; max-width: 1240px; max-height: 650px; display: flex; flex-direction: column; }
.窓 .窓中 { padding: 12px 16px; overflow-y: auto; }
.窓 .窓下 { display: flex; gap: 10px; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid #0006; }

/* ---- 会話レイヤー（セリフ.css を舞台サイズに合わせる） ---- */
#Goセリフレイヤー { z-index: 2500; }

/* ---- 戦闘 ---- */
/* 本家の配置: 上＝敵／左下に行動順／下＝味方（前列3が上段・後列2が下段で互い違い）／左＝敗北・AUTO／右下＝残りタイム。
   左上 250×60 は Lv10 共通UIの予約域（実測でアイコンが x=240 まで）なので、敵・味方は x=250 から */
#画面_戦闘 { background: linear-gradient(180deg, #2b4a5e 0%, #3d6a4a 38%, #1c2f22 46%, #142219 100%); }
.戦場 { position: absolute; inset: 0; }
.敵域 { position: absolute; left: 250px; right: 10px; top: 4px; height: 324px; display: flex; flex-direction: column; gap: 6px; }
.味方域 { position: absolute; left: 250px; right: 10px; top: 372px; height: 318px; display: flex; flex-direction: column; gap: 6px; }
/* 列の帯: 前列＝暖色、後列＝寒色。左端に縦書きの列名 */
.列帯 { position: relative; display: flex; border-radius: 10px; border: 1px solid #ffffff18; }
.列帯.前 { background: linear-gradient(90deg, #8a4a2a55, #8a4a2a22); }
.列帯.後 { background: linear-gradient(90deg, #2a5a8a55, #2a5a8a22); }
.列帯.敵.後 { height: 146px; } .列帯.敵.前 { height: 172px; }
.列帯.味 { height: 156px; }
.列帯.味.後 { align-self: center; width: 700px; }
.列帯.味 .列中 { padding: 3px 6px; gap: 10px; align-items: center; }
.列帯.空帯 { opacity: .45; }
.列帯.狙える帯 { border-color: var(--注目); box-shadow: inset 0 0 18px #ffe36b33; }
.列名 { width: 30px; flex: none; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; letter-spacing: .3em; font-weight: bold; font-size: 15px; border-radius: 10px 0 0 10px; }
.列帯.前 .列名 { background: #8a4a2acc; color: #ffd9c0; }
.列帯.後 .列名 { background: #2a5a8acc; color: #cfe6ff; }
.列中 { flex: 1; display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 18px 8px 4px; }
/* 敵札 */
.敵札 { width: 196px; background: #000a; border: 2px solid #0000; border-radius: 8px; padding: 4px 6px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.敵札.ボス { border-color: #c0504d; }
.敵札.倒 { opacity: .15; }
.敵札.狙える { border-color: #ffe36b88; cursor: pointer; }
.敵札.届かない::after { content: '✕'; position: absolute; inset: 0; border-radius: 6px; background: #000b; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: bold; color: #ff5a5a; pointer-events: none; }
.敵名 { font-weight: bold; font-size: 15px; color: #ffd0c0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.敵種 { font-size: 11px; color: var(--字淡); }
.敵体 { height: 70px; border-radius: 50% 50% 10px 10px; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: bold; color: #fff; text-shadow: 0 3px 4px #000; border: 1px solid #0006; }
.列帯.後 .敵札 { width: 170px; }
.列帯.後 .敵体 { height: 44px; font-size: 28px; }
/* 敵の影絵（019_敵の絵.js）。.敵体 の色板をやめて、暗い台座の上に影絵 */
.敵体 { background: radial-gradient(ellipse at 50% 85%, #ffffff14, #0000 70%), linear-gradient(#0000, #0006) !important; border-radius: 6px; overflow: hidden; }
.列帯.前 .敵体 { height: 86px; }   /* 96 だと札 179 が帯 172 より高く上へはみ出した（2026-11-08 手順_敵札のはみ出し.js） */
.列帯.敵 .列中 { padding-bottom: 2px; }
.敵絵 { width: 100%; height: 100%; display: block; }
.敵絵 .身 { stroke-width: 1.2; stroke-linejoin: round; }
.敵絵 .身 > *:not([fill="none"]):not(g) { stroke: #000a; }
.敵絵 .影 { fill: #000b; stroke: #000c; }
.敵絵 .目 { fill: #ffe27a; stroke: none; filter: drop-shadow(0 0 2px #ffcf40); }
.敵絵.形_骸骨 .目, .敵絵.形_魔族 .目, .敵絵.形_竜 .目, .敵絵.形_亡霊 .目 { fill: #ff6a5a; filter: drop-shadow(0 0 3px #ff3020); }
.敵絵 .玉 { fill: #9fe8ff; stroke: none; filter: drop-shadow(0 0 4px #6fd8ff); }
.敵絵 .透 { opacity: .78; }
.敵絵 .光沢 { fill: #ffffff55; stroke: none; }
.列帯.後 .敵体 { height: 60px; min-height: 60px; flex: none; }   /* 64 だと後列の札の上端が画面の外に切れた（2026-11-08） */
.敵絵 .舌 { fill: #d04040; stroke: none; }
.敵絵 .冠 { fill: #e8c24a; stroke: #6a4a10; stroke-width: 1; filter: drop-shadow(0 0 3px #ffd040); }
.敵札.ボス { box-shadow: 0 0 16px #c0504d88, inset 0 0 18px #c0504d33; }
/* 待機中の息づかい（420 敵札 .敵体.息）: 絵がゆっくり上下して少し伸び縮み。ボスは赤い気配が脈打つ */
.敵体.息 > svg, .敵体.息 > .敵肖像 { animation: 敵息 3.6s ease-in-out infinite; animation-delay: inherit; transform-origin: 50% 100%; }
@keyframes 敵息 { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-3px) scale(1.015, .985); } }
.敵札.ボス .敵体.息 { animation: ボス気 2.4s ease-in-out infinite; animation-delay: inherit; }
@keyframes ボス気 { 0%, 100% { box-shadow: inset 0 0 10px #c0504d22; } 50% { box-shadow: inset 0 0 26px #ff504066; } }
.敵札.倒 .敵絵 { filter: grayscale(1) !important; }
.状態欄 { min-height: 14px; font-size: 11px; color: var(--注目); white-space: nowrap; overflow: hidden; }
.予測 { position: absolute; right: 4px; top: 36px; background: #000c; color: var(--注目); font-weight: bold; padding: 1px 6px; border-radius: 4px; font-size: 13px; z-index: 2; }
/* 行動順 */
.順番帯 { position: absolute; left: 250px; right: 10px; top: 334px; height: 32px; display: flex; gap: 4px; align-items: center; justify-content: flex-start; }
.順札 { width: 48px; height: 28px; border-radius: 4px; font-size: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #0008; overflow: hidden; white-space: nowrap; }
.順札.敵 { background: #6a2a2a; }
.順札.今 { outline: 2px solid var(--注目); transform: scale(1.12); }
/* 行動順の札に絵（420 順札）: 絵を札いっぱいに、名前は下の帯 */
.順札 { position: relative; width: 36px; height: 48px; }
.順絵 { position: absolute; inset: 0; background-size: cover; background-position: center top; background-repeat: no-repeat; }
.順絵.影絵 { background: radial-gradient(#ffffff10, #0000 70%); }
.順絵.影絵 .敵絵 { width: 100%; height: 100%; }
.順名 { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10px; line-height: 13px; text-align: center; background: #000b; color: #fff; }
/* 味方札（本家: 上帯に名前、左に顔、右半分に実装スキルと残り回数、下に HP） */
.戦札 { position: relative; width: 322px; height: 148px; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: 22px 72px 1fr 18px; grid-template-areas: "名 名" "顔 技" "状 技" "体 体"; gap: 2px 8px; padding: 4px 8px 6px; border-radius: 8px; background: linear-gradient(180deg, var(--板2), var(--板)); border: 2px solid var(--枠淡); }
.戦札名 { grid-area: 名; display: flex; align-items: baseline; gap: 8px; font-weight: bold; font-size: 16px; white-space: nowrap; overflow: hidden; }
.戦札職 { font-size: 12px; color: var(--字淡); font-weight: normal; }
.戦札Lv { margin-left: auto; font-size: 13px; color: var(--字淡); }
.戦札 .顔 { grid-area: 顔; width: 54px; height: 72px; font-size: 28px; }
.戦札 .技 { grid-area: 技; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.戦札 .技行 { position: relative; height: 16px; font-size: 12px; padding: 0 5px; gap: 4px; flex: none; }
.戦札 .技行 .技名 { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.戦札 .技行 .射程 { min-width: 20px; font-size: 10px; padding: 0 3px; line-height: 13px; border-radius: 3px; }
.戦札 .技行 .回 { margin-left: 2px; }
.戦札 .状態欄.味 { grid-area: 状; font-size: 11px; }
.戦札 .体棒 { grid-area: 体; height: 18px; font-size: 12px; }
.戦札.空 { display: flex; align-items: center; justify-content: center; background: #0003; border: 2px dashed #ffffff22; }
.空番 { font-size: 56px; color: #ffffff22; }
.戦札.手番 { border-color: var(--注目); box-shadow: 0 0 18px #ffe36baa; }
.戦札.手番 .技行.不可 { filter: grayscale(1) brightness(.55); }
.戦札.倒 { filter: grayscale(1) brightness(.5); }
/* HP が 1/3 を切った味方（420 .危うい）: 縁が赤く脈打つ */
.戦札.危うい { animation: 危うい 1.1s ease-in-out infinite; }
@keyframes 危うい { 0%, 100% { box-shadow: 0 0 0 #ff3a2a00, inset 0 0 0 #ff3a2a00; border-color: #a83a2f; } 50% { box-shadow: 0 0 14px #ff3a2a99, inset 0 0 18px #ff3a2a44; border-color: #ff5a4a; } }
.戦札.狙える { border-color: #8be08f; cursor: pointer; }
.戦札 .技行[role="button"] { cursor: pointer; }
.戦札 .技行.選択中 { box-shadow: inset 0 0 0 2px var(--注目); }
.鍵印 { font-size: 10px; filter: drop-shadow(0 0 2px #f00); }
.守盾 { position: absolute; left: 36px; top: 76px; width: 38px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: linear-gradient(180deg, #4a8ad0, #1d3a57); clip-path: polygon(50% 0, 100% 15%, 92% 65%, 50% 100%, 8% 65%, 0 15%); text-shadow: 0 1px 2px #000; z-index: 2; }
.判子 { position: absolute; right: 18px; top: 40px; transform: rotate(-14deg); border: 3px solid #e03030; color: #ff4a4a; font-weight: bold; font-size: 22px; padding: 0 8px; border-radius: 6px; background: #0006; pointer-events: none; letter-spacing: .1em; }
/* 技のカーソル（パッド）とホバー（マウス） */
.戦札 .技行.lv10-focus { outline: none !important; box-shadow: inset 0 0 0 2px #fff, 0 0 8px var(--注目) !important; }
.戦札 .技行.lv10-focus::before, .戦札 .技行.選択中::before, body.mouse-active .戦札 .技行[role="button"]:hover::before { content: '▶'; color: #fff; font-size: 11px; margin-right: -2px; text-shadow: 0 0 3px #000; }
body.mouse-active .戦札 .技行[role="button"]:hover { box-shadow: inset 0 0 0 2px #fff; }
/* 狙っている相手の上に ▼（パッドのカーソル・マウスのホバー） */
.敵札.狙える.lv10-focus::before, .戦札.狙える.lv10-focus::before,
body.mouse-active .敵札.狙える:hover::before, body.mouse-active .戦札.狙える:hover::before {
  content: '▼'; position: absolute; left: 50%; top: -20px; transform: translateX(-50%); color: var(--注目); font-size: 20px; text-shadow: 0 0 6px #000, 0 0 10px var(--注目); animation: 指す .6s ease-in-out infinite alternate; z-index: 3; }
body.mouse-active .敵札.狙える:hover, body.mouse-active .戦札.狙える:hover { border-color: var(--注目); box-shadow: 0 0 14px var(--注目); }
@keyframes 指す { from { margin-top: -4px; } to { margin-top: 2px; } }
/* 左＝敗北・AUTO ／ 右下＝残りタイム・逃走率・入替 */
.戦左 { position: absolute; left: 10px; top: 380px; width: 226px; display: flex; flex-direction: column; gap: 10px; }
.戦左 .釦 { width: 100%; min-height: 40px; }
.戦左.操作中, .戦右.操作中 { outline: 2px solid var(--注目); outline-offset: 6px; border-radius: 6px; }   /* L1 で左の列・入替を操作中（420） */
/* 戦闘の技の説明（420 画.説明見張り）: 左下の空き。キャラ窓の説明欄（.キ説）を小さく */
.キ説.戦説 { position: absolute; left: 10px; top: 488px; width: 226px; height: auto; max-height: 192px; margin: 0; padding: 6px 8px; font-size: 12px; gap: 4px; }
.キ説.戦説.空 { display: none; }
.戦説 .キ説頭 { flex-wrap: wrap; gap: 2px 6px; } .戦説 .キ説頭 .技行 { min-width: 0; flex: 1 1 100%; }
.戦説 .キ説印 span { font-size: 11px; } .戦説 .キ説文 { line-height: 1.4; } .戦説 .キ説条 { display: none; }
.戦右 { position: absolute; right: 10px; top: 536px; width: 150px; display: flex; flex-direction: column; gap: 5px; align-items: stretch; }
.戦右 .釦 { min-height: 30px; padding: 2px 6px; font-size: 14px; }
.時題 { text-align: center; color: var(--字淡); font-size: 13px; }
.巡印 { margin-left: 8px; padding: 0 6px; border-radius: 3px; background: #fff1; color: var(--字); font-size: 12px; }
.時数 { text-align: center; font-size: 42px; color: #fff; background: #0008; border: 2px solid var(--枠); border-radius: 8px; line-height: 1.15; }
.時数.残少 { color: #ffd76b; border-color: #ffd76b; }   /* v0.1.140 残りタイムが少ない */
.時数.残危 { color: #ff7a6a; border-color: #ff5a4a; animation: 残危 .9s ease-in-out infinite; }
@keyframes 残危 { 0%, 100% { box-shadow: 0 0 0 0 #ff5a4a00; } 50% { box-shadow: 0 0 16px 2px #ff5a4aaa; } }
@media (prefers-reduced-motion: reduce) { .時数.残危 { animation: none; } }
.逃率 { text-align: center; font-size: 14px; background: #0006; border-radius: 4px; padding: 2px; }
.射程 { min-width: 26px; text-align: center; font-size: 12px; font-weight: bold; padding: 1px 5px; border-radius: 4px; }
.射程_近 { background: #8a3a2a; color: #ffd9c0; }
.射程_遠, .射程_列 { background: #2a5a8a; color: #cfe6ff; }
.射程_全 { background: #7a2a7a; color: #ffd0ff; }
.射程_味, .射程_自 { background: #2a6a3a; color: #d0ffd8; }
.戦ログ { position: absolute; left: 250px; right: 0; bottom: 0; height: 32px; background: #000c; border-top: 1px solid var(--枠淡); padding: 5px 12px; font-size: 15px; }
.戦ログ { cursor: pointer; padding-right: 70px; } .戦ログ::after { content: 'ログ ▲'; position: absolute; right: 62px; top: 7px; font-size: 11px; color: var(--字淡); border: 1px solid #fff3; border-radius: 3px; padding: 0 5px; }
.戦ログ一覧 { max-height: 460px; } .戦ログ一覧 .最新 { color: var(--注目); }
.技名表示 { position: absolute; left: 760px; top: 300px; transform: translateX(-50%) scale(.8); opacity: 0; pointer-events: none; font-size: 26px; font-weight: bold; padding: 6px 24px; border-radius: 8px; background: #000c; border: 2px solid var(--枠); white-space: nowrap; transition: opacity .12s, transform .12s; z-index: 20; }
.技名表示.出 { opacity: 1; transform: translateX(-50%) scale(1); }
.技名表示.敵 { border-color: #c0504d; color: #ffd0c0; }
/* カットイン（420 画.カットイン。2026-11-17）: 金の線の帯が開き、顔が左から・技名が右から入って抜ける。顔は 3:4 の枠を帯で切る */
.切込 { position: absolute; left: 0; right: 0; top: 232px; height: 150px; z-index: 21; pointer-events: none; overflow: hidden; background: linear-gradient(90deg, #000d 0%, #0b1a2ecc 45%, #000a 100%); border-top: 2px solid #e8d23a; border-bottom: 2px solid #e8d23a; animation: 切込帯 linear both; }
.切込::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, #ffffff12 0 2px, transparent 2px 38px); animation: 切込線 .4s linear infinite; }
@keyframes 切込帯 { 0% { transform: scaleY(0); opacity: 0; } 12% { transform: scaleY(1); opacity: 1; } 82% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.2); opacity: 0; } }
@keyframes 切込線 { from { background-position: 0 0; } to { background-position: -120px 0; } }
.切込顔 { position: absolute; left: 14%; top: -30px; width: 210px; height: 280px; background: center 18% / cover no-repeat; animation: 切込顔 ease-out both; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
@keyframes 切込顔 { 0% { transform: translateX(-260px); opacity: 0; } 20% { transform: translateX(0); opacity: 1; } 80% { transform: translateX(30px); opacity: 1; } 100% { transform: translateX(60px); opacity: 0; } }
.切込字 { position: absolute; left: 36%; top: 30px; animation: 切込字 ease-out both; }
@keyframes 切込字 { 0% { transform: translateX(200px); opacity: 0; } 22% { transform: translateX(0); opacity: 1; } 80% { transform: translateX(-20px); opacity: 1; } 100% { transform: translateX(-40px); opacity: 0; } }
.切込名 { font-size: 20px; color: #e8d6a0; letter-spacing: .2em; text-shadow: 0 2px 4px #000; }
.切込技 { font-size: 46px; font-weight: bold; color: #fff; letter-spacing: .08em; text-shadow: 0 0 12px #e8d23a, 0 3px 0 #000; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .切込 { display: none; } }
.浮数 { position: absolute; transform: translateX(-50%); font-size: 30px; font-weight: bold; color: #fff; text-shadow: 0 2px 0 #000, 0 0 6px #000; pointer-events: none; animation: 浮く .9s forwards; z-index: 50; }
.浮数.必殺 { color: #ffe36b; font-size: 38px; }
.浮数.弱点 { color: #ff9a6b; font-size: 36px; }
.浮数.回復 { color: #8be08f; }
.浮数.毒 { color: #9be86a; font-size: 26px; }   /* 毒の手番ダメージ（2026-11-17） */
/* コマ送りのエフェクトの絵（420 絵演・2026-11-17）: 黒い地を screen で消して光だけ重ねる */
.演絵 { position: absolute; transform: translate(-50%, -50%); pointer-events: none; background-repeat: no-repeat; mix-blend-mode: screen; z-index: 45; }
.浮数.回避, .浮数.無効 { color: #b8b8ff; font-size: 24px; }
@keyframes 浮く { 0% { opacity: 0; margin-top: 10px; } 15% { opacity: 1; margin-top: 0; } 80% { opacity: 1; margin-top: -24px; } 100% { opacity: 0; margin-top: -30px; } }
/* 領地の「鎮圧のクエスト」の釦（v0.1.146） */
.領鎮圧へ { font: inherit; color: inherit; background: #5a1c1c; border: 1px solid #e0606088; border-radius: 6px; padding: 0 8px; cursor: pointer; }
.領鎮圧へ:hover, .領鎮圧へ.lv10-focus { background: #7a2626; box-shadow: 0 0 8px #ff707088; }
/* 必殺・弱点の札と弾み（v0.1.145） */
.浮数.必殺, .浮数.弱点 { display: flex; flex-direction: column; align-items: center; line-height: 1; animation: 浮く .9s forwards, 弾む数 .32s ease-out; }
.浮札 { font-size: 13px; letter-spacing: 2px; padding: 1px 8px 2px; margin-bottom: 2px; border-radius: 6px; color: #2a1600; text-shadow: none; }
.浮数.必殺 .浮札 { background: linear-gradient(180deg, #fff3a8, #ffc93c); box-shadow: 0 0 10px #ffd34f; }
.浮数.弱点 .浮札 { background: linear-gradient(180deg, #ffd0b8, #ff8a5c); box-shadow: 0 0 10px #ff8a5c; }
@keyframes 弾む数 { 0% { transform: translateX(-50%) scale(1.8); } 60% { transform: translateX(-50%) scale(.9); } 100% { transform: translateX(-50%) scale(1); } }
.結果表 { display: flex; flex-direction: column; gap: 4px; min-width: 420px; }
.結果行 { display: flex; justify-content: space-between; padding: 4px 8px; border-bottom: 1px solid #0006; }
/* 戦闘の結果（420 画.結果。2026-10-21）: 上に撃破と GOLD、1人1行で 顔・名前・Lv・EXP の棒・LEVEL UP の札 */
.結果頭 { display: flex; gap: 10px; margin-bottom: 4px; }
.結果項 { flex: 1; display: flex; justify-content: space-between; align-items: baseline; padding: 6px 12px; background: #0004; border-radius: 6px; font-size: 16px; }
.結果項 .数 { font-size: 22px; color: var(--注目); }
.結果人 { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; background: #0003; position: relative; }
.結果人.上がった { background: linear-gradient(90deg, #6a5a1a55, #0003 70%); }
.結果名 { width: 76px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.結果Lv { width: 46px; color: var(--注目); }
.結果棒 { flex: 1; height: 8px; background: #000a; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px #ffffff1a; }
.結果棒 .量 { height: 100%; background: linear-gradient(90deg, #4aa0e0, #8fe0ff); border-radius: 4px; transition: width .5s ease-out; }
.結果棒 .量.瞬時 { transition: none; }
.結果EXP { width: 70px; text-align: right; font-size: 13px; color: #9fd8ff; }
.結果上 { position: absolute; left: 150px; top: -7px; padding: 0 6px; font-size: 11px; font-weight: bold; letter-spacing: 1px; color: #2a1a00; background: linear-gradient(#ffe88a, #e8a830); border-radius: 3px;
    box-shadow: 0 0 8px #ffcf40aa; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.結果上.出 { opacity: 1; transform: scale(1); }
.結果品 { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 4px 0; }
.結果品名 { padding: 2px 10px; border-radius: 4px; background: #3a3014; border: 1px solid #c8a85a66; font-size: 13px; }
.結果品名.未 { background: #2a2a3a; border-color: #8a8ab066; color: #c8c8e8; }
.入替一覧 { display: flex; flex-direction: column; gap: 12px; }
/* 配置転換の窓（230_入替窓.js）: 上＝隊列（前3上段・後2下段）／下＝控えの札 */
.入替窓 { display: flex; flex-direction: column; gap: 8px; }
.入替頭 { font-size: 16px; } .入替頭 .数 { color: var(--注目); font-size: 20px; }
.入替陣 { display: flex; flex-direction: column; gap: 6px; }
.編成段.入替段 { height: 104px; }
.入札 { position: relative; width: 250px; height: 90px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: 22px 18px 18px; gap: 3px 8px; padding: 6px 8px; border-radius: 8px; background: linear-gradient(180deg, var(--板2), var(--板)); border: 2px solid var(--枠淡); cursor: pointer; }
.入札 .顔.小 { grid-row: 1 / 4; width: 42px; height: 56px; }
.入札名 { font-weight: bold; white-space: nowrap; overflow: hidden; } .入札Lv { font-size: 12px; margin-left: 8px; font-weight: normal; }
.入札 .体棒 { height: 16px; font-size: 11px; }
.入札回 { font-size: 12px; } .入札回 .数 { color: var(--注目); }
.入札.空 { display: flex; align-items: center; justify-content: center; background: #0003; border: 2px dashed #ffffff22; }
.入札.空 .空番 { font-size: 40px; }
.入札.選 { border-color: var(--注目); box-shadow: 0 0 14px var(--注目); }
.入札.倒 { filter: grayscale(1) brightness(.6); }
.入札.無効 { opacity: .45; cursor: default; }
.入札.lv10-focus { outline: 3px solid var(--注目) !important; }
/* 入替窓の職業の印と、選んだ枠に向くかの印（v0.1.144） */
.入札名 .職印 { margin-right: 4px; vertical-align: -2px; }
.入向 { position: absolute; top: 5px; right: 6px; font-size: 11px; padding: 0 6px; border-radius: 8px; line-height: 17px; pointer-events: none; }
.入向.合 { background: #2e7d4a; color: #eaffef; box-shadow: 0 0 6px #4caf7088; }
.入向.外 { background: #0006; color: #e8b86a; border: 1px solid #e8b86a66; }
.入替控 { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: #0004; border-radius: 8px; max-height: 250px; overflow-y: auto; }
.入替控題 { width: 100%; font-weight: bold; color: var(--注目); }
.入替位置, .入替控え { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- 拠点: クエスト（本家: 左＝詳細4段／中＝一覧／右＝SORT の縦列） ---- */
.ク画面 { position: absolute; inset: 0; display: flex; gap: 8px; }
.ク左 { flex: 1; display: flex; flex-direction: column; padding-bottom: 8px; overflow: hidden; }
.ク左 .見出し { border-radius: 0; margin-top: 4px; font-size: 15px; }
.ク操 { display: flex; gap: 8px; justify-content: flex-end; padding: 4px 8px 0; }
.ク操 .釦 { min-height: 26px; font-size: 13px; padding: 1px 10px; }
/* クエスト詳細の上段（左=内容・場所・条件／右=世界地図の小窓）と世界地図の窓 */
.ク左 { background-size: cover; background-position: center; }
.ク上 { display: flex; gap: 8px; }
.ク上左 { flex: 1; min-width: 0; }
.ク地方 { font-weight: bold; color: var(--注目); margin-right: 10px; }
.ク原所 { font-size: 12px; }
.ク地図 { position: relative; flex: none; width: 190px; height: 161px; margin: 6px 6px 0 0; border: 2px solid var(--枠淡); border-radius: 4px; background: url("../DG7map900.jpg") center / 100% 100%; cursor: pointer; }
.ク地図.lv10-focus { outline: 3px solid var(--注目) !important; }
.地図印 { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ffffff55; border: 2px solid #0008; }
.地図印.有 { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: #c0504d; border-color: #fff; color: #fff; font-weight: bold; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 6px #000; }
.地図印.今 { background: var(--注目); border-color: #fff; box-shadow: 0 0 0 4px #ffe36b66, 0 0 12px var(--注目); animation: 点滅 1s infinite; }
.地図印.有.今 { color: #2a2200; }
.地図印.有.全済 { background: #3f8a6a; }   /* その地方の解禁クエストを全部クリア */
.本拠旗 { position: absolute; width: 34px; height: 42px; margin: -54px 0 0 4px; pointer-events: none; filter: drop-shadow(0 2px 2px #000a); animation: 旗揺れ 2.4s ease-in-out infinite; transform-origin: 6px 41px; }
@keyframes 旗揺れ { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
.世界横 .行 .ク難 { margin-left: auto; }
.地図印.lv10-focus { outline: 3px solid #fff !important; outline-offset: 2px; transform: scale(1.2); }
.世界窓 { display: flex; gap: 12px; }
.世界図 { position: relative; flex: none; width: 640px; height: 543px; background: url("../DG7map900.jpg") center / 100% 100%; border: 2px solid var(--枠淡); border-radius: 4px; }
.世界横 { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; max-height: 543px; overflow-y: auto; }
.ク文 { padding: 4px 14px; min-height: 34px; white-space: pre-wrap; line-height: 1.42; }
.ク情報 { display: flex; gap: 30px; padding: 6px 14px; font-size: 17px; }
/* v0.1.121: 「クリアで解放」の札の行が増えた分で決定の釦が板の下に切れていた → 行間を詰め、それでも長い時は上段だけを縮めて中で送る */
.ク上 { flex: 0 1 auto; min-height: 0; overflow-y: auto; }
.ク上左 > .見出し { margin-top: 0; }   /* 説明が3行のクエスト（ほぼ全部）で上段が 9px だけはみ出し、地図の横にいつもスクロール棒が出ていた（2026-11-17）。見出しの上の 4px×3 を詰めて収める */
.ク情報 .数 { color: var(--注目); }
.ク決定 { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px; }
.ク印 { display: flex; gap: 10px; }
/* 出る敵（220 拠.出る敵）: 印の行の左に影絵を並べる */
.ク決定:has(.ク印列) { gap: 3px; padding-top: 0; }
.ク決定行 { display: flex; align-items: center; gap: 10px; }   /* v0.1.129 決定の釦の右に「自動編成で合わせる」 */
.釦.ク合わせ { min-height: 40px; font-size: 14px; padding: 2px 14px; }
.ク印列 { display: flex; align-items: center; justify-content: space-between; align-self: stretch; padding: 0 8px; gap: 10px; }
.ク敵 { display: flex; align-items: center; gap: 4px; }
.ク敵題 { font-size: 12px; color: var(--字淡); margin-right: 4px; }
.ク敵絵 { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: #000a; border: 1px solid #fff2; overflow: hidden; }
.ク敵絵 svg, .ク敵絵 .敵肖像 { width: 100%; height: 100%; }
.ク敵絵 .敵肖像 { background-size: cover; background-position: center top; }
.ク敵絵:has(.敵肖像:not(.敵立ち絵)) { width: 24px; height: 32px; }   /* 敵が人物の時は顔なので縦長 */
.ク敵絵.ボス { border-color: #e04030; box-shadow: 0 0 6px #e0403088; }
.ク敵絵.ボス.未 { color: #e8a090; font-weight: bold; font-size: 18px; }
.ク印 span { padding: 2px 10px; border-radius: 4px; font-size: 13px; }
.ク印 .有 { background: #8a3331; } .ク印 .無 { background: #333; color: #888; }
.ク右 { width: 440px; display: flex; flex-direction: column; overflow: hidden; }
/* v0.1.132 クエスト一覧の「名前・番号で探す」 */
.ク右頭 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ク右頭 > span:first-child { flex: 1; }
.ク探す { position: relative; display: inline-flex; align-items: center; }
.ク探す入 { width: 150px; height: 22px; padding: 1px 22px 1px 8px; border-radius: 11px; border: 1px solid #ffffff33; background: #0008; color: var(--字); font: inherit; font-size: 12px; letter-spacing: 0; font-weight: normal; }
.ク探す入::placeholder { color: #ffffff55; }
.ク探す入:focus { outline: none; border-color: var(--注目); box-shadow: 0 0 0 2px #ffe36b33; }
.ク探す入::-webkit-search-cancel-button { display: none; }
.ク探す消 { position: absolute; z-index: 7; right: 6px; font-size: 11px; color: var(--字淡); cursor: pointer; letter-spacing: 0; }
.ク探す消:hover { color: #fff; }
.名簿道具 > .ク探す { margin-left: auto; }
.倉道具 > .倉探す { margin-left: auto; }
.キ装足 { margin-left: 6px; font-size: 10px; color: #ffd76b; text-shadow: 0 0 4px #ffd76b88; }   /* v0.1.138 ボーナス付きの装備の印 */
.ク並列 { width: 118px; display: flex; flex-direction: column; overflow: hidden; }
.ク並び { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.ク並題 { text-align: center; font-weight: bold; color: var(--注目); letter-spacing: .2em; font-size: 14px; }
.ク並び .釦 { min-height: 30px; font-size: 13px; padding: 2px 4px; }
.ク一覧 { flex: 1; padding: 4px; }
.ク一覧 .行 { margin-bottom: 3px; border-radius: 5px; background: linear-gradient(90deg, #2e4a37, #1f3326); border: 2px solid #0000; min-height: 34px; }
.ク一覧 .行.選択中 { background: linear-gradient(90deg, #6a5a1a, #3a3210); border-color: var(--注目); outline: none; }
.ク回 { width: 24px; height: 22px; line-height: 22px; border: 1px solid var(--枠淡); border-radius: 3px; color: var(--注目); text-align: center; font-size: 13px; }
.ク番 { width: 44px; padding: 1px 4px; border-radius: 3px; background: #333; text-align: center; font-size: 14px; }
.ク番.メイン { background: #1c6a8a; } .ク番.マグナムメイン { background: #8a2020; } .ク番.マグナム追加 { background: #2a7a2a; }
.ク名 { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 名の長いクエストで NEW・本筋の札が欠けた（2026-11-08 大迷宮の「NE」）→ 名の字だけを省略し、札は縮めない */
.ク名 { display: flex; align-items: center; min-width: 0; }
.ク名字 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ク名 > .NEW印, .ク名 > .本筋印 { flex: none; }
.NEW印 { margin-left: 8px; padding: 0 5px; border-radius: 3px; font-size: 10px; font-weight: bold; color: #2a1a00; background: linear-gradient(90deg, #ffe36b, #ffb04a); vertical-align: 2px; animation: NEW光 1.6s ease-in-out infinite; }
.NEW印.小 { margin-left: 4px; padding: 0 3px; font-size: 9px; }
/* クエスト一覧の本筋の印（v0.1.149） */
.本筋印 { margin-left: 8px; padding: 0 6px; border-radius: 3px; font-size: 10px; font-weight: bold; color: #ffe0e0; background: linear-gradient(90deg, #a8322a, #d0503a); box-shadow: 0 0 6px #ff60488a; vertical-align: 2px; }
@keyframes NEW光 { 0%, 100% { box-shadow: 0 0 0 #ffd76b00; } 50% { box-shadow: 0 0 8px #ffd76bcc; } }
.ク難 { width: 30px; text-align: right; color: var(--字淡); }

/* ---- 拠点: パーティー編成（本家: 上＝名簿／下＝大きい編成欄。前列3が上段・後列2が下段で互い違い） ---- */
.名簿 { position: absolute; left: 0; right: 0; top: 0; height: 262px; display: flex; flex-direction: column; }
.名簿道具 { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-bottom: 1px solid #0006; flex-wrap: wrap; }
.名簿道具 .釦 { min-height: 28px; font-size: 13px; padding: 2px 10px; }
.名簿数 { font-size: 14px; margin-right: 8px; } .名簿数 .数 { color: var(--注目); }
.職群 { display: flex; gap: 3px; margin-right: 8px; }
.職群 .釦.職釦 { min-width: 38px; padding: 2px 4px; }
/* v0.1.131 職業の印（018 RQ.職印） */
.職印 { display: inline-flex; width: 14px; height: 14px; flex: none; vertical-align: -2px; margin-right: 3px; filter: drop-shadow(0 1px 0 #0009); }
.職印 svg { width: 100%; height: 100%; display: block; }
.職印_ファイター { color: #ff9a7a; } .職印_ガード { color: #8ac4ff; } .職印_ガンナー { color: #d4e07a; } .職印_ソーサラー { color: #c9a0ff; }
.職印_ヒーラー { color: #ffa0c4; } .職印_レンジャー { color: #7fe0c8; } .職印_スパルタ { color: #ffcf7a; } .職印_シビリアン { color: #c8c8c8; }
.職群 .釦.職釦 { display: inline-flex; align-items: center; justify-content: center; gap: 1px; }
.職群 .釦.職釦 .職印 { margin-right: 1px; }
.編成副 .職印 { width: 11px; height: 11px; margin-right: 2px; vertical-align: -1px; }
.職群 .釦.職釦.青 { outline: 2px solid var(--注目); }
.編成格 { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; padding: 6px 8px; align-content: start; }
.編成札 { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto; gap: 0 6px; padding: 3px; border-radius: 5px; background: #0005; border: 2px solid #0000; cursor: pointer; }
.編成札 .顔.小 { grid-row: 1 / 4; }
/* 10人表示: 5列の大きい札。技と残り回数を右下に */
.編成格.十人 { grid-template-columns: repeat(5, 1fr); }
.編成格.十人 .編成札 { grid-template-columns: 40px 1fr; grid-template-rows: auto auto auto auto; }
.編成技 { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 1px; margin-top: 3px; }
.編成技 .技行 { height: 15px; font-size: 11px; padding: 0 4px; }
.編成札.隊 { opacity: .55; }
.編成札.控え { border-color: #c0504d; }
.編成札.持 { border-color: var(--注目); box-shadow: 0 0 10px var(--注目); opacity: 1; }
.編成名 { font-weight: bold; font-size: 14px; white-space: nowrap; overflow: hidden; }
.編成副 { font-size: 11px; color: var(--字淡); white-space: nowrap; }
.編成属 { font-size: 11px; color: var(--注目); }
.顔.小 { width: 36px; height: 48px; font-size: 18px; }
.編成欄 { position: absolute; left: 0; right: 0; top: 268px; bottom: 0; display: flex; gap: 8px; }
.編成操 { width: 230px; flex: none; display: flex; flex-direction: column; gap: 6px; padding: 6px; background: #0004; border-radius: 6px; }
.編成操 .釦 { min-height: 32px; font-size: 14px; }
.登録行 { display: flex; gap: 6px; } .登録行 .釦 { flex: 1; }
.編成陣 { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.編成段 { position: relative; display: flex; gap: 10px; justify-content: center; align-items: center; border-radius: 10px; padding: 4px 8px 4px 38px; height: 174px; }
.編成段.前 { background: linear-gradient(90deg, #8a4a2a55, #8a4a2a22); }
.編成段.後 { background: linear-gradient(90deg, #2a5a8a55, #2a5a8a22); align-self: center; width: 76%; }
.編成段 .列名 { position: absolute; left: 0; top: 0; bottom: 0; }
.編成段.前 .列名 { background: #8a4a2acc; color: #ffd9c0; } .編成段.後 .列名 { background: #2a5a8acc; color: #cfe6ff; }
.キャラ札.大 { flex: none; width: 300px; height: 162px; grid-template-columns: 80px 1fr; }
.キャラ札.大 .顔 { width: 80px; height: auto; min-height: 80px; }

/* ---- 拠点: 店 ---- */
.店左 { position: absolute; inset: 0 344px 0 0; display: flex; flex-direction: column; }
/* 店の比較欄（220 拠.店比較）: カーソルの品を隊の5人が装備したら */
.店比較 { position: absolute; top: 0; right: 0; bottom: 0; width: 336px; display: flex; flex-direction: column; gap: 4px; padding-bottom: 6px; overflow: hidden; }
.店比較文 { padding: 4px 10px; font-size: 13px; color: var(--字淡); min-height: 36px; }
.店比較持 { padding: 0 10px 4px; font-size: 13px; color: var(--注目); border-bottom: 1px solid #0006; }
.店比較行 { display: flex; align-items: center; gap: 8px; padding: 4px 8px; margin: 0 6px; border-radius: 6px; background: #0003; }
.店比較行.不可 { opacity: .7; } .店比較行.不可 .店比較差 { color: #ff9a8a; }
.店比較名 { width: 64px; font-weight: bold; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.店比較差 { flex: 1; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 12px; }
.店比較差 .上 { color: #7fe08a; } .店比較差 .下 { color: #ff7a6a; }
.店比較行 { position: relative; }
.釦.店着 { flex: none; min-height: 24px; padding: 1px 8px; font-size: 11.5px; }   /* v0.1.125 買って装備 */
.装性 { width: 300px; font-size: 12px; } .装差 { font-size: 13px; font-weight: bold; } .行.装中 { background: #ffe36b14; }
.行.装不可 { opacity: .62; cursor: default; } .装不可理由 { width: 150px; font-size: 13px; color: #ff9a8a; font-weight: bold; }   /* 2026-10-27 装備できない理由 */
/* 編成の比較欄（220 拠.編成比較）: 編成欄の右下。後列の帯を少し詰めて場所を作る（互い違いの中心は変えない） */
.編成陣 { position: relative; }
.編成陣 .編成段.後 { width: 66%; }
.編成比較 { position: absolute; right: 0; bottom: 30px; width: 168px; height: 152px; padding: 3px 8px; display: flex; flex-direction: column; gap: 0; font-size: 12px; overflow: hidden; }   /* v0.1.122: 行の間 1→0・行の高さ 14.5→14（最後の「速さ」が下で切れていた） */
.編成比較頭 { display: flex; align-items: center; gap: 3px; padding-bottom: 3px; margin-bottom: 2px; border-bottom: 1px solid #0006; white-space: nowrap; overflow: hidden; }
.編成比較名 { font-weight: bold; font-size: 12px; max-width: 46px; overflow: hidden; text-overflow: ellipsis; }
.編成比較対 { color: var(--注目); margin: 0 1px; }
.編成比較行 { display: flex; align-items: center; height: 14px; flex: none; }
.編成比較項 { width: 40px; color: var(--字淡); }
.編成比較行 .数 { width: 46px; text-align: right; }
.編成比較差 { flex: 1; text-align: right; }
.編成比較差.上 { color: #7fe08a; } .編成比較差.下 { color: #ff7a6a; }
.編成比較空 { margin: auto; color: var(--字淡); }
.店一覧 { flex: 1; }
.店道具 { display: flex; align-items: center; gap: 6px; padding: 6px; flex-wrap: wrap; border-bottom: 1px solid #0006; }
.店道具 .釦 { min-height: 28px; font-size: 13px; padding: 2px 10px; }
.区切 { width: 1px; height: 22px; background: #555; margin: 0 6px; }
.店種 { width: 70px; color: var(--字淡); font-size: 13px; }
.店名 { width: 220px; }
.店持 { margin-left: 8px; font-size: 11px; padding: 0 6px; border-radius: 8px; background: #ffffff14; color: var(--字淡); }   /* v0.1.143 持っている数 */
/* 売る の束ねた行（v0.3.28）: 一番上に並ぶ同じ品。×5・×10 でまとめて売る */
.店束 { background: #ffd06a0d; }
.店束 .店持 { color: #ffd06a; background: #ffd06a1f; }
.釦.店束釦 { flex: none; min-height: 24px; padding: 1px 8px; font-size: 11.5px; margin-right: 4px; }
/* 品の絵（021_品の絵.js）: 枠の色はランク。行の中では文字の前に小さく */
.品絵 { display: inline-flex; flex: none; width: 26px; height: 26px; margin-right: 8px; border-radius: 5px; padding: 2px; box-sizing: border-box;
  background: radial-gradient(circle at 40% 35%, #ffffff1c, #0000 70%), #0006; border: 1px solid var(--段色, #6668); box-shadow: inset 0 0 6px var(--段影, #0000); vertical-align: middle; }
.品絵 svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px #000a); }
.品絵.絵 img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }   /* 届いた品の絵（?試作画像=1・2026-11-17） */
.品絵.段_c { --段色: #8a8a8a; } .品絵.段_b { --段色: #4fae5a; --段影: #4fae5a55; } .品絵.段_a { --段色: #4a8ae0; --段影: #4a8ae066; } .品絵.段_s { --段色: #e8c25a; --段影: #e8c25a88; }
.品絵.空 { opacity: .25; }
.店一覧 .品絵, .キ装 .品絵 { width: 24px; height: 24px; margin-top: -3px; margin-bottom: -3px; }
.結果品名 .品絵 { width: 20px; height: 20px; margin: 0 6px 0 -4px; padding: 1px; }
.結果品名 { display: inline-flex; align-items: center; }
.鑑名 { display: flex; align-items: center; } .鑑名 .品絵 { width: 24px; height: 24px; margin-right: 6px; }
.店rk { width: 40px; color: var(--注目); }
.店能 { flex: 1; font-size: 13px; color: var(--字淡); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.店価 { width: 100px; text-align: right; }

/* ---- 拠点: 拠点（仲間の札の格子＋記録） ---- */
.拠点画面 { position: absolute; inset: 0; display: flex; gap: 10px; }
.拠左 { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.拠一覧 { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; align-content: start; }
.拠札 { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; gap: 1px 8px; padding: 5px; border-radius: 6px; background: #0005; border: 2px solid #0000; cursor: pointer; }
.拠札 .顔 { grid-row: 1 / 4; width: 56px; height: 75px; font-size: 26px; }
.拠札名 { font-weight: bold; }
.拠札副, .拠札能 { display: flex; gap: 8px; font-size: 12px; color: var(--字淡); white-space: nowrap; overflow: hidden; }
.拠札能 .数 { color: var(--字); }
.拠札能 { gap: 5px; letter-spacing: -.02em; }   /* 4桁の HP・魔法でも切れない（2026-10-27 探査で6px はみ出し） */
.拠札能 .数.並鍵, .拠札副 .数.並鍵 { color: var(--注目); font-weight: bold; }
.拠属 { margin-left: 6px; vertical-align: 2px; font-size: 10px; font-weight: bold; border-radius: 3px; padding: 0 5px; line-height: 15px; }
.拠属.出撃 { background: #b8452f; color: #fff; } .拠属.控え { background: #3f6f9a; color: #fff; }
.拠空 { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--字淡); }
.SP印 { position: absolute; right: 5px; top: 4px; font-size: 11px; font-weight: bold; color: #2a2200; background: #8a7a4a; border-radius: 8px; padding: 0 6px; }
.SP印.取れる { background: var(--注目); animation: SP光 1.4s ease-in-out infinite; }
@keyframes SP光 { 0%, 100% { box-shadow: 0 0 0 #ffe36b00; } 50% { box-shadow: 0 0 10px #ffe36b; } }
.拠右 { width: 280px; display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }
.拠右 .釦 { margin: 0 12px; }
.拠記 { padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; }
.拠記行 { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #fff1; padding-bottom: 3px; }
.拠記副 { margin-left: 6px; font-size: 12px; }
.拠記棒 { height: 6px; margin-top: -3px; border-radius: 3px; background: #0008; overflow: hidden; } .拠記棒 .量 { height: 100%; background: linear-gradient(90deg, #b89b4a, #ffe36b); }
/* v0.1.130 記録の欄の 図鑑・実績 を1行に／実績の窓（526 実績.窓） */
.拠記釦 { display: flex; gap: 6px; margin: 0 12px; } .拠右 .拠記釦 .釦 { flex: 1; margin: 0; padding-left: 4px; padding-right: 4px; }
.実績総 { width: 120px; height: 6px; border-radius: 3px; background: #0008; overflow: hidden; margin-left: 8px; } .実績総 .量 { display: block; height: 100%; background: linear-gradient(90deg, #b89b4a, #ffe36b); }
.実績表 { display: flex; flex-direction: column; gap: 3px; max-height: 470px; overflow-y: auto; padding-right: 4px; margin-top: 6px; }
.実績区 { font-size: 12.5px; color: var(--注目); padding: 6px 4px 2px; border-bottom: 1px solid #ffffff14; }
.実績行 { display: flex; align-items: center; gap: 10px; padding: 4px 8px; border-radius: 5px; background: #ffffff08; font-size: 13.5px; color: var(--字淡); }
.実績行:focus, .実績行.lv10-focus { outline: 1px solid var(--枠); background: #1c3326; }
.実績行.済 { background: linear-gradient(90deg, #5a4a1a66, #ffffff08 60%); color: var(--字); }
.実績杯 { width: 20px; height: 20px; flex: none; color: #ffffff2a; } .実績杯 svg { width: 100%; height: 100%; display: block; }
.実績行.済 .実績杯 { color: #ffd76b; filter: drop-shadow(0 0 4px #ffd76b88); }
.実績名 { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.実績行.済 .実績名 { font-weight: bold; }
.実績棒 { width: 150px; height: 6px; flex: none; border-radius: 3px; background: #0008; overflow: hidden; } .実績棒 .量 { display: block; height: 100%; background: #5fa8d8; }
.実績行.済 .実績棒 .量 { background: linear-gradient(90deg, #b89b4a, #ffe36b); }
.実績値 { width: 130px; flex: none; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.実績暦 { width: 70px; flex: none; text-align: right; font-size: 12px; color: var(--注目); }
.キャラ札.選択中 { border-color: var(--注目); }

/* ---- 一覧・札のカーソル（パッド）: 行と札に ▶／太枠。マウス中は lv10api が枠を消す ---- */
.行.lv10-focus, .拠札.lv10-focus, .編成札.lv10-focus, .キャラ札.lv10-focus { outline: 3px solid var(--注目) !important; outline-offset: -1px; }
.行 { position: relative; }
.行.lv10-focus::before { content: '▶'; position: absolute; left: -2px; color: var(--注目); font-size: 12px; text-shadow: 0 0 4px #000; }

/* ---- キャラ窓 ---- */
.キャラ窓 { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 12px; height: 530px; }
.キ左, .キ済, .キ可 { display: flex; flex-direction: column; overflow: hidden; }
.キ左 { overflow-y: auto; }
.キ頭 { display: flex; gap: 10px; align-items: center; margin-bottom: 3px; }
.キ名 { font-weight: bold; font-size: 18px; }
.キ能 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 4px 6px; background: #0004; border-radius: 4px; }
.キ能行 { display: flex; justify-content: space-between; }
.キ能値 { display: flex; align-items: baseline; gap: 5px; }
.キ能差 { font-size: 10px; font-weight: bold; } .キ能差.上 { color: #6fd08a; } .キ能差.下 { color: #ff7a6a; }
.キEXP棒 { height: 5px; margin-top: 3px; border-radius: 3px; background: #0008; overflow: hidden; width: 150px; }
.キEXP棒 .量 { height: 100%; background: linear-gradient(90deg, #3a8ad8, #8ad0ff); }
.キ装 { margin-top: 6px; } .キ装 .行 { min-height: 34px; }   /* 左欄が窓に収まるよう詰めた（2026-10-21。装備の4欄目が切れていた） */
.キ実 { margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 4px; padding: 4px 6px; background: #0004; border-radius: 4px; }   /* 2026-10-27 本人「6にしても縦が狭くなるだけで見づらい」→ 2列にして縦を半分に */
.キ実 .技行 { min-width: 0; font-size: 13px; padding: 2px 6px; } .キ実 .技行 > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.キ実題 { grid-column: 1 / -1; font-size: 13px; color: var(--注目); font-weight: bold; margin-bottom: 2px; }
.キ空枠 { height: 18px; border: 1px dashed #ffffff33; border-radius: 3px; font-size: 12px; color: #ffffff44; display: flex; align-items: center; padding-left: 8px; }
.キ済表, .キ可表 { flex: 1; }
/* スキルの説明欄（221 窓.スキル説明）: 取得済みの列の下 */
.キ説 { flex: none; height: 168px; margin-top: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; font-size: 13px; }
.キ説頭 { display: flex; align-items: center; gap: 10px; } .キ説頭 .技行 { min-width: 180px; }
.キ説印 { display: flex; flex-wrap: wrap; gap: 4px; } .キ説印 span { background: #fff1; border: 1px solid #fff2; border-radius: 3px; padding: 0 6px; font-size: 12px; }
.キ説文 { line-height: 1.5; }
.キ説段 { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--字淡); font-size: 12px; } .キ説段 .今 { color: var(--注目); font-weight: bold; }
.キ説条 { color: var(--字淡); font-size: 12px; margin-top: auto; }
.キ説.キ説細 { gap: 2px; } .キ説細 .キ説文 { font-size: 11px; line-height: 1.3; } .キ説細 .キ説段 { font-size: 10px; gap: 0 8px; } .キ説細 .キ説条 { font-size: 10px; }   /* 昏睡だけ（221 窓.スキル説明） */
.キ技 { gap: 6px; }
.キ技 .釦 { min-height: 24px; padding: 0 8px; font-size: 12px; }
.技行.淡技 { opacity: .55; }
.キ費 { width: 64px; text-align: right; color: var(--注目); font-size: 13px; white-space: nowrap; }
.キ費.条 { color: #c8b07a; font-size: 12px; }
.キ頭 .顔.絵あり { width: 88px; height: 117px; border-radius: 6px; }   /* キャラ窓は顔を大きく */
.キ貯 { text-align: right; font-size: 18px; padding: 6px; }
.キ貯 .数 { color: var(--注目); font-size: 26px; }

/* ---- クエスト（地図） ---- */
#画面_クエスト { background: #0d1a12; }
.地枠 { position: absolute; left: 10px; top: 60px; width: 884px; height: 552px; border: 2px solid var(--枠淡); }
/* 左上 250×60 は Lv10 共通UIの予約域なので、地図は y=60 から（960×600 の絵を 880×550 に縮めて表示） */
#地図cv { display: block; width: 880px; height: 550px; }
.地なし .地枠 { opacity: .25; }
/* エリアを移る演出（320 画.移る演出）: 前の絵は逆へ滑って消え、新しい絵は進む向きから入る。真ん中にエリア名 */
.地枠 { overflow: hidden; }
.地移 { position: absolute; left: 0; top: 0; pointer-events: none; }
.地移_旧 { width: 880px; height: 550px; animation: 地移旧 .38s ease-in forwards; }
@keyframes 地移旧 { from { transform: none; opacity: 1; } to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
#地図cv.地入 { animation: 地入 .38s ease-out; }
#地図cv.罠揺れ { animation: 演揺れ .36s linear both; }   /* 罠を受けた時（2026-11-17） */
/* 遭遇の幕（320 画.遭遇の幕。2026-11-17）: 長さは js が animationDuration で決める */
#地図cv.遭遇寄り { animation: 遭遇寄り ease-in both; }
@keyframes 遭遇寄り { from { transform: none; filter: none; } to { transform: scale(1.12) rotate(-1.5deg); filter: brightness(1.6) blur(2px); } }
.遭遇幕 { position: absolute; inset: 0; pointer-events: none; z-index: 5; background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fff8e0cc 18%, #ffffff00 55%); animation: 遭遇幕 ease-in both; }
@keyframes 遭遇幕 { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: .9; } 100% { opacity: 1; transform: scale(2.4); } }
.遭遇幕.特 { background: radial-gradient(circle at 50% 50%, #fff6c8 0%, #ffd23acc 20%, #ffb40000 58%); }   /* 特殊モンスター（v1.0.94） */
@media (prefers-reduced-motion: reduce) { #地図cv.遭遇寄り, .遭遇幕 { animation: none; } }
@keyframes 地入 { from { transform: translate(calc(var(--dx) * .35), calc(var(--dy) * .35)); opacity: .2; } to { transform: none; opacity: 1; } }
.地移札 { left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 6px 28px; font-size: 26px; font-weight: bold; letter-spacing: .15em; color: var(--注目);
  background: linear-gradient(90deg, #0000, #000c 20%, #000c 80%, #0000); text-shadow: 0 0 8px #000; animation: 地移札 1.1s ease-out forwards; }
@keyframes 地移札 { 0% { opacity: 0; letter-spacing: .6em; } 20% { opacity: 1; letter-spacing: .15em; } 75% { opacity: 1; } 100% { opacity: 0; } }
.地右 { position: absolute; left: 906px; right: 8px; top: 10px; bottom: 112px; display: flex; flex-direction: column; gap: 5px; }
.地題 { background: linear-gradient(90deg, #5b4b1f, #3b3013); color: var(--注目); padding: 4px 8px; border-radius: 4px; font-weight: bold; }
.地クエ { background: #0006; padding: 6px; border-radius: 4px; font-size: 14px; }
.地行 { display: flex; justify-content: space-between; background: #0005; padding: 3px 8px; border-radius: 3px; font-size: 14px; }
.地行 .数 { color: var(--注目); }
.地行 { flex-wrap: wrap; }
.地原所 { font-size: 11px; color: var(--字淡); font-weight: normal; }
.地棒 { width: 100%; height: 6px; margin-top: 2px; background: #0008; border-radius: 3px; overflow: hidden; }
.地棒 .量 { height: 100%; background: linear-gradient(90deg, #40a060, #8be08f); }
.地棒.マグ .量 { background: linear-gradient(90deg, #a02020, #ff6060); }
.地行.満 { box-shadow: inset 0 0 0 1px #ff6060; }
.地行.達 { box-shadow: inset 0 0 0 1px #ffd76b; background: linear-gradient(90deg, #5a4a1a88, #0005); } .地行.達 .数 { color: #ffe9a0; }   /* v0.1.139 目安に届いた */
.地行.無目 { opacity: .5; }
.地釦 { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.小地図 { padding: 4px; background: #0006; border-radius: 4px; border: 1px solid #ffffff14; }
.小地図 svg { display: block; }
.小道 { stroke: #c9b46a; stroke-width: 4; stroke-linecap: round; } .小道.未 { stroke: #c9b46a88; stroke-dasharray: 3 4; stroke-width: 3; }
.小区 rect { fill: #2c2c2c; stroke: #ffffff22; stroke-width: 1; } .小区 text { fill: #ffffff55; font: bold 10px sans-serif; text-anchor: middle; }
.小区.済 rect { fill: #3a6a4a; stroke: #6fae7d; } .小区.済 text { fill: #e8f5e8; }
.小区.終 rect { fill: #8a3030; stroke: #d06060; } .小区.終 text { fill: #ffe0e0; }
.小区.今 rect { stroke: var(--注目); stroke-width: 2.5; animation: 小区今 1.4s ease-in-out infinite; } .小区.今 text { fill: var(--注目); }
@keyframes 小区今 { 50% { stroke-opacity: .35; } }
.小区 .小印 { font: bold 9px sans-serif; text-anchor: middle; } .小区 .小印.箱 { fill: #ffd34a; } .小区 .小印.功 { fill: #8fe08f; } .小区 .小印.ボ { fill: #ff6060; }
.地下 { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 100px; display: flex; gap: 10px; }
.小列 { display: flex; gap: 6px; border-radius: 8px; padding: 0 4px 0 0; min-width: 0; }
.小列.前 { flex: 3; background: #8a4a2a44; } .小列.後 { flex: 2; background: #2a5a8a44; }
.小列 .列名 { width: 26px; font-size: 13px; }
.小列.前 .列名 { background: #8a4a2acc; color: #ffd9c0; } .小列.後 .列名 { background: #2a5a8acc; color: #cfe6ff; }
.小札 { flex: 1; background: linear-gradient(180deg, var(--板2), var(--板)); border: 2px solid var(--枠淡); border-radius: 6px; padding: 4px 6px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.小札.空 { opacity: .3; align-items: center; justify-content: center; }
.小札.倒 { filter: grayscale(1) brightness(.5); }
.小名 { font-weight: bold; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.顔.極小 { width: 24px; height: 32px; font-size: 14px; border-radius: 3px; flex: none; }
.小技 { display: flex; justify-content: space-between; font-size: 11px; padding: 0 4px; border-radius: 2px; }
.小技.赤 { background: #5a1d1c; } .小技.青 { background: #183a5c; } .小技.橙 { background: #6e3c0c; } .小技.尽 { opacity: .4; }

/* ---- クリア帯（本家: 中央の横帯にクエスト名と「クリア」、左に NEW クエスト） ---- */
.窓.クリア帯 { width: 1280px; max-width: 1280px; border-radius: 0; border-left: none; border-right: none; background: linear-gradient(180deg, #000d, #3b3013ee 50%, #000d); }
.クリア中 { display: flex; gap: 20px; align-items: center; min-height: 200px; }
.クリア新 { width: 340px; flex: none; display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; background: #0008; border: 1px solid var(--枠淡); border-radius: 6px; }
.クリア新題 { color: #ff9a6b; font-weight: bold; letter-spacing: .1em; }
.クリア新行 { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.クリア本 { flex: 1; text-align: center; }
.クリア名 { font-size: 22px; color: var(--字); }
.クリア大 { font-size: 64px; font-weight: bold; color: var(--注目); letter-spacing: .3em; text-shadow: 0 4px 0 #3b3013, 0 0 24px #ffe36b88; }
.クリア得 { display: flex; gap: 24px; justify-content: center; font-size: 17px; color: var(--字); }
/* 2026-10-21: 右に加入した人の札（左の NEW クエストと同じ幅）。「クリア」は弾んで出る・札は右から滑り込む。演出カットの時は動かさない */
.クリア脇 { width: 340px; flex: none; }
.クリア加 { width: 340px; flex: none; display: flex; flex-direction: column; gap: 6px; padding: 8px 12px; background: #0008; border: 1px solid var(--枠淡); border-radius: 6px; }
.クリア加題 { color: #7fe08a; font-weight: bold; letter-spacing: .1em; }
.クリア加札 { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-radius: 6px; background: linear-gradient(90deg, #2a4a2a99, #0000); animation: クリア加入 .45s ease-out both; }
.クリア加札 .顔.小 { width: 42px; height: 56px; }
.クリア加名 { font-weight: bold; font-size: 16px; }
@keyframes クリア加入 { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.クリア大 { animation: クリア弾む .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes クリア弾む { from { opacity: 0; transform: scale(1.8); letter-spacing: .6em; } to { opacity: 1; transform: none; } }
.クリア中.速 .クリア大, .クリア中.速 .クリア加札 { animation: none; }
/* v0.1.126 クリア帯の動き（300 進.クリア帯の動き）: 光の筋・粒・字の照り・獲得が順に出る・NEW の行が滑り込む */
.クリア本 { position: relative; }
.クリア中 { overflow: clip; }   /* 光の筋（560px）と粒が窓の中ではみ出し、0人でも窓に縦のスクロール棒が出ていた（2026-11-17）。帯の行で切る＝中身があふれた時だけ棒 */
.クリア本 > :not(.クリア光):not(.クリア粒) { position: relative; z-index: 1; }
.クリア光 { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #ffe36b2e 0deg 6deg, #0000 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, #0000 62%); mask: radial-gradient(circle, #000 0 18%, #0000 62%);
  animation: クリア光回 14s linear infinite, クリア光出 .8s ease-out both; }
@keyframes クリア光回 { to { transform: rotate(360deg); } }
@keyframes クリア光出 { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.クリア粒 { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.クリア粒 span { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff6c8; box-shadow: 0 0 8px #ffe36b; opacity: 0; animation: クリア粒飛 1.1s ease-out both; }
@keyframes クリア粒飛 { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); } }
.クリア大 { background: linear-gradient(100deg, var(--注目) 0 40%, #fffbe6 50%, var(--注目) 60% 100%) 0 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 4px 0 #3b3013) drop-shadow(0 0 12px #ffe36b88);   /* 字を透かすので影は filter で（text-shadow だと照りの上に被る） */
  animation: クリア弾む .5s cubic-bezier(.3, 1.6, .5, 1) both, クリア照り 2.6s ease-in-out .6s infinite; }
@keyframes クリア照り { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }
.クリア得 span.出 { animation: クリア得出 .35s ease-out both; }
.クリア得 { font-variant-numeric: tabular-nums; }
@keyframes クリア得出 { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.クリア新行.滑 { animation: クリア新滑 .35s ease-out both; }
@keyframes クリア新滑 { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .クリア光, .クリア粒 { display: none; } .クリア大 { animation: none; } }
/* ---- 鑑定 ---- */
.鑑定 { display: flex; flex-direction: column; gap: 2px; max-height: 480px; overflow-y: auto; }
.鑑頭 { display: flex; gap: 30px; padding: 4px 8px; font-size: 16px; } .鑑頭 .数 { color: var(--注目); }
.鑑格 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 6px; }
.鑑札 { position: relative; min-height: 96px; padding: 6px 8px; border-radius: 6px; border: 2px solid var(--枠淡); display: flex; flex-direction: column; gap: 3px; }
.鑑札.未 { background: repeating-linear-gradient(45deg, #3a3020, #3a3020 8px, #30281a 8px, #30281a 16px); cursor: pointer; }
.鑑札.済 { background: linear-gradient(180deg, #2e5039, #1c3326); }
.鑑札.無効 { opacity: .45; }
/* 鑑定した札（340 .開いた）: 縦にめくれて表になり、光が走る。S ランクは金の光 */
.鑑札.開いた { animation: 鑑めくれ .5s cubic-bezier(.3, .7, .3, 1) both; }
.鑑札.開いた::after { content: ''; position: absolute; inset: 0; border-radius: 6px; pointer-events: none; background: linear-gradient(110deg, transparent 30%, #ffffff66 50%, transparent 70%); background-size: 250% 100%; animation: 鑑光 .9s ease-out .25s both; animation-delay: inherit; }
.鑑札.開いた.上物 { box-shadow: 0 0 18px #ffd76baa; border-color: #ffd76b; }
@keyframes 鑑めくれ { 0% { transform: perspective(500px) rotateY(90deg); filter: brightness(2); } 60% { transform: perspective(500px) rotateY(-8deg); } 100% { transform: none; filter: none; } }
@keyframes 鑑光 { from { background-position: 150% 0; opacity: 1; } to { background-position: -50% 0; opacity: 0; } }
.鑑種 { font-size: 12px; color: var(--字淡); }
.鑑名 { font-weight: bold; font-size: 15px; }
.鑑料 { margin-top: auto; align-self: flex-end; color: var(--注目); background: #000a; padding: 1px 8px; border-radius: 10px; font-size: 14px; }
.鑑能 { font-size: 12px; color: var(--字淡); }
.鑑札.lv10-focus { outline: 3px solid var(--注目) !important; }
.鑑定 .行 .釦 { min-height: 26px; padding: 0 10px; font-size: 13px; }
.キモ { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 6px; background: #0004; border-radius: 4px; }
/* lv10api の ⓘ（右下）と重ならないように */
.下帯 { padding-right: 64px; }
#画面_タイトル .版 { right: 70px; }
/* 下帯が横幅に収まらず、字が2段に折れていた（2026-10-27 本人「拠点の下部が横幅足りずに壊れてる」）: 折り返さず、詰めて、拠点の名だけ省略 */
.下帯 { gap: 4px; padding-left: 6px; font-size: 14px; white-space: nowrap; }
.下帯 > * { flex: none; white-space: nowrap; }
.下帯 .釦 { padding: 0 9px; font-size: 13px; }
.下帯 .項 { padding: 0 7px; gap: 4px; }
.下帯 .帯ゲージ { width: 46px; }
.下帯 .項.拠点項 { flex: 0 1 auto; min-width: 0; }
.下帯 .拠点地 { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.下帯 .項.版項 { margin-left: auto; padding-right: 0; border-left: 0; font-size: 12px; }

/* ---------- 領地（540_統治.js） ---------- */
.領画面 { position: absolute; inset: 0; display: flex; gap: 10px; }
.領左 { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.領頭 { display: flex; gap: 18px; padding: 8px 14px; border-bottom: 1px solid var(--枠淡); }
.領暦 .数 { font-size: 1.2em; }
.領一覧 { flex: 1; overflow-y: auto; }
.領行 { display: flex; align-items: center; gap: 8px; }
.領名 { width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.領棒 { flex: 1; height: 10px; background: #0006; border: 1px solid var(--枠淡); border-radius: 3px; overflow: hidden; }
.領棒.大 { flex: none; height: 16px; margin: 4px 0 8px; }
.領棒 .量 { display: block; height: 100%; }
.領棒 .量.伸び { transition: width .7s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 10px #ffe36b; }   /* 施策・徴兵の直後（540。2026-11-17） */
.領印.施策光 { animation: 領施策光 .9s ease-out; z-index: 2; }
@keyframes 領施策光 { 0% { box-shadow: 0 0 0 0 #ffe36bff, 0 2px 6px #000; transform: scale(1.35); } 100% { box-shadow: 0 0 0 18px #ffe36b00, 0 2px 6px #000; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .領印.施策光 { animation: none; } }
.領値 { width: 32px; text-align: right; }
.領段 { width: 42px; text-align: center; font-size: .85em; border-radius: 3px; padding: 0 4px; margin-left: 6px; color: #111; }
.領収 { width: 74px; text-align: right; }
.領未 { margin-left: auto; }
.領行.未 .領名 { color: var(--字淡); }
.段_不穏 { background: var(--赤); }
.段_不安 { background: var(--橙); }
.段_安定 { background: var(--緑); }
.段_繁栄 { background: var(--注目); }
.領図 { position: relative; flex: none; height: 100%; aspect-ratio: 900 / 763; background: url("../DG7map900.jpg") center / 100% 100%; border: 2px solid var(--枠淡); border-radius: 4px; }
.領印 { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #fff; color: #111; font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px #000; }
.領印.未 { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #fff6; border-color: #0008; }
.領印.今 { box-shadow: 0 0 0 4px #ffe36b88, 0 0 12px var(--注目); }
.領右 { width: 250px; display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }
.領右 .釦 { margin: 0 12px; }
.領詳 { padding: 8px 14px; display: flex; flex-direction: column; gap: 4px; }
.領大 { font-size: 1.6em; }
/* DG7 のクエスト区分（tools/変換_DG7.py） */
.ク番.仲間 { background: #8a6a1a; } .ク番.討伐 { background: #8a2020; } .ク番.協定 { background: #5a3a8a; } .ク番.高難度 { background: #4a4a4a; border: 1px solid var(--注目); } .ク番.外伝 { background: #2a5a7a; border: 1px solid #b8e0ff; }

/* ---------- 行動の演出（420_戦闘画面.js 画.演。本人の全体ルール §11）。長さは JS が animation-duration で入れる ---------- */
.戦札.演_踏込 { animation: 演踏込味 ease-out both; z-index: 5; }
.敵札.演_踏込 { animation: 演踏込敵 ease-out both; z-index: 5; }
@keyframes 演踏込味 { 0% { transform: none; } 35% { transform: translateY(-22px) scale(1.05); box-shadow: 0 0 18px var(--注目); } 100% { transform: none; } }
@keyframes 演踏込敵 { 0% { transform: none; } 35% { transform: translateY(22px) scale(1.06); box-shadow: 0 0 18px #ff6a6a; } 100% { transform: none; } }
.演_被弾 { animation: 演被弾 linear both; }
@keyframes 演被弾 { 0% { transform: translateX(0); filter: none; } 10% { transform: translateX(-8px); filter: brightness(2.2) saturate(.3); } 25% { transform: translateX(7px); filter: brightness(1.4) sepia(1) hue-rotate(-40deg) saturate(4); } 45% { transform: translateX(-5px); } 65% { transform: translateX(3px); filter: none; } 100% { transform: none; } }
.演_回避 { animation: 演回避 ease-out both; }
@keyframes 演回避 { 0% { transform: none; opacity: 1; } 30% { transform: translateX(34px); opacity: .45; } 100% { transform: none; opacity: 1; } }
.演_撃破 { animation: 演撃破 ease-in both; }
@keyframes 演撃破 { 0% { transform: none; filter: brightness(2.5); opacity: 1; } 30% { transform: scale(1.06) rotate(1deg); filter: brightness(1.6) grayscale(.5); } 100% { transform: scale(.82) rotate(-5deg) translateY(10px); filter: grayscale(1); opacity: .15; } }
.演_回復 { animation: 演光り ease-out both; --演光り: #5fc46a; }
.演_蘇生 { animation: 演光り ease-out both; --演光り: #fffbe0; }
.演_強化 { animation: 演光り ease-out both; --演光り: #ffd060; }
.演_弱体 { animation: 演光り ease-out both; --演光り: #b060ff; }
.演_守り { animation: 演光り ease-out both; --演光り: #5aa8ff; }
@keyframes 演光り { 0% { box-shadow: 0 0 0 0 var(--演光り); } 30% { box-shadow: 0 0 26px 8px var(--演光り); } 100% { box-shadow: 0 0 0 0 transparent; } }
#戦場.演_揺れ { animation: 演揺れ linear both; }
/* 戦闘の開幕（420 画.開く）: 敵の列は上から・味方の列は下から。ボス戦・先制・奇襲は斜めの帯 */
#戦場.開幕 .敵域 { animation: 開幕上 .4s cubic-bezier(.2, .8, .3, 1) both; }
#戦場.開幕 .味方域 { animation: 開幕下 .4s cubic-bezier(.2, .8, .3, 1) both; }
#戦場.開幕 .順番帯 { animation: 開幕淡 .5s ease-out both; }
@keyframes 開幕上 { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes 開幕下 { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes 開幕淡 { from { opacity: 0; } to { opacity: 1; } }
.開幕帯 { position: absolute; left: 0; right: 0; top: 300px; height: 92px; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 50;
  animation: 開幕帯 1.1s ease-out forwards; }
.開幕帯.敵 { background: linear-gradient(90deg, #0000, #8a1010e0 25%, #8a1010e0 75%, #0000); }
.開幕帯.味 { background: linear-gradient(90deg, #0000, #1a5a8ae0 25%, #1a5a8ae0 75%, #0000); }
/* 戦闘の終わりの帯（420 画.結果）: 勝利は金、ほかは灰青 */
.開幕帯.終幕.勝 { background: linear-gradient(90deg, #0000, #8a6a10e8 25%, #8a6a10e8 75%, #0000); }
.開幕帯.終幕.勝 span { color: #fff6d0; text-shadow: 0 0 14px #ffd76b, 0 2px 0 #3a2a00; }
.開幕帯.終幕.他 { background: linear-gradient(90deg, #0000, #34404ee8 25%, #34404ee8 75%, #0000); }
.開幕帯.終幕 { animation-duration: .85s; } .開幕帯.終幕 span { animation: 終幕字 .85s ease-out forwards; }
@keyframes 終幕字 { 0% { transform: scale(1.8); opacity: 0; letter-spacing: .6em; } 25% { transform: none; opacity: 1; letter-spacing: .3em; } 80% { opacity: 1; } 100% { opacity: 0; } }
.開幕帯 span { font-size: 46px; font-weight: bold; letter-spacing: .3em; color: #fff; text-shadow: 0 0 12px #000, 0 2px 0 #000; animation: 開幕字 1.1s ease-out forwards; }
.開幕帯.ボス { flex-direction: column; height: 112px; gap: 2px; }   /* ボスの名を下に（420。2026-11-17） */
.開幕帯 span.開幕ボス { font-size: 22px; letter-spacing: .2em; color: #ffd0c0; animation-delay: .08s; }
@keyframes 開幕帯 { 0% { transform: scaleY(0); opacity: 0; } 12% { transform: scaleY(1); opacity: 1; } 78% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0); opacity: 0; } }
@keyframes 開幕字 { 0% { transform: translateX(120px); opacity: 0; } 18% { transform: none; opacity: 1; } 78% { transform: none; opacity: 1; } 100% { transform: translateX(-120px); opacity: 0; } }
@keyframes 演揺れ { 0%, 100% { transform: none; } 15% { transform: translate(-6px, 3px); } 30% { transform: translate(6px, -4px); } 45% { transform: translate(-4px, 2px); } 60% { transform: translate(3px, -2px); } 80% { transform: translate(-2px, 1px); } }
.演光, .演斬, .演砕, .演柱, .演盾 { position: absolute; pointer-events: none; z-index: 45; animation-fill-mode: forwards; animation-timing-function: ease-out; }
.演光 { width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, var(--演色) 30%, transparent 70%); mix-blend-mode: screen; animation-name: 演光; }
.演光.外 { width: 230px; height: 230px; margin: -115px 0 0 -115px; background: radial-gradient(circle, transparent 40%, var(--演色) 55%, transparent 70%); }
.演光.上 { animation-name: 演光上; }
.演光.下 { animation-name: 演光下; }
@keyframes 演光 { 0% { transform: scale(.2); opacity: 1; } 60% { opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes 演光上 { 0% { transform: translateY(30px) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-50px) scale(1.1); opacity: 0; } }
@keyframes 演光下 { 0% { transform: translateY(-30px) scale(1.1); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(40px) scale(.4); opacity: 0; } }
.演斬 { width: 190px; height: 7px; margin: -3px 0 0 -95px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--演色), #fff, var(--演色), transparent); box-shadow: 0 0 12px var(--演色); animation-name: 演斬; }
@keyframes 演斬 { 0% { transform: rotate(-32deg) scaleX(0); opacity: 1; } 35% { transform: rotate(-32deg) scaleX(1); opacity: 1; } 100% { transform: rotate(-32deg) scaleX(1.1) translateY(6px); opacity: 0; } }
.演砕 { width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; background: radial-gradient(circle, transparent 30%, #fff8 32%, transparent 36%), radial-gradient(circle, #fff 0 4px, transparent 5px) 20px 30px / 40px 40px; animation-name: 演砕; }
@keyframes 演砕 { 0% { transform: scale(.3) rotate(0); opacity: 1; } 100% { transform: scale(1.5) rotate(40deg); opacity: 0; } }
.演柱 { width: 90px; height: 260px; margin: -200px 0 0 -45px; background: linear-gradient(0deg, transparent, var(--演色), transparent); filter: blur(2px); animation-name: 演柱; }
@keyframes 演柱 { 0% { transform: scaleY(0); opacity: 0; } 30% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1.1); opacity: 0; } }
.演盾 { width: 120px; height: 140px; margin: -70px 0 0 -60px; border: 4px solid var(--演色); border-radius: 50% 50% 46% 46% / 30% 30% 70% 70%; box-shadow: 0 0 18px var(--演色), inset 0 0 18px var(--演色); animation-name: 演盾; }
@keyframes 演盾 { 0% { transform: scale(.5); opacity: 0; } 30% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
/* v0.1.135 列の技の巻き込み（420 画.巻込見張り） */
.敵札.巻込 { box-shadow: 0 0 0 3px #ffb04a, 0 0 18px #ffb04a99 !important; }
.敵札.巻込::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #ffb04a22, transparent 40%); pointer-events: none; }
/* v0.1.127 ボス撃破の締め（420 画.ボス撃破）: 画面の白い光と衝撃の輪 */
.演白 { position: absolute; inset: 0; pointer-events: none; z-index: 48; background: radial-gradient(circle at 50% 40%, #fff, #fff8 60%, #fff4); animation: 演白 ease-out forwards; }
@keyframes 演白 { 0% { opacity: 0; } 12% { opacity: .85; } 100% { opacity: 0; } }
.演輪 { position: absolute; pointer-events: none; z-index: 46; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 5px solid var(--演色); box-shadow: 0 0 22px var(--演色), inset 0 0 14px var(--演色); animation: 演輪 ease-out forwards; }
.演輪.二 { border-width: 3px; }
@keyframes 演輪 { 0% { transform: scale(.2); opacity: 1; } 70% { opacity: .8; } 100% { transform: scale(9); opacity: 0; } }
.浮数.状態 { color: #d58aff; font-size: 22px; }
.領右 { position: relative; }
.領浮 { position: absolute; right: 16px; font-size: 22px; font-weight: bold; color: var(--緑); text-shadow: 0 2px 0 #000, 0 0 6px #000; pointer-events: none; z-index: 5; animation: 領浮 1.4s ease-out both; }
.領浮.減 { color: #ff8a7a; }
@keyframes 領浮 { 0% { opacity: 0; transform: translateY(12px) scale(.8); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; transform: translateY(-14px); } 100% { opacity: 0; transform: translateY(-22px); } }
.下帯 .満月 { white-space: nowrap; }

/* 会話の話し手の顔（600_会話.js 顔窓・2026-10-20）。レベテン札の上の正方形だけを額に入れて、フキダシの話し手の場所に出す */
.Go肖像.顔窓 { width: 24cqh; height: auto; aspect-ratio: 500 / 620; max-width: none; object-fit: cover; object-position: center top; border: 3px solid #c8a75a; border-radius: 8px;
  box-shadow: 0 0 0 2px #2a1d08, 0 6px 18px #000c; background: #111; image-rendering: auto; }
.Go肖像.顔窓.左.垂直_上 { left: 6cqw; top: 9cqh; }
.Go肖像.顔窓.右.垂直_下 { right: 6cqw; bottom: 9cqh; }
/* 敵が DG7 の人物（名前付きのボス）なら肖像（019_敵の絵.js）。札の上の正方形だけ */
.敵肖像 { height: 100%; aspect-ratio: 3 / 4; margin: 0 auto; background-size: cover; background-position: center top; background-repeat: no-repeat; border-radius: 6px; border: 2px solid #c0504d; box-shadow: 0 0 12px #c0504d88; }
.敵札.倒 .敵肖像 { filter: grayscale(1); }

.小名 .顔.極小 { width: 16px; height: 21px; font-size: 11px; }   /* 地図の下帯: 名前の行の高さを変えない（HP の数字が隠れないように） */

/* 難易度と隊の平均 Lv の釣り合い（220 拠.適正。2026-10-21 U3） */
.適_適 { color: #7fe08a !important; } .適_注意 { color: #f0c850 !important; } .適_危 { color: #ff6a5a !important; font-weight: bold; } .適_楽 { color: #8a96a0 !important; }

/* ---- タイトル: DLC 釦の中身の一言（210。買える環境だけ .DLC添。2026-11-08） ---- */
.釦.DLC添::after { content: '外伝2本・王家の大迷宮 ほか'; font-size: 11.5px; font-weight: normal; color: var(--注目); opacity: .85; letter-spacing: 0; }

/* ---- タイトル: ロード窓の札（210_タイトル.js RQ.タイトル.ロード窓） ---- */
.ロ一覧 { display: flex; flex-direction: column; gap: 6px; }
.行.ロ札 { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 8px 12px; min-height: 66px; border: 1px solid #c8a85a33; border-radius: 6px; background: #0004; }
.行.ロ札.空 { cursor: default; opacity: .5; }
.ロ名 { font-weight: bold; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.ロ新 { font-size: 10px; background: var(--注目); color: #2a2200; border-radius: 3px; padding: 0 5px; line-height: 15px; }
.ロ日 { font-size: 12px; color: var(--字淡); margin-top: 4px; }
.ロ本 { display: flex; align-items: center; gap: 14px; }
.ロ顔 { display: flex; gap: 4px; }
.ロ顔 .顔.小 { position: relative; width: 46px; height: 62px; }   /* 縦長の顔（編成の札と同じ比。2026-11-05 本人「ロード画面が正方形のまま」） */
.ロLv { position: absolute; right: 1px; bottom: 3px; font-size: 10px; font-weight: bold; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }
.ロ顔空 { width: 46px; height: 62px; border-radius: 6px; border: 1px dashed #fff2; }
.ロ数 { font-size: 13px; line-height: 1.55; }
.ロ無 { align-self: center; color: var(--字淡); }

/* ---- データログの種類の札と絞り込み（520 ロ.窓） ---- */
.ログ道具 { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 0 8px; }
.ログ道具 .釦 { min-height: 26px; padding: 1px 10px; font-size: 12px; }
.ログ一覧 { max-height: 430px; }
.ログ札 { flex: none; width: 46px; text-align: center; font-size: 11px; font-weight: bold; border-radius: 3px; padding: 1px 0; color: #fff; background: #555; }
.ログ札.空 { background: none; }
.ログ行.子 { color: var(--字淡); font-size: 13px; }
.ログ色_出撃 { --ロ色: #3f6f9a; } .ログ色_クリア { --ロ色: #b8902f; } .ログ色_失敗 { --ロ色: #a83a2f; } .ログ色_仲間 { --ロ色: #3f9a5a; }
.ログ色_品 { --ロ色: #8a5cc4; } .ログ色_GOLD { --ロ色: #c8a030; } .ログ色_領地 { --ロ色: #8a6a3a; } .ログ色_特殊 { --ロ色: #5a6a7a; } .ログ色_他 { --ロ色: #666; }
.ログ札[class*="ログ色_"] { background: var(--ロ色); }
.ログ釦[class*="ログ色_"] { border-left: 4px solid var(--ロ色); }

/* ---- 倉庫の窓の絞り込みと並び替え（221 RQ.倉庫窓） ---- */
.倉道具 { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 0 0 8px; }
.倉道具 .釦 { min-height: 26px; padding: 1px 10px; font-size: 12px; }
.倉一覧 { max-height: 470px; }
.倉rk { width: 30px; text-align: center; color: var(--注目) !important; }
.倉誰 { color: var(--注目); font-weight: bold; }
.倉性 { width: 330px; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* v0.1.123: 性能の列を固定の幅に（ランクの列が行ごとにずれていた） */

/* ---- クエスト失敗のお知らせ（300 進.お知らせ の 飾.失敗） ---- */
.失敗表 { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 6px; }
.失敗帯 { align-self: stretch; height: 58px; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #0000, #7a1410e0 20%, #7a1410e0 80%, #0000); animation: 失敗帯 .5s ease-out both; }
.失敗帯 span { font-size: 30px; font-weight: bold; letter-spacing: .3em; color: #ffd8d0; text-shadow: 0 0 10px #000, 0 2px 0 #000; animation: 失敗字 .7s ease-out both; }
.失敗名 { font-size: 16px; font-weight: bold; margin-top: 6px; }
.失敗理由 { font-size: 13px; color: #ff9a8a; }
.失敗行々 { display: flex; gap: 14px; margin-top: 6px; }
.失敗行 { padding: 3px 12px; border-radius: 4px; background: #0006; border: 1px solid #fff2; font-size: 14px; }
.失敗行.金 { color: var(--注目); border-color: #c8a85a66; } .失敗行.没 { color: #ff8a7a; border-color: #ff8a7a66; }
.失敗表.速 .失敗帯, .失敗表.速 .失敗帯 span { animation: none; }
@keyframes 失敗帯 { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes 失敗字 { 0% { opacity: 0; letter-spacing: .8em; filter: blur(4px); } 100% { opacity: 1; filter: none; } }

/* ---- オートセーブの印（120 保存印） ---- */
.保存印 { position: absolute; right: 70px; bottom: 40px; z-index: 900; display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 4px; background: #000b; border: 1px solid var(--枠淡); color: var(--注目); font-size: 12px; pointer-events: none; animation: 保存印 1.7s ease-out forwards; }
.保存印 svg { width: 14px; height: 14px; animation: 保存回 1s ease-in-out 2; }
@keyframes 保存印 { 0% { opacity: 0; transform: translateY(6px); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes 保存回 { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* 領地の施策: 所持金が足りない釦（540） */
.釦.足りない { color: #ff9a8a; border-color: #a8433a88; }
.店価.足りない { color: #ff8a7a !important; opacity: .8; }

/* ---- クエスト一覧の区分の絞り込み（220 拠.区分絞り）: 2列の小さい釦。左の縁は番号の札と同じ色 ---- */
.ク区分 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 6px; }
.ク区分 .釦 { min-height: 26px; padding: 0 4px; font-size: 12px; }
.ク区分 .釦.区_全 { grid-column: 1 / -1; }
.区分釦.区_メイン { border-left: 4px solid #1c6a8a; } .区分釦.区_仲間 { border-left: 4px solid #8a6a1a; } .区分釦.区_通常 { border-left: 4px solid #555; } .区分釦.区_他 { border-left: 4px solid #8a2020; }
.ク条印 { flex: none; margin-right: 6px; padding: 0 5px; border-radius: 3px; font-size: 10px; color: #ffb0a0; border: 1px solid #a8433a99; background: #3a1a1488; }
.ク条印.DLC印 { color: #bfe0ff; border-color: #4a86c899; background: #14283a88; }   /* DLC が要る話（220。2026-11-08） */
.地行.押せる { cursor: pointer; } .地行.押せる:hover { background: #ffffff10; }

/* ---- 戦場の空気（420 画.天気）: 札の後ろで舞う粒 ---- */
.天気 { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.天気 span { position: absolute; border-radius: 50%; animation-timing-function: linear; animation-iteration-count: infinite; }
.天気_雪 span { top: -12px; background: radial-gradient(circle, #fff, #ffffffaa 50%, #fff0 72%); animation-name: 天雪; }
@keyframes 天雪 { 0% { transform: translate(0, 0); } 25% { transform: translate(18px, 190px); } 50% { transform: translate(-6px, 380px); } 75% { transform: translate(16px, 570px); } 100% { transform: translate(0, 760px); } }
.天気_葉 span { top: -16px; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #b8d860, #5a8a2a); animation-name: 天葉; }
@keyframes 天葉 { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(-70px, 230px) rotate(160deg); } 60% { transform: translate(-20px, 460px) rotate(300deg); } 100% { transform: translate(-120px, 760px) rotate(520deg); } }
.天気_塵 span { background: radial-gradient(circle, #f4e6c0, #f4e6c000 70%); animation-name: 天塵; animation-timing-function: ease-in-out; }
@keyframes 天塵 { 0%, 100% { transform: translate(0, 0); opacity: .2; } 50% { transform: translate(30px, -40px); opacity: .7; } }
.天気_火 span { top: auto; bottom: -10px; background: radial-gradient(circle, #fff2a0, #ff8a2a 45%, #ff3a0000 72%); box-shadow: 0 0 6px #ff7a2a; animation-name: 天火; }
@keyframes 天火 { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(24px, -360px); } 85% { opacity: .8; } 100% { transform: translate(-10px, -720px); opacity: 0; } }
.天気_霧 span { border-radius: 50%; background: radial-gradient(ellipse, #e8f0f0, #e8f0f000 70%); animation-name: 天霧; animation-timing-function: ease-in-out; animation-direction: alternate; }
@keyframes 天霧 { from { transform: translateX(-180px); } to { transform: translateX(180px); } }
/* 雨（2026-11-17 自走の仮採用。背景が雨の差分の時。015 世.降り物）: 細い筋が左下へ速く落ちる */
.天気_雨 span { top: -80px; border-radius: 1px; background: linear-gradient(#c8dcff00, #c8dcffd0); animation-name: 天雨; }
@keyframes 天雨 { from { transform: translate(0, 0) rotate(11deg); } to { transform: translate(-24vh, 120vh) rotate(11deg); } }
/* 会話の背景（606。窓いっぱい）は高さが 760px を超えるので、雪も画面の高さで落とす */
.天気.全面 { position: absolute; z-index: 0; }
.天気.全面.天気_雪 span { animation-name: 天雪全; }
@keyframes 天雪全 { 0% { transform: translate(0, 0); } 25% { transform: translate(18px, 27vh); } 50% { transform: translate(-6px, 54vh); } 75% { transform: translate(16px, 81vh); } 100% { transform: translate(0, 108vh); } }
.天気.全面.天気_葉 span { animation-name: 天葉全; }   /* 会話の背景の場所の粒（606 v1.0.84） */
@keyframes 天葉全 { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(-70px, 32vh) rotate(160deg); } 60% { transform: translate(-20px, 64vh) rotate(300deg); } 100% { transform: translate(-120px, 108vh) rotate(520deg); } }
.天気.全面.天気_火 span { animation-name: 天火全; }
@keyframes 天火全 { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translate(24px, -50vh); } 85% { opacity: .8; } 100% { transform: translate(-10px, -100vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .天気 { display: none; } }

/* 拠点のタブを替えた時（220 タブ入り）: 中身が替えた向きから少し滑って入る */
.本体.タブ入_右 > * { animation: タブ入右 .28s ease-out; } .本体.タブ入_左 > * { animation: タブ入左 .28s ease-out; }
@keyframes タブ入右 { from { opacity: .2; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes タブ入左 { from { opacity: .2; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.本拠旗.小 { width: 16px; height: 20px; margin: -24px 0 0 2px; }
/* 会話のログ（600 会話.ログを開く）: セリフレイヤーの上に重ねる。フキダシの見た目（セリフ.css）は変えない */
.会話ログ釦 { position: absolute; right: 5.5cqw; bottom: 1.2cqh; z-index: 2030; font: 1.1cqw sans-serif; color: var(--字淡); background: #000a; border: 1px solid #fff3; border-radius: 3px; padding: .2cqh .6cqw; cursor: pointer; }
.会話ログ釦:hover { color: var(--注目); border-color: var(--枠); }
/* シーンカットの間だけ出すスキップ（600 会話.初期化。層は lv10api/11_シーンカット.js が持つ） */
.会話飛ばし釦 { display: none; position: absolute; right: 11.5cqw; bottom: 1.2cqh; z-index: 2030; font: 1.1cqw sans-serif; color: var(--字淡); background: #000a; border: 1px solid #fff3; border-radius: 3px; padding: .2cqh .6cqw; cursor: pointer; }
#Goセリフレイヤー.シーン中 .会話飛ばし釦 { display: block; }
.会話飛ばし釦:hover { color: var(--注目); border-color: var(--枠); }
.会話ログ幕 { position: absolute; inset: 0; z-index: 2040; background: #000b; display: flex; align-items: center; justify-content: center; cursor: default; animation: 会話ログ入 .18s ease-out; }
@keyframes 会話ログ入 { from { opacity: 0; } to { opacity: 1; } }
.会話ログ板 { width: 72cqw; height: 84cqh; display: flex; flex-direction: column; background: linear-gradient(#1c3326f2, #0d1a12f2); border: 1px solid var(--枠); border-radius: 6px; box-shadow: 0 0 2cqw #000; font-family: sans-serif; color: var(--字); }
.会話ログ題 { display: flex; justify-content: space-between; align-items: center; padding: 1cqh 1.4cqw; border-bottom: 1px solid var(--枠淡); font-size: 1.5cqw; font-weight: bold; color: var(--注目); }
.会話ログ題 .数 { font-size: 1.2cqw; color: var(--字淡); font-weight: normal; }
.会話ログ一覧 { flex: 1; overflow-y: auto; padding: 1cqh 1.4cqw; display: flex; flex-direction: column; gap: 1.2cqh; }
.会話ログ行 { display: flex; gap: 1cqw; align-items: flex-start; }
.会話ログ顔 { width: 3.6cqw; height: 4.8cqw; flex: none; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid var(--枠淡); background: #0006; }
.会話ログ顔.空 { display: inline-block; }
.会話ログ名 { font-size: 1.15cqw; color: var(--枠); font-weight: bold; }
.会話ログ文 { font-size: 1.45cqw; line-height: 1.5; white-space: pre-wrap; }
.会話ログ行.シス { justify-content: center; } .会話ログ行.シス .会話ログ文 { color: var(--字淡); text-align: center; font-style: italic; }
.会話ログ行.今 .会話ログ文 { color: var(--注目); }
.会話ログ下 { display: flex; justify-content: flex-end; padding: 1cqh 1.4cqw; border-top: 1px solid var(--枠淡); }
/* 技の軌跡（420 軌跡）: 使った人の中心から相手の中心へ。線が伸びて頭の光が走り、線は消える */
.演軌 { position: absolute; height: 0; transform-origin: 0 50%; pointer-events: none; z-index: 46; }
.演軌::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--演色) 70%, #fff); box-shadow: 0 0 8px var(--演色); transform-origin: 0 50%; animation: 演軌線 calc(var(--長) * 2) ease-out forwards; }
.演軌::after { content: ''; position: absolute; top: -7px; left: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, var(--演色) 55%, transparent 72%); box-shadow: 0 0 14px var(--演色); animation: 演軌頭 var(--長) ease-in forwards; }
.演軌.魔::before { top: -4px; height: 8px; filter: blur(1px); }
.演軌.魔::after { top: -11px; width: 22px; height: 22px; margin-left: -11px; }
@keyframes 演軌線 { 0% { transform: scaleX(0); opacity: .9; } 50% { transform: scaleX(1); opacity: .9; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes 演軌頭 { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
/* 状態の印（420 状態文字）: 種類ごとの色の小札 */
.状態欄 { display: flex; gap: 3px; align-items: center; }
.状印 { display: inline-block; padding: 0 5px; border-radius: 3px; font-size: 10.5px; line-height: 14px; font-weight: bold; color: #fff; border: 1px solid #fff3; text-shadow: 0 1px 0 #0008; }
.状_上 { background: #b8452c; } .状_守 { background: #2d6aa8; } .状_下 { background: #6a3aa0; } .状_毒 { background: #3d8a3a; }
.状_ぴ { background: #b89a1c; color: #1a1400; text-shadow: none; } .状_隠 { background: #44484c; color: #cfd6dc; } .状_壁 { background: #2a8a9a; }
.状_溜 { background: #c87a1e; animation: 状溜 .9s ease-in-out infinite; }
@keyframes 状溜 { 50% { box-shadow: 0 0 8px #ffb040; filter: brightness(1.25); } }
@media (prefers-reduced-motion: reduce) { .状_溜, .小区.今 rect { animation: none; } }
/* 戦闘の速さの釦（420 左右描画）: AUTO の横に並べる */
.戦左行 { display: flex; gap: 8px; } .戦左行 .釦 { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; }
.戦左行 .速さ釦 { flex: 0 0 92px; font-size: 14px; } .速さ釦.速い { color: var(--注目); border-color: var(--枠); }
/* 戦績（420 戦績）: 結果の窓の各人の右に 与（敵へのダメージ）・癒（回復）。一番多い人に MVP の札 */
.結果績 { width: 116px; display: flex; flex-direction: column; align-items: flex-end; font-size: 11.5px; line-height: 1.25; }
.結果績 .与 { color: #ffb08a; } .結果績 .癒 { color: #8be08f; }
.結果人.MVP { box-shadow: inset 0 0 0 1px #ffe36b88, 0 0 10px #ffe36b33; }
.MVP札 { position: absolute; right: 6px; top: -8px; padding: 0 6px; font-size: 10.5px; font-weight: bold; letter-spacing: 1px; color: #2a1a00; background: linear-gradient(#fff3b0, #e8b830); border-radius: 3px; box-shadow: 0 0 6px #ffe36b88; }
/* 行動順の帯と札の照らし合わせ（420 照らす）: 帯の顔に乗せた人の札・札に乗せた人の帯の顔を光らせる */
.順札.照 { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 10px #ffe36b; z-index: 2; transform: translateY(-3px); }
.敵札.照, .戦札.照 { box-shadow: 0 0 0 2px #ffe36bcc, 0 0 16px #ffe36b66 !important; }
/* クエスト詳細のクリアで起きること（220 ク副） */
.ク副 { display: flex; gap: 8px; padding: 0 14px 4px; }
.ク副 span { padding: 1px 9px; border-radius: 10px; font-size: 12.5px; border: 1px solid #fff3; background: #0006; }
.ク副_次 { color: #9fd8ff; border-color: #4aa0e088 !important; } .ク副_地 { color: #8be08f; border-color: #5fc46a88 !important; }
.ク副_移 { color: var(--注目); border-color: #b89b4a !important; } .ク副_戦 { color: #ff9a8a; border-color: #c0504d !important; }
/* 敵の図鑑（525 図鑑.窓） */
.図鑑計 { margin-left: auto; font-size: 13px; color: var(--字淡); } .図鑑計 .数 { color: var(--注目); }
.図鑑格 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; max-height: 470px; overflow-y: auto; padding-right: 4px; }
/* v0.1.124 図鑑の詳細の欄（右）: 左は札の格子を6列に */
.図鑑 { display: flex; gap: 10px; }
.図鑑左 { flex: 1; min-width: 0; }
.図鑑左 .図鑑格 { grid-template-columns: repeat(6, 1fr); max-height: 486px; }
.図鑑詳 { flex: none; width: 330px; height: 528px; display: flex; flex-direction: column; gap: 5px; padding: 8px 10px; border-radius: 6px; background: #0009; border: 1px solid var(--枠淡); overflow: hidden; }
.図鑑詳空 { margin: auto; color: #ffffff44; font-size: 22px; font-weight: bold; }
.図鑑詳DLC箱 { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }   /* 大迷宮の層の主（525。2026-11-17） */
.図鑑詳DLC箱 .図鑑詳空 { margin: 0; }
.図鑑詳DLC { text-align: center; color: #ffe36b; font-size: 14px; }
.図鑑詳絵 { height: 120px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, #ffffff14, transparent 70%); }
.図鑑詳絵 > * { max-height: 116px; max-width: 100%; }
.図鑑詳絵.ボス { background: radial-gradient(ellipse at 50% 60%, #c0504d33, transparent 70%); }
.図鑑詳名 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: bold; }
.図鑑詳分 { font-size: 11px; padding: 0 7px; border-radius: 8px; border: 1px solid #fff3; color: var(--字淡); font-weight: normal; }
.図鑑詳分.分_ボス { border-color: #c0504d; color: #ff8a7a; } .図鑑詳分.分_レア { border-color: #e8d23a; color: #ffe36b; }
.図鑑詳副, .図鑑詳回 { font-size: 12.5px; color: var(--字淡); } .図鑑詳回 .数 { color: var(--注目); }
.図鑑詳能 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 10px; font-size: 12.5px; padding: 4px 0; border-top: 1px solid #ffffff14; border-bottom: 1px solid #ffffff14; }
.図鑑詳能 > div { display: flex; justify-content: space-between; } .図鑑詳能 .数 { color: #fff; }
.図鑑詳弱 { font-size: 12.5px; }
.図鑑詳技 { display: flex; flex-wrap: wrap; gap: 4px; font-size: 11.5px; }
.図鑑詳技 > span { padding: 1px 7px; border-radius: 8px; background: #8a2b2b66; border: 1px solid #ff8a7a44; }
.図鑑詳題 { font-size: 12.5px; color: var(--注目); margin-top: 2px; }
.図鑑詳ク { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.図鑑詳ク行 { display: flex; align-items: center; gap: 6px; padding: 2px 6px; border-radius: 4px; background: #ffffff0a; font-size: 12.5px; cursor: pointer; }
.図鑑詳ク行:hover, .図鑑詳ク行:focus, .図鑑詳ク行.lv10-focus { background: #1c3326; outline: 1px solid var(--枠); }
.図鑑詳ク行 .番 { font-size: 11px; padding: 0 5px; border-radius: 3px; background: #2a5a8a; color: #fff; }
.図鑑詳ク行 .名 { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.図鑑詳ボ { font-size: 10.5px; color: #ff8a7a; } .図鑑詳済 { font-size: 10.5px; color: #7fe08a; }
.図鑑札 { display: flex; flex-direction: column; align-items: center; padding: 4px 4px 5px; border-radius: 6px; background: #0007; border: 1px solid #ffffff14; min-width: 0; }
.図鑑札:focus, .図鑑札:hover { border-color: var(--枠); background: #1c3326; }
.図鑑札.ボス { border-color: #c0504d88; } .図鑑札.レア { border-color: #e8d23a88; }
.図鑑絵 { width: 100%; height: 74px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.図鑑絵 > * { max-height: 74px; }
.図鑑札.未 .図鑑絵 { filter: brightness(0) drop-shadow(0 0 1px #ffffff55); opacity: .7; }
.図鑑不明 { width: 56px; height: 56px; border-radius: 6px; border: 1px solid #c0504d; color: #c0504d; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: bold; }
.図鑑札.未.ボス .図鑑絵 { filter: none; opacity: 1; }
.図鑑名 { font-size: 12px; font-weight: bold; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.図鑑札.未 .図鑑名 { color: #ffffff55; }
.図鑑節題 { grid-column: 1 / -1; font-size: 13px; font-weight: bold; color: var(--注目); padding: 8px 2px 2px; border-bottom: 1px solid #ffffff14; }   /* 図鑑の外伝の主の節（525。代行の判断 11-17） */
.図鑑副 { font-size: 10px; color: var(--字淡); min-height: 13px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.図鑑倒 { font-size: 11px; color: var(--字淡); min-height: 14px; } .図鑑倒 .数 { color: #ffb08a; }
/* 人物録（527。2026-11-17）: 図鑑の形を借りて、所属の見出しで区切る。まだの人は顔の影 */
.人物格 { align-content: start; }
.人物群題 { grid-column: 1 / -1; font-size: 13px; font-weight: bold; color: var(--注目); padding: 6px 2px 2px; border-bottom: 1px solid #ffffff14; }
.人物札 .顔 { width: 60px; height: 80px; font-size: 26px; }
.人物札.未 .顔 { filter: brightness(0) drop-shadow(0 0 1px #ffffff55); opacity: .6; }
.人物札.未 .図鑑名 { color: #ffffff55; }
.人物詳絵 { flex: none; display: flex; justify-content: center; padding: 4px 0; }
.人物詳顔 { width: 150px; height: 200px; font-size: 60px; }
.人物詳顔.影 { filter: brightness(0) drop-shadow(0 0 2px #ffffff55); opacity: .6; }
.人物詳文 { font-size: 13px; line-height: 1.75; padding-top: 6px; border-top: 1px solid #ffffff14; overflow-y: auto; min-height: 0; }
.人物長 { border-color: #e8d23a; color: #ffe36b; }
.人物札.DLC人 { border-color: #e8d23a55; } .人物札.DLC人 .顔 { opacity: .85; } .人物札.DLC人 .図鑑副 { color: #ffe36b; }   /* DLC で加わる人（527 v1.0.97） */
.人物DLC { border-color: #e8d23a; color: #ffe36b; }
.人物DLC釦 { margin-top: 8px; display: flex; justify-content: center; }
/* 音楽室（528。2026-11-17）: 場面の見出しで区切った曲の札。今鳴っている曲は金の印 */
.音楽室 .倉道具 { gap: 10px; }
.音表 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 8px; max-height: 470px; overflow-y: auto; padding-right: 4px; align-content: start; }
.音群題 { grid-column: 1 / -1; font-size: 13px; font-weight: bold; color: var(--注目); padding: 6px 2px 2px; border-bottom: 1px solid #ffffff14; }
.音行 { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; background: #0007; border: 1px solid #ffffff14; font-size: 13px; cursor: pointer; min-width: 0; }
.音行:hover, .音行:focus, .音行.lv10-focus { border-color: var(--枠); background: #1c3326; }
.音行 .音印 { color: #ffffff33; flex: none; } .音行 .音名 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.音行.今 { border-color: #e8d23a; background: #3a3414; } .音行.今 .音印 { color: #ffe36b; animation: 点滅 1s infinite; }
.音行.伏 { cursor: default; color: #ffffff44; }
.音群題.声題 { color: #8fc8ff; } .音行.声行 .音印 { color: #6fb8ff99; font-size: 11px; } .音行.声行 .淡 { flex: none; margin-left: auto; font-size: 11px; }   /* 音楽室の戦の声（528。2026-11-17 自走の仮採用） */
/* 地図の敵の札（320 敵札を出す）: 敵の上に小さく。押せない */
.地敵札 { position: absolute; z-index: 30; transform: translate(-50%, calc(-100% - 22px)); pointer-events: none; min-width: 120px; max-width: 220px; padding: 4px 9px 5px; border-radius: 5px; background: #0d1a12ee; border: 1px solid var(--枠淡); box-shadow: 0 2px 8px #000a; font-size: 12.5px; white-space: nowrap; animation: 地敵札 .12s ease-out; }
.地敵札.ボス { border-color: #c0504d; }
@keyframes 地敵札 { from { opacity: 0; transform: translate(-50%, calc(-100% - 16px)); } }
.地敵題 { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--枠); font-weight: bold; margin-bottom: 2px; }
.地敵札.ボス .地敵題 { color: #ff8a7a; }
.地敵足 { font-weight: normal; padding: 0 5px; border-radius: 3px; background: #0006; } .足_遅い { color: #8ab8ff; } .足_同じ { color: #c8a0ff; } .足_速い { color: #ff9ab8; }
.地敵行 { display: flex; justify-content: space-between; gap: 10px; } .地敵行 .数 { color: var(--注目); }
.地敵札.下 { transform: translate(-50%, 24px); animation: none; }
/* 地図の物の札（v0.1.147）: 題の色を物の色に */
.地物札 { border-color: #c8a85a88; } .地物札 .地敵行 { color: #dde6dd; }
.地物札.物_宝箱 .地敵題 { color: #e8b86a; } .地物札.物_回復 .地敵題 { color: #7fe08f; } .地物札.物_青玉 .地敵題 { color: #7fd8ff; }
.地物札.物_GOLD .地敵題, .地物札.物_冒険功績 .地敵題 { color: #ffe27a; } .地物札.物_緑☆ .地敵題 { color: #6fe07a; } .地物札.物_脱出 .地敵題 { color: #9fe8c8; } .地物札.物_出口 .地敵題 { color: #7fe6ff; }
/* 左右の端では札を内側へ（v0.1.148） */
.地敵札.右寄 { transform: translate(calc(-100% + 16px), calc(-100% - 22px)); animation: none; }
.地敵札.左寄 { transform: translate(-16px, calc(-100% - 22px)); animation: none; }
.地敵札.下.右寄 { transform: translate(calc(-100% + 16px), 24px); }
.地敵札.下.左寄 { transform: translate(-16px, 24px); }
/* 領地の地図の印（540）: 押せる・反乱中は赤い輪が脈打つ・本拠地に旗 */
.領印 { cursor: pointer; transition: transform .12s; } .領印:hover { transform: scale(1.18); z-index: 2; }
.領印.反乱::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #ff4a3a; animation: 領反乱 1.2s ease-out infinite; pointer-events: none; }
@keyframes 領反乱 { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.領旗 { position: absolute; left: 12px; top: -24px; width: 16px; height: 20px; pointer-events: none; filter: drop-shadow(0 1px 1px #000); }
.領旗 svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .領印.反乱::after { animation: none; } }
/* Lv が上がった時の上がった能力（420 結果）: LEVEL UP の札の右に */
.結果伸び { position: absolute; left: 232px; top: -7px; padding: 0 6px; font-size: 10.5px; font-weight: bold; color: #c8ffd0; background: #10301aee; border: 1px solid #5fc46a88; border-radius: 3px; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .3s .15s, transform .3s .15s; }
.結果伸び.出 { opacity: 1; transform: none; }
/* 敵の説明（420 画.敵説明）: 使う技を小さな札で */
.戦説 .敵技 { display: flex; flex-wrap: wrap; gap: 3px 5px; font-size: 11.5px; } .戦説 .敵技 > span { background: #5a2322aa; border: 1px solid #c0504d55; border-radius: 3px; padding: 0 5px; }
/* 装備の窓の並び・絞り込み（2026-10-27 本人「武器防具の装備でこそソート」） */
.装並帯 { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 6px; font-size: 13px; } .装並帯 .釦 { padding: 2px 10px; font-size: 13px; } .装並帯 .区切 { width: 10px; }
/* キャラ窓の配置（2026-10-27） */
.キ配 { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin-top: 6px; padding: 4px 6px; background: #0004; border-radius: 4px; } .キ配題 { font-size: 13px; color: var(--注目); font-weight: bold; margin-right: 4px; } .キ配 .釦 { padding: 0 5px; font-size: 12px; min-height: 22px; } .キ配 { gap: 2px; } .キ配題 { margin-right: 2px; }
/* 編成タブの「10人」: 2段目の札が下で切れていた（2026-10-27 本人「10人配置画面切れてる」）→ 札を詰めて2段が名簿の高さに収まるように */
.編成格.十人 { gap: 4px; padding: 5px 8px; grid-auto-rows: 105px; overflow-y: auto; scroll-snap-type: y mandatory; scroll-padding-top: 5px; }   /* 2段がちょうど収まる高さ（名簿 262 − 道具 38）。送ると段ごとに止まる */
.編成格.十人 .編成札 { scroll-snap-align: start; overflow: hidden; }
/* 顔は下の隊の札と同じく左に置き、札の高さいっぱいの縦長に（2026-10-31 本人「10人枠ではキャラ画像を上ではなく左に、大きく」） */
.編成格.十人 .編成札 { grid-template-columns: 70px 1fr; grid-template-rows: 15px 14px 1fr; gap: 0 6px; padding: 2px 4px 3px 2px; }
.編成格.十人 .編成札 .顔.小 { width: 70px; height: auto; grid-row: 1 / 4; grid-column: 1; align-self: stretch; }
.編成格.十人 .編成名 { grid-row: 1; grid-column: 2; font-size: 13px; line-height: 15px; padding-right: 30px; }
.編成格.十人 .編成副 { grid-row: 2; grid-column: 2; line-height: 14px; }
.編成格.十人 .編成属 { grid-row: 1; grid-column: 2; justify-self: end; line-height: 15px; }
.編成格.十人 .編成技 { grid-row: 3; grid-column: 2; margin-top: 2px; }
.編成格.十人 .編成技 .技行 { height: 14px; line-height: 14px; font-size: 11px; }
.編成案内 { font-size: 12px; color: var(--字淡); line-height: 1.4; padding: 4px 6px; background: #0004; border-radius: 4px; margin-bottom: 4px; }   /* 2026-10-27 控えへ・2軍へ・詳細の釦の代わり */
/* 取得可能スキル一覧を1段に2つ・行を低く（2026-10-27 本人「スキル習得1列2つにして縦サイズ縮小」） */
.キ可表 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; align-content: start; }
.キ可表 .行 { min-height: 22px; padding: 1px 3px; gap: 4px; border-bottom: 0; min-width: 0; }
.キ可表 .技行 { min-width: 0; font-size: 12px; padding: 1px 5px; } .キ可表 .技行 > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.キ可表 .キ費 { width: 42px; font-size: 12px; } .キ可表 .キ費.条 { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.キ可表 .浮字 { right: 46px; }
/* 敵の絵（img/敵/<名>.webp。2026-10-27）: 肖像と同じ枠で、ザコは落ち着いた縁・ボスは赤い縁。絵の背景ごと見せる */
.敵肖像.敵立ち絵 { aspect-ratio: 1; background-size: cover; background-position: center; border-color: #ffffff30; box-shadow: 0 2px 10px #000a; }
.敵肖像.敵立ち絵.ボス { border-color: #c0504d; box-shadow: 0 0 12px #c0504d88; }
/* 透過版の試し見（?試作画像=1・2026-11-17 自走の仮採用）: 四角い縁と影を消し、絵の形に沿った影。ボスは赤い光 */
.敵肖像.敵立ち絵.透過 { border-color: transparent; box-shadow: none; background-size: contain; filter: drop-shadow(0 3px 5px #000d); }
.敵肖像.敵立ち絵.透過.ボス { filter: drop-shadow(0 0 6px #e0504dcc) drop-shadow(0 3px 5px #000d); }
.編成案内.選択中 { color: var(--字); } .編成案内釦 { display: flex; gap: 4px; margin-top: 4px; } .編成案内釦 .釦 { flex: 1; min-height: 24px; padding: 0 6px; font-size: 12px; }   /* 2026-10-27 選んだ時だけ 控えへ・2軍へ */
/* DLC の窓（570。2026-10-28 本人）: 1品1行。名・値段・釦、下に説明。開発予定は淡く */
.DLC群 { display: flex; flex-direction: column; gap: 8px; }
.DLC行 { background: var(--板2); border: 1px solid var(--枠淡); border-radius: 6px; padding: 10px 12px; }
.DLC行.持 { border-color: var(--枠); } .DLC行.予定 { opacity: .6; }
.DLC行.絵あり { background-size: cover; background-position: center right; background-repeat: no-repeat; }   /* 品の札の絵（570 D.札絵。2026-11-17） */
.DLC顔々 { display: flex; gap: 4px; } .DLC顔々 .顔.小 { border-radius: 3px; }
.DLC頭 { display: flex; align-items: center; gap: 12px; }
.DLC名 { flex: 1; font-size: 19px; font-weight: bold; } .DLC値 { font-size: 18px; color: var(--黄); min-width: 80px; text-align: right; }
.DLC頭 .釦, .DLC状 { min-width: 110px; text-align: center; }
.DLC状 { font-size: 15px; padding: 4px 10px; border-radius: 4px; background: #0004; } .DLC状.済 { color: #8fd08f; } .DLC状.予定 { color: var(--字淡); }
.DLC説 { margin-top: 6px; font-size: 14px; color: var(--字淡); } .DLC注 { font-size: 13px; text-align: center; margin-top: 4px; }
/* 2026-11-08 DLC の充実: 種の札・中身の試し見・案内の釦（失敗の窓・大迷宮）・結果の訓練所の1行・エンディングの1行 */
.DLC群 { max-height: 64vh; overflow-y: auto; padding-right: 4px; }
.DLC行.注目 { border-color: var(--黄); box-shadow: 0 0 0 2px #e8d23a55, 0 0 18px #e8d23a33; animation: DLC注目 1.6s ease-out 2; }
@keyframes DLC注目 { 0% { box-shadow: 0 0 0 2px #e8d23aaa, 0 0 26px #e8d23a88; } 100% { box-shadow: 0 0 0 2px #e8d23a55, 0 0 18px #e8d23a33; } }
.DLC行.手に入れた { animation: DLC入手 1.2s ease-out 2; border-color: #8fd08f; }
@keyframes DLC入手 { 0% { box-shadow: 0 0 0 3px #8fd08fcc, 0 0 30px #8fd08f99; transform: scale(1.015); } 100% { box-shadow: 0 0 0 1px #8fd08f44; transform: none; } }
.DLC種 { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #0005; border: 1px solid var(--枠淡); color: var(--字淡); white-space: nowrap; }
.DLC種.種_追加マップ { color: #ffb070; border-color: #ffb07088; } .DLC種.種_追加シナリオ { color: #b8e0ff; border-color: #b8e0ff88; } .DLC種.種_追加キャラ { color: #f0a0d0; border-color: #f0a0d088; }
.DLC種.種_時短 { color: #8fd0ff; border-color: #8fd0ff88; } .DLC種.種_パワーアップ { color: #ffd76a; border-color: #ffd76a88; } .DLC種.種_セット { color: #9fe09f; border-color: #9fe09f88; }
.DLC見頭 { margin-top: 6px; } .DLC見釦 { font-size: 13px; padding: 2px 12px; }
.DLC見 { margin-top: 8px; padding: 8px 10px; background: #0003; border-radius: 6px; animation: DLC見出 .25s ease-out; }
@keyframes DLC見出 { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.DLC見表 { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; font-size: 14px; }
.DLC見行 { display: contents; } .DLC見後 { color: var(--黄); text-align: right; } .DLC見注 { grid-column: 1 / -1; font-size: 12px; margin-top: 4px; }
.DLC見人々 { display: flex; gap: 14px; } .DLC見人 { flex: 1; display: flex; gap: 10px; align-items: flex-start; }
.DLC見顔 { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; border: 1px solid var(--枠淡); }
.DLC見名 { font-size: 17px; font-weight: bold; } .DLC見文 { font-size: 13px; color: var(--字淡); margin-top: 3px; }
.失敗DLC { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; padding-top: 8px; border-top: 1px dashed #ffffff22; font-size: 13px; color: var(--字淡); }
.DLC案内釦 { font-size: 13px; padding: 3px 12px; }
.結果訓練 { display: flex; align-items: center; gap: 8px; padding: 6px 4px 0; font-size: 14px; } .結果訓練 .数 { color: #8fd0ff; } .結果訓上 { color: var(--黄); font-size: 12px; }
.エ終DLC { font-size: 16px; margin-top: 28px; color: #e8d6a0; letter-spacing: .15em; opacity: .85; }
/* エンディング（580。2026-10-28 本人）: 舞台いっぱいの幕。① ランキング（1人ずつ浮かぶ）② スタッフロール（下から上へ）→ 題字と Fin */
.エ幕 { position: absolute; inset: 0; z-index: 900; background: #000 center / cover no-repeat; color: var(--字); cursor: pointer; animation: エ入 1.2s ease-out; overflow: hidden; }
.エ幕.閉 { animation: エ去 .6s ease-in forwards; }
@keyframes エ入 { from { opacity: 0; } to { opacity: 1; } } @keyframes エ去 { to { opacity: 0; } }
.エ面 { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; transition: opacity .9s, transform .9s; }
.エ面順 { justify-content: center; gap: 6px; }
.エ面順.去 { opacity: 0; transform: translateY(-30px); pointer-events: none; }
.エ題 { font-size: 40px; letter-spacing: .3em; color: var(--枠); text-shadow: 0 0 18px #b89b4a88; }
.エ副 { font-size: 16px; color: var(--字淡); letter-spacing: .2em; margin-bottom: 12px; }
.エ順 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.エ順行 { display: grid; grid-template-columns: 36px 46px 1fr auto 70px; align-items: center; gap: 10px; width: 470px; padding: 6px 12px; background: #0b181099; border: 1px solid var(--枠淡); border-radius: 6px; opacity: 0; animation: エ浮 .7s ease-out forwards; }
.エ順行 .顔.小 { width: 42px; height: 56px; }
.エ順行.上1 { border-color: #f0d060; box-shadow: 0 0 14px #f0d06066; } .エ順行.上2 { border-color: #c8c8d8; } .エ順行.上3 { border-color: #c08850; }
@keyframes エ浮 { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.エ位 { font-size: 26px; font-weight: bold; text-align: center; color: var(--枠); } .エ順行.上1 .エ位 { color: #f0d060; }
.エ名 { font-size: 20px; font-weight: bold; } .エ職 { font-size: 13px; color: var(--字淡); display: flex; align-items: center; gap: 4px; } .エLv { font-size: 22px; text-align: right; color: var(--黄); }
.エ面流 { opacity: 0; pointer-events: none; } .エ面流.出 { opacity: 1; }
.エ流 { position: absolute; top: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 70px; }
.エ流.流す { animation: エ流れ 26s linear forwards; } .エ流.済 { animation: none; opacity: 0; }
@keyframes エ流れ { from { transform: translateY(0); } to { transform: translateY(calc(-100% - 760px)); } }
.エ流頭 { font-size: 30px; letter-spacing: .5em; color: var(--枠); }
.エ役 { text-align: center; } .エ役名 { font-size: 17px; color: var(--字淡); letter-spacing: .15em; } .エ人 { font-size: 34px; margin-top: 8px; text-shadow: 0 2px 8px #000; }
/* スタッフロールの裏の旅の絵（580 絵を流す。2026-11-17）: 1.6秒で溶かし、ゆっくり寄る。字が読めるよう薄く */
.エ絵列 { position: absolute; inset: 0; pointer-events: none; }
.エ絵 { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.6s ease; animation: エ絵寄り 6s linear forwards; }
.エ絵.出 { opacity: .5; }
@keyframes エ絵寄り { from { transform: scale(1); } to { transform: scale(1.08); } }
.エ絵名 { position: absolute; left: 36px; bottom: 28px; font-size: 18px; letter-spacing: .3em; color: #e8d6a0; text-shadow: 0 2px 6px #000; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .エ絵 { animation: none; } }
.エ終 { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 2s; }
.エ終.出 { opacity: 1; }
.エ終題 { font-size: 64px; letter-spacing: .12em; color: var(--枠); text-shadow: 0 0 24px #b89b4aaa; } .エ終副 { font-size: 26px; letter-spacing: .5em; margin-top: 6px; } .エ終字 { font-size: 22px; margin-top: 40px; color: var(--字淡); letter-spacing: .4em; }
/* 11-03 解放の帯（540 統.解放の帯）: 拠点に戻った所で中央の横帯に地図の寄り・旗が立つ・「〇〇 解放」。見るだけ（入力をふさがない）で約3秒で消える */
.解放帯 { position: absolute; inset: 0; z-index: 950; pointer-events: none; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, #0009, #0000 70%); animation: 解放帯 3.2s ease-in-out both; }
@keyframes 解放帯 { 0% { opacity: 0; } 8%, 82% { opacity: 1; } 100% { opacity: 0; } }
.解放本 { width: 100%; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 18px 0; background: linear-gradient(180deg, #000d, #3b3013ee 50%, #000d); border-top: 2px solid var(--枠); border-bottom: 2px solid var(--枠); animation: 解放本 .45s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes 解放本 { from { transform: scaleY(0); } to { transform: none; } }
.解放図 { position: relative; flex: none; width: 300px; height: 220px; overflow: hidden; border: 2px solid var(--枠淡); border-radius: 6px; background: url("../DG7map900.jpg") no-repeat; background-size: 900px 763px; box-shadow: 0 0 18px #000c inset; animation: 解放寄り 1.2s ease-out both; }
@keyframes 解放寄り { from { filter: grayscale(1) brightness(.6); } to { filter: none; } }
.解放点 { position: absolute; width: 0; height: 0; }
.解放輪 { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--注目); box-shadow: 0 0 10px var(--注目); opacity: 0; animation: 解放輪 1.4s ease-out .5s both; }
.解放輪.二 { animation-delay: .85s; }
@keyframes 解放輪 { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(4.5); } }
.解放旗 { position: absolute; left: -4px; top: -46px; width: 38px; height: 48px; transform-origin: 4px 46px; filter: drop-shadow(0 2px 2px #000a); animation: 解放旗立 .6s cubic-bezier(.3, 1.6, .5, 1) .35s both, 旗揺れ 2.4s ease-in-out 1s infinite; }
.解放旗 svg { width: 100%; height: 100%; display: block; }
@keyframes 解放旗立 { from { opacity: 0; transform: translateY(26px) scaleY(.2); } to { opacity: 1; transform: none; } }
.解放字 { text-align: center; min-width: 420px; }
.解放名 { font-size: 28px; color: var(--字); letter-spacing: .12em; text-shadow: 0 2px 4px #000; animation: クリア得出 .4s ease-out .2s both; }
.解放大 { font-size: 72px; font-weight: bold; letter-spacing: .4em; margin-right: -.4em; color: transparent; background: linear-gradient(100deg, var(--注目) 0 40%, #fffbe6 50%, var(--注目) 60% 100%) 0 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 4px 0 #3b3013) drop-shadow(0 0 12px #ffe36b88); animation: クリア弾む .5s cubic-bezier(.3, 1.6, .5, 1) .3s both, クリア照り 2.2s ease-in-out .9s infinite; }
.解放得 { display: flex; gap: 24px; justify-content: center; font-size: 18px; color: var(--字); font-variant-numeric: tabular-nums; animation: クリア得出 .35s ease-out .75s both; }
/* 領地の地図: 解放したての地方の印が、初めて開いた時に1度だけ光る */
.領印.新解放 { animation: 領新解放 2.4s ease-out both; z-index: 2; }
@keyframes 領新解放 { 0% { transform: scale(2.2); box-shadow: 0 0 0 0 #ffe36bff, 0 0 30px #ffe36b; } 30% { transform: scale(1); } 100% { box-shadow: 0 0 0 18px #ffe36b00, 0 0 0 #ffe36b00; } }
@media (prefers-reduced-motion: reduce) { .解放帯, .解放本, .解放図, .解放輪, .解放旗, .解放名, .解放大, .解放得, .領印.新解放 { animation: none; } .解放帯 { opacity: 1; } }
.解放移 { margin-top: 8px; font-size: 17px; font-weight: bold; color: #ff9a6b; letter-spacing: .15em; animation: クリア得出 .35s ease-out 1s both; }
/* 反乱の帯（540 統.解放の帯(略, '反乱')）: 同じ帯を赤で。輪は赤く脈打ち、旗は立たない */
.解放帯.反乱 .解放本 { background: linear-gradient(180deg, #000d, #4a1612ee 50%, #000d); border-color: #c0504d; }
.解放帯.反乱 .解放図 { animation: 反乱寄り 1.2s ease-out both; }
@keyframes 反乱寄り { from { filter: none; } to { filter: sepia(.5) saturate(1.6) hue-rotate(-25deg) brightness(.85); } }
.解放帯.反乱 .解放輪 { border-color: #ff4a3a; box-shadow: 0 0 10px #ff4a3a; animation-iteration-count: 2; }
.解放帯.反乱 .解放大 { background-image: linear-gradient(100deg, #ff6a5a 0 40%, #ffe0d8 50%, #ff6a5a 60% 100%); filter: drop-shadow(0 4px 0 #3b1310) drop-shadow(0 0 12px #ff4a3a88); }
.領浮.段上 { color: var(--注目); letter-spacing: .1em; text-shadow: 0 2px 0 #000, 0 0 12px #ffe36b; }   /* 施策で統治の段が上がった（11-03） */
/* 鎮圧の帯（545 のクリアの後に 540 統.解放の帯(略, '鎮圧')）: 同じ帯を緑で。旗がもう1度立つ */
.解放帯.鎮圧 .解放本 { background: linear-gradient(180deg, #000d, #173a22ee 50%, #000d); border-color: #6fbf73; }
.解放帯.鎮圧 .解放輪 { border-color: #7fe08a; box-shadow: 0 0 10px #7fe08a; }
.解放帯.鎮圧 .解放大 { background-image: linear-gradient(100deg, #7fe08a 0 40%, #f0fff2 50%, #7fe08a 60% 100%); filter: drop-shadow(0 4px 0 #10301a) drop-shadow(0 0 12px #7fe08a88); }
/* 合流の帯（540 統.状態 で兵が加わった時に 統.解放の帯(略, '兵', 0, 人数)）: 同じ帯を青で */
.解放帯.兵 .解放本 { background: linear-gradient(180deg, #000d, #14284aee 50%, #000d); border-color: #6b9be0; }
.解放帯.兵 .解放輪 { border-color: #8ab8ff; box-shadow: 0 0 10px #8ab8ff; }
.解放帯.兵 .解放大 { background-image: linear-gradient(100deg, #8ab8ff 0 40%, #eef5ff 50%, #8ab8ff 60% 100%); filter: drop-shadow(0 4px 0 #0f2040) drop-shadow(0 0 12px #8ab8ff88); }
/* 掃討の帯（576 掃.演出。2026-11-08）: 解放の帯の形。押すと飛ばす＝押せる・消える時は js が .去 を付ける */
.解放帯.掃討帯 { pointer-events: auto; cursor: pointer; animation: 掃討帯 .2s ease-out both; transition: opacity .2s; }
.解放帯.掃討帯.去 { opacity: 0; }
@keyframes 掃討帯 { from { opacity: 0; } }
.掃討印群 { display: flex; gap: 10px; flex-wrap: wrap; max-width: 300px; justify-content: center; }
.掃討印 { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #ffffff22; color: #ffffff33; background: #0006; }
.掃討印 svg { width: 28px; height: 28px; }
.掃討印.灯 { color: #fff3c4; border-color: var(--注目); background: radial-gradient(circle, #ffe36b55, #0000 70%); box-shadow: 0 0 14px #ffe36b88; animation: 掃討灯 .32s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes 掃討灯 { from { transform: scale(1.8) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
