:root {
  --bg-image: url('https://i.pinimg.com/1200x/c4/88/a5/c488a5045bf7ac2d08b8bd9342cecf92.jpg');

  --bg: #070A12;
  --bg2: #0B1020;
  --card: rgba(255, 255, 255, .06);
  --card2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .12);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .65);
  --brand: #8B5CF6;
  --brand2: #22D3EE;
  --good: #22c55e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* fester Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  /* verhindert Blurrand */
  z-index: -2;
}

/* Blur + Dark Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(6, 8, 16, 0.78);
  /* dunkelt ab */
  z-index: -1;
}

html,
body {
  margin: 0;
  color: var(--text);
  background: transparent;
  /* wichtig */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

h1,
h2 {
  margin: 8px 0 12px;
}

button {
  cursor: pointer;
}

.people {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 80px 52px 52px;
  gap: 10px;
  align-items: center;
  padding: 12px;

  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
}

.name {
  font-weight: 600;
}

.count {
  font-size: 22px;
  text-align: center;
}

.btn {
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.btn:hover {
  background: rgba(255, 255, 255, .10);
}

.btn:hover {
  background: rgba(255, 255, 255, .10);
}

.btn:active {
  transform: scale(0.98);
}

.btnOpen {
  background: rgba(34, 211, 238, .15);
  border: 1px solid rgba(34, 211, 238, .4);
}

.hint {
  opacity: 0.6;
  font-size: 12px;
  text-align: right;
}

.meta,
.share {
  opacity: 0.8;
  font-size: 13px;
  white-space: pre-wrap;
}

code {
  background: #1b1f2e;
  padding: 2px 6px;
  border-radius: 6px;
}

.inp {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .18);
  color: #fff;
  width: 100%;
  outline: none;
}

.inp:focus {
  border-color: rgba(34, 211, 238, .55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .14);
}

.row2 {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  align-items: center;
}

.ownerBox {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rulesInput {
  min-height: 180px;
  resize: vertical;
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.rulesHelp,
.rulesEmpty {
  opacity: 0.78;
  font-size: 13px;
  margin-top: 8px;
}

.rulesBox {
  margin: 14px 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
}

.rulesBox h3 {
  margin: 0 0 10px;
}

.rulesContent {
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

.rulesContent p,
.rulesContent ul,
.rulesContent ol,
.rulesContent pre,
.rulesContent blockquote {
  margin: 0 0 12px;
}

.rulesContent ul,
.rulesContent ol {
  padding-left: 22px;
}

.rulesContent a {
  color: var(--brand2);
}

.rulesContent pre,
.rulesContent code {
  background: rgba(0, 0, 0, .22);
}

.rulesContent pre {
  padding: 12px;
  border-radius: 12px;
  overflow: auto;
}

.rulesContent blockquote {
  padding-left: 12px;
  border-left: 3px solid rgba(34, 211, 238, .45);
  opacity: 0.92;
}

.countSmall {
  text-align: center;
  opacity: 0.8;
}

.btnDanger {
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 80, .25);
  background: rgba(255, 80, 80, .12);
  color: #fff;
}

.btnDanger:hover {
  background: rgba(255, 80, 80, .18);
}

.draggable {
  cursor: grab;
}

.draggable.dragging {
  opacity: 0.6;
}

.draggable.dragover {
  outline: 2px dashed #3b82f6;
  outline-offset: 6px;
}

.rowOwner {
  display: grid;
  grid-template-columns: 36px 1fr 60px 110px 90px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #141721;
  border-radius: 12px;
  margin: 10px 0;
}

.dragHandle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b1f2e;
  user-select: none;
  font-size: 18px;
  opacity: 0.9;
}

button {
  pointer-events: auto;
}

.share button {
  pointer-events: auto;
}

.rowTop {
  background: rgba(255, 215, 0, 0.12) !important;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.7) !important;
  border-left: 4px solid gold !important;
}

.topJump {
  animation: topFlash 900ms ease !important;
}

@keyframes topFlash {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.12);
  }

  60% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.crown {
  display: inline-block;
  transform-origin: center;
}

.crownOff {
  visibility: hidden;
  /* hält Layout stabil, optional */
}

.crownJump {
  animation: crownPop 700ms ease;
}

@keyframes crownPop {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: brightness(1);
  }

  35% {
    transform: translateY(-6px) scale(1.25) rotate(-8deg);
    filter: brightness(1.25);
  }

  70% {
    transform: translateY(-2px) scale(1.12) rotate(6deg);
    filter: brightness(1.15);
  }

  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: brightness(1);
  }
}

.wrap {
  max-width: 1100px;
  margin: 26px auto;
  padding: 24px;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 18px 70px rgba(0, 0, 0, .45);
}

a {
  color: inherit;
  text-decoration: none;
  opacity: .9;
}

a:hover {
  opacity: 1;
  text-decoration: underline;
}

