.gp-dialog{box-sizing:border-box;width:min(940px,96vw);max-height:94dvh;overflow:auto;border:1px solid #b9c8ce;border-radius:20px;padding:24px;color:#283e48;background:#fbfdfc;font:inherit}.gp-dialog::backdrop{background:#1b303bcc}.gp-dialog header,.gp-gamebar,.gp-settings{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;align-items:center}.gp-dialog h2{margin:0;font-weight:600}.gp-dialog button,.gp-dialog select{font:inherit;color:inherit;background:white;border:1px solid #9baeb8;border-radius:10px;padding:11px;cursor:pointer}.gp-dialog button:focus-visible,.gp-pick input:focus-visible{outline:3px solid #206c9e;outline-offset:3px}.gp-dialog button:disabled{cursor:default}.gp-dialog .gp-primary{background:#d9eee7;font-weight:600}.gp-settings label{display:grid;gap:6px}.gp-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-block:14px}.gp-pick label{padding:10px;border:1px solid #c9d7dc;border-radius:12px;display:grid;gap:7px;justify-items:center;cursor:pointer}.gp-pick label:has(input:checked){background:#e6f1eb;border-color:#4e816b}.gp-pick img{height:65px;max-width:90px;object-fit:contain}.gp-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.gp-board button{min-height:120px;display:grid;place-items:center;overflow-wrap:anywhere}.gp-board img{width:100%;height:110px;object-fit:contain}.gp-word{font-size:clamp(18px,2.6vw,29px);font-weight:600;overflow-wrap:anywhere}.gp-back{font-size:42px}.gp-board .gp-matched{background:#dcf0e4;border:2px solid #44775c;opacity:1}.gp-find{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.gp-status{min-height:1.5em}.gp-dialog [hidden]{display:none!important}.ds-audio-item{display:grid;gap:3px}.ds-audio-item>.ds-hear{font:inherit;border:1px solid #b9cbd5;border-radius:8px;background:#edf6fa;padding:5px;min-height:32px;color:#263f4b}.ds-math-rows{display:grid;gap:12px}.ds-math-rows label{display:grid;gap:4px}.ds-math-rows textarea{width:100%;box-sizing:border-box;min-height:80px}.ds-math-rows input[type=number]{width:70px}.ds-math-rows fieldset{border:1px solid #c4d2d8;border-radius:10px;margin:0;padding:10px}.ds-math-rows .dm-numbers{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:520px){.gp-dialog{padding:16px}.gp-board{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.gp-board button{min-height:90px;padding:5px}.gp-board img{height:85px}.gp-find{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-dialog header{align-items:flex-start}.gp-dialog header button{width:100%}}

.ds-math-paging{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:8px}.ds-math-paging button{min-width:40px}.ds-math-paging span{font-size:14px}@media print{.ds-math-paging{display:none}}
#dagur-studio .ds-ex-large .ds-paper .ds-math-paging button{pointer-events:auto}
