/* Kattanjki Klub képbeküldő – a Claude Design vázlat
   (kk-kepertekeles-felulet.dc.html) design-nyelve, a KK brand-tokenekkel
   (kattanjki-brand skill / vault kattanjki-brand-tokens.md).

   Két réteg:
   1. A vázlatból átvett komponensek (rowlist, deadline, cta, pill, exif...)
      a tag-képernyőkhöz.
   2. A korábbi kk-* osztályok újrastílusozva, hogy a szavazás/zsűri/admin
      sablonok kód-módosítás nélkül ugyanazt a külsőt kapják. */

@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&display=swap");

:root {
  /* Nyers brand-paletta - csak ez a 6 szin + feher letezik. */
  --kk-bezs: #FFF8F0;
  --kk-vil-narancs: #FFBDA3;
  --kk-sot-narancs: #FE9C63;
  --kk-piros: #FF6367;
  --kk-vil-barna: #B7651C;
  --kk-sot-barna: #733F21;
  --kk-feher: #FFFFFF;
  --kk-font: "League Spartan", system-ui, sans-serif;

  /* App-szintu szemantika (a vazlat :root tokenjei). */
  --app-page: var(--kk-bezs);
  --app-surface: var(--kk-feher);
  --app-tint: rgba(255, 189, 163, 0.38);
  --app-tint-soft: rgba(255, 189, 163, 0.2);
  --app-heading: var(--kk-vil-barna);
  --app-body: var(--kk-sot-barna);
  --app-muted: rgba(115, 63, 33, 0.64);
  --app-line: rgba(115, 63, 33, 0.14);
  --app-line-strong: rgba(115, 63, 33, 0.26);
  --app-shadow: 0 6px 24px rgba(115, 63, 33, 0.08);
  --app-shadow-lg: 0 16px 44px rgba(115, 63, 33, 0.14);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --r-button: 25px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--app-page);
  color: var(--app-body);
  font-family: var(--kk-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0;
  font-weight: 500;
  color: var(--app-body);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--kk-font);
  color: var(--app-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: var(--kk-piros);
  text-decoration: none;
}

a:hover {
  color: var(--kk-sot-narancs);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- oldal-vaz: tintezett fejlec + wave ---------- */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-head {
  position: relative;
  background: var(--app-tint);
  padding: 20px 22px 0;
}

.page-head-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brandmark {
  height: 24px;
  width: auto;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-nav a,
.topbar-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-name {
  color: var(--app-muted);
  font-weight: 600;
}

.screen-title {
  margin-top: 16px;
  font-size: 25px;
}

.screen-kind {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--kk-piros);
}

.screen-kind + .screen-title {
  margin-top: 6px;
}

.greet,
.mentor-line {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--app-muted);
}

.greet b,
.mentor-line b {
  color: var(--app-body);
  font-weight: 700;
}

.wave {
  display: block;
  width: calc(100% + 44px);
  height: 26px;
  margin: 20px -22px -1px;
  color: var(--app-page);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pill-open {
  background: var(--kk-sot-narancs);
  color: #3d1f0c;
}

.pill-closed {
  background: var(--kk-vil-narancs);
  color: #5a2f14;
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
  display: block;
}

.kk-main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px 64px;
  display: grid;
  gap: 24px;
  align-content: start;
}

@media (min-width: 900px) {
  .page-head {
    padding: 26px 44px 0;
  }
  .wave {
    width: calc(100% + 88px);
    margin: 24px -44px -1px;
  }
  .screen-title {
    font-size: 32px;
  }
  .brandmark {
    height: 28px;
  }
  .kk-main {
    padding: 28px 44px 80px;
  }
}

/* ---------- kozos apro elemek ---------- */

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-heading);
}

.tiny {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.5;
}

.block {
  display: grid;
  gap: 10px;
}

.kk-back {
  font-size: 13px;
  font-weight: 700;
}

.card,
.kk-card {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--r-lg);
  box-shadow: var(--app-shadow);
  padding: 18px;
}

.card-accent {
  border-color: var(--kk-sot-narancs);
}

/* ---------- attekinto: rowlist ---------- */

.rowlist {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .rowlist {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
}

.rowlist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--r-lg);
  box-shadow: var(--app-shadow);
  padding: 14px;
  color: inherit;
  min-height: 104px;
}

a.row:hover {
  box-shadow: var(--app-shadow-lg);
  text-decoration: none;
  color: inherit;
}

