/* Site redo kit: the pieces the content pages need on top of rra-teams.css (same tokens, same .tm scope). Bump ?v= on the pages when this changes. */

/* hero: a real arena shot under a dark wash, the style-guide title on top */
.tm .xhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel); }
.tm .xhero .art { position: absolute; inset: 0; background: var(--art) center / cover no-repeat; opacity: .55; }
.tm .xhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.82) 42%, rgba(11,11,12,.35) 100%), linear-gradient(0deg, rgba(11,11,12,1) 0%, rgba(11,11,12,0) 45%); }
.tm .xhero .wrap { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; padding-block: 54px 40px; }
.tm .xhero h1 { font-size: clamp(46px, 8.5vw, 104px); line-height: .84; display: flex; gap: 0 16px; flex-wrap: wrap; }
.tm .xhero.sm .wrap { padding-block: 40px 30px; }
.tm .xhero.sm h1 { font-size: clamp(40px, 6.5vw, 76px); }
.tm .xhero p.sub { max-width: 60ch; font-size: 15.5px; color: var(--silver); }
.tm .xhero p.sub b { color: var(--chalk); font-weight: 500; }
.tm .xhero .motto { font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--chalk); letter-spacing: .04em; font-size: 18px; }
.tm .xhero .logo { width: 92px; height: 92px; }
.tm .live { display: inline-flex; gap: 8px; align-items: center; background: rgba(11,11,12,.7); border: 1px solid var(--line); padding: 4px 12px; font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--chalk); }
.tm .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 3px rgba(255,48,48,.25); animation: tmpulse 1.6s ease-in-out infinite; }
@keyframes tmpulse { 50% { box-shadow: 0 0 0 6px rgba(255,48,48,0); } }
@media (prefers-reduced-motion: reduce) { .tm .live i { animation: none; } }

/* a strip of big numbers under a hero */
.tm .band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tm .band > div { background: var(--panel); padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.tm .band b { font-family: var(--cond); font-weight: 900; font-style: italic; font-size: clamp(28px, 4vw, 40px); color: var(--chalk); line-height: 1; }
@media (max-width: 760px) { .tm .band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tm .page { padding-block: 24px 60px; display: grid; gap: 30px; }
.tm .sec { display: grid; gap: 12px; }
.tm .sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tm .sec-h h2 { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 38px); line-height: .95; color: var(--chalk); }
.tm .sec-h .lede { max-width: 70ch; }
.tm .g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm .g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tm .g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .tm .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tm .g2, .tm .g3, .tm .g4 { grid-template-columns: minmax(0, 1fr); } }

/* game tile: the Roblox thumbnail, tag, name, what it's for, live numbers */
.tm .gtile { background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; min-width: 0; }
.tm .gtile .pic { aspect-ratio: 16 / 9; background: var(--card) center / cover no-repeat; position: relative; max-width: 100%; }
.tm .gtile .pic .tag { position: absolute; left: 10px; top: 10px; }
.tm .gtile .body { padding: 12px 14px 14px; display: grid; gap: 8px; align-content: start; }
.tm .gtile h3 { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: 22px; line-height: 1; }
.tm .gtile p { font-size: 13.5px; }
.tm .gtile.soon .pic { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--card) 0 14px, #17171b 14px 28px); }
.tm a.gtile:hover { border-color: var(--steel); }
.tm .nums { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--steel); }
.tm .nums b { color: var(--chalk); font-family: var(--cond); font-weight: 900; font-style: italic; font-size: 16px; }
.tm .nums .on::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }

/* a big alternating row (circuit stops) */
.tm .stop { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 14px; }
.tm .stop.rev > .pic { order: 2; }
.tm .stop .pic { aspect-ratio: 16 / 9; background: var(--card) center / cover no-repeat; border: 1px solid var(--line); max-width: 100%; }
.tm .stop .txt { display: grid; gap: 10px; justify-items: start; }
.tm .stop .n { font-family: var(--cond); font-weight: 900; font-style: italic; font-size: 54px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); }
.tm .stop h3 { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: .9; }
@media (max-width: 820px) { .tm .stop { grid-template-columns: minmax(0, 1fr); } .tm .stop.rev > .pic { order: 0; } }

.tm .tagx { display: inline-block; background: var(--redgrad); color: #fff; font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; padding: 2px 16px 2px 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tm .tagx.dark { background: var(--bone); color: var(--ink); }
.tm .tagx.gold { background: var(--strm); color: var(--ink); }

/* events / feature cards */
.tm .xcard { background: var(--panel); border: 1px solid var(--line); padding: 14px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.tm .xcard b.t { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: 19px; line-height: 1; }
.tm .xcard p { font-size: 13.5px; }
.tm .xcard .ic { font-family: var(--cond); font-weight: 900; font-style: italic; font-size: 13px; color: var(--red-hi); letter-spacing: .1em; text-transform: uppercase; }

/* news */
.tm .news { background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; padding: 14px; text-decoration: none; color: inherit; border-top: 3px solid var(--g, var(--red)); min-width: 0; }
.tm .news b { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: 19px; line-height: 1.02; }
.tm .news p { font-size: 13.5px; }
.tm a.news:hover { border-color: var(--steel); border-top-color: var(--g, var(--red)); }

/* schedule rows */
.tm .nightrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; }
.tm .nightrow b { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: 17px; }
.tm .nightrow.judged { border-left: 3px solid var(--strm); }
.tm .nightrow .dd { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: .95; color: var(--chalk); font-size: 15px; }
.tm .nightrow .dd span { display: block; font-size: 28px; }
@media (max-width: 640px) { .tm .nightrow { grid-template-columns: 70px minmax(0, 1fr); } .tm .nightrow > :last-child { grid-column: 1 / -1; } }
.tm .xchips { display: flex; gap: 6px; flex-wrap: wrap; }
.tm .xchip { display: inline-flex; gap: 6px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 3px 10px; font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; color: var(--silver); text-decoration: none; }
.tm .xchip.ok { color: var(--ok); border-color: rgba(63,174,90,.4); }
.tm .tile3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tm .tile3 > div { background: var(--card); padding: 8px 10px; display: grid; min-width: 0; }
.tm .tile3 b { font-family: var(--cond); font-weight: 900; font-style: italic; font-size: 22px; color: var(--chalk); line-height: 1.1; }

/* prose (rules, privacy, long text) */
.tm .xprose { max-width: 74ch; display: grid; gap: 12px; }
.tm .xprose h2 { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: 26px; margin-top: 12px; }
.tm .xprose ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.tm .xprose li::marker { color: var(--red-hi); }
.tm .xprose b { color: var(--chalk); font-weight: 500; }
.tm .xprose a { color: var(--chalk); }

/* a big call to action band */
.tm .cta { background: linear-gradient(135deg, rgba(227,20,27,.22), rgba(227,20,27,.04)); border: 1px solid rgba(255,48,48,.35); padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.tm .cta h2 { font-family: var(--cond); font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--chalk); font-size: clamp(24px, 3.4vw, 36px); line-height: .95; }
@media (max-width: 720px) { .tm .cta { grid-template-columns: minmax(0, 1fr); } }
.tm .plain { text-transform: none; letter-spacing: 0; font-style: normal; font-family: var(--body); font-size: 13px; }
.tm .xhero .wrap > * { max-width: 100%; }
.tm .seg { flex-wrap: wrap; }
