/* The cabinet is one doghouse: transparent roof, timber posts and a wooden base. */
:root { --cell-size:101px; }
.topbar { height:64px; max-width:1280px; padding:0 32px; }
.brand { font-size:24px; }
.brand-icon { width:36px; height:36px; border-radius:11px; }
.brand-icon svg { width:31px; height:31px; }
.page { max-width:1280px; padding:0 32px; }
.intro { padding:17px 0 18px; }
.intro .eyebrow { font-size:8px; letter-spacing:1.8px; }
.intro h1 { margin:7px 0; font-size:38px; letter-spacing:-1.5px; }
.intro p { font-size:12px; }
.play-layout { grid-template-columns:235px minmax(0,1fr); gap:28px; padding-bottom:14px; }
.filters { margin-top:94px; padding:21px 17px 18px; }
.filters-description { margin-bottom:18px; }
.filter-field { margin-bottom:14px; }
.selection-count { margin-top:17px; }
.game-heading { margin-bottom:0; padding:0 28px; }
.game-heading > .section-number { display:none; }
.game-heading > span:nth-child(2) { font-size:8px; letter-spacing:.8px; }
.audio-controls { margin-left:auto; display:flex; gap:7px; }
.sound-button { margin:0; padding:6px 10px; font-size:9px; min-height:31px; }
.music-button { background:linear-gradient(#f8d26e,#dc9a26); border-color:#b27423; color:#653d19; box-shadow:inset 0 1px #fff7bf,0 2px #a96920; }
.music-button[aria-expanded=true] { background:linear-gradient(#ea7867,#b92d2d); color:#fff8d6; }
.slot-machine { max-width:850px; padding:0 28px; isolation:isolate; }
.machine-top { height:auto; aspect-ratio:1983 / 793; width:calc(100% + 72px); margin:0 -36px -15px; z-index:4; container-type:inline-size; pointer-events:none; }
.hero-art { inset:0; border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.hero-art:after { display:none; }
.hero-art img { width:100%; height:100%; object-fit:contain; object-position:center; filter:drop-shadow(0 5px 2px #6036183b); }
.machine-sign { top:60%; bottom:auto; left:50%; width:54%; height:25%; min-height:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.machine-sign strong { font-size:7.9cqw; line-height:.93; margin:0; letter-spacing:-.5px; color:#fff2a2; -webkit-text-stroke:1px #94301c; paint-order:stroke fill; text-shadow:0 2px #a33420,0 4px #6e2918,0 6px 5px #ad482966; }
.machine-sign strong span { color:#ffc62f; }
.machine-sign .sign-small { margin-top:5px; font-size:max(6px,1.1cqw); letter-spacing:2px; font-weight:900; color:#7f351d; text-shadow:0 1px #ffce8b; }
.reel-housing { padding:14px 20px 16px; border:4px solid #d49535; border-radius:5px 5px 10px 10px; background:repeating-linear-gradient(0deg,transparent 0 19px,#4e240e24 20px 21px),linear-gradient(90deg,#7c391a,#b5662b 12%,#92451e 50%,#aa5724 88%,#623019); box-shadow:0 0 0 3px #663515,inset 0 2px #ffd978,inset 0 -3px #5f2b13,0 9px 0 #693215,0 17px 25px #47612d50; }
.reel-housing:before,.reel-housing:after { content:""; position:absolute; top:-7px; bottom:-7px; width:15px; z-index:3; border:2px solid #714018; border-radius:3px; background:repeating-linear-gradient(88deg,#c47a32 0 5px,#c8873b 6px 8px,#a96127 10px 11px); box-shadow:inset 2px 0 #f5bc60,inset -2px 0 #6a3218,1px 0 4px #3c1b18; pointer-events:none; }
.reel-housing:before { left:0; }
.reel-housing:after { right:0; }
.reels { gap:2px; padding:4px; border:2px solid #f1b34a; border-radius:3px; background:#391c14; box-shadow:0 0 0 2px #4b2416,inset 0 3px 5px #1d0c0bcc; }
.reels:after { inset:4px; border-radius:0; background:linear-gradient(#1e080b50,transparent 12%,transparent 89%,#1e080b50); box-shadow:inset 0 1px 4px #2f100b; }
.reel { border-radius:0; background:repeating-linear-gradient(89deg,#4a211b 0 8px,#51261e 10px 15px,#54251e 17px 19px); box-shadow:inset 0 0 14px #25100dbb; }
.reel-symbol { isolation:isolate; }
.reel-symbol:before { content:""; position:absolute; inset:3px 2px; border:1px solid #e2a85528; border-radius:3px; background:radial-gradient(ellipse at 50% 40%,#a4532530,transparent 70%); z-index:-1; }
.reel-symbol:after { display:none; }
.reel-symbol[data-symbol=dog]:before { border:2px solid #fbc456; background:radial-gradient(ellipse at 50% 45%,#489ddd,#175087 65%,#102d5b); box-shadow:inset 0 0 0 2px #083e6d,0 0 0 1px #482419; }
.reel-symbol[data-symbol=corgi]:before { border:2px solid #f8c35a; background:radial-gradient(ellipse at 50% 45%,#d978ce,#982986 68%,#61195b); box-shadow:inset 0 0 0 2px #672072,0 0 0 1px #482419; }
.reel-symbol[data-symbol=retriever]:before { border:2px solid #f8c35a; background:radial-gradient(ellipse at 50% 45%,#56baac,#137767 68%,#074b48); box-shadow:inset 0 0 0 2px #07544c,0 0 0 1px #482419; }
.reel-symbol[data-symbol=house]:before { border:2px solid #e5ac36; background:radial-gradient(ellipse at 50% 30%,#b91f2b,#72151d 75%); box-shadow:inset 0 0 0 2px #f7b64066; }
.reel-symbol .symbol-art { width:min(130%,calc(var(--cell-size)*1.24)); background-image:url('assets/symbols-v2.png'); filter:drop-shadow(0 4px 2px #1c090a80); }
.reel-pointer { width:12px; height:20px; background:#fff39c; filter:drop-shadow(0 0 3px #ffaa29); }
.pointer-left { left:20px; }
.pointer-right { right:20px; }
.frame-screw { z-index:5; width:7px; height:7px; }
.screw-tl,.screw-bl { left:4px; }
.screw-tr,.screw-br { right:4px; }
.machine-spark { display:none; }
.machine-bottom { display:none; }
.play-controls { width:calc(100% - 56px); max-width:794px; margin:10px auto 0; padding:10px 19px; min-height:98px; border:3px solid #a46629; border-radius:8px 8px 16px 16px; background:repeating-linear-gradient(0deg,transparent 0 28px,#31160d3b 29px 30px),linear-gradient(100deg,#804219,#4c2818 60%,#723c1d); box-shadow:inset 0 2px #dfa35a,0 5px 0 #4b2716,0 10px 15px #55742d33; }
.play-hint { display:flex; gap:11px; }
.play-hint strong { color:#fff0b3; font-size:17px; letter-spacing:.1px; text-shadow:0 2px #3c1b12; }
.play-hint div > span { color:#e8c38c; font-size:10px; margin-top:4px; }
.hint-paw { width:36px; height:36px; }
.keyboard-hint { display:block; margin-top:8px; color:#bfa27e; font-size:9px; }
kbd { font:inherit; padding:2px 5px; border:1px solid #c7a27477; border-radius:3px; color:#f1d9ab; background:#372014; box-shadow:0 1px #1d100c; }
.spin-button { flex-shrink:0; width:79px; height:79px; min-width:0; min-height:0; padding:0; border:5px solid #fff1ac; border-radius:50%; background:radial-gradient(circle at 35% 20%,#ff9a62,#e64432 50%,#a61e26 95%); box-shadow:0 0 0 2px #a46424,inset 0 2px #ffd391,inset 0 -4px #9a2023,0 5px 0 #492319,0 6px 16px #220f0a99; }
.spin-button svg { width:38px; height:38px; stroke-width:2.4; filter:drop-shadow(0 2px #9e3024); }
.spin-button [data-spin-label] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.spin-button:not(:disabled):hover { transform:translateY(-2px) rotate(-6deg); box-shadow:0 0 0 2px #a46424,inset 0 2px #ffd391,0 7px 0 #492319,0 9px 18px #220f0a99; }
.spin-button:not(:disabled):active { transform:translateY(3px); box-shadow:0 0 0 2px #a46424,inset 0 2px #ffd391,0 1px #492319; }
.spin-status { margin-top:11px; font-size:10px; }
.slot-machine.is-finished .reel-housing { box-shadow:0 0 0 3px #663515,inset 0 2px #ffd978,0 9px 0 #693215,0 0 30px #ffe894aa; }
.is-spinning .reel-symbol:before { opacity:.7; }
.spin-button { position:relative; }
.spin-button[data-action=stop] svg { animation:none; }
.spin-button[data-action=stop] { background:radial-gradient(circle at 35% 20%,#ffe7a0,#eca72d 55%,#bc681d); }
.spin-button[data-action=stop]:after { content:""; position:absolute; inset:0; margin:auto; width:21px; height:21px; border:3px solid #fff7d3; border-radius:4px; box-shadow:0 2px #a86c1f; }
.spin-button[data-action=stop] svg { opacity:0; }
.game-settings { width:calc(100% - 56px); max-width:794px; margin:16px auto 0; display:flex; align-items:end; gap:12px; padding:12px 15px; border:1px solid #a8b976; border-radius:12px; background:#f6f8d7c9; }
.game-settings label { flex:1; min-width:0; display:grid; gap:6px; color:#577044; font-size:10px; font-weight:800; }
.game-settings select, .game-settings input { width:100%; min-height:37px; border:1px solid #b2bb7d; border-radius:8px; background:#fffbe9; padding:7px 9px; color:#5e492d; font-size:12px; }
.game-settings input:focus-visible { outline:3px solid #125f9f; outline-offset:3px; }
.bonus-limit-field { display:flex; align-items:center; gap:7px; }
.bonus-limit-field input { max-width:70px; }
.game-settings > p { flex:0 1 130px; align-self:center; margin:0; color:#577044; font-size:11px; line-height:1.4; }
.dog-sound-settings { width:calc(100% - 56px); max-width:794px; margin:12px auto 0; display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:#577044; font-size:10px; }
.dog-sound-settings>span { margin-right:auto; font-weight:800; }
.dog-sound-settings button { display:flex; align-items:center; gap:6px; min-height:36px; border:1px solid #a4b676; border-radius:18px; padding:7px 11px; background:#f8fae4; color:#567042; font-size:10px; font-weight:700; }
.dog-sound-settings button[aria-pressed=true] { background:#e8f4cc; border-color:#7a9e4a; color:#375925; }
.dog-sound-settings button[aria-pressed=false] { background:#f2efdf; border-color:#c4bfa8; color:#777364; }
.dog-sound-settings button>span { font-size:15px; }
.dog-sound-settings strong { padding:2px 5px; border-radius:8px; background:#ffffff85; font-size:9px; }
.dog-sound-settings button:focus-visible { outline:3px solid #125f9f; outline-offset:3px; }
.bonus-reveal { position:absolute; inset:9px 18px; z-index:8; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:9px; border:3px solid #ffda64; border-radius:9px; background:radial-gradient(ellipse,#863818f2,#34150ee8); box-shadow:inset 0 0 40px #ffc74444,0 0 25px #ffe28d99; text-align:center; animation:card-in .18s ease-out; }
.bonus-medallion { width:73px; height:73px; display:grid; place-items:center; border:4px solid #ffe990; border-radius:50%; background:linear-gradient(#ffe282,#eb9a23); box-shadow:0 4px #ab541c,0 0 25px #ffd95f66; font-size:37px; }
.bonus-reveal > strong { font-size:clamp(28px,4.5vw,54px); line-height:1; font-weight:900; color:#ffe684; text-shadow:0 3px #b06020,0 5px #5a2311; letter-spacing:2px; }
.bonus-reveal > span { color:#fff1c2; font-size:12px; }
.bonus-reveal button { border:2px solid #fff0a0; border-radius:9px; padding:11px 22px; background:linear-gradient(#f98652,#d53c2a); box-shadow:0 3px #8c2b1d; color:#fff8da; font-size:13px; font-weight:800; }
.reel-symbol.is-bonus-symbol:after { display:block; content:"BONUS"; position:absolute; left:3px; right:3px; bottom:2px; z-index:2; color:#ffec73; font-size:clamp(8px,1.4vw,18px); font-weight:900; text-align:center; text-shadow:0 2px #8c1f11,-1px -1px #8c1f11,1px -1px #8c1f11; }
.how-it-works { padding-top:12px; gap:10px; }
.how-it-works > div,.how-it-works .bank-total { padding:12px 15px; }
.bank-total strong { font-size:29px; }
.footer { padding:17px 0; }
.local-start-notice { position:relative; z-index:10; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:7px 14px; padding:13px 20px; color:#573c20; background:#fff0bd; border-bottom:2px solid #d9aa45; font-size:12px; line-height:1.6; }
.local-start-notice a { font-weight:800; }
.connection-help { margin:12px 28px; padding:14px; border:1px solid #ce9a50; border-radius:12px; background:#fff4d8; color:#674324; text-align:center; font-size:12px; line-height:1.6; }
.connection-help p { margin:0 0 10px; }
.connection-help button { border:1px solid #986529; border-radius:8px; padding:9px 16px; background:#f4d086; color:#56371b; font-weight:800; }
.task-card.is-bonus { border-color:#e4ac38; box-shadow:0 0 0 5px #ffd57055,0 0 65px #ffcc6555,0 20px 70px #14201566; }
.task-card.is-bonus .task-topline .eyebrow { color:#a15419; padding:8px 12px; background:#ffe4a0; border:1px solid #d4a341; border-radius:20px; }
.music-panel { position:fixed; bottom:18px; right:18px; z-index:19; width:360px; max-width:calc(100vw - 24px); padding:12px; border:3px solid #c08b3b; border-radius:15px; background:#fff8df; box-shadow:0 12px 40px #1b301355; color:#5a3d22; }
.music-panel-header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; font-size:12px; font-weight:800; }
.music-close { width:30px; height:30px; border:1px solid #c78a4d; border-radius:50%; background:#f3dfb4; color:#603d20; font-size:23px; cursor:pointer; }
.music-track { display:flex; align-items:center; gap:12px; padding:12px 0 16px; }
.music-track-art { display:grid; place-items:center; flex-shrink:0; width:60px; height:60px; border:2px solid #d9a94e; border-radius:18px; background:linear-gradient(145deg,#ffe493,#dca03b); box-shadow:inset 0 2px #fff1bd; font-size:34px; color:#74451d; }
.music-track strong { display:block; font-size:19px; margin-bottom:5px; }
.music-track div>span { display:block; font-size:11px; line-height:1.5; color:#8b704c; }
#music-audio { display:block; width:100%; height:54px; border-radius:28px; }
.music-original { margin-top:14px; padding-top:12px; border-top:1px solid #dcc89c; font-size:11px; }
.music-panel p { margin:9px 0 1px; font-size:10px; line-height:1.5; color:#8b704c; }
.music-panel a { font-weight:700; }
@media(max-width:1100px) {
  :root { --cell-size:91px; }
  .page,.topbar { padding-left:24px; padding-right:24px; }
  .play-layout { grid-template-columns:205px minmax(0,1fr); gap:20px; }
  .filters { padding:19px 14px; margin-top:78px; }
  .slot-machine { padding:0 20px; }
  .machine-top { width:calc(100% + 54px); margin:0 -27px -12px; }
  .game-heading { padding:0 18px; }
  .game-heading > span:nth-child(2) { display:none; }
  .play-controls { width:calc(100% - 40px); margin:10px auto 0; padding:10px 14px; }
  .play-hint strong { font-size:15px; }
  .play-hint div > span { font-size:9px; }
  .spin-button { width:70px; height:70px; }
  .hint-paw { display:none; }
}
@media(max-width:760px) {
  .game-settings { width:calc(100% - 40px); flex-wrap:wrap; gap:10px; }
  .game-settings > p { flex:0 0 100%; text-align:center; }
  :root { --cell-size:91px; }
  .page,.topbar { padding-left:18px; padding-right:18px; }
  .topbar { height:61px; }
  .topbar-center { display:none; }
  .intro { padding:18px 0; }
  .intro h1 { font-size:33px; }
  .intro p { font-size:11px; }
  .play-layout { grid-template-columns:1fr; gap:15px; }
  .filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; margin:0; padding:15px 16px; }
  .filters-heading { grid-column:1/-1; margin-bottom:12px; }
  .filters h2 { font-size:18px; }
  .filters-description,.filter-note { display:none; }
  .filter-field { margin-bottom:10px; }
  .filter-field label { font-size:9px; margin-bottom:5px; }
  .select-shell select { font-size:10px; padding:10px 25px 10px 9px; }
  .selection-count { grid-column:1/-1; margin:1px 0 0; padding:9px 10px; }
  .game-area { max-width:620px; }
  .game-heading { height:29px; margin-bottom:3px; }
  .game-heading > span:nth-child(2) { display:block; font-size:7px; }
  .sound-button { min-height:28px; padding:4px 8px; font-size:8px; }
  .machine-top { margin-bottom:-9px; }
  .reel-housing { padding:10px 16px 12px; border-width:3px; }
  .reel-housing:before,.reel-housing:after { width:12px; }
  .reels { padding:3px; }
  .pointer-left { left:15px; }.pointer-right { right:15px; }
  .play-controls { min-height:83px; padding:9px 14px; }
  .play-hint { display:flex; }
  .play-hint strong { font-size:16px; }
  .keyboard-hint { display:none; }
  .spin-button { width:65px; height:65px; border-width:4px; }
  .spin-button svg { width:33px; height:33px; }
  .machine-bottom { height:25px; font-size:5px; }
  .how-it-works { grid-template-columns:repeat(3,1fr); }
  .how-it-works .bank-total { grid-column:1/-1; }
}
@media(max-width:520px) {
  .dog-sound-settings { width:calc(100% - 24px); gap:7px; }
  .dog-sound-settings>span { width:100%; margin:0; }
  .dog-sound-settings button { flex:1; justify-content:center; padding:7px 8px; font-size:9px; }
  .game-settings { width:calc(100% - 24px); }
  .bonus-reveal { inset:8px 13px; gap:8px; }
  .bonus-medallion { width:54px; height:54px; font-size:26px; border-width:3px; }
  .bonus-reveal > span { font-size:10px; }
  .bonus-reveal button { padding:9px 13px; font-size:11px; }
  :root { --cell-size:76px; }
  .intro h1 { font-size:32px; }
  .slot-machine { padding:0 12px; }
  .machine-top { width:calc(100% + 36px); margin:0 -18px -8px; }
  .machine-sign .sign-small { margin-top:2px; font-size:7px; letter-spacing:.4px; }
  .game-heading { padding:0 6px; }
  .game-heading > span:nth-child(2) { display:none; }
  .play-controls { width:calc(100% - 24px); margin:10px auto 0; padding:9px 12px; }
  .play-hint strong { font-size:14px; }
  .play-hint div > span { max-width:150px; font-size:9px; line-height:1.5; }
  .reel-symbol:before { inset:2px 1px; }
  .reel-symbol[data-symbol]::before { border-width:1px; }
  .spin-status { font-size:9px; }
  .music-panel { right:12px; bottom:12px; }
}
@media(max-width:380px) {
  :root { --cell-size:66px; }
  .page,.topbar { padding-left:14px; padding-right:14px; }
  .intro h1 { font-size:29px; }
  .play-hint strong { font-size:12px; }
  .play-hint div > span { font-size:8px; max-width:125px; }
  .spin-button { width:57px; height:57px; }
  .reel-housing { padding-left:12px; padding-right:12px; }
  .reel-housing:before,.reel-housing:after { width:9px; }
}
