:root {
  --bg: #020713;
  --bg-deep: #01050d;
  --bg-soft: #06101f;
  --panel: #071526;
  --panel-2: #091b2d;
  --panel-3: #0b2133;
  --border: rgba(78, 208, 220, .14);
  --border-soft: rgba(255, 255, 255, .055);
  --border-strong: rgba(38, 222, 230, .52);
  --text: #f3fbff;
  --muted: #8298aa;
  --accent: #1ddce3;
  --accent-bright: #4cf7f2;
  --accent-deep: #0d94ac;
  --accent-dark: #07536b;
  --shadow: 0 24px 62px rgba(0, 0, 0, .42);
  --glow: 0 0 30px rgba(29, 220, 227, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 11% -5%, rgba(20, 188, 208, .14), transparent 31%),
    radial-gradient(circle at 92% 8%, rgba(7, 103, 137, .16), transparent 25%),
    linear-gradient(180deg, #030a17 0%, var(--bg) 48%, var(--bg-deep) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(86, 225, 230, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 225, 230, .018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(3px);
}
.ambient-one {
  width: 420px;
  height: 420px;
  left: -230px;
  top: 180px;
  border: 1px solid rgba(31, 219, 227, .07);
  box-shadow: 0 0 0 74px rgba(31, 219, 227, .012), 0 0 0 148px rgba(31, 219, 227, .009);
}
.ambient-two {
  width: 340px;
  height: 340px;
  right: -190px;
  top: 540px;
  border: 1px solid rgba(31, 219, 227, .05);
  box-shadow: 0 0 0 64px rgba(31, 219, 227, .01), 0 0 0 128px rgba(31, 219, 227, .007);
}

.page-shell {
  width: min(1640px, calc(100% - 54px));
  margin: 0 auto;
}

.site-header {
  min-height: 112px;
  display: grid;
  grid-template-columns: 340px 1fr 250px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  min-width: 0;
}
.brand-logo-wrap {
  position: relative;
  flex: 0 0 72px;
  width: 72px;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}
.brand-logo {
  display: block;
  width: 70px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(25, 218, 226, .16));
}
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-copy strong { font-size: 21px; letter-spacing: .075em; white-space: nowrap; }
.brand-copy strong em { color: var(--accent); font-style: normal; text-shadow: 0 0 16px rgba(29, 220, 227, .25); }
.brand-copy small { color: #68869b; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 112px;
  gap: 4px;
}
.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 21px;
  color: #8da2b2;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover {
  color: #eefcff;
  background: linear-gradient(180deg, transparent, rgba(29, 220, 227, .035));
}
.main-nav a.active { color: white; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  box-shadow: 0 -5px 20px rgba(29, 220, 227, .45);
}
.main-nav a.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px rgba(76, 247, 242, .8);
}

.login-area { display: flex; justify-content: flex-end; }
.login-button {
  min-width: 156px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(9, 29, 47, .96), rgba(4, 15, 28, .98));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s, box-shadow .2s;
}
.login-button:hover {
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(10, 37, 56, .98), rgba(5, 20, 34, .98));
  transform: translateY(-1px);
  box-shadow: var(--glow);
}
.login-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  background: rgba(29, 220, 227, .07);
  border: 1px solid rgba(29, 220, 227, .2);
  border-radius: 3px;
  box-shadow: inset 0 0 18px rgba(29, 220, 227, .035);
}
.login-icon svg { width: 17px; height: 17px; }
.login-button span:last-child { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; gap: 5px; }
.login-button small { color: #7890a2; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.login-button strong { font-size: 13px; }

.hero {
  position: relative;
  min-height: 316px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 50px 55px;
  margin-top: 31px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(3, 11, 23, .99) 0%, rgba(3, 13, 26, .94) 49%, rgba(2, 11, 23, .73) 100%),
    radial-gradient(circle at 83% 44%, rgba(22, 181, 199, .23), transparent 27%),
    linear-gradient(140deg, #0a2131, #03101f 68%);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.02);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  background:
    radial-gradient(circle at 70% 50%, transparent 0 17%, rgba(29, 220, 227, .05) 17.2% 17.7%, transparent 18% 28%, rgba(29, 220, 227, .035) 28.2% 28.7%, transparent 29%),
    repeating-linear-gradient(120deg, transparent 0 29px, rgba(80, 227, 233, .015) 30px 31px);
  opacity: .9;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  box-shadow: 0 0 18px rgba(29, 220, 227, .35);
}
.hero-waterline {
  position: absolute;
  left: 58%;
  right: -5%;
  bottom: 62px;
  height: 1px;
  opacity: .45;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 -13px 0 rgba(29, 220, 227, .08), 0 13px 0 rgba(29, 220, 227, .05);
  transform: skewY(-2deg);
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-shadow: 0 0 14px rgba(29, 220, 227, .18);
}
.eyebrow::before, .section-kicker::before {
  content: "";
  width: 23px;
  height: 1px;
  background: var(--accent-bright);
  box-shadow: 0 0 9px rgba(29, 220, 227, .5);
}
.hero h1 {
  margin: 16px 0 16px;
  font-size: clamp(40px, 4vw, 65px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 780;
}
.hero h1 span {
  color: #92b8c4;
  text-shadow: 0 0 28px rgba(26, 185, 204, .08);
}
.hero p {
  max-width: 700px;
  margin: 0;
  color: #899eae;
  font-size: 14px;
  line-height: 1.8;
}
.hero-stat {
  position: relative;
  z-index: 1;
  min-width: 190px;
  padding: 25px 27px;
  border-left: 2px solid var(--accent-bright);
  background: linear-gradient(145deg, rgba(7, 26, 42, .78), rgba(3, 13, 25, .82));
  backdrop-filter: blur(9px);
  box-shadow: inset 0 0 35px rgba(29, 220, 227, .025), 0 18px 44px rgba(0,0,0,.16);
}
.hero-stat span { color: var(--accent-bright); font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.hero-stat strong { display: block; margin: 5px 0 0; font-size: 55px; letter-spacing: -.06em; line-height: 1; }
.hero-stat small { color: var(--muted); font-size: 11px; }

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.waters-section { padding: 18px 0 60px; min-width: 0; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.section-heading h2 { margin: 8px 0 0; font-size: 24px; letter-spacing: -.026em; }

.water-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.water-card {
  position: relative;
  min-width: 0;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: linear-gradient(145deg, #0a1a2a, #05111f 72%);
  cursor: pointer;
  box-shadow: 0 13px 30px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.015);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.water-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), rgba(29, 220, 227, .15));
  box-shadow: 0 0 18px rgba(29, 220, 227, .35);
  transition: width .25s ease;
}
.water-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 220, 227, .31);
  box-shadow: 0 21px 42px rgba(0,0,0,.33), 0 0 25px rgba(29, 220, 227, .045);
}
.water-card:hover::before { width: 72%; }
.water-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,9,18,.04) 8%, rgba(3,12,23,.33) 52%, rgba(2,8,17,.96) 100%),
    radial-gradient(circle at 68% 24%, rgba(28, 183, 204, .20), transparent 32%),
    linear-gradient(150deg, #0b2a39, #0a1d2d 48%, #06121f 100%);
}
.water-visual::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 35px;
  height: 49px;
  border-radius: 50%;
  background: rgba(52, 200, 209, .09);
  box-shadow: 0 -18px 0 rgba(35, 139, 160, .06), 0 13px 0 rgba(13, 79, 101, .11);
  transform: rotate(-2deg);
}
.water-visual::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 20px;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(65, 225, 230, .065);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(65,225,230,.012);
}
.water-index {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 16px;
  color: rgba(157, 214, 222, .32);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .15em;
}
.water-card-content {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.water-card-title { min-width: 0; }
.water-card-title small {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.water-card-title strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f1fbff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.water-card-arrow {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #9ab1bf;
  border: 1px solid rgba(83, 215, 222, .12);
  border-radius: 3px;
  background: rgba(9, 33, 48, .45);
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.water-card:hover .water-card-arrow {
  color: var(--accent-bright);
  border-color: rgba(29, 220, 227, .38);
  background: rgba(29, 220, 227, .055);
  transform: translateX(2px);
}
.water-card.placeholder .water-card-title small::after { content: " · Platzhalter"; color: #526b7c; }

.side-column {
  display: grid;
  grid-template-rows: repeat(2, minmax(255px, 1fr));
  gap: 18px;
  padding: 49px 0 60px;
}
.side-box {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background:
    radial-gradient(circle at 75% 18%, rgba(29, 220, 227, .065), transparent 35%),
    linear-gradient(145deg, rgba(9, 27, 43, .88), rgba(4, 14, 26, .96));
  box-shadow: 0 13px 30px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.018);
}
.side-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  box-shadow: 0 0 16px rgba(29, 220, 227, .28);
}

.site-footer {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #536d7d;
  border-top: 1px solid var(--border);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .085em;
}

.toast {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  max-width: 350px;
  padding: 14px 17px;
  color: #e7fbff;
  border: 1px solid rgba(29, 220, 227, .32);
  border-radius: 4px;
  background: rgba(5, 20, 34, .97);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 28px rgba(29,220,227,.06);
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1220px) {
  .site-header { grid-template-columns: 300px 1fr 190px; gap: 12px; }
  .main-nav a { padding: 0 12px; }
  .main-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
  .water-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .page-shell { width: min(100% - 30px, 1640px); }
  .site-header { grid-template-columns: 1fr auto; min-height: auto; padding: 12px 0 0; }
  .brand-logo-wrap { width: 62px; height: 76px; flex-basis: 62px; }
  .brand-logo { width: 60px; height: 76px; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; height: 58px; overflow-x: auto; }
  .main-nav a { flex: 0 0 auto; }
  .login-button { min-width: auto; }
  .main-layout { grid-template-columns: 1fr; }
  .water-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; padding: 0 0 45px; }
  .side-box { min-height: 210px; }
}
@media (max-width: 650px) {
  .brand { gap: 9px; }
  .brand-logo-wrap { width: 52px; height: 64px; flex-basis: 52px; }
  .brand-logo { width: 50px; height: 64px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { display: none; }
  .login-button small { display: none; }
  .login-button { width: 50px; padding: 0; justify-content: center; }
  .login-button span:last-child { display: none; }
  .section-heading { align-items: center; }
  .side-column { grid-template-columns: 1fr; }
  .water-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .water-card { height: 164px; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px 0; }
}
@media (max-width: 410px) {
  .brand-copy { display: none; }
  .water-grid { grid-template-columns: 1fr; }
}

/* v0.1.6 – kompakte runde Gewässerauswahl */
.main-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
}

.waters-section {
  padding-top: 15px;
}

.section-heading {
  margin-bottom: 10px;
}

.water-grid {
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 12px 14px;
  align-items: start;
}

.water-card {
  width: min(100%, 132px);
  height: auto;
  aspect-ratio: 1 / 1;
  justify-self: center;
  border-radius: 50%;
  border: 1px solid rgba(80, 224, 231, .16);
  background: #061422;
  box-shadow:
    0 11px 24px rgba(0, 0, 0, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .015);
}

.water-card::before {
  inset: -1px;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.water-card:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(76, 247, 242, .66);
  box-shadow:
    0 15px 28px rgba(0, 0, 0, .34),
    0 0 0 3px rgba(29, 220, 227, .055),
    0 0 25px rgba(29, 220, 227, .16);
}

.water-card:hover::before {
  width: auto;
  border-color: rgba(76, 247, 242, .34);
  box-shadow: inset 0 0 20px rgba(29, 220, 227, .07);
}

.water-visual {
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(2,9,18,.03) 0%, rgba(3,12,23,.18) 44%, rgba(2,8,17,.94) 100%),
    radial-gradient(circle at 65% 24%, rgba(40, 222, 228, .23), transparent 31%),
    radial-gradient(circle at 32% 70%, rgba(8, 92, 118, .25), transparent 42%),
    linear-gradient(145deg, #0c3142, #071b2b 50%, #04101d 100%);
}

.water-visual::before {
  left: -18%;
  right: -18%;
  bottom: 22px;
  height: 34px;
  background: rgba(52, 200, 209, .09);
  box-shadow: 0 -12px 0 rgba(35, 139, 160, .055), 0 10px 0 rgba(13, 79, 101, .10);
}

.water-visual::after {
  top: 15px;
  right: 20px;
  width: 30px;
  height: 30px;
}

.water-index {
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: .13em;
  color: rgba(170, 232, 238, .38);
}

.water-card-content {
  left: 13px;
  right: 13px;
  bottom: 21px;
  display: block;
  text-align: center;
}

.water-card-title strong {
  overflow: visible;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.16;
  font-size: 10.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,.85);
}

.water-card-title small,
.water-card-arrow {
  display: none;
}

.water-card.placeholder .water-card-title small::after {
  content: none;
}

.side-column {
  grid-template-rows: repeat(2, 272px);
  gap: 18px;
  padding: 42px 0 60px;
}

.side-box {
  min-height: 272px;
}

@media (max-width: 1220px) {
  .water-grid { grid-template-columns: repeat(5, minmax(100px, 1fr)); }
  .water-card { width: min(100%, 118px); }
}

@media (max-width: 940px) {
  .water-grid { grid-template-columns: repeat(5, minmax(96px, 1fr)); }
  .water-card { width: min(100%, 116px); }
  .side-column { padding-top: 0; }
}

@media (max-width: 700px) {
  .water-grid { grid-template-columns: repeat(3, minmax(92px, 1fr)); gap: 12px; }
  .water-card { width: min(100%, 118px); }
}

@media (max-width: 410px) {
  .water-grid { grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}

/* v0.1.7 – größere, gleichmäßig verteilte Gewässerkacheln */
.main-layout {
  grid-template-columns: minmax(0, 950px) 330px;
  justify-content: center;
  gap: 16px;
}

.waters-section {
  padding-top: 15px;
}

.section-heading {
  margin-bottom: 10px;
}

.water-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 10px;
  width: 100%;
}

.water-card {
  width: 164px;
  max-width: 100%;
}

.side-column {
  grid-template-rows: repeat(2, 344px);
  gap: 16px;
  padding: 46px 0 60px;
}

.side-box {
  min-height: 344px;
}

@media (max-width: 1330px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 14px;
  }

  .water-grid {
    grid-template-columns: repeat(5, minmax(108px, 1fr));
    gap: 14px 8px;
  }

  .water-card {
    width: 146px;
  }

  .side-column {
    grid-template-rows: repeat(2, 305px);
    gap: 14px;
    padding-top: 46px;
  }

  .side-box {
    min-height: 305px;
  }
}

@media (max-width: 1040px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .water-grid {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 14px 10px;
  }

  .water-card {
    width: 150px;
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 14px;
    padding: 0 0 45px;
  }

  .side-box {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .water-grid {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 14px 10px;
  }

  .water-card {
    width: 142px;
  }
}

@media (max-width: 500px) {
  .water-grid {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 12px 8px;
  }

  .water-card {
    width: 138px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }
}

/* v0.1.8 – abgerundete rechteckige Gewässerkacheln */
.water-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 10px;
}

.water-card {
  width: 100%;
  max-width: none;
  height: 138px;
  aspect-ratio: auto;
  justify-self: stretch;
  border-radius: 18px;
}

.water-card::before,
.water-visual {
  border-radius: 18px;
}

.water-card::before {
  inset: -1px;
}

.water-card:hover {
  transform: translateY(-3px);
}

.water-visual::before {
  left: -8%;
  right: -8%;
  bottom: 25px;
  height: 31px;
}

.water-visual::after {
  top: 16px;
  right: 18px;
  width: 31px;
  height: 31px;
}

.water-index {
  top: 13px;
  left: 15px;
  transform: none;
  font-size: 8px;
}

.water-card-content {
  left: 14px;
  right: 14px;
  bottom: 14px;
  text-align: left;
}

.water-card-title strong {
  font-size: 12px;
  line-height: 1.18;
  -webkit-line-clamp: 2;
}

.side-column {
  grid-template-rows: repeat(2, 289px);
  gap: 16px;
  padding-top: 46px;
}

.side-box {
  min-height: 289px;
}

@media (max-width: 1330px) {
  .water-grid {
    gap: 12px 8px;
  }

  .water-card {
    width: 100%;
    height: 124px;
    border-radius: 16px;
  }

  .water-card::before,
  .water-visual {
    border-radius: 16px;
  }

  .side-column {
    grid-template-rows: repeat(2, 259px);
    gap: 14px;
  }

  .side-box {
    min-height: 259px;
  }
}

@media (max-width: 1040px) {
  .water-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .water-card {
    width: 100%;
    height: 128px;
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 14px;
    padding: 0 0 45px;
  }

  .side-box {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .water-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .water-card {
    width: 100%;
    height: 126px;
  }
}

@media (max-width: 500px) {
  .water-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .water-card {
    width: 100%;
    height: 122px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }
}

/* v0.1.9 – größere Kacheln und volle Seitenbreite */
.page-shell {
  width: min(1760px, calc(100% - 30px));
}

.main-layout {
  grid-template-columns: minmax(0, 1fr) 350px;
  justify-content: stretch;
  gap: 16px;
  width: 100%;
}

.waters-section {
  width: 100%;
  padding-top: 15px;
}

.water-grid {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 12px;
}

.water-card {
  width: 100%;
  height: 166px;
  border-radius: 20px;
}

.water-card::before,
.water-visual {
  border-radius: 20px;
}

.water-card-title strong {
  font-size: 13px;
}

.side-column {
  grid-template-rows: repeat(2, 345px);
  gap: 14px;
  padding-top: 46px;
}

.side-box {
  min-height: 345px;
}

@media (max-width: 1500px) {
  .page-shell {
    width: min(100% - 28px, 1680px);
  }

  .main-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
  }

  .water-grid {
    gap: 12px 10px;
  }

  .water-card {
    height: 152px;
    border-radius: 18px;
  }

  .water-card::before,
  .water-visual {
    border-radius: 18px;
  }

  .side-column {
    grid-template-rows: repeat(2, 315px);
    gap: 14px;
  }

  .side-box {
    min-height: 315px;
  }
}

@media (max-width: 1180px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 12px;
  }

  .water-card {
    height: 138px;
  }

  .side-column {
    grid-template-rows: repeat(2, 287px);
  }

  .side-box {
    min-height: 287px;
  }
}

@media (max-width: 1040px) {
  .page-shell {
    width: min(100% - 24px, 1760px);
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .water-card {
    height: 140px;
  }

  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 12px;
    padding: 0 0 45px;
  }

  .side-box {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .water-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .water-card {
    height: 132px;
  }
}

@media (max-width: 500px) {
  .page-shell {
    width: min(100% - 18px, 1760px);
  }

  .water-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .water-card {
    height: 124px;
    border-radius: 16px;
  }

  .water-card::before,
  .water-visual {
    border-radius: 16px;
  }

  .side-column {
    grid-template-columns: 1fr;
  }
}


/* v0.1.10 – rechte Spalte bündig mit Gewässerkacheln + News/Spot der Woche */
.side-column {
  grid-template-rows: repeat(2, 346px);
  gap: 14px;
  padding-top: 38px;
}

.side-box {
  min-height: 346px;
  padding: 24px;
}

.side-box-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(78, 208, 220, .10);
}

.side-box-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.side-box-header h2 {
  margin: 0;
  color: #f2fbff;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.side-box-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  border: 1px solid rgba(29, 220, 227, .16);
  border-radius: 10px;
  background: rgba(29, 220, 227, .045);
  box-shadow: inset 0 0 20px rgba(29, 220, 227, .03);
}

.side-box-icon svg {
  width: 19px;
  height: 19px;
}

.news-list {
  position: relative;
  z-index: 2;
  padding-top: 18px;
}

.news-item time {
  display: block;
  margin-bottom: 7px;
  color: #5e8798;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.news-item strong {
  display: block;
  margin-bottom: 8px;
  color: #eafaff;
  font-size: 14px;
}

.news-item p,
.spot-week-placeholder p {
  margin: 0;
  color: #7891a3;
  font-size: 11px;
  line-height: 1.65;
}

.news-placeholder {
  margin-top: 18px;
  padding-top: 15px;
  color: #516d7d;
  border-top: 1px solid rgba(255,255,255,.045);
  font-size: 10px;
}

.spot-week-placeholder {
  position: relative;
  z-index: 2;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 6px;
  text-align: center;
}

.spot-week-marker {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border: 1px solid rgba(76, 247, 242, .3);
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 58% 42%, rgba(76, 247, 242, .16), rgba(29, 220, 227, .035) 58%, transparent 60%);
  box-shadow: 0 0 25px rgba(29, 220, 227, .08);
  transform: rotate(-45deg);
}

.spot-week-marker::after {
  content: "";
  position: absolute;
}

.spot-week-placeholder strong {
  margin-bottom: 8px;
  color: #dffbff;
  font-size: 14px;
}

@media (max-width: 1500px) {
  .side-column {
    grid-template-rows: repeat(2, 318px);
    padding-top: 38px;
  }

  .side-box {
    min-height: 318px;
    padding: 21px;
  }

  .spot-week-placeholder {
    min-height: 190px;
  }
}

@media (max-width: 1180px) {
  .side-column {
    grid-template-rows: repeat(2, 290px);
    padding-top: 38px;
  }

  .side-box {
    min-height: 290px;
    padding: 18px;
  }

  .spot-week-placeholder {
    min-height: 164px;
  }
}

@media (max-width: 1040px) {
  .side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    padding-top: 0;
  }

  .side-box {
    min-height: 230px;
  }

  .spot-week-placeholder {
    min-height: 112px;
  }
}

@media (max-width: 500px) {
  .side-column {
    grid-template-columns: 1fr;
  }
}


/* v0.1.11 – kompakter Kopfbereich */
.site-header {
  grid-template-columns: 120px 1fr 250px;
}
.brand { gap: 0; }
.login-button {
  min-width: 205px;
  justify-content: center;
}
.login-button > strong {
  font-size: 13px;
  letter-spacing: .01em;
  white-space: nowrap;
}
@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .login-button { min-width: 190px; }
}
@media (max-width: 650px) {
  .login-button { width: auto; min-width: 168px; padding: 0 12px; }
  .login-button > strong { font-size: 11px; }
}

/* v0.1.12 – getrennte Anmeldung/Registrierung + Spot-Übersicht */
.site-header {
  grid-template-columns: 120px 1fr 300px;
}

.auth-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}

.auth-button {
  height: 43px;
  padding: 0 17px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.auth-login {
  color: #d9edf4;
  border: 1px solid rgba(83, 215, 222, .18);
  background: rgba(7, 25, 40, .72);
}

.auth-login:hover {
  color: #fff;
  border-color: rgba(76, 247, 242, .48);
  background: rgba(10, 39, 55, .92);
  transform: translateY(-1px);
}

.auth-register {
  color: #021115;
  border: 1px solid rgba(76, 247, 242, .68);
  background: linear-gradient(135deg, #53fbf5, #18cbd8);
  box-shadow: 0 8px 25px rgba(29, 220, 227, .10);
}

.auth-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(29, 220, 227, .19);
}

.water-card-content {
  align-items: flex-end;
}

.water-spot-count {
  flex: 0 0 auto;
  padding: 5px 7px;
  color: #8eeff1;
  border: 1px solid rgba(76, 247, 242, .13);
  border-radius: 8px;
  background: rgba(2, 17, 28, .62);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .04em;
  white-space: nowrap;
}

.spots-view {
  padding: 24px 0 62px;
}

.spots-toolbar {
  display: grid;
  grid-template-columns: 150px 1fr 104px;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.back-button {
  height: 44px;
  align-self: center;
  color: #9cb3c1;
  border: 1px solid rgba(78, 208, 220, .14);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(9, 27, 43, .78), rgba(4, 14, 26, .94));
  cursor: pointer;
  transition: color .18s, border-color .18s, transform .18s;
}

.back-button:hover {
  color: var(--accent-bright);
  border-color: rgba(76, 247, 242, .42);
  transform: translateX(-2px);
}

.spots-heading h1 {
  margin: 8px 0 4px;
  color: #f2fbff;
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1;
  letter-spacing: -.045em;
}

.spots-heading p {
  margin: 0;
  color: #718b9b;
  font-size: 11px;
}

.spots-counter {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(78, 208, 220, .14);
  border-radius: 12px;
  background: rgba(7, 25, 40, .62);
}

.spots-counter strong {
  color: var(--accent-bright);
  font-size: 25px;
  line-height: 1;
}

.spots-counter span {
  margin-top: 5px;
  color: #6f8999;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.spots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.spot-card {
  position: relative;
  min-height: 272px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 17px;
  border: 1px solid rgba(78, 208, 220, .12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 86% 6%, rgba(29, 220, 227, .10), transparent 31%),
    linear-gradient(150deg, rgba(10, 31, 48, .96), rgba(4, 14, 26, .98));
  box-shadow: 0 15px 32px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.018);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.spot-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  box-shadow: 0 0 14px rgba(29, 220, 227, .28);
}

.spot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 247, 242, .34);
  box-shadow: 0 21px 38px rgba(0,0,0,.30), 0 0 25px rgba(29,220,227,.045);
}

.spot-card-top,
.spot-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spot-number,
.spot-age {
  color: #577485;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spot-card-main {
  padding: 26px 0 18px;
}

.spot-water {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.spot-card h3 {
  margin: 0 0 8px;
  color: #f0fbff;
  font-size: 17px;
  letter-spacing: -.025em;
}

.spot-card-main p {
  margin: 0;
  color: #738d9d;
  font-size: 10px;
  line-height: 1.55;
}

.spot-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: auto;
}

.spot-facts div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 9px;
  background: rgba(1, 10, 18, .32);
}

.spot-facts span {
  display: block;
  margin-bottom: 4px;
  color: #4f6b7d;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.spot-facts strong {
  display: block;
  overflow: hidden;
  color: #d8f3f7;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spot-card-footer {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.045);
}

.spot-player,
.spot-likes {
  color: #6d8898;
  font-size: 9px;
  font-weight: 700;
}

.spot-player {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.spot-player i {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 1px solid rgba(76, 247, 242, .22);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #7fe8ea 0 17%, transparent 18%), linear-gradient(180deg, transparent 45%, rgba(76,247,242,.18) 46% 80%, transparent 81%);
}

.spot-likes { color: #78cbd0; }

.spots-empty {
  grid-column: 1 / -1;
  padding: 70px 30px;
  text-align: center;
  border: 1px dashed rgba(76,247,242,.18);
  border-radius: 16px;
  color: #7992a1;
}

.auth-overlay[hidden],
.page-view[hidden] { display: none !important; }

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 13, .82);
  backdrop-filter: blur(9px);
}

