:root { --地: #15120d; --面: rgba(28, 23, 16, .95); --面2: #2a2218; --線: #5b4a2e; --金: #d8b45a; --字色: #f1e8d4; --薄: #a89a7e; --朱: #d0563f; --緑: #8fc47a; --字: 15px; --明朝: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDMincho", serif; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--地); color: var(--字色); font: var(--字)/1.5 "Yu Gothic UI", "BIZ UDGothic", sans-serif; user-select: none; }
[hidden] { display: none !important; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; background: linear-gradient(#3a2f20, #2a2217); border: 1px solid var(--線); color: var(--字色); padding: 5px 12px; border-radius: 2px; transition: background .12s, border-color .12s, transform .08s; }
button:hover:not(:disabled), button:focus-visible, button.lv10-focus { background: linear-gradient(#5a4726, #40321c); border-color: var(--金); outline: none; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .38; cursor: default; }
button.主 { background: linear-gradient(#8a6a22, #5f4714); border-color: #e0c06a; }
button.悪 { border-color: #7d3a2c; background: linear-gradient(#4a241c, #341912); }
button.今 { background: linear-gradient(#7a5c22, #574114); border-color: var(--金); }
select, input[type=text], input[type=number] { background: #1c170f; border: 1px solid var(--線); padding: 4px 6px; border-radius: 2px; max-width: 100%; }
#地図 { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
body:not(.遊) #帯, body:not(.遊) #釦, body:not(.遊) #速さ, body:not(.遊) #知らせ, body:not(.遊) #目標 { display: none; }
/* 帯 */
#帯 { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; gap: 2px; align-items: stretch; padding: 4px 10px 5px max(10px, var(--lv10余白, 10px)); background: linear-gradient(rgba(16, 12, 7, .94), rgba(16, 12, 7, .72)); border-bottom: 1px solid var(--線); pointer-events: none; flex-wrap: wrap; }
.帯顔 { align-self: center; } .帯名 { display: flex; flex-direction: column; justify-content: center; padding: 0 14px 0 8px; } .帯名 b { font: 600 18px var(--明朝); } .帯名 small, .帯項 small { color: var(--薄); font-size: 11px; line-height: 1.25; }
.帯項 { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; padding: 2px 13px; border-left: 1px solid rgba(120, 96, 56, .4); } .帯項 i { font-style: normal; color: var(--薄); font-size: 11px; } .帯項 b { font: 600 18px var(--明朝); white-space: nowrap; } .帯項 b em { font-style: normal; font-size: 12px; color: var(--薄); } .帯項 small { grid-column: 1/3; } .帯項 .棒 { grid-column: 1/3; }
.帯項.名 { min-width: 150px; }
#目標 { position: fixed; top: 66px; left: 50%; transform: translateX(-50%); z-index: 21; padding: 7px 24px; background: rgba(60, 44, 16, .92); border: 1px solid var(--金); font: 600 17px var(--明朝); }
/* 画面の釦と速さは右上（11-29 本人。右下はおまかせの札）。速さは帯の右端、画面の釦は帯の下 */
#帯 { padding-right: 400px; } #目標 { top: 124px; }
#釦 { position: fixed; right: 12px; top: 72px; z-index: 20; display: flex; gap: 4px; } #釦 button { padding: 8px 13px; background: rgba(30, 24, 16, .9); }
#速さ { position: fixed; right: 12px; top: 12px; z-index: 21; display: flex; gap: 4px; } #速さ button { padding: 7px 14px; background: rgba(30, 24, 16, .9); letter-spacing: -2px; } #速さ button.今 { background: #7a5c22; } #速さ button.今.止 { background: #4a3a1c; }
#知らせ { position: fixed; left: 12px; bottom: 14px; z-index: 19; width: min(520px, 46vw); display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.知 { padding: 4px 12px; background: rgba(18, 14, 9, .74); border-left: 3px solid #6b5a3c; font-size: 14px; transition: opacity .6s; animation: 出 .25s; } .知.重2 { border-color: var(--金); } .知.重3 { border-color: var(--朱); background: rgba(60, 20, 12, .85); font-weight: 600; } .知.押せる { pointer-events: auto; cursor: pointer; } .知.消 { opacity: 0; }
@keyframes 出 { from { opacity: 0; transform: translateX(-14px); } }
.逸話札 { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 950; text-align: center; padding: 18px 64px 20px; background: linear-gradient(90deg, transparent, rgba(20, 14, 6, .94) 18%, rgba(20, 14, 6, .94) 82%, transparent); border-block: 1px solid var(--金); animation: 逸 .5s; transition: opacity .8s; pointer-events: none; } .逸話札 small { color: var(--金); letter-spacing: .5em; } .逸話札 b { display: block; font: 600 30px var(--明朝); } .逸話札 span { color: #e8d39a; } .逸話札.消 { opacity: 0; }
@keyframes 逸 { from { opacity: 0; letter-spacing: .4em; } }
/* 窓 */
.窓 { position: fixed; left: 50%; top: 52%; transform: translate(-50%, -50%); width: min(var(--幅), 96vw); max-height: 86vh; display: flex; flex-direction: column; background: var(--面); border: 1px solid #7a6238; box-shadow: 0 0 0 3px rgba(20, 15, 8, .9), 0 18px 60px rgba(0, 0, 0, .7); animation: 開 .14s; }
@keyframes 開 { from { opacity: 0; transform: translate(-50%, -48.5%); } }
.窓 header { display: flex; align-items: center; padding: 8px 16px; background: linear-gradient(90deg, #4a371a, #2a2014); border-bottom: 1px solid var(--線); } .窓 h2 { margin: 0; font: 600 20px var(--明朝); flex: 1; } .窓 h2 small { font-size: 13px; color: var(--薄); } .窓 .閉 { padding: 2px 10px; }
.窓中 { padding: 12px 16px 16px; overflow: auto; min-height: 0; } * { scrollbar-color: #6b5634 #1a150e; scrollbar-width: thin; }
.窓 h3 { margin: 14px 0 6px; font: 600 15px var(--明朝); color: var(--金); border-bottom: 1px solid rgba(120, 96, 56, .5); } .窓 h3 small { color: var(--薄); }
.行 { display: flex; justify-content: space-between; gap: 12px; padding: 3px 4px; border-bottom: 1px dotted rgba(120, 96, 56, .35); align-items: center; } .行 span { color: #cbbd9c; } .行 em { font-style: normal; color: var(--薄); font-size: 12px; } .行.悪 b, .悪 { color: #ff9a84; } .良 { color: var(--緑); } .行.広 b { text-align: right; } .行列 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px 18px; }
.決行 { padding: 7px 4px; }
.選列 { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; } .選列.横 { flex-direction: row; flex-wrap: wrap; } .選列.横折 { flex-direction: row; flex-wrap: wrap; }
.薄 { color: var(--薄); } .報 { margin: 8px 0; padding: 8px 12px; background: #33280f; border-left: 3px solid var(--金); animation: 光 .6s; } @keyframes 光 { from { background: #7a5c22; } }
.棒 { display: block; height: 6px; background: #14100a; border: 1px solid #4a3c24; overflow: hidden; min-width: 60px; } .棒 i { display: block; height: 100%; transition: width .25s; }
.顔 { display: inline-block; width: var(--大); height: var(--大); overflow: hidden; background: #221a10; border: 1px solid #6b5634; flex: none; vertical-align: middle; } .顔 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; } .帯顔 .顔 img, .人札 .顔 img { transform: scale(1.5) translateY(14%); transform-origin: 50% 25%; }
.顔行 { text-align: center; margin: 6px 0 10px; }
.家印 { display: inline-block; padding: 0 8px; font-size: 13px; background: color-mix(in srgb, var(--色) 55%, #1a140c); border-left: 4px solid var(--色); }
.家紋 { width: 1.35em; height: 1.35em; vertical-align: -.3em; margin-right: 5px; }
.頁列 { display: flex; gap: 4px; margin-bottom: 10px; }
.表 { width: 100%; border-collapse: collapse; } .表 th { text-align: left; font-weight: 400; color: var(--薄); font-size: 12px; border-bottom: 1px solid var(--線); padding: 3px 6px; } .表 td { padding: 2px 6px; border-bottom: 1px dotted rgba(120, 96, 56, .35); } .表 .数 { text-align: right; font-variant-numeric: tabular-nums; } .表 button { padding: 1px 9px; } .市表 tr.持 td { background: rgba(120, 92, 34, .22); } .相 { display: inline-block; min-width: 48px; text-align: right; } .相.高 { color: #ffb08a; font-weight: 600; } .相.安 { color: #8fd0e8; font-weight: 600; } .種列 button { padding: 1px 5px; min-width: 26px; font-size: 12px; } .道具列 { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
/* 場所 */
.場窓 { height: 84vh; } .場窓 .窓中 { display: flex; } .場列 { display: grid; grid-template-columns: 236px 1fr; gap: 16px; width: 100%; min-height: 0; } .場左 { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: auto; } .場右 { overflow: auto; min-height: 0; padding-right: 6px; } .場絵 { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: 50%; border: 1px solid #6b5634; flex: none; } .場絵.大 { aspect-ratio: 16/6; } .場絵.地図絵 { background-size: 520%; } .場目次 { display: flex; flex-direction: column; gap: 4px; } .場目次 button { text-align: left; } .場目次 em { float: right; font-style: normal; color: var(--薄); } .場目次 .去 { margin-top: 10px; }
.札列 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; } .札列.小 { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); } .札 { text-align: left; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; } .札 b { font: 600 15px var(--明朝); } .札 small { color: var(--薄); font-size: 12px; line-height: 1.35; }
.人列 { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 6px; } .人札 { display: flex; gap: 10px; align-items: center; text-align: left; padding: 5px 8px; } .人札.群 { border-color: #a5853c; } .人文 { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; } .人文 b { font: 600 15px var(--明朝); } .人文 small { color: var(--薄); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.人窓 { display: grid; grid-template-columns: 226px 1fr; gap: 18px; } .人左 .紹 { font-size: 13px; color: #d8c9a6; } .能 { display: flex; gap: 22px; margin: 8px 0; } .能 b { font: 600 20px var(--明朝); } .技表 { display: grid; gap: 3px; } .技表 > div { display: flex; flex-wrap: wrap; gap: 2px 12px; border-bottom: 1px dotted rgba(120, 96, 56, .35); padding: 2px 0; } .技表 i { font-style: normal; color: var(--金); width: 40px; font-size: 13px; } .技表 span { color: #b9ab8c; font-size: 13px; min-width: 66px; } .技表 span b { margin-left: 5px; color: #efe6d0; } .技表 .良 b { color: #f2d37c; } .技表 .金 b { color: #ffb84a; }
/* 戦 */
.戦画 { margin: 0 0 8px; } .戦画布 { display: block; width: 100%; aspect-ratio: 980 / 300; max-height: 42vh; object-fit: cover; border: 1px solid #5a4828; }
.戦場 { position: relative; display: grid; grid-template-columns: 120px 1fr 120px; gap: 14px; align-items: center; min-height: 250px; } .戦頭 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; } .戦頭 span:last-child { font: 600 30px var(--明朝); } .戦中 { display: grid; grid-template-columns: 1fr 66px 1fr; gap: 8px; align-items: center; } .戦側 { display: flex; flex-direction: column; gap: 8px; } .備 { position: relative; display: grid; grid-template-columns: 1fr auto; padding: 4px 8px; background: #231b10; border: 1px solid #5a4828; } .戦側.A .備 { border-left: 4px solid #d8b45a; } .戦側.B .備 { border-right: 4px solid #c04a38; } .備 b { font: 600 18px var(--明朝); } .備 small { color: var(--薄); font-size: 11px; } .備棒 { grid-column: 1/3; height: 8px; background: #100c07; } .備棒 i { display: block; height: 100%; background: linear-gradient(90deg, #b08a34, #ecd07a); transition: width .16s; } .戦側.B .備棒 i { background: linear-gradient(90deg, #7a2c20, #d0604a); } .備.崩 { opacity: .35; filter: grayscale(1); } .備.揺 { animation: 揺 .16s; } @keyframes 揺 { 30% { transform: translateX(-5px); background: #6a2a1c; } 70% { transform: translateX(5px); } } .飛字 { position: absolute; top: -4px; font: 700 20px var(--明朝); color: #ffcf9a; text-shadow: 0 1px 3px #000; animation: 飛 .6s forwards; pointer-events: none; } @keyframes 飛 { to { transform: translateY(-26px); opacity: 0; } } .戦刻 { text-align: center; font: 600 26px var(--明朝); } .戦刻 small { display: block; font-size: 11px; color: var(--薄); } .一騎 { position: absolute; inset: 40% 0 auto; text-align: center; font: 600 22px var(--明朝); background: linear-gradient(90deg, transparent, rgba(80, 20, 10, .9), transparent); animation: 逸 .3s; }
.窓.勝 header { background: linear-gradient(90deg, #7a5a18, #3a2a10); } .窓.負 header { background: linear-gradient(90deg, #4a1c14, #24130e); }
.群絵 { display: inline-flex; width: 96px; height: 96px; align-items: center; justify-content: center; font: 600 40px var(--明朝); background: radial-gradient(color-mix(in srgb, var(--色) 60%, #000), #1a140c); border: 1px solid #6b5634; } .出会列 { display: flex; gap: 18px; } .出会列 > div { flex: 1; }
.立合 { display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; text-align: center; } .立合 > div { display: flex; flex-direction: column; align-items: center; gap: 6px; } .立合 .棒 { width: 160px; height: 10px; } .立中 { font: 600 44px var(--明朝); } .立合.打右 > div:last-child .顔 { animation: 揺 .2s; } .立合.打左 > div:first-child .顔 { animation: 揺 .2s; } .打字 { color: #ffcf9a; animation: 逸 .2s; }
.派棒 { display: flex; height: 44px; font-weight: 600; } .派棒 span { display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; } .派棒 span:first-child { background: #7a5c22; } .派棒 span:last-child { background: #6a2a1e; justify-content: flex-end; }
/* 名声 */
.名大 { text-align: center; } .名大 b { font: 600 54px var(--明朝); color: #f2d37c; } .名大 em { display: block; font-style: normal; color: var(--金); } .段棒 { position: relative; height: 12px; background: #14100a; border: 1px solid #5a4828; margin: 8px 30px 34px; } .段棒 > span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #7a5a1c, #f0cc6a); } .段棒 i { position: absolute; top: -3px; width: 2px; height: 18px; background: #8a7348; z-index: 1; } .段棒 i.済 { background: #ffe9a8; } .段棒 small { position: absolute; top: 18px; left: 0; transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--薄); font-style: normal; } .二列 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.記録 > div { padding: 3px 6px; border-bottom: 1px dotted rgba(120, 96, 56, .3); } .記録 small { color: var(--薄); margin-right: 12px; } .記録 .重3 { color: #ffd08a; } .記録 .重2 { color: #f0dca0; }
.全図窓 { max-height: 94vh; } .全図枠 { text-align: center; } .全図枠 canvas { max-width: 100%; max-height: 80vh; cursor: crosshair; background: #1a3550; }
/* 題と始め */
#題 { position: fixed; inset: 0; z-index: 60; background: #15120d var(--背) 50%/cover; } #題::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 3, .86), rgba(8, 6, 3, .35) 60%, rgba(8, 6, 3, .1)); } .題内 { position: absolute; left: 8vw; top: 50%; transform: translateY(-50%); } .題小 { margin: 0; font: 600 22px var(--明朝); letter-spacing: .5em; color: #e8cf8e; } #題 h1 { margin: 0 0 30px; font: 700 clamp(64px, 9vw, 128px)/1.1 var(--明朝); letter-spacing: .06em; text-shadow: 0 4px 30px #000; } .題中 { display: flex; flex-direction: column; gap: 8px; width: 420px; max-width: 84vw; } .題中 button { text-align: left; padding: 11px 20px; background: rgba(24, 18, 10, .8); } .題中 b { font: 600 18px var(--明朝); display: block; } .題中 small { color: var(--薄); } #題 .版 { position: absolute; right: 16px; bottom: 12px; color: #cbbd9c; }
#窓群 { position: relative; z-index: 70; }
.始列 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .始札 { display: flex; flex-direction: column; gap: 6px; background: #221a10; border: 1px solid var(--線); padding: 12px; } .始札 h3 { font-size: 22px; border: 0; margin: 4px 0 0; } .始札 p { margin: 0; flex: 1; color: #d8c9a6; } .始絵 { aspect-ratio: 1; overflow: hidden; background: #15100a; } .始絵 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; } .始絵.自 { display: flex; align-items: center; justify-content: center; font: 700 150px var(--明朝); color: #7a6238; }
.作列 { display: grid; grid-template-columns: 1fr 1.25fr 1.1fr; gap: 20px; } .顔札列 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; } .大顔 { aspect-ratio: 1; background: #221a10; border: 1px solid #7a6238; overflow: hidden; } .大顔 img { width: 100%; height: 100%; object-fit: cover; display: block; } .顔頁行 { align-items: center; justify-content: center; } .顔頁行 span { min-width: 74px; text-align: center; } .顔選 { display: grid; grid-template-columns: minmax(260px, 500px) 1fr; gap: 20px; align-items: start; } .顔選 .顔札列 { grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0; } .顔選 .顔札列 button { aspect-ratio: auto; height: calc((86vh - 160px) / 4); } .顔札列 button:hover { outline: 2px solid #e8d39a; } .顔札列 button { padding: 0; overflow: hidden; aspect-ratio: 1; } .顔札列 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; } .顔札列 .今 { outline: 3px solid var(--金); } .問 p { margin: 8px 0 2px; } .問 .選列 { margin: 0; } .決 { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
/* 会話 */
/* DG1式の上下フキダシ（1059-2 と同じ値。絵は img/会話/005_f_top・down） */
#会話 { position: fixed; inset: 0; z-index: 900; background: rgba(6, 5, 3, .34); cursor: pointer; }
.会枠 { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 56.25vw; max-height: 100vh; max-width: 177.78vh; container-type: size; overflow: hidden; font-family: 'Yu Mincho', 'YuMincho', serif; }
.会上, .会下 { position: absolute; inset: 0; opacity: 0; pointer-events: none; } .会上.出, .会下.出 { opacity: 1; animation: 会 .18s; } @keyframes 会 { from { transform: translateY(8px); opacity: 0; } }
.会上 .吹, .会下 .吹 { position: absolute; width: 100cqw; height: 60cqh; background: url(../img/会話/005_f_top.png) 0 0/100% 100% no-repeat; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; color: #fff; text-shadow: 2px 2px 4px #000; }
.会上 .吹 { top: 0; left: .4cqw; padding: 3cqh 9cqw 0 calc(27cqw + 25px); } .会下 .吹 { bottom: 0; right: 3.6cqw; background-image: url(../img/会話/005_f_down.png); padding: 13.9cqh 28cqw 0 11.7cqw; }
.会上.肖無 .吹 { padding-left: 15cqw; } .会下.肖無 .吹 { padding-right: 21cqw; }
.吹 b { position: absolute; font: bold 1.7cqw 'MS Gothic', 'ＭＳ ゴシック', monospace; color: #fff; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: none; white-space: nowrap; } .吹 b rt { -webkit-text-stroke: 0; }
.会上 .吹 b { bottom: 10.2cqh; left: 30.8cqw; } .会下 .吹 b { top: 22.2cqh; right: 28cqw; } .会上.肖無 .吹 b { left: 16cqw; } .会下.肖無 .吹 b { right: 21cqw; }
.吹 p { margin: 0; font-size: 2.6cqw; line-height: 1.5; white-space: pre-wrap; line-break: strict; } .吹 p .ルビ { line-height: inherit; } .吹 rt { font-size: .42em; }
.会肖 { position: absolute; height: 55cqh; max-width: 28cqw; object-fit: contain; object-position: bottom; } .会上 .会肖 { top: 0; left: 2cqw; } .会下 .会肖 { bottom: 0; right: 2cqw; }
.会地 { position: absolute; left: 10cqw; top: 36cqh; width: 80cqw; min-height: 28cqh; box-sizing: border-box; padding: 3cqh 3cqw; display: none; align-items: center; justify-content: center; text-align: center; color: #fff; font-size: 2.6cqw; line-height: 1.6; text-shadow: 2px 2px 4px #000; background: rgba(20, 18, 16, .78); border: 1px solid rgba(200, 186, 150, .4); border-radius: 8px; } .会地.出 { display: flex; }
/* 結末 */
.結末 { background: radial-gradient(#2a2012, #0c0905 75%); } .結中 { text-align: center; } .結中 h1 { font: 700 52px var(--明朝); margin: 0 0 10px; color: #f2d37c; } .結末.悪名 h1 { color: #e0604a; } .結末.無名 h1 { color: #a89a7e; } .教 { font: 600 18px/1.9 var(--明朝); padding: 12px 24px; background: rgba(240, 230, 205, .08); } .教 small { display: block; color: var(--薄); }
@media (max-width: 1100px) { .始列, .作列, .二列, .場列, .人窓 { grid-template-columns: 1fr; } .作列 .大顔 { max-width: 420px; } .顔選 { grid-template-columns: 1fr; } .顔選 .大顔 { max-width: 320px; margin: 0 auto; } .顔選 .顔札列 { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } .顔選 .顔札列 button { height: auto; aspect-ratio: 1; } }

.曲列 { grid-template-columns: 1fr 1fr; } .曲列 select { max-width: 200px; }

/* ふりがな */
ruby { ruby-align: center; } rt { font-size: .56em; font-weight: 400; letter-spacing: 0; color: #dccb9a; opacity: .95; user-select: none; font-family: "Yu Gothic UI", Meiryo, sans-serif; line-height: 1.1; }
.ルビ { line-height: 1.7; }

/* ティアと装備 */
.階 { display: inline-block; padding: 0 7px; font-size: 11.5px; font-weight: 700; line-height: 1.7; border-radius: 3px; background: #4a4338; color: #e9e2d2; font-family: "Yu Gothic UI", Meiryo, sans-serif; white-space: nowrap; }
.階.階1 { background: #57524a; } .階.階2 { background: #4c6a3f; } .階.階3 { background: #2f6391; } .階.階4 { background: #7a4a9c; } .階.階5 { background: #b5701c; } .階.階6 { background: #b02a2a; color: #fff; }
.具 { font-weight: 600; } .具.階1 { color: #b9b2a4; } .具.階2 { color: #b8d8a4; } .具.階3 { color: #9cc7ef; } .具.階4 { color: #d3adf0; } .具.階5 { color: #f2bd6c; } .具.階6, .具.名物 { color: #ff8f7a; }
.階計 { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0; align-items: center; } .兵表 td { vertical-align: middle; } .昇欄 button { padding: 3px 8px; font-size: 12.5px; margin-right: 4px; } .昇欄 small { margin-left: 5px; opacity: .8; }
.装備列 { display: grid; grid-template-columns: 250px 1fr 380px; gap: 16px; align-items: start; } .装人 { display: flex; flex-direction: column; gap: 5px; max-height: 66vh; overflow: auto; } .装枠 { display: flex; gap: 6px; margin: 3px 0; } .装札 { flex: 1; text-align: left; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 6px 10px; } .装札 i { min-width: 72px; font-style: normal; color: var(--薄); font-size: 12.5px; } .装札 small { color: #cdbf9f; } .装札.今 { outline: 2px solid #d8b45a; } .装蔵 { max-height: 66vh; overflow: auto; } .蔵行 { display: flex; margin: 3px 0; } .装見 { margin: 6px 0; font-size: 13px; line-height: 1.7; }
.行.広 > span:first-child { white-space: nowrap; margin-right: 18px; }

/* 狙った相手の札・目的 */
#狙 { position: fixed; right: 12px; top: 124px; z-index: 19; pointer-events: none; } body:not(.遊) #狙 { display: none; }
@media (max-width: 1340px) { #帯 { padding-right: 10px; } #速さ { top: 118px; } #狙 { top: 170px; } #目標 { top: 170px; } }
/* おまかせに出した隊の札（右下。80_画面 の 任帯） */
#任 { position: fixed; right: 12px; bottom: 12px; z-index: 19; display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; gap: 6px; max-width: calc(100vw - min(520px, 46vw) - 36px); } body:not(.遊) #任 { display: none; }
.任札 { display: flex; gap: 8px; align-items: center; width: 232px; padding: 6px 9px 6px 6px; text-align: left; background: rgba(14, 11, 7, .86); border: 1px solid #4d3e26; border-left: 3px solid var(--色, #8a7a5a); border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); animation: 任出 .35s ease-out; }
.任札:hover, .任札:focus-visible { background: rgba(48, 38, 20, .92); border-color: var(--金); border-left-color: var(--色, #8a7a5a); }
.任札[data-事="攻める"] { --色: #e0533f; } .任札[data-事="巡る"], .任札[data-事="守る"] { --色: #5aa8e0; } .任札[data-事="奪う"] { --色: #b05ad0; } .任札[data-事="交易"], .任札[data-事="運ぶ"] { --色: #e0b94a; } .任札[data-事="募る"], .任札[data-事="集める"], .任札[data-事="補"] { --色: #7fd0a0; } .任札[data-事="合流"] { --色: #9a9a9a; }
.任札 .顔.危 { box-shadow: 0 0 0 2px #d8604c; animation: 任危 1s ease-in-out infinite alternate; }
.任文 { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; } .任文 > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.任名 { font: 600 14px var(--明朝); } .任指 { font-size: 12px; color: var(--色, #d8cba8); } .任所 { font-size: 11px; color: var(--薄); }
.任数 { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; } .任数 em { display: inline-block; font-style: normal; border-radius: 2px; padding: 0 2px; } .任金 { color: #f0d080; }
.任数 em.増 { animation: 任増 .9s ease-out; } .任数 em.減 { animation: 任減 .9s ease-out; }
.任棒 { height: 4px; margin-top: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; } .任棒 i { display: block; height: 100%; transition: width .4s, background .4s; }
@keyframes 任出 { from { opacity: 0; transform: translateY(14px); } }
@keyframes 任増 { 0% { background: rgba(127, 208, 160, .7); transform: scale(1.18); } 100% { background: transparent; transform: none; } }
@keyframes 任減 { 0% { background: rgba(216, 96, 76, .75); transform: scale(1.18); } 100% { background: transparent; transform: none; } }
@keyframes 任危 { to { box-shadow: 0 0 0 2px rgba(216, 96, 76, .25); } }
.狙中 { display: flex; gap: 10px; align-items: center; min-width: 250px; padding: 8px 14px 8px 10px; background: rgba(18, 14, 9, .86); border-left: 4px solid #ffd166; } .狙中.敵 { border-left-color: #ff5c4c; } .狙中 > div { display: flex; flex-direction: column; } .狙中 b { font: 600 18px var(--明朝); } .狙中 small { font-size: 13px; color: #d8cba8; } .狙中 small.悪 { color: #ff9a80; } .狙中 small.良 { color: #a8e0a0; }
.目的列 { display: flex; flex-direction: column; gap: 4px; } .目的札 { display: grid !important; grid-template-columns: minmax(150px, 1.2fr) 1fr 1.2fr 1.1fr; align-items: center; gap: 12px; text-align: left; padding: 10px 14px !important; } .目的札 em { font-style: normal; text-align: right; color: var(--金); } .目的札.今 { background: #1d4450 !important; box-shadow: inset 3px 0 0 #7fe9ff; }
.人文 .待ち { color: #e8b86a; } .よく使う button { min-width: 150px; font-weight: 600; }
.クリア一覧 { position: absolute; top: 72px; right: 24px; width: min(520px, 42vw); max-height: calc(100vh - 110px); overflow: auto; z-index: 2; } .クリア一覧 h3 { margin: 0 0 6px; font: 600 15px var(--明朝); color: var(--金); text-shadow: 0 1px 3px #000; } .クリア列 { display: flex; flex-direction: column; gap: 6px; } .クリア列 button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 6px 10px; background: rgba(20, 15, 8, .82); } .ク文 { display: flex; flex-direction: column; min-width: 0; } .ク文 b { font: 600 17px var(--明朝); } .ク文 em { font-style: normal; font-size: 13px; color: var(--金); margin-left: 10px; } .ク文 small { color: var(--薄); font-size: 12px; }
@media (max-width: 900px) { .クリア一覧 { position: static; width: auto; margin: 12px 16px; } }
/* 職業のてびき（87_手引） */
.手タブ { gap: 4px; margin-bottom: 10px; } .手タブ button { padding: 4px 9px; font-size: 13px; }
.手本 h3 { margin: 14px 0 6px; border-bottom: 1px solid var(--線); padding-bottom: 3px; } .手本 p { margin: 4px 0; line-height: 1.6; }
.手段 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 4px 0 8px; } .手段 > i { color: var(--薄); font-style: normal; }
.手段 > span { display: inline-flex; flex-direction: column; padding: 4px 10px; border: 1px solid var(--線); border-radius: 2px; background: var(--面2); } .手段 > span > small { color: var(--薄); font-size: 11px; white-space: nowrap; }
.手段 > span.済 { border-color: #7a6a3a; } .手段 > span.今 { border-color: var(--金); background: #4a3916; }
.手表 td { vertical-align: top; padding: 4px 6px; border-bottom: 1px solid rgba(91, 74, 46, .4); line-height: 1.5; } .手表 td small { font-size: 12px; }
.手技列 { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px; } .手技 { border: 1px solid var(--線); background: var(--面2); padding: 6px 10px; border-radius: 2px; }
.手技 h4 { margin: 0 0 4px; color: var(--金); } .手技 h4 small { color: var(--薄); font-weight: 400; } .手技 ul { margin: 2px 0 0; padding-left: 18px; } .手技 li.済 { color: var(--緑); }
.手逸列 { display: flex; flex-wrap: wrap; gap: 4px; } .手逸 { border: 1px solid var(--線); padding: 2px 8px; border-radius: 2px; font-size: 13px; } .手逸 b { color: var(--金); font-weight: 400; }
.手逸.済 { border-color: var(--緑); color: var(--緑); } .手逸.悪 { border-color: var(--朱); } .手逸列.小 .手逸 { font-size: 12px; padding: 1px 6px; }
@media (max-width: 700px) { .手表 { font-size: 12px; } .手表 th:nth-child(5), .手表 td:nth-child(5) { display: none; } }
/* 人の窓: 押せない時も残すボタン（11-27） */
button.淡 { opacity: .42; } button.淡:hover, button.淡:focus-visible, button.淡.lv10-focus { opacity: .75; }
.人番 { margin-left: 6px; font-size: 13px; }
/* 結末の名声の段（11-27） */
.段列 { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; } .段列 > span { border: 1px solid var(--線); padding: 3px 10px; border-radius: 2px; color: var(--薄); font-size: 13px; } .段列 > span > small { margin-left: 6px; font-size: 11px; } .段列 > span.済 { border-color: var(--金); color: #f2d37c; }
/* 人の窓のボタンを4列にそろえる（パッドの上下で真っすぐ動く。11-27） */
.人右 .選列.横折 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } .人右 .選列.横折 button { white-space: normal; }
/* 城の管理の食料（11-27） */
.食列 { align-items: center; } .食列 > span { color: var(--薄); font-size: 13px; margin: 0 2px 0 8px; } .食列 > span:first-child { margin-left: 0; }
.食つまみ { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; } .食つまみ input[type=range] { flex: 1; } .食つまみ small { color: var(--薄); }

.兵表 tr.全軍行 td { background: rgba(255, 209, 102, .08); border-bottom: 2px solid rgba(255, 209, 102, .35); } .兵表 td.悪 b { color: #ff9a84; }
.手注 { margin: 4px 0 10px 18px; padding: 0; font-size: 13px; color: var(--薄); } .手注 li { margin: 2px 0; }
/* 全体マップの寄せ引き（11-27） */
.全図枠 canvas { touch-action: none; } .全図操作 { justify-content: center; align-items: center; margin-top: 6px; } .全図倍 { min-width: 3.2em; text-align: center; font: 600 16px var(--明朝); color: #ffd98a; } .全図操作 small { margin-left: 10px; }
/* 人の窓（11-27: 縦に巻かない・ボタンは1行・押せない物も灰色で並べる・下に顔の列） */
.人窓枠 .人窓 { grid-template-columns: 200px 1fr; gap: 16px; } .人窓枠 .人左 .紹 { margin: 8px 0 0; }
.人窓枠 .人値 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px 14px; }
.人窓枠 .能 { align-items: baseline; margin: 6px 0; } .人窓枠 .能 .装見 { margin-left: auto; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.人窓枠 .技表 > div { flex-wrap: nowrap; }
.人報 { height: 36px; line-height: 20px; margin: 6px 0; box-sizing: border-box; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .人報:empty { background: none; border-left-color: transparent; animation: none; } .人報.悪 { color: #ff9a84; }
.人ボ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.人ボ button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 8px 6px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; }
.人ボ button.主 { font-weight: 600; }
.好印 { width: 18px; height: 18px; flex: none; }
.顔列 { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(122, 98, 56, .5); }
.顔列 .顔札 { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 4px 3px; width: 96px; }
.顔列 .顔札 small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.顔列 .顔札.今 { border-color: var(--金); background: linear-gradient(#5a4726, #40321c); }
.顔列端 { color: var(--薄); font-size: 12px; padding: 0 6px; }
/* おまかせの兵のつまみ（11-27: パッドの左右で数を決める） */
.代つまみ { display: grid; gap: 2px; } .つまみ行 { display: grid; grid-template-columns: 180px 1fr 70px; gap: 12px; align-items: center; padding: 2px 4px; border-bottom: 1px dotted rgba(120, 96, 56, .35); } .つまみ行 span { color: #cbbd9c; } .つまみ行 em { font-style: normal; color: var(--薄); font-size: 12px; } .つまみ行 b { text-align: right; } .つまみ行 input[type=range] { width: 100%; accent-color: #d8b25a; }
.つまみ行 input[type=range].lv10-focus, .つまみ行 input[type=range]:focus-visible { outline: 2px solid var(--金); outline-offset: 2px; }
/* 奥義を選べる時のスキルの釦の「!」（11-28） */
#釦 button.印有 { position: relative; border-color: #e0a030; }
#釦 button.印有::after { content: '!'; position: absolute; top: -8px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #d8402c; color: #fff; font: bold 13px/18px sans-serif; text-align: center; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5); }
/* おまかせの出す窓・指示の窓: 左に決め、右に日本地図（11-28） */
.代出列 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.代出左 { min-width: 0; }
.代出右 { position: sticky; top: 0; width: 402px; }
.代出右 canvas.代図 { display: block; border: 1px solid rgba(255, 230, 170, .35); border-radius: 4px; cursor: pointer; }
.代出右 p { font-size: 12px; margin: 4px 0 0; }

/* 武将を選んで始める（11-28） */
.始列 { grid-template-columns: repeat(4, 1fr); }
.将列 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; margin-top: 8px; }
.将札列 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
button.将札 { display: flex; align-items: center; gap: 8px; text-align: left; padding: 4px 8px; min-width: 0; }
button.将札 > span:last-child { display: flex; flex-direction: column; min-width: 0; }
button.将札 small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.将詳 { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 6px; }
.将詳 h3 { margin: 4px 0 0; font-size: 22px; }
.将詳 .顔 { align-self: center; }
input.将探 { width: 220px; }
@media (max-width: 1100px) { .始列 { grid-template-columns: 1fr 1fr; } .将列 { grid-template-columns: 1fr; } .将札列 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 青史に名を残した人: 列だけを巻く・並びの切り替え（11-28） */
.クリア一覧 { overflow: visible; display: flex; flex-direction: column; }
.クリア一覧 h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.クリア一覧 h3 small { font: 13px var(--明朝); color: var(--薄); }
.ク並 { margin-left: auto; display: flex; gap: 4px; }
.ク並 button { font-size: 12px; padding: 2px 8px; background: rgba(20, 15, 8, .82); border: 1px solid var(--線); color: var(--薄); }
.ク並 button.今 { color: var(--金); border-color: var(--金); }
.クリア列 { max-height: min(62vh, 600px); overflow-y: auto; padding-right: 4px; scrollbar-width: auto; }
@media (max-width: 900px) { .クリア列 { max-height: 50vh; } }
/* 結末の動画と3枚の流れ（88_結末・11-28） */
#結動画 { position: fixed; inset: 0; z-index: 1; background: #000; pointer-events: none; }
#結動画 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s linear; }
#結動画 video.見 { opacity: 1; }
.結動画中 .窓.結末 { background: rgba(14, 10, 6, .8); }
.結動画中 .窓.死窓 { background: rgba(20, 15, 8, .82); }
.窓.結後 { top: auto; bottom: 5vh; transform: translateX(-50%); max-height: 80vh; background: rgba(12, 9, 5, .74); border-color: rgba(122, 98, 56, .6); animation: 結出 1.2s ease; }
@keyframes 結出 { from { opacity: 0; } to { opacity: 1; } }
.結後中 { text-align: center; padding: 6px 10px; }
.結後中 h1 { font: 700 40px var(--明朝); margin: 2px 0 6px; color: #f2d37c; text-shadow: 0 2px 8px #000; } .結後中 h1.悪 { color: #e0604a; } .結後中 h1.無 { color: #a89a7e; }
.結小 { display: block; color: var(--薄); letter-spacing: .3em; }
.結肩 { margin: 0 0 8px; color: var(--金); }
.結文 { font: 600 19px/2 var(--明朝); margin: 8px 12px 14px; text-shadow: 0 1px 4px #000; }
.結人 { display: grid; gap: 6px; margin: 10px 0; text-align: left; max-height: 46vh; overflow-y: auto; }
.結人行 { display: flex; align-items: center; gap: 12px; padding: 4px 10px; background: rgba(240, 230, 205, .06); } .結人行 p { margin: 0; font: 600 16px/1.7 var(--明朝); }
.結天 { font: 600 16px/1.8 var(--明朝); color: var(--金); margin: 10px 0 14px; }
.結後中 .選列 { justify-content: center; }
/* 見た結末（88_結末・11-29） */
.窓.見結窓.透 { background: rgba(12, 9, 5, .55); transition: background .9s; }
.見見出 { margin: 4px 2px 6px; font: 600 15px var(--明朝); color: var(--金); letter-spacing: .2em; }
.見列 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-bottom: 10px; }
.見札 { display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 4px; text-align: center; }
.見絵 { position: relative; aspect-ratio: 16 / 9; background: #0c0905; overflow: hidden; display: block; }
.見絵 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.見絵 i { position: absolute; inset: 0; display: grid; place-items: center; font: 700 26px var(--明朝); color: #6e6048; font-style: normal; }
.見札 b { font: 600 14px var(--明朝); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.見札 small { font-size: 11px; line-height: 1.35; color: var(--薄); }
.見札:hover .見絵, .見札:focus-visible .見絵, .見札.lv10-focus .見絵 { box-shadow: 0 0 0 2px var(--金); }
@media (max-width: 900px) { .見列 { grid-template-columns: repeat(4, 1fr); } }
/* 追加の品（DLC・89_購入・11-28） */
.追加品 { display: grid; gap: 8px; } .追加行 { display: flex; align-items: center; gap: 14px; padding: 8px 12px; background: rgba(240, 230, 205, .06); } .追加行 > div { flex: 1; } .追加行 p { margin: 2px 0 0; color: var(--薄); font-size: 14px; } .追加選 { white-space: nowrap; } .済印 { color: var(--金); white-space: nowrap; }
