.result-actions{display:grid;gap:9px;width:min(100%,285px);margin-top:14px}.result .result-actions button{margin:0;min-height:43px;padding:11px 16px}.result .result-actions #next-round{background:#273121;border:1px solid #7a8d57;color:var(--cream)}.result>small{max-width:290px;line-height:1.5}
.share-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #70834b;border-radius:12px;background:#171e19;color:var(--cream);box-shadow:0 25px 100px #0009;overflow:auto;overscroll-behavior:contain}
.share-dialog::backdrop{background:#080e0bd9;backdrop-filter:blur(7px)}
.share-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.share-heading h2{font:800 36px/.95 'Barlow Condensed',Impact,sans-serif;margin:8px 0 15px}.share-heading .eyebrow{color:var(--lime);font-size:8px}.share-close{min-width:38px;min-height:38px;border:1px solid #52623e;background:#283223;color:var(--cream);border-radius:5px;font-size:23px;line-height:1}
.share-picture{background:#101710;border:1px solid #424f36;border-radius:5px;overflow:hidden;min-height:100px}.share-picture img{display:block;width:100%;height:auto;aspect-ratio:4/3}.share-loading{padding:40px 15px;text-align:center;color:#c5d4af;font-size:13px}
.share-options{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;margin-top:16px}.share-options a,.share-options button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:12px;border:1px solid var(--lime);border-radius:5px;background:var(--lime);color:#192213;font:700 12px 'DM Sans',sans-serif}.share-options button{background:#2a3522;color:var(--cream);border-color:#6f824c}.share-options [aria-disabled=true]{opacity:.4;pointer-events:none}
.share-note{font:11px/1.6 'DM Sans',sans-serif;color:#b1bfa2;margin:13px 0 0}.share-note strong{color:#dfebce}.share-status{font:11px/1.6 'DM Sans',sans-serif;color:var(--lime);margin:12px 0;min-height:18px}.share-download{font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#d3dfc4}.share-retry{background:#314025;border:1px solid #70834b;border-radius:4px;color:var(--cream);padding:10px 17px}
@media(max-width:600px){.share-dialog{padding:16px}.share-heading h2{font-size:31px}.share-options{grid-template-columns:1fr}.share-options a,.share-options button{min-height:45px}.share-note,.share-status{font-size:10px}.result h2{font-size:46px}.result .eyebrow{font-size:8px}.result .result-actions button{font-size:11px}.result>small{font-size:9px;margin-top:9px}}
.share-options #share-post{background:var(--lime);color:#192213;border-color:var(--lime)}
.share-options button:disabled{opacity:.4;cursor:wait}
.share-web{padding:15px;margin:14px 0;border:1px solid #90a854;background:#263320;border-radius:6px;font:11px/1.6 'DM Sans',sans-serif}
.share-web strong{font:700 10px monospace;letter-spacing:.7px;color:var(--lime)}.share-web p{margin:9px 0 12px}
.share-web a{display:block;padding:12px 10px;background:var(--lime);color:#192213;text-align:center;border-radius:4px;font-weight:800}
.share-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.share-tools a,.share-tools button{min-height:44px;display:inline-flex;align-items:center;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#d3dfc4;background:none;border:0;padding:5px 0}
#share-caption-details{margin-top:10px;color:#bbc9ac;font:11px/1.6 'DM Sans',sans-serif}#share-caption-details summary{cursor:pointer;padding:7px 0}#share-caption{box-sizing:border-box;width:100%;margin-top:6px;padding:10px;resize:vertical;background:#101710;color:#e4eddc;border:1px solid #65724e;border-radius:4px;font:12px/1.5 'DM Sans',sans-serif}
.share-dialog [hidden]{display:none!important}

/* Victory lives over the whole cabinet, so tag entry and records fit in embeds. */
.cabinet{position:relative}
#result{padding:24px;overflow:auto;justify-content:safe center;overscroll-behavior:contain}
.result-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:28px;width:min(100%,730px);align-items:center}
.result-receipt{min-width:0;display:flex;flex-direction:column;align-items:center}
#result h2{font-size:48px;line-height:.95;margin:12px 0}
#result .finish-time{font-size:30px}
#result #result-stats{font-size:11px;line-height:1.5;margin:5px 0}
.game-tag-form{width:100%;margin:16px 0 0;text-align:left}
.game-tag-form label{display:block;color:var(--lime);font:700 10px/1.5 monospace;letter-spacing:.5px;margin-bottom:7px}
.game-tag-form label span{color:#aab69c;font-weight:400}
.game-tag-controls{display:flex;gap:7px}
.game-tag-controls input{box-sizing:border-box;min-width:0;flex:1;width:100%;padding:10px 12px;min-height:44px;border:1px solid #758956;border-radius:5px;background:#111912;color:var(--cream);font:16px 'DM Sans',sans-serif}
.game-tag-controls button,#result .game-tag-controls button{flex:none;min-height:44px;margin:0;padding:10px 12px;border:1px solid #7c9156;border-radius:5px;background:#354627;color:var(--cream);font:700 11px 'DM Sans',sans-serif}
.game-tag-controls :focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.game-tag-controls :disabled{opacity:.5;cursor:wait}
.game-tag-form>p,#result .game-tag-form>p{font:10px/1.5 'DM Sans',sans-serif;color:#b0bda1;margin:6px 0 0}
#result-name-status:empty{display:none}
.share-dialog .game-tag-form{margin:0 0 16px}
.result-board{width:100%;box-sizing:border-box;text-align:left;padding:20px;border:1px solid #637548;border-top:3px solid var(--lime);border-radius:8px;background:#202a1ce6}
.result-board h3{font:800 32px/1 'Barlow Condensed',Impact,sans-serif;margin:8px 0 0;color:var(--cream)}
.result-board .record-list{max-height:265px;margin-top:13px}
.result-board .record-list li{padding:10px 0;gap:7px}
.result-board .record-player small{font-size:8px}
#result .result-board .record-storage{font-size:10px;line-height:1.5;margin-top:12px}
#result .result-board .record-empty{font-size:11px;margin-top:12px}
@media(max-width:620px){#result{padding:20px 16px;justify-content:flex-start}.result-layout{grid-template-columns:minmax(0,1fr);gap:22px;max-width:380px}#result h2{font-size:37px;margin:8px 0}#result .finish-time{font-size:26px}.result-board{padding:15px}.result-board h3{font-size:28px}.result-board .record-list{max-height:none}.result-actions{width:100%}#result>small{margin-bottom:5px}}