/* Fix, negyzetes belyegkep: a sor magassaga tartalomfuggo, de a thumb
   nem nyulhat vele (Ingrid 2026-08-11: "nem egyseges a megjelenes"). */
.row-thumb {
  display: block;
  flex: 0 0 62px;
  height: 62px;
  align-self: center;
  border-radius: var(--r-md);
  overflow: hidden;
}

.row-thumb .ph {
  height: 100%;
  border-radius: 0;
}

.row-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  display: grid;
  gap: 5px;
  align-content: center;
}

.row-kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--kk-piros);
}

.row-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--app-heading);
  line-height: 1.2;
}

.row-meta {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.5;
}

.row-state {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  text-align: right;
}

.tag {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag-open {
  background: var(--kk-sot-narancs);
  color: #3d1f0c;
}

.tag-done {
  background: var(--app-tint);
  color: var(--app-heading);
}

.tag-soon {
  background: transparent;
  border: 1px dashed var(--app-line-strong);
  color: var(--app-muted);
}

.row-left {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--app-muted);
  font-variant-numeric: tabular-nums;
}

.row.is-locked {
  opacity: 0.62;
  box-shadow: none;
}

/* ---------- foto-placeholder (kor-thumb az attekinton) ---------- */

.ph {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(115, 63, 33, 0.11) 0 2px,
      rgba(115, 63, 33, 0) 2px 15px
    ),
    linear-gradient(148deg, var(--kk-vil-narancs) 0%, var(--kk-sot-narancs) 62%, var(--kk-vil-barna) 100%);
}

.ph-b {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(115, 63, 33, 0.1) 0 2px,
      rgba(115, 63, 33, 0) 2px 15px
    ),
    linear-gradient(148deg, rgba(255, 189, 163, 0.75) 0%, var(--kk-piros) 100%);
}

.ph-c {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(115, 63, 33, 0.12) 0 2px,
      rgba(115, 63, 33, 0) 2px 15px
    ),
    linear-gradient(158deg, var(--kk-sot-narancs) 0%, var(--kk-piros) 52%, var(--kk-sot-barna) 100%);
}

.ph-d {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(115, 63, 33, 0.1) 0 2px,
      rgba(115, 63, 33, 0) 2px 15px
    ),
    linear-gradient(200deg, var(--kk-vil-narancs) 0%, var(--kk-vil-barna) 100%);
}

/* ---------- kor oldal ---------- */

.deadline {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  text-align: center;
}

.deadline-big {
  font-size: 30px;
  font-weight: 700;
  color: var(--app-heading);
  line-height: 1.05;
}

.deadline-small {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .deadline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    text-align: left;
  }
  .deadline-small {
    margin-top: 0;
  }
  .deadline-big {
    font-size: 34px;
  }
}

.cta,
.kk-button,
button[type="submit"] {
  display: block;
  width: 100%;
  text-align: center;
  border: 0;
  font-family: var(--kk-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 24px;
  border-radius: var(--r-button);
  background: var(--kk-piros);
  color: var(--kk-feher);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 99, 103, 0.26);
}

.cta:hover,
.kk-button:hover,
button[type="submit"]:hover {
  background: var(--kk-sot-narancs);
}

@media (min-width: 900px) {
  .cta,
  button[type="submit"] {
    width: auto;
    min-width: 280px;
  }
}

.btn-ghost,
button.btn-ghost {
  display: inline-block;
  width: auto;
  min-width: 0;
  background: transparent;
  color: var(--app-body);
  border: 1.5px solid var(--app-line-strong);
  box-shadow: none;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border-radius: var(--r-pill);
}

.btn-ghost:hover,
button.btn-ghost:hover {
  background: transparent;
  border-color: var(--kk-piros);
  color: var(--kk-piros);
}

.hint {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.5;
}

.hint b {
  color: var(--app-body);
  font-weight: 700;
}

@media (min-width: 900px) {
  .hint {
    text-align: left;
  }
}

/* Bekuldott kep kartya */

.subm {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.subm-thumb {
  flex: 0 0 112px;
}

.subm-thumb img {
  border-radius: var(--r-md);
  width: 100%;
  height: auto;
  min-height: 90px;
  background: var(--app-tint-soft);
}

.subm-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 10px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--app-heading);
}

.mark i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--kk-sot-narancs);
  color: #3d1f0c;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}

.quote {
  border-left: 3px solid var(--kk-sot-narancs);
  padding: 2px 0 2px 14px;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--app-body);
}

.exif {
  padding-top: 10px;
  border-top: 1px dashed var(--app-line-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--app-muted);
}

