/* Pack Opening — rip.css */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0e130d;
  --bg-card:     #1c2517;
  --bg-row:      #161e13;
  --border:      rgba(255,255,255,0.1);
  --border-bright: rgba(255,255,255,0.25);
  --text:        #c8d0c0;
  --text-dim:    #6a7a62;
  --text-bright: #ffffff;
  --gold:        #c9a84c;
  --gold-dark:   #a07830;
  --gold-glow:   rgba(201,168,76,0.18);
  --font-title:  'Libre Baskerville', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  /* Scale with viewport — clamp(min, preferred, max) */
  --pack-w:  clamp(180px, 18vw, 340px);
  --flap-h:  clamp(50px,  5vw,  95px);
  --card-w:  clamp(125px, 12.5vw, 231px);
  --card-h:  clamp(175px, 17.5vw, 324px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Nav ── */
.rip-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 32px;
  background: #111a0e;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rip-nav-logo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.rip-nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.rip-nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.rip-nav-links a:hover,
.rip-nav-links a.active {
  color: var(--text-bright);
  border-bottom-color: var(--gold);
}

.rip-nav-hamburger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.rip-nav-menu {
  background: #111a0e;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 8px 24px 16px;
  gap: 4px;
  position: sticky;
  top: 49px;
  z-index: 99;
}

.rip-nav-menu a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.rip-nav-menu a:last-child { border-bottom: none; }

.rip-nav-menu a:hover,
.rip-nav-menu a.active {
  color: var(--text-bright);
}

@media (max-width: 600px) {
  .rip-nav-links    { display: none; }
  .rip-nav-hamburger { display: block; }
}

/* ── Utilities ── */
.hidden { display: none !important; }

/* ── Set Selection ── */
#set-select-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
}

#set-select-screen h1 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-bright);
  margin: 0 0 8px;
}

.rip-subtitle {
  color: var(--text-dim);
  margin: 0 0 48px;
  font-size: 0.95rem;
}

#set-grid {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.set-choice {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s;
}

.set-choice:hover {
  transform: translateY(-6px);
}

/* Mini pack preview in set selection */
.set-pack-preview {
  width: clamp(195px, 18vw, 315px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 2px rgba(201,168,76,0.35);
  transition: box-shadow 0.2s;
}

.set-choice:hover .set-pack-preview {
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 2px rgba(201,168,76,0.75);
}

.set-pack-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.set-pack-placeholder {
  width: 150px;
  height: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.set-name {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ── Pack Screen ── */
#pack-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

#pack-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#pack-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

/* ── Pack Visual ── */
.pack-visual {
  width: var(--pack-w);
  position: relative;
  transition: transform 0.15s, filter 0.15s;
  user-select: none;
}

.pack-visual:hover {
  transform: scale(1.03) rotate(-0.5deg);
  filter: brightness(1.07);
}

/* Full pack body with image */
.pack-body {
  width: var(--pack-w);
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 2.5px var(--gold),
    0 0 0 4.5px rgba(201,168,76,0.2),
    0 12px 36px rgba(0,0,0,0.6);
}

.pack-body-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Foil sheen overlay */
.pack-foil-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.11) 50%,
    rgba(255,255,255,0.04) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Flap ── */
/* The flap mirrors the same image but clips to just the top portion. */
/* When it flies away, it looks like that piece of the pack peeled off. */
.pack-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--flap-h);
  overflow: hidden;
  z-index: 3;
  transform-origin: top center;
  /* Zigzag clip on the bottom edge — the "tear line" shape */
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 65%,
    97.0% 100%, 94.1% 65%, 91.2% 100%, 88.2% 65%, 85.3% 100%, 82.4% 65%,
    79.4% 100%, 76.5% 65%, 73.5% 100%, 70.6% 65%, 67.6% 100%, 64.7% 65%,
    61.8% 100%, 58.8% 65%, 55.9% 100%, 52.9% 65%, 50.0% 100%, 47.1% 65%,
    44.1% 100%, 41.2% 65%, 38.2% 100%, 35.3% 65%, 32.4% 100%, 29.4% 65%,
    26.5% 100%, 23.5% 65%, 20.6% 100%, 17.6% 65%, 14.7% 100%, 11.8% 65%,
    8.8% 100%, 5.9% 65%, 2.9% 100%, 0% 65%
  );
  /* Mirror the gold border on top+sides only */
  box-shadow:
    inset 0 3px 0 0 #c8a96e,
    inset 3px 0 0 0 #c8a96e,
    inset -3px 0 0 0 #c8a96e;
}

