/* Øyvind Strømmen – felles stilark (retro-utgåva) */

:root {
  --paper: #f4ead2;
  --paper-2: #fbf5e4;
  --ink: #10273a;
  --muted: #4f6270;
  --orange: #d9652b;
  --sun: #f2c46d;
  --teal: #2f6f86;
  --green: #4c7a4a;
  --accent: #c4501c;
  --on-accent: #fbf5e4;
  --dots: rgba(16, 39, 58, .07);
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Spectral", Georgia, "Times New Roman", serif;
  --line: 2.5px solid var(--ink);
  --hard: 6px 6px 0 var(--ink);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e2131;
    --paper-2: #14304a;
    --ink: #f4ead2;
    --muted: #a9b9c2;
    --orange: #ef8a4c;
    --sun: #f2c46d;
    --teal: #6fb0c4;
    --green: #86b47f;
    --accent: #f59a5f;
    --on-accent: #0e2131;
    --dots: rgba(244, 234, 210, .05);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.3px);
  background-size: 7px 7px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

h1, h2, h3, .display {
  font-family: var(--display);
  font-stretch: 68%;
  font-variation-settings: "wdth" 68;
  font-weight: 800;
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
}

/* Retrostriper */
.stripes {
  height: 22px;
  background: linear-gradient(to bottom,
    var(--orange) 0 25%, var(--paper) 25% 37.5%,
    var(--sun) 37.5% 62.5%, var(--paper) 62.5% 75%,
    var(--teal) 75% 100%);
  border-top: var(--line);
  border-bottom: var(--line);
}