.kk-photo {
  width: 100%;
  border-radius: var(--r-md);
}

.field-label {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--app-heading);
}

.grid-others {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 900px) {
  .grid-others {
    grid-template-columns: repeat(8, 1fr);
  }
}

.grid-others .ph,
.grid-others img {
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.count {
  font-size: 17px;
  font-weight: 700;
  color: var(--app-heading);
}

.summary {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--app-tint);
  border: 1px solid var(--app-line);
}

.summary h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.summary p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.summary p + p {
  margin-top: 10px;
}

.linky {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--kk-piros);
  border-bottom: 2px solid rgba(255, 99, 103, 0.45);
  padding-bottom: 2px;
}

/* ---------- mentor-nezet ---------- */

.who-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--app-heading);
}

.counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.counter-n {
  font-size: 48px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--app-heading);
  font-variant-numeric: tabular-nums;
}

.counter-of {
  font-size: 20px;
  font-weight: 700;
  color: var(--app-muted);
}

/* ---------- mentor felvevo mod (vazlat 3. kepernyo) ---------- */

.desk {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: 32px;
  box-shadow: var(--app-shadow-lg);
  overflow: hidden;
}

.desk-left {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.desk-right {
  padding: 24px;
  background: var(--app-tint-soft);
  display: grid;
  gap: 22px;
  align-content: start;
}

@media (min-width: 1000px) {
  .desk {
    display: grid;
    grid-template-columns: 65% 35%;
  }
  .desk-left {
    border-right: 1px solid var(--app-line);
  }
}

.desk-photo {
  width: 100%;
  border-radius: var(--r-md);
  cursor: zoom-in;
}

.desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.progress {
  margin-top: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--app-line-strong);
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--kk-piros);
}

.rec {
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  display: grid;
  gap: 12px;
}

.rec-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rec-btn {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--kk-piros);
  border: 5px solid rgba(255, 99, 103, 0.2);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(255, 99, 103, 0.28);
  cursor: pointer;
}

.rec-btn i {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kk-feher);
  transition: border-radius 140ms ease-out, width 140ms, height 140ms;
}

.rec-btn.is-recording {
  animation: kk-rec-pulse 1.4s ease-in-out infinite;
}

.rec-btn.is-recording i {
  border-radius: 5px;
  width: 22px;
  height: 22px;
}

@keyframes kk-rec-pulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(255, 99, 103, 0.28); }
  50% { box-shadow: 0 0 0 14px rgba(255, 99, 103, 0.12); }
}

.rec-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--app-muted);
}

.rec-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--app-heading);
  font-variant-numeric: tabular-nums;
}

.rec audio {
  width: 100%;
}

.keys {
  font-size: 12px;
  font-weight: 400;
  color: var(--app-muted);
}

.keys kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--app-body);
  background: var(--app-surface);
  border: 1px solid var(--app-line-strong);
  border-radius: 6px;
  padding: 2px 6px;
}

/* ---------- mentor vetito mod (vazlat 4. kepernyo) ---------- */

.stage {
  position: relative;
  height: 100vh;
  background: #1c120c;
  overflow: hidden;
}

.stage-empty {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 14px;
  text-align: center;
  color: #FFF8F0;
}

.stage-frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #2a1a10;
}

.stage-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.stage-count {
  position: absolute;
  right: 18px;
  top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 248, 240, 0.5);
  font-variant-numeric: tabular-nums;
}

.stage-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 26px 20px;
  display: grid;
  gap: 6px;
  background: linear-gradient(to top, rgba(20, 12, 7, 0.9) 0%, rgba(20, 12, 7, 0) 100%);
  pointer-events: none;
}

.stage-who {
  font-size: 20px;
  font-weight: 700;
  color: #FFF8F0;
  letter-spacing: 0.01em;
}

.stage-q {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 248, 240, 0.9);
  line-height: 1.4;
}

.stage-exif {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 189, 163, 0.78);
  letter-spacing: 0.02em;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.22);
  background: rgba(255, 248, 240, 0.12);
  color: rgba(255, 248, 240, 0.82);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transition: opacity 140ms ease-out;
}

.stage:hover .nav {
  opacity: 0.95;
}

.nav-prev { left: 24px; }
.nav-next { right: 24px; }

/* Lathato kilepo-gomb: a csak-billentyus kilepes nem volt felfedezheto. */
.stage-close {
  position: absolute;
  left: 18px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.22);
  background: rgba(255, 248, 240, 0.12);
  color: rgba(255, 248, 240, 0.82);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 140ms ease-out;
}