.pack-flap-img {
  width: var(--pack-w);  /* same as pack body */
  height: auto;
  display: block;
}

/* ── Tear line indicator ── */
.pack-tear-line {
  position: absolute;
  top: var(--flap-h);
  left: 4px;
  right: 4px;
  height: 2px;
  z-index: 4;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.25) 0px,
    rgba(255,255,255,0.25) 4px,
    transparent 4px,
    transparent 8px
  );
  pointer-events: none;
}

/* ── Rip hint ── */
#pack-rip-hint {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

/* ── Pack shake (pre-rip) ── */
@keyframes pack-pre-shake {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  15%       { transform: rotate(-1.5deg) translateX(-4px); }
  35%       { transform: rotate(1.5deg) translateX(4px); }
  55%       { transform: rotate(-1deg) translateX(-3px); }
  75%       { transform: rotate(0.8deg) translateX(2px); }
}

.pack-visual.shaking {
  animation: pack-pre-shake 0.22s ease-in-out;
  pointer-events: none;
}

/* ── Flap tear-off ── */
@keyframes flap-tear-off {
  0%   { transform: translateY(0) rotate(0deg) scaleX(1); opacity: 1; }
  8%   { transform: translateY(-6px) rotate(-1.5deg) scaleX(1.01); }
  18%  { transform: translateY(-14px) rotate(-3deg) scaleX(1.02); }  /* snap moment */
  100% { transform: translateY(-280px) rotate(-20deg) scaleX(0.85); opacity: 0; }
}

.pack-flap.tearing {
  animation: flap-tear-off 0.55s cubic-bezier(0.2, 0, 0.4, 1) forwards;
}

/* ── Pack body exit ── */
@keyframes pack-body-exit {
  0%   { transform: scale(1) translateY(0); opacity: 1; }
  25%  { transform: scale(1.015) translateY(-5px); opacity: 1; }
  100% { transform: scale(0.93) translateY(22px); opacity: 0; }
}

.pack-body.exiting {
  animation: pack-body-exit 0.42s ease-in forwards;
}

/* ── Pile View ── */

:root {
  --pile-w: clamp(200px, 25vw, 325px);
  --pile-h: clamp(280px, 35vw, 455px);
}

#pile-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
}

#pile-stack {
  position: relative;
  width: var(--pile-w);
  height: var(--pile-h);
  cursor: pointer;
}

/* Background "stack" cards (face-down) */
.pile-bg-card {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: url('/website_assets/Card_back.png') center / cover;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.pile-bg-3 { transform: rotate(-5deg) translate(-6px, 6px);  opacity: 0.55; }
.pile-bg-2 { transform: rotate( 4deg) translate( 5px, 5px);  opacity: 0.70; }
.pile-bg-1 { transform: rotate(-2deg) translate(-3px, 3px);  opacity: 0.85; }

/* Current (top) card */
#pile-current {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.55);
  transition: transform 0.15s, box-shadow 0.15s;
  isolation: isolate;
}

#pile-stack:hover #pile-current {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
}

#pile-current img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--bg-card);
}

/* Rarity badge overlaid on pile card */
#pile-rarity-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Holo on pile card */
#pile-current.holo {
  border: 2px solid rgba(200,180,255,0.5);
  box-shadow: 0 10px 32px rgba(0,0,0,0.55), 0 0 12px rgba(200,180,255,0.25);
}

