*,:before,:after{box-sizing:border-box}*{margin:0;padding:0}body{-webkit-font-smoothing:antialiased;line-height:1.5}img,video{max-width:100%;display:block}button,input{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:none}table{border-collapse:collapse}.yb-body{background:#111827;font-family:system-ui,-apple-system,sans-serif}.yb-score-row{transition:color .5s,background-color .5s}.yb-score-row--highlighted{background:#eab3084d}.yb-score-row--selected{background:#04785780;box-shadow:inset 0 0 0 2px #34d399}.yb-score-row--selectable{cursor:pointer}.yb-score-row--selectable:hover{background:#064e3b4d}.yb-score-row--filled{color:#9ca3af}.yb-score-cell{text-align:left;padding:.25rem .5rem;font-size:.875rem}.yb-score-val{text-align:center;width:4rem;padding:.25rem .5rem;font-size:.875rem}.yb-score-filled{font-weight:700}.yb-score-filled--highlighted{color:#fde047}.yb-score-potential{color:#34d399;font-weight:500}.yb-score-empty{color:#4b5563}.yb-dice{aspect-ratio:1;cursor:pointer;border:2px solid;border-radius:.5rem;flex:1;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);min-width:0;max-width:4rem;padding:.375rem;transition:all .15s;display:grid}.yb-dice--held{background:#fef3c7;border-color:#fbbf24;box-shadow:0 0 0 2px #fbbf24,0 10px 15px -3px #fbbf244d,0 4px 6px -4px #fbbf244d}.yb-dice--unheld{background:#fff;border-color:#d1d5db}.yb-dice--unheld:hover{border-color:#9ca3af}.yb-dice--disabled{opacity:.5;cursor:not-allowed}.yb-dice-pip{background:#1f2937;border-radius:9999px;place-self:center;width:.625rem;height:.625rem}.yb-dice-pip--c1r1{grid-area:1/1}.yb-dice-pip--c1r2{grid-area:2/1}.yb-dice-pip--c1r3{grid-area:3/1}.yb-dice-pip--c2r2{grid-area:2/2}.yb-dice-pip--c3r1{grid-area:1/3}.yb-dice-pip--c3r2{grid-area:2/3}.yb-dice-pip--c3r3{grid-area:3/3}.yb-ai-burst-overlay{pointer-events:none;z-index:80;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.yb-ai-burst-content{color:#34d399;align-items:center;gap:2.5rem;font-size:3rem;font-weight:900;display:flex}.yb-win-overlay{pointer-events:none;z-index:65;position:fixed;inset:0;overflow:hidden}.yb-win-score{color:#34d399;font-size:1.875rem;font-weight:900;position:absolute}.yb-yahtzee-overlay{z-index:70;pointer-events:none;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.yb-yahtzee-text{color:#ef4444;font-size:4.5rem;font-weight:900}.yb-celebration-video{pointer-events:none;z-index:64;object-fit:cover;width:100%;height:100%;transition:opacity .1s;position:fixed;inset:0}.yb-celebration-video--visible{opacity:1}.yb-celebration-video--hidden{opacity:0}.yb-arcade-container{pointer-events:none;position:absolute;inset:0}.yb-arcade-strip{position:absolute;top:0;bottom:0}.yb-arcade-strip--left-inset{left:.25rem}.yb-arcade-strip--left-outside{padding-right:.75rem;left:0;transform:translate(-100%)}.yb-arcade-strip--right-inset{right:.25rem}.yb-arcade-strip--right-outside{padding-left:.75rem;right:0;transform:translate(100%)}.yb-arcade-strip-inner{flex-direction:column;justify-content:space-between;align-items:center;width:1.25rem;height:100%;display:flex}.yb-arcade-bulb{border:1px solid #000;border-radius:9999px;flex-shrink:0;width:1rem;height:1rem;transition:all .3s}.yb-burst{z-index:60;pointer-events:none;white-space:nowrap;font-weight:900;position:fixed}.yb-burst--winner{font-size:3rem}.yb-burst--emphasized{font-size:2.25rem}.yb-burst--standard{font-size:1.5rem}.yb-burst--color-lucky{color:gold}.yb-burst--color-winner{color:#fb923c}.yb-burst--color-emphasized{color:#fde047}.yb-burst--color-standard{color:#fff}.yb-burst-score{margin-left:.75rem;display:inline-block}.yb-burst-score--standard{color:#6ee7b7}.yb-slot-wrapper{flex-direction:column;align-items:center;gap:1rem;display:flex}.yb-slot-luck-burst{pointer-events:none;z-index:50;position:fixed}.yb-slot-luck-sparkle{font-size:1.25rem;line-height:1;position:absolute;top:0;left:50%;transform:translate(-50%)}.yb-slot-luck-star{font-size:1.875rem;line-height:1;position:absolute;top:.75rem;left:50%;transform:translate(-50%)}.yb-slot-luck-sparkle-left{font-size:1.25rem;line-height:1;position:absolute;top:1.75rem;left:.5rem}.yb-slot-luck-sparkle-right{font-size:1.25rem;line-height:1;position:absolute;top:1.75rem;right:.5rem}.yb-slot-machine{aspect-ratio:24/17;width:100%;max-width:min(480px,42dvh);position:relative}.yb-slot-reels{z-index:0;display:flex;position:absolute}.yb-slot-reel{flex:1;position:relative;overflow:hidden}.yb-slot-reel-bg{position:absolute;inset:0}.yb-slot-reel-bg--held{background:#fde047}.yb-slot-reel-bg--unheld{background:linear-gradient(90deg,#e5e7eb,#fff 50%,#e5e7eb)}.yb-slot-reel-scroll-container{position:absolute;inset:0;overflow:hidden}.yb-slot-reel-strip{position:absolute;top:0;left:0;right:0}.yb-slot-reel-cell{justify-content:center;align-items:center;display:flex}.yb-slot-reel-number{font-family:system-ui,-apple-system,sans-serif;font-weight:900}.yb-slot-reel-shadow{pointer-events:none;position:absolute;inset:0}.yb-slot-img{object-fit:contain;pointer-events:none;user-select:none;z-index:10;width:100%;height:100%;position:absolute;inset:0}.yb-slot-click-targets{z-index:20;display:flex;position:absolute}.yb-slot-click-target{background:0 0;flex:1;margin:0 1px}.yb-slot-click-target--disabled{cursor:not-allowed}.yb-slot-click-target--enabled{cursor:pointer}.yb-slot-controls{align-items:center;gap:1rem;display:flex;transform:translateY(-.5rem)}.yb-slot-roll-btn{color:#fff;background:linear-gradient(#dc2626,#991b1b);border:1px solid #7f1d1d;border-radius:.5rem;padding:1rem 1.5rem;font-size:1.25rem;font-weight:700;transition:all .15s;box-shadow:0 4px 6px -1px #0000001a}.yb-slot-roll-btn:hover{background:linear-gradient(#ef4444,#b91c1c)}.yb-slot-roll-btn:disabled{cursor:not-allowed;background:linear-gradient(#4b5563,#374151);border-color:#4b5563}.yb-slot-luck-btn{color:#fff;letter-spacing:.05em;background:linear-gradient(#34d399,#16a34a,#14532d);border:2px solid #052e16;border-radius:9999px;flex-shrink:0;width:3.5rem;height:3.5rem;font-size:.75rem;font-weight:900;transition:all .1s;position:relative;top:-1px;box-shadow:0 4px #14532d}.yb-slot-luck-btn:hover{background:linear-gradient(#6ee7b7,#22c55e,#166534)}.yb-slot-luck-btn:active{box-shadow:none;transform:translateY(4px)}.yb-slot-luck-shine{background:#ffffff59;border-radius:9999px;width:1rem;height:.625rem;position:absolute;top:.375rem;left:.625rem;transform:rotate(-25deg)}.yb-dice-rack{flex-direction:column;align-items:center;gap:1rem;width:100%;display:flex}.yb-dice-rack-row{justify-content:center;gap:.375rem;width:100%;max-width:380px;display:flex}.yb-dice-rack-controls{align-items:center;gap:1rem;display:flex}.yb-dice-rack-roll-btn{color:#fff;background:#059669;border-radius:.5rem;padding:.75rem 1.5rem;font-size:1.125rem;font-weight:700;transition:color .15s,background-color .15s;box-shadow:0 4px 6px -1px #0000001a}.yb-dice-rack-roll-btn:hover{background:#047857}.yb-dice-rack-roll-btn:disabled{cursor:not-allowed;background:#4b5563}.yb-dice-rack-hint{color:#9ca3af;font-size:.875rem}.yb-scorecard-grid{grid-template-columns:1fr;gap:1rem;display:grid}.yb-scorecard-panel{border:1px solid;border-radius:.5rem;padding:.75rem}.yb-scorecard-panel--active{background:#1f2937cc;border-color:#10b981}.yb-scorecard-panel--inactive{background:#1f293766;border-color:#374151}.yb-scorecard-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.yb-scorecard-name{min-width:0;font-size:1.125rem;font-weight:700}.yb-scorecard-name--left{text-align:left}.yb-scorecard-name--right{text-align:right}.yb-scorecard-name--current{color:#34d399}.yb-scorecard-name--other{color:#d1d5db}.yb-scorecard-name-indicator{font-size:.75rem}.yb-scorecard-name-indicator--left{margin-left:.5rem}.yb-scorecard-name-indicator--right{margin-right:.5rem}.yb-scorecard-total{color:#fff;flex-shrink:0;font-size:1.25rem;font-weight:700}.yb-scorecard-total--left{text-align:left}.yb-scorecard-total--right{text-align:right}.yb-scorecard-table{width:100%}.yb-scorecard-table--lower{margin-top:.5rem}.yb-scorecard-section-divider{border-bottom:1px solid #374151}.yb-scorecard-th{text-align:left;color:#6b7280;padding-bottom:.25rem;font-size:.75rem;font-weight:400}.yb-scorecard-th-score{text-align:center;color:#6b7280;width:4rem;padding-bottom:.25rem;font-size:.75rem;font-weight:400}.yb-scorecard-subtotal-row{border-top:1px solid #374151}.yb-scorecard-subtotal-label{color:#6b7280;padding:.25rem .5rem;font-size:.75rem}.yb-scorecard-subtotal-val{text-align:center;padding:.25rem .5rem;font-size:.75rem}.yb-scorecard-bonus-val{text-align:center;padding:.25rem .5rem;font-size:.75rem;font-weight:700}.yb-scorecard-yahtzee-bonus{border-top:1px solid #374151;justify-content:space-between;margin-top:.5rem;padding-top:.5rem;display:flex}.yb-scorecard-yahtzee-label{color:#6b7280;font-size:.75rem}.yb-scorecard-yahtzee-value{color:#34d399;font-size:.75rem}.yb-desktop-layout{grid-template-columns:minmax(260px,1fr) minmax(420px,1.35fr) minmax(260px,1fr);align-items:start;gap:3rem;display:grid;position:relative}.yb-desktop-center{align-self:stretch;position:relative}.yb-mobile-layout{flex-direction:column;gap:.5rem;width:100%;max-width:32rem;height:100%;min-height:0;margin:0 auto;display:flex}.yb-mobile-tabs{flex-shrink:0;grid-template-columns:repeat(2,1fr);gap:.5rem;display:grid}.yb-mobile-tab{text-align:center;border:1px solid #374151;border-radius:.75rem;min-width:0;padding:.5rem;transition:color .15s,background-color .15s}.yb-mobile-tab--active{background:#374151;box-shadow:inset 0 0 0 2px #34d399}.yb-mobile-tab--inactive{background:#1f2937}.yb-mobile-tab--inactive:hover{background:#374151}.yb-mobile-tab-name{text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:700;display:block;overflow:hidden}.yb-mobile-tab-name--current{color:#34d399}.yb-mobile-tab-name--other{color:#e5e7eb}.yb-mobile-tab-score{margin-top:.125rem;font-size:1.5rem;font-weight:900;display:block}.yb-mobile-tab-score--current{color:#34d399}.yb-mobile-tab-score--other{color:#fff}.yb-mobile-main{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.yb-mobile-card{z-index:10;background:#1f2937f2;border:1px solid #374151;border-radius:.75rem;flex-direction:column;flex:1;min-height:0;margin:0 2rem;display:flex;position:relative;overflow:hidden}.yb-mobile-game-panel{flex-shrink:0}.yb-mobile-scorecard-area{touch-action:pan-y;flex-direction:column;flex:1;min-height:0;display:flex}.yb-mobile-scorecard-inner{flex-direction:column;flex:1;min-height:0;display:flex}.yb-mobile-scorecard-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:.5rem;overflow-y:auto}.yb-mobile-confirm-bar{background:#1f2937;border-top:1px solid #374151;flex-shrink:0;padding:.5rem}.yb-mobile-confirm-btn{color:#fff;background:#059669;border-radius:.5rem;width:100%;padding:.625rem 1rem;font-size:1rem;font-weight:900;transition:color .15s,background-color .15s}.yb-mobile-confirm-btn:hover{background:#10b981}.yb-mobile-confirm-btn:disabled{cursor:not-allowed;color:#d1d5db;background:#4b5563}.yb-setup{color:#fff;background:#111827;justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.yb-setup-card{background:#1f2937;border:1px solid #374151;border-radius:.75rem;width:100%;max-width:28rem;padding:2rem}.yb-setup-title{color:#34d399;text-align:center;margin-bottom:.5rem;font-size:1.875rem;font-weight:700}.yb-setup-subtitle{color:#9ca3af;text-align:center;margin-bottom:1.5rem}.yb-setup-options>*+*{margin-top:1rem}.yb-setup-model-list{background:#11182799;border:1px solid #047857;border-radius:.5rem;padding:.75rem}.yb-setup-model-list>*+*{margin-top:.5rem}.yb-setup-model-header{color:#6b7280;justify-content:space-between;align-items:center;padding:0 .75rem;font-size:.75rem;font-weight:300;display:flex}.yb-setup-loading{color:#9ca3af;font-size:.875rem}.yb-setup-model-btn{text-align:left;border-radius:.25rem;justify-content:space-between;align-items:center;width:100%;padding:.5rem .75rem;display:flex}.yb-setup-model-btn--selected{background:#065f46;box-shadow:0 0 0 2px #34d399}.yb-setup-model-btn--unselected{background:#374151}.yb-setup-model-btn--unselected:hover{background:#4b5563}.yb-setup-model-name-wrap{min-width:0}.yb-setup-model-name{font-weight:700;display:block}.yb-setup-model-score-wrap{text-align:right;color:#d1d5db;flex-shrink:0;margin-left:.75rem;font-size:.75rem}.yb-setup-model-score-val{color:#6ee7b7;font-weight:700;display:block}.yb-setup-error{color:#f87171;font-size:.875rem}.yb-setup-play-btn{color:#fff;background:linear-gradient(#10b981,#047857);border-radius:.75rem;width:100%;padding:1rem 1.5rem;font-size:1.25rem;font-weight:900;transition:color .15s,background-color .15s;box-shadow:0 10px 15px -3px #0000001a}.yb-setup-play-btn:hover{background:linear-gradient(#34d399,#059669)}.yb-setup-play-btn:disabled{opacity:.6;cursor:not-allowed}.yb-game{color:#fff;background:#111827;height:100dvh;padding:.5rem;overflow:hidden}.yb-game-container{flex-direction:column;max-width:1600px;height:100%;min-height:0;margin:0 auto;display:flex;position:relative}.yb-game-back-wrap{z-index:50;position:absolute;top:0;left:0}.yb-game-back-btn{color:#d1d5db;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;transition:color .15s;display:flex}.yb-game-back-btn:hover{color:#fff}.yb-game-back-icon{width:1.5rem;height:1.5rem}.yb-game-top-right{z-index:50;align-items:center;gap:.5rem;display:flex;position:absolute;top:0;right:0}.yb-game-genz-label{cursor:pointer;align-items:center;gap:.5rem;height:2.25rem;display:flex}.yb-game-genz-text{white-space:nowrap;color:#f3f4f6;font-size:.875rem;font-weight:500}.yb-game-genz-full{display:none}.yb-game-genz-short{display:inline}.yb-game-genz-checkbox{accent-color:#10b981;border-radius:.25rem;width:1rem;height:1rem}.yb-game-mute-btn{color:#d1d5db;align-items:center;gap:.375rem;height:2.25rem;font-size:.875rem;font-weight:500;transition:color .15s;display:flex}.yb-game-mute-btn:hover{color:#fff}.yb-game-mute-icon{width:1.25rem;height:1.25rem}.yb-game-mute-label{display:none}.yb-game-title{text-align:center;color:#34d399;flex-shrink:0;margin-bottom:1rem;font-size:1.5rem;font-weight:700;line-height:1.25}.yb-game-title-btn{color:inherit;transition:color .15s}.yb-game-title-btn:hover{color:#6ee7b7}.yb-game-mobile-wrapper{flex:1;min-height:0}.yb-game-over-panel{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:240px;padding:.75rem;display:flex}.yb-game-over-heading{margin-bottom:.5rem;font-size:1.875rem;font-weight:700}.yb-game-over-scores{color:#fff;margin-bottom:1rem}.yb-game-over-bold{font-weight:700}.yb-game-over-new-btn{color:#fff;background:#059669;border-radius:.5rem;padding:.75rem 1.5rem;font-weight:700;transition:color .15s,background-color .15s}.yb-game-over-new-btn:hover{background:#047857}.yb-game-panel{padding:.5rem}.yb-game-ai-error{text-align:center;color:#f87171;margin-top:1rem;font-size:.875rem}.yb-capture-hidden{visibility:hidden}@media (width>=640px){.yb-dice{padding:.5rem}.yb-dice-pip{width:.75rem;height:.75rem}.yb-dice-rack-row{gap:.75rem}}@media (width>=768px){.yb-scorecard-grid--multi{grid-template-columns:repeat(2,1fr)}}@media (width>=1024px){.yb-game-genz-full{display:inline}.yb-game-genz-short{display:none}.yb-slot-machine{max-width:480px}.yb-slot-controls{transform:none}.yb-slot-roll-btn{padding:.75rem 1.5rem}.yb-slot-luck-btn{top:-5px;box-shadow:0 6px #14532d,0 10px 16px #00000073}.yb-slot-luck-btn:active{box-shadow:0 2px #14532d,0 4px 8px #0006}.yb-game{height:auto;min-height:100vh;padding:2rem;overflow:hidden visible}.yb-game-container{height:auto;display:block}.yb-game-top-right{flex-direction:column;align-items:flex-end;gap:0}.yb-game-mute-btn{flex-direction:row-reverse;height:1.5rem;margin-bottom:.75rem}.yb-game-mute-label{display:inline}.yb-game-title{font-size:2.25rem}.yb-game-title--genz{margin-bottom:2.5rem}.yb-game-title--normal{margin-bottom:1.5rem}.yb-game-over-panel{background:#1f2937;border:1px solid #10b981;border-radius:.75rem;min-height:500px;margin-bottom:2rem;padding:1.5rem}.yb-game-panel{background:#1f2937;border:1px solid #374151;border-radius:.75rem;margin-bottom:2rem;padding:1.5rem}}[data-page=yahtzee] .site-header{z-index:100;transition:top .3s;position:fixed;top:-64px;left:0;right:0}[data-page=yahtzee] .site-header.yb-nav-visible{top:0}[data-page=yahtzee] .site-main{max-width:100%;padding:0}[data-page=yahtzee] body{background:#111827}