.stage-close:hover {
  opacity: 1;
  color: #FFF8F0;
  text-decoration: none;
}

.stage-keys {
  position: absolute;
  right: 30px;
  bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: rgba(255, 248, 240, 0.42);
  letter-spacing: 0.04em;
}

/* ---------- lightbox ---------- */

.kk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 18, 12, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}

.kk-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
}

[data-lightbox] {
  cursor: zoom-in;
}

/* ---------- urlapok ---------- */

.kk-field {
  display: grid;
  gap: 8px;
}

.kk-field label,
.kk-checkbox-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--app-heading);
}

.kk-field input[type="email"],
.kk-field input[type="text"],
.kk-field input[type="number"],
.kk-field input[type="datetime-local"],
.kk-field select,
.kk-field textarea {
  background: var(--app-page);
  border: 1.5px solid var(--app-line-strong);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  font-family: var(--kk-font);
  font-size: 15px;
  color: var(--app-body);
  width: 100%;
}

.kk-field input:focus,
.kk-field textarea:focus,
.kk-field select:focus {
  outline: 2px solid var(--kk-piros);
  outline-offset: 1px;
  border-color: transparent;
}

.kk-field input[type="file"] {
  font-size: 14px;
  color: var(--app-muted);
}

.kk-field input[type="file"]::file-selector-button {
  font-family: var(--kk-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid var(--app-line-strong);
  border-radius: var(--r-pill);
  background: var(--app-surface);
  color: var(--app-body);
  padding: 9px 16px;
  margin-right: 12px;
  cursor: pointer;
}

.kk-field input[type="file"]::file-selector-button:hover {
  border-color: var(--kk-piros);
  color: var(--kk-piros);
}

.kk-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kk-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}

.kk-inline-form {
  display: grid;
  gap: 8px;
}

.kk-inline-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--app-heading);
}

.kk-inline-form button {
  width: auto;
  min-width: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
}

.kk-card__actions {
  display: grid;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--app-line-strong);
}

.kk-error {
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 99, 103, 0.12);
  border: 1.5px solid var(--kk-piros);
  color: var(--app-body);
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- regi kk-* osztalyok (szavazas, zsuri, admin) ---------- */

.kk-greeting {
  font-size: 26px;
}

.kk-summary {
  font-size: 15px;
  font-weight: 400;
  color: var(--app-muted);
  max-width: 640px;
}

.kk-group {
  display: grid;
  gap: 14px;
}

.kk-group__title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--app-heading);
}

.kk-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .kk-cards {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}

.kk-card__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--kk-piros);
}

.kk-card__name {
  font-size: 17px;
  margin: 6px 0 4px;
}

.kk-card__link {
  color: inherit;
}

.kk-card__subtitle {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.5;
}

.kk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--app-muted);
}

.kk-card__hint {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--app-muted);
  line-height: 1.5;
}

.kk-card__cta {
  font-weight: 700;
}

.kk-empty {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--app-line-strong);
  background: var(--app-tint-soft);
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- szavazas + skala ---------- */

.kk-vote__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kk-vote__photo {
  width: 100%;
  border-radius: var(--r-md);
}

button.kk-vote__pick {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 12px;
  background: var(--app-surface);
  color: var(--app-heading);
  border: 1.5px solid var(--app-line);
  border-radius: var(--r-lg);
  box-shadow: var(--app-shadow);
  font-size: 14px;
  letter-spacing: 0.06em;
}

button.kk-vote__pick:hover {
  background: var(--app-tint-soft);
  border-color: var(--kk-piros);
  color: var(--kk-piros);
}

.kk-vote__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.kk-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kk-scale__step {
  display: grid;
  place-items: center;
  min-width: 44px;
  padding: 10px 0;
  border-radius: var(--r-md);
  border: 1.5px solid var(--app-line-strong);
  background: var(--app-surface);
  font-weight: 700;
  cursor: pointer;
}

.kk-scale__step:hover {
  border-color: var(--kk-piros);
  color: var(--kk-piros);
}

/* ---------- admin tabla ---------- */

.kk-table-wrap {
  overflow-x: auto;
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--r-lg);
  box-shadow: var(--app-shadow);
}

.kk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.kk-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--app-muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--app-line);
  background: var(--app-tint-soft);
}

.kk-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--app-line);
  vertical-align: top;
}

.kk-table tr:last-child td {
  border-bottom: 0;
}