#pile-current.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,120,200,0.12) 30%,
    rgba(120,200,255,0.15) 38%,
    rgba(200,255,120,0.12) 44%,
    transparent 50%,
    transparent 60%,
    rgba(255,200,120,0.12) 68%,
    rgba(120,255,200,0.15) 74%,
    rgba(200,120,255,0.12) 80%,
    transparent 88%
  );
  background-size: 200% 100%;
  animation: holo-shimmer 4s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 8px;
}

#pile-current.ultra-rare {
  animation: ultra-rare-pulse 2.2s ease-in-out infinite;
}

/* Pile footer */
#pile-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

#pile-counter {
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
}

#pile-hint {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* Pile action buttons */
#pile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

#pile-actions button {
  padding: 9px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

#pile-actions button:hover { transform: translateY(-1px); }

.btn-spread-all {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-color: var(--gold-dark) !important;
}
.btn-spread-all:hover { background: rgba(201,168,76,0.2) !important; }

/* Fly-away animations */
@keyframes fly-left {
  0%   { transform: translate(0, 0)        rotate(0deg)   scale(1);    opacity: 1; }
  12%  { transform: translate(15px, -18px) rotate(4deg)   scale(1.04); opacity: 1; }
  100% { transform: translate(-120vw, -80px) rotate(-28deg) scale(0.75); opacity: 0; }
}

@keyframes fly-right {
  0%   { transform: translate(0, 0)         rotate(0deg)   scale(1);    opacity: 1; }
  12%  { transform: translate(-15px, -18px) rotate(-4deg)  scale(1.04); opacity: 1; }
  100% { transform: translate( 120vw, -80px) rotate( 28deg) scale(0.75); opacity: 0; }
}

#pile-current.fly-left  { animation: fly-left  0.42s cubic-bezier(0.4, 0, 1, 1) forwards; pointer-events: none; }
#pile-current.fly-right { animation: fly-right 0.42s cubic-bezier(0.4, 0, 1, 1) forwards; pointer-events: none; }

/* ── Card Spread ── */
#cards-spread {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

#spread-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 16px 8px;
  position: relative;
  z-index: 10;
}

/* Individual spread card */
.spread-card {
  width: var(--card-w);
  height: var(--card-h);
  perspective: 800px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s, transform 0.35s;
  position: relative;
  z-index: 10;
}

.spread-card.deal-in {
  opacity: 1;
  transform: translateY(0);
}

.spread-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.spread-card.flipped .spread-card-inner {
  transform: rotateY(180deg);
}

.spread-card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.spread-card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.spread-card-back {
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.spread-card-front {
  transform: rotateY(180deg);
  border: 2px solid var(--rarity-color, #666);
  box-shadow: 0 0 0 0 var(--rarity-color, transparent);
  transition: box-shadow 0.35s;
}

.spread-card.flipped .spread-card-front {
  box-shadow: 0 0 14px 3px var(--rarity-color, transparent);
}

/* Holo shimmer for Rare+ — matches deck builder style */
@keyframes holo-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.spread-card.holo .spread-card-front {
  border-color: rgba(200,180,255,0.5) !important;
  box-shadow: 0 0 10px rgba(200,180,255,0.25);
  isolation: isolate;
}

.spread-card.holo .spread-card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,120,200,0.12) 30%,
    rgba(120,200,255,0.15) 38%,
    rgba(200,255,120,0.12) 44%,
    transparent 50%,
    transparent 60%,
    rgba(255,200,120,0.12) 68%,
    rgba(120,255,200,0.15) 74%,
    rgba(200,120,255,0.12) 80%,
    transparent 88%
  );
  background-size: 200% 100%;
  animation: holo-shimmer 4s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Stronger shimmer on hover */
