/* Murbryder: natblåt arkadebord. Skrift, filt og bjælke kommer fra Solitaire.css og kabale-kort.css */
:root {
  --bord: #26324A;
  --bjaelke: #161C29;
  --knap: #34405A;
  --roed: #C63F28;
  --guld: #F0C463;
}
html.kabale-mork { --bord: #171D2B; --bjaelke: #0D1118; --knap: #273046; }
body { background: var(--filt), var(--bord); color: var(--creme); font-variant-numeric: tabular-nums; }
svg { background: none; width: auto; height: auto; }
button, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

#kk-bar { align-items: center; }
#kk-bar select {
  font: 600 15px/1.2 Poppins, system-ui, sans-serif; min-height: 44px; padding: 0 34px 0 14px; border: 1px solid rgba(252,247,238,.22); border-radius: 8px;
  background: var(--knap) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FCF7EE' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--creme); cursor: pointer; -webkit-appearance: none; appearance: none;
}
#kk-bar select option { background: #FCF7EE; color: #1E2421; }
#kk-bar button:focus-visible, #kk-bar select:focus-visible, #info button:focus-visible, #kk-besked button:focus-visible { outline: 3px solid var(--creme); outline-offset: 2px; }
#kk-bar button[aria-pressed="true"] { background: var(--creme); color: var(--bjaelke); }
@media (max-width: 420px) {
  #kk-bar { gap: 6px; padding: 6px; flex-wrap: nowrap; }
  #kk-bar button, #kk-bar select { flex: 1 1 auto; min-width: 0; font-size: 14px; padding-left: 8px; padding-right: 8px; }
  #kk-bar select { padding-right: 24px; background-position: right 8px center; }
}

#spil { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; box-sizing: border-box; }
#info { flex: none; width: 100%; max-width: max(var(--bredde, 100%), 340px); margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1.3 Poppins, system-ui, sans-serif; }
#point { white-space: nowrap; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
#liv { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
#liv svg { width: 16px; height: 16px; fill: #E5534B; }
#info button {
  position: relative; flex: none; font: 600 14px/1.2 Poppins, system-ui, sans-serif; min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 8px; cursor: pointer;
  color: var(--creme); background: transparent; border: 1px solid rgba(252,247,238,.35); white-space: nowrap;
}
#info button:disabled { opacity: .45; cursor: default; }
#banen { max-width: 46%; overflow: hidden; text-overflow: ellipsis; }

#ramme { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: none; }
#ramme.fri { cursor: default; }
#laerred { display: block; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.35); background: #0E1320; }
#laerred:focus { outline: none; }
#laerred:focus-visible { outline: 2px solid rgba(252,247,238,.55); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#kk-besked { width: max-content; max-width: min(calc(100vw - 32px), 460px); box-sizing: border-box; }
#kk-besked p { margin: 0 0 6px; font-size: 15px; text-align: left; }
#kk-besked .knapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
#kk-besked .knapper button { margin: 0; }
#kk-besked button.primaer { background: var(--roed); color: var(--creme); }
.sk-ugedag { background: var(--bjaelke); }
/* Baneoversigten: låste baner viser en lås */
.sk-baner-gitter button.laast b { opacity: .6; }
