/* hjärter.se - "Spelkväll vid köksbordet" (Brygada 1918 + svenska Familjen Grotesk): linnepapper, granskogsgrönt bord, hjärterrött och bläcksvart. Se DESIGN.md. */
@font-face { font-family: "Brygada 1918"; src: url("/fonts/brygada-1918-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("/fonts/familjen-grotesk-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --papper: #f4ede0;
  --papper-2: #ebe2d0;
  --kraem: #fbf6ec;
  --blaeck: #16161a;
  --text: #24221f;
  --daempad: #5c574e;
  --roed: #b3202a;
  --roed-moerk: #8c1720;
  --gran: #1b4436;
  --gran-djup: #0f2b22;
  --linje: #d6cbb5;
  --halm: #e9c46a;
  --serif: "Brygada 1918", "Iowan Old Style", Georgia, serif;
  --sans: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radie: 14px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--papper); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); }
::selection { background: var(--roed); color: #fff; }
a { color: var(--roed-moerk); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--roed); outline-offset: 2px; }
img, svg { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blaeck); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 10px; }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

/* ---------- Sidhuvud och sidfot ---------- */
.topp { border-bottom: 1px solid var(--linje); background: var(--papper); }
.topp-inre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.maerke { display: inline-flex; align-items: center; gap: 9px; color: var(--blaeck); text-decoration: none; font: 400 1.6rem/1 var(--serif); letter-spacing: -.01em; }
.maerke svg { width: 34px; height: 34px; flex: none; }
.maerke b { font-weight: 400; color: var(--roed); }
.meny { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.meny a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.meny a:hover { background: var(--papper-2); }
.meny a[aria-current="page"] { color: var(--roed-moerk); box-shadow: inset 0 -2px 0 var(--roed); border-radius: 0; }
@media (max-width: 520px) { .maerke { font-size: 1.35rem; } .maerke svg { width: 30px; height: 30px; } .meny a { padding: 0 7px; font-size: .9rem; } .topp-inre { gap: 6px; } }
@media (max-width: 430px) { .maerke span { display: none; } .meny a { padding: 0 8px; } }
@media (max-width: 340px) { .meny a { padding: 0 5px; font-size: .86rem; } }

.botten { margin-top: 64px; background: var(--blaeck); color: #ddd5c6; padding: 40px 0 48px; font-size: .95rem; }
.botten a { color: #f3ead9; }
.botten-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.botten .maerke { color: #f3ead9; }
.botten h2 { font: 600 .82rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #bdb3a1; margin: 4px 0 10px; }
.botten ul { list-style: none; margin: 0; padding: 0; }
.botten li { margin: 0 0 4px; }
.botten li a { display: inline-block; padding: 6px 0; }
.botten p { max-width: 42ch; color: #c9c0b0; }
@media (max-width: 760px) { .botten-grid { grid-template-columns: 1fr; } }

/* ---------- Text ---------- */
main { display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--blaeck); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem); margin: 26px 0 14px; }
.side-spel h1 { margin: 16px 0 10px; font-size: clamp(1.45rem, 1.1rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem); margin: 2.2em 0 .45em; }
h3 { font-size: 1.4rem; margin: 1.6em 0 .35em; }
.text { max-width: 68ch; }
.text p, .text li { color: var(--text); }
.text ul, .text ol { padding-left: 1.3em; }
.text li { margin: .3em 0; }
.ingress { font-size: 1.18rem; color: var(--daempad); max-width: 60ch; }
.text strong { color: var(--blaeck); }
.knapp-laenk { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--roed); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 2px 6px rgba(80, 12, 18, .25); }
.knapp-laenk:hover { background: var(--roed-moerk); }
.knapp-laenk svg { width: 18px; height: 18px; color: #fff; }
.tabell-ram { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border: 1px solid var(--linje); border-radius: 10px; background: var(--kraem); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--linje); white-space: nowrap; }
th { font-weight: 700; font-size: .9rem; background: var(--papper-2); }
tr:last-child td { border-bottom: 0; }
td.tal, th.tal { text-align: right; }
.diagram { margin: 18px 0; padding: 16px; background: var(--gran); border-radius: var(--radie); color: #eef3ee; max-width: 520px; }
.diagram figcaption { font-size: .92rem; color: #cfe0d6; margin-top: 10px; }
.diagram-stick { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.diagram-stick figure { margin: 0; text-align: center; font-size: .8rem; color: #cfe0d6; }
.diagram-stick .vann .kort { box-shadow: 0 0 0 3px var(--halm), 0 4px 10px rgba(0,0,0,.35); }
.notis { background: var(--kraem); border: 1px solid var(--linje); border-radius: var(--radie); padding: 14px 18px; margin: 18px 0; max-width: 68ch; }
.notis p { margin: .3em 0; }

/* ---------- Spelet ---------- */
.spel-sektion { margin-bottom: 8px; }
#spel { min-height: 560px; }
.spel-ram { position: relative; }
.spel-live { position: relative; background: var(--gran); background-image: radial-gradient(120% 90% at 50% 30%, #23574a 0%, var(--gran) 55%, var(--gran-djup) 100%); border-radius: 18px; padding: 8px; color: #f3efe6; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 10px 28px -12px rgba(15, 43, 34, .55); }
.spel-live:focus { outline: none; }
.spel-info { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 6px; background: rgba(12, 34, 27, .94); border: 1px solid rgba(243, 234, 217, .18); border-radius: 12px; padding: 5px 6px; margin-bottom: 6px; }
.chip { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 1px 8px; line-height: 1.15; border-right: 1px solid rgba(243,234,217,.14); }
.chip span { font-size: .68rem; color: #b8cdbf; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; }
.chip strong { font-size: .9rem; white-space: nowrap; font-weight: 600; }
.chip .sym { width: 13px; height: 13px; color: #f08a8f; }
.chip.hj.brutet strong { color: #ffb3b6; }
.nytt-knapp { margin-left: auto; flex: none; appearance: none; border: 1px solid rgba(243,234,217,.5); background: rgba(243,234,217,.08); color: #fbf6ec; border-radius: 9px; min-height: 40px; padding: 0 12px; font: 600 .88rem var(--sans); cursor: pointer; white-space: nowrap; }
.nytt-knapp:hover { background: rgba(243,234,217,.18); }

.lager { position: absolute; inset: 0; z-index: 30; display: flex; justify-content: center; align-items: flex-start; padding: 56px 10px 10px; background: rgba(8, 26, 20, .82); border-radius: 18px; overflow-y: auto; overscroll-behavior: contain; }
.lager[hidden] { display: none; }
.lager-panel { width: 100%; max-width: 560px; background: var(--kraem); color: var(--text); border-radius: 14px; padding: 16px 18px 18px; box-shadow: 0 18px 40px -10px rgba(0,0,0,.55); }
.lager-panel h2 { margin: 0 0 4px; font-size: 1.7rem; }
.lager-text { margin: 0 0 6px; color: var(--daempad); font-size: .95rem; }
/* I lagret: kompakt, så att panelen ryms i bordet (hjälptexterna står i Inställningar under bordet) */
.lager .val small { display: none; }
.lager .installningar { gap: 8px 12px; padding-top: 6px; }
.lager .knappar { margin-top: 12px; }
@media (max-width: 420px) {
  /* Smal skärm: infobaren följer inte med vid rullning, så den aldrig täcker korten */
  .spel-info { position: static; }
  .lager { padding: 8px; }
  .lager-panel { padding: 12px 14px 14px; }
  .lager-panel h2 { font-size: 1.4rem; }
}

.yta { display: block; }
.bord { display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; grid-template-areas: "nord nord nord" "vast mitten ost" "syd syd syd"; gap: 4px; align-items: center; }
.plats { position: relative; text-align: center; padding: 4px 4px 5px; border-radius: 12px; border: 2px solid transparent; min-width: 0; transition: border-color .2s, background-color .2s; }
.plats.nord { grid-area: nord; justify-self: center; display: flex; align-items: center; gap: 8px; padding: 3px 12px; }
.plats.vast { grid-area: vast; } .plats.ost { grid-area: ost; }
.plats.syd { grid-area: syd; justify-self: center; display: flex; align-items: center; gap: 10px; padding: 2px 12px; }
.plats.tur { border-color: var(--halm); background: rgba(233, 196, 106, .12); }
.pnamn { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.plats.nord .pnamn, .plats.syd .pnamn { flex-direction: row; gap: 8px; align-items: baseline; }
.pnamn strong { font-size: .98rem; font-weight: 700; }
.ptot { font-size: .8rem; color: #d7e4da; font-variant-numeric: tabular-nums; }
.pinfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; font-size: .74rem; color: #b8cdbf; line-height: 1.3; font-variant-numeric: tabular-nums; }
.pinfo .ipoang { color: #ffc2c4; font-weight: 600; }
.rygg { display: flex; justify-content: center; margin: 0 auto 3px; height: 26px; }
.plats.nord .rygg { margin: 0; }
.rygg i { width: 18px; height: 26px; border-radius: 3px; background: var(--roed); border: 1.5px solid var(--kraem); margin-left: -9px; box-shadow: 0 1px 2px rgba(0,0,0,.3); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 2px, transparent 2px 5px); }
.rygg i:first-child { margin-left: 0; }

.mitten { grid-area: mitten; position: relative; height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; overflow: hidden; --sk: 54px; }
.stik { position: relative; width: calc(var(--sk) * 2.9 + 12px); height: calc(var(--sk) * 1.4 * 2 + 4px); max-width: 100%; }
.stikkort { position: absolute; --kb: var(--sk); }
.stikkort.syd { left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2; }
.stikkort.nord { left: 50%; top: 0; transform: translateX(-50%); }
.stikkort.vast { left: 0; top: 50%; transform: translateY(-50%); z-index: 1; }
.stikkort.ost { right: 0; top: 50%; transform: translateY(-50%); z-index: 1; }
.stikkort.vann .kort { box-shadow: 0 0 0 3px var(--halm), 0 6px 14px rgba(0,0,0,.4); }
.stikkort.ut::before { content: "ut"; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 3; background: var(--kraem); color: var(--blaeck); font-size: .62rem; font-weight: 700; border-radius: 6px; padding: 0 5px; line-height: 1.45; }
.stik-tom { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #d7e4da; font-size: .9rem; }
.mitt-text { margin: 0; font-size: .9rem; font-weight: 600; color: var(--halm); text-align: center; line-height: 1.3; }
.mitt-text small { display: block; font-weight: 400; color: #d7e4da; }
.skick-skylt { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.skick-skylt p { margin: 0; color: #e8efe9; line-height: 1.3; font-size: .95rem; }
.skick-skylt strong { font: 400 1.6rem/1.1 var(--serif); color: #fbf6ec; display: block; }
.skick-skylt small { color: #b8cdbf; }
.pil { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(243,234,217,.4); color: var(--halm); }
.pil svg { width: 26px; height: 26px; }
.pil.vanster svg { transform: rotate(180deg); }
.pil.mittemot svg { transform: rotate(-90deg); }

/* Kort */
.kort { --kb: 60px; position: relative; display: inline-block; flex: none; width: var(--kb); aspect-ratio: 5 / 7; background: var(--kraem); color: var(--blaeck); border: 1px solid #c9bea8; border-radius: calc(var(--kb) * .1); padding: 0; margin: 0; font: inherit; line-height: 1; box-shadow: 0 1px 2px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.14); user-select: none; -webkit-user-select: none; vertical-align: top; text-align: left; -webkit-tap-highlight-color: transparent; }
.rad .kort, .stikkort .kort { --kb: inherit; }
.kort.roed { color: var(--roed); }
.kort .ix { position: absolute; left: 6%; top: 4%; display: flex; flex-direction: column; align-items: center; width: 32%; }
.kort .ix b { font: 700 calc(var(--kb) * .3)/1 var(--sans); letter-spacing: -.04em; }
.kort.bred .ix b { font-size: calc(var(--kb) * .25); letter-spacing: -.06em; }
.kort .ix .sym { width: calc(var(--kb) * .2); height: calc(var(--kb) * .2); margin-top: 2px; }
.kort .ix.ned { left: auto; top: auto; right: 6%; bottom: 4%; transform: rotate(180deg); }
.kort .mitt { position: absolute; inset: 0; display: grid; place-items: center; }
.kort .mitt .sym { width: calc(var(--kb) * .4); height: calc(var(--kb) * .4); }
.kort.bild .mitt { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.kort.bild .mitt i { font: 500 calc(var(--kb) * .44)/.9 var(--serif); font-style: normal; letter-spacing: -.02em; }
.kort.bild.bred .mitt i { font-size: calc(var(--kb) * .34); }
.kort.bild .mitt .sym { width: calc(var(--kb) * .2); height: calc(var(--kb) * .2); }
.kort.bild { background: linear-gradient(160deg, var(--kraem) 0%, #f3e9d6 100%); }
.kort.liten { --kb: 46px; }
.rad.overlapp .kort:not(:last-child) .ix.ned { display: none; }

.hand { padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 100px; }
.rad { display: flex; justify-content: center; max-width: 100%; }
.rad.tva .kort { --kb: inherit; }
.hand .kort { cursor: pointer; transition: transform .14s cubic-bezier(.2,.7,.2,1), box-shadow .14s; }
.hand .kort.olovlig { filter: saturate(.4) brightness(.72); cursor: not-allowed; }
.hand .kort.lovlig:hover, .hand .kort.valbar:hover { transform: translateY(-6px); }
.hand .kort.vald { transform: translateY(-12px); box-shadow: 0 0 0 3px var(--halm), 0 8px 16px rgba(0,0,0,.35); }
.hand .kort.ny::after { content: "ny"; position: absolute; top: -7px; right: 4px; background: var(--halm); color: #2a1f05; font-size: .6rem; font-weight: 700; border-radius: 5px; padding: 0 4px; line-height: 1.5; }
.hand .kort:focus-visible { outline: 3px solid var(--halm); outline-offset: 2px; z-index: 3; }
.tom-hand { color: #b8cdbf; margin: 30px 0; }

.sida { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px 2px; }
.meddelande { margin: 0; font-size: .92rem; color: #d7e4da; text-align: center; }
.handling { background: rgba(12, 34, 27, .55); border-radius: 12px; padding: 10px 12px; min-height: 64px; }
.handling.din { background: rgba(251, 246, 236, .96); color: var(--text); }
.fraaga { margin: 0 0 6px; line-height: 1.45; font-size: .97rem; }
.fraaga:last-child { margin-bottom: 0; }
.vaent { margin: 0; color: #d7e4da; font-size: .95rem; }
.foerklaring { margin: 6px 0 0; color: var(--roed-moerk); font-weight: 600; font-size: .93rem; }
.knappar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.knapp { appearance: none; min-height: 46px; padding: 0 16px; border-radius: 10px; border: 1px solid #b6a98f; background: #fff; color: var(--blaeck); font: 600 .95rem var(--sans); cursor: pointer; }
.knapp:hover:not([disabled]) { background: var(--papper-2); }
.knapp.primaer { background: var(--roed); border-color: var(--roed); color: #fff; }
.knapp.primaer:hover:not([disabled]) { background: var(--roed-moerk); }
.knapp[disabled] { opacity: .5; cursor: not-allowed; }
.knapp.ljus { background: rgba(243,234,217,.08); color: #f3efe6; border-color: rgba(243,234,217,.35); min-height: 44px; font-size: .88rem; }
.knapp.ljus:hover:not([disabled]) { background: rgba(243,234,217,.18); }
.verktyg { display: flex; gap: 6px; flex-wrap: wrap; }
.senaste, .foerlopp { background: rgba(12, 34, 27, .6); border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.senaste p { margin: 0 0 8px; }
.ss-kort { display: flex; gap: 8px; flex-wrap: wrap; }
.ss-kort figure { margin: 0; text-align: center; font-size: .75rem; color: #d7e4da; }
.ss-kort .vann .kort { box-shadow: 0 0 0 3px var(--halm); }
.foerlopp ol { margin: 0; padding-left: 1.3em; max-height: 220px; overflow-y: auto; }
.foerlopp li { margin: 2px 0; }

.resultat h3 { margin: 0 0 4px; font-size: 1.6rem; color: var(--blaeck); }
.resultat p { margin: 4px 0; }
.handling:not(.din) .resultat { color: #f3efe6; }
.handling:not(.din) .resultat h3 { color: #fbf6ec; }
.givpoaeng { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.givpoaeng b.minus { color: var(--roed-moerk); }
.givpoaeng b.plus { color: #1d6b3f; }
.handling:not(.din) .givpoaeng b.minus { color: #ffb3b6; }
.handling:not(.din) .givpoaeng b.plus { color: #a5e3bd; }
.staellning-rad { font-size: .92rem; }
.vinnare { font: 400 1.35rem/1.2 var(--serif); }

.under-spel { display: grid; gap: 8px; margin-top: 10px; }
.ruta { background: var(--kraem); border: 1px solid var(--linje); border-radius: 12px; }
.ruta summary { cursor: pointer; padding: 0 14px; min-height: 48px; display: flex; align-items: center; font-weight: 700; }
.ruta[open] summary { border-bottom: 1px solid var(--linje); }
.ruta > div { padding: 4px 14px 14px; }
.liten-text { font-size: .88rem; color: var(--daempad); margin: 6px 0 0; }
.poaengtabell td small { color: var(--daempad); }
.poaengtabell tr.sum td { font-weight: 700; background: var(--papper-2); }
.installningar { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding-top: 10px; }
.val { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .94rem; }
.val select { min-height: 44px; border: 1px solid #b6a98f; border-radius: 9px; background: #fff; font: 500 .95rem var(--sans); padding: 0 10px; color: var(--blaeck); }
.val small { font-weight: 400; color: var(--daempad); font-size: .84rem; line-height: 1.4; }
.val.kryss { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; align-items: start; }
.val.kryss input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--roed); }
.val.kryss small { grid-column: 2; }

/* Bred skärm: bordet till vänster, handling till höger */
@media (min-width: 980px) {
  .yta { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "bord sida" "hand sida"; gap: 10px 14px; }
  .bord { grid-area: bord; grid-template-columns: 110px minmax(0, 1fr) 110px; }
  .hand { grid-area: hand; }
  .sida { grid-area: sida; padding-top: 0; }
  .mitten { height: 330px; --sk: 74px; }
}
@media (min-width: 640px) and (max-width: 979px) { .mitten { height: 290px; --sk: 66px; } .bord { grid-template-columns: 96px minmax(0, 1fr) 96px; } }
/* Mobil på tvären */
@media (max-height: 520px) and (orientation: landscape) {
  /* Liggande mobil: handen och handlingen till höger, högst upp, så att de syns utan att rulla; bordet till vänster */
  .spel-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "info hand" "bord hand" "bord sida"; grid-template-rows: auto auto 1fr; gap: 4px 10px; align-items: start; }
  .yta { display: contents; }
  .spel-info { grid-area: info; position: static; padding: 3px 6px; margin: 0; }
  .bord { grid-area: bord; } .hand { grid-area: hand; min-height: 0; padding: 2px 0; } .sida { grid-area: sida; gap: 6px; padding: 0; }
  .chip span { display: none; } .chip strong { font-size: .84rem; } .chip { padding: 1px 6px; }
  .mitten { height: 150px; --sk: 40px; }
  .rygg { display: none; }
  .nytt-knapp { min-height: 40px; }
  .plats.nord, .plats.syd { padding-block: 0; }
  .handling { padding: 7px 10px; min-height: 0; }
  .fraaga { font-size: .9rem; line-height: 1.35; }
  .knapp { min-height: 44px; }
  .knapp.ljus { min-height: 40px; }
  .meddelande { display: none; }
  #spel { min-height: 0; }
  .topp-inre { min-height: 46px; }
  .side-spel h1 { font-size: 1.3rem; margin: 4px 0 6px; }
}
}
@media (max-width: 380px) { .bord { grid-template-columns: 64px minmax(0, 1fr) 64px; } .mitten { --sk: 48px; height: 212px; } .chip { padding: 1px 5px; } .chip strong { font-size: .84rem; } .nytt-knapp { padding: 0 9px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .hand .kort.lovlig:hover, .hand .kort.valbar:hover { transform: none; }
}