/* ---------- Topp (verkar for både framsida og undersidene) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--line);
}
.site-head .wrap {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 2rem; padding-top: .7rem; padding-bottom: .7rem;
}
.site-name {
  grid-column: 1; margin: 0;
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1;
  font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; letter-spacing: .01em;
}
.site-name a { color: var(--ink); text-decoration: none; }
.site-name small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin-top: .25rem; font-stretch: 100%; font-variation-settings: "wdth" 100; }
.tagline, .site-head.small .tagline {
  grid-column: 1; margin: .2rem 0 0;
  font-family: var(--display); font-style: normal; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.site-nav { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--display); font-weight: 600; font-size: .9375rem; }
.site-nav a {
  display: inline-block; color: var(--ink); text-decoration: none;
  padding: .4rem .8rem; border: 2px solid transparent; border-radius: 999px;
  transition: border-color .15s, background .15s;
}
.site-nav a:hover { border-color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 700px) {
  .site-head { position: static; }
  .site-head .wrap { grid-template-columns: 1fr; }
  .site-nav { grid-column: 1; grid-row: auto; justify-self: start; margin: .6rem 0 0 -.7rem; }
  .site-nav ul { gap: .1rem; }
  .site-nav a { white-space: nowrap; padding: .3rem .7rem; }
}

/* ---------- Knappar ---------- */
.button {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  background: var(--orange); color: #10273a;
  padding: .95rem 1.3rem; border: var(--line); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button.alt { background: var(--paper-2); color: var(--ink); }
.button.small { font-size: .85rem; padding: .7rem 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* ---------- Framside: portrett ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.kicker { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.kicker li {
  font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 999px; padding: .35rem .8rem; background: var(--paper-2);
}
.kicker li:nth-child(2) { background: var(--sun); color: #10273a; }
.hero-name {
  margin: 0; font-size: clamp(3.75rem, 11vw, 7.25rem); line-height: .82;
  color: var(--ink);
  text-shadow: .045em .045em 0 var(--orange);
}
.hero-name span { display: block; color: var(--teal); text-shadow: .045em .045em 0 var(--sun); }
.hero-lede { font-size: clamp(1.15rem, 1.9vw, 1.35rem); max-width: 33rem; margin: 1.75rem 0 0; }

.portrait { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); }
.portrait .frame {
  position: relative; z-index: 1;
  border: 3px solid var(--ink); border-radius: 220px 220px 10px 10px; overflow: hidden;
  box-shadow: 14px 14px 0 var(--orange), 14px 14px 0 3px var(--ink);
  background: var(--teal);
}
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.badge {
  position: absolute; z-index: 2; left: -1.5rem; bottom: 1.5rem;
  width: clamp(110px, 13vw, 140px); aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--sun); color: #10273a; border: 3px solid var(--ink); border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink); text-decoration: none;
  transition: transform .2s;
}
.badge:hover { transform: scale(1.05) rotate(-4deg); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge text { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; fill: #10273a; }
.badge strong { font-family: var(--display); font-stretch: 68%; font-variation-settings: "wdth" 68; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 859px) { .portrait { width: min(82%, 360px); } .badge { left: -1rem; } }

/* Variant: biletet løyser seg opp i bakgrunnen (bruk class="portrait fade") */
.portrait.fade { width: min(100%, 500px); }
.portrait.fade .frame {
  border: 0; border-radius: 0; box-shadow: none; background: none;
  /* tett kjerne + rasterprikkar som tynnast ut mot kanten */
  -webkit-mask-image:
    radial-gradient(ellipse 44% 44% at 50% 47%, #000 62%, transparent 100%),
    radial-gradient(circle, #000 1.7px, transparent 2.3px),
    radial-gradient(ellipse 50% 50% at 50% 49%, #000 60%, transparent 100%);
  -webkit-mask-size: 100% 100%, 7px 7px, 100% 100%;
  -webkit-mask-composite: source-over, source-in;
  mask-image:
    radial-gradient(ellipse 44% 44% at 50% 47%, #000 62%, transparent 100%),
    radial-gradient(circle, #000 1.7px, transparent 2.3px),
    radial-gradient(ellipse 50% 50% at 50% 49%, #000 60%, transparent 100%);
  mask-size: 100% 100%, 7px 7px, 100% 100%;
  mask-composite: add, intersect;
}
.portrait.fade .badge { left: 0; bottom: 12%; }

/* ---------- Seksjonar ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 2rem; font-size: clamp(2.25rem, 5vw, 3.75rem); }
.section-title::after { content: ""; flex: 1; height: 10px; border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }

/* Ny bok */
.feature {
  display: grid; gap: 2rem; align-items: center;
  background: var(--paper-2); border: var(--line); box-shadow: var(--hard);
  padding: clamp(1.5rem, 4vw, 3rem); border-radius: 6px;
}
@media (min-width: 760px) { .feature { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; } }
.feature img { width: 220px; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--teal); transform: rotate(-2deg); transition: transform .2s; }
.feature a:hover img { transform: rotate(0); }
@media (max-width: 759px) { .feature img { width: 160px; } }
.feature h2 { font-size: clamp(2.75rem, 7vw, 5rem); margin: 0; }
.feature h2 span { display: block; font-size: .4em; color: var(--teal); margin-top: .35rem; }
.feature p { margin: 1rem 0 0; max-width: 36rem; }
.feature blockquote { margin: 1.5rem 0 0; padding: .1rem 0 .1rem 1rem; border-left: 5px solid var(--orange); max-width: 34rem; }
.feature blockquote p { margin: 0; font-style: italic; }
.feature cite { display: block; margin-top: .4rem; font-style: normal; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--muted); }

/* Bokhylla */
.shelf-section { margin: 0; }
.shelf {
  display: flex; align-items: flex-end; gap: clamp(.9rem, 2vw, 1.5rem);
  overflow-x: auto; scrollbar-width: thin;
  padding: 1.5rem .5rem 0;
  border-bottom: 14px solid var(--ink);
  position: relative;
}
.shelf a { flex: 0 0 auto; display: block; }
.shelf img {
  height: clamp(120px, 14.5vw, 205px); width: auto;
  border: 2px solid var(--ink); border-bottom: 0;
  transition: transform .18s;
}
.shelf a:hover img { transform: translateY(-10px) rotate(-1.5deg); }
.shelf-links { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-family: var(--display); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }

/* Substack */
.feeds { display: grid; gap: 2rem; margin-bottom: 0; }
@media (min-width: 900px) { .feeds { grid-template-columns: 1fr 1fr; } }
.feed {
  background: var(--paper-2); border: var(--line); border-radius: 6px; box-shadow: var(--hard);
  display: flex; flex-direction: column; overflow: hidden;
}
.feed-head { padding: 1.4rem clamp(1.25rem, 3vw, 2rem) 1.2rem; border-bottom: var(--line); background: var(--teal); color: #fbf5e4; }
.feed:nth-child(2) .feed-head { background: var(--orange); color: #10273a; }
.feed h2, .feed h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin: 0; }
.feed-intro { margin: .35rem 0 0; font-size: 1rem; opacity: .92; }
.feed > .posts, .feed > div > .posts { padding: 0 clamp(1.25rem, 3vw, 2rem); }
.posts { list-style: none; margin: 0; padding: 0; flex: 1; }
.posts li { position: relative; padding: 1.1rem 0; border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.posts li:last-child { border-bottom: 0; }
.posts .post-title {
  display: block; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2;
  font-stretch: 85%; font-variation-settings: "wdth" 85;
}
.posts .post-title::after { content: ""; position: absolute; inset: 0; }
.posts li:hover .post-title { color: var(--accent); }
.posts p { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.posts time { display: inline-block; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .15rem .45rem; margin-bottom: .45rem; }
.posts time:empty { display: none; }
.posts[aria-busy="true"] { opacity: .5; transition: opacity .3s; }
.feed-more {
  margin: 0; padding: 1.1rem clamp(1.25rem, 3vw, 2rem); border-top: var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  font-family: var(--display); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em;
}
.feed-more a:not(.button) { color: var(--ink); }

/* ---------- Undersider (gamal og ny struktur) ---------- */
.page { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page > * { max-width: 46rem; }
.page.wide > * { max-width: 64rem; }
.page h1, .page-head h1 {
  font-size: clamp(2.5rem, 10vw, 7rem); line-height: .85; margin: 0 0 2rem;
  overflow-wrap: break-word; hyphens: auto;
  text-shadow: .04em .04em 0 var(--orange);
}
.page-head { padding: 0 0 1rem; }
.page-head h1 { margin-bottom: 1rem; }
.page-head p { color: var(--muted); font-size: 1.2rem; max-width: 40rem; margin: 0; }
.page h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 3rem 0 1rem; }
.page ul { padding-left: 1.2rem; }
.page li { margin-bottom: .6rem; }
.prose { max-width: 46rem; }

.jump { list-style: none; margin: 0 0 1rem; padding: 0 0 1rem !important; display: flex; gap: .75rem; overflow-x: auto; }
.jump li { margin: 0; }
.jump a { display: block; width: 64px; }
.jump img { width: 64px; border: 2px solid var(--ink); transition: transform .15s; }
.jump a:hover img { transform: translateY(-4px); }

/* Bøker */
.book { display: grid; gap: 1.75rem; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: var(--line); }
.book:first-of-type { border-top: 0; padding-top: .5rem; }
@media (min-width: 820px) {
  .book { grid-template-columns: 230px minmax(0, 1fr); gap: 3.5rem; }
  .book .covers { position: sticky; top: 7rem; align-self: start; }
}
.book .covers { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.book .covers > img { width: 230px; border: 2.5px solid var(--ink); box-shadow: 10px 10px 0 var(--teal); }
.book:nth-of-type(3n+2) .covers > img { box-shadow: 10px 10px 0 var(--orange); }
.book:nth-of-type(3n) .covers > img { box-shadow: 10px 10px 0 var(--green); }
.book .covers .extra { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.book .covers .extra img { width: 62px; border: 2px solid var(--ink); }
.book .covers .extra-label { font-family: var(--display); font-size: .8rem; color: var(--muted); margin: .5rem 0 0; }
@media (max-width: 819px) { .book .covers { flex-direction: row; align-items: flex-end; flex-wrap: wrap; } .book .covers > img { width: 160px; } }
.book h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 0 0 1.25rem; }
.book .meta { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--muted); margin: -.75rem 0 1.5rem; }
.book-body { max-width: 42rem; }
.book-body > p { margin: 0 0 1rem; }

.reviews { margin: 2rem 0; display: grid; gap: 1rem; }
.reviews blockquote { margin: 0; padding: 1.2rem 1.4rem; background: var(--paper-2); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); }
.reviews blockquote p { margin: 0; font-style: italic; font-size: 1.0625rem; line-height: 1.55; }
.reviews cite { display: block; font-style: normal; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--accent); margin-top: .6rem; }
.reviews.collapsible blockquote:nth-child(n+4) { display: none; }
.reviews.collapsible.open blockquote { display: block; }
.more-reviews { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; background: var(--paper-2); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; justify-self: start; box-shadow: 3px 3px 0 var(--ink); }

.buy {
  margin-top: 2rem; padding: 1.1rem 1.3rem; border: var(--line); border-radius: 6px;
  background: var(--ink); color: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font-family: var(--display);
}
.buy strong { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.buy ul { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.buy li { margin: 0 !important; }
.buy a { display: inline-block; color: var(--paper); text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .4rem .9rem; border: 2px solid currentColor; border-radius: 999px; }
.buy a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.buy li:first-child a { background: var(--orange); border-color: var(--orange); color: #10273a; }

/* Kjøp */
.prices { list-style: none; padding: 0 !important; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.prices li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 !important;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: 6px; padding: .85rem 1.1rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.prices li > a { flex: 1; }
.prices img { width: 44px; border: 1.5px solid var(--ink); flex: 0 0 auto; }
.prices a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.prices a:hover { color: var(--accent); }
.prices .price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; background: var(--sun); color: #10273a; border: 2px solid var(--ink); border-radius: 999px; padding: .15rem .7rem; }
.prices .sold { background: transparent; color: var(--muted); font-weight: 600; font-size: .9rem; }
.note { background: var(--paper-2); border: var(--line); border-radius: 6px; padding: 1.25rem 1.5rem; margin: 2rem 0; box-shadow: var(--hard); }
.note p { margin: 0 0 1rem; } .note p:last-child { margin: 0; }

/* Publikasjonsliste */
.publist { list-style: none; padding: 0 !important; margin: 0; }
.publist li { margin: 0 !important; padding: 1rem 0; border-top: 1.5px dashed color-mix(in srgb, var(--ink) 40%, transparent); }
.publist li:has(.year) { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
.publist .year { font-family: var(--display); font-weight: 800; color: var(--accent); font-size: 1.1rem; }
@media (max-width: 520px) { .publist li:has(.year) { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Botn ---------- */
.site-foot { margin-top: 0; background: var(--ink); color: var(--paper); font-family: var(--display); position: relative; }
.site-foot::before {
  content: ""; display: block; height: 22px;
  background: linear-gradient(to bottom, var(--orange) 0 33%, var(--sun) 33% 66%, var(--teal) 66% 100%);
}
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2.5rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.site-foot p { margin: 0; }
.site-foot a { color: var(--paper); }
.site-foot a:hover { color: var(--sun); }
.site-foot .name { font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; flex-basis: 100%; }
@media (min-width: 760px) { .site-foot .name { flex-basis: auto; margin-right: auto; } }
.site-foot .foot-grid { display: contents; }
.site-foot h2 { font-size: .8rem; letter-spacing: .14em; margin: 0 0 .5rem; color: var(--sun); font-stretch: 100%; font-variation-settings: "wdth" 100; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.foot-bottom { flex-basis: 100%; font-size: .85rem; opacity: .7; }

/* ---------- Spel ---------- */
.games-intro { font-size: 1.2rem; max-width: 40rem; margin: 0 0 2rem; }
.spelside .games-intro { color: var(--muted); }
.games { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); max-width: none !important; }
.game {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: var(--line); border-radius: 10px; box-shadow: var(--hard);
  overflow: hidden;
}
.game-screen {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: #0b1a26; border-bottom: var(--line);
}
.game-screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; image-rendering: auto; }
.game-screen::after {                     /* skjermlinjer */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,.16) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.35) 100%);
}
.game:hover .game-screen img { transform: scale(1.04); }
.game-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.game h3 {
  margin: 0; font-family: "Silkscreen", var(--display); font-weight: 400; text-transform: uppercase;
  font-stretch: 100%; font-variation-settings: normal; letter-spacing: .02em;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.15;
}
.game h3 a { color: var(--ink); text-decoration: none; }
.game h3 a:hover { color: var(--accent); }
.game-tagline { margin: 0; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--accent); }
.game-body > p:not(.game-tagline) { margin: 0; font-size: 1.02rem; }
.game-tags { list-style: none; padding: 0 !important; margin: .25rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.game-tags li {
  margin: 0 !important; font-family: "Silkscreen", var(--display); font-size: .72rem; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 4px; padding: .1rem .45rem; background: var(--paper);
}
.game .button { margin-top: auto; align-self: flex-start; }
.game-teal .button { background: var(--teal); color: #fbf5e4; }
.game-soon { border-style: dashed; box-shadow: none; background: transparent; }
.game-soon .game-screen { display: grid; place-items: center; border-bottom-style: dashed; }
.insert-coin {
  font-family: "Silkscreen", monospace; font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--sun);
  animation: blink 1.2s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

.games-band { border-top: var(--line); background: color-mix(in srgb, var(--teal) 6%, transparent); }
.games-band .section-title { margin-bottom: 1rem; }
.games-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 900px) { .games-compact { grid-template-columns: repeat(3, 1fr); } }

/* Dikt og musikk-kort på framsida */
.side-card {
  display: grid; gap: .3rem; margin: 0 0 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #14161c; color: #ece6d8; text-decoration: none;
  border: var(--line); border-radius: 10px; box-shadow: 6px 6px 0 var(--orange);
  transition: transform .15s, box-shadow .15s;
}
.side-card:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--orange); }
.side-k { font-family: var(--display); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #c9a45c; }
.side-card strong { font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; }
.side-t { color: #c9c3b6; font-size: 1.05rem; }
.side-card:hover .side-t { color: #ece6d8; }
