/* turfagon.com: 🧳 the game's own materials (Nov 18). The game moved to leather, torn paper, pewter and rubber stamps
   (the HQ office tabs, the fight cards, the Rounds app), and the site reads as the same thing now. Every piece here is
   the game's own art from assets/skins, assets/fight and assets/cards, cut into one picture each as a CSS border-image:
   the corners stay as drawn, the sides and the middle stretch. Still one serif, no glow, no gold, purple leads. */

/* 🧳 Leather plate: the stitched oxblood-brown hide with the four rivets (the HQ office, the fight card) */
.leather {
  border-style: solid;
  border-color: transparent;
  border-width: 30px 27px 28px 30px;
  border-image: url(/img/kit/leather.webp) 195 171 176 196 fill / 30px 27px 28px 30px stretch;
  background: none;
  color: var(--chalk);
}
/* 📜 The pinned notice: aged paper with tape on the top corners (the shift ticket) */
.notice {
  border-style: solid;
  border-color: transparent;
  border-width: 46px 40px 40px 40px;
  border-image: url(/img/kit/notice.webp) 266 fill / 46px 40px 40px 40px stretch;
  background: none !important;
  box-shadow: none !important;
}
/* 🟪 The torn purple page (the phone's panels) */
.page {
  border-style: solid;
  border-color: transparent;
  border-width: 22px;
  border-image: url(/img/kit/page.webp) 190 fill / 22px stretch;
  background: none;
}

/* The big buttons: purple enamel, like the game's FIGHT and START MY ROUNDS (the paper ones read as a template) */
.btn.gold { background: #6a49c8 linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.18)); color: #fff; border-color: #b9a4f5; }
.btn.gold:hover { background-color: #7b5ad8; color: #fff; }

/* ===== The front ===== */
.hero h1 .tag { color: #c9b8ff; }
.hero-shot .shotwrap { position: relative; }
.stampmark {
  position: absolute; right: -0.6rem; bottom: 2.4rem; z-index: 3;
  display: grid; place-items: center; width: 10.5rem; height: 3.5rem;
  background: url(/img/kit/stamp-purple.webp) center / 100% 100% no-repeat;
  color: #a78bfa; font: 700 1.15rem/1 var(--paper); letter-spacing: 0.03em; text-transform: uppercase;
  transform: rotate(-9deg); opacity: 0.92; pointer-events: none; mix-blend-mode: screen;
}
@media (max-width: 860px) { .stampmark { right: 0; bottom: 1.6rem; width: 8.6rem; height: 2.9rem; font-size: 0.95rem; } }

/* ===== Rounds ===== */
.roundsside { display: grid; gap: 2rem; justify-items: center; }
.roundsside .shots.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 13rem)); gap: 1rem; }
.ticket.notice { transform: rotate(1.5deg); max-width: 22rem; width: 100%; color: var(--ink); padding: 0.2rem 0.4rem 0.4rem; }
.ticket.notice h3, .ticket.notice dt, .ticket.notice dd, .ticket.notice .no { color: var(--ink); }

/* ===== How it plays: three leather plates ===== */
.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.plates li { display: grid; gap: 0.5rem; align-content: start; padding: 0.3rem 0.4rem 0.5rem; }
.plates .n { font: 700 2rem/1 var(--paper); color: #b9a4f5; }
.plates h3 { font-size: 1.4rem; }
.plates p { color: #e9e2d4; }
.plates small { font-style: italic; color: #cfc4b2; font-size: 0.95rem; }
@media (max-width: 860px) { .plates { grid-template-columns: 1fr; } }

/* ===== HQ: the six tabs ===== */
.tabs { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.tabs li { display: grid; gap: 0.2rem; padding: 0 0.2rem 0.1rem; border-width: 22px 20px 20px 22px; border-image-width: 22px 20px 20px 22px; }
.tabs b { font-size: 1.1rem; color: #fff; }
.tabs b::after { content: ""; display: block; width: 2rem; height: 3px; background: #a855f7; margin-top: 0.25rem; }
.tabs span { font-size: 0.95rem; line-height: 1.4; color: #e2dacb; }
@media (max-width: 520px) { .tabs { grid-template-columns: 1fr; } }

/* ===== Rows with a pair of shots, sometimes the shots first ===== */
#main .row .shots.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 13rem)); gap: 1rem; }
#main .row .shots:not(.pair) { width: min(15rem, 100%); }
#main .row.flip { grid-template-columns: auto minmax(0, 1fr); }
#main .row.flip > .shots { order: -1; }
#main .row .copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 860px) {
  #main .row, #main .row.flip { grid-template-columns: 1fr; }
  #main .row.flip > .shots { order: 0; }
  #main .row .shots.pair, .roundsside .shots.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

/* The pewter VS between two rings */
.vsline { display: flex; align-items: center; gap: 0.2rem; margin-top: 0.6rem; }
.vsline img { width: 4.6rem; height: 4.6rem; }
.vsline .coin { width: 3.4rem; height: 3.4rem; margin-inline: -0.4rem; position: relative; z-index: 1; }

/* ===== Get it ===== */
#play .get .card.leather { background: none; box-shadow: none; padding: 0.4rem 0.6rem 0.8rem; }
#play .get .card.leather .kicker { color: #cfc4b2; }
#play .get .card.leather p { color: #e9e2d4; }

/* ===== Prestige: the Legacy shot under the three roads ===== */
.lgshots { margin-top: 1.6rem; }
.lgshots .shot { width: min(14rem, 100%); }

/* ===== The latest updates, each on a torn page ===== */
.latest { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.latest li { display: grid; gap: 0.3rem; align-content: start; padding: 0.1rem 0.3rem 0.3rem; }
.latest time { font-style: italic; color: #b9a4f5; font-size: 0.92rem; }
.latest b { font-size: 1.08rem; color: #fff; }
.latest p { font-size: 0.95rem; line-height: 1.45; color: #d9d1e6; margin: 0; }
.latest a { color: #fff; }

/* (a leather card is its own frame: no ink line inside it, and the two cards keep their own heights) */
.card.leather::after { display: none; }
#play .get { align-items: start; }
.bar .acts a, .bar nav a { white-space: nowrap; }
.bar .btn.gold.play { background: #6a49c8; color: #fff; border-color: #b9a4f5; }
