/* Fantasiyrket – kortbunker og ukeplanen. Resten av uttrykket ligger i
   /spill/_livsmotor/livsmotor.css. */

.terminer { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.terminer li { text-align: center; font-weight: 800; font-size: 14px; padding: 7px 6px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; }
.terminer li.ferdig { background: var(--fag-lys); }
.terminer li.na { background: var(--yellow); box-shadow: 0 4px 0 var(--ink); transform: translateY(-3px); }

.bunker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.bunke { display: grid; gap: 10px; align-content: start; justify-items: stretch; }
.bunke .knapp { justify-self: start; }
.spillkort {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 0 var(--ink);
  text-align: left;
  cursor: pointer;
}
.spillkort:hover { background: var(--cream); }
.spillkort:active { box-shadow: none; transform: translateY(4px); }
.spillkort[aria-pressed="true"] { background: var(--yellow); transform: rotate(-1.5deg); }
.spillkort-navn { font-family: "Chewy", cursive; font-size: 22px; line-height: 1.1; }

.navngi { margin-top: 24px; display: grid; gap: 8px; max-width: 520px; }
.navnefelt { font: inherit; font-size: 20px; font-weight: 800; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); }
.navnefelt:focus { outline: 3px solid var(--coral); outline-offset: 2px; }

.rute-merke { font-size: 12px; font-weight: 800; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; }
.rute-yrkesfag { background: var(--fag-lys); }
.rute-studie { background: #d9ccff; }

.mal-yrke { display: grid; gap: 2px; padding: 10px 14px; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); }
.mal-yrke b { font-family: "Chewy", cursive; font-weight: 400; font-size: 26px; line-height: 1.1; }
.mal-yrke span { font-size: 14px; color: var(--muted); font-weight: 800; }

.steder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sted { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 4px 0 var(--ink); text-align: center; }
.sted-navn { font-family: "Chewy", cursive; font-size: 20px; line-height: 1.1; }
.sted-tekst { font-size: 13px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.stepper button { width: 34px; height: 34px; border: 3px solid var(--ink); border-radius: 10px; background: var(--coral); color: var(--cream); font-weight: 800; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.stepper button:active { box-shadow: none; transform: translateY(3px); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper b { min-width: 42px; font-size: 18px; }

.prognose { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 14px; background: var(--cream); font-weight: 800; }

/* Elev-PC (CLAUDE.md, unntak 5): lavere kort og luft på 768-skjermer, så trekket får plass uten scroll */
@media (max-height: 860px) {
  .bunker { margin-top: 12px; gap: 16px; }
  .bunke { gap: 8px; }
  .spillkort { grid-template-columns: 44px minmax(0, 1fr); padding: 6px 12px; }
  .spillkort .ikon { --s: 44px !important; }
  .navngi { margin-top: 14px; }
  .navnefelt { padding: 8px 14px; }
}
