/* SkillGameNorge – stilark (serveres som /styles.css) */
:root {
  --ink: #231f20;
  --ink-2: #1b1819;
  --panel: #2d2829;
  --line: #4a4244;
  --cream: #fff8ec;
  --yellow: #ffc93c;
  --gold: #f7b500;
  --orange: #f7941d;
  --coral: #ec5a5f;
  --red: #ec4d5b;
  --pink: #ff5fae;
  --green: #3fa652;
  --blue: #2e9cf0;
  --purple: #8a63d2;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw: 110px;
  --fh: 128px;
  --meander: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M0 1.5H24M0 22.5H24M3 22.5V5H20V18H8V9H16V14H12' fill='none' stroke='black' stroke-width='2.6'/></svg>");
  --zig: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'><path d='M0 10 L4 5 L8 10 L12 5 L16 10' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/><circle cx='8' cy='2' r='1.2' fill='black'/><circle cx='0' cy='2' r='1.2' fill='black'/><circle cx='16' cy='2' r='1.2' fill='black'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--yellow); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 12px; }

/* ---------- Ramme med flammekolonner ---------- */
.frame {
  display: grid;
  grid-template-columns: var(--fw) minmax(0, 780px) var(--fw);
  justify-content: center;
  column-gap: clamp(16px, 3.2vw, 44px);
  min-height: 100vh;
  padding: 0 12px;
}
.col { min-width: 0; padding-bottom: 28px; }
.flames {
  --flame: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='140' viewBox='0 0 120 140'><path d='M8 140 C-6 104 14 82 30 72 C26 88 34 96 42 94 C34 70 46 38 76 14 C70 40 82 52 94 44 C92 30 100 18 112 8 C120 40 124 70 114 96 C104 124 84 136 70 140 Z' fill='%23f7941d'/><path d='M30 140 C22 116 32 100 46 90 C44 102 50 108 56 106 C54 86 64 66 82 52 C82 70 92 76 100 70 C106 90 104 112 94 126 C88 134 80 140 74 140 Z' fill='%23ffd23f'/><path d='M74 128 C64 121 59 116 61 110 C63 105 70 105 74 110 C78 105 85 105 87 110 C89 116 84 121 74 128 Z' fill='%23231f20'/></svg>");
  background-image: var(--flame), var(--flame);
  background-size: var(--fw) var(--fh), calc(var(--fw) * .78) calc(var(--fh) * .78);
  background-position: 0 0, 0 calc(var(--fh) * .5);
  background-repeat: repeat-y;
  animation: rise 3.2s linear infinite;
}
.flames-r { transform: scaleX(-1); }
@keyframes rise { from { background-position: 0 0, 0 calc(var(--fh) * .5); } to { background-position: 0 calc(var(--fh) * -1), 0 calc(var(--fh) * .5 - var(--fh) * .78); } }

/* ---------- Topplinje ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 4px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--cream); }
.brand-ic { width: 34px; height: 34px; }
.brand-txt { font-weight: 900; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em; }
.brand-txt em { font-style: normal; color: var(--yellow); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--yellow); text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: .8rem; letter-spacing: .06em; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a.on { background: rgba(255, 201, 60, .13); }
.nav-toggle { display: none; background: none; border: 2px solid var(--yellow); border-radius: 8px; width: 44px; height: 40px; padding: 8px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; background: var(--yellow); border-radius: 2px; }

/* ---------- Illustrasjonsklynger ---------- */
.cluster { position: relative; padding: 22px 0 26px; }
.cluster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 4%; position: relative; z-index: 1; }
.cl-item { transform: translateY(var(--y)) rotate(var(--r)); animation: bob 4.5s ease-in-out infinite; animation-delay: var(--d); }
.cl-ic { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.cl-dec { position: absolute; transform: rotate(var(--r)); z-index: 2; pointer-events: none; }
.cl-dec svg { display: block; width: 100%; height: auto; }
.cl-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; z-index: 0; }
.cluster-mini { padding: 14px 0 18px; }
.cluster-mini .cluster-grid { gap: 10px 5%; padding: 0 2%; }
.cluster-side { padding: 0; }
.cluster-side .cluster-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12%; }
@keyframes bob { 50% { transform: translateY(calc(var(--y) - 6px)) rotate(calc(var(--r) * -1)); } }

