/* Isolated Yahtzee presentation. */
.yz-page.yz-active header{display:none}.yz-page .yz-panel{padding:1.2rem;background:#102440;border:1px solid #4a6687;border-radius:14px;min-width:0}.yz-page .yz-panel h2{margin-top:0}
body.yz-page{color-scheme:dark;margin:0;background:#081426;color:#f2f6ff;font:1rem/1.55 system-ui,sans-serif}
.yz-page *{box-sizing:border-box}.yz-page [hidden]{display:none!important}.yz-page a{color:#83c9ff;text-underline-offset:.2em}.yz-page header{max-width:960px;margin:auto;display:flex;justify-content:space-between;gap:1rem;padding:1rem 1.5rem}.yz-page main{max-width:900px;margin:auto;padding:1.5rem}.yz-page h1{font-size:clamp(2rem,6vw,3.5rem);line-height:1.15;margin:.3rem 0}.yz-page h1.yz-turn{font-size:1.7rem}.yz-page #yz-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:2rem}.yz-page #yz-hero img{max-width:35%;height:auto}.yz-page button,.yz-page input{font:inherit}.yz-page button{min-height:46px;background:#ffdf58;color:#081426;padding:.65rem 1rem;border:2px solid #ffdf58;border-radius:9px;cursor:pointer;font-weight:700;margin:.3rem 0}.yz-page button:disabled{background:#253952;color:#c6d2e0;border-color:#8095ad;cursor:default}.yz-page :is(a,button,input,summary,[tabindex]):focus-visible{outline:3px solid #ffdf58;outline-offset:4px}.yz-page .yz-options{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.yz-page .yz-mode{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:1rem;padding:1.5rem;background:#102440;color:#f2f6ff;border:1px solid #4a6687;border-radius:16px;text-decoration:none;min-width:0;font-weight:400}.yz-page .yz-mode strong{font-size:1.5rem}.yz-page .yz-mode span:last-child{color:#ffdf58;font-weight:700}.yz-page .yz-mode:hover{background:#163054;border-color:#ffdf58}.yz-page .yz-field{display:flex;flex-direction:column;gap:.4rem;max-width:600px;margin:1rem 0}.yz-page .yz-field:has([type=checkbox]){flex-direction:row;align-items:center;gap:1rem;min-height:48px}.yz-page input:not([type=radio]):not([type=checkbox]){min-width:0;width:100%;padding:.7rem;background:#081426;color:#f2f6ff;border:1px solid #8095ad;border-radius:7px}.yz-page input[type=checkbox],.yz-page input[type=radio]{width:1.2rem;height:1.2rem;accent-color:#ffdf58;flex-shrink:0}.yz-page details{padding:.6rem 0}.yz-page summary{cursor:pointer;min-height:44px;padding:.5rem .2rem;color:#d5e6ff;font-weight:600}.yz-page #yz-menu{margin-top:1.5rem;border-top:1px solid #4a6687}.yz-page nav{display:flex;flex-wrap:wrap;gap:1rem}.yz-page fieldset{min-width:0;border:0;padding:0;margin:0}.yz-page legend{font-weight:700;margin:.6rem 0}.yz-page .yz-dice{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:.7rem}.yz-page .yz-die{display:flex;flex-direction:column;align-items:center;gap:.35rem;max-width:125px;flex:1 1 90px;min-width:80px;padding:.55rem;background:#102440;border:2px solid #667e9a;border-radius:12px;font-size:.8rem;text-align:center;cursor:pointer}.yz-page .yz-die:has(:checked){border-color:#ffdf58;box-shadow:inset 0 0 0 1px #ffdf58}.yz-page .yz-face{display:grid;place-items:center;width:100%;background:#fff7e8;color:#152438;border-radius:8px;font:4.5rem/1.1 'DejaVu Sans','Segoe UI Symbol',sans-serif}.yz-page .yz-scorecard{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}.yz-page .yz-category{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.35rem .65rem;padding:.65rem;border-bottom:1px solid #4a6687;min-height:52px;cursor:pointer}.yz-page .yz-category span:last-child{grid-column:3;text-align:right;font-size:.9rem;color:#bdcce1}.yz-page .yz-category:has(:checked){background:#183752;outline:2px solid #ffdf58}.yz-page .yz-total{font-weight:650}.yz-page table{border-collapse:collapse;width:100%;text-align:left}.yz-page caption{text-align:left;font-weight:700;margin:.5rem 0}.yz-page td,.yz-page th{padding:.6rem;border-bottom:1px solid #4a6687;overflow-wrap:anywhere}.yz-page dl{display:grid;grid-template-columns:1fr auto;gap:.3rem 1rem}.yz-page dd{margin:0}.yz-page .yz-seats{padding:0;list-style:none}.yz-page [data-seat]{border-left:4px solid #69b8ff;padding-left:1rem;overflow-wrap:anywhere}.yz-page [data-seat='1']{border-color:#ffac65}.yz-page [data-seat='2']{border-color:#52d9c5}.yz-page [data-seat='3']{border-color:#c5a0ff}.yz-page #yz-error:not(:empty){background:#3e202b;color:#ffd8d4;border-left:3px solid #ffab9f;padding:1rem;overflow-wrap:anywhere}.yz-page .yz-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.yz-page .yz-skip{position:absolute;top:-100px;left:1rem;background:#081426;padding:1rem}.yz-page .yz-skip:focus{top:1rem}
@media(max-width:550px){.yz-page main{padding:1rem}.yz-page .yz-options,.yz-page .yz-scorecard{grid-template-columns:1fr}.yz-page #yz-hero img{display:none}.yz-page .yz-dice{gap:.35rem}.yz-page .yz-die{flex:1 1 0;min-width:0;padding:.4rem .15rem;font-size:.75rem;line-height:1.35}.yz-page .yz-face{font-size:2.5rem}}
@media(forced-colors:active){body.yz-page,.yz-page .yz-mode,.yz-page .yz-die,.yz-page .yz-face,.yz-page .yz-category:has(:checked){background:Canvas;color:CanvasText}.yz-page a{color:LinkText}.yz-page button{background:ButtonFace;color:ButtonText;border-color:ButtonText}.yz-page button:disabled{color:GrayText;background:Canvas;border-color:GrayText}.yz-page :is(input,button,a,summary):focus-visible{outline-color:Highlight}.yz-page .yz-die:has(:checked),.yz-page .yz-category:has(:checked){border-color:Highlight;outline:2px solid Highlight}.yz-page .yz-category span:last-child,.yz-page summary,.yz-page .yz-mode span:last-child{color:CanvasText}}

.yz-page .yz-variant{margin:1rem 0;padding:.7rem;border:1px solid #4a6687;border-radius:9px}.yz-page .yz-variant legend{padding:0 .4rem}.yz-page .yz-variant-choice{display:flex;align-items:center;gap:.7rem;min-height:44px;cursor:pointer}.yz-page .yz-variant-choice input{margin:0}