body.modal-open { overflow: hidden; }

.auth-modal {
  position: relative;
  width: min(590px, 100%);
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(76, 247, 242, .20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(29, 220, 227, .11), transparent 35%),
    linear-gradient(145deg, #081b2c, #03101d 72%);
  box-shadow: 0 35px 90px rgba(0,0,0,.58), 0 0 45px rgba(29,220,227,.055);
}

.auth-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 34px;
  height: 34px;
  color: #7491a2;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 9px;
  background: rgba(0,0,0,.14);
  cursor: pointer;
  font-size: 22px;
}

.auth-form {
  position: relative;
  z-index: 1;
}

.auth-kicker {
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .18em;
}

.auth-form h2 {
  margin: 7px 0 8px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.auth-form > p {
  margin: 0 0 23px;
  color: #718a9b;
  font-size: 11px;
  line-height: 1.6;
}

.auth-form label {
  display: block;
  min-width: 0;
  margin-bottom: 13px;
}

.auth-form label > span {
  display: block;
  margin-bottom: 6px;
  color: #7994a4;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  height: 45px;
  padding: 0 13px;
  color: #effcff;
  outline: none;
  border: 1px solid rgba(78, 208, 220, .13);
  border-radius: 9px;
  background: rgba(1, 9, 17, .50);
  transition: border-color .18s, box-shadow .18s;
}

.auth-form input:focus {
  border-color: rgba(76,247,242,.48);
  box-shadow: 0 0 0 3px rgba(29,220,227,.055);
}

.auth-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 5px;
  color: #031215;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #54faf4, #18c9d6);
  font-weight: 800;
  cursor: pointer;
}

.auth-switch {
  width: 100%;
  margin-top: 15px;
  padding: 0;
  color: #7195a5;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.auth-switch:hover { color: var(--accent-bright); }

@media (max-width: 1280px) {
  .site-header { grid-template-columns: 105px 1fr 260px; }
  .auth-button { padding: 0 13px; }
  .spots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .auth-actions { grid-column: 2; }
  .spots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spots-toolbar { grid-template-columns: 120px 1fr 80px; gap: 14px; }
}

@media (max-width: 650px) {
  .auth-actions { gap: 6px; }
  .auth-button { height: 39px; padding: 0 10px; font-size: 10px; }
  .spots-toolbar { grid-template-columns: 1fr 68px; align-items: center; }
  .back-button { grid-column: 1 / -1; width: 120px; }
  .spots-heading { min-width: 0; }
  .spots-heading h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .spots-grid { grid-template-columns: 1fr; }
  .auth-modal { padding: 28px 19px 22px; }
  .auth-field-row { grid-template-columns: 1fr; gap: 0; }
}


/* v0.1.13 – Moskito-See mit echtem Gewässerbild */
.water-visual.has-image {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.water-visual.mosquito-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/moskito-see.webp?v=0.1.117');
}
.water-visual.elk-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/elk-lake.webp?v=0.1.117');
}
.water-visual.windenbach-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/windenbach.webp?v=0.1.117');
}
.water-visual.has-image::before,
.water-visual.has-image::after {
  display: none;
}


/* v0.1.14 – Kescherbild als Spotbild + Spot-Detailansicht */
.spot-card {
  min-height: 0;
  padding: 0;
}
.spot-card-image {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(76,247,242,.10);
  background: #04111d;
}
.spot-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}
.spot-card:hover .spot-card-image img {
  transform: scale(1.035);
  filter: brightness(1.06);
}
.spot-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2,8,17,.76) 100%);
  pointer-events: none;
}
.spot-image-badges {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.spot-image-badges span {
  padding: 5px 7px;
  color: #baf9fa;
  border: 1px solid rgba(76,247,242,.18);
  border-radius: 7px;
  background: rgba(2,12,21,.72);
  backdrop-filter: blur(5px);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spot-card-body { padding: 15px 16px 16px; }
.spot-card-body .spot-card-main { padding: 13px 0 15px; }
.spot-card-body .spot-water { margin: 0; }

.spot-detail-view { padding: 24px 0 64px; }
.spot-detail-toolbar {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.spot-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(310px, .65fr);
  gap: 18px;
  align-items: start;
}
.spot-media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.spot-media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(78,208,220,.13);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9,27,43,.9), rgba(4,14,26,.98));
  box-shadow: 0 15px 34px rgba(0,0,0,.22);
}
.spot-media-card.featured { grid-column: 1 / -1; }
.spot-media-image {
  height: 250px;
  overflow: hidden;
  background: #04111d;
}
.spot-media-card.featured .spot-media-image { height: 390px; }
.spot-media-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.spot-media-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 15px;
}
.spot-media-card figcaption strong {
  color: #f0fcff;
  font-size: 12px;
}
.spot-media-card figcaption span {
  color: #688696;
  font-size: 9px;
  text-align: right;
}
.spot-detail-info {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(78,208,220,.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(29,220,227,.09), transparent 34%),
    linear-gradient(145deg, rgba(9,27,43,.91), rgba(4,14,26,.98));
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.detail-info-head h2 {
  margin: 8px 0 8px;
  color: #f1fcff;
  font-size: 22px;
  letter-spacing: -.035em;
}
.detail-info-head p {
  margin: 0 0 19px;
  color: #718c9c;
  font-size: 10px;
  line-height: 1.6;
}
.detail-facts { display: grid; gap: 8px; }
.detail-facts div {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 10px;
  background: rgba(1,10,18,.34);
}
.detail-facts span,
.detail-facts strong { display: block; }
.detail-facts span {
  margin-bottom: 4px;
  color: #4f6e7f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.detail-facts strong {
  color: #dff7fa;
  font-size: 11px;
}
.detail-media-status {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(76,247,242,.10);
  border-radius: 10px;
  background: rgba(29,220,227,.035);
}
.detail-media-status span,
.detail-media-status small { display: block; }
.detail-media-status span {
  color: var(--accent-bright);
  font-size: 9px;
  font-weight: 800;
}
.detail-media-status small {
  margin-top: 4px;
  color: #648392;
  font-size: 8px;
}
@media (max-width: 1050px) {
  .spot-detail-layout { grid-template-columns: 1fr; }
  .spot-detail-info { position: static; }
}
@media (max-width: 650px) {
  .spot-detail-toolbar { grid-template-columns: 1fr; gap: 13px; }
  .spot-media-gallery { grid-template-columns: 1fr; }
  .spot-media-card.featured { grid-column: auto; }
  .spot-media-card.featured .spot-media-image,
  .spot-media-image { height: 230px; }
  .spot-media-card figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .spot-media-card figcaption span { text-align: left; }
}


/* v0.1.15 – reduzierte Spot-Karteninformationen */
.spot-image-badges { display: none !important; }
.spot-card-body.compact {
  padding: 14px 16px 15px;
}
.spot-coordinate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.spot-coordinate span {
  color: #5d7b8d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spot-coordinate strong {
  color: #eefeff;
  font-size: 18px;
  letter-spacing: -.02em;
}
.spot-card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.spot-card-meta .spot-player {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spot-card-meta .spot-age {
  grid-column: 1 / -1;
  color: #597789;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
}
.spot-card-meta .spot-likes {
  justify-self: end;
}


/* v0.1.16 – Spot hinzufügen nur für registrierte/angemeldete Benutzer */
.spots-toolbar {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
}
.spots-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
}
.add-spot-button {
  min-width: 148px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: #031215;
  border: 1px solid rgba(76,247,242,.64);
  border-radius: 12px;
  background: linear-gradient(135deg, #54faf4, #18c9d6);
  box-shadow: 0 10px 28px rgba(29,220,227,.10);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.add-spot-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 32px rgba(29,220,227,.18);
}
.add-spot-button.is-locked {
  color: #8ba7b6;
  border-color: rgba(78,208,220,.15);
  background: linear-gradient(145deg, rgba(9,27,43,.78), rgba(4,14,26,.94));
  box-shadow: none;
}
.add-spot-plus {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.spot-add-overlay[hidden] { display: none !important; }
.spot-add-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,5,13,.84);
  backdrop-filter: blur(10px);
}
.spot-add-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(850px, calc(100vh - 40px));
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(76,247,242,.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 3%, rgba(29,220,227,.10), transparent 30%),
    linear-gradient(145deg, rgba(8,27,43,.99), rgba(3,12,23,.995));
  box-shadow: 0 35px 80px rgba(0,0,0,.55);
}
.spot-add-form h2 {
  margin: 8px 0 4px;
  color: #f2fbff;
  font-size: 28px;
}
.spot-add-form > p {
  margin: 0 0 24px;
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
}
.spot-add-form label > span,
.spot-upload-field > span {
  display: block;
  margin-bottom: 7px;
  color: #8da9b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.spot-add-form input[type="text"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  color: #e9fbff;
  border: 1px solid rgba(78,208,220,.13);
  border-radius: 9px;
  outline: none;
  background: rgba(1,9,17,.50);
}
.spot-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}
.spot-upload-field {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(78,208,220,.11);
  border-radius: 11px;
  background: rgba(2,14,24,.58);
}
.spot-upload-field.optional { grid-column: 1 / -1; }
.spot-upload-field b { color: #5deff0; font-size: 7px; }
.spot-upload-field em { color: #607d8d; font-size: 7px; font-style: normal; }
.spot-upload-field input[type="file"] {
  width: 100%;
  color: #7894a3;
  font-size: 9px;
}
.spot-upload-field small {
  display: block;
  margin-top: 8px;
  color: #526f80;
  font-size: 8px;
  line-height: 1.45;
}
@media (max-width: 940px) {
  .spots-toolbar { grid-template-columns: 120px minmax(0,1fr); }
  .spots-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .add-spot-button { min-height: 58px; }
  .spots-counter { min-width: 80px; min-height: 58px; }
}
@media (max-width: 650px) {
  .spots-toolbar { grid-template-columns: 1fr; }
  .spots-actions { grid-column: auto; display: grid; grid-template-columns: 1fr 72px; }
  .add-spot-button { min-width: 0; min-height: 54px; }
  .spots-counter { min-height: 54px; }
  .spot-add-modal { padding: 27px 18px 20px; }
  .spot-upload-grid { grid-template-columns: 1fr; }
  .spot-upload-field.optional { grid-column: auto; }
}


/* v0.1.17 – aufgeräumte Spot-Aktionen & professionelle Upload-Kacheln */
.spots-toolbar {
  grid-template-columns: 150px minmax(0, 1fr) auto;
}
.spots-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.spots-counter {
  display: none !important;
}
.add-spot-button {
  min-height: 54px;
  min-width: 162px;
}
.add-spot-button.is-locked::after {
  content: none !important;
  display: none !important;
}

.spot-add-modal {
  width: min(920px, 100%);
}
.spot-upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}
.spot-upload-field,
.spot-upload-field.optional {
  position: relative;
  grid-column: auto;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 16px 15px;
  overflow: hidden;
  border: 1px solid rgba(78, 208, 220, .14);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 18%, rgba(40, 226, 231, .09), transparent 34%),
    linear-gradient(150deg, rgba(8, 29, 45, .90), rgba(2, 13, 24, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.018);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.spot-upload-field::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(87, 224, 231, .13);
  border-radius: 11px;
  pointer-events: none;
}
.spot-upload-field:hover {
  transform: translateY(-2px);
  border-color: rgba(76, 247, 242, .38);
  box-shadow: 0 16px 35px rgba(0,0,0,.24), 0 0 28px rgba(29,220,227,.07);
}
.spot-upload-field.has-file {
  border-color: rgba(76, 247, 242, .48);
  background:
    radial-gradient(circle at 50% 18%, rgba(40, 226, 231, .14), transparent 34%),
    linear-gradient(150deg, rgba(9, 36, 52, .96), rgba(2, 14, 25, .98));
}
.spot-file-input {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 4;
}
.upload-visual {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 5px 0 13px;
  color: #51edf0;
  border: 1px solid rgba(76,247,242,.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 35%, rgba(70,242,242,.13), transparent 50%),
    linear-gradient(145deg, rgba(12,48,63,.88), rgba(3,20,32,.94));
  box-shadow: inset 0 0 22px rgba(29,220,227,.04), 0 10px 24px rgba(0,0,0,.20);
}
.upload-visual svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 8px rgba(48,226,232,.10));
}
.upload-title-row {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 7px !important;
  color: #dffcff !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.upload-title-row strong {
  color: #eafcff;
  font-size: 12px;
  font-weight: 800;
}
.spot-upload-field .upload-title-row b,
.spot-upload-field .upload-title-row em {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.spot-upload-field .upload-title-row b {
  color: #43edf0;
  border: 1px solid rgba(76,247,242,.17);
  background: rgba(31,205,214,.06);
}
.spot-upload-field .upload-title-row em {
  color: #6e8b9b;
  border: 1px solid rgba(119,157,174,.11);
  background: rgba(97,128,143,.05);
  font-style: normal;
}
.spot-upload-field small {
  position: relative;
  z-index: 1;
  min-height: 34px;
  margin: 0;
  color: #607f90;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}
.upload-select {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 7px 10px;
  color: #a6f6f6;
  border: 1px solid rgba(76,247,242,.16);
  border-radius: 8px;
  background: rgba(8,41,53,.66);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
}
.upload-file-name {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 9px;
  overflow: hidden;
  color: #476878;
  font-size: 7.5px;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spot-upload-field.has-file .upload-file-name {
  color: #6eecee;
}
.spot-upload-field.has-file .upload-select {
  color: #031518;
  border-color: rgba(76,247,242,.48);
  background: linear-gradient(135deg, #4df2ef, #18c9d6);
}

@media (max-width: 940px) {
  .spots-actions { grid-column: auto; }
  .add-spot-button { min-height: 52px; }
  .spot-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-upload-field.optional { grid-column: 1 / -1; min-height: 210px; }
}
@media (max-width: 650px) {
  .spots-actions { display: flex; grid-column: auto; }
  .add-spot-button { width: 100%; min-height: 52px; }
  .spot-upload-grid { grid-template-columns: 1fr; }
  .spot-upload-field.optional { grid-column: auto; }
  .spot-upload-field { min-height: 220px; }
}


/* v0.1.18 – reduzierte Bildplatzhalter mit Fragezeichen */
.upload-question-mark {
  display: block;
  color: #70f7f4;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 18px rgba(76, 247, 242, .22);
  transform: translateY(-1px);
}
.spot-upload-field:hover .upload-question-mark {
  color: #b8fffd;
  text-shadow: 0 0 22px rgba(76, 247, 242, .34);
}


/* v0.1.19 – Spot-Detailseite auf Bilder + Kernmetadaten reduziert */
.spot-detail-layout-clean {
  display: block;
}
.spot-detail-layout-clean .spot-media-gallery {
  width: 100%;
}
.spot-detail-heading h1 {
  margin-bottom: 4px;
}
.spot-detail-heading p {
  margin: 0;
  color: #6f8e9f;
  font-size: 9px;
  font-weight: 700;
}
.spot-media-card figcaption {
  justify-content: flex-start;
  padding: 12px 15px 13px;
}
.spot-media-card figcaption strong {
  color: #bffbfc;
  font-size: 10px;
  letter-spacing: .04em;
}
@media (min-width: 900px) {
  .spot-detail-layout-clean .spot-media-card.featured .spot-media-image {
    height: 460px;
  }
}


/* v0.1.20 – kompakte Info-Spalte auf der Spot-Detailseite */
.spot-detail-layout-clean {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .55fr);
  gap: 18px;
  align-items: start;
}
.spot-detail-layout-clean .spot-media-gallery {
  width: 100%;
}
.spot-detail-info-compact {
  padding: 19px;
}
.spot-detail-info-compact .detail-info-head h2 {
  margin-bottom: 14px;
  font-size: 19px;
}
.spot-detail-info-compact .detail-facts {
  gap: 7px;
}
.spot-detail-info-compact .detail-facts div {
  padding: 10px 11px;
}
.spot-like-button {
  width: 100%;
  margin-top: 12px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(76,247,242,.18);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(11,43,57,.68), rgba(4,20,31,.92));
  color: #c9fbfb;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.spot-like-button:hover {
  transform: translateY(-1px);
  border-color: rgba(76,247,242,.48);
  color: #fff;
  box-shadow: 0 0 22px rgba(29,220,227,.1);
}
.spot-like-button.is-liked {
  border-color: rgba(76,247,242,.58);
  background: linear-gradient(145deg, rgba(15,78,86,.72), rgba(4,28,39,.94));
}
.spot-like-heart {
  color: #5cf9f4;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 980px) {
  .spot-detail-layout-clean { grid-template-columns: 1fr; }
  .spot-detail-info-compact { position: static; }
}


/* v0.1.21 – Clip, eigenes Spotbild und kompakte 4-Bilder-Ansicht */
.spot-card-body-overview {
  padding: 11px 14px 13px !important;
}
.spot-card-body-overview .spot-card-meta {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.spot-card-body-overview .spot-age {
  margin-top: 1px;
}

.spot-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.spot-add-form .spot-form-fields input[type="text"] {
  width: 100%;
}

.spot-add-modal {
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 28px);
  padding: 27px 30px 24px;
}
.spot-upload-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}
.spot-upload-field,
.spot-upload-field.optional {
  grid-column: auto;
  min-height: 205px;
  padding: 14px 12px 12px;
  border-radius: 13px;
}
.upload-visual {
  width: 62px;
  height: 62px;
  margin: 2px 0 9px;
  border-radius: 16px;
}
.upload-question-mark {
  font-size: 39px;
}
.spot-upload-field small {
  min-height: 29px;
  font-size: 7.5px;
}
.upload-select {
  margin-top: 8px;
  padding: 6px 8px;
}
.upload-file-name {
  margin-top: 7px;
}

.spot-detail-layout-clean {
  grid-template-columns: minmax(0, 1.72fr) minmax(270px, .52fr);
  gap: 16px;
}
.spot-detail-layout-clean .spot-media-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spot-detail-layout-clean .spot-media-card,
.spot-detail-layout-clean .spot-media-card.featured {
  grid-column: auto;
  border-radius: 13px;
}
.spot-detail-layout-clean .spot-media-image,
.spot-detail-layout-clean .spot-media-card.featured .spot-media-image {
  height: clamp(150px, 19vh, 195px);
}
.spot-detail-layout-clean .spot-media-card figcaption {
  min-height: 38px;
  padding: 9px 12px 10px;
}
.spot-detail-layout-clean .spot-media-card figcaption strong {
  font-size: 9px;
}
.spot-detail-info-compact {
  padding: 17px;
}
.spot-detail-info-compact .detail-info-head h2 {
  margin: 7px 0 11px;
  font-size: 18px;
}
.spot-detail-info-compact .detail-facts {
  gap: 6px;
}
.spot-detail-info-compact .detail-facts div {
  padding: 8px 10px;
}
.spot-like-button {
  margin-top: 9px;
  min-height: 42px;
}

@media (max-width: 1000px) {
  .spot-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-detail-layout-clean { grid-template-columns: 1fr; }
  .spot-detail-info-compact { position: static; }
}
@media (max-width: 650px) {
  .spot-form-fields { grid-template-columns: 1fr; }
  .spot-upload-grid { grid-template-columns: 1fr; }
  .spot-upload-field,
  .spot-upload-field.optional { min-height: 190px; }
  .spot-detail-layout-clean .spot-media-gallery { grid-template-columns: 1fr; }
  .spot-detail-layout-clean .spot-media-image,
  .spot-detail-layout-clean .spot-media-card.featured .spot-media-image { height: 220px; }
}

/* v0.1.23 – ruhiger Orange-Like + echte Konten/Profile */
.spot-like-button {
  border-color: rgba(211, 137, 68, .30);
  background: linear-gradient(145deg, rgba(75, 43, 22, .58), rgba(34, 22, 18, .90));
  color: #e8c49f;
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}
.spot-like-button:hover {
  border-color: rgba(225, 151, 77, .58);
  color: #f5dcc2;
  box-shadow: 0 0 22px rgba(211, 137, 68, .10);
}
.spot-like-button.is-liked {
  border-color: rgba(225, 151, 77, .68);
  background: linear-gradient(145deg, rgba(98, 54, 25, .72), rgba(45, 28, 19, .94));
}
.spot-like-heart {
  color: #d99553;
  text-shadow: 0 0 13px rgba(217, 149, 83, .16);
}

.user-profile-button,
.logout-button {
  min-height: 43px;
  border-radius: 9px;
  font: inherit;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.user-profile-button {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 7px;
  color: #d8f3f7;
  border: 1px solid rgba(76, 247, 242, .18);
  background: linear-gradient(145deg, rgba(8, 29, 44, .90), rgba(4, 17, 29, .96));
}
.user-profile-button:hover {
  transform: translateY(-1px);
  border-color: rgba(76, 247, 242, .42);
  box-shadow: 0 8px 24px rgba(29, 220, 227, .06);
}
.user-avatar-mini {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76, 247, 242, .28);
  border-radius: 50%;
  color: #bafffb;
  background: radial-gradient(circle at 35% 30%, rgba(76,247,242,.17), rgba(8,31,45,.88));
  font-size: 12px;
  font-weight: 850;
}
.user-profile-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.user-profile-copy small {
  color: #56798a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.user-profile-copy strong {
  max-width: 118px;
  overflow: hidden;
  color: #eaffff;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logout-button {
  padding: 0 12px;
  color: #7f99a8;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(4, 14, 25, .68);
  font-size: 9px;
  font-weight: 750;
}
.logout-button:hover {
  color: #d4e9ee;
  border-color: rgba(255,255,255,.14);
  background: rgba(9, 25, 38, .92);
}

.auth-submit:disabled,
.profile-form-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

.profile-view {
  padding: 24px 0 64px;
}
.profile-toolbar {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}
.profile-card,
.profile-edit-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(76, 247, 242, .13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 8%, rgba(29, 220, 227, .075), transparent 34%),
    linear-gradient(145deg, rgba(8, 27, 43, .92), rgba(3, 14, 25, .98));
  box-shadow: 0 18px 44px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.018);
}
.profile-card::before,
.profile-edit-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 115px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}
.profile-card {
  min-height: 300px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 28px;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76, 247, 242, .26);
  border-radius: 50%;
  color: #d9ffff;
  background:
    radial-gradient(circle at 34% 28%, rgba(76,247,242,.22), transparent 34%),
    linear-gradient(145deg, #0b3143, #061723 72%);
  box-shadow: inset 0 0 30px rgba(29,220,227,.055), 0 0 30px rgba(29,220,227,.035);
  font-size: 34px;
  font-weight: 850;
}
.profile-main { min-width: 0; }
.profile-label {
  color: var(--accent-bright);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .16em;
}
.profile-main h2 {
  margin: 7px 0 8px;
  color: #f1fdff;
  font-size: 29px;
  letter-spacing: -.035em;
}
.profile-main > p {
  max-width: 700px;
  min-height: 44px;
  margin: 0 0 18px;
  color: #7896a6;
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-line;
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.profile-facts div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 10px;
  background: rgba(1, 10, 18, .29);
}
.profile-facts span {
  display: block;
  margin-bottom: 5px;
  color: #4f7081;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.profile-facts strong {
  display: block;
  overflow: hidden;
  color: #cce9ef;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-edit-button {
  min-height: 40px;
  padding: 0 14px;
  color: #0a2229;
  border: 1px solid rgba(76,247,242,.48);
  border-radius: 9px;
  background: linear-gradient(135deg, #55eee9, #27c8d2);
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}
.profile-edit-button:hover { filter: brightness(1.06); }

.profile-edit-form {
  padding: 24px;
}
.profile-edit-form .detail-info-head h2 {
  margin: 7px 0 18px;
  font-size: 20px;
}
.profile-edit-form label {
  display: block;
  margin-bottom: 13px;
}
.profile-edit-form label > span {
  display: block;
  margin-bottom: 6px;
  color: #7795a5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
}
.profile-edit-form input,
.profile-edit-form select,
.profile-edit-form textarea {
  width: 100%;
  color: #e5f9fc;
  border: 1px solid rgba(76,247,242,.13);
  border-radius: 9px;
  outline: none;
  background: rgba(1, 10, 18, .55);
  font: inherit;
  font-size: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.profile-edit-form input,
.profile-edit-form select { height: 42px; padding: 0 12px; }
.profile-edit-form textarea { resize: vertical; min-height: 108px; padding: 11px 12px; line-height: 1.55; }
.profile-edit-form input:focus,
.profile-edit-form select:focus,
.profile-edit-form textarea:focus {
  border-color: rgba(76,247,242,.40);
  box-shadow: 0 0 0 3px rgba(29,220,227,.045);
}
.profile-edit-form input:disabled {
  color: #688493;
  background: rgba(1,8,15,.40);
  cursor: not-allowed;
}
.profile-edit-form label small {
  display: block;
  margin-top: 5px;
  color: #506b7b;
  font-size: 7px;
  line-height: 1.45;
}
.profile-form-actions {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 9px;
  margin-top: 18px;
}
.profile-form-actions .auth-submit { margin: 0; }
.profile-cancel-button {
  min-height: 43px;
  color: #829dac;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  background: rgba(3,14,25,.74);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.profile-cancel-button:hover { color: #d8edf1; border-color: rgba(255,255,255,.14); }

@media (max-width: 1120px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-edit-form { max-width: 720px; }
}
@media (max-width: 760px) {
  .auth-actions { gap: 6px; }
  .user-profile-button { min-width: 0; }
  .user-profile-copy small { display: none; }
  .logout-button { display: none; }
  .profile-card { grid-template-columns: 72px 1fr; padding: 20px; }
  .profile-avatar { width: 64px; height: 64px; font-size: 24px; }
  .profile-edit-button { grid-column: 1 / -1; justify-self: start; }
  .profile-facts { grid-template-columns: 1fr; }
}



/* v0.1.25 – hochwertigere Profile + Badge-System */
.profile-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.profile-showcase {
  min-height: 0;
  display: block;
  padding: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 4%, rgba(29,220,227,.10), transparent 28%),
    radial-gradient(circle at 12% 96%, rgba(32,103,130,.08), transparent 35%),
    linear-gradient(145deg, rgba(8,27,43,.96), rgba(3,14,25,.99));
}
.profile-showcase::before {
  width: 170px;
}
.profile-cover {
  position: relative;
  height: 112px;
  overflow: hidden;
  border-bottom: 1px solid rgba(76,247,242,.08);
  background:
    linear-gradient(110deg, rgba(29,220,227,.10), transparent 36%),
    radial-gradient(circle at 76% 18%, rgba(76,247,242,.10), transparent 25%),
    linear-gradient(145deg, #082333, #051624 70%);
}
.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 50%;
}
.profile-cover::before {
  width: 250px;
  height: 250px;
  top: -178px;
  right: 9%;
}
.profile-cover::after {
  width: 150px;
  height: 150px;
  top: -106px;
  right: 14%;
}
.profile-cover-mark {
  position: absolute;
  right: 34px;
  bottom: 12px;
  color: rgba(136,255,252,.055);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -.06em;
}
.profile-cover-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, rgba(76,247,242,.85), rgba(76,247,242,.08), transparent);
}
.profile-identity-row {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  padding: 0 28px 22px;
}
.profile-identity-row .profile-avatar {
  width: 104px;
  height: 104px;
  margin-top: -42px;
  border: 4px solid #061621;
  outline: 1px solid rgba(76,247,242,.30);
  background:
    radial-gradient(circle at 32% 26%, rgba(76,247,242,.27), transparent 33%),
    linear-gradient(145deg, #0d3b4e, #071b29 72%);
  box-shadow: 0 14px 36px rgba(0,0,0,.35), 0 0 28px rgba(29,220,227,.055);
  font-size: 36px;
}
.profile-identity-row .profile-main {
  padding-top: 18px;
}
.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 5px 0 7px;
}
.profile-name-row h2 {
  margin: 0;
  font-size: 31px;
}
.profile-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(76,247,242,.16);
  border-radius: 999px;
  color: #8fb1bd;
  background: rgba(5,22,34,.72);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-role-pill.is-admin {
  border-color: rgba(220,145,72,.34);
  color: #e7ae71;
  background: rgba(95,54,23,.23);
}
.profile-identity-row .profile-main > p {
  max-width: 760px;
  min-height: 0;
  margin: 0;
  color: #7899a8;
  font-size: 10px;
  line-height: 1.7;
}
.profile-identity-row .profile-edit-button {
  margin-top: 18px;
}
.profile-showcase > .profile-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 28px 24px;
}
.profile-showcase > .profile-facts div {
  padding: 14px;
  border-color: rgba(76,247,242,.065);
  background: linear-gradient(145deg, rgba(4,19,30,.72), rgba(2,12,21,.58));
}
.profile-showcase > .profile-facts span {
  margin-bottom: 7px;
}
.profile-showcase > .profile-facts strong {
  font-size: 10px;
}
.profile-badge-section {
  margin: 0 28px 28px;
  padding: 20px;
  border: 1px solid rgba(76,247,242,.075);
  border-radius: 14px;
  background: rgba(1,10,18,.30);
}
.profile-badge-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.profile-badge-heading h3 {
  margin: 4px 0 0;
  color: #eafcff;
  font-size: 18px;
}
.profile-badge-hint {
  color: #4f7180;
  font-size: 8px;
}
.profile-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.profile-badge-card,
.profile-badge-empty {
  min-width: 0;
  min-height: 104px;
  border: 1px solid rgba(76,247,242,.10);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(8,31,44,.70), rgba(3,16,26,.78));
}
.profile-badge-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}
.profile-badge-card::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  right: -32px;
  top: -35px;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 50%;
}
.profile-badge-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76,247,242,.24);
  border-radius: 13px;
  color: #adfffb;
  background: radial-gradient(circle at 35% 28%, rgba(76,247,242,.17), rgba(6,28,40,.92));
  box-shadow: inset 0 0 18px rgba(29,220,227,.045);
  font-size: 18px;
  font-weight: 900;
}
.profile-badge-copy {
  min-width: 0;
}
.profile-badge-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #e8fbfd;
  font-size: 10px;
}
.profile-badge-copy p {
  margin: 0 0 7px;
  color: #6d8d9b;
  font-size: 8px;
  line-height: 1.5;
}
.profile-badge-copy small {
  color: #426978;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .10em;
}
.profile-badge-card.is-admin {
  border-color: rgba(220,145,72,.26);
  background:
    radial-gradient(circle at 92% 5%, rgba(220,145,72,.10), transparent 36%),
    linear-gradient(145deg, rgba(50,31,21,.76), rgba(18,18,21,.88));
}
.profile-badge-card.is-admin::after {
  border-color: rgba(220,145,72,.10);
}
.profile-badge-card.is-admin .profile-badge-icon {
  border-color: rgba(220,145,72,.42);
  color: #f0bc82;
  background: radial-gradient(circle at 35% 28%, rgba(220,145,72,.20), rgba(52,31,19,.88));
}
.profile-badge-card.is-spot-week {
  border-color: rgba(223,157,78,.22);
}
.profile-badge-card.is-spot-week .profile-badge-icon {
  border-color: rgba(223,157,78,.34);
  color: #efbd7d;
  background: radial-gradient(circle at 35% 28%, rgba(223,157,78,.15), rgba(42,28,20,.88));
}
.profile-badge-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 16px;
  border-style: dashed;
}
.profile-badge-empty-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(76,247,242,.14);
  border-radius: 11px;
  color: #5c8c99;
  background: rgba(4,21,32,.62);
  font-size: 18px;
}
.profile-badge-empty strong {
  display: block;
  color: #a8c7cf;
  font-size: 9px;
}
.profile-badge-empty p {
  margin: 3px 0 0;
  color: #526f7d;
  font-size: 8px;
  line-height: 1.5;
}
.profile-edit-form {
  width: min(720px, 100%);
}

