




































.shop-panel { display: flex; flex-direction: column; gap: var(--sp-l); }
.shop-subnav { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }
.shop-subtab {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.5em 0.95em; min-height: 44px;
  border-radius: 99px; border: 1px solid var(--line-2);
  background: none; color: var(--muted);
  font-size: var(--fs-small); font-weight: 700; font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.shop-subtab--active { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }

.shop-subtab:hover:not(.shop-subtab--active) {
  border-color: var(--cyan);
  color: var(--text);
  background: rgba(56, 225, 255, 0.08);
}



.shop-subtab-icon { display: inline-flex; align-items: center; }
.panel-title .shop-subtab-icon { margin-right: 0.15em; }
.shop-subtab-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.3em; height: 1.3em; padding: 0 0.35em;
  background: var(--orange); color: var(--bg);
  border-radius: 99px; font-size: var(--fs-caption); font-weight: 800;
}
.shop-subtab-badge--hidden { display: none; }


.shop-subtab.subnav-sheet-row .subnav-row-label { display: inline-flex; align-items: center; gap: 0.4em; flex: 1; min-width: 0; }
.shop-subtab.subnav-sheet-row .shop-subtab-badge { margin-left: auto; }
.shop-sub-panel { display: none; }
.shop-sub-panel--active { display: block; }







.shop-nachkauf-hint {
  display: flex; align-items: center; gap: var(--sp-m);
  padding: var(--sp-s) var(--sp-m); margin-bottom: var(--sp-l);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border-radius: var(--card-radius); font-size: var(--fs-small);
}
.shop-nachkauf-ico { flex: none; font-size: 1.1em; line-height: 1; }
.shop-nachkauf-text { flex: 1; color: var(--text); }
.shop-nachkauf-text b { color: var(--gold); font-weight: 600; }
.shop-nachkauf-cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 var(--sp-m);
  border: 1px solid var(--gold); border-radius: 6px;
  color: var(--gold); text-decoration: none; font-weight: 600; white-space: nowrap;
}
.shop-nachkauf-cta:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }


