.shogi-static .white,#board .white{position:static;width:auto;height:auto;border-radius:0;box-shadow:none;background:none;transform:none}
.shogi-static>span>i,#board>div>span,.shogi-hand-piece{display:flex;align-items:center;justify-content:center;width:78%;height:88%;max-width:2.6em;aspect-ratio:4/5;clip-path:polygon(50% 0,86% 17%,100% 100%,0 100%,14% 17%);background:#f4ce86;color:#30200e;font-family:"Yu Mincho","Noto Serif JP",serif;font-style:normal;font-weight:bold;line-height:1;box-shadow:none;border-radius:0}
.shogi-static>span>i.white,#board>div>span.white{width:78%;height:88%;background:#f4ce86;transform:rotate(180deg)}
.shogi-static>span>i.shogi-promoted,#board>div>span.shogi-promoted{color:#b93622}
.shogi-hand-piece.shogi-promoted{color:#b93622}
.shogi-static i svg,#board>div>span svg,.shogi-hand-piece svg{width:86%;height:86%;display:block}
.shogi-static>span>i.shogi-major,#board>div>span.shogi-major{width:90%;height:96%}
.shogi-static i.shogi-icon-mode svg,#board>div>span.shogi-icon-mode svg,.shogi-hand-piece.shogi-icon-mode svg{width:100%;height:100%}
.movement-guide .move-dot{stroke:none}.movement-guide .move-bar,.movement-guide .move-jump{fill:none;stroke-width:3;stroke-linecap:round}.movement-guide .move-jump{stroke-width:3.5}
.shogi-move-legend{max-width:540px;font-size:12px;line-height:1.8;color:#385b54}
.shogi-piece-switch{display:flex;gap:6px;margin:16px 0;padding:5px;width:max-content;border:1px solid #bba785;border-radius:10px;background:#f7eedf}
.shogi-piece-switch button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:7px;border:2px solid transparent;border-radius:7px;background:transparent;color:#30200e;font:bold 27px serif;cursor:pointer}
.shogi-piece-switch button svg{width:30px;height:34px}.shogi-piece-switch button[aria-pressed="true"]{background:#f4ce86;border-color:#19634e}.shogi-piece-switch button:focus-visible{outline:3px solid #19634e;outline-offset:2px}
.shogi-hand-tray{box-sizing:border-box;max-width:540px;min-height:88px;padding:12px 16px;margin:12px 0;background:#dfb984;border:2px solid #87633c;border-radius:6px;color:#30200e}
.shogi-hand-title{display:block;font-size:14px;font-weight:bold;margin-bottom:8px}.shogi-hand-items{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.shogi-hand-item{display:flex;align-items:center;gap:5px}.shogi-hand-piece{width:32px;height:40px;font-size:21px}.shogi-hand-tray[data-side="white"] .shogi-hand-piece{transform:rotate(180deg)}.shogi-hand-count{font-size:14px}.shogi-static{max-width:540px}figure{margin-inline:0}