/* ---------- Mønsterbord ---------- */
.divider {
  height: 20px; margin: 6px 0; background: var(--dc, var(--orange));
  -webkit-mask: var(--meander) repeat-x left center / 20px 20px;
  mask: var(--meander) repeat-x left center / 20px 20px;
}
.divider.double { height: 40px; -webkit-mask-repeat: repeat; mask-repeat: repeat; }
.divider.mini { height: 16px; -webkit-mask-size: 16px 16px; mask-size: 16px 16px; margin: 6px 0 0; }
.dv-orange { --dc: #e8743b; }
.dv-purple { --dc: #7a5bc4; }
.dv-green { --dc: #3e9b4f; }
.dv-pink { --dc: var(--pink); }
.dv-blue { --dc: var(--blue); }
.zig { height: 12px; margin: 14px 0; background: var(--cream); opacity: .9;
  -webkit-mask: var(--zig) repeat-x left center / 16px 12px; mask: var(--zig) repeat-x left center / 16px 12px; }

/* ---------- Hero (bevisst liten tekst) ---------- */
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px 0 10px; flex-wrap: wrap; }
.hero-title { margin: 0; font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 5.4vw, 3rem); line-height: 1; letter-spacing: .005em; color: var(--cream); }
.hero-title span { color: var(--cream); }
.hero-sub { margin: 4px 0 0; color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: clamp(.92rem, 2.3vw, 1.3rem); line-height: 1.35; letter-spacing: .02em; }
.hero-sub small, .try-q small {
  display: inline-block; font-size: .5em; line-height: 1.05; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
  padding: 1px 2px; margin: 0 .3em; vertical-align: .35em;
}

.btn-hot {
  display: inline-flex; align-items: center; gap: 12px; background: var(--yellow); color: var(--ink);
  text-decoration: none; text-transform: uppercase; font-weight: 900; font-size: 1.02rem; line-height: 1.02;
  padding: 12px 18px; border-radius: 10px; box-shadow: 0 5px 0 #c98f00; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-hot:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c98f00; }
.btn-hot:active { transform: translateY(3px); box-shadow: 0 2px 0 #c98f00; }
.btn-hot b { font-size: 1.6em; line-height: 1; }
.btn-hot-ic { width: 44px; height: 44px; }
.btn-hot-ic path:first-child { fill: var(--ink); }
.btn-hot.sm { font-size: .95rem; padding: 11px 18px; }
.btn-hot.sm b { font-size: 1.3em; }

/* ---------- Prøv nå ---------- */
.try { margin: 10px 0 4px; }
.try-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 24px; align-items: center; margin: 14px 0 16px; }
.try-lbl { margin: 0; color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 4vw, 2.2rem); line-height: .98; }
.try-arrow { width: .7em; height: 1.05em; vertical-align: -.25em; margin-left: .15em; color: var(--yellow); }
.try-q { margin: 0; color: var(--green); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 3.2vw, 1.75rem); line-height: 1.02; }
.try-best { min-width: 150px; }
.try-medal { display: flex; align-items: center; gap: 8px; }
.try-medal svg { width: 30px; height: 30px; }
.try-medal b { font-weight: 800; font-size: .95rem; color: var(--cream); }
.try-who { display: block; color: var(--cream); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; margin-top: 4px; }

