/* 2ez Clan forum archive. Devin's 2010 PS3 phpBB theme, restored: black page, the red spatter banner, glossy black
   header bars, light grey rows, round PS3 status icons, Arial. Red from the splash is the one accent. */
:root {
  --ground: #000;
  --ink: #eaeaea;
  --soft: #a9a4a0;
  --row1: #e7e7e7;
  --row2: #ededed;
  --row-ink: #141414;
  --row-soft: #55504c;
  --quote: #dadada;
  --line: #c8c8c8;
  --red: #e3141c;
  --red-deep: #a50f16;
  --sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 6px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); scrollbar-color: #444 #0b0b0b; }
body { margin: 0; min-height: 100dvh; color: var(--ink); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; padding: 0 16px; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }

/* Top: the archive notice, then the original banner. */
.top { max-width: 1100px; margin: 0 auto; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: 0; padding: 10px 0;
  font-size: 12px; letter-spacing: .08em; color: var(--soft); border-bottom: 1px solid #1d1d1d; }
.notice span { color: #fff; }
.notice a { color: var(--soft); text-decoration: none; transition: color .2s var(--ease); }
.notice a:hover { color: #fff; }
.notice .disc { color: #fff; background: #c4121a; padding: 5px 11px; border-radius: 3px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px;
  transition: background .2s var(--ease); }
.notice .disc:hover { background: var(--red); }
.notice .disc:active { transform: translateY(1px); }
.banner { display: block; width: fit-content; max-width: 100%; margin: 18px auto 10px; }
.banner img { display: block; width: 600px; image-rendering: auto; }
/* The one moment: the banner's spatter wipes in from the logo, like the splash. Home page only. */
.home .banner img { animation: wipe 1.2s var(--ease) .1s both; }
@keyframes wipe { from { clip-path: inset(0 78% 0 0); filter: brightness(.3); } 40% { filter: brightness(1.15); } }

.crumbs { max-width: 1100px; margin: 0 auto 6px; font-size: 12px; color: var(--soft); letter-spacing: .04em; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

main { max-width: 1100px; margin: 0 auto; }
h1 { margin: 26px 0 6px; font: 700 clamp(20px, 3vw, 28px)/1.2 var(--sans); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.sub { margin: 0 0 18px; color: var(--soft); max-width: 75ch; }
.sub a { color: #fff; }
.intro p { max-width: 70ch; color: var(--soft); margin: 0 0 20px; }

/* Glossy black bar over every list, after the theme's bg_header.gif. */
.bar { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 9px 14px;
  font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: linear-gradient(#3b3b3b, #1b1b1b 50%, #050505 51%, #141414); border: 1px solid #2a2a2a; border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0; }
.bar .cols { display: grid; grid-template-columns: 80px 80px 190px; text-align: center; color: #bdbdbd; }
.list { margin: 0 0 24px; }
.topics { list-style: none; margin: 0; padding: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: 27px 1fr 80px 80px 190px; gap: 0 14px; align-items: center; padding: 10px 14px;
  background: var(--row1); color: var(--row-ink); border-top: 1px solid #fff; transition: background .15s var(--ease); }
.row:nth-child(even) { background: var(--row2); }
.row:hover { background: #f7f7f7; }
.ico { display: block; }
.tt { min-width: 0; }
.title { display: inline; font-weight: 700; font-size: 15px; color: #000; text-decoration: none; }
.title:hover { color: var(--red-deep); text-decoration: underline; }
.by { display: block; font-size: 12px; color: var(--row-soft); }
.by .who { font-weight: 700; }
.tpages { margin-left: 8px; font-size: 11px; }
.tpages a { color: var(--row-soft); padding: 0 2px; }
.num { text-align: center; font-size: 12px; color: var(--row-soft); font-variant-numeric: tabular-nums; }
.num b { display: block; font-size: 14px; color: var(--row-ink); }
.last { font-size: 12px; color: var(--row-soft); line-height: 1.45; }
.last a { color: var(--row-ink); font-weight: 700; }
.last .who { font-weight: 700; color: var(--row-ink); }
.last time { display: block; }
.meta span { display: block; }
.board .by { font-size: 13px; }

/* Find a topic */
.find { position: relative; margin: 0 0 26px; max-width: 560px; }
.find label { display: block; font-weight: 700; margin-bottom: 6px; color: #fff; letter-spacing: .04em; }
.find input { width: 100%; padding: 11px 14px; font: 15px var(--sans); color: #fff; background: #111; border: 1px solid #3a3a3a; border-radius: var(--radius);
  caret-color: var(--red); transition: border-color .2s var(--ease); }
.find input::placeholder { color: #8c8782; }
.find input:hover { border-color: #555; }
.find input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 20, 28, .25); }
.hint { margin: 6px 0 0; font-size: 12px; color: var(--soft); min-height: 1.2em; }
.results { list-style: none; margin: 8px 0 0; padding: 0; border-radius: var(--radius); overflow: hidden; }
.results li { background: var(--row1); }
.results li:nth-child(even) { background: var(--row2); }
.results a { display: block; padding: 9px 14px; color: #000; text-decoration: none; }
.results a:hover, .results a:focus-visible { background: #fff; outline-offset: -2px; }
.results b { font-weight: 700; }
.results span { display: block; font-size: 12px; color: var(--row-soft); }

.busy h2 { font-size: 16px; margin: 30px 0 10px; color: #fff; }
.busy ol { margin: 0; padding-left: 22px; color: var(--soft); }
.busy li { margin: 0 0 6px; }
.busy a { color: #fff; font-weight: 700; text-decoration: none; }
.busy a:hover { color: var(--red); text-decoration: underline; }
.busy span { font-size: 12px; margin-left: 4px; }

/* Pager */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.pager .of { color: var(--soft); margin-right: 6px; }
.pager a, .pager [aria-current] { min-width: 34px; padding: 6px 10px; text-align: center; border-radius: 4px; text-decoration: none; }
.pager a { background: #1a1a1a; color: #fff; border: 1px solid #2c2c2c; transition: background .15s var(--ease), border-color .15s var(--ease); }
.pager a:hover { background: #262626; border-color: #444; }
.pager a:active { transform: translateY(1px); }
.pager [aria-current] { background: #c4121a; color: #fff; font-weight: 700; }
.pager .gap { color: var(--soft); }

/* Posts: prosilver layout, profile on the right, as the PS3 theme had it. */
.posts { display: grid; gap: 10px; }
.post { display: grid; grid-template-columns: 1fr 180px; background: var(--row2); color: var(--row-ink); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 14px; }
.post:nth-child(even) { background: var(--row1); }
.post:target { box-shadow: 0 0 0 2px var(--red); }
.who-box { order: 2; padding: 14px; border-left: 1px solid var(--line); font-size: 12px; color: var(--row-soft); }
.who-box p { margin: 0; }
.av { width: 64px; height: 64px; margin-bottom: 8px; border-radius: 4px; overflow: hidden; background: #d6d6d6; }
.av img { width: 64px; height: 64px; object-fit: cover; display: block; }
.av:empty { background: radial-gradient(circle at 50% 38%, #bdbdbd 0 15px, transparent 16px), radial-gradient(ellipse at 50% 100%, #bdbdbd 0 26px, transparent 27px), #d6d6d6; }
.name { font-size: 14px; font-weight: 700; color: var(--row-ink); overflow-wrap: anywhere; }
.rank { font-weight: 700; color: var(--red-deep); }
.meta { margin-top: 6px !important; line-height: 1.5; }
.body { min-width: 0; padding: 14px 18px 18px; }
.post-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.subj { margin: 0; font-size: 14px; font-weight: 700; color: #000; overflow-wrap: anywhere; }
.date { font-size: 12px; color: var(--row-soft); text-decoration: none; font-variant-numeric: tabular-nums; }
.date:hover { color: var(--red-deep); text-decoration: underline; }
.content { font-size: 15px; line-height: 1.6; max-width: 75ch; overflow-wrap: anywhere; }
.content a { color: var(--red-deep); }
.content a:hover { color: #000; }
.content blockquote { margin: 10px 0; padding: 8px 12px; background: var(--quote); border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.content blockquote blockquote { background: #e6e6e6; }
.content cite { display: block; font-style: normal; font-weight: 700; font-size: 12px; margin-bottom: 2px; color: var(--row-soft); }
.content pre { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); padding: 8px 10px; border-radius: 4px; font-size: 13px; }
.content ul { margin: 6px 0; padding-left: 22px; }
.smiley { vertical-align: -3px; }
.oldimg { display: inline-block; margin: 2px 0; padding: 3px 9px; font-size: 12px; color: var(--row-soft) !important; text-decoration: none;
  border: 1px dashed #a9a9a9; border-radius: 3px; }
.oldimg:hover { border-color: var(--red-deep); color: var(--red-deep) !important; }
.attach { margin: 10px 0 0; }
.attach img { display: block; border-radius: 4px; border: 1px solid var(--line); }
.attach figcaption { font-size: 12px; color: var(--row-soft); margin-top: 4px; }
.gone { color: var(--row-soft); font-size: 12px; }
.back { margin: 20px 0 0; }
.back a { color: #fff; }

.foot { max-width: 1100px; margin: 40px auto 0; padding: 22px 0 28px; border-top: 1px solid #1d1d1d; text-align: center; font-size: 12px; color: #8a8580; letter-spacing: .04em; }
.foot p { max-width: 70ch; margin: 0 auto 10px; }
.foot a { color: var(--soft); }
.made { letter-spacing: .14em; }
.heart { display: inline-block; color: #e25563; animation: heartbeat 2.4s ease-in-out infinite; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 8% { transform: scale(1.18); } 16% { transform: scale(1); } 24% { transform: scale(1.12); } }

@media (max-width: 760px) {
  .bar .cols { display: none; }
  .row { grid-template-columns: 27px 1fr; row-gap: 4px; padding: 11px 12px; }
  .row .num, .row .last { grid-column: 2; text-align: left; }
  .row .num { display: inline; }
  .num b { display: inline; font-size: 12px; }
  .row .views { display: none; }
  .last time { display: inline; }
  .last time::before { content: ", "; }
  .post { grid-template-columns: 1fr; }
  .who-box { order: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-left: 0; border-bottom: 1px solid var(--line); }
  .av { width: 40px; height: 40px; margin: 0; grid-row: span 3; }
  .av img { width: 40px; height: 40px; }
  .av:empty { background: radial-gradient(circle at 50% 38%, #bdbdbd 0 9px, transparent 10px), radial-gradient(ellipse at 50% 100%, #bdbdbd 0 16px, transparent 17px), #d6d6d6; }
  .meta { margin-top: 0 !important; }
  .meta span { display: inline; }
  .meta span + span::before { content: ", "; }
  .body { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .home .banner img, .heart { animation: none; } * { transition: none !important; } }