.offer-head {
  display: flex; flex-wrap: wrap; gap: var(--sp-l); align-items: flex-start; justify-content: space-between;
  background: linear-gradient(135deg, #131a35 0%, #0d1322 70%);
  border: 1px solid var(--line-2); border-radius: 12px; padding: var(--sp-l);
}
.offer-head-right { display: flex; flex-direction: column; gap: var(--sp-xs); align-items: flex-end; }






.shop-panel .oh-reset { font-size: var(--fs-small); color: var(--text-dim); }
.oh-reset .oh-countdown { font-variant-numeric: tabular-nums; color: var(--yellow); font-weight: 700; }
.btn-flipall {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: none; border: 1px solid var(--cyan); color: var(--cyan);
  border-radius: 9px; padding: 0.5em 1em; font-size: var(--fs-small); font-weight: 700;
  font-family: inherit; cursor: pointer;
}
.btn-flipall:hover { background: rgba(56, 225, 255, 0.08); }
.btn-flipall:disabled { opacity: 0.5; cursor: not-allowed; }




.shop-guest-gate {
  border: 1px solid var(--cyan); border-radius: 10px; padding: var(--sp-m) var(--sp-l);
  background: rgba(56, 225, 255, 0.05); font-size: var(--fs-small); line-height: 1.5;
}
.shop-guest-gate b { color: var(--cyan); }
.offer-second-hint {
  display: flex; align-items: center; gap: var(--sp-m); flex-wrap: wrap;
  border: 1px dashed var(--line-2); border-radius: 10px; padding: var(--sp-s) var(--sp-l);
  color: var(--text-dim); font-size: var(--fs-small); line-height: 1.5;
}
.offer-second-hint-dismiss {
  margin-left: auto; background: none; border: none; color: var(--muted);
  font-size: var(--fs-body); line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px;
}
.offer-second-hint-dismiss:hover { color: var(--text); }


.offer-grid { display: flex; flex-direction: column; gap: var(--sp-l); }










:where(.offer-grid) .pack {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: var(--sp-l); display: flex; flex-direction: column; gap: var(--sp-m);
}
.pack--big { border-color: #4a3a12; }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-s); flex-wrap: wrap; }
.pack-head h3 { margin: 0; font-size: var(--fs-h3); }
.pack-count { font-size: var(--fs-small); color: var(--text-dim); font-weight: 700; white-space: nowrap; }
.pack-count .bonus { color: var(--green); }
.pack.pack-is-bought .pack-cards { opacity: 0.45; }












.pack-head .einstieg-pill {
  display: inline-flex; align-items: center; gap: 0.3em;
  font-size: var(--fs-caption); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-on-accent); background: var(--cyan);
  border-radius: 999px; padding: 0.15em 0.6em; white-space: nowrap; vertical-align: middle;
}



.pack-head .pack-up-badge {
  display: inline-flex; align-items: center;
  margin-left: 0.5em;
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.01em;
  color: var(--upgrade-color, var(--magenta));
  border: 1px solid var(--upgrade-color, var(--magenta));
  background: rgba(255, 69, 181, 0.10);
  border-radius: 999px; padding: 0.15em 0.7em; white-space: nowrap; vertical-align: middle;
}
.shop-up-hint { color: var(--upgrade-color, var(--magenta)); font-weight: 700; }
.pack-cards .flip-front.ct-tip-self .cs-card { cursor: help; }
.pack-cards .flip-front.ct-tip-self.tip-open { color: inherit; }
.pack-cards .flip-front .cs-card .cs-upgrade-chevron--hint { display: block; animation: none; }

.flip-slot:not(.flipped) .flip-front { pointer-events: none; }

.pack--einstieg {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(56, 225, 255, 0.25), 0 0 26px rgba(56, 225, 255, 0.10);
}
.pack-einstieg-line { font-size: var(--fs-small); color: var(--text-dim); line-height: 1.45; margin: -0.2em 0 0; }
.pack-einstieg-line b { color: var(--cyan); }




.pack-cards .cs-card { cursor: default; }
.pack-cards .cs-card:hover { transform: none; }


.pack-actions { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }


.flip-slot {
  position: relative; aspect-ratio: 3 / 4; perspective: 900px;







  transition: transform 0.35s ease, opacity 0.3s ease;
}
.flip-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(.2, .7, .3, 1);
}
.flip-slot.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 10px; overflow: hidden;
}
.flip-back {
  background: linear-gradient(155deg, #10163a 0%, #0a0f28 100%);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.flip-back::after { content: '⬡'; font-size: 2.6rem; color: var(--cyan); opacity: 0.18; }
.flip-front { transform: rotateY(180deg); }







.flip-slot[role="button"] { cursor: pointer; }
.flip-slot[role="button"].flipped { cursor: default; }
.flip-slot[role="button"]:not(.flipped):hover .flip-back,
.flip-slot[role="button"]:not(.flipped):focus-visible .flip-back {
  border-color: var(--cyan); filter: brightness(1.1);
}
.flip-slot[role="button"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }


.flip-slot.card-merging-out { transform: scale(0.55); opacity: 0; pointer-events: none; }








@media (prefers-reduced-motion: reduce) {
  .flip-slot { transition: none; }
}







.pack-cta { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-s); }
.pack-price { font-size: var(--fs-h3); font-weight: 900; color: var(--gold); }
.pack-price small { display: block; font-size: var(--fs-caption); color: var(--muted); font-weight: 400; }



.pack-bought {
  border: 1px solid rgba(94, 255, 138, 0.4); background: rgba(94, 255, 138, 0.06); border-radius: 9px;
  padding: var(--sp-s) var(--sp-m); font-size: var(--fs-small); color: var(--green); font-weight: 700; text-align: center;
}
.pack-bought small { display: block; color: var(--muted); font-weight: 400; font-size: var(--fs-caption); margin-top: 0.15em; }

.offer-foot { color: var(--muted); font-size: var(--fs-caption); line-height: 1.6; }



















.kauf-greeting { display: flex; gap: var(--sp-l); align-items: center; border-radius: 12px; padding: var(--sp-l);
  border: 1px solid rgba(94,255,138,.45); background: linear-gradient(135deg, rgba(94,255,138,.10), rgba(94,255,138,.03));
  box-shadow: 0 0 0 1px rgba(94,255,138,.08), 0 10px 40px rgba(94,255,138,.08); animation: kg-in .35s cubic-bezier(.2,.7,.3,1); }
@keyframes kg-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.kg-glyph { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800;
  color: #06110a; background: linear-gradient(135deg, var(--green), #b9ffcc); box-shadow: 0 0 22px rgba(94,255,138,.45); }
.kg-body { flex: 1 1 auto; min-width: 0; }
.kg-title { margin: 0; font-size: var(--fs-h3); font-weight: 800; color: var(--text); }
.kg-title b { color: var(--green); }
.kg-sub { margin: .3em 0 0; color: var(--text-dim); font-size: var(--fs-small); line-height: 1.5; }
.kg-sub .kg-amount { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.kg-actions { display: flex; gap: var(--sp-s); flex-wrap: wrap; align-items: center; margin-top: var(--sp-m); }
.kg-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.2em; border-radius: 9px; font-weight: 800; font-size: var(--fs-small);
  font-family: inherit; cursor: pointer; border: 1px solid transparent; background: linear-gradient(135deg, var(--green), #9dffb8); color: #06110a; text-decoration: none; }
.kg-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1em; border-radius: 9px; font-weight: 700; font-size: var(--fs-small);
  font-family: inherit; cursor: pointer; background: none; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.kg-secondary:hover, .kg-primary:hover { filter: brightness(1.08); }
.kg-link { color: var(--cyan); font-size: var(--fs-small); text-decoration: none; margin-left: auto; }
.kg-link:hover { text-decoration: underline; }

.kauf-greeting--pending { border-color: rgba(56,225,255,.45); background: linear-gradient(135deg, rgba(56,225,255,.10), rgba(56,225,255,.03)); box-shadow: 0 0 0 1px rgba(56,225,255,.08); }
.kauf-greeting--pending .kg-glyph { background: none; box-shadow: none; border: 3px solid rgba(56,225,255,.25); border-top-color: var(--cyan); animation: kg-spin .9s linear infinite; }
@keyframes kg-spin { to { transform: rotate(360deg); } }

.kauf-greeting--late { border-color: rgba(240,179,80,.5); background: linear-gradient(135deg, rgba(240,179,80,.10), rgba(240,179,80,.03)); box-shadow: 0 0 0 1px rgba(240,179,80,.08); }
.kauf-greeting--late .kg-glyph { background: linear-gradient(135deg, var(--gold), #ffcf7d); box-shadow: 0 0 22px rgba(240,179,80,.35); color: #201502; }





.pack--fresh { border-color: rgba(94,255,138,.55); box-shadow: 0 0 0 1px rgba(94,255,138,.12), 0 0 28px rgba(94,255,138,.12); animation: kg-glow 2.4s ease-in-out 1; }
.pack--fresh .pack-cards { opacity: 1; }
@keyframes kg-glow { 0% { box-shadow: 0 0 0 1px rgba(240,179,80,.5), 0 0 40px rgba(240,179,80,.35); } 100% { box-shadow: 0 0 0 1px rgba(94,255,138,.12), 0 0 28px rgba(94,255,138,.12); } }
.pack--fresh .pack-head h3::after,
.pack--pending .pack-head h3::after { content: "Gerade gekauft"; margin-left: .6em; font-size: var(--fs-caption); font-weight: 800; color: #06110a; background: var(--green); border-radius: 999px; padding: .2em .6em; vertical-align: middle; }






.pack--pending .pack-head h3::after { content: "wird gutgeschrieben …"; background: var(--cyan); }
.pack--pending .pack-cards { opacity: .45; }
.pack--pending .pack-bought { display: none; }



.shop-sub-panel.has-greeting .offer-second-hint { display: none; }





.shop-code-area {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: var(--sp-l) 18px;
}
.shop-code-area .panel-title { margin-bottom: var(--sp-xs); }
.shop-code {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-m);
  max-width: 520px; margin-top: var(--sp-s);
}
.shop-code-input {
  flex: 1 1 9em; min-width: 0; height: 40px; padding: 0 var(--sp-m);
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text);
  font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase;
}
.shop-code-input::placeholder { text-transform: none; letter-spacing: 0.08em; color: var(--muted); }
.shop-code-input:focus { outline: none; border-color: var(--cyan); }
.shop-code-input--bad, .shop-code-input--bad:focus { border-color: var(--red); }
.shop-code-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 40px; padding: 0 var(--sp-xl); border: 0; border-radius: 10px; background: var(--cyan); color: var(--text-on-accent);
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.shop-code-btn:hover { filter: brightness(1.08); }
.shop-code-btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.shop-code-msg { flex-basis: 100%; margin: 0; font-size: var(--fs-small); color: var(--text-dim); }
.shop-code-msg--ok { color: var(--green); }
.shop-code-msg--bad { color: var(--red); }


.shop-code-guest-text { margin: 0; font-size: var(--fs-small); color: var(--text-dim); }
.shop-code-links { margin-top: var(--sp-m); max-width: 100%; font-size: 0.85em; line-height: 1.45; }

.shop-code-toast {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(440px, calc(100% - 24px)); z-index: 9998;
  display: flex; align-items: center; gap: var(--sp-m);
  padding: var(--sp-m); background: var(--panel); border: 1px solid var(--green); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); font-size: var(--fs-small); color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.shop-code-toast--show { opacity: 1; pointer-events: auto; }
.shop-code-toast-ico { font-size: 1.2em; }
.shop-code-toast-sub { color: var(--text-dim); }


@media (max-width: 600px) {


  .shop-nachkauf-hint { flex-wrap: wrap; }
  .shop-nachkauf-cta { width: 100%; min-height: 44px; }
  .offer-head { flex-direction: column; align-items: stretch; }
  .offer-head-right { align-items: flex-start; }




  .pack-einstieg-line .oe-more { display: none; }


  .kauf-greeting { flex-direction: column; align-items: stretch; text-align: left; }
  .kg-glyph { width: 44px; height: 44px; font-size: 22px; }
  .kg-actions { flex-direction: column; align-items: stretch; }
  .kg-link { margin-left: 0; text-align: center; padding: .6em 0; }


  .shop-subnav--sheet { display: none; }

  .shop-code-toast { bottom: calc(16px + var(--bottom-nav-h, 0px) + env(safe-area-inset-bottom, 0px)); }
}
