/* Material do instrumento em arte local; controles consistentes e alvos grandes. */
.drums-game{max-width:820px;margin-inline:auto;padding-bottom:0}
.drums-game .drums-toolbar{gap:8px;margin-bottom:8px}.drums-toolbar h2{font-size:clamp(20px,4vw,28px);text-align:center}
.drums-game .drums-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;touch-action:manipulation}
.drums-mode-row{display:flex;justify-content:center;align-items:center;gap:13px;margin-bottom:10px}.drums-modes{display:flex;gap:4px;padding:4px;background:#eaf1fb;border:1px solid #d6e2f0;border-radius:18px}.drums-modes button{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:7px 22px;border:2px solid transparent;border-radius:13px;background:transparent;color:#536579;font-size:17px;font-weight:750;touch-action:manipulation}.drums-modes button>span{font-size:23px;line-height:1}.drums-modes button[aria-pressed=true]{background:linear-gradient(#4979b8,#3566a8);border-color:#3566a8;box-shadow:inset 0 1px 0 #ffffff50,0 2px 4px #24344b15;color:#fff}.drums-mode-row>.drums-icon{width:54px;min-width:54px;height:54px;min-height:54px;padding:9px!important;border-radius:17px}.drums-mode-row>.drums-icon svg{width:29px;height:29px}
.drums-summary{display:flex;align-items:center;gap:12px;min-height:92px;padding:10px 15px;border:1px solid #d5e1ef;border-radius:22px;background:linear-gradient(120deg,#fff,#f2f7fe);box-shadow:0 4px 12px #24344b05}.drums-free-summary{display:flex;align-items:center;justify-content:center;gap:14px;width:100%}.drums-free-summary>span{width:56px;height:56px;display:grid;place-items:center;background:#eaf1fb;border-radius:17px;color:#3566a8;font-size:42px;box-shadow:inset 0 1px 0 #fff,0 3px 0 #d4e1f1}.drums-free-summary strong{display:block;font-size:19px}.drums-free-summary p{font-size:14px;color:#536579;margin-top:4px}.drums-guide-copy{flex:1;min-width:0}.drums-guide-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px}.drums-guide-title strong{font-size:17px}.drums-guide-title>span{font-size:12px;white-space:nowrap;color:#536579}.drums-sequence{display:flex;align-items:center;gap:10px}.drums-sequence>span{position:relative;display:flex;align-items:center;justify-content:center;width:64px;height:53px;border:2px solid #d7e3f1;border-radius:50%;background:#fff;opacity:.8}.drums-sequence>span:not(:last-child)::after{content:'›';position:absolute;left:calc(100% + 2px);font-size:23px;color:#738ba9}.drums-sequence svg{width:100%;height:100%;display:block}.drums-sequence .is-next{border-color:#3566a8;background:#eaf1fb;box-shadow:0 0 0 2px #3566a819;opacity:1}.drums-sequence .is-done{opacity:.55}.drums-summary.is-complete{border-color:#8faed6;background:#eaf1fb}.drums-guide-restart{width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:9px!important;border-radius:16px!important}.drums-guide-restart svg{width:31px;height:31px}
.drums-instruction{text-align:center;color:#3566a8;font-size:16px;font-weight:700;line-height:1.4;min-height:23px;margin:12px 0 8px}.drums-stage{position:relative;display:flex;align-items:flex-start;justify-content:center;width:100%;overflow:visible}.drums-instrument{position:relative;flex:none;width:100%;max-width:100%;isolation:isolate;user-select:none;-webkit-user-select:none}.drums-art,.drums-targets{position:absolute;inset:0}.drums-art{pointer-events:none}.drums-art>svg{display:block;width:100%;height:100%;overflow:visible}.drums-targets{z-index:2;pointer-events:none}.drums-game .drums-pad{position:absolute;display:block;padding:0;background:transparent;border:0;border-radius:50%;opacity:1;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:auto;cursor:pointer;outline-offset:0;box-shadow:none}.drums-game .drums-pad.is-roundrect{border-radius:28%}.drums-pad:disabled{cursor:wait}.drums-game .drums-pad:focus-visible{outline:3px dashed #164c90;outline-offset:-5px;background:#8ab5e918}.drums-game .drums-pad.is-guide{box-shadow:inset 0 0 0 3px #3566a850}.drums-game .drums-pad.is-hit{background:#b5d3f12b}.drums-art .drum-guide-halo,.drums-art .drum-hit-halo{opacity:0;transition:opacity .08s;pointer-events:none}.drums-art [data-drum-art].is-guide .drum-guide-halo{opacity:1}.drums-art [data-drum-art].is-hit .drum-hit-halo{opacity:.7}.drums-footnote{min-height:16px;margin-top:3px;text-align:center;color:#536579;font-size:12px;line-height:1.25}.drums-retry{display:block;margin:5px auto;min-height:44px;padding:8px 15px;border:2px solid #8faed6;border-radius:13px;background:#fff;color:#244b80;font-weight:700}
.drums-modal{position:fixed;inset:0;z-index:96;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));background:#24344b70}.drums-modal-card{display:flex;flex-direction:column;width:min(780px,100%);max-height:100%;padding:16px;border:1px solid #cad9ec;border-radius:26px;background:#f6f8fc;box-shadow:0 18px 60px #24344b30;overflow:hidden}.drums-modal-heading{display:flex;align-items:center;gap:14px;flex:none;margin-bottom:12px}.drums-modal-heading h3{font-size:23px;line-height:1.2}.drums-modal-heading p{margin-top:5px;color:#536579;font-size:13px}.drums-rhythm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;overscroll-behavior:contain;padding:4px 4px 8px;scrollbar-gutter:stable}.drums-rhythm-choice{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:150px;padding:12px 8px;border:1px solid #cbdced;border-bottom:4px solid #bfd0e5;border-radius:19px;background:#fff;touch-action:manipulation;box-shadow:0 3px 7px #24344b08}.drums-rhythm-choice[aria-current=true]{border-color:#3566a8;background:#eaf1fb;box-shadow:inset 0 0 0 1px #3566a8}.drums-rhythm-choice>strong{font-size:16px;line-height:1.25;text-align:center;color:#24344b}.drums-rhythm-choice>span:last-child{font-size:12px;color:#536579}.drums-rhythm-cover{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;height:70px;gap:3px;pointer-events:none}.drums-rhythm-cover>span{display:block;width:100%;height:100%}.drums-rhythm-cover svg{display:block;width:100%;height:100%}.drums-success-card{align-items:center;width:min(420px,100%);padding:22px}.drums-success-art{width:125px;height:95px}.drums-success-art svg{display:block;width:100%;height:100%}.drums-success-card h3{text-align:center;font-size:27px;line-height:1.2;margin-top:8px}.drums-success-card>p{margin:8px 0 21px;color:#536579;text-align:center}.drums-success-actions{display:flex;gap:13px;align-items:center;justify-content:center}.drums-game button:focus-visible{outline:3px solid #164c90;outline-offset:4px}
@media(max-width:600px){.drums-game .drums-toolbar{margin-bottom:6px}.drums-mode-row{gap:10px;margin-bottom:8px}.drums-modes button{min-height:44px;padding:6px 17px;font-size:15px}.drums-summary{padding:8px 10px;min-height:78px;border-radius:18px;gap:8px}.drums-free-summary{gap:10px}.drums-free-summary strong{font-size:17px}.drums-free-summary p{font-size:12px}.drums-guide-title{gap:4px}.drums-guide-title strong{font-size:14px}.drums-guide-title>span{font-size:10px}.drums-sequence{gap:7px}.drums-sequence>span{width:46px;height:42px}.drums-sequence>span:not(:last-child)::after{font-size:18px;left:calc(100% + 1px)}.drums-guide-restart{width:46px!important;min-width:46px!important;height:48px!important;min-height:48px!important;padding:7px!important;border-radius:14px!important}.drums-guide-restart svg{width:28px;height:28px}.drums-instruction{font-size:14px;min-height:20px;margin:9px 0 5px}.drums-footnote{font-size:11px}.drums-modal{padding:8px}.drums-modal-card{padding:11px;border-radius:21px}.drums-modal-heading{gap:9px;margin-bottom:8px}.drums-modal-heading h3{font-size:19px}.drums-modal-heading p{font-size:11px}.drums-rhythm-grid{gap:8px}.drums-rhythm-choice{min-height:124px;padding:9px 6px;gap:5px}.drums-rhythm-cover{height:55px;gap:0}.drums-rhythm-choice>strong{font-size:13px}.drums-rhythm-choice>span:last-child{font-size:10px}.drums-success-card h3{font-size:24px}}
@media(max-height:700px) and (orientation:portrait){.drums-game .drums-toolbar{margin-bottom:4px}.drums-mode-row{margin-bottom:5px}.drums-mode-row>.drums-icon{height:48px;min-height:48px;width:48px;min-width:48px}.drums-modes button{min-height:40px;padding-block:5px}.drums-summary{min-height:57px;padding:5px 8px}.drums-free-summary>span{width:39px;height:39px;font-size:31px;border-radius:12px}.drums-free-summary strong{font-size:15px}.drums-free-summary p{font-size:11px;margin-top:2px}.drums-sequence>span{width:40px;height:33px}.drums-guide-title{margin-bottom:2px}.drums-guide-title strong{font-size:12px}.drums-guide-restart{height:44px!important;min-height:44px!important;width:44px!important;min-width:44px!important}.drums-guide-title>span{font-size:9px}.drums-instruction{font-size:12px;min-height:17px;margin:5px 0 3px}.drums-footnote{min-height:13px;margin-top:2px;font-size:10px}.drums-modal-heading .drums-icon{height:48px;min-height:48px;width:48px;min-width:48px}.drums-rhythm-choice{min-height:113px}.drums-rhythm-cover{height:49px}}
@media(max-height:500px) and (orientation:landscape){.drums-game{display:grid;grid-template-columns:225px minmax(0,1fr);gap:4px 14px;max-width:1050px}.drums-game>.drums-toolbar{grid-column:1/-1;margin:0}.drums-game>.drums-mode-row{grid-column:1;grid-row:2;margin:0;gap:6px;align-self:center}.drums-modes button{font-size:13px;min-height:44px;padding:5px 9px;gap:4px}.drums-modes button>span{font-size:20px}.drums-mode-row>.drums-icon{height:48px;min-height:48px;width:44px;min-width:44px}.drums-game>.drums-summary{grid-column:1;grid-row:3;min-height:0;padding:7px;align-self:start;gap:5px}.drums-free-summary{justify-content:flex-start;gap:8px}.drums-free-summary>span{width:38px;height:38px;font-size:28px}.drums-free-summary strong{font-size:15px}.drums-free-summary p{font-size:10px}.drums-guide-title strong{font-size:12px}.drums-guide-title>span{font-size:9px}.drums-sequence{gap:4px}.drums-sequence>span{width:29px;height:31px}.drums-sequence>span:not(:last-child)::after{font-size:13px;left:100%}.drums-guide-restart{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:7px!important}.drums-guide-restart svg{width:25px;height:25px}.drums-game>.drums-instruction{grid-column:1;grid-row:4;align-self:start;font-size:12px;min-height:0;margin:0}.drums-stage{grid-column:2;grid-row:2/6;align-self:start}.drums-game>.drums-footnote{grid-column:1;grid-row:5;margin:0;font-size:10px;min-height:0}.drums-modal-card{padding:9px}.drums-modal-heading{margin-bottom:6px}.drums-modal-heading h3{font-size:19px}.drums-modal-heading p{font-size:11px}.drums-modal-heading .drums-icon{width:48px;min-width:48px;height:48px;min-height:48px}.drums-rhythm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.drums-rhythm-choice{min-height:112px;padding:7px 5px;gap:4px}.drums-rhythm-cover{height:46px}.drums-rhythm-choice>strong{font-size:12px}.drums-success-card{padding:12px 20px}.drums-success-art{width:85px;height:64px}.drums-success-card h3{font-size:23px;margin-top:3px}.drums-success-card>p{font-size:12px;margin:5px 0 12px}}
.game-motion-off .drums-game .drum-guide-halo,.game-motion-off .drums-game .drum-hit-halo{transition:none}.high-contrast .drums-summary,.high-contrast .drums-rhythm-choice{border-color:#536d91}.high-contrast .drums-game .drums-pad.is-guide{box-shadow:inset 0 0 0 4px #173f73}.high-contrast .drums-sequence .is-next{border-color:#173f73;border-width:3px}
@media(prefers-reduced-motion:reduce){.drums-art .drum-guide-halo,.drums-art .drum-hit-halo{transition:none!important}}
@media(forced-colors:active){.drums-game .drums-pad.is-guide{outline:4px solid Highlight;outline-offset:-6px;box-shadow:none}.drums-game .drums-pad.is-hit{outline:3px dashed Highlight;outline-offset:-10px}.drums-summary,.drums-rhythm-choice{border:2px solid ButtonText;background:Canvas;color:CanvasText;box-shadow:none}.drums-sequence .is-next{outline:2px solid Highlight}.drums-pad:focus-visible{outline:4px solid Highlight}}

/* The optional clock is independent of the child-paced picture sequence. */
.drums-metronome{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 9px;padding:5px 10px;border:1px solid #d4e0ef;border-radius:19px;background:#fff}
.drums-game .drums-metronome-toggle{width:48px;min-width:48px;height:48px;min-height:48px;padding:8px!important;border-radius:15px}
.drums-metronome-toggle svg{display:block;width:30px;height:30px}
.drums-metronome.is-on .drums-metronome-toggle{background:#3566a8;color:#fff;border-color:#254f87;box-shadow:inset 0 1px 0 #ffffff50,0 3px 0 #254f87}
.drums-metronome-copy{display:flex;flex-direction:column;gap:2px;min-width:0;color:#24344b}
.drums-metronome-copy strong{font-size:14px}.drums-metronome-copy small{font-size:12px;color:#536579}
.drums-metronome-beats{display:flex;gap:6px;align-items:center;margin-left:4px}
.drums-metronome-beats i{display:grid;place-items:center;width:24px;height:24px;border:1px solid #b7cbe3;border-radius:50%;font-size:11px;font-style:normal;font-weight:700;background:#f0f4fa;color:#536579}
.drums-metronome-beats .is-current{background:#c1d7f0;border-color:#3566a8;color:#243f63}
.drums-guide-progress{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.drums-guide-progress small{font-size:.85em;line-height:1.1}
@media(max-width:600px){.drums-metronome{gap:9px;padding:3px 8px;margin-bottom:7px}.drums-metronome-copy strong{font-size:13px}.drums-metronome-copy small{font-size:11px}.drums-metronome-beats{gap:5px}.drums-metronome-beats i{width:22px;height:22px;font-size:10px}}
@media(max-height:700px) and (orientation:portrait){.drums-metronome{gap:8px;padding:2px 8px;margin-bottom:5px;border-radius:15px}.drums-game .drums-metronome-toggle{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:13px}.drums-metronome-toggle svg{width:27px;height:27px}.drums-metronome-copy strong{font-size:12px}.drums-metronome-copy small{font-size:10px}.drums-metronome-beats i{width:20px;height:20px;font-size:9px}}
@media(max-height:500px) and (orientation:landscape){.drums-game>.drums-metronome{grid-column:1;grid-row:3;margin:0;padding:2px 4px;gap:6px;justify-content:flex-start;align-self:start}.drums-game>.drums-summary{grid-row:4}.drums-game>.drums-instruction{grid-row:5}.drums-game>.drums-footnote{grid-row:6}.drums-game>.drums-stage{grid-row:2/7}.drums-game .drums-metronome-toggle{width:44px;min-width:44px;height:44px;min-height:44px;padding:7px!important;border-radius:12px}.drums-metronome-toggle svg{width:26px;height:26px}.drums-metronome-copy strong{font-size:11px}.drums-metronome-copy small{font-size:10px}.drums-metronome-beats{gap:3px;margin-left:auto}.drums-metronome-beats i{width:17px;height:17px;font-size:8px}.drums-guide-progress small{font-size:8px}}
@media(forced-colors:active){.drums-metronome{border:2px solid ButtonText;background:Canvas;color:CanvasText}.drums-metronome.is-on .drums-metronome-toggle{background:Highlight;color:HighlightText}.drums-metronome-beats .is-current{background:Highlight;color:HighlightText}}
