.farkle-table{overflow-y:auto}.farkle-die b,.farkle-die small{color:#302213}.farkle-scene{min-height:660px}.farkle-scores{position:absolute;left:24px;right:24px;top:20px;display:flex;gap:10px;pointer-events:none}.farkle-scores>div{padding:10px 15px;background:#211a12e8;border:1px solid #a58c5466;min-width:115px;border-radius:4px}.farkle-scores>div:last-child{margin-left:auto}.farkle-scores small{display:block;font:8px monospace;letter-spacing:1.1px;color:#c7b58b}.farkle-scores b{display:block;font:26px Georgia;color:#f2d99d;margin-top:5px}.farkle-turn{position:absolute;top:112px;left:20%;right:20%;text-align:center;font:13px/1.5 Georgia;color:#f3dfb1;text-shadow:0 2px 3px #000}.farkle-lobby{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:min(410px,84%);box-sizing:border-box;padding:24px 30px;border:1px solid #b7985c88;border-radius:5px;background:#211b15f5;box-shadow:0 12px 70px #0009;color:#dccfb8}.farkle-lobby>small{font:9px monospace;letter-spacing:1px;color:#d8b77e}.farkle-lobby h3{font:27px Georgia;color:#f0d9aa;margin:12px 0}.farkle-lobby p{font:14px/1.65 Georgia}.farkle-lobby label{display:block;font:11px monospace;margin:15px 0 8px;color:#ceb993}.farkle-bet-row{display:flex;align-items:center;gap:12px}.farkle-bet-row input{width:105px;background:#161810;border:1px solid #aa8e59;color:#f0d99b;padding:8px;font:22px Georgia}.farkle-bet-row span{font:11px monospace}.farkle-lobby button{width:100%;margin-top:12px;padding:12px;color:#21180e;background:linear-gradient(#d2b474,#a27d43);font-weight:bold}.farkle-lobby .farkle-fairness{font:10px/1.65 monospace;color:#b7a98a;margin-bottom:0}.farkle-picker{position:absolute;left:24px;top:28%;width:176px;background:#211a13ed;padding:14px;border:1px solid #a58c5466;border-radius:4px;box-sizing:border-box}.farkle-picker>small{font:8px/1.6 monospace;color:#d9be84;letter-spacing:.5px}.farkle-dice{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.farkle-die{padding:3px;min-width:0;border:1px solid #796643;position:relative;background:#d9c8a0;color:#2a2015;min-height:43px}.farkle-die small{font:8px monospace;position:absolute;left:4px;top:3px;opacity:.6}.farkle-die b{font:25px Georgia}.farkle-die[aria-pressed=true]{outline:2px solid #f2c469;background:#f0d698;box-shadow:0 0 12px #f2c46966}.farkle-picker>button{width:100%;font:10px/1.3 monospace;padding:8px 4px}.farkle-selection{font:10px/1.5 monospace;color:#d8c79f;margin:12px 0 0}.farkle-actions{position:absolute;right:24px;top:31%;width:200px}.farkle-actions button{display:block;width:100%;padding:13px 8px;margin:0 0 10px;font:14px Georgia;color:#21180e;background:linear-gradient(#cbb079,#a17a42);border-color:#d8b779}.farkle-actions #farkle-bank{background:linear-gradient(#b2c194,#7a9663);border-color:#a4bd85}.farkle-risk{display:block;font:10px/1.6 monospace;color:#ddcaa2;background:#211a12df;padding:10px;border-radius:3px}.farkle-status{position:absolute;bottom:65px;left:50%;transform:translateX(-50%);width:min(710px,70%);box-sizing:border-box;padding:15px 21px;background:#201b13ed;border:1px solid #ae8e5677;border-radius:4px;pointer-events:none}.farkle-status-kicker{font:8px monospace;letter-spacing:1px;color:#beaa81}.farkle-status>div{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:5px 0}.farkle-status-title{font:24px Georgia;color:#ecd3a3}.farkle-profit{font:26px Georgia;white-space:nowrap}.farkle-status p{font:13px/1.5 Georgia;color:#d8cbb0;margin:7px 0}.farkle-status .farkle-decision{font:10px/1.5 monospace;color:#c5b184}.farkle-status[data-outcome=win] .farkle-status-title,.farkle-status[data-outcome=win] .farkle-profit{color:#c4dc98}.farkle-status[data-outcome=lose] .farkle-status-title,.farkle-status[data-outcome=lose] .farkle-profit{color:#e3a78a}.farkle-log{position:absolute;left:10%;right:10%;bottom:20px;text-align:center;font:10px/1.6 monospace;color:#c5b38c}.farkle-forfeit{position:absolute;z-index:12;left:50%;top:50%;transform:translate(-50%,-50%);width:min(390px,85%);box-sizing:border-box;background:#211b14fa;border:1px solid #d4ac6d;border-radius:5px;padding:25px;box-shadow:0 0 0 100vmax #0008;color:#dccbb0}.farkle-forfeit h3{font:25px Georgia;color:#f1d4a1;margin-top:0}.farkle-forfeit p{font:14px/1.6 Georgia}.farkle-forfeit button{width:100%;margin-top:9px;padding:11px}.farkle-forfeit #farkle-forfeit{color:#e9b39b;border-color:#a87c5c}.farkle-table [hidden]{display:none!important}
@media(max-width:1100px) and (min-width:701px){.farkle-picker{left:12px;width:156px;padding:11px}.farkle-actions{right:12px;width:170px}.farkle-status{width:72%}.farkle-scores{left:12px;right:12px}.farkle-scores>div{min-width:90px;padding:9px 11px}}
@media(max-width:700px){.farkle-scene{min-height:730px}.farkle-scores{left:10px;right:10px;top:12px;gap:5px;display:grid;grid-template-columns:repeat(2,1fr)}.farkle-scores>div{min-width:0;padding:7px 9px}.farkle-scores>div:last-child{margin:0}.farkle-scores small{font-size:7px}.farkle-scores b{font-size:21px;margin-top:2px}.farkle-turn{top:140px;left:8px;right:8px;font-size:11px}.farkle-picker{left:12px;top:340px;width:165px;padding:11px}.farkle-actions{right:12px;top:340px;width:calc(100% - 201px);max-width:220px}.farkle-actions button{font-size:12px;padding:11px 5px}.farkle-risk{font-size:8px}.farkle-picker>small{font-size:7px}.farkle-selection{font-size:8px}.farkle-status{bottom:35px;width:calc(100% - 24px);padding:11px 14px}.farkle-status-title{font-size:21px}.farkle-status p{font-size:11px}.farkle-status .farkle-decision{font-size:8px}.farkle-status-kicker{font-size:7px}.farkle-log{bottom:8px;left:12px;right:12px;font-size:8px}.farkle-lobby{top:42%;padding:20px}.farkle-lobby h3{font-size:24px}.farkle-lobby p{font-size:12px}.farkle-table .hazard-header{gap:5px}.farkle-table .hazard-header button{font-size:10px;padding:7px}.farkle-table .hazard-purse{margin-left:auto}.farkle-table .hazard-header h2{font-size:22px}.farkle-profit{font-size:22px}}
@media(max-height:730px) and (min-width:701px){.farkle-scene{min-height:550px}.farkle-status{bottom:42px;padding:9px 16px}.farkle-status p{font-size:11px;margin:5px 0}.farkle-status-title{font-size:21px}.farkle-log{bottom:11px;font-size:9px}.farkle-turn{top:99px}.farkle-scores{top:12px}.farkle-scores b{font-size:22px}}
 .farkle-board-lobby{position:absolute;z-index:5;left:50%;top:110px;transform:translateX(-50%);width:min(500px,calc(100% - 32px));max-height:calc(100% - 140px);overflow:auto;box-sizing:border-box;background:#201c16f5;border:1px solid #b49458;border-radius:5px;padding:22px;color:#e6d4ad;box-shadow:0 8px 24px #0008}.farkle-board-lobby h3{font:28px Georgia;margin:8px 0}.farkle-board-lobby p{font:13px/1.5 Georgia}.farkle-board-lobby>small{font:9px monospace;letter-spacing:2px;color:#c6b388}.farkle-board-lobby label{display:flex;align-items:center;justify-content:space-between;gap:12px;font:12px Georgia;margin:12px 0}.farkle-board-lobby input,.farkle-board-lobby select{min-width:0;width:60%;box-sizing:border-box;padding:9px;color:#f0ddb7;background:#171d17;border:1px solid #8c794f;font-size:14px}.farkle-board-lobby button{padding:10px 14px;margin:5px 6px 5px 0;font-size:13px}.farkle-invitations>div{border-top:1px solid #75613d;margin-top:12px;padding-top:8px}.farkle-score-dice{white-space:nowrap}.farkle-score-dice span{display:inline-block;width:16px;height:18px;margin:1px;text-align:center;line-height:18px;border-radius:3px;background:#eee3c9;color:#241c14;font-weight:bold;border:1px solid #ad9770}.farkle-help table{width:100%;border-collapse:collapse}.farkle-help td,.farkle-help th{padding:6px 3px;text-align:left}.farkle-help caption{font-size:19px;margin-bottom:9px;color:#efd39f}@media(max-width:700px){.farkle-board-lobby{top:36px;padding:16px;max-height:calc(100% - 65px)}.farkle-board-lobby h3{font-size:23px}.farkle-help td,.farkle-help th{font-size:10px;padding:5px 2px}.farkle-score-dice span{width:12px;height:15px;line-height:15px;font-size:10px;margin:0}.farkle-help{width:calc(100% - 18px)}}

.farkle-table .farkle-help table{width:100%;max-width:900px}.farkle-table .farkle-help th,.farkle-table .farkle-help td{font-size:14px;line-height:1.4;padding:6px}.farkle-table .farkle-help th{font-family:Georgia,serif;font-weight:normal}.farkle-table .farkle-help thead th{font-weight:bold}.farkle-table .farkle-score-dice span{font-size:13px}@media(max-width:700px){.farkle-table .farkle-help th,.farkle-table .farkle-help td{font-size:12px;padding:5px 2px}.farkle-table .farkle-score-dice span{font-size:10px}}

.farkle-picker[data-npc=true] .farkle-die:disabled{opacity:1;cursor:default}
.farkle-picker[data-npc=true] .farkle-die[aria-pressed=true]{border-color:#ffe1a0;box-shadow:0 0 14px #e5c06a66,inset 0 0 0 1px #e5c06a}
.farkle-npc-action{position:absolute;right:24px;top:31%;width:200px;box-sizing:border-box;padding:17px 15px;background:linear-gradient(135deg,#29362af5,#1a251ef5);border:1px solid #b59a5f88;border-radius:5px;box-shadow:0 7px 25px #0005;color:#e4d2a4}
.farkle-npc-action small{display:block;font:8px/1.5 monospace;letter-spacing:1px;color:#bba77a}
.farkle-npc-action b{display:block;font:18px/1.35 Georgia,serif;margin:10px 0;color:#f1dca9}
.farkle-npc-action p{font:11px/1.6 Georgia,serif;margin:0;color:#c6c7ad}
.farkle-table[data-presentation=picking] #farkle-turn-score{color:#f7d78c}
@media(max-width:1100px) and (min-width:701px){.farkle-npc-action{right:12px;width:170px;padding:13px}}
@media(max-width:700px){.farkle-npc-action{right:12px;top:340px;width:calc(100% - 201px);max-width:220px;padding:13px 10px}.farkle-npc-action b{font-size:15px}.farkle-npc-action p{font-size:10px}.farkle-npc-action small{font-size:7px}}