/* ---------- Spillramme ---------- */
.game-shell { margin: 8px 0 18px; }
.hud { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 12px; }
.hud-item span { display: block; color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; }
.hud-item b { display: block; font-weight: 900; font-size: 1.45rem; line-height: 1.1; color: var(--cream); min-width: 2ch; }
.hud-status b { font-size: .95rem; color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.hud-actions { margin-left: auto; display: flex; gap: 8px; }
.hud-btn { background: transparent; color: var(--cream); border: 2px solid rgba(255, 248, 236, .45); border-radius: 9px; padding: 7px 12px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.hud-btn:hover { border-color: var(--cream); }
.hud-btn.hot { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 #c98f00; }

.window { border: 3px solid var(--yellow); border-radius: 9px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px rgba(247, 148, 29, .55); }
.win-menu { display: flex; align-items: center; gap: 14px; background: var(--cream); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; overflow: hidden; }
.win-logo svg { width: 12px; height: 12px; display: block; }
.win-name { margin-left: auto; font-weight: 800; }
.stage { position: relative; min-height: 340px; background: var(--ink); overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.stage[data-variant="hjornejakt"] { background-color: #c8643b; background-image: radial-gradient(#9c4a29 1px, transparent 1.4px); background-size: 4px 4px; }
.game-canvas { display: block; width: 100%; height: auto; touch-action: none; }

/* Overlay i klassisk dialogstil */
.ov { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(35, 31, 32, .5); padding: 16px; }
.ov-card { width: min(360px, 100%); background: var(--cream); color: #1a1718; border: 2px solid #1a1718; box-shadow: 5px 5px 0 #1a1718; }
.ov-bar { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-bottom: 2px solid #1a1718; }
.ov-bar span { flex: 1; height: 9px; background: repeating-linear-gradient(#1a1718 0 1px, transparent 1px 3px); }
.ov-title { font-weight: 800; font-size: 15px; white-space: nowrap; }
.ov-body { padding: 14px 18px 16px; text-align: center; font-size: 14px; line-height: 1.45; }
.ov-body p { margin: 0 0 6px; }
.ov-text { max-height: 260px; overflow: auto; }
.ov-score { font-size: 16px; }
.ov-score b { font-weight: 900; color: var(--red); font-size: 20px; }
.ov-record { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ov-prev { opacity: .7; }
.ov-btn { display: block; width: 100%; margin-top: 12px; background: #1a1718; color: var(--cream); border: 0; padding: 11px 12px; font-weight: 700; font-size: 15px; cursor: pointer; }
.ov-btn:hover { background: var(--red); }

/* Delte knapper for spill */
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--yellow); color: var(--ink); border: 0; border-radius: 10px; padding: 10px 16px; font: 900 .9rem/1.1 var(--font); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 4px 0 #c98f00; cursor: pointer; touch-action: manipulation; }
.gbtn:active { transform: translateY(2px); box-shadow: 0 2px 0 #c98f00; }
.gbtn.alt { background: transparent; color: var(--cream); border: 2px solid var(--cream); box-shadow: none; }
.gbtn[disabled] { opacity: .45; cursor: default; }
.gseg { display: flex; flex-wrap: wrap; gap: 6px; }
.gseg button { background: transparent; border: 2px solid rgba(255, 248, 236, .4); color: var(--cream); border-radius: 999px; padding: 6px 13px; font: 800 .78rem/1.1 var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.gseg button.on { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- Seksjoner ---------- */
.block { margin: 22px 0; }
.h-big { margin: 18px 0 2px; color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 5.4vw, 3rem); line-height: 1; letter-spacing: .005em; }
.h-big.sm { font-size: clamp(1.4rem, 4vw, 2.1rem); margin-bottom: 16px; }
.h-sub { margin: 4px 0 18px; color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, 2.8vw, 1.6rem); line-height: 1.15; }
.h-mid { margin: 0; color: var(--cream); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 4.6vw, 2.4rem); line-height: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--c); border: 2px solid var(--c); border-radius: 999px; padding: 5px 13px 5px 8px; font: 800 .78rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; }
.chip:hover { background: color-mix(in srgb, var(--c) 16%, transparent); }
.chip.on { background: var(--c); color: var(--ink); }
.chip-ic { width: 22px; height: 22px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gcard { display: flex; flex-direction: column; background: var(--panel); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--cream); border: 2px solid rgba(255, 248, 236, .07); transition: transform .18s ease, border-color .18s ease; }
.gcard:hover { transform: translateY(-4px); border-color: var(--c); }
.gcard-art { display: grid; place-items: center; aspect-ratio: 16 / 9; border-bottom: 5px solid var(--c);
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--c) 38%, transparent), transparent 62%), radial-gradient(rgba(255, 248, 236, .07) 1px, transparent 1.5px) 0 0 / 8px 8px, var(--ink-2); }
.gcard-art svg { width: 44%; height: auto; transition: transform .25s ease; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .3)); }
.gcard:hover .gcard-art svg { transform: rotate(-8deg) scale(1.08); }
.gcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.gcard-cat { align-self: flex-start; color: var(--cc); border: 1.5px solid var(--cc); border-radius: 999px; font-weight: 800; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; padding: 2px 9px; }
.gcard-title { font-weight: 900; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.gcard-txt { font-size: .9rem; color: rgba(255, 248, 236, .78); line-height: 1.45; }
.gcard-go { margin-top: auto; padding-top: 6px; color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 30px; align-items: center; }
.faq-title { margin: 0; color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: .86rem; letter-spacing: .02em; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-style: normal; color: var(--cream); font-weight: 900; font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 10px 0 0; color: var(--cream); font-size: .95rem; }
.faq-more { color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: .86rem; margin: 0; }
.faq-more a { color: var(--yellow); text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Stor CTA */
.mega-cta { display: block; margin: 26px 0; background: var(--coral); color: #fff; text-decoration: none; border-radius: 14px; padding: clamp(20px, 4vw, 34px) clamp(22px, 5vw, 40px); font-weight: 900; text-transform: uppercase; font-size: clamp(3.2rem, 15vw, 8rem); line-height: .9; letter-spacing: -.01em; box-shadow: 0 8px 0 #b8363d; transition: transform .15s ease, background .15s ease; }
.mega-cta span { display: block; }
.mega-cta:hover { background: #f26a6f; transform: translateY(-3px); }
.mega-cta b { display: inline-block; transition: transform .2s ease; }
.mega-cta:hover b { transform: translateX(10px); }

/* Spillside */
.crumbs { margin: 14px 0 6px; font-size: .8rem; color: rgba(255, 248, 236, .7); font-weight: 500; }
.crumbs a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.crumbs span { margin: 0 4px; opacity: .5; }
.crumbs b { color: var(--cream); }
.game-head { display: flex; align-items: center; gap: 16px; margin: 12px 0 18px; }
.game-head-art { flex: none; width: 72px; height: 72px; padding: 8px; border-radius: 16px; border: 3px solid var(--c); background: var(--ink-2); }
.game-head-art svg { width: 100%; height: 100%; display: block; }
.game-short { margin: 6px 0 0; color: rgba(255, 248, 236, .85); font-size: .98rem; }
.tag { display: inline-block; color: var(--ink); background: var(--c); border-radius: 999px; padding: 1px 10px; font-weight: 800; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; text-decoration: none; margin-right: 6px; vertical-align: 2px; }
.note { color: var(--yellow); font-weight: 700; }
.info { margin: 18px 0; }
.info-lead { font-size: 1.06rem; margin: 6px 0 18px; }
.info-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.info-col { display: grid; gap: 16px; align-content: start; }
.info-box { background: var(--panel); border: 2px solid var(--c); border-radius: 14px; padding: 16px 18px; }
.info-box h2 { margin: 0 0 8px; color: var(--c); font-weight: 900; text-transform: uppercase; font-size: 1rem; letter-spacing: .03em; }
.info-box p { margin: 0; font-size: .95rem; }
.info-box ol { margin: 0; padding-left: 1.25rem; }
.info-box li { margin: .35rem 0; font-size: .95rem; }
.info-box li::marker { color: var(--yellow); font-weight: 900; }

/* Kategorier */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; background: var(--panel); border: 2px solid var(--c); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--cream); transition: transform .18s ease; }
.cat:hover { transform: translateY(-3px); }
.cat svg { grid-row: span 2; width: 56px; height: 56px; }
.cat b { color: var(--c); font-weight: 900; text-transform: uppercase; font-size: 1.05rem; align-self: end; }
.cat span { font-size: .84rem; color: rgba(255, 248, 236, .78); line-height: 1.35; align-self: start; }
.cat-grid.small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 12px 0; }

/* Tekstsider */
.prose { margin: 10px 0 24px; }
.prose.center { text-align: center; padding: 20px 0; }
.prose h2 { color: var(--yellow); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; margin: 1.9rem 0 .5rem; letter-spacing: .02em; }
.prose p, .prose li { font-size: 1rem; line-height: 1.68; color: rgba(255, 248, 236, .92); }
.prose .lead { font-size: 1.12rem; color: var(--cream); }
.prose a:not(.btn-hot):not(.cat) { color: var(--yellow); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.ticks { list-style: none; padding: 0; margin: .5rem 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin: .45rem 0; }
.ticks li::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--pink); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: start; }
.contact-side { display: grid; gap: 14px; }
.form { display: grid; gap: 14px; }
.field label { display: block; color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: .76rem; letter-spacing: .07em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; background: var(--ink-2); border: 2px solid var(--line); color: var(--cream); border-radius: 10px; padding: 11px 13px; font: 500 1rem var(--font); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 201, 60, .2); }
.field.err input, .field.err textarea { border-color: var(--red); }
.field small { display: block; color: #ff8a93; font-weight: 700; margin-top: 5px; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; color: var(--cream); }
.field.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--yellow); }
.hp { position: absolute; left: -5000px; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.alert.ok { border: 2px solid var(--green); background: rgba(63, 166, 82, .12); }
.alert p { margin: 4px 0 0; }

/* Bunntekst */
.foot { text-align: center; padding: 22px 0 10px; }
.foot-love { color: var(--pink); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; margin: 0 0 14px; }
.foot-heart { width: 16px; height: 16px; vertical-align: -3px; }
.foot-brand { color: var(--cream); font-weight: 900; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 12px; }
.foot-cats a { color: var(--c); font-weight: 800; text-transform: uppercase; font-size: .76rem; letter-spacing: .06em; text-decoration: none; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.foot-links a { color: var(--yellow); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-links span { color: rgba(255, 248, 236, .3); }
.foot-note { max-width: 560px; margin: 16px auto 6px; font-size: .8rem; color: rgba(255, 248, 236, .72); }
.foot-copy { font-size: .76rem; color: rgba(255, 248, 236, .55); margin: 0; }
.foot-copy a { color: inherit; }

/* Lagringsvarsel */
.notice { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(580px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--red); padding: 12px 14px; border-radius: 6px; }
.notice p { margin: 0; font-size: .88rem; line-height: 1.4; }
.notice a { color: var(--ink); font-weight: 700; }
.notice-ok { flex: none; background: var(--ink); color: var(--cream); border: 0; padding: 9px 14px; font-weight: 800; cursor: pointer; border-radius: 4px; }

/* ---------- Responsivt ---------- */
@media (max-width: 1100px) {
  :root { --fw: 62px; --fh: 72px; }
}
@media (max-width: 760px) {
  .frame { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .flames { display: none; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 64px; right: 0; z-index: 40; flex-direction: column; background: var(--panel); border: 2px solid var(--yellow); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: 5px 5px 0 #000; }
  .nav.open { display: flex; }
  .nav .hide-sm { display: none; }
  .cluster-a .cluster-grid, .cluster-b .cluster-grid { grid-template-columns: repeat(4, 1fr); }
  .try-head { grid-template-columns: auto 1fr; }
  .try-best { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .try-best .divider { flex: 1 1 80px; margin: 0; }
  .try-who { margin: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .cluster-side .cluster-grid { grid-template-columns: repeat(6, 1fr); gap: 8px 3%; }
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .hud-actions { margin-left: 0; width: 100%; }
  .hud-actions .hud-btn { flex: 1; }
}
@media (max-width: 480px) {
  .hero-row { flex-direction: column; align-items: stretch; }
  .btn-hot { justify-content: space-between; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gcard-body { padding: 10px 12px 12px; }
  .gcard-title { font-size: .98rem; }
  .gcard-txt { display: none; }
  .game-head-art { width: 58px; height: 58px; }
  .notice { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
