/* Candidate v2 visuals: shogi board, captured-piece trays and brush glyph outlines.
   Only surface treatment and glyph colors. Layout/controls/timing remain unchanged.
   Based on reference art; this is not an approved baseline until visual review. */
:root{
 --candidate-board-wood-v2:url("/assets/materials/board-wood-v2.svg");
 --candidate-tray-wood-v2:url("/assets/materials/tray-wood-v2.svg");
}
.boardwrap{
 background-color:#d9a066;
 background-image:linear-gradient(140deg,#f9d8a22a,#8c582619),var(--candidate-board-wood-v2);
 background-size:auto,100% 100%;
 background-position:center;
 border-color:#9f6733;
 box-shadow:inset 0 1px 0 #fff0cfad,0 4px 11px #5430104c;
}
.board{
 background-color:#dfa45f;
 background-image:linear-gradient(160deg,#ffe0a51a,#7b47100a),var(--candidate-board-wood-v2);
 background-size:auto,100% 100%;
 background-position:center;
 border-color:#623e1a;
}
.match-player-row .hands,.hands{
 background-color:#cf9656;
 background-image:linear-gradient(180deg,#ffebb224,#8d4f1d14),var(--candidate-tray-wood-v2);
 background-size:auto,100% 100%;
 background-position:center;
 border-color:#aa7740;
 box-shadow:inset 0 1px 0 #ffe5b794,0 2px 5px #57351436;
}
.piece{
 filter:drop-shadow(0 1.4px 1px #5b361b7a);
}
.piece .glyph-outline{
 stroke-linejoin:round;
 stroke-linecap:round;
 paint-order:stroke fill;
}
.piece .glyph-outline.normal-text{
 fill:#24170e;
 stroke:#24170e;
 stroke-width:.36px;
}
.piece .glyph-outline.promoted-text{
 fill:#9b2521;
 stroke:#9b2521;
 stroke-width:.27px;
}