.landing {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
  box-shadow: 0 10px 60px rgba(0, 0, 0, .45);
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

h1 {
  font-size: 52px;
  line-height: 1.05;
  margin: 14px 0 10px;
  letter-spacing: -1px;
}

.sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 55ch;
}

.ctaRow {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tiny {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.openPage {
  max-width: 1120px;
}

.openGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.openCard {
  padding: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  min-width: 0;
}

.openCardPrimary {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .05));
}

.openCardSecondary {
  background: rgba(255, 255, 255, .05);
}

.openCardHeader {
  margin-bottom: 18px;
}

.openEyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .22);
  color: #b7f4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.openTitle {
  margin: 12px 0 8px;
  font-size: 24px;
}

.openLead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.openLabel {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.openForm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.openInput {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
}

.openInput::placeholder {
  color: rgba(255, 255, 255, .46);
}

.openInput:focus {
  outline: 2px solid rgba(34, 211, 238, .45);
  outline-offset: 2px;
}

.openSubmit {
  white-space: nowrap;
}

.openExamples {
  margin-top: 18px;
  color: var(--muted);
}

.openExampleTitle {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}

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

.openExampleTag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  color: var(--muted);
  font-size: 14px;
}

.openExampleTag code,
.savedOwnerSlug {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.savedOwners {
  margin-top: 4px;
}

.openSavedTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.openSavedCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .22);
  color: #b7f4ff;
  font-size: 12px;
}

.openSavedEmpty {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .12);
  color: var(--muted);
}

.savedOwnerList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.savedOwnerItem {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "name"
    "meta"
    "actions";
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  min-width: 0;
}

