/* TrickPvP store: world pieces. Needs tokens.css and components.css. */

.sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

/* banded lettering: hard colour steps, like Minecraft title art */
.pixel-title {
  letter-spacing: 0.02em; font: 400 var(--text-page)/0.95 var(--font-display);
  background: linear-gradient(#fff1f3 0 42%, #ffc2cd 42% 58%, #ff8aa0 58% 78%, #f45a7c 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* a dark pixel outline on every side keeps each colour band readable over the moving sky */
  filter: drop-shadow(2px 0 0 #1c0005) drop-shadow(-2px 0 0 #1c0005) drop-shadow(0 -2px 0 #1c0005) drop-shadow(0 4px 0 #1c0005);
}
/* sentences over the animated sky sit on a solid plate so contrast never depends on the frame */
.lede { display: inline-block; margin-top: 18px; max-width: 46ch; padding: 6px 12px 8px; background: rgb(10 2 4 / 0.86); font: 19px var(--font-pixel); color: var(--ink-on-sky); }

.underground { position: relative; padding-top: 36px; }
.underground::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent, rgb(5 2 3 / 0.78)); }
.underground > .wrap { position: relative; }

/* Hanging banners (lobby) */
.beam { height: 20px; background: var(--tex-crimson) 0 0 / var(--tile) var(--tile); box-shadow: 0 0 0 4px #0b0607, inset 0 4px 0 rgb(255 255 255 / 0.14), inset 0 -4px 0 rgb(0 0 0 / 0.3); }
.banners { display: flex; justify-content: center; align-items: flex-start; gap: 60px; padding: 4px 34px 0; }
.banner { display: flex; flex-direction: column; align-items: center; width: 230px; }
.rope { width: 100%; height: 30px; background: var(--tex-chain) 26px 0 / 10px 20px repeat-y, var(--tex-chain) calc(100% - 26px) 0 / 10px 20px repeat-y; }
.rod { width: calc(100% + 18px); height: 10px; background: linear-gradient(var(--ruby-light), var(--ruby-shade)); box-shadow: 0 0 0 3px var(--edge); }
.cloth {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; padding: 22px 22px 72px; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 44px), 0 100%);
  background: linear-gradient(var(--ruby), var(--ruby-shade));
}
.cloth::before {
  content: ""; position: absolute; inset: 0 5px 9px; z-index: -1; clip-path: inherit;
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 9px), linear-gradient(#4a0a17, #2c060d 70%, #1a0408);
}
.cloth b { font: 400 36px/1 var(--font-display); color: var(--ruby-shine); }
.cloth small { font: 15px var(--font-pixel); color: var(--ink-soft); }
.pixel-ui .cloth .btn { width: 100%; margin-top: 10px; }
.furled { width: 100%; height: 42px; background: linear-gradient(#5a2a33, #37151c 45%, #220c11 80%, #2e1218); box-shadow: 0 0 0 3px #0d0304; }
.hanging-tag { margin-top: 18px; min-width: 150px; padding: 8px 16px 10px; text-align: center; background: rgb(16 4 6 / 0.9); box-shadow: 0 0 0 3px #0d0304; font: 15px var(--font-pixel); color: #d3b6bb; }
.hanging-tag b { display: block; font: 400 22px/1.15 var(--font-pixel); color: #f6e3e6; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; margin-block: var(--space-8) 30px; padding: 14px 24px; font-size: var(--text-small); color: var(--ink-muted); }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; }
  .tabs { order: 9; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 680px) {
  .banners { flex-direction: column; align-items: center; gap: 22px; padding: 0; }
  .banner.main { order: -1; }
  .beam, .banners .rope { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pixel-ui *, .pixel-ui *::before, .pixel-ui *::after { animation: none !important; } }