.spread-card.holo:hover .spread-card-front::after {
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,120,200,0.22) 26%,
    rgba(120,200,255,0.28) 35%,
    rgba(200,255,120,0.22) 42%,
    transparent 50%,
    transparent 58%,
    rgba(255,200,120,0.22) 66%,
    rgba(120,255,200,0.28) 74%,
    rgba(200,120,255,0.22) 82%,
    transparent 90%
  );
  background-size: 200% 100%;
  animation: holo-shimmer 2.5s ease-in-out infinite;
}

/* Hover lift on flipped cards */
.spread-card.flipped:hover .spread-card-inner {
  transform: rotateY(180deg) translateY(-7px);
}

.spread-card.flipped:hover .spread-card-front img {
  filter: brightness(1.1);
}

/* Ultra Rare: rainbow shimmer + gold glow pulse */
.spread-card.holo.ultra-rare .spread-card-front {
  animation: ultra-rare-pulse 2.2s ease-in-out infinite;
}

@keyframes ultra-rare-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(200,180,255,0.3), 0 0 16px 2px rgba(255,215,0,0.4); }
  50%       { box-shadow: 0 0 20px rgba(200,180,255,0.5), 0 0 32px 6px rgba(255,215,0,0.6); }
}

/* ── Spread Actions ── */
#spread-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 10;
}

#spread-actions button {
  padding: 9px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

#spread-actions button:hover {
  transform: translateY(-1px);
}

.btn-sort-toggle {
  background: rgba(48,160,176,0.1);
  color: #30a0b0;
  border-color: rgba(48,160,176,0.4) !important;
  transition: opacity 0.2s, transform 0.1s;
}

.btn-sort-toggle:hover:not(:disabled) {
  background: rgba(48,160,176,0.2) !important;
  color: #4fc3f7;
}

.btn-sort-toggle:disabled {
  opacity: 0.35;
  cursor: default;
}

.btn-open-another {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-bright);
}

.btn-open-another:hover {
  border-color: var(--gold);
  color: var(--text-bright);
}

.btn-change-set {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
}

.btn-change-set:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

/* ── Card Detail Modal ── */
#rip-card-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}

#rip-card-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  padding: 28px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.rip-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
  font-family: var(--font-body);
}

.rip-modal-close:hover { color: var(--text-bright); }

#rip-card-modal-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

#rip-modal-img-wrap { flex-shrink: 0; }

#rip-modal-img {
  width: clamp(140px, 14vw, 220px);
  height: auto;
  border-radius: 8px;
  display: block;
}

#rip-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#rip-modal-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
}

#rip-modal-meta {
  color: var(--text-dim);
  font-size: 0.83rem;
}

#rip-modal-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 0.8rem;
  color: var(--text);
}

.rarity-badge {
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.rarity-badge.rarity-common     { background: rgba(136,136,136,0.15); border: 1px solid rgba(136,136,136,0.4); color: #9aaa92; }
.rarity-badge.rarity-uncommon   { background: rgba(48,160,176,0.12);  border: 1px solid rgba(48,160,176,0.5);  color: #30a0b0; }
.rarity-badge.rarity-rare       { background: rgba(128,64,192,0.15);  border: 1px solid rgba(128,64,192,0.5);  color: #a060d8; }
.rarity-badge.rarity-ultra-rare { background: rgba(201,168,76,0.15);  border: 1px solid rgba(201,168,76,0.6);  color: var(--gold); }

.modal-ability-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
}

.modal-ability-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── Confetti canvas ── */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9;   /* behind cards (z-index 10) but above everything else */
}

/* ── Footer ── */
.rip-footer {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  margin-top: auto;
  position: relative;
  z-index: 10;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  #set-select-screen h1 { font-size: 1.5rem; }
  #rip-card-modal-content { flex-direction: column; align-items: center; }

  #spread-cards { gap: 8px; padding: 12px 8px; }
}
