/* The theme supplies the board markup; the movement plugin owns this layout. */
#kfw-board{width:100%;min-width:0;}
#kfw-board .leaderboard{display:grid;gap:12px;width:100%;margin:24px 0;}
#kfw-board .leader-row{display:grid;grid-template-columns:52px minmax(0,1fr) max-content;align-items:center;gap:20px;padding:20px 24px;border:1px solid #46503c;border-radius:8px;background:#1d2318;color:#f2eee3;line-height:1.4;}
#kfw-board .leader-row>span:first-child{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#d3f54c;color:#131511;font-size:18px;font-weight:700;}
#kfw-board .leader-row>strong{display:block;min-width:0;font-size:20px;overflow-wrap:anywhere;}
#kfw-board .leader-row>span:last-child{display:block;font-size:17px;font-weight:600;color:#d3f54c;white-space:nowrap;text-align:right;}
@media(max-width:600px){
 #kfw-board .leader-row{grid-template-columns:36px minmax(0,1fr) max-content;gap:12px;padding:16px 14px;}
 #kfw-board .leader-row>span:first-child{width:32px;height:32px;font-size:16px;}
 #kfw-board .leader-row>strong{font-size:17px;}
 #kfw-board .leader-row>span:last-child{font-size:14px;}
}
@media(max-width:360px){
 #kfw-board .leader-row{grid-template-columns:32px minmax(0,1fr);}
 #kfw-board .leader-row>span:last-child{grid-column:2;text-align:left;}
}
/* Use the same compact frame for populated and empty states. */
#kfw-board{width:50%;max-width:760px;}
#kfw-board .kfw-empty{width:100%;max-width:none;box-sizing:border-box;}
#kfw-board .leader-row[hidden]{display:none!important;}
#kfw-board .kfw-board-toggle{margin:4px 0 24px;}
.kfw-own-position{margin-top:20px;padding-top:16px;border-top:1px solid #46503c;line-height:1.6;}
.kfw-own-position strong{color:#d3f54c;}
@media(max-width:1000px){#kfw-board{width:100%;max-width:none;}}
