/* Social options Rock has not picked yet. Delete the loser after he chooses. */
@font-face {
  font-family: "Permanent Marker";
  src: url("fonts/permanent-marker.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Social: official marks + tape, in nav, menu, community, footer ---- */
.social-block ul { list-style: none; margin: 0; padding: 0; }
.topbar .social-block { display: none; }
.tape-nav, .ticket-nav { display: flex; gap: 8px; }
.nav-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.tape-chip {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px),
    linear-gradient(#2a2a2a, #111);
  clip-path: polygon(6% 0, 100% 6%, 94% 100%, 0 92%);
  transform: rotate(-3deg);
}
.ticket-chip {
  background: linear-gradient(#f7f1e4, #e7dcc8);
  border-radius: 3px 3px 8px 8px;
  box-shadow: inset 0 -8px 0 #d9cbb3, 0 4px 0 rgba(0, 0, 0, 0.35);
}
.nav-mark .brand-svg { width: 26px; height: 26px; }

.tape-wall { display: grid; gap: 12px; padding: 8px 0 18px; }
.tape {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 8px 28px 8px 12px;
  text-decoration: none;
  color: #f6f3ee;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 0, 0, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.4) 0 1px, transparent 1.6px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #3a3a3a, #161616 42%, #222);
  background-size: 18px 14px, 22px 16px, auto, auto;
  clip-path: polygon(0 9%, 2.5% 0, 8% 4%, 16% 0, 27% 3%, 39% 0, 51% 4%, 63% 0, 74% 3%, 86% 0, 94% 5%, 100% 0, 100% 86%, 96% 100%, 88% 94%, 76% 100%, 64% 95%, 52% 100%, 40% 94%, 28% 100%, 14% 95%, 4% 100%, 0 90%);
  transform: rotate(var(--tilt, -1deg));
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.28));
}
.tape:nth-child(1) { --tilt: -1.3deg; }
.tape:nth-child(2) { --tilt: 0.8deg; }
.tape:nth-child(3) { --tilt: -0.5deg; }
.tape:nth-child(4) { --tilt: 1.1deg; }
.tape:nth-child(5) { --tilt: -0.9deg; }
.tape .handle {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(18px, 4.6vw, 34px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  position: relative;
}
.tape .handle::after {
  content: "";
  position: absolute;
  inset: -2px -4px;
  background-image: radial-gradient(circle, #141414 0.6px, transparent 0.9px);
  background-size: 5px 6px;
  opacity: 0.28;
  pointer-events: none;
}
.tape .curl {
  position: absolute;
  right: 10px;
  top: 7px;
  width: 22px;
  height: 14px;
  background: linear-gradient(135deg, transparent 42%, #4a4a4a 46%, #0e0e0e 78%);
  clip-path: polygon(0 0, 100% 20%, 62% 100%);
  transform: rotate(8deg);
}
.tape .brand, .ticket .brand { display: grid; place-items: center; }

.ticket-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 28px 0 8px;
  position: relative;
}
.ticket-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #d5dde2, #8d98a0 45%, #5c676e);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
}
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 112px;
  padding: 16px 14px 12px;
  text-decoration: none;
  color: #1a140f;
  background:
    radial-gradient(circle at 12px 18px, transparent 5px, #f4efe4 6px),
    linear-gradient(#f7f3ea, #efe4d2);
  border-radius: 4px 4px 10px 10px;
  transform: rotate(var(--tilt, -1deg));
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.28);
}
.ticket:nth-child(1) { --tilt: -1.6deg; }
.ticket:nth-child(2) { --tilt: 1.1deg; }
.ticket:nth-child(3) { --tilt: -0.4deg; }
.ticket:nth-child(4) { --tilt: 1.4deg; }
.ticket:nth-child(5) { --tilt: -1deg; }
.ticket .clip {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 16px;
  height: 22px;
  margin-left: -8px;
  background: linear-gradient(#f2f5f7, #8b949b);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px #5e686e;
}
.ticket-tape {
  align-self: stretch;
  margin-top: auto;
  padding: 6px 8px;
  background: #161616;
  color: #f4f1ea;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(16px, 3.4vw, 22px);
  line-height: 1.15;
  transform: rotate(-1deg);
  clip-path: polygon(0 12%, 4% 0, 100% 8%, 96% 100%, 0 90%);
}

.site-foot .social-block { grid-column: 1 / -1; position: relative; z-index: 2; }
.sheet .social-block { margin-top: 8px; }
.tape:focus-visible, .ticket:focus-visible, .nav-mark:focus-visible {
  outline: 3px solid #b6ff3c;
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .ticket-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
  .ticket-tape { font-size: 15px; }
}
@media (min-width: 980px) {
  .topbar .social-block { display: block; justify-self: end; }
  .sheet .tape-wall, .sheet .ticket-rail { display: none; }
}
@media (max-width: 719px) {
  .ticket-rail { grid-template-columns: 1fr; }
  .tape { min-height: 58px; }
}

html[data-social="1"] .social-2 { display: none; }
html[data-social="2"] .social-1 { display: none; }
@media (prefers-reduced-motion: reduce) {
  .steam, .window-rain { animation: none; }
}