.savedOwnerMeta {
  grid-area: meta;
  min-width: 0;
  padding: 2px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.savedOwnerName {
  grid-area: name;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  margin: -2px -2px 2px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.savedOwnerSlug {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.savedOwnerTokenRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.savedOwnerTokenLabel {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.savedOwnerToken {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}

.savedOwnerActions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 0;
  padding-top: 2px;
}

.savedOwnerLinkRow {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

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

.savedOwnerLinkActions .btn {
  padding: 8px 10px;
  font-size: 13px;
}

.openStatus {
  min-height: 24px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.openStatus.is-error {
  color: #fca5a5;
}

.openStatus.is-loading {
  color: #93c5fd;
}

.btnPrimary,
.btnGhost,
.btn,
.btnDanger {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.btnPrimary {
  background: linear-gradient(90deg, rgba(139, 92, 246, .95), rgba(34, 211, 238, .85));
  border: 0;
  color: #061018;
  box-shadow: 0 10px 30px rgba(139, 92, 246, .20);
}

.btnPrimary:hover {
  transform: translateY(-1px);
}

.btnGhost {
  background: rgba(255, 255, 255, .04);
}

.btnGhost:hover {
  background: rgba(255, 255, 255, .07);
}

.createOut {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(0, 0, 0, .18);
  color: rgba(255, 255, 255, .75);
  overflow: auto;
  max-height: 160px;
}

/* Preview card */
.previewCard {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.previewTop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: .9;
}

.dot.red {
  background: #ef4444;
}

.dot.yellow {
  background: #f59e0b;
}

.dot.green {
  background: #22c55e;
}

.previewTitle {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
}

.previewList {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pRow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}

.pRow.top {
  background: rgba(255, 215, 0, .10);
  border-color: rgba(255, 215, 0, .28);
  box-shadow: 0 0 18px rgba(255, 215, 0, .22);
}

.pName {
  font-weight: 700;
}

.pScore {
  font-variant-numeric: tabular-nums;
  opacity: .9;
}

.pBtns {
  display: flex;
  gap: 6px;
}

.pBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .18);
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
}

.previewFoot {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.howTopFeatures {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fCard {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
}

.fIcon {
  font-size: 20px;
}

.fTitle {
  font-weight: 800;
  margin-top: 10px;
}

.fText {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* How */
.how {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, .03);
}

.how h2 {
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  border-radius: 16px;
  padding: 14px;
}

.num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, .18);
  border: 1px solid rgba(139, 92, 246, .35);
  font-weight: 800;
}

.stepTitle {
  font-weight: 800;
}

.stepText {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.bottomCta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  padding: 6px 2px 20px;
}

.footLinks {
  display: flex;
  gap: 12px;
}

/* Mobile */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .howTopFeatures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .openGrid {
    grid-template-columns: 1fr;
  }

  .openForm {
    grid-template-columns: 1fr;
  }

  .openCard {
    padding: 18px;
  }

  .savedOwnerItem {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "meta"
      "actions";
  }

  .savedOwnerActions {
    justify-content: flex-start;
  }

  .savedOwnerLinkRow {
    grid-template-columns: 1fr;
  }

  .savedOwnerTokenRow {
    flex-wrap: wrap;
  }

  .savedOwnerLinkActions {
    width: 100%;
  }

  .savedOwnerToken {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .wrap {
    margin: 14px;
    padding: 16px;
  }

  .openPage {
    max-width: 100%;
  }

  .openTitle {
    font-size: 21px;
  }

  .openExamples {
    margin-top: 16px;
  }

  .openExampleTags {
    gap: 8px;
  }

  .openExampleTag {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  .openSubmit,
  .savedOwnerLinkActions .btn,
  .savedOwnerActions .btn,
  .savedOwnerActions .btnDanger {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }

  .howTopFeatures {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HEADER + MOBILE MENU
========================= */

.siteHeader{
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0px 24px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  background: rgba(10,14,24,.65);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.headerInner{
  max-width: 1100px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position: relative;
}

/* Logo links */
.logoWrap{
  position: relative;
  display:flex;
  align-items:center;
  gap:16px;
  min-height: 44px;
}

/* Wimpel */
.logoFlag{
  position: absolute;
  top: -18px;
  left: 0;
  height: 115px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0 10px;
  z-index: 2;
}

.logo{
  height: 115px;
  width: auto;
}

/* Desktop Nav */
.mainNav{
  display:flex;
  gap:22px;
  align-items:center;
}

.langSwitch{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:8px;
  font-size:12px;
  color:rgba(255,255,255,.72);
}

.langSwitch a{
  font-size:12px;
  padding:2px 6px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.9);
}

.langSwitch a:hover{
  border-color:rgba(139,92,246,.6);
  text-decoration:none;
}

.mainNav a{
  font-size:14px;
  color:rgba(255,255,255,.75);
  position:relative;
  padding:4px 0;
}

.mainNav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,#8B5CF6,#22D3EE);
  transition:.25s ease;
}

.mainNav a:hover{ color:#fff; }
.mainNav a:hover::after{ width:100%; }

/* Burger Button (hidden on desktop) */
.navToggle{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}

.navToggle:hover{
  background: rgba(255,255,255,.10);
}

/* Mobile dropdown panel */
.mobileNav{
  display:none; /* wird per JS auf/zu gemacht */
  position:absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,24,.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.mobileNav a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.85);
}

.mobileNav a:hover{
  background: rgba(255,255,255,.08);
  text-decoration:none;
}
/* Links nur zeigen wenn verfügbar */
.navHidden{ display:none !important; }

/* Footer global */
.siteFooter{
  margin: 24px 0 14px;
  padding: 0 24px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.footerInner{
  max-width: 1100px;
  margin: 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 12px 6px 22px;
}

.footerInner a{ opacity:.8; }
.footerInner a:hover{ opacity:1; }

@media (max-width: 768px){
  .siteFooter{ padding: 0 14px; }
  .footerInner{
    flex-direction:column;
    gap:10px;
    align-items:flex-start;
  }
}

/* Mobile layout rules */
@media (max-width: 768px){
  .siteHeader{ padding: 12px 14px; }

  /* Desktop nav aus, Burger an */
  .mainNav{ display:none; }
  .navToggle{ display:inline-flex; }

  /* Logo links bleibt, nix column! */
  .headerInner{
    flex-direction: row;
    gap: 10px;
  }

  /* Brand-Text hast du aktuell eh nicht im HTML - falls du ihn später nutzt */
  .brand{ margin-left: 140px; }
}

/* JS toggled state */
.siteHeader.navOpen .mobileNav{
  display:block;
}
.siteHeader.navOpen .navToggle{
  background: rgba(139,92,246,.18);
  border-color: rgba(139,92,246,.40);
}
/* =========================
   MOBILE OWNER FIXES
   Desktop bleibt unverändert
========================= */
@media (max-width: 768px){

  /* Owner-Link Block: Zeilen sauber umbrechen */
  .ownerBox .share{
    white-space: normal;             /* war pre-wrap -> kann zu breit wirken */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Jede Link-Zeile (wir stylen allgemein code) */
  .ownerBox .share code{
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;             /* einzeilig + ... */
  }

  /* Wenn du Copy/Open Buttons neben dem code hast */
  .ownerBox .share .btn,
  .ownerBox .share .btnOpen{
    width: 100%;
    justify-content: center;
  }

  /* Optional: Buttons in share eher kompakt */
  .ownerBox .share button{
    padding: 10px 12px;
  }

}
@media (max-width: 768px){

  /* Owner Rows: kompakter, damit nichts überläuft */
  .rowOwner{
    grid-template-columns: 36px 1fr 54px 44px 44px; /* handle | name | count | save | del */
    gap: 8px;
  }

  /* Buttons in Owner Row: quadratisch */
  .rowOwner .btn,
  .rowOwner .btnDanger{
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0; /* Text ausblenden */
  }

  /* Save Icon */
  .rowOwner .btn::before{
    content: "💾";
    font-size: 18px;
    line-height: 1;
  }

  /* Delete Icon */
  .rowOwner .btnDanger::before{
    content: "🗑️";
    font-size: 18px;
    line-height: 1;
  }

  /* Optional: Count kleiner */
  .rowOwner .countSmall{
    font-size: 14px;
  }

}