@media (max-width: 980px) {
  .profile-showcase > .profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .profile-cover { height: 88px; }
  .profile-identity-row {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    padding: 0 18px 18px;
  }
  .profile-identity-row .profile-avatar {
    width: 68px;
    height: 68px;
    margin-top: -28px;
    font-size: 24px;
  }
  .profile-identity-row .profile-main { padding-top: 12px; }
  .profile-name-row h2 { font-size: 23px; }
  .profile-identity-row .profile-edit-button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0;
  }
  .profile-showcase > .profile-facts { padding: 0 18px 18px; }
  .profile-badge-section { margin: 0 18px 18px; padding: 16px; }
  .profile-badges { grid-template-columns: 1fr; }
  .profile-badge-hint { display: none; }
}
@media (max-width: 520px) {
  .profile-showcase > .profile-facts { grid-template-columns: 1fr; }
}

/* v0.1.26 – Profilstatistiken + Bild-Badges direkt am Benutzernamen */
.profile-cover-mark { display: none !important; }
.profile-name-row {
  gap: 12px;
}
.profile-name-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
}
.profile-name-badge {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 10px;
  filter: drop-shadow(0 7px 13px rgba(0,0,0,.28));
  transition: transform .16s ease, filter .16s ease;
}
.profile-name-badge:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.34));
}
.profile-name-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.profile-showcase > .profile-facts.profile-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.profile-stats > div:nth-child(-n+3) strong {
  color: #dffeff;
  font-size: 21px;
  line-height: 1;
}
.profile-stats > div:nth-child(1) strong,
.profile-stats > div:nth-child(2) strong {
  text-shadow: 0 0 18px rgba(76,247,242,.10);
}
.profile-badge-icon {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.profile-badge-icon img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}
.profile-badge-card.is-admin .profile-badge-icon,
.profile-badge-card.is-spot-week .profile-badge-icon {
  border: 0;
  background: transparent;
}
.profile-badge-section {
  background:
    radial-gradient(circle at 92% 10%, rgba(76,247,242,.045), transparent 28%),
    rgba(1,10,18,.30);
}

