/* Discord and the people behind the clan. All styling is native to this page. */
[hidden] { display: none !important; }
.hero-live-link { margin-left: 7px; color: #aaa; }
.hero-footnote:hover .hero-live-link { color: var(--accent); }
.game-card.game-card-ttt > img { object-position: 38% center; }
.game-card-ttt .game-title { font-size: clamp(28px, 2.65vw, 40px); line-height: .94; }
.tag-favourite { color: white; border-color: #ff373c80; background: #a8182299; }
.story-discord-link { margin-top: 28px; }
.story-copy > .steam-history-link { display: flex; width: max-content; font-size: 11px; color: #aaa; }
.live-terminal { transform: none; min-width: 0; }
.js-reveal .live-terminal.reveal.in-view,
.js-reveal .live-terminal.reveal.in-view:hover { transform: none; }
.live-terminal #era-content { min-height: 512px; }
.discord-widget { padding: 22px 24px 15px; }
.discord-server-heading { display: flex; align-items: center; gap: 13px; }
.discord-server-heading > div { min-width: 0; }
.discord-server-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #ff373c13; border: 1px solid #ff373c40; color: var(--accent); flex-shrink: 0; }
.discord-server-icon svg { width: 25px; height: 25px; }
.discord-server-heading h3 { font-size: 27px; line-height: 1; letter-spacing: .4px; }
.discord-server-heading p { margin-top: 6px; font-size: 10px; line-height: 1.5; color: #a9a9a9; }
.discord-join-mini { margin-left: auto; border: 1px solid #505050; padding: 9px 12px; font: 9px var(--mono); white-space: nowrap; transition: color .2s, background .2s; }
.discord-join-mini:hover { color: var(--bg); background: var(--text); }
.discord-stats { display: flex; align-items: center; gap: 25px; padding: 20px 0 17px; border-bottom: 1px solid var(--line); }
.discord-stats > span { display: flex; align-items: baseline; gap: 7px; font: 8px var(--mono); letter-spacing: .6px; color: #aaa; }
.discord-stats strong { font: 700 26px var(--display); color: var(--text); letter-spacing: 0; }
.discord-stats > .discord-source-label { font-size: 6px; margin-left: auto; color: #818181; }
.discord-view-switch { display: flex; gap: 22px; margin-bottom: 8px; }
.discord-view-switch button { padding: 14px 0 10px; background: none; font: 8px var(--mono); letter-spacing: .7px; color: #a5a5a5; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid transparent; }
.discord-view-switch button[aria-pressed='true'] { color: var(--accent); border-bottom-color: var(--accent); }
.discord-view-switch svg { width: 12px; height: 12px; }
.discord-list { height: 252px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #494949 #1b1b1b; padding-right: 9px; }
.discord-list:focus-visible { outline-offset: 2px; }
.discord-member { display: flex; align-items: center; gap: 11px; min-height: 53px; padding: 8px 2px; border-bottom: 1px solid #ffffff07; }
.discord-avatar { display: block; width: 34px; height: 34px; object-fit: cover; border-radius: 50%; background: #2c2c2c; flex-shrink: 0; }
.discord-avatar-fallback { display: grid; place-items: center; font: 10px var(--mono); color: #ccc; }
.discord-member-copy { min-width: 0; }
.discord-member-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; font: 500 12px var(--body); white-space: nowrap; }
.discord-member-copy > span { display: block; margin-top: 4px; font: 9px var(--body); color: #9b9b9b; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.discord-presence { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #868686; flex-shrink: 0; }
.discord-presence[data-status='online'] { background: #6abf8c; }
.discord-presence[data-status='idle'] { background: #d8b66a; }
.discord-presence[data-status='dnd'] { background: #f5666a; }
.discord-channel { margin-bottom: 14px; }
.discord-channel h4 { display: flex; align-items: center; gap: 8px; font: 500 11px var(--body); margin: 10px 0 5px; color: #c4c4c4; overflow-wrap: anywhere; }
.discord-channel-count { margin-left: auto; padding: 3px 6px; font: 8px var(--mono); background: #2a2a2a; color: #a4a4a4; }
.discord-channel .discord-member { margin-left: 10px; border-left: 1px solid #393939; padding-left: 12px; }
.discord-empty { padding: 22px 5px; color: #ababab; font-size: 12px; line-height: 1.65; }
.discord-channel .discord-empty { padding: 9px 10px; font-size: 10px; color: #8f8f8f; }
.discord-notice { font: 9px/1.6 var(--body); color: #909090; padding: 12px 0 10px; }
.discord-refresh-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font: 7px var(--mono); color: #999; }
.discord-refresh-row time { text-transform: uppercase; letter-spacing: .6px; }
.discord-refresh-row button { background: none; font: 8px var(--mono); padding: 5px 0 5px 10px; color: #bbb; }
.discord-refresh-row button:hover { color: var(--accent); }
.discord-refresh-row button:disabled { color: #747474; cursor: wait; }
.nostalgia-pane { padding-bottom: 20px; }
.nostalgia-caption { color: #909090; font: 10px/1.7 var(--body); margin: 15px 0; }
.team-section { padding-top: 90px; padding-bottom: 0; }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; perspective: 1000px; }
.team-card { min-width: 0; display: block; transform: perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .3s; }
.js-reveal .team-card.in-view { transform: perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }
.team-portrait { position: relative; aspect-ratio: 1; border: 1px solid #353535; background: #232323; overflow: hidden; transition: border-color .3s; }
.team-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%,#0007); pointer-events: none; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) brightness(.8); transition: filter .4s, transform .5s; }
.team-number { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 3px 5px; background: #101010a6; color: #ccc; font: 7px var(--mono); }
.team-profile-arrow { position: absolute; z-index: 1; right: 11px; bottom: 10px; color: #fff; font: 24px var(--body); transition: transform .3s, color .3s; }
.team-card h3 { font: 700 clamp(18px,1.65vw,25px)/1.15 var(--display); margin-top: 15px; overflow-wrap: anywhere; }
.team-role { display: block; margin-top: 7px; color: #989898; font: 6px var(--mono); letter-spacing: .8px; }
.team-card:hover .team-portrait, .team-card:focus-visible .team-portrait { border-color: var(--accent); }
.team-card:hover img, .team-card:focus-visible img { filter: grayscale(0) brightness(1); transform: scale(1.05); }
.team-card:hover .team-profile-arrow { color: var(--accent); transform: translate(2px,-2px); }
.team-initials { display: grid; place-items: center; height: 100%; font: 60px var(--display); color: #929292; }
.team-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-top: 29px; padding-bottom: 45px; }
.team-footer .text-link { font-size: 12px; }
.team-source { font: 7px var(--mono); letter-spacing: .7px; color: #a4a4a4; }
.team-source:hover { color: var(--text); }

@media (max-width: 1100px) {
  .hero-footnote { flex-wrap: wrap; row-gap: 5px; }
  .discord-widget { padding-inline: 18px; }
  .discord-stats { gap: 18px; }
  .discord-server-heading { gap: 10px; }
  .discord-server-heading h3 { font-size: 24px; }
  .discord-server-heading p { font-size: 9px; }
  .discord-join-mini { font-size: 8px; padding: 8px; }
  .discord-server-icon { width: 36px; height: 36px; }
  .team-grid { gap: 13px; }
}
@media (max-width: 800px) {
  .hero-live-link { margin-left: 0; font-size: 6px; }
  .live-terminal { max-width: 580px; }
  .live-terminal #era-content { min-height: 515px; }
  .discord-widget { padding-inline: 24px; }
  .discord-server-heading h3 { font-size: 28px; }
  .discord-server-heading p { font-size: 11px; }
  .discord-source-label { font-size: 7px !important; }
  .team-section { padding-top: 65px; }
  .team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 18px; }
  .team-card h3 { font-size: 25px; }
  .team-role { font-size: 7px; }
}
@media (max-width: 560px) {
  .hero-footnote { max-width: 100%; font-size: 6px; gap: 8px; }
  .hero-live-link { font-size: 5px; }
  .game-card-ttt .game-title { font-size: 35px; }
  .story-copy > .story-discord-link { font-size: 10px; min-height: 52px; }
  .story-copy > .steam-history-link { font-size: 10px; }
  .discord-widget { padding: 20px 15px 14px; }
  .discord-server-heading { gap: 9px; }
  .discord-server-heading h3 { font-size: 25px; }
  .discord-server-heading p { font-size: 9px; }
  .discord-stats { gap: 20px; }
  .discord-stats > span { font-size: 7px; gap: 5px; }
  .discord-stats strong { font-size: 24px; }
  .discord-stats > .discord-source-label { font-size: 5px !important; }
  .discord-view-switch { gap: 20px; }
  .discord-view-switch button { font-size: 7px; }
  .discord-list { height: 249px; }
  .discord-member-copy strong { font-size: 11px; }
  .discord-avatar { width: 31px; height: 31px; }
  .discord-notice { font-size: 9px; }
  .live-terminal #era-content { min-height: 514px; }
  .nostalgia-pane .terminal-user { font-size: 7px; }
  .team-section { padding-top: 54px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; }
  .team-card h3 { font-size: 23px; }
  .team-role { font-size: 6px; }
  .team-footer { align-items: flex-start; flex-direction: column; gap: 21px; padding-bottom: 35px; }
  .team-source { font-size: 6px; }
}