@media (max-width: 1180px) {
  .profile-showcase > .profile-facts.profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .profile-name-badge { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .profile-showcase > .profile-facts.profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .profile-showcase > .profile-facts.profile-stats { grid-template-columns: 1fr; }
}


/* v0.1.28 – kompaktere Spot-Detailansicht */
.spot-detail-heading h1 {
  display: none !important;
}
.spot-detail-heading p {
  margin-top: 5px;
}

@media (min-width: 1001px) {
  .spot-detail-layout-clean {
    grid-template-columns: minmax(560px, 720px) minmax(280px, 330px);
    justify-content: center;
    gap: 18px;
  }
  .spot-detail-layout-clean .spot-media-gallery {
    width: 100%;
    max-width: 720px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .spot-detail-layout-clean .spot-media-image,
  .spot-detail-layout-clean .spot-media-card.featured .spot-media-image {
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

@media (max-width: 1000px) and (min-width: 651px) {
  .spot-detail-layout-clean .spot-media-gallery {
    width: min(100%, 760px);
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spot-detail-layout-clean .spot-media-image,
  .spot-detail-layout-clean .spot-media-card.featured .spot-media-image {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }
}

/* v0.1.29 – News-Detailseite + Administration */
.news-item-clickable {
  padding: 10px 11px;
  margin: -10px -11px 4px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.news-item-clickable + .news-item-clickable { margin-top: 6px; }
.news-item-clickable:hover,
.news-item-clickable:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(76,247,242,.14);
  background: rgba(29,220,227,.035);
}
.news-item-clickable p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-detail-view,
.admin-view {
  padding: 36px 0 54px;
}
.news-detail-toolbar,
.admin-toolbar {
  margin-bottom: 22px;
}
.news-article-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px 42px 46px;
  border: 1px solid rgba(76,247,242,.11);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 4%, rgba(29,220,227,.07), transparent 28%),
    linear-gradient(145deg, rgba(8,27,43,.94), rgba(3,13,24,.98));
  box-shadow: 0 24px 62px rgba(0,0,0,.24);
}
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #638495;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-article-meta span::before { content: "•"; margin-right: 12px; color: var(--accent); }
.news-article-page h2 {
  margin: 14px 0 14px;
  color: #f3fdff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.news-article-lead {
  max-width: 780px;
  margin: 0 0 28px;
  color: #94b7c4;
  font-size: 14px;
  line-height: 1.75;
}
.news-article-content {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.055);
  color: #c0d8df;
  font-size: 13px;
  line-height: 1.9;
}
.news-article-content p { margin: 0 0 18px; }

.admin-access-button {
  min-height: 43px;
  padding: 0 13px;
  color: #f2c89a;
  border: 1px solid rgba(219,146,74,.30);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(71,42,20,.72), rgba(34,23,18,.86));
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.admin-access-button:hover {
  transform: translateY(-1px);
  border-color: rgba(226,164,95,.58);
  background: linear-gradient(145deg, rgba(85,48,21,.82), rgba(40,25,18,.92));
}
@media (min-width: 1181px) {
  .site-header:has(.admin-access-button) { grid-template-columns: 120px 1fr 430px; }
  .site-header:has(.admin-access-button) .user-profile-button { min-width: 170px; }
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.admin-sidebar,
.admin-panel {
  border: 1px solid rgba(76,247,242,.10);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7,24,39,.95), rgba(3,13,24,.98));
  box-shadow: 0 18px 46px rgba(0,0,0,.19);
}
.admin-sidebar {
  position: sticky;
  top: 16px;
  padding: 12px;
}
.admin-nav-button {
  width: 100%;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 0 13px;
  color: #7895a4;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.admin-nav-button:hover { color: #d7f4f7; background: rgba(29,220,227,.035); }
.admin-nav-button.active {
  color: #dfffff;
  border-color: rgba(76,247,242,.15);
  background: linear-gradient(135deg, rgba(29,220,227,.095), rgba(13,148,172,.035));
  box-shadow: inset 3px 0 var(--accent);
}
.admin-sidebar-note {
  margin-top: 14px;
  padding: 14px 12px 4px;
  color: #4e6c7d;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 8px;
  line-height: 1.6;
}
.admin-content { min-width: 0; }
.admin-panel { min-height: 420px; padding: 24px; }
.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.admin-panel-heading h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.025em; }
.admin-status-pill {
  padding: 5px 9px;
  color: #e7aa67;
  border: 1px solid rgba(219,146,74,.30);
  border-radius: 999px;
  background: rgba(219,146,74,.08);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .10em;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.admin-stat-grid article {
  min-height: 104px;
  padding: 17px;
  border: 1px solid rgba(76,247,242,.085);
  border-radius: 11px;
  background: rgba(1,10,18,.38);
}
.admin-stat-grid span { display:block; color:#587989; font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.admin-stat-grid strong { display:block; margin-top:12px; color:#e8fdff; font-size:28px; line-height:1; }
.admin-overview-card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 11px;
  background: rgba(3,14,25,.50);
}
.admin-overview-card strong { color:#dff9fc; font-size:12px; }
.admin-overview-card p { margin:7px 0 0; color:#6f8b9b; font-size:10px; line-height:1.7; }
.admin-primary-button {
  min-height: 40px;
  padding: 0 14px;
  color: #09252a;
  border: 1px solid rgba(76,247,242,.50);
  border-radius: 9px;
  background: linear-gradient(135deg, #55eee9, #27c8d2);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.admin-news-form {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(76,247,242,.12);
  border-radius: 11px;
  background: rgba(1,10,18,.50);
}
.admin-news-form label { display:block; margin-bottom:12px; }
.admin-news-form label > span { display:block; margin-bottom:6px; color:#7392a2; font-size:8px; font-weight:800; letter-spacing:.06em; }
.admin-news-form input,
.admin-news-form textarea,
.admin-user-search input {
  width:100%;
  color:#e9fbfd;
  border:1px solid rgba(76,247,242,.13);
  border-radius:9px;
  outline:none;
  background:rgba(1,9,17,.62);
  font:inherit;
  font-size:10px;
}
.admin-news-form input { height:42px; padding:0 12px; }
.admin-news-form textarea { min-height:78px; padding:11px 12px; resize:vertical; line-height:1.6; }
.admin-news-form input:focus,
.admin-news-form textarea:focus,
.admin-user-search input:focus { border-color:rgba(76,247,242,.38); box-shadow:0 0 0 3px rgba(29,220,227,.04); }
.admin-form-actions { display:grid; grid-template-columns:120px 180px; justify-content:end; gap:8px; }
.admin-form-actions .auth-submit { margin:0; }
.admin-list { display:grid; gap:9px; }
.admin-list-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:10px;
  background:rgba(2,12,21,.45);
}
.admin-list-card-main { min-width:0; }
.admin-list-card-main > strong { display:block; margin:5px 0 6px; color:#def8fb; font-size:12px; }
.admin-list-card-main > p { margin:0; color:#6f8d9c; font-size:9px; line-height:1.55; }
.admin-list-meta { display:flex; gap:11px; color:#4c7080; font-size:7px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.admin-list-actions,
.admin-user-actions { display:flex; flex-wrap:wrap; gap:6px; }
.admin-list-actions button,
.admin-user-actions button {
  min-height:32px;
  padding:0 10px;
  color:#97b5c0;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:rgba(7,23,35,.72);
  font:inherit;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}
.admin-list-actions button:hover,
.admin-user-actions button:hover { color:#e6fcff; border-color:rgba(76,247,242,.20); }
.admin-list-actions .danger,
.admin-user-actions .danger { color:#e79b9b; border-color:rgba(221,91,91,.16); background:rgba(68,20,24,.30); }
.admin-user-actions button:disabled { opacity:.3; cursor:not-allowed; }
.admin-empty,
.admin-table-empty { padding:28px; color:#647f8e; text-align:center; font-size:9px; }
.admin-empty strong { display:block; margin-bottom:6px; color:#bcd6dc; font-size:11px; }
.admin-empty p { margin:0; }
.admin-user-search { width:min(260px, 42vw); }
.admin-user-search input { height:38px; padding:0 12px; }
.admin-user-table-wrap { overflow-x:auto; }
.admin-user-table { width:100%; border-collapse:collapse; min-width:820px; }
.admin-user-table th {
  padding:0 11px 10px;
  color:#527383;
  border-bottom:1px solid rgba(255,255,255,.055);
  text-align:left;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.admin-user-table td {
  padding:13px 11px;
  color:#9cb7c1;
  border-bottom:1px solid rgba(255,255,255,.04);
  font-size:9px;
  vertical-align:middle;
}
.admin-user-cell strong { display:block; color:#e1f8fb; font-size:10px; }
.admin-user-cell span { display:block; margin-top:4px; color:#587786; font-size:8px; }
.admin-user-cell b { display:inline-block; margin-top:5px; color:#dfa361; font-size:7px; letter-spacing:.08em; }
.admin-user-status-wrap { display:flex; flex-direction:column; align-items:flex-start; gap:5px; max-width:180px; }
.admin-user-status-wrap small { max-width:170px; overflow:hidden; color:#6d8794; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }
.admin-user-status {
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.admin-user-status.is-active { color:#78d9b4; border:1px solid rgba(63,185,139,.20); background:rgba(34,112,82,.12); }
.admin-user-status.is-banned { color:#e99b9b; border:1px solid rgba(217,89,89,.22); background:rgba(101,31,36,.16); }
.admin-user-table td > strong { display:block; color:#d9f0f4; font-size:11px; }
.admin-user-table td > small { display:block; margin-top:4px; color:#587584; font-size:7px; }

@media (max-width: 980px) {
  .admin-layout { grid-template-columns:1fr; }
  .admin-sidebar { position:static; display:flex; flex-wrap:wrap; gap:6px; }
  .admin-nav-button { width:auto; margin:0; }
  .admin-sidebar-note { width:100%; }
  .admin-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .admin-access-button { padding:0 9px; font-size:8px; }
  .news-article-page { padding:26px 20px 32px; }
  .admin-panel { padding:18px 14px; }
  .admin-panel-heading { align-items:flex-start; flex-direction:column; }
  .admin-user-search { width:100%; }
  .admin-form-actions { grid-template-columns:1fr 1fr; }
  .admin-list-card { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
  .admin-stat-grid { grid-template-columns:1fr; }
  .admin-nav-button { flex:1 1 100%; }
  .admin-form-actions { grid-template-columns:1fr; }
}

/* v0.1.30 – Profil vereinfacht + neues Adminbadge */
.profile-name-badge.is-admin {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  margin: -11px 0;
  border-radius: 14px;
  filter: drop-shadow(0 9px 18px rgba(0,0,0,.34));
}
.profile-name-badge.is-admin:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 12px 21px rgba(0,0,0,.42));
}
@media (max-width: 760px) {
  .profile-name-badge.is-admin {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    margin: -9px 0;
  }
}


/* v0.1.31 – Profil-Showcase, größere Administration und Rich-News-Editor */
.profile-showcase {
  border-color: rgba(76,247,242,.12);
  background: linear-gradient(145deg, rgba(5,22,34,.96), rgba(2,12,22,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.025);
}
.profile-cover { height: 118px; }
.profile-identity-row {
  grid-template-columns: 106px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 0 30px 30px;
}
.profile-identity-row .profile-avatar {
  width: 96px;
  height: 96px;
  margin-top: -36px;
  border-radius: 22px;
  font-size: 34px;
  box-shadow: 0 14px 32px rgba(0,0,0,.30), 0 0 0 6px rgba(2,13,23,.94);
}
.profile-main {
  display: flex;
  align-items: center;
  min-height: 150px;
}
.profile-name-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.profile-name-row h2 {
  margin: 0;
  color: #effdff;
  font-size: 34px;
  letter-spacing: -.035em;
}
.profile-name-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-name-badge {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid rgba(76,247,242,.12);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(7,30,43,.92), rgba(2,15,25,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 8px 20px rgba(0,0,0,.18);
  transform: none !important;
  transition: none !important;
}
.profile-name-badge:hover {
  transform: none !important;
  filter: none !important;
}
.profile-name-badge img { width:100%; height:100%; object-fit:contain; display:block; }
.profile-name-badge.is-admin {
  width: 148px;
  height: 148px;
  flex-basis: 148px;
  padding: 8px;
  border-radius: 22px;
  border-color: rgba(224,92,81,.20);
  background: radial-gradient(circle at 50% 35%, rgba(113,28,31,.30), rgba(15,15,24,.90) 65%);
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 12px 28px rgba(0,0,0,.23);
}
.profile-showcase > .profile-facts.profile-stats {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  padding: 0 30px 30px;
}
.profile-showcase > .profile-facts.profile-stats div {
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(76,247,242,.075);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(3,18,30,.72), rgba(1,11,20,.55));
}
.profile-showcase > .profile-facts.profile-stats span { font-size: 10px; letter-spacing:.08em; }
.profile-showcase > .profile-facts.profile-stats strong { margin-top:10px; font-size:24px; color:#eaffff; }
.profile-edit-button { min-height:44px; padding:0 16px; font-size:10px; }

/* Administration: bewusst größer und deutlich lesbarer */
.admin-toolbar .spots-heading h1 { font-size: 34px; }
.admin-layout { grid-template-columns: 220px minmax(0,1fr); gap: 18px; }
.admin-sidebar { padding: 12px; }
.admin-nav-button { min-height: 46px; padding: 0 14px; font-size: 13px; }
.admin-sidebar-note { font-size: 12px; line-height: 1.55; }
.admin-panel { min-height: 470px; padding: 30px; }
.admin-panel-heading h2 { font-size: 28px; }
.admin-panel .section-kicker { font-size: 11px; }
.admin-status-pill { padding: 7px 11px; font-size: 11px; }
.admin-stat-grid { gap: 14px; }
.admin-stat-grid article { min-height: 122px; padding: 20px; }
.admin-stat-grid span { font-size: 12px; }
.admin-stat-grid strong { margin-top: 14px; font-size: 34px; }
.admin-overview-card { padding: 24px; }
.admin-overview-card strong { font-size: 16px; }
.admin-overview-card p { margin-top:9px; font-size:14px; line-height:1.65; }
.admin-primary-button { min-height: 44px; padding: 0 17px; font-size: 13px; }
.admin-news-form { padding: 24px; }
.admin-news-form label { margin-bottom: 18px; }
.admin-news-form label > span { margin-bottom: 8px; font-size: 12px; }
.admin-news-form input,
.admin-news-form textarea,
.admin-user-search input { font-size: 14px; }
.admin-news-form input { height: 48px; padding: 0 14px; }
.admin-news-form textarea { padding: 13px 14px; line-height: 1.6; }
.admin-form-actions { grid-template-columns: 130px 190px; gap: 10px; }
.admin-list { gap: 12px; }
.admin-list-card { padding: 20px; }
.admin-list-card-main > strong { font-size: 16px; }
.admin-list-card-main > p { font-size: 13px; line-height: 1.55; }
.admin-list-meta { font-size: 10px; }
.admin-list-actions button,
.admin-user-actions button { min-height: 38px; padding:0 12px; font-size: 12px; }
.admin-empty,
.admin-table-empty { font-size: 13px; }
.admin-empty strong { font-size: 15px; }
.admin-user-search { width:min(330px,45vw); }
.admin-user-search input { height:44px; padding:0 14px; }
.admin-user-table { min-width: 900px; }
.admin-user-table th { padding:0 13px 12px; font-size: 11px; }
.admin-user-table td { padding:16px 13px; font-size:13px; }
.admin-user-cell strong { font-size:14px; }
.admin-user-cell span { font-size:12px; }
.admin-user-cell b { font-size:10px; }
.admin-user-status-wrap small { max-width:210px; font-size:11px; }
.admin-user-status { min-height:28px; padding:0 10px; font-size:10px; }
.admin-user-table td > strong { font-size:15px; }
.admin-user-table td > small { font-size:11px; }

/* Rich-Text Editor */
.admin-news-editor-label { display:block; margin-bottom:18px; }
.admin-news-editor-label > span { display:block; margin-bottom:8px; color:#7392a2; font-size:12px; font-weight:800; letter-spacing:.06em; }
.admin-news-editor-shell {
  overflow: hidden;
  border: 1px solid rgba(76,247,242,.15);
  border-radius: 12px;
  background: rgba(1,9,17,.62);
}
.admin-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid rgba(76,247,242,.10);
  background: rgba(5,22,34,.88);
  position: sticky;
  top: 0;
  z-index: 2;
}
.admin-editor-toolbar button,
.admin-editor-toolbar select {
  min-height: 34px;
  padding: 0 10px;
  color: #b9d8df;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: rgba(2,14,24,.90);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.admin-editor-toolbar button:hover,
.admin-editor-toolbar select:hover { color:#efffff; border-color:rgba(76,247,242,.24); }
.admin-editor-toolbar select { min-width: 122px; }
.admin-editor-separator { width:1px; height:24px; margin:0 2px; background:rgba(255,255,255,.08); }
.admin-news-editor {
  min-height: 360px;
  padding: 22px;
  color: #dceff2;
  outline: none;
  font-size: 15px;
  line-height: 1.72;
}
.admin-news-editor:empty::before { content: attr(data-placeholder); color:#486878; pointer-events:none; }
.admin-news-editor h2 { margin: 22px 0 10px; color:#f0feff; font-size:27px; line-height:1.25; }
.admin-news-editor h3 { margin: 20px 0 8px; color:#e5fbfd; font-size:21px; line-height:1.3; }
.admin-news-editor p { margin: 0 0 14px; }
.admin-news-editor ul,
.admin-news-editor ol { padding-left: 27px; margin: 8px 0 16px; }
.admin-news-editor blockquote { margin:18px 0; padding:12px 16px; border-left:3px solid rgba(76,247,242,.45); background:rgba(76,247,242,.045); color:#b9d5da; }
.admin-news-editor figure { margin:22px 0; }
.admin-news-editor figure img { display:block; width:auto; max-width:100%; max-height:620px; margin:0 auto; border-radius:10px; }
.admin-news-editor figcaption { margin-top:8px; color:#7895a1; font-size:12px; text-align:center; }
.admin-news-editor a { color:#58e5e4; text-decoration:underline; }
.admin-news-editor hr { margin:26px 0; border:0; border-top:1px solid rgba(76,247,242,.16); }
.admin-editor-help { padding:10px 14px 12px; color:#5f7f8c; border-top:1px solid rgba(255,255,255,.04); font-size:11px; line-height:1.5; }

/* News-Detail unterstützt formatierten Editor-Inhalt */
.news-article-content h2 { margin:30px 0 12px; font-size:27px; color:#effeff; }
.news-article-content h3 { margin:24px 0 10px; font-size:21px; color:#e8fbfd; }
.news-article-content ul,
.news-article-content ol { margin:14px 0 18px; padding-left:28px; }
.news-article-content blockquote { margin:22px 0; padding:14px 18px; border-left:3px solid rgba(76,247,242,.45); background:rgba(76,247,242,.045); color:#a9c7ce; }
.news-article-content figure { margin:28px 0; }
.news-article-content figure img { display:block; width:auto; max-width:100%; max-height:720px; margin:0 auto; border-radius:12px; box-shadow:0 14px 36px rgba(0,0,0,.22); }
.news-article-content figcaption { margin-top:10px; color:#698996; font-size:12px; text-align:center; }
.news-article-content a { color:#55e8e5; text-decoration:underline; }
.news-article-content hr { margin:30px 0; border:0; border-top:1px solid rgba(76,247,242,.14); }

@media (max-width: 900px) {
  .profile-identity-row { grid-template-columns: 86px minmax(0,1fr); padding:0 20px 24px; }
  .profile-identity-row .profile-avatar { width:78px; height:78px; font-size:28px; }
  .profile-main { min-height:118px; }
  .profile-name-row h2 { font-size:28px; }
  .profile-name-badge.is-admin { width:112px; height:112px; flex-basis:112px; }
  .profile-edit-button { grid-column:1 / -1; justify-self:start; }
  .profile-showcase > .profile-facts.profile-stats { padding:0 20px 24px; }
  .admin-layout { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .profile-name-row { align-items:flex-start; flex-direction:column; gap:14px; }
  .profile-name-badge.is-admin { width:96px; height:96px; flex-basis:96px; }
  .profile-showcase > .profile-facts.profile-stats { grid-template-columns:1fr; }
  .admin-panel { padding:20px; }
  .admin-panel-heading { align-items:flex-start; flex-direction:column; }
  .admin-stat-grid { grid-template-columns:1fr 1fr; }
  .admin-editor-toolbar { position:static; }
  .admin-news-editor { min-height:300px; padding:16px; }
}

/* v0.1.31 – kleine Abschlusskorrekturen */
.profile-name-badge.is-admin { margin: 0; filter: none; transform: none; }
.profile-edit-button { font-size: 12px; }
.profile-showcase > .profile-facts.profile-stats span { font-size: 11px; }
.profile-showcase > .profile-facts.profile-stats strong { font-size: 26px; }
.admin-view .back-button { min-height: 42px; font-size: 13px; }
.admin-form-actions .profile-cancel-button,
.admin-form-actions .auth-submit { min-height: 44px; font-size: 13px; }


/* v0.1.32 – erweitertes Community-Profil */
.user-avatar-mini { overflow: hidden; }
.user-avatar-mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.profile-showcase-v2 { overflow: hidden; }
.profile-content-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  padding: 0 30px 26px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.profile-person-card {
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid rgba(76,247,242,.10);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(5,25,38,.97), rgba(2,13,23,.96));
  box-shadow: 0 16px 34px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.035);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-avatar-frame {
  width: 154px;
  height: 154px;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(76,247,242,.34), rgba(255,255,255,.05));
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.profile-person-card .profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, rgba(22,82,93,.70), rgba(3,20,31,.98));
  border: 0;
  font-size: 48px;
  font-weight: 800;
  color: #d9ffff;
}
.profile-avatar img,
.profile-avatar-upload-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.profile-person-card h2 {
  margin: 15px 0 13px;
  max-width: 100%;
  font-size: 25px;
  line-height: 1.12;
  color: #efffff;
  overflow-wrap: anywhere;
}
.profile-person-card .profile-edit-button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.profile-content-main { min-width: 0; padding-top: 42px; }
.profile-top-panels {
  display: grid;
  grid-template-columns: minmax(0,1fr) 210px;
  gap: 14px;
}
.profile-about-panel,
.profile-awards-panel {
  min-height: 176px;
  padding: 20px;
  border: 1px solid rgba(76,247,242,.075);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(3,18,30,.78), rgba(1,11,20,.58));
}
.profile-panel-kicker {
  display: block;
  margin-bottom: 12px;
  color: #64d8db;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.profile-about-panel p {
  margin: 0;
  max-width: 780px;
  color: #9dbbc3;
  font-size: 14px;
  line-height: 1.72;
  white-space: pre-wrap;
}
.profile-awards-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-awards-panel .profile-name-badges {
  width: 100%;
  justify-content: center;
  gap: 8px;
}
.profile-awards-panel .profile-name-badge {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}
.profile-awards-panel .profile-name-badge.is-admin {
  width: 150px;
  height: 150px;
  flex-basis: 150px;
  padding: 5px;
}
.profile-no-badges {
  margin: auto 0;
  color: #66848f;
  font-size: 12px;
  line-height: 1.5;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}
.profile-details-grid > div {
  min-height: 78px;
  padding: 15px 17px;
  border: 1px solid rgba(76,247,242,.065);
  border-radius: 13px;
  background: rgba(2,14,24,.66);
}
.profile-details-grid span {
  display: block;
  color: #5e7d88;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-details-grid strong {
  display: block;
  margin-top: 8px;
  color: #dff8fa;
  font-size: 14px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.profile-showcase-v2 > .profile-facts.profile-stats { padding-top: 0; }

.profile-edit-form-v2 { max-width: 980px; }
.profile-edit-grid {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 26px;
  align-items: start;
}
.profile-edit-avatar-section {
  padding: 18px;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 16px;
  background: rgba(2,15,25,.64);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-form-section-title {
  align-self: flex-start;
  margin-bottom: 14px;
  color: #8ba8b0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-avatar-upload-preview {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(76,247,242,.15);
  background: radial-gradient(circle at 50% 25%, rgba(22,82,93,.65), rgba(3,20,31,.98));
  color: #d9ffff;
  font-size: 48px;
  font-weight: 800;
}
.profile-avatar-upload {
  width: 100%;
  margin-top: 14px !important;
  cursor: pointer;
}
.profile-avatar-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.profile-avatar-upload > span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 !important;
  padding: 0 12px;
  border: 1px solid rgba(76,247,242,.18);
  border-radius: 10px;
  background: rgba(76,247,242,.07);
  color: #bfeef0 !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.profile-avatar-upload:hover > span { background: rgba(76,247,242,.11); }
.profile-edit-avatar-section small {
  margin-top: 10px;
  color: #5e7d88;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.profile-edit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 17px;
}
.profile-edit-fields label { margin: 0; }
.profile-edit-fields .profile-wide-field { grid-column: 1 / -1; }
.profile-edit-fields textarea { min-height: 130px; }

@media (max-width: 920px) {
  .profile-content-grid { grid-template-columns: 190px minmax(0,1fr); gap:18px; padding:0 20px 22px; }
  .profile-avatar-frame { width:132px; height:132px; }
  .profile-top-panels { grid-template-columns:1fr; }
  .profile-awards-panel { min-height:auto; align-items:flex-start; text-align:left; }
  .profile-awards-panel .profile-name-badges { justify-content:flex-start; }
  .profile-content-main { padding-top:42px; }
  .profile-edit-grid { grid-template-columns:1fr; }
  .profile-edit-avatar-section { max-width:320px; }
}
@media (max-width: 650px) {
  .profile-content-grid { grid-template-columns:1fr; margin-top:-28px; }
  .profile-person-card { max-width:100%; }
  .profile-content-main { padding-top:0; }
  .profile-details-grid,
  .profile-edit-fields { grid-template-columns:1fr; }
  .profile-edit-fields .profile-wide-field { grid-column:auto; }
  .profile-awards-panel .profile-name-badge.is-admin { width:128px; height:128px; flex-basis:128px; }
}


/* v0.1.33 – Badges direkt unter dem Benutzernamen */
.profile-showcase-v2 .profile-top-panels {
  grid-template-columns: minmax(0, 1fr);
}
.profile-showcase-v2 .profile-about-panel {
  min-height: 176px;
}
.profile-person-card .profile-badges-under-name {
  width: 100%;
  min-height: 0;
  margin: -2px 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.profile-person-card .profile-badges-under-name[hidden] {
  display: none !important;
}
.profile-person-card .profile-badges-under-name .profile-name-badge {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 3px;
  border-radius: 13px;
  border: 1px solid rgba(76,247,242,.10);
  background: rgba(2,16,27,.68);
  box-shadow: none;
  transform: none !important;
  filter: none !important;
}
.profile-person-card .profile-badges-under-name .profile-name-badge:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none;
}
.profile-person-card .profile-badges-under-name .profile-name-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
  width: 104px;
  height: 104px;
  flex-basis: 104px;
  padding: 2px;
  border: 0;
  background: transparent;
}
.profile-person-card .profile-edit-button {
  margin-top: 0;
}
@media (max-width: 650px) {
  .profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
    width: 92px;
    height: 92px;
    flex-basis: 92px;
  }
}


/* v0.1.35 – Profilbutton oben rechts + Adminbadge kompakter und rahmenlos */
.profile-showcase-v2 .profile-edit-button {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 6;
  width: auto;
  min-width: 132px;
  margin: 0;
  padding: 0 16px;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  overflow: visible;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin:hover,
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin::after {
  content: attr(data-badge-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  background: rgba(1,10,18,.96);
  color: #eefcfd;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin:hover::after,
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin:focus-visible::after {
  opacity: 1;
}
@media (max-width: 650px) {
  .profile-showcase-v2 .profile-edit-button {
    top: 14px;
    right: 14px;
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }
  .profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }
}

/* v0.1.36 – Profil in klaren Kärtchen + Online/Offline-Status */
.profile-showcase-v2 {
  position: relative;
}
.profile-showcase-v2 .profile-content-grid {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.profile-showcase-v2 .profile-person-card {
  justify-content: flex-start;
}
.profile-showcase-v2 .profile-content-main {
  padding-top: 42px;
}
.profile-profile-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
}
.profile-info-card {
  min-width: 0;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(3,18,30,.82), rgba(1,11,20,.66));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.profile-showcase-v2 .profile-about-panel {
  min-height: 168px;
  padding: 20px;
}
.profile-status-card {
  min-height: 168px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(86,224,153,.15);
  background:
    radial-gradient(circle at 82% 18%, rgba(66,218,142,.10), transparent 38%),
    linear-gradient(145deg, rgba(3,24,28,.88), rgba(1,12,20,.72));
}
.profile-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #4ee19a;
  box-shadow: 0 0 0 4px rgba(78,225,154,.08), 0 0 16px rgba(78,225,154,.30);
}
.profile-status-line strong {
  color: #dffff0;
  font-size: 20px;
  letter-spacing: -.02em;
}
.profile-status-card p {
  margin: 10px 0 0;
  color: #71978b;
  font-size: 11px;
  line-height: 1.55;
}
.profile-status-card.is-offline {
  border-color: rgba(151,170,179,.10);
  background: linear-gradient(145deg, rgba(12,24,31,.82), rgba(3,13,21,.72));
}
.profile-status-card.is-offline .profile-status-dot {
  background: #72858e;
  box-shadow: 0 0 0 4px rgba(114,133,142,.07);
}
.profile-status-card.is-offline .profile-status-line strong { color: #aebdc3; }
.profile-status-card.is-offline p { color: #60747d; }

.profile-details-grid.profile-details-cards {
  grid-template-columns: minmax(0, 1.8fr) minmax(150px, .8fr) minmax(130px, .7fr);
  gap: 12px;
  margin-top: 12px;
}
.profile-details-grid.profile-details-cards > .profile-info-card {
  min-height: 92px;
  padding: 16px 18px;
}
.profile-details-grid.profile-details-cards span {
  display: block;
  color: #63818d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.profile-details-grid.profile-details-cards strong {
  display: block;
  margin-top: 9px;
  color: #dff8fa;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.profile-interests-card strong {
  color: #b9d8de;
  font-weight: 600;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  padding: 0 30px 28px;
  border-top: 0;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards > div {
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid rgba(76,247,242,.07);
  border-radius: 14px;
  background: rgba(2,14,24,.64);
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards span {
  font-size: 10px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards strong {
  margin-top: 8px;
  font-size: 24px;
}
.profile-edit-fields textarea[name="interests"] {
  min-height: 92px;
}

@media (max-width: 980px) {
  .profile-profile-cards { grid-template-columns: 1fr 190px; }
  .profile-details-grid.profile-details-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .profile-showcase-v2 .profile-content-grid { grid-template-columns: 1fr; }
  .profile-showcase-v2 .profile-content-main { padding-top: 0; }
  .profile-profile-cards { grid-template-columns: 1fr; }
  .profile-status-card { min-height: 120px; }
  .profile-details-grid.profile-details-cards { grid-template-columns: 1fr; }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: auto; }
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: 1fr;
    padding: 0 20px 22px;
  }
}


/* v0.1.37 – kompaktere Profilbreite und harmonischere Karten */
.profile-view .profile-toolbar,
.profile-view .profile-layout {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.profile-view .profile-toolbar {
  margin-bottom: 16px;
}
.profile-showcase-v2 {
  max-width: 980px;
  margin: 0 auto;
}
.profile-showcase-v2 .profile-cover {
  height: 82px;
}
.profile-showcase-v2 .profile-content-grid {
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 16px;
  padding: 0 22px 18px;
}
.profile-showcase-v2 .profile-content-main {
  padding-top: 34px;
}
.profile-showcase-v2 .profile-person-card {
  padding: 18px 14px 16px;
  border-radius: 14px;
}
.profile-showcase-v2 .profile-person-card .profile-avatar {
  width: 104px;
  height: 104px;
}
.profile-showcase-v2 .profile-person-card h2 {
  margin-top: 10px;
  font-size: 20px;
}
.profile-profile-cards {
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 10px;
}
.profile-showcase-v2 .profile-about-panel,
.profile-showcase-v2 .profile-status-card {
  min-height: 126px;
  padding: 16px;
}
.profile-status-card {
  justify-content: center;
}
.profile-status-line strong {
  font-size: 18px;
}
.profile-details-grid.profile-details-cards {
  grid-template-columns: minmax(0, 1.35fr) minmax(135px, .72fr) minmax(115px, .62fr);
  gap: 10px;
  margin-top: 10px;
}
.profile-details-grid.profile-details-cards > .profile-info-card {
  min-height: 76px;
  padding: 13px 15px;
  border-radius: 12px;
}
.profile-details-grid.profile-details-cards strong {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.4;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards {
  grid-template-columns: repeat(3, minmax(145px, 182px));
  justify-content: center;
  gap: 10px;
  padding: 0 22px 20px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards > div {
  min-height: 70px;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards span {
  margin-bottom: 0;
  font-size: 9px;
  letter-spacing: .07em;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards strong {
  margin-top: 6px;
  font-size: 20px;
}
.profile-showcase-v2 .profile-edit-button {
  top: 17px;
  right: 20px;
  min-height: 36px;
  padding: 0 12px;
}

@media (max-width: 980px) {
  .profile-view .profile-toolbar,
  .profile-view .profile-layout { width: 100%; }
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    padding-left: 18px;
    padding-right: 18px;
  }
  .profile-profile-cards { grid-template-columns: minmax(0, 1fr) 155px; }
  .profile-details-grid.profile-details-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .profile-showcase-v2 .profile-cover { height: 74px; }
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }
  .profile-showcase-v2 .profile-content-main { padding-top: 0; }
  .profile-profile-cards,
  .profile-details-grid.profile-details-cards {
    grid-template-columns: 1fr;
  }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: auto; }
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 16px 18px;
  }
}
@media (max-width: 520px) {
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: 1fr;
  }
}

/* v0.1.38 – Profil wieder ausgewogener auf Seitenbreite */
.profile-view .profile-toolbar,
.profile-view .profile-layout {
  width: min(1180px, 100%);
}
.profile-showcase-v2 {
  max-width: 1180px;
}
.profile-showcase-v2 .profile-content-grid {
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 20px;
  padding: 0 26px 20px;
}
.profile-showcase-v2 .profile-content-main {
  padding-top: 36px;
}
.profile-profile-cards {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
}
.profile-showcase-v2 .profile-about-panel,
.profile-showcase-v2 .profile-status-card {
  min-height: 132px;
  padding: 17px 18px;
}
.profile-details-grid.profile-details-cards {
  grid-template-columns: minmax(0, 1.45fr) minmax(155px, .72fr) minmax(135px, .62fr);
  gap: 12px;
  margin-top: 12px;
}
.profile-details-grid.profile-details-cards > .profile-info-card {
  min-height: 80px;
  padding: 14px 16px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards {
  grid-template-columns: repeat(3, minmax(170px, 210px));
  gap: 12px;
  padding: 0 26px 22px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards > div {
  min-height: 74px;
  padding: 13px 16px;
}

@media (max-width: 1180px) {
  .profile-view .profile-toolbar,
  .profile-view .profile-layout { width: 100%; }
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    padding-left: 20px;
    padding-right: 20px;
  }
  .profile-profile-cards { grid-template-columns: minmax(0, 1fr) 175px; }
}
@media (max-width: 900px) {
  .profile-details-grid.profile-details-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }
  .profile-showcase-v2 .profile-content-main { padding-top: 0; }
  .profile-profile-cards,
  .profile-details-grid.profile-details-cards { grid-template-columns: 1fr; }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: auto; }
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 16px 18px;
  }
}
@media (max-width: 520px) {
  .profile-showcase-v2 > .profile-facts.profile-stat-cards { grid-template-columns: 1fr; }
}

/* v0.1.39 – Profil deutlich größer, breiter und mit Abstand zum Banner */
.profile-view .profile-toolbar,
.profile-view .profile-layout {
  width: min(1400px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.profile-showcase-v2 {
  max-width: 1400px;
  width: 100%;
}
.profile-showcase-v2 .profile-cover {
  height: 126px;
}
.profile-showcase-v2 .profile-content-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 0 36px 30px;
  margin-top: -40px;
}
.profile-showcase-v2 .profile-content-main {
  /* Die rechte Kartengruppe beginnt bewusst unterhalb des Banners. */
  padding-top: 72px;
}
.profile-showcase-v2 .profile-person-card {
  padding: 24px 20px 22px;
  border-radius: 18px;
}
.profile-showcase-v2 .profile-person-card .profile-avatar {
  width: 100%;
  height: 100%;
}
.profile-showcase-v2 .profile-avatar-frame {
  width: 134px;
  height: 134px;
}
.profile-showcase-v2 .profile-person-card h2 {
  margin-top: 14px;
  font-size: 23px;
}
.profile-profile-cards {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 16px;
}
.profile-showcase-v2 .profile-about-panel,
.profile-showcase-v2 .profile-status-card {
  min-height: 168px;
  padding: 22px 24px;
  border-radius: 16px;
}
.profile-showcase-v2 .profile-about-panel p {
  font-size: 15px;
  line-height: 1.72;
}
.profile-status-line strong {
  font-size: 21px;
}
.profile-details-grid.profile-details-cards {
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, .78fr) minmax(165px, .68fr);
  gap: 16px;
  margin-top: 16px;
}
.profile-details-grid.profile-details-cards > .profile-info-card {
  min-height: 100px;
  padding: 18px 20px;
  border-radius: 14px;
}
.profile-details-grid.profile-details-cards span {
  font-size: 11px;
}
.profile-details-grid.profile-details-cards strong {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.5;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards {
  grid-template-columns: repeat(3, minmax(210px, 260px));
  gap: 16px;
  padding: 4px 36px 30px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards > div {
  min-height: 92px;
  padding: 16px 20px;
  border-radius: 14px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards span {
  font-size: 10px;
}
.profile-showcase-v2 > .profile-facts.profile-stat-cards strong {
  margin-top: 8px;
  font-size: 25px;
}
.profile-showcase-v2 .profile-edit-button {
  top: 22px;
  right: 28px;
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
}

@media (max-width: 1400px) {
  .profile-view .profile-toolbar,
  .profile-view .profile-layout { width: 100%; }
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
    padding-left: 26px;
    padding-right: 26px;
  }
  .profile-profile-cards { grid-template-columns: minmax(0, 1fr) 210px; }
}
@media (max-width: 1050px) {
  .profile-showcase-v2 .profile-content-main { padding-top: 64px; }
  .profile-details-grid.profile-details-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: 1 / -1; }
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .profile-showcase-v2 .profile-cover { height: 82px; }
  .profile-showcase-v2 .profile-content-grid {
    grid-template-columns: 1fr;
    margin-top: -28px;
    padding: 0 16px 18px;
  }
  .profile-showcase-v2 .profile-content-main { padding-top: 18px; }
  .profile-profile-cards,
  .profile-details-grid.profile-details-cards { grid-template-columns: 1fr; }
  .profile-details-grid.profile-details-cards .profile-interests-card { grid-column: auto; }
  .profile-showcase-v2 > .profile-facts.profile-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 16px 20px;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .profile-showcase-v2 > .profile-facts.profile-stat-cards { grid-template-columns: 1fr; }
}


/* v0.1.40 – Statistik-Karten oben, einheitliche Kartenüberschriften, Badge kompakter */
.profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
  width: 72px;
  height: 72px;
  flex-basis: 72px;
}

.profile-showcase-v2 .profile-content-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-showcase-v2 .profile-top-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  border-top: 0;
}
.profile-showcase-v2 .profile-top-stat-cards > div {
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(3,18,30,.82), rgba(1,11,20,.66));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.profile-showcase-v2 .profile-top-stat-cards strong {
  display: block;
  margin-top: 8px;
  color: #eaffff;
  font-size: 23px;
  line-height: 1.2;
}

/* Alle Kartenüberschriften: gleiche Farbe, Typografie und vertikale Ausgangshöhe. */
.profile-showcase-v2 .profile-panel-kicker,
.profile-showcase-v2 .profile-details-grid.profile-details-cards > .profile-info-card > span,
.profile-showcase-v2 .profile-top-stat-cards > div > span {
  display: flex;
  align-items: center;
  min-height: 18px;
  margin: 0 0 12px;
  color: #64d8db;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-showcase-v2 .profile-profile-cards,
.profile-showcase-v2 .profile-details-grid.profile-details-cards {
  margin-top: 0;
}
.profile-showcase-v2 .profile-about-panel,
.profile-showcase-v2 .profile-status-card {
  padding-top: 22px;
}
.profile-showcase-v2 .profile-status-card {
  justify-content: flex-start;
}
.profile-showcase-v2 .profile-status-line {
  margin-top: 18px;
}
.profile-showcase-v2 .profile-details-grid.profile-details-cards > .profile-info-card {
  padding-top: 18px;
}
.profile-showcase-v2 .profile-details-grid.profile-details-cards strong {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .profile-showcase-v2 .profile-top-stat-cards > div {
    padding: 16px;
  }
}
@media (max-width: 720px) {
  .profile-person-card .profile-badges-under-name .profile-name-badge.is-admin {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .profile-showcase-v2 .profile-top-stat-cards > div {
    min-height: 84px;
    padding: 14px 12px;
  }
  .profile-showcase-v2 .profile-top-stat-cards strong {
    font-size: 18px;
  }
}
@media (max-width: 560px) {
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: 1fr;
  }
}


/* v0.1.41 – Status in die obere Profilzeile verschoben */
.profile-showcase-v2 .profile-top-stat-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-showcase-v2 .profile-profile-cards {
  grid-template-columns: 1fr;
}
.profile-showcase-v2 .profile-top-stat-cards > .profile-top-status-card {
  min-height: 96px;
  padding: 18px 20px;
  justify-content: flex-start;
  border-color: rgba(76,247,242,.08);
  background: linear-gradient(145deg, rgba(3,18,30,.82), rgba(1,11,20,.66));
}
.profile-showcase-v2 .profile-top-stat-cards > .profile-top-status-card.is-offline {
  border-color: rgba(76,247,242,.08);
  background: linear-gradient(145deg, rgba(3,18,30,.82), rgba(1,11,20,.66));
}
.profile-showcase-v2 .profile-top-stat-cards .profile-status-line {
  margin-top: 8px;
}
.profile-showcase-v2 .profile-top-stat-cards .profile-status-line strong {
  margin-top: 0;
  font-size: 23px;
}
.profile-showcase-v2 .profile-about-panel {
  min-height: 154px;
}

@media (max-width: 1150px) {
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-showcase-v2 .profile-top-stat-cards > .profile-top-status-card {
    min-height: 84px;
    padding: 14px 12px;
  }
  .profile-showcase-v2 .profile-top-stat-cards .profile-status-line strong {
    font-size: 18px;
  }
}
@media (max-width: 560px) {
  .profile-showcase-v2 .profile-top-stat-cards {
    grid-template-columns: 1fr;
  }
}


/* v0.1.42 – Spot der Woche im Profil + eigene Profil-bearbeiten-Seite */
.profile-person-card .profile-badges-under-name {
  margin-bottom: 8px;
}
.profile-spot-week {
  width: 100%;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(76,247,242,.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.profile-spot-week-title {
  color: #64d8db;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-spot-week-trophy {
  width: 78px;
  height: 78px;
  margin-top: 10px;
}
.profile-spot-week-trophy[hidden] { display: none !important; }
.profile-spot-week-trophy img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.profile-spot-week-count {
  margin-top: 8px;
  color: #dceff1;
  font-size: 12px;
  font-weight: 700;
}

.profile-edit-view {
  width: 100%;
}
.profile-edit-page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.profile-edit-toolbar {
  width: 100%;
}
.profile-edit-page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(76,247,242,.10);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(3,18,30,.92), rgba(1,10,18,.84));
  box-shadow: 0 22px 55px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.025);
}
.profile-edit-page-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, rgba(76,247,242,.88), rgba(76,247,242,.16), transparent 78%);
}
.profile-edit-page-card .profile-edit-form-v2 {
  max-width: none;
  margin: 0;
  padding: 30px 34px 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.profile-edit-page-card .profile-edit-form-v2::before { display: none; }
.profile-edit-page-card .detail-info-head {
  margin-bottom: 26px;
}
.profile-edit-page-card .detail-info-head h2 {
  margin-top: 5px;
  font-size: 25px;
}
.profile-edit-page-card .profile-edit-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.profile-edit-page-card .profile-edit-avatar-section {
  position: sticky;
  top: 22px;
  padding: 22px;
  border: 1px solid rgba(76,247,242,.08);
  border-radius: 15px;
  background: rgba(1,11,20,.58);
}
.profile-edit-page-card .profile-edit-fields {
  gap: 18px;
}
.profile-edit-page-card .profile-edit-fields label {
  padding: 18px;
  border: 1px solid rgba(76,247,242,.07);
  border-radius: 14px;
  background: rgba(1,11,20,.42);
}
.profile-edit-page-card .profile-edit-fields label > span {
  margin-bottom: 9px;
}
.profile-edit-page-card .profile-form-actions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(76,247,242,.08);
}

@media (max-width: 900px) {
  .profile-edit-page-card .profile-edit-grid { grid-template-columns: 1fr; }
  .profile-edit-page-card .profile-edit-avatar-section { position: static; max-width: none; }
}
@media (max-width: 650px) {
  .profile-edit-page-card { border-radius: 14px; }
  .profile-edit-page-card .profile-edit-form-v2 { padding: 22px 16px 24px; }
  .profile-edit-page-card .profile-edit-fields label { padding: 14px; }
  .profile-spot-week-trophy { width: 68px; height: 68px; }
}

/* v0.1.43 – kompaktere obere Profilkarten + Status ausgerichtet + Badge-Trennlinie */
.profile-showcase-v2 .profile-top-stat-cards > div,
.profile-showcase-v2 .profile-top-stat-cards > .profile-top-status-card {
  min-height: 76px;
  padding: 12px 16px;
  display: grid;
  grid-template-rows: 18px 30px;
  align-content: start;
  row-gap: 5px;
}

.profile-showcase-v2 .profile-top-stat-cards > div > span {
  min-height: 18px;
  margin: 0;
  align-self: start;
}

.profile-showcase-v2 .profile-top-stat-cards > div > strong {
  margin: 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1.15;
}

.profile-showcase-v2 .profile-top-stat-cards .profile-status-line {
  min-height: 30px;
  margin: 0;
  align-self: start;
  display: flex;
  align-items: center;
}

.profile-showcase-v2 .profile-top-stat-cards .profile-status-line strong {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.profile-person-card .profile-badges-under-name {
  margin-bottom: 0;
}

.profile-spot-week {
  margin-top: 18px;
  padding-top: 16px;
}

@media (max-width: 720px) {
  .profile-showcase-v2 .profile-top-stat-cards > div,
  .profile-showcase-v2 .profile-top-stat-cards > .profile-top-status-card {
    min-height: 72px;
    padding: 11px 12px;
    grid-template-rows: 17px 28px;
    row-gap: 4px;
  }
  .profile-showcase-v2 .profile-top-stat-cards > div > strong,
  .profile-showcase-v2 .profile-top-stat-cards .profile-status-line strong {
    font-size: 17px;
  }
  .profile-showcase-v2 .profile-top-stat-cards .profile-status-line {
    min-height: 28px;
  }
}


/* v0.1.44 – große, übersichtliche Profilbearbeitung auf einer Desktop-Seite */
.profile-edit-view {
  padding: 18px 0 34px;
}
.profile-edit-page-shell {
  width: min(1380px, calc(100vw - 44px));
}
.profile-edit-toolbar {
  margin-bottom: 14px;
}
.profile-edit-toolbar .spots-heading h1 {
  font-size: clamp(30px, 2.2vw, 38px);
  line-height: 1.05;
}
.profile-edit-toolbar .section-kicker {
  font-size: 11px;
}
.profile-edit-page-card {
  border-radius: 20px;
}
.profile-edit-page-card .profile-edit-form-v2 {
  padding: 24px 30px 26px;
}
.profile-edit-page-card .detail-info-head {
  margin-bottom: 18px;
}
.profile-edit-page-card .detail-info-head .section-kicker {
  font-size: 11px;
}
.profile-edit-page-card .detail-info-head h2 {
  margin: 4px 0 0;
  font-size: 27px;
  line-height: 1.12;
}
.profile-edit-page-card .profile-edit-grid-large {
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.profile-edit-page-card .profile-edit-account-card {
  position: static;
  min-height: 100%;
  padding: 20px;
  justify-content: flex-start;
}
.profile-edit-page-card .profile-form-section-title {
  margin-bottom: 12px;
  font-size: 13px;
}
.profile-edit-page-card .profile-avatar-upload-preview {
  width: 174px;
  height: 174px;
  border-radius: 22px;
  font-size: 54px;
}
.profile-edit-page-card .profile-avatar-upload {
  margin-top: 12px !important;
}
.profile-edit-page-card .profile-avatar-upload > span {
  min-height: 48px;
  font-size: 14px !important;
  font-weight: 800;
}
.profile-edit-page-card .profile-edit-avatar-section > small {
  margin-top: 8px;
  font-size: 11px;
}
.profile-edit-account-name {
  width: 100%;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(76,247,242,.10);
  text-align: left;
}
.profile-edit-account-name > span {
  display: block;
  margin-bottom: 5px;
  color: #89a9b3;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-edit-account-name > strong {
  display: block;
  color: #effdff;
  font-size: 21px;
  line-height: 1.2;
}
.profile-edit-account-name > small {
  display: block;
  margin-top: 7px;
  color: #668792;
  font-size: 11px;
  line-height: 1.45;
}
.profile-edit-page-card .profile-edit-fields-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}
.profile-edit-page-card .profile-edit-fields-large label {
  margin: 0;
  padding: 15px 16px;
  border-radius: 14px;
}
.profile-edit-page-card .profile-edit-fields-large label > span {
  min-height: 20px;
  margin: 0 0 8px;
  color: #9bbbc4;
  font-size: 14px;
  font-weight: 850;
  line-height: 20px;
  letter-spacing: .025em;
}
.profile-edit-page-card .profile-edit-fields-large input,
.profile-edit-page-card .profile-edit-fields-large textarea {
  font-size: 15px;
}
.profile-edit-page-card .profile-edit-fields-large input {
  height: 50px;
  padding: 0 14px;
  border-radius: 10px;
}
.profile-edit-page-card .profile-edit-fields-large textarea {
  min-height: 154px;
  height: 154px;
  padding: 13px 14px;
  border-radius: 10px;
  line-height: 1.48;
  resize: none;
}
.profile-edit-page-card .profile-edit-small-card {
  align-self: start;
}
.profile-edit-page-card .profile-form-actions {
  grid-template-columns: 150px 230px;
  justify-content: end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 17px;
}
.profile-edit-page-card .profile-form-actions button {
  min-height: 48px;
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 1050px) {
  .profile-edit-page-shell { width: min(900px, calc(100vw - 32px)); }
  .profile-edit-page-card .profile-edit-grid-large { grid-template-columns: 230px minmax(0,1fr); }
  .profile-edit-page-card .profile-avatar-upload-preview { width: 150px; height: 150px; }
  .profile-edit-page-card .profile-edit-fields-large textarea { min-height: 140px; height: 140px; }
}
@media (max-width: 820px) {
  .profile-edit-page-card .profile-edit-grid-large { grid-template-columns: 1fr; }
  .profile-edit-page-card .profile-edit-account-card { display: grid; grid-template-columns: 140px minmax(0,1fr); column-gap: 18px; align-items: center; }
  .profile-edit-page-card .profile-edit-account-card .profile-form-section-title { grid-column: 1 / -1; }
  .profile-edit-page-card .profile-avatar-upload-preview { width: 140px; height: 140px; grid-row: 2 / span 3; }
  .profile-edit-page-card .profile-avatar-upload { margin-top: 0 !important; }
  .profile-edit-account-name { margin-top: 8px; padding-top: 12px; }
}
@media (max-width: 650px) {
  .profile-edit-page-shell { width: min(100%, calc(100vw - 20px)); }
  .profile-edit-page-card .profile-edit-form-v2 { padding: 20px 14px 22px; }
  .profile-edit-page-card .profile-edit-fields-large { grid-template-columns: 1fr; }
  .profile-edit-page-card .profile-edit-fields-large textarea { min-height: 140px; height: auto; resize: vertical; }
  .profile-edit-page-card .profile-form-actions { grid-template-columns: 1fr; }
  .profile-edit-page-card .profile-edit-account-card { display: flex; }
  .profile-edit-toolbar .spots-heading h1 { font-size: 28px; }
}


/* v0.1.45 – einheitliche Statuskarte + breite professionelle Profilbearbeitung */
/* Status ist jetzt dieselbe Kartenart wie Mitglied seit / Likes / Spots. */
.profile-showcase-v2 .profile-top-stat-cards > #profileStatusCard {
  min-height: 76px;
  padding: 12px 16px;
  display: grid;
  grid-template-rows: 18px 30px;
  align-content: start;
  row-gap: 5px;
  border: 1px solid rgba(76,247,242,.07);
  border-radius: 13px;
  background: rgba(1,11,20,.42);
  box-shadow: none;
}
.profile-showcase-v2 .profile-top-stat-cards > #profileStatusCard > span {
  min-height: 18px;
  margin: 0;
  display: flex;
  align-items: center;
  color: #64d8db;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-showcase-v2 .profile-top-stat-cards > #profileStatusCard > .profile-status-value {
  min-height: 30px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eaffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}
.profile-showcase-v2 #profileStatusCard .profile-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: 0;
  border-radius: 50%;
  background: #43df91;
  box-shadow: 0 0 10px rgba(67,223,145,.35);
}
.profile-showcase-v2 #profileStatusCard.is-offline .profile-status-dot {
  background: #71838b;
  box-shadow: none;
}
.profile-showcase-v2 #profileStatusCard.is-offline .profile-status-value {
  color: #aebdc3;
}

/* Bearbeitungsseite: Accountbereich kompakt oben, Felder nutzen die volle Breite. */
.profile-edit-page-shell {
  width: min(1500px, calc(100vw - 36px));
}
.profile-edit-page-card .profile-edit-form-v2 {
  padding: 24px 34px 28px;
}
.profile-edit-page-card .profile-edit-grid-large {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.profile-edit-page-card .profile-edit-account-card {
  min-height: 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 172px minmax(235px, .8fr) minmax(340px, 1.4fr);
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  row-gap: 8px;
  align-items: center;
}
.profile-edit-page-card .profile-edit-account-card .profile-form-section-title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 4px;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
  grid-column: 1;
  grid-row: 2 / span 2;
  width: 150px;
  height: 150px;
  margin: 0;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  margin: 0 !important;
}
.profile-edit-page-card .profile-edit-account-card > small {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  align-self: start;
  font-size: 12px;
}
.profile-edit-page-card .profile-edit-account-name {
  grid-column: 3;
  grid-row: 2 / span 2;
  width: 100%;
  margin: 0;
  padding: 0 0 0 24px;
  border-top: 0;
  border-left: 1px solid rgba(76,247,242,.10);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-edit-page-card .profile-edit-fields-large {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.profile-edit-page-card .profile-edit-fields-large label {
  min-width: 0;
  padding: 18px 20px;
}
.profile-edit-page-card .profile-edit-fields-large label > span {
  font-size: 15px;
}
.profile-edit-page-card .profile-edit-fields-large input,
.profile-edit-page-card .profile-edit-fields-large textarea {
  width: 100%;
  font-size: 16px;
}
.profile-edit-page-card .profile-edit-fields-large input {
  height: 52px;
  padding: 0 16px;
}
.profile-edit-page-card .profile-edit-fields-large textarea {
  min-height: 150px;
  height: 150px;
  padding: 14px 16px;
}
.profile-edit-page-card .profile-form-actions {
  grid-template-columns: 170px 250px;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .profile-edit-page-shell { width: min(1000px, calc(100vw - 30px)); }
  .profile-edit-page-card .profile-edit-account-card {
    grid-template-columns: 150px minmax(210px,.8fr) minmax(280px,1.2fr);
    column-gap: 18px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    width: 132px;
    height: 132px;
  }
}
@media (max-width: 820px) {
  .profile-edit-page-card .profile-edit-account-card {
    grid-template-columns: 140px minmax(0,1fr);
    grid-template-rows: auto auto auto auto;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 130px;
    height: 130px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload { grid-column: 2; grid-row: 2; }
  .profile-edit-page-card .profile-edit-account-card > small { grid-column: 2; grid-row: 3; }
  .profile-edit-page-card .profile-edit-account-name {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 10px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(76,247,242,.10);
  }
  .profile-edit-page-card .profile-edit-fields-large { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .profile-edit-page-shell { width: min(100%, calc(100vw - 20px)); }
  .profile-edit-page-card .profile-edit-form-v2 { padding: 20px 14px 22px; }
  .profile-edit-page-card .profile-edit-account-card { display: flex; padding: 16px; }
  .profile-edit-page-card .profile-edit-account-name {
    width: 100%;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(76,247,242,.10);
  }
  .profile-edit-page-card .profile-form-actions { grid-template-columns: 1fr; }
}

/* v0.1.47 – Profil-Feinschliff + vollbreite Profilbearbeitung */
/* Statuswert exakt in derselben Schriftgröße wie das Datum bei "Mitglied seit". */
.profile-showcase-v2 .profile-top-stat-cards #profileMemberSince,
.profile-showcase-v2 .profile-top-stat-cards #profileStatusCard > .profile-status-value,
.profile-showcase-v2 .profile-top-stat-cards #profileStatusCard #profileOnlineStatus {
  font-size: 16px !important;
  line-height: 1.2;
}
.profile-showcase-v2 .profile-top-stat-cards #profileStatusCard > .profile-status-value {
  min-height: 30px;
  gap: 8px;
}

/* Genügend Abstand, damit die Trennlinie sichtbar unter dem letzten Badge liegt. */
.profile-person-card .profile-badges-under-name {
  margin-bottom: 0 !important;
  padding-bottom: 16px;
}
.profile-spot-week {
  margin-top: 10px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(76,247,242,.10);
}

/* Profil bearbeiten: komplette verfügbare Desktopbreite nutzen. */
.profile-edit-view {
  width: 100%;
  padding: 16px 0 30px;
}
.profile-edit-page-shell {
  width: min(1580px, calc(100vw - 32px));
  max-width: none;
  margin: 0 auto;
}
.profile-edit-page-card .profile-edit-form-v2 {
  padding: 28px 36px 30px;
}
.profile-edit-page-card .profile-edit-grid-large {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Linke Spalte: Profilbild und unveränderlicher Benutzername. */
.profile-edit-page-card .profile-edit-account-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 24px;
}
.profile-edit-page-card .profile-edit-account-card .profile-form-section-title {
  width: 100%;
  margin: 0 0 18px;
  align-self: stretch;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  grid-column: auto;
  grid-row: auto;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload {
  width: 100%;
  margin: 18px 0 0 !important;
  grid-column: auto;
  grid-row: auto;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload > span {
  min-height: 52px;
  font-size: 15px !important;
}
.profile-edit-page-card .profile-edit-account-card > small {
  width: 100%;
  margin: 10px 0 0;
  grid-column: auto;
  grid-row: auto;
  text-align: center;
  font-size: 12px;
}
.profile-edit-page-card .profile-edit-account-name {
  width: 100%;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-left: 0;
  border-top: 1px solid rgba(76,247,242,.10);
  grid-column: auto;
  grid-row: auto;
  align-self: auto;
  display: block;
  text-align: left;
}
.profile-edit-account-name > strong {
  font-size: 22px;
}
.profile-edit-account-name > small {
  font-size: 12px;
  line-height: 1.55;
}

/* Rechte Spalte: großzügige Karten über die gesamte Restbreite. */
.profile-edit-page-card .profile-edit-fields-large {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-content: start;
}
.profile-edit-page-card .profile-edit-fields-large label {
  min-width: 0;
  padding: 20px 22px;
  border-radius: 15px;
}
.profile-edit-page-card .profile-edit-fields-large label > span {
  min-height: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 22px;
}
.profile-edit-page-card .profile-edit-fields-large input,
.profile-edit-page-card .profile-edit-fields-large textarea {
  width: 100%;
  font-size: 16px;
}
.profile-edit-page-card .profile-edit-fields-large input {
  height: 54px;
  padding: 0 17px;
}
.profile-edit-page-card .profile-edit-fields-large textarea {
  min-height: 180px;
  height: 180px;
  padding: 15px 17px;
  line-height: 1.55;
}
.profile-edit-page-card .profile-form-actions {
  grid-template-columns: 180px 260px;
  justify-content: end;
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 1050px) {
  .profile-edit-page-shell { width: min(100%, calc(100vw - 28px)); }
  .profile-edit-page-card .profile-edit-grid-large {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    width: 160px;
    height: 160px;
  }
  .profile-edit-page-card .profile-edit-fields-large textarea {
    min-height: 160px;
    height: 160px;
  }
}
@media (max-width: 820px) {
  .profile-edit-page-card .profile-edit-grid-large {
    grid-template-columns: 1fr;
  }
  .profile-edit-page-card .profile-edit-account-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-form-section-title { grid-column: 1 / -1; }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    grid-column: 1;
    grid-row: 2 / span 3;
    width: 140px;
    height: 140px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload,
  .profile-edit-page-card .profile-edit-account-card > small,
  .profile-edit-page-card .profile-edit-account-name {
    grid-column: 2;
  }
  .profile-edit-page-card .profile-edit-account-name {
    margin-top: 8px;
    padding-top: 14px;
  }
}
@media (max-width: 650px) {
  .profile-edit-page-shell { width: min(100%, calc(100vw - 18px)); }
  .profile-edit-page-card .profile-edit-form-v2 { padding: 20px 14px 22px; }
  .profile-edit-page-card .profile-edit-account-card { display: flex; }
  .profile-edit-page-card .profile-edit-fields-large { grid-template-columns: 1fr; }
  .profile-edit-page-card .profile-edit-fields-large textarea { height: auto; min-height: 150px; }
  .profile-edit-page-card .profile-form-actions { grid-template-columns: 1fr; }
}


/* v0.1.48 – Profilbearbeitung nutzt die komplette verfügbare Breite */
.profile-edit-view {
  width: 100%;
  padding: 18px 0 34px;
}
.profile-edit-page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}
.profile-edit-toolbar-simple {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 18px;
}
.profile-edit-toolbar-simple .back-button {
  align-self: flex-start;
}
.profile-edit-toolbar-simple .spots-heading {
  width: 100%;
  text-align: left;
}
.profile-edit-toolbar-simple .spots-heading h1 {
  margin: 0;
  font-size: clamp(32px, 2.3vw, 42px);
  line-height: 1.05;
}
.profile-edit-page-card {
  width: 100%;
  max-width: none;
}
.profile-edit-page-card .profile-edit-form-v2 {
  width: 100%;
  max-width: none;
  padding: 30px 38px 32px;
}
.profile-edit-page-card .profile-edit-grid-large {
  width: 100%;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}
.profile-edit-page-card .profile-edit-account-card {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.profile-edit-page-card .profile-edit-account-card .profile-form-section-title {
  width: 100%;
  margin: 0 0 20px;
  font-size: 15px;
  text-align: left;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
  width: 180px;
  height: 180px;
  margin: 0 auto;
}
.profile-edit-page-card .profile-edit-account-card .profile-avatar-upload {
  width: 100%;
  margin: 18px 0 0 !important;
}
.profile-edit-page-card .profile-edit-account-card > small {
  width: 100%;
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
}
.profile-edit-page-card .profile-edit-fields-large {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  align-content: start;
}
.profile-edit-page-card .profile-edit-fields-large label {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 21px 23px;
}
.profile-edit-page-card .profile-edit-fields-large label > span {
  min-height: 24px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 24px;
}
.profile-edit-page-card .profile-edit-fields-large input,
.profile-edit-page-card .profile-edit-fields-large textarea {
  width: 100%;
  max-width: none;
  font-size: 16px;
}
.profile-edit-page-card .profile-edit-fields-large input {
  height: 56px;
  padding: 0 18px;
}
.profile-edit-page-card .profile-edit-fields-large textarea {
  min-height: 178px;
  height: 178px;
  padding: 16px 18px;
  line-height: 1.55;
}
.profile-edit-page-card .profile-form-actions {
  width: calc(100% - 304px);
  margin: 22px 0 0 auto;
  padding-top: 20px;
  grid-template-columns: 180px 270px;
  justify-content: end;
  gap: 14px;
}

@media (max-width: 1050px) {
  .profile-edit-page-card .profile-edit-grid-large {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 22px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    width: 150px;
    height: 150px;
  }
  .profile-edit-page-card .profile-form-actions {
    width: calc(100% - 257px);
  }
}
@media (max-width: 820px) {
  .profile-edit-page-card .profile-edit-grid-large {
    grid-template-columns: 1fr;
  }
  .profile-edit-page-card .profile-edit-account-card {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-form-section-title {
    grid-column: 1 / -1;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload-preview {
    grid-column: 1;
    grid-row: 2 / span 2;
    width: 145px;
    height: 145px;
  }
  .profile-edit-page-card .profile-edit-account-card .profile-avatar-upload,
  .profile-edit-page-card .profile-edit-account-card > small {
    grid-column: 2;
  }
  .profile-edit-page-card .profile-form-actions {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .profile-edit-page-card .profile-edit-form-v2 {
    padding: 20px 14px 22px;
  }
  .profile-edit-page-card .profile-edit-account-card {
    display: flex;
    padding: 18px;
  }
  .profile-edit-page-card .profile-edit-fields-large {
    grid-template-columns: 1fr;
  }
  .profile-edit-page-card .profile-edit-fields-large textarea {
    height: auto;
    min-height: 150px;
  }
  .profile-edit-page-card .profile-form-actions {
    grid-template-columns: 1fr;
  }
}


/* v0.1.50 – neuer Spot-der-Woche-Pokal auf Startseite und Profil */
.spot-week-trophy-image {
  width: 128px;
  height: 128px;
  display: block;
  margin: 0 0 14px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
}
.spot-week-placeholder {
  padding-top: 14px;
}
.profile-spot-week-trophy {
  width: 86px;
  height: 86px;
}
@media (max-width: 1500px) {
  .spot-week-trophy-image { width: 112px; height: 112px; }
}
@media (max-width: 560px) {
  .spot-week-trophy-image { width: 96px; height: 96px; }
}

/* v0.1.51 – schlichte graue Platzhalter auf der Gewässerseite */
.water-card.placeholder .water-visual:not(.has-image) {
  background: linear-gradient(145deg, #4a4f55 0%, #353a40 58%, #282d32 100%);
}
.water-card.placeholder .water-visual:not(.has-image)::before,
.water-card.placeholder .water-visual:not(.has-image)::after {
  display: none;
}

/* v0.1.52 – mehr Abstand zwischen Profil-Badges und Trennlinie */
.profile-person-card .profile-badges-under-name {
  padding-bottom: 28px !important;
}
.profile-spot-week {
  margin-top: 14px !important;
  padding-top: 22px !important;
}

/* v0.1.54 – Forum */
.forum-page-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 42px 0 76px;
}
.forum-toolbar {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}
.forum-heading { min-width: 0; }
.forum-heading h1,
.forum-thread-header h1 {
  margin: 6px 0 7px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.forum-heading p {
  max-width: 760px;
  margin: 0;
  color: #8ea5b7;
  font-size: 15px;
  line-height: 1.6;
}
.forum-primary-button,
.forum-danger-button {
  min-height: 45px;
  border-radius: 8px;
  border: 1px solid rgba(46, 226, 230, .35);
  padding: 0 18px;
  color: #edfeff;
  background: linear-gradient(180deg, rgba(16, 166, 180, .28), rgba(7, 89, 111, .26));
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .02em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.forum-primary-button:hover {
  border-color: rgba(76, 247, 242, .62);
  background: linear-gradient(180deg, rgba(22, 190, 201, .34), rgba(8, 101, 125, .3));
  transform: translateY(-1px);
}
.forum-primary-button:disabled { opacity: .5; cursor: default; transform: none; }
.forum-danger-button {
  color: #ffc2c2;
  border-color: rgba(255, 93, 93, .28);
  background: rgba(111, 20, 28, .24);
}
.forum-danger-button:hover { border-color: rgba(255, 102, 102, .55); }
.forum-guest-note,
.forum-guest-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid rgba(29, 220, 227, .16);
  border-left: 3px solid rgba(29, 220, 227, .75);
  border-radius: 8px;
  background: rgba(7, 21, 38, .72);
}
.forum-guest-note[hidden], .forum-guest-reply[hidden] { display: none !important; }
.forum-guest-note > div { display: grid; gap: 3px; }
.forum-guest-note strong, .forum-guest-reply strong { font-size: 14px; }
.forum-guest-note span, .forum-guest-reply p { margin: 0; color: #8aa0b1; font-size: 13px; line-height: 1.5; }
.forum-guest-note button {
  flex: 0 0 auto;
  border: 0;
  color: var(--accent-bright);
  background: transparent;
  font-weight: 760;
  cursor: pointer;
}
.forum-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}
.forum-section-head h2 { margin: 5px 0 0; font-size: 22px; }
.forum-section-meta { color: #637d90; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.forum-category-list {
  overflow: hidden;
  border: 1px solid rgba(73, 207, 219, .13);
  border-radius: 10px;
  background: rgba(5, 16, 30, .72);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
}
.forum-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(280px, 1fr) 180px minmax(230px, 330px) 24px;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.forum-category-card:last-child { border-bottom: 0; }
.forum-category-card:hover,
.forum-category-card:focus-visible {
  outline: none;
  background: linear-gradient(90deg, rgba(17, 124, 145, .1), rgba(8, 27, 43, .42));
}
.forum-category-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}
.forum-category-mark img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.forum-category-copy h3,
.forum-thread-main h3 {
  margin: 0 0 6px;
  color: #effdff;
  font-size: 17px;
  letter-spacing: -.01em;
}
.forum-category-copy p { margin: 0; color: #7f98aa; font-size: 13px; line-height: 1.5; }
.forum-category-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.forum-category-counts span {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 7px;
  color: #708a9c;
  background: rgba(255,255,255,.018);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.forum-category-counts strong { color: #dffbff; font-size: 17px; letter-spacing: 0; }
.forum-category-latest { min-width: 0; display: grid; gap: 3px; }
.forum-category-latest small { color: #617c90; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.forum-category-latest strong { overflow: hidden; color: #cfe7ee; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.forum-category-latest span { color: #718b9c; font-size: 11px; }
.forum-row-arrow { color: #527c8d; font-size: 28px; font-weight: 300; }
.forum-loading, .forum-empty {
  padding: 38px 24px;
  color: #7892a4;
  text-align: center;
}
.forum-empty strong { display: block; margin-bottom: 6px; color: #d7edf2; font-size: 15px; }
.forum-empty p { margin: 0; font-size: 13px; }

.forum-thread-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 220px 28px;
  gap: 18px;
  padding: 0 20px 9px;
  color: #60798b;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.forum-thread-list-head span:nth-child(2) { text-align: center; }
.forum-thread-list {
  overflow: hidden;
  border: 1px solid rgba(73, 207, 219, .13);
  border-radius: 10px;
  background: rgba(5, 16, 30, .72);
}
.forum-thread-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 220px 28px;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer;
  transition: background .18s ease;
}
.forum-thread-row:last-child { border-bottom: 0; }
.forum-thread-row:hover, .forum-thread-row:focus-visible { outline: none; background: rgba(16, 102, 124, .08); }
.forum-thread-main { min-width: 0; display: flex; align-items: center; gap: 14px; }
.forum-thread-symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.forum-thread-symbol img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.forum-thread-main > div { min-width: 0; }
.forum-thread-main h3 { overflow: hidden; margin-bottom: 5px; text-overflow: ellipsis; white-space: nowrap; }
.forum-thread-main p { margin: 0; color: #718a9c; font-size: 11px; }
.forum-thread-main p strong { color: #9bb3c2; }
.forum-thread-replies,
.forum-thread-last { display: grid; gap: 2px; }
.forum-thread-replies { justify-items: center; }
.forum-thread-replies strong, .forum-thread-last strong { color: #d8f1f5; font-size: 14px; }
.forum-thread-replies span, .forum-thread-last span { color: #698397; font-size: 10px; }

.forum-thread-shell { max-width: 1360px; }
.forum-thread-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 24px; }
.forum-thread-header {
  margin-bottom: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(73, 207, 219, .13);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(8, 28, 46, .94), rgba(4, 15, 29, .9));
}
.forum-thread-header h1 { font-size: clamp(26px, 2.5vw, 38px); }
.forum-thread-meta { color: #7892a4; font-size: 12px; }
.forum-post-list { display: grid; gap: 12px; }
.forum-post-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(73, 207, 219, .12);
  border-radius: 9px;
  background: rgba(5, 16, 30, .78);
}
.forum-post-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px;
  border-right: 1px solid rgba(255,255,255,.05);
  background: rgba(8, 28, 44, .55);
  text-align: center;
}
.forum-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(56, 222, 229, .2);
  color: #dffcff;
  background: #0b283b;
  font-weight: 800;
}
.forum-avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-post-avatar { width: 72px; height: 72px; margin-bottom: 12px; font-size: 22px; }
.forum-post-author strong { max-width: 100%; overflow: hidden; color: #e8fbff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.forum-post-author span { margin-top: 4px; color: #698497; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.forum-post-body { min-width: 0; padding: 0 24px 26px; }
.forum-post-meta {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(255,255,255,.045);
  color: #6c8799;
  font-size: 10px;
}
.forum-post-meta span { color: #8ba6b7; font-weight: 750; }
.forum-post-meta button { margin-left: auto; border: 0; color: #c98282; background: transparent; font-size: 10px; cursor: pointer; }
.forum-post-content { padding-top: 22px; color: #cfdee6; font-size: 14px; line-height: 1.72; overflow-wrap: anywhere; }
.forum-reply-card {
  margin-top: 24px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(73, 207, 219, .14);
  border-radius: 10px;
  background: rgba(6, 20, 35, .82);
}
.forum-reply-card[hidden] { display: none !important; }
.forum-reply-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 14px; }
.forum-reply-head h2 { margin: 4px 0 0; font-size: 20px; }
.forum-reply-head > span { color: #7590a2; font-size: 11px; }
.forum-reply-card textarea,
.forum-compose-modal textarea,
.forum-compose-modal input,
.forum-compose-modal select {
  width: 100%;
  border: 1px solid rgba(72, 205, 216, .14);
  border-radius: 7px;
  outline: none;
  color: #e9fbff;
  background: rgba(2, 12, 24, .86);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.forum-reply-card textarea:focus,
.forum-compose-modal textarea:focus,
.forum-compose-modal input:focus,
.forum-compose-modal select:focus { border-color: rgba(49, 226, 232, .45); box-shadow: 0 0 0 3px rgba(29, 220, 227, .05); }
.forum-reply-card textarea { min-height: 150px; resize: vertical; padding: 14px 15px; line-height: 1.55; }
.forum-compose-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 12px; }
.forum-compose-actions > span { color: #607b8f; font-size: 10px; }
.forum-guest-reply { display: block; margin-top: 24px; padding: 24px; text-align: center; }
.forum-guest-reply p { margin: 7px auto 15px; max-width: 620px; }

.forum-compose-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 5, 13, .78);
  backdrop-filter: blur(10px);
}
.forum-compose-overlay[hidden] { display: none !important; }
.forum-compose-modal {
  position: relative;
  width: min(760px, 100%);
  padding: 28px;
  border: 1px solid rgba(61, 218, 227, .2);
  border-radius: 12px;
  background: linear-gradient(145deg, #081a2c, #04101e);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.forum-compose-modal h2 { margin: 7px 0 7px; font-size: 28px; }
.forum-compose-modal > form > p { margin: 0 0 22px; color: #8199aa; font-size: 13px; line-height: 1.5; }
.forum-compose-modal label { display: grid; gap: 7px; margin-bottom: 15px; }
.forum-compose-modal label > span { color: #9eb5c3; font-size: 11px; font-weight: 720; letter-spacing: .04em; }
.forum-compose-modal input, .forum-compose-modal select { height: 46px; padding: 0 13px; }
.forum-compose-modal textarea { min-height: 210px; resize: vertical; padding: 13px; line-height: 1.55; }
.forum-compose-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.forum-compose-footer small { color: #607a8d; font-size: 10px; }

@media (max-width: 1120px) {
  .forum-category-card { grid-template-columns: 58px minmax(0, 1fr) 160px 24px; }
  .forum-category-latest { display: none; }
  .forum-thread-list-head, .forum-thread-row { grid-template-columns: minmax(0, 1fr) 120px 170px 24px; }
}
@media (max-width: 820px) {
  .forum-page-shell { padding-top: 26px; }
  .forum-toolbar { grid-template-columns: 1fr auto; align-items: center; }
  .forum-toolbar .back-button { grid-column: 1 / -1; justify-self: start; }
  .forum-heading { grid-column: 1; }
  .forum-primary-button { grid-column: 2; }
  .forum-category-card { grid-template-columns: 50px minmax(0, 1fr) 24px; gap: 14px; min-height: 96px; padding: 16px; }
  .forum-category-counts { display: none; }
  .forum-thread-list-head { display: none; }
  .forum-thread-row { grid-template-columns: minmax(0, 1fr) 80px 24px; padding: 14px 16px; }
  .forum-thread-last { display: none; }
  .forum-post-card { grid-template-columns: 130px minmax(0, 1fr); }
  .forum-post-author { padding: 20px 12px; }
  .forum-post-avatar { width: 58px; height: 58px; }
}
@media (max-width: 590px) {
  .forum-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; }
  .forum-heading { width: 100%; order: 2; }
  .forum-toolbar .back-button { order: 1; }
  .forum-toolbar .forum-primary-button { order: 3; width: 100%; }
  .forum-guest-note { align-items: flex-start; }
  .forum-category-card { grid-template-columns: 44px minmax(0, 1fr) 18px; }
  .forum-category-mark { width: 42px; height: 42px; }
  .forum-thread-row { grid-template-columns: minmax(0, 1fr) 24px; }
  .forum-thread-replies { display: none; }
  .forum-post-card { grid-template-columns: 1fr; }
  .forum-post-author { flex-direction: row; gap: 10px; justify-content: flex-start; padding: 14px 16px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.05); text-align: left; }
  .forum-post-avatar { width: 42px; height: 42px; margin: 0; }
  .forum-post-author span { margin-left: auto; }
  .forum-post-body { padding: 0 16px 20px; }
  .forum-compose-footer, .forum-compose-actions { align-items: stretch; flex-direction: column; }
  .forum-compose-footer .forum-primary-button, .forum-compose-actions .forum-primary-button { width: 100%; }
}

/* Forum v0.1.54 – Suche, Bearbeiten und Moderation */
.forum-search-card {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(420px, 1.45fr);
  gap: 26px;
  align-items: center;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(73, 207, 219, .13);
  border-radius: 10px;
  background: rgba(5, 16, 30, .72);
}
.forum-search-copy { display: grid; gap: 5px; }
.forum-search-copy strong { color: #dff6fa; font-size: 16px; }
.forum-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.forum-search-form input {
  min-width: 0;
  height: 45px;
  padding: 0 14px;
  border: 1px solid rgba(72, 205, 216, .14);
  border-radius: 8px;
  outline: none;
  color: #e9fbff;
  background: rgba(2, 12, 24, .86);
  font: inherit;
}
.forum-search-form input:focus { border-color: rgba(49, 226, 232, .45); box-shadow: 0 0 0 3px rgba(29, 220, 227, .05); }
.forum-search-results {
  overflow: hidden;
  margin: -14px 0 30px;
  border: 1px solid rgba(73, 207, 219, .13);
  border-radius: 10px;
  background: rgba(5, 16, 30, .76);
}
.forum-search-results[hidden] { display: none !important; }
.forum-search-result-head { display: flex; align-items: baseline; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.05); }
.forum-search-result-head strong { color: #dff7fb; font-size: 13px; }
.forum-search-result-head span { color: #718a9d; font-size: 11px; }
.forum-search-result-list { display: grid; }
.forum-search-result-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.forum-search-result-row:last-child { border-bottom: 0; }
.forum-search-result-row:hover { background: rgba(16, 102, 124, .08); }
.forum-search-result-main { min-width: 0; display: grid; gap: 4px; }
.forum-search-result-main strong { overflow: hidden; color: #d9f2f6; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.forum-search-result-main small { color: #718a9c; font-size: 10px; }
.forum-search-result-flags { display: flex; gap: 6px; }
.forum-search-result-flags em { font-style: normal; }

.forum-secondary-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(113, 154, 173, .2);
  border-radius: 8px;
  color: #b9d0da;
  background: rgba(10, 31, 47, .62);
  font-size: 11px;
  font-weight: 740;
  cursor: pointer;
}
.forum-secondary-button:hover { border-color: rgba(71, 218, 226, .35); color: #e0faff; }
.forum-thread-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.forum-thread-actions .forum-danger-button { min-height: 40px; padding: 0 13px; font-size: 11px; }

.forum-thread-title-line { min-width: 0; display: flex; align-items: center; gap: 7px; }
.forum-thread-title-line h3 { min-width: 0; }
.forum-thread-row.is-pinned { background: linear-gradient(90deg, rgba(15, 105, 124, .11), transparent 45%); }
.forum-state-badge,
.forum-search-result-flags em {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(64, 216, 224, .18);
  border-radius: 999px;
  color: #8ee8ec;
  background: rgba(12, 93, 107, .2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.forum-state-badge.is-locked,
.forum-search-result-flags em.is-locked { border-color: rgba(179, 151, 93, .2); color: #d8c18b; background: rgba(91, 67, 27, .18); }
.forum-thread-statuses { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: middle; }

.forum-locked-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 17px 20px;
  border: 1px solid rgba(184, 157, 98, .17);
  border-left: 3px solid rgba(214, 181, 108, .58);
  border-radius: 9px;
  background: rgba(56, 42, 20, .2);
}
.forum-locked-note[hidden] { display: none !important; }
.forum-locked-note strong { color: #dfcfaa; font-size: 13px; }
.forum-locked-note span { color: #917f62; font-size: 11px; }

.forum-post-meta em { color: #657f91; font-size: 9px; font-style: normal; }
.forum-post-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.forum-post-meta .forum-post-actions button { margin-left: 0; color: #74b9c4; }
.forum-post-meta .forum-post-actions button:hover { color: #baf7fb; }
.forum-post-meta .forum-post-actions button.is-danger { color: #c98282; }
.forum-edit-modal { width: min(840px, 100%); }

@media (max-width: 900px) {
  .forum-search-card { grid-template-columns: 1fr; gap: 12px; }
  .forum-thread-toolbar { align-items: flex-start; flex-direction: column; }
  .forum-thread-actions { width: 100%; justify-content: flex-start; }
}
@media (max-width: 590px) {
  .forum-search-form { grid-template-columns: 1fr; }
  .forum-search-form .forum-primary-button { width: 100%; }
  .forum-search-result-row { grid-template-columns: minmax(0, 1fr) 18px; }
  .forum-search-result-flags { display: none; }
  .forum-thread-title-line { flex-wrap: wrap; }
  .forum-thread-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .forum-thread-actions button { width: 100%; }
  .forum-locked-note { align-items: flex-start; flex-direction: column; }
  .forum-post-meta { flex-wrap: wrap; padding: 8px 0; }
  .forum-post-actions { width: 100%; margin-left: 0; }
}

/* Forum v0.1.55 – Rollen & Rich-Text-Editor */
.forum-author-name.is-admin { color:#ef5f63 !important; }
.forum-author-name.is-moderator { color:#61d890 !important; }
.forum-thread-main p .forum-author-name,
.forum-search-result-main small .forum-author-name,
.forum-thread-meta .forum-author-name { display:inline; font-size:inherit; }
.forum-role-badge {
  display:grid !important;
  place-items:center;
  width:58px;
  height:58px;
  margin:10px 0 0 !important;
  padding:0;
  background:transparent;
  border:0;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.forum-role-badge img { width:100%; height:100%; object-fit:contain; display:block; }
.forum-post-author .forum-author-name { font-size:14px; }

.forum-post-content p { margin:0 0 14px; }
.forum-post-content p:last-child { margin-bottom:0; }
.forum-post-content h2,
.forum-post-content h3,
.forum-post-content h4 { margin:20px 0 10px; color:#e9fbff; line-height:1.25; }
.forum-post-content h2 { font-size:23px; }
.forum-post-content h3 { font-size:19px; }
.forum-post-content h4 { font-size:16px; }
.forum-post-content ul,
.forum-post-content ol { margin:10px 0 16px 24px; padding:0; }
.forum-post-content li { margin:5px 0; }
.forum-post-content blockquote {
  margin:16px 0;
  padding:12px 16px;
  border-left:3px solid rgba(65,220,228,.52);
  color:#acc6d2;
  background:rgba(17,74,90,.16);
}
.forum-post-content a { color:#54dce4; text-decoration:underline; text-underline-offset:2px; }
.forum-post-content hr { height:1px; margin:22px 0; border:0; background:rgba(255,255,255,.09); }
.forum-post-content figure { margin:18px 0; }
.forum-post-content figure img,
.forum-post-content > img { display:block; max-width:min(100%,900px); max-height:720px; border-radius:8px; object-fit:contain; }
.forum-post-content figcaption { margin-top:7px; color:#6e899a; font-size:11px; }

.forum-compose-modal { width:min(980px,100%); max-height:calc(100vh - 48px); overflow:auto; }
.forum-edit-modal { width:min(980px,100%); }
.forum-compose-category-note {
  display:flex;
  align-items:center;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin:-8px 0 18px;
  padding:7px 10px;
  border:1px solid rgba(63,207,218,.14);
  border-radius:6px;
  color:#7594a5;
  background:rgba(8,47,63,.22);
  font-size:11px;
}
.forum-compose-category-note strong { color:#ccecf1; }
.forum-editor-field { display:grid; gap:7px; margin-bottom:15px; }
.forum-editor-field > span { color:#9eb5c3; font-size:11px; font-weight:720; letter-spacing:.04em; }
.forum-editor-shell {
  overflow:hidden;
  border:1px solid rgba(72,205,216,.16);
  border-radius:8px;
  background:rgba(2,12,24,.86);
}
.forum-editor-shell:focus-within { border-color:rgba(49,226,232,.45); box-shadow:0 0 0 3px rgba(29,220,227,.05); }
.forum-editor-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  padding:8px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(10,31,48,.94);
}
.forum-editor-toolbar button,
.forum-editor-toolbar select {
  min-height:32px;
  border:1px solid rgba(92,188,198,.14);
  border-radius:5px;
  color:#b8d4dc;
  background:rgba(3,16,29,.78);
  font:inherit;
  font-size:10px;
}
.forum-editor-toolbar button { padding:0 9px; cursor:pointer; }
.forum-editor-toolbar button:hover { border-color:rgba(72,221,229,.34); color:#effdff; background:rgba(16,80,96,.26); }
.forum-editor-toolbar select { min-width:118px; padding:0 8px; }
.forum-editor-separator { width:1px; height:22px; margin:0 2px; background:rgba(255,255,255,.08); }
.forum-rich-editor {
  min-height:150px;
  padding:15px 16px;
  outline:0;
  color:#e4f3f7;
  font-size:14px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.forum-rich-editor.is-large { min-height:250px; }
.forum-rich-editor:empty::before { content:attr(data-placeholder); color:#506d80; pointer-events:none; }
.forum-rich-editor p { margin:0 0 12px; }
.forum-rich-editor h2,.forum-rich-editor h3 { margin:14px 0 8px; }
.forum-rich-editor blockquote { margin:12px 0; padding:10px 14px; border-left:3px solid rgba(65,220,228,.45); background:rgba(16,73,89,.16); }
.forum-rich-editor figure { margin:14px 0; }
.forum-rich-editor img { max-width:100%; max-height:520px; border-radius:7px; object-fit:contain; }
.forum-rich-editor figcaption { color:#6f8a9b; font-size:11px; }

.admin-user-cell b.is-moderator { color:#67d895; }

@media (max-width:640px) {
  .forum-compose-modal { padding:22px 16px; }
  .forum-editor-toolbar { gap:4px; }
  .forum-editor-toolbar button { padding:0 7px; }
  .forum-editor-toolbar select { min-width:100px; }
  .forum-role-badge { width:46px; height:46px; margin:0 0 0 auto !important; }
}


/* Forum v0.1.56 – Antwort-Trigger & klassischer Editor */
.forum-post-body { display:flex; flex-direction:column; }
.forum-post-content { flex:1 1 auto; }
.forum-post-footer {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-top:22px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.045);
}
.forum-post-reply-button {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(75,205,215,.15);
  border-radius:6px;
  color:#93cdd4;
  background:rgba(8,43,57,.36);
  font-size:11px;
  font-weight:760;
  cursor:pointer;
  transition:border-color .16s ease, background .16s ease, color .16s ease;
}
.forum-post-reply-button:hover {
  border-color:rgba(76,230,235,.35);
  color:#e6fcff;
  background:rgba(13,76,91,.42);
}
.forum-reply-card { margin-top:16px; }
.forum-reply-actions { display:flex; align-items:center; gap:8px; }
.forum-editor-cancel {
  min-height:40px;
  padding:0 13px;
  border:1px solid rgba(112,145,161,.18);
  border-radius:7px;
  color:#8ea8b5;
  background:rgba(6,20,31,.7);
  font:inherit;
  font-size:11px;
  font-weight:720;
  cursor:pointer;
}
.forum-editor-cancel:hover { color:#d7e9ee; border-color:rgba(136,183,199,.28); }

/* WYSIWYG/HTML-Editor Optik */
.forum-editor-shell {
  border-color:rgba(83,166,180,.22);
  border-radius:7px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.forum-editor-toolbar {
  gap:3px;
  padding:7px 8px;
  border-bottom:1px solid rgba(255,255,255,.075);
  background:linear-gradient(180deg, rgba(17,39,55,.98), rgba(10,27,42,.98));
  box-shadow:inset 0 -1px rgba(0,0,0,.18);
}
.forum-editor-toolbar select {
  height:34px;
  min-width:142px;
  padding:0 28px 0 10px;
  border-color:rgba(126,166,181,.19);
  border-radius:5px;
  color:#d2e3e9;
  background-color:rgba(3,14,25,.84);
  font-size:11px;
  font-weight:650;
}
.forum-editor-toolbar button {
  min-width:34px;
  height:34px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 8px;
  border:1px solid transparent;
  border-radius:4px;
  color:#b7cad2;
  background:transparent;
  font-size:12px;
  line-height:1;
}
.forum-editor-toolbar button:hover {
  border-color:rgba(87,188,200,.22);
  color:#f2fdff;
  background:rgba(39,86,102,.52);
}
.forum-editor-toolbar button:active {
  transform:translateY(1px);
  background:rgba(47,108,124,.58);
}
.forum-editor-toolbar strong,
.forum-editor-toolbar em,
.forum-editor-toolbar u,
.forum-editor-toolbar s { font-size:14px; }
.forum-editor-toolbar .editor-icon { display:inline-flex; align-items:center; justify-content:center; min-width:18px; font-weight:760; font-style:normal; }
.forum-editor-toolbar .editor-button-label { font-size:10px; font-weight:720; }
.forum-editor-toolbar .align-icon { width:17px; overflow:hidden; letter-spacing:-2px; justify-content:flex-start; }
.forum-editor-toolbar .align-icon.is-center { justify-content:center; }
.forum-editor-toolbar .align-icon.is-right { justify-content:flex-end; }
.forum-editor-separator { height:24px; margin:0 4px; background:rgba(255,255,255,.1); }
.forum-rich-editor {
  min-height:180px;
  padding:18px 20px;
  background:rgba(1,11,21,.74);
  font-size:14px;
  line-height:1.7;
}
.forum-rich-editor.is-large { min-height:270px; }

@media (max-width:680px) {
  .forum-post-footer { justify-content:stretch; }
  .forum-post-reply-button { width:100%; justify-content:center; }
  .forum-compose-actions { align-items:stretch; flex-direction:column; }
  .forum-reply-actions { width:100%; }
  .forum-reply-actions > * { flex:1 1 0; }
  .forum-editor-toolbar select { min-width:124px; }
  .forum-editor-toolbar .editor-button-label { display:none; }
}


/* Forum v0.1.57 – Rollenfarben in Übersichten & kompaktere Rollenbadges */
.forum-category-latest .forum-author-name,
.forum-thread-last .forum-author-name {
  display:inline;
  font-size:inherit;
  font-weight:800;
}
.forum-role-badge {
  width:48px;
  height:48px;
  margin:8px 0 10px !important;
}
.forum-post-author {
  padding-bottom:28px;
}
@media (max-width:640px) {
  .forum-role-badge { width:40px; height:40px; margin:0 10px 0 auto !important; }
  .forum-post-author { padding-bottom:14px; }
}


/* Forum v0.1.58 – Online-/Offline-Status in der Autorenleiste */
.forum-post-author .forum-author-status {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:6px 0 2px !important;
  color:#7f98a8;
  font-size:11px;
  font-weight:750;
  line-height:1.2;
  text-transform:none;
  letter-spacing:0;
}
.forum-post-author .forum-author-status i {
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#667985;
  box-shadow:0 0 0 2px rgba(102,121,133,.12);
}
.forum-post-author .forum-author-status.is-online { color:#78d99d; }
.forum-post-author .forum-author-status.is-online i {
  background:#53d487;
  box-shadow:0 0 0 2px rgba(83,212,135,.13);
}
.forum-post-author .forum-author-status.is-offline { color:#7f98a8; }
@media (max-width:640px) {
  .forum-post-author .forum-author-status {
    margin:0 0 0 2px !important;
    white-space:nowrap;
  }
}


/* Forum v0.1.59 – Textgröße statt Absatz-/Überschriften-Dropdown */
.forum-font-size-control {
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 8px 0 10px;
  border:1px solid rgba(126,166,181,.19);
  border-radius:5px;
  color:#9fb7c1;
  background:rgba(3,14,25,.84);
  font-size:10px;
  font-weight:720;
  letter-spacing:.02em;
}
.forum-font-size-control input {
  width:46px;
  height:25px;
  padding:0 4px;
  border:0;
  border-left:1px solid rgba(255,255,255,.08);
  border-right:1px solid rgba(255,255,255,.08);
  outline:0;
  color:#e7f6f8;
  background:rgba(255,255,255,.025);
  font:inherit;
  font-size:11px;
  font-weight:780;
  text-align:center;
}
.forum-font-size-control input:focus { background:rgba(61,197,207,.08); }
.forum-font-size-control em { color:#6e8d99; font-style:normal; font-size:9px; }
.forum-rich-editor span[style*="font-size"],
.forum-post-content span[style*="font-size"] { line-height:1.45; }
@media (max-width:680px) {
  .forum-font-size-control { order:-1; }
}


/* Forum v0.1.60 – saubere Textgrößensteuerung + Spot der Woche in der Autorenleiste */
.forum-font-size-control {
  width:64px;
  height:34px;
  display:inline-grid;
  grid-template-columns:minmax(0, 1fr) 17px;
  gap:0;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(126,166,181,.22);
  border-radius:5px;
  background:rgba(3,14,25,.88);
}
.forum-font-size-control input {
  width:46px;
  min-width:0;
  height:32px;
  padding:0 4px;
  border:0;
  border-right:1px solid rgba(255,255,255,.08);
  outline:0;
  color:#e7f6f8;
  background:transparent;
  font:inherit;
  font-size:11px;
  font-weight:800;
  text-align:center;
  appearance:textfield;
  -moz-appearance:textfield;
}
.forum-font-size-control input::-webkit-outer-spin-button,
.forum-font-size-control input::-webkit-inner-spin-button { margin:0; -webkit-appearance:none; }
.forum-font-size-control input:focus { background:rgba(61,197,207,.08); }
.forum-font-size-stepper {
  width:17px;
  height:32px;
  display:grid;
  grid-template-rows:1fr 1fr;
  margin:0 !important;
  color:inherit !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.forum-editor-toolbar .forum-font-size-stepper button {
  width:17px;
  min-width:17px;
  height:16px;
  min-height:16px;
  padding:0;
  border:0;
  border-radius:0;
  color:#7f9ba8;
  background:transparent;
  font-size:7px;
  line-height:1;
}
.forum-editor-toolbar .forum-font-size-stepper button:first-child { border-bottom:1px solid rgba(255,255,255,.065); }
.forum-editor-toolbar .forum-font-size-stepper button:hover { color:#eafcff; background:rgba(47,108,124,.42); }
.forum-author-spot-week {
  width:100%;
  display:grid;
  justify-items:center;
  gap:5px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.055);
}
.forum-post-author .forum-author-spot-week > span {
  margin:0 !important;
  color:#9c8760;
  font-size:9px;
  font-weight:780;
  line-height:1.2;
  text-transform:none;
  letter-spacing:.02em;
}
.forum-author-spot-week-row { display:flex; align-items:center; justify-content:center; gap:6px; }
.forum-author-spot-week-row img { width:30px; height:30px; object-fit:contain; }
.forum-post-author .forum-author-spot-week-row strong {
  max-width:none;
  overflow:visible;
  color:#d8bd78;
  font-size:10px;
  font-weight:820;
  white-space:nowrap;
  text-overflow:clip;
}
@media (max-width:640px) {
  .forum-author-spot-week {
    width:auto;
    grid-auto-flow:column;
    align-items:center;
    gap:7px;
    margin:0 0 0 auto;
    padding:0 0 0 10px;
    border-top:0;
    border-left:1px solid rgba(255,255,255,.055);
  }
  .forum-author-spot-week-row img { width:24px; height:24px; }
}

/* v0.1.61 – persistente Forum-Textgröße + einzelner Community-Chat */
.forum-rich-editor {
  font-size: var(--forum-default-font-size, 16px);
}

.chat-view {
  padding: 44px 0 70px;
}
.chat-page-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
}
.chat-page-toolbar {
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.chat-page-heading {
  min-width: 0;
  text-align: center;
}
.chat-page-heading h1 {
  margin: 5px 0 7px;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -.025em;
}
.chat-page-heading p {
  margin: 0;
  color: #8199aa;
  font-size: 13px;
}
.chat-room-count {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(47, 215, 224, .18);
  border-radius: 7px;
  color: #91b5c0;
  background: rgba(6, 28, 42, .68);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .04em;
}
.chat-guest-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(64, 204, 215, .14);
  border-radius: 8px;
  background: rgba(6, 26, 41, .74);
}
.chat-guest-note > div { display: grid; gap: 3px; }
.chat-guest-note strong { font-size: 13px; }
.chat-guest-note span { color: #8199aa; font-size: 11px; }
.chat-guest-note button {
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(41, 218, 225, .28);
  border-radius: 6px;
  color: #eafcff;
  background: rgba(13, 120, 139, .34);
  cursor: pointer;
}
.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 18px;
  align-items: stretch;
}
.chat-room-card,
.chat-users-card {
  border: 1px solid rgba(60, 202, 214, .12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 29, 46, .94), rgba(3, 16, 29, .95));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.chat-room-card {
  display: grid;
  grid-template-rows: auto minmax(420px, 58vh) auto;
  min-width: 0;
}
.chat-room-header,
.chat-users-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  background: rgba(10, 35, 52, .56);
}
.chat-room-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #4fdfe3;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}
.chat-room-header h2,
.chat-users-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.01em;
}
.chat-room-header p {
  margin: 5px 0 0;
  color: #7891a2;
  font-size: 11px;
}
.chat-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(77, 216, 141, .18);
  border-radius: 999px;
  color: #77dca0;
  background: rgba(41, 140, 82, .1);
  font-size: 10px;
  font-weight: 800;
}
.chat-live-pill i,
.chat-user-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d789;
  box-shadow: 0 0 0 3px rgba(84, 215, 137, .1);
}
.chat-message-list {
  min-height: 0;
  overflow-y: auto;
  padding: 13px 18px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 208, 220, .24) transparent;
}
.chat-message-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .025);
}
.chat-message-row time {
  padding-top: 2px;
  color: #4f697a;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.chat-message-copy {
  min-width: 0;
  color: #d7e7ed;
  font-size: 13px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.chat-message-author {
  margin-right: 6px;
  color: #edf8fa;
  font-weight: 800;
}
.chat-message-author.is-admin,
.chat-user-name.is-admin { color: #ef5c66; }
.chat-message-author.is-moderator,
.chat-user-name.is-moderator { color: #56d58b; }
.chat-empty-state {
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  color: #6e8798;
  text-align: center;
}
.chat-empty-state strong { color: #a8c0cb; font-size: 13px; }
.chat-empty-state span { font-size: 11px; }
.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  background: rgba(2, 13, 24, .92);
}
.chat-compose input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(113, 164, 180, .16);
  border-radius: 6px;
  outline: 0;
  color: #e9f6f8;
  background: rgba(4, 20, 33, .94);
  font-size: 13px;
}
.chat-compose input:focus { border-color: rgba(47, 219, 225, .42); box-shadow: 0 0 0 2px rgba(47, 219, 225, .05); }
.chat-compose button {
  min-width: 104px;
  border: 1px solid rgba(50, 220, 226, .28);
  border-radius: 6px;
  color: #f1feff;
  background: linear-gradient(180deg, rgba(15, 150, 164, .78), rgba(9, 102, 122, .78));
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.chat-compose button:hover { filter: brightness(1.08); }
.chat-compose.is-guest { opacity: .66; }
.chat-compose input:disabled,
.chat-compose button:disabled { cursor: not-allowed; }
.chat-users-card { min-width: 0; }
.chat-users-header { min-height: 88px; }
.chat-users-header strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(63, 208, 216, .16);
  border-radius: 7px;
  color: #a6c5ce;
  background: rgba(18, 77, 89, .16);
  font-size: 12px;
}
.chat-user-list { padding: 10px; }
.chat-user-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 9px;
  border-radius: 6px;
}
.chat-user-row:hover { background: rgba(255, 255, 255, .025); }
.chat-user-online-dot { flex: 0 0 7px; }
.chat-user-name {
  min-width: 0;
  overflow: hidden;
  color: #dceaf0;
  font-size: 12px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-users-empty {
  padding: 18px 10px;
  color: #637d8e;
  font-size: 11px;
  text-align: center;
}
@media (max-width: 980px) {
  .chat-page-toolbar { grid-template-columns: auto 1fr; }
  .chat-room-count { display: none; }
  .chat-page-heading { text-align: left; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-users-card { order: -1; }
  .chat-user-list { display: flex; flex-wrap: wrap; gap: 4px; }
  .chat-user-row { min-height: 32px; }
  .chat-room-card { grid-template-rows: auto minmax(380px, 54vh) auto; }
}
@media (max-width: 640px) {
  .chat-view { padding-top: 24px; }
  .chat-page-toolbar { grid-template-columns: 1fr; gap: 14px; }
  .chat-page-heading { order: -1; }
  .chat-room-header { align-items: flex-start; }
  .chat-message-list { padding-inline: 12px; }
  .chat-message-row { grid-template-columns: 38px minmax(0, 1fr); gap: 7px; }
  .chat-compose { grid-template-columns: 1fr; }
  .chat-compose button { min-height: 40px; }
  .chat-guest-note { align-items: stretch; flex-direction: column; }
}

/* v0.1.62 – Gastchat & Chatbot-Verwaltung */
.chat-message-author.is-guest,
.chat-user-name.is-guest { color:#93a5af; }
.chat-user-row.is-bot { background:rgba(146,33,43,.08); border:1px solid rgba(229,83,94,.08); }
.chat-user-row.is-bot .chat-user-online-dot { background:#ef5c66; box-shadow:0 0 0 3px rgba(239,92,102,.09); }
.chat-guest-note { border-color:rgba(114,152,170,.17); background:rgba(18,31,40,.76); }
.chat-guest-note strong { color:#d8edf2; }
.chat-compose.is-guest { opacity:1; }

.chatbot-admin-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  margin-bottom:16px;
}
.chatbot-admin-card {
  padding:22px;
  border:1px solid rgba(91,127,143,.15);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(13,27,36,.88),rgba(9,20,28,.88));
}
.chatbot-admin-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.chatbot-admin-head > div { min-width:0; }
.chatbot-admin-head strong { display:block; color:#e3f8fb; font-size:17px; }
.chatbot-admin-head span { display:block; margin-top:5px; color:#71909e; font-size:12px; line-height:1.5; }
.chatbot-toggle {
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:#b9d5dc;
  font-size:12px;
  font-weight:700;
}
.chatbot-toggle input,
.chatbot-command-enabled input { width:18px; height:18px; accent-color:#39cdd4; }
.chatbot-field { display:block; min-width:0; }
.chatbot-field > span {
  display:block;
  margin-bottom:7px;
  color:#7998a7;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.chatbot-field input,
.chatbot-inline-form input,
.chatbot-command-create input,
.chatbot-command-row input[type="text"],
.chatbot-command-row input:not([type]) {
  width:100%;
  height:44px;
  padding:0 13px;
  color:#def4f8;
  border:1px solid rgba(101,142,160,.18);
  border-radius:9px;
  outline:none;
  background:rgba(4,14,20,.72);
  font:inherit;
  font-size:13px;
}
.chatbot-field input:focus,
.chatbot-inline-form input:focus,
.chatbot-command-create input:focus,
.chatbot-command-row input:focus { border-color:rgba(76,247,242,.38); box-shadow:0 0 0 3px rgba(29,220,227,.04); }
.chatbot-admin-card > .admin-primary-button { margin-top:14px; }
.chatbot-inline-form {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  align-items:end;
}
.chatbot-badword-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.chatbot-badword-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  padding:0 7px 0 11px;
  color:#d6e9ed;
  border:1px solid rgba(222,103,107,.16);
  border-radius:999px;
  background:rgba(83,27,31,.20);
  font-size:12px;
}
.chatbot-badword-chip button {
  width:22px;
  height:22px;
  padding:0;
  color:#d89297;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  font-size:17px;
  line-height:1;
}
.chatbot-command-card { margin-top:0; }
.chatbot-command-create {
  display:grid;
  grid-template-columns:minmax(140px,.45fr) minmax(260px,1.55fr) auto;
  gap:10px;
  align-items:end;
  padding-bottom:18px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.chatbot-command-list { display:grid; gap:9px; margin-top:16px; }
.chatbot-command-row {
  display:grid;
  grid-template-columns:minmax(130px,.4fr) minmax(260px,1.45fr) auto auto;
  align-items:end;
  gap:10px;
  padding:13px;
  border:1px solid rgba(93,130,146,.12);
  border-radius:10px;
  background:rgba(5,16,22,.48);
}
.chatbot-command-enabled {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  color:#a9c1c8;
  font-size:12px;
}
.chatbot-command-actions { display:flex; gap:6px; align-items:center; min-height:44px; }
.chatbot-command-actions button {
  min-height:36px;
  padding:0 11px;
  color:#bcd4da;
  border:1px solid rgba(89,126,142,.16);
  border-radius:8px;
  background:rgba(14,32,41,.78);
  cursor:pointer;
  font-size:11px;
  font-weight:700;
}
.chatbot-command-actions button.danger { color:#e49b9f; border-color:rgba(222,91,99,.17); background:rgba(83,25,31,.24); }
.chatbot-empty-note { color:#607d8b; font-size:12px; line-height:1.5; }

@media (max-width:1100px) {
  .chatbot-admin-grid { grid-template-columns:1fr; }
  .chatbot-command-create { grid-template-columns:1fr 1.5fr; }
  .chatbot-command-create .admin-primary-button { grid-column:1 / -1; justify-self:start; }
  .chatbot-command-row { grid-template-columns:1fr 1.6fr; }
  .chatbot-command-enabled,
  .chatbot-command-actions { min-height:auto; }
}
@media (max-width:700px) {
  .chatbot-admin-card { padding:16px; }
  .chatbot-command-create,
  .chatbot-command-row { grid-template-columns:1fr; }
  .chatbot-inline-form { grid-template-columns:1fr; }
  .chatbot-command-actions { flex-wrap:wrap; }
}


/* v0.1.63 – kompakter Chat ohne Zusatzhinweise */
.chat-view {
  padding: 16px 0 20px;
}
.chat-page-shell {
  width: min(1500px, 100%);
}
.chat-page-toolbar {
  grid-template-columns: 190px 1fr 190px;
  gap: 18px;
  min-height: 42px;
  margin-bottom: 12px;
}
.chat-page-heading {
  text-align: center;
}
.chat-page-heading .section-kicker {
  margin: 0;
  color: #d7eef2;
  font-size: 14px;
  letter-spacing: .08em;
}
.chat-page-heading h1,
.chat-page-heading p,
.chat-room-count,
.chat-guest-note,
.chat-live-pill {
  display: none !important;
}
.chat-layout {
  height: calc(100vh - 202px);
  min-height: 470px;
  max-height: 760px;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 14px;
}
.chat-room-card {
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.chat-users-card {
  height: 100%;
}
.chat-room-header,
.chat-users-header {
  min-height: 70px;
  padding: 13px 16px;
}
.chat-users-header {
  align-items: center;
}
.chat-users-header .chat-room-eyebrow {
  margin-bottom: 0;
}
.chat-user-row {
  gap: 0;
}
.chat-user-online-dot {
  display: none !important;
}
.chat-user-row.is-bot {
  border: 0;
  background: transparent;
}
.chat-user-row.is-bot:hover {
  background: rgba(255,255,255,.025);
}
@media (max-width: 980px) {
  .chat-page-toolbar { grid-template-columns: auto 1fr; }
  .chat-page-heading { text-align: left; }
  .chat-layout { height: auto; min-height: 0; max-height: none; grid-template-columns: 1fr; }
  .chat-room-card { height: auto; grid-template-rows: auto minmax(380px, 54vh) auto; }
  .chat-users-card { height: auto; }
}
@media (max-width: 640px) {
  .chat-view { padding-top: 14px; }
  .chat-page-toolbar { grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; }
  .chat-page-heading { order: -1; }
}


/* v0.1.64 – Chat weiter reduziert und Benutzerliste verdichtet */
.chat-view {
  padding: 10px 0 14px;
}
.chat-page-toolbar {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 8px;
}
.chat-page-heading {
  display: none !important;
}
.chat-layout {
  height: calc(100vh - 166px);
  min-height: 480px;
  max-height: 820px;
}
.chat-room-card {
  grid-template-rows: minmax(0, 1fr) auto;
}
.chat-room-header {
  display: none !important;
}
.chat-message-list {
  padding-top: 12px;
}
.chat-user-list {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 7px 8px;
}
.chat-user-row {
  min-height: 26px;
  padding: 2px 5px;
  border-radius: 4px;
}
.chat-user-name {
  font-size: 12px;
  line-height: 1.2;
}
@media (max-width: 980px) {
  .chat-layout {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .chat-room-card {
    grid-template-rows: minmax(380px, 54vh) auto;
  }
  .chat-user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
  }
  .chat-user-row {
    min-height: 25px;
  }
}
@media (max-width: 640px) {
  .chat-page-toolbar {
    margin-bottom: 7px;
  }
}


/* v0.1.65 – Chat-Benutzerliste enger */
.chat-user-list {
  gap: 1px;
}
.chat-user-row {
  min-height: 22px;
  padding-top: 1px;
  padding-bottom: 1px;
}
@media (max-width: 980px) {
  .chat-user-list { gap: 2px 5px; }
  .chat-user-row { min-height: 22px; }
}

/* v0.1.66 – RF4-Spots-Logo als Icon bei Forenthemen */

/* v0.1.67 – RF4-Spots-Logo auch in der Forum-Hauptübersicht */


/* v0.1.68 – Footer vereinfacht */
.site-footer { justify-content: flex-start; }
@media (max-width: 760px) { .site-footer { flex-direction: row; align-items: center; } }

/* v0.1.69 – E-Mail-Bestätigung & Passwort-Reset */
.auth-helper-row{display:flex;justify-content:space-between;gap:14px;margin:-2px 0 4px}.auth-text-link{border:0;padding:0;color:#86a9b7;background:transparent;font:inherit;font-size:12px;cursor:pointer}.auth-text-link:hover{color:var(--accent-bright)}.auth-dev-link{margin:2px 0 10px;padding:11px 12px;border:1px solid rgba(55,224,229,.18);border-radius:8px;color:#8fa9b8;background:rgba(5,22,34,.72);font-size:12px;line-height:1.5}.auth-dev-link a{color:var(--accent-bright);font-weight:700}@media(max-width:520px){.auth-helper-row{align-items:flex-start;flex-direction:column;gap:8px}}


/* v0.1.70 – vorgeschalteter Login */
body.auth-required .page-shell,
body.auth-required > .ambient,
body.auth-required > footer {
  visibility: hidden;
  pointer-events: none;
}

.auth-overlay.is-access-gate {
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 18%, rgba(26, 193, 203, .13), transparent 34%),
    linear-gradient(180deg, rgba(1, 6, 15, .98), rgba(2, 10, 20, .995));
  backdrop-filter: none;
}

.auth-overlay.is-access-gate .auth-modal {
  width: min(540px, 100%);
  padding-top: 26px;
}

.auth-gate-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 104px;
  margin: -4px 0 10px;
}

.auth-gate-brand img {
  display: block;
  width: min(220px, 55vw);
  max-height: 98px;
  object-fit: contain;
}

.auth-overlay.is-access-gate .auth-close {
  display: none !important;
}


/* v0.1.71 – vorgeschalteter Zugangsschutz nur mit Login */
.auth-overlay.is-access-gate [data-auth-panel]:not([data-auth-panel="login"]) {
  display: none !important;
}
.auth-overlay.is-access-gate .auth-helper-row,
.auth-overlay.is-access-gate .auth-switch {
  display: none !important;
}

/* v0.1.75 – automatisches Spot-Rangbadge */
.profile-person-card .profile-badges-under-name .profile-name-badge.is-spot-rank {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-spot-rank:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  filter: none;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-spot-rank img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 650px) {
  .profile-person-card .profile-badges-under-name .profile-name-badge.is-spot-rank {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}


/* v0.1.76 – Spot-Rangbadges im Forum */
.forum-spot-rank-badge {
  width: 50px !important;
  height: 50px !important;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.forum-spot-rank-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 590px) {
  .forum-spot-rank-badge {
    width: 42px !important;
    height: 42px !important;
  }
}


/* v0.1.79 – Spot der Woche im Forum identisch zur Profilansicht */
.forum-post-author .forum-profile-spot-week {
  width:100%;
  margin-top:4px;
  padding-top:16px;
  border-top:1px solid rgba(76,247,242,.09);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.forum-post-author .forum-profile-spot-week .profile-spot-week-title {
  margin:0 !important;
  color:#64d8db;
  font-size:10px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.forum-post-author .forum-profile-spot-week .profile-spot-week-trophy {
  width:78px;
  height:78px;
  margin:10px 0 0 !important;
}
.forum-post-author .forum-profile-spot-week .profile-spot-week-trophy img {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
.forum-post-author .forum-profile-spot-week .profile-spot-week-count {
  max-width:none;
  margin:8px 0 0 !important;
  overflow:visible;
  color:#dceff1;
  font-size:12px;
  font-weight:700;
  line-height:normal;
  letter-spacing:normal;
  text-transform:none;
  white-space:nowrap;
  text-overflow:clip;
}
@media (max-width:640px) {
  .forum-post-author .forum-profile-spot-week {
    width:100%;
    margin-top:12px;
    padding-top:14px;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .forum-post-author .forum-profile-spot-week .profile-spot-week-title,
  .forum-post-author .forum-profile-spot-week .profile-spot-week-count {
    margin-left:0 !important;
  }
}


/* v0.1.107 – fünf feste Spotbild-Felder inkl. zwei optionaler Bilder */
.spot-upload-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}
.spot-upload-field,
.spot-upload-field.optional {
  position: relative;
  grid-column: auto;
  min-height: 138px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(78, 208, 220, .18);
  border-radius: 12px;
  background: rgba(5, 19, 32, .82);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.spot-upload-field::before { display: none !important; }
.spot-upload-field:hover {
  transform: none;
  border-color: rgba(76, 247, 242, .42);
  background: rgba(8, 28, 43, .92);
  box-shadow: none;
}
.spot-upload-field.has-file {
  border-color: rgba(76, 247, 242, .34);
  background: rgba(5, 21, 34, .92);
}
.spot-upload-title {
  position: relative;
  z-index: 2;
  color: #dffcff;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
}
.spot-upload-preview {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 150px;
  height: 82px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.spot-upload-preview[hidden] { display: none !important; }
.spot-upload-field:has(.spot-upload-preview:not([hidden])) {
  justify-content: flex-start;
}
.spot-upload-field:has(.spot-upload-preview:not([hidden])) .spot-upload-title {
  margin-top: 2px;
}
@media (max-width: 1000px) {
  .spot-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .spot-upload-grid { grid-template-columns: 1fr; }
  .spot-upload-field,
  .spot-upload-field.optional { min-height: 128px; }
  .spot-upload-preview { max-width: 180px; height: 86px; }
}

/* v0.1.81 – Kommentare unter Community-Spots */
.spot-comments {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(78,208,220,.13);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8,25,40,.91), rgba(4,14,26,.98));
}
.spot-comments-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.spot-comments-head h2 { margin:6px 0 0; color:#effcff; font-size:22px; letter-spacing:-.025em; }
.spot-comments-head h2 span { margin-left:7px; color:#6e8b9c; font-size:14px; font-weight:700; }
.spot-comments-list { display:grid; gap:10px; }
.spot-comments-empty { padding:18px; border:1px dashed rgba(255,255,255,.08); border-radius:10px; color:#718c9c; font-size:13px; text-align:center; }
.spot-comment { display:grid; grid-template-columns:42px minmax(0,1fr); gap:12px; padding:14px 15px; border:1px solid rgba(255,255,255,.055); border-radius:10px; background:rgba(2,12,22,.42); }
.spot-comment-avatar { width:42px; height:42px; overflow:hidden; display:grid; place-items:center; border-radius:10px; border:1px solid rgba(76,247,242,.14); color:#bceff2; background:#071a29; font-size:15px; font-weight:800; }
.spot-comment-avatar img { width:100%; height:100%; display:block; object-fit:cover; }
.spot-comment-main { min-width:0; }
.spot-comment-meta { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:6px; }
.spot-comment-meta strong { color:#dff8fb; font-size:13px; }
.spot-comment-meta strong.is-admin { color:#f05b5b; }
.spot-comment-meta strong.is-moderator { color:#5fd78d; }
.spot-comment-meta time { flex:0 0 auto; color:#5e788a; font-size:10px; }
.spot-comment-main p { margin:0; color:#b8cbd4; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.spot-comment-form { display:grid; gap:10px; margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.065); }
.spot-comment-form[hidden] { display:none !important; }
.spot-comment-form label { color:#dff8fb; font-size:12px; font-weight:750; }
.spot-comment-form textarea { width:100%; min-height:98px; resize:vertical; padding:13px 14px; border:1px solid rgba(76,247,242,.15); border-radius:10px; outline:none; color:#e8f8fa; background:rgba(1,10,18,.62); font:inherit; font-size:13px; line-height:1.55; }
.spot-comment-form textarea:focus { border-color:rgba(76,247,242,.42); box-shadow:0 0 0 3px rgba(29,220,227,.06); }
.spot-comment-form textarea:disabled { opacity:.55; cursor:not-allowed; }
.spot-comment-form-footer { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.spot-comment-form-footer span { color:#667f90; font-size:11px; }
.spot-comment-form-footer button { min-height:38px; padding:0 16px; border:1px solid rgba(76,247,242,.28); border-radius:8px; color:#eaffff; background:rgba(15,145,159,.24); font-size:12px; font-weight:760; cursor:pointer; }
.spot-comment-form-footer button:hover:not(:disabled) { border-color:rgba(76,247,242,.5); background:rgba(15,145,159,.34); }
.spot-comment-form-footer button:disabled { opacity:.5; cursor:not-allowed; }
@media (max-width:650px) {
  .spot-comments { padding:18px 14px; }
  .spot-comment { grid-template-columns:36px minmax(0,1fr); padding:12px; }
  .spot-comment-avatar { width:36px; height:36px; }
  .spot-comment-meta { align-items:flex-start; flex-direction:column; gap:2px; }
  .spot-comment-form-footer { align-items:stretch; flex-direction:column; }
  .spot-comment-form-footer button { width:100%; }
}


/* v0.1.82 – Spotdetail: Bilder links, Informationen mittig, Kommentare rechts */
.spot-detail-layout-clean.spot-detail-layout-three-column {
  display: grid;
  grid-template-columns: minmax(520px, 1.55fr) minmax(260px, .58fr) minmax(340px, .86fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}
.spot-detail-layout-three-column .spot-media-gallery {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spot-detail-layout-three-column .spot-media-card,
.spot-detail-layout-three-column .spot-media-card.featured {
  grid-column: auto;
}
.spot-detail-layout-three-column .spot-media-image,
.spot-detail-layout-three-column .spot-media-card.featured .spot-media-image {
  height: clamp(165px, 18vh, 205px);
}
.spot-detail-layout-three-column .spot-detail-info-compact {
  position: sticky;
  top: 18px;
  min-width: 0;
}
.spot-detail-layout-three-column .spot-comments-column {
  min-width: 0;
  margin-top: 0;
  padding: 18px;
  align-self: start;
}
.spot-detail-layout-three-column .spot-comments-head {
  margin-bottom: 14px;
}
.spot-detail-layout-three-column .spot-comments-head h2 {
  font-size: 19px;
}
.spot-detail-layout-three-column .spot-comments-list {
  max-height: 430px;
  overflow-y: auto;
  padding-right: 3px;
}
.spot-detail-layout-three-column .spot-comment {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
}
.spot-detail-layout-three-column .spot-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 13px;
}
.spot-detail-layout-three-column .spot-comment-meta {
  gap: 8px;
}
.spot-detail-layout-three-column .spot-comment-meta strong {
  font-size: 12px;
}
.spot-detail-layout-three-column .spot-comment-meta time {
  font-size: 9px;
}
.spot-detail-layout-three-column .spot-comment-main p {
  font-size: 12px;
  line-height: 1.52;
}
.spot-detail-layout-three-column .spot-comment-form {
  margin-top: 14px;
  padding-top: 14px;
}
.spot-detail-layout-three-column .spot-comment-form textarea {
  min-height: 84px;
}
.spot-detail-layout-three-column .spot-comment-form-footer {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}
.spot-detail-layout-three-column .spot-comment-form-footer button {
  width: 100%;
}
@media (max-width: 1280px) {
  .spot-detail-layout-clean.spot-detail-layout-three-column {
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, .62fr);
  }
  .spot-detail-layout-three-column .spot-comments-column {
    grid-column: 1 / -1;
  }
  .spot-detail-layout-three-column .spot-comments-list {
    max-height: 360px;
  }
}
@media (max-width: 880px) {
  .spot-detail-layout-clean.spot-detail-layout-three-column {
    grid-template-columns: 1fr;
  }
  .spot-detail-layout-three-column .spot-comments-column {
    grid-column: auto;
  }
  .spot-detail-layout-three-column .spot-detail-info-compact {
    position: static;
  }
}
@media (max-width: 650px) {
  .spot-detail-layout-three-column .spot-media-gallery {
    grid-template-columns: 1fr;
  }
  .spot-detail-layout-three-column .spot-media-image,
  .spot-detail-layout-three-column .spot-media-card.featured .spot-media-image {
    height: 220px;
  }
  .spot-detail-layout-three-column .spot-comments-column {
    padding: 16px 13px;
  }
}


/* v0.1.86 – vergrößerte Ansicht für alle Spotmedien */
.spot-media-zoomable,
.spot-media-card {
  cursor: zoom-in;
}
.spot-image-viewer[hidden] { display: none !important; }
.spot-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 5, 10, .92);
  backdrop-filter: blur(6px);
}
.spot-image-viewer-stage {
  position: relative;
  width: min(96vw, 1600px);
  height: min(90vh, 1000px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  justify-items: center;
}
.spot-image-viewer-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}
.spot-image-viewer-caption {
  min-height: 20px;
  color: #d8eef2;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.spot-image-viewer-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10001;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 15, 25, .82);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.spot-image-viewer-close:hover { background: rgba(18, 42, 57, .95); }
body.spot-image-viewer-open { overflow: hidden; }
@media (max-width: 700px) {
  .spot-image-viewer { padding: 16px; }
  .spot-image-viewer-stage { width: 100%; height: 86vh; }
  .spot-image-viewer-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 26px; }
}


/* v0.1.87 – Benutzernamen öffnen überall das öffentliche Profil */
.user-profile-link {
  display: inline;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 3px;
}
.user-profile-link:hover,
.user-profile-link:focus-visible {
  color: inherit;
  text-decoration: underline;
  outline: none;
}
.user-name-static { color: inherit; font: inherit; font-weight: inherit; }


/* v0.1.88 – Gast-Spots, Moderation, Meldungen und Spam-Schutz */
.admin-nav-button[hidden],
.admin-panel[hidden],
.guest-spot-challenge[hidden],
.guest-spot-note[hidden],
.spot-report-overlay[hidden],
.spot-report-button[hidden] { display:none !important; }

.admin-nav-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  padding: 0 6px;
  border: 1px solid rgba(76,247,242,.16);
  border-radius: 999px;
  color: #9adfe4;
  background: rgba(76,247,242,.06);
  font-size: 10px;
  line-height: 1;
}

.guest-spot-challenge {
  display: grid;
  grid-template-columns: minmax(0,1fr) 110px 42px;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  padding: 13px;
  border: 1px solid rgba(76,247,242,.14);
  border-radius: 10px;
  background: rgba(4,18,28,.72);
}
.guest-spot-challenge > div { min-width:0; }
.guest-spot-challenge span {
  display:block;
  margin-bottom:4px;
  color:#6f909d;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.guest-spot-challenge strong { color:#e6fbfd; font-size:16px; }
.guest-spot-challenge input {
  width:100%;
  height:42px;
  padding:0 12px;
  border:1px solid rgba(76,247,242,.18);
  border-radius:9px;
  outline:none;
  color:#efffff;
  background:rgba(1,10,18,.72);
  font:inherit;
  text-align:center;
}
.guest-spot-challenge input:focus { border-color:rgba(76,247,242,.45); }
.guest-spot-challenge button {
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:9px;
  color:#b5d8df;
  background:rgba(9,28,40,.8);
  font-size:19px;
  cursor:pointer;
}
.guest-spot-note {
  margin:10px 0 0 !important;
  color:#6f8d9b !important;
  font-size:11px !important;
  line-height:1.5;
}

.spot-guest-approved {
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:0 7px;
  border:1px solid rgba(94,207,151,.16);
  border-radius:999px;
  color:#77cba0;
  background:rgba(49,126,86,.1);
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}

.spot-report-button {
  width:100%;
  min-height:38px;
  margin-top:9px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  color:#7893a0;
  background:rgba(3,14,24,.5);
  font:inherit;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
}
.spot-report-button:hover { color:#c8dde2; border-color:rgba(218,116,116,.2); background:rgba(76,26,31,.15); }

.spot-report-overlay {
  position:fixed;
  inset:0;
  z-index:10020;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,7,13,.82);
  backdrop-filter:blur(7px);
}
.spot-report-modal {
  position:relative;
  width:min(500px,94vw);
  padding:28px;
  border:1px solid rgba(76,247,242,.14);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(8,27,42,.99),rgba(3,13,24,.99));
  box-shadow:0 28px 80px rgba(0,0,0,.5);
}
.spot-report-modal h2 { margin:7px 0 22px; color:#effdff; font-size:23px; }
.spot-report-modal label { display:block; margin-bottom:15px; }
.spot-report-modal label > span { display:block; margin-bottom:7px; color:#7d99a5; font-size:11px; font-weight:800; }
.spot-report-modal label small { color:#56717d; font-weight:600; }
.spot-report-modal select,
.spot-report-modal textarea {
  width:100%;
  border:1px solid rgba(76,247,242,.15);
  border-radius:9px;
  outline:none;
  color:#e8f8fa;
  background:rgba(1,10,18,.72);
  font:inherit;
  font-size:13px;
}
.spot-report-modal select { height:44px; padding:0 12px; }
.spot-report-modal textarea { padding:12px; resize:vertical; line-height:1.5; }
.spot-report-modal select:focus,
.spot-report-modal textarea:focus { border-color:rgba(76,247,242,.42); }

.moderation-panel-intro {
  margin:-4px 0 20px;
  color:#708d9a;
  font-size:13px;
  line-height:1.6;
}
.moderation-list { display:grid; gap:14px; }
.moderation-card {
  padding:18px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:12px;
  background:rgba(2,12,21,.46);
}
.moderation-card-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
.moderation-card-head > div { min-width:0; }
.moderation-kind {
  display:block;
  margin-bottom:5px;
  color:#5e8593;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
}
.moderation-card-head strong {
  display:block;
  color:#e4f9fb;
  font-size:16px;
}
.moderation-card-head small {
  display:block;
  margin-top:5px;
  color:#6c8996;
  font-size:11px;
}
.moderation-author {
  flex:0 0 auto;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:#8ca5af;
  font-size:10px;
  font-weight:800;
}
.moderation-media {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.moderation-media-item {
  min-width:0;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(255,255,255,.075);
  border-radius:9px;
  color:#819ba5;
  background:rgba(1,8,15,.56);
  cursor:zoom-in;
}
.moderation-media-item img {
  width:100%;
  height:110px;
  display:block;
  object-fit:cover;
}
.moderation-media-item span {
  display:block;
  padding:7px 8px;
  font-size:10px;
  font-weight:750;
}
.moderation-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.moderation-actions button:not(.admin-primary-button) {
  min-height:40px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  color:#9ab3bd;
  background:rgba(7,23,35,.72);
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.moderation-actions .danger {
  color:#e7a0a0 !important;
  border-color:rgba(221,91,91,.18) !important;
  background:rgba(68,20,24,.28) !important;
}
.moderation-report-detail {
  margin:0 0 14px;
  padding:11px 13px;
  border-left:3px solid rgba(220,123,123,.32);
  color:#adc2c9;
  background:rgba(74,24,29,.12);
  font-size:12px;
  line-height:1.55;
}
.moderation-spot-summary {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.moderation-spot-summary strong { color:#dff5f7; font-size:13px; }
.moderation-spot-summary span { color:#6e8995; font-size:11px; }

@media (max-width:760px) {
  .guest-spot-challenge { grid-template-columns:1fr 90px 42px; }
  .moderation-media { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .moderation-card-head,
  .moderation-spot-summary { flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px) {
  .guest-spot-challenge { grid-template-columns:1fr 42px; }
  .guest-spot-challenge > div { grid-column:1 / -1; }
  .moderation-media { grid-template-columns:1fr; }
  .moderation-media-item img { height:160px; }
}


/* v0.1.90 – Spot-Löschung & Chatmoderation */
.spot-delete-button {
  width:100%; margin-top:8px; min-height:42px; border:1px solid rgba(229,83,94,.36); border-radius:10px;
  background:rgba(146,33,43,.13); color:#ff7a84; font:inherit; font-weight:800; cursor:pointer;
}
.spot-delete-button:hover { background:rgba(180,42,54,.2); border-color:rgba(239,92,102,.58); }
.spot-delete-button:disabled { opacity:.55; cursor:wait; }
.chat-name-action { cursor:pointer; text-decoration:none; border-bottom:1px solid transparent; }
.chat-name-action:hover, .chat-name-action:focus-visible { border-bottom-color:currentColor; outline:none; }
.chat-name-static { color:inherit; }
.chat-user-menu {
  position:fixed; z-index:5000; width:min(230px,calc(100vw - 24px)); padding:10px; border:1px solid rgba(255,255,255,.12);
  border-radius:12px; background:#11191d; box-shadow:0 18px 55px rgba(0,0,0,.48);
}
.chat-user-menu[hidden] { display:none !important; }
.chat-user-menu-head { padding:4px 6px 10px; display:flex; flex-direction:column; gap:2px; border-bottom:1px solid rgba(255,255,255,.07); }
.chat-user-menu-head strong { color:#f3f7f8; font-size:.96rem; }
.chat-user-menu-head span { color:#83949c; font-size:.75rem; }
.chat-user-menu-actions { display:grid; gap:5px; padding-top:8px; }
.chat-user-menu-actions button {
  min-height:36px; padding:7px 10px; border:1px solid rgba(255,255,255,.09); border-radius:8px; background:#172226; color:#e9f0f2;
  text-align:left; font:inherit; font-size:.84rem; font-weight:700; cursor:pointer;
}
.chat-user-menu-actions button:hover { background:#1c2a2f; }
.chat-user-menu-actions button.danger { color:#ff7781; border-color:rgba(229,83,94,.28); background:rgba(146,33,43,.12); }
.chat-ban-card .moderation-card-head strong .user-profile-link { font-size:inherit; }


/* v0.1.92 – kompakter Spotdetail-Aufbau + Zielfisch */
.spot-detail-layout-clean.spot-detail-layout-three-column {
  display:grid;
  grid-template-columns:minmax(0, 2.12fr) minmax(340px, .86fr);
  gap:10px;
  align-items:start;
  width:100%;
}
.spot-detail-main-columns {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(500px, 1.48fr) minmax(280px, .64fr);
  gap:10px;
  align-items:stretch;
}
.spot-detail-main-columns .spot-media-gallery {
  min-width:0;
}
.spot-detail-main-columns .spot-detail-info-compact {
  position:static;
  min-width:0;
  height:100%;
  margin:0;
}
.spot-detail-layout-three-column .spot-comments-column {
  grid-column:auto;
}
.spot-detail-info-compact .detail-info-head {
  margin-bottom:10px;
}
.spot-detail-info-compact .detail-info-head .section-kicker {
  display:block;
}
.spot-card-target-fish {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.055);
}
.spot-card-target-fish span {
  color:#66808d;
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.spot-card-target-fish strong {
  min-width:0;
  overflow:hidden;
  color:#d9f4f6;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spot-card-meta .spot-player { gap:0; }
.spot-form-fields { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1280px) {
  .spot-detail-layout-clean.spot-detail-layout-three-column { grid-template-columns:1fr; }
  .spot-detail-layout-three-column .spot-comments-column { grid-column:auto; }
}
@media (max-width:1000px) {
  .spot-detail-main-columns { grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr); }
  .spot-form-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:880px) {
  .spot-detail-main-columns { grid-template-columns:1fr; }
  .spot-detail-main-columns .spot-detail-info-compact { height:auto; }
}
@media (max-width:650px) {
  .spot-form-fields { grid-template-columns:1fr; }
}


/* v0.1.93 – Spotübersicht: Zielfisch rechts, Likes unten rechts, Staff-Löschung */
.spot-card-body-overview .spot-card-meta {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(120px,auto);
  grid-template-rows:auto auto;
  align-items:center;
  gap:10px 14px;
  margin-top:0;
  padding-top:0;
  border-top:0;
}
.spot-card-body-overview .spot-player {
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-width:0;
}
.spot-card-body-overview .spot-target-fish-inline {
  justify-self:end;
  display:inline-flex;
  align-items:baseline;
  gap:7px;
  min-width:0;
  max-width:100%;
}
.spot-card-body-overview .spot-target-fish-inline > span {
  color:#66808d;
  font-size:8px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.spot-card-body-overview .spot-target-fish-inline strong {
  min-width:0;
  overflow:hidden;
  color:#d9f4f6;
  font-size:12px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.spot-card-body-overview .spot-age {
  grid-column:1;
  grid-row:2;
  align-self:end;
  color:#597789;
  font-size:8px;
}
.spot-card-body-overview .spot-likes {
  grid-column:2;
  grid-row:2;
  justify-self:end;
  align-self:end;
  color:#86e1e5;
  font-size:15px;
  font-weight:900;
  line-height:1;
}
.spot-card-body-overview .spot-guest-approved {
  display:block;
  margin-top:8px;
}
.spot-card-delete-button {
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  min-height:30px;
  padding:5px 9px;
  border:1px solid rgba(255,104,115,.5);
  border-radius:8px;
  background:rgba(88,18,25,.88);
  color:#ff8c95;
  font:inherit;
  font-size:10px;
  font-weight:850;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
}
.spot-card-delete-button:hover { background:rgba(130,27,36,.96); border-color:rgba(255,126,135,.75); }
.spot-card-delete-button:disabled { opacity:.55; cursor:wait; }
@media (max-width:520px) {
  .spot-card-body-overview .spot-card-meta { grid-template-columns:minmax(0,1fr) auto; gap:9px; }
  .spot-card-body-overview .spot-target-fish-inline { gap:5px; }
  .spot-card-body-overview .spot-likes { font-size:14px; }
}

/* v0.1.94 – Spotdetail: Bilder und Informationen ohne Zwischenraum + kräftiger Benutzername */
.spot-detail-main-columns {
  gap: 0;
}
.spot-detail-main-columns .spot-media-gallery {
  padding-right: 0;
  margin-right: 0;
}
.spot-detail-main-columns .spot-detail-info-compact {
  margin-left: 0;
}
#detailPlayerFact,
#detailPlayerFact .user-profile-link,
#detailPlayerFact .user-name-static {
  color: #dff7fa;
  font-size: 11px;
  font-weight: 700;
  line-height: inherit;
  opacity: 1;
}
@media (max-width: 880px) {
  .spot-detail-main-columns {
    gap: 10px;
  }
}


/* v0.1.98 – Spotdetail wirklich ohne Leerraum + Kommentar-Löschung für Staff */
@media (min-width: 881px) {
  .spot-detail-main-columns {
    column-gap: 0 !important;
  }
  .spot-detail-main-columns .spot-media-gallery,
  .spot-detail-layout-clean .spot-media-gallery,
  .spot-detail-layout-three-column .spot-media-gallery {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    justify-self: stretch !important;
  }
  .spot-detail-main-columns .spot-detail-info-compact {
    margin-left: 0 !important;
  }
}
.spot-comment-meta-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.spot-comment-delete {
  padding: 3px 7px;
  border: 1px solid rgba(239,92,102,.32);
  border-radius: 6px;
  background: rgba(146,33,43,.12);
  color: #ff7d87;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}
.spot-comment-delete:hover:not(:disabled) {
  border-color: rgba(239,92,102,.58);
  background: rgba(180,42,54,.22);
}
.spot-comment-delete:disabled {
  opacity: .5;
  cursor: wait;
}
@media (max-width: 520px) {
  .spot-comment-meta-actions { align-self: stretch; justify-content: space-between; }
}

/* v0.1.99 – identischer Abstand: Bilder ↔ Spotinformationen = Spotinformationen ↔ Kommentare */
@media (min-width: 881px) {
  .spot-detail-main-columns {
    column-gap: 10px !important;
  }
}


/* v0.1.105 – Angelart und methodenspezifische Spotdaten */
.spot-add-form .spot-form-fields select,
.spot-add-form .spot-form-fields input[type="number"],
.spot-add-form .spot-form-fields input[type="text"] {
  width:100%;
  height:44px;
  padding:0 12px;
  color:#e9fbff;
  border:1px solid rgba(78,208,220,.13);
  border-radius:9px;
  outline:none;
  background:rgba(1,9,17,.50);
  font:inherit;
}
.spot-add-form .spot-form-fields select { cursor:pointer; }
.spot-add-form .spot-form-fields select option { background:#07131d; color:#e9fbff; }
.spot-add-form .spot-form-fields label small,
.spot-note-field small {
  display:block;
  margin-top:6px;
  color:#5f7c8c;
  font-size:8px;
  line-height:1.35;
}
.spot-note-field {
  display:block;
  margin-top:12px;
}
.spot-note-field > span em {
  color:#587381;
  font-style:normal;
  font-weight:700;
  text-transform:none;
}
.spot-note-field textarea {
  box-sizing:border-box;
  width:100%;
  min-height:78px;
  resize:vertical;
  padding:11px 12px;
  color:#e9fbff;
  border:1px solid rgba(78,208,220,.13);
  border-radius:9px;
  outline:none;
  background:rgba(1,9,17,.50);
  font:inherit;
  line-height:1.5;
}
.spot-note-field textarea:focus,
.spot-add-form .spot-form-fields select:focus,
.spot-add-form .spot-form-fields input:focus {
  border-color:rgba(76,247,242,.42);
  box-shadow:0 0 0 3px rgba(29,220,227,.06);
}
.detail-facts .detail-spot-note strong {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.45;
}
.moderation-spot-note {
  display:block;
  margin-top:5px;
  color:#9ab1bc !important;
  white-space:pre-wrap;
}


/* v0.1.105: vollständige Gewässerbilder wiederhergestellt */
.water-visual.mosquito-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/moskito-see.webp?v=0.1.117');
}

.water-visual.elk-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/elk-lake.webp?v=0.1.117');
}

.water-visual.windenbach-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/windenbach.webp?v=0.1.117');
}

.water-visual.alte-festung-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/alte-festung.webp?v=0.1.117');
}

.water-visual.belaja-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/belaja.webp?v=0.1.117');
}

.water-visual.kuori-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/kuori.webp?v=0.1.117');
}

.water-visual.baerensee-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/baerensee.webp?v=0.1.117');
}

.water-visual.wolchow-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/wolchow.webp?v=0.1.117');
}

.water-visual.donez-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/siwerskyj-donez.webp?v=0.1.117');
}

.water-visual.sura-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/sura.webp?v=0.1.117');
}

.water-visual.ladogasee-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/ladogasee.webp?v=0.1.117');
}

.water-visual.bernsteinsee-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/bernstein-see.webp?v=0.1.117');
}

.water-visual.ladoga-archipel-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/ladoga-archipel.webp?v=0.1.117');
}

.water-visual.achtuba-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/achtuba.webp?v=0.1.117');
}

.water-visual.kupfersee-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/kupfersee.webp?v=0.1.117');
}

.water-visual.untere-tunguska-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/untere-tunguska.webp?v=0.1.117');
}

.water-visual.jama-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/jama.webp?v=0.1.117');
}

.water-visual.nordmeer-image {
  background-image:
    linear-gradient(180deg, rgba(2, 9, 18, .03) 0%, rgba(2, 9, 18, .10) 45%, rgba(2, 8, 17, .88) 100%),
    url('assets/waters/nordmeer.webp?v=0.1.117');
}

/* v0.1.108 – Beifängerbild ausschließlich am Europäischen Nordmeer */
#spotBycatchField[hidden] { display: none !important; }


/* v0.1.109 – Admin- und Moderator-Badges identisch rahmenlos darstellen */
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  overflow: visible;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role:hover,
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role::after {
  content: attr(data-badge-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  background: rgba(1,10,18,.96);
  color: #eefcfd;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role:hover::after,
.profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role:focus-visible::after {
  opacity: 1;
}
.forum-role-badge {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 720px) {
  .profile-person-card .profile-badges-under-name .profile-name-badge.is-staff-role {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }
}


/* v0.1.112 – Spot der Woche Countdown */
.spot-week-countdown {
  width: 100%;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  gap: 4px;
  text-align: center;
}
.spot-week-countdown > span {
  color: #5e8798;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spot-week-countdown > strong {
  margin: 0;
  color: #dffbff;
  font-size: 12px;
  line-height: 1.4;
}


/* v0.1.112 – aktueller Wochenführer + deutlicher Gast-Hinweis */
.spot-week-current-spot[hidden] { display: none !important; }
.spot-week-trophy-image[hidden] { display: none !important; }
.spot-week-current-spot {
  position: relative;
  width: 100%;
  max-width: 248px;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(76,247,242,.16);
  border-radius: 12px;
  background: rgba(2,14,24,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
  cursor: pointer;
}
.spot-week-current-spot img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.spot-week-current-spot span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #efffff;
  background: rgba(1,10,18,.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.spot-week-current-spot:hover,
.spot-week-current-spot:focus-visible {
  border-color: rgba(76,247,242,.42);
  outline: none;
}
.guest-spot-note {
  padding: 11px 12px;
  border: 1px solid rgba(76,247,242,.12);
  border-radius: 9px;
  background: rgba(4,18,28,.58);
  color: #8eabb6 !important;
}
.guest-spot-note strong { color: #dffbff; }


/* v0.1.116 – Angelart zuerst; Köder direkt neben Zielfisch */
.spot-add-form .spot-form-fields .spot-fishing-method-field {
  grid-column:1 / -1;
}
.spot-card-body-overview .spot-target-fish-inline {
  gap:6px 8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.spot-card-body-overview .spot-target-fish-inline > span:nth-of-type(2) {
  margin-left:5px;
}


/* v0.1.117 – optimierte Startseitenbilder */
.water-visual.has-image {
  background-color:#071421;
  will-change:auto;
}


/* v0.1.118 – Twitch Partner */
.partner-view { padding: 24px 0 54px; }
.partner-page-shell { width: min(1380px, calc(100% - 32px)); margin: 0 auto; }
.partner-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-bottom: 22px; }
.partner-heading h1 { margin: 3px 0 4px; font-size: clamp(28px, 4vw, 42px); }
.partner-heading p { margin: 0; color: var(--muted); }
.partner-live-update { color: var(--muted); font-size: 12px; white-space: nowrap; }
.partner-api-note { margin: 0 0 18px; padding: 12px 14px; border: 1px solid rgba(255, 177, 77, .28); background: rgba(255, 177, 77, .08); border-radius: 12px; color: #ffd9a3; }
.partner-section { margin-top: 20px; }
.partner-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.partner-section-heading > div { display: flex; align-items: center; gap: 10px; }
.partner-section-heading h2 { margin: 0; font-size: 21px; }
.partner-section-heading > strong { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.06); }
.partner-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff405c; box-shadow: 0 0 14px rgba(255,64,92,.7); }
.partner-live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(390px, 560px)); gap: 14px; justify-content: start; }
.partner-live-card { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(7,15,29,.88); box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.partner-player-wrap { aspect-ratio: 16 / 9; min-height: 240px; background: #000; }
.partner-twitch-player { width: 100%; height: 100%; min-height: 240px; }
.partner-twitch-player iframe { width: 100% !important; height: 100% !important; min-height: 240px; border: 0; display: block; }
.partner-player-fallback { min-height:240px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:24px; text-align:center; color:#cfe7ec; background:#050b12; }
.partner-player-fallback a { color:#65e8e4; text-decoration:none; font-weight:700; }
.partner-live-info { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: start; padding: 12px; }
.partner-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-weight: 800; }
.partner-avatar img { width: 100%; height: 100%; object-fit: cover; }
.partner-avatar-large { width: 58px; height: 58px; }
.partner-live-copy { min-width: 0; }
.partner-live-copy > div { display: flex; gap: 8px; align-items: center; }
.partner-live-copy h3 { margin: 7px 0 3px; font-size: 15px; line-height: 1.35; }
.partner-live-copy p, .partner-live-copy small { margin: 0; color: var(--muted); display: block; }
.partner-live-copy small { margin-top: 8px; }
.partner-live-badge { padding: 3px 7px; border-radius: 5px; background: #e91938; color: white; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.partner-twitch-link, .partner-offline-card > a { color: #c6a8ff; text-decoration: none; font-weight: 700; font-size: 12px; white-space: nowrap; }
.partner-offline-section { margin-top: 30px; }
.partner-offline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.partner-offline-card { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; min-height: 92px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(7,15,29,.72); }
.partner-offline-card strong, .partner-offline-card span { display: block; }
.partner-offline-card span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.partner-offline-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.partner-empty { grid-column: 1 / -1; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; color: var(--muted); border: 1px dashed rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.025); }
.partner-empty-small { min-height: 84px; }
.admin-partner-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.admin-partner-form label > span, .admin-partner-row-controls label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.admin-partner-form input, .admin-partner-form textarea, .admin-partner-row-controls input { width: 100%; }
.admin-partner-description { grid-column: 1 / -1; }
.admin-partner-form .admin-form-actions { grid-column: 1 / -1; }
.admin-partner-config-note { margin: 10px 0 14px; padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 12px; }
.admin-partner-config-note code { color: #fff; }
.admin-status-pill.is-warning { color: #ffd08a; border-color: rgba(255,177,77,.35); background: rgba(255,177,77,.08); }
.admin-partner-row { grid-template-columns: 1fr auto auto; align-items: center; }
.admin-partner-row-controls { display: flex; gap: 12px; align-items: end; }
.admin-partner-row-controls input[type="number"] { width: 90px; }
.admin-partner-toggle { display: flex !important; gap: 7px; align-items: center; padding-bottom: 8px; }
.admin-partner-toggle input { width: auto; }
.admin-partner-toggle span { margin: 0 !important; }
@media (max-width: 1050px) {
  .partner-live-grid { grid-template-columns: 1fr; }
  .partner-offline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-partner-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .partner-toolbar { grid-template-columns: 1fr; }
  .partner-live-update { white-space: normal; }
  .partner-offline-grid { grid-template-columns: 1fr; }
  .partner-live-info { grid-template-columns: auto 1fr; }
  .partner-live-info .partner-twitch-link { grid-column: 2; }
  .partner-player-wrap, .partner-twitch-player, .partner-twitch-player iframe { min-height: 220px; }
  .admin-partner-form { grid-template-columns: 1fr; }
  .admin-partner-description, .admin-partner-form .admin-form-actions { grid-column: auto; }
}
