/* 3ULLCRAFT Prison guide: the main site's colours and type, as a reading layout. */
:root {
  --ink: #050b09;
  --ink-2: #0a1712;
  --paper: #eef3e7;
  --muted: #a3b2a8;
  --dim: #74867b;
  --lime: #c9f55b;
  --mint: #5cf0af;
  --line: rgba(238, 243, 231, .12);
  --card: linear-gradient(150deg, rgba(22, 52, 37, .72), rgba(9, 22, 16, .82));
  --card-line: rgba(201, 245, 91, .16);
  --epic: #c77dff;
  --legendary: #ffb627;
  --mythic: #ff6bd6;
  --display: "Archivo Black", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.6 var(--body); overflow-x: hidden;
  background-image: radial-gradient(circle at 20% -10%, rgba(92, 240, 175, .12), transparent 40%), radial-gradient(circle at 90% 0%, rgba(201, 245, 91, .08), transparent 35%); background-attachment: fixed; }
img { max-width: 100%; height: auto; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, calc((100% - 1240px) / 2)); background: rgba(5, 11, 9, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); min-width: 0; }
.brand img { width: 112px; flex: none; }
.brand span { font: 400 15px var(--display); letter-spacing: -.02em; white-space: nowrap; color: var(--lime); }
.join { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid rgba(92, 240, 175, .35); background: rgba(92, 240, 175, .1); color: var(--paper); font: 700 14px var(--body); cursor: pointer; }
.join b { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.join.copied { border-color: var(--lime); }
.join.copied span::after { content: " ✓"; color: var(--lime); }
.lang { display: flex; padding: 3px; border-radius: 10px; border: 1px solid rgba(238, 243, 231, .18); }
.lang a { display: grid; place-items: center; width: 36px; height: 30px; border-radius: 7px; text-decoration: none; color: var(--muted); font: 800 11px var(--body); }
.lang a[aria-current] { background: var(--lime); color: var(--ink); }

.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; width: min(1240px, calc(100% - 32px)); margin: 28px auto 60px; align-items: start; }
.side { position: sticky; top: 84px; border: 1px solid var(--card-line); border-radius: 18px; background: var(--card); padding: 10px; }
.side summary { list-style: none; cursor: pointer; padding: 6px 10px; font: 800 11px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.side summary::-webkit-details-marker { display: none; }
.side nav { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: #d6e0d8; font-weight: 600; font-size: 14.5px; }
.side nav a:hover { background: rgba(201, 245, 91, .08); color: var(--paper); }
.side nav a[aria-current] { background: rgba(201, 245, 91, .14); color: var(--lime); }
.side nav a i { font-style: normal; width: 22px; text-align: center; }

.page { min-width: 0; max-width: 860px; }
.kicker { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--lime); text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
h1 { margin: 0 0 18px; font-size: clamp(30px, 5vw, 46px); }
h2 { margin: 42px 0 12px; font-size: 25px; color: var(--paper); }
h3 { margin: 26px 0 8px; font-size: 18px; color: var(--mint); letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 14px; }
li { margin: 4px 0; }
.lead { font-size: 18px; color: #d6e0d8; }
code, kbd { font: 700 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(201, 245, 91, .12); color: var(--lime); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
strong { color: #fff; }
.dim { color: var(--dim); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 22px; }
.cards a, .card { display: block; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--card-line); background: var(--card); text-decoration: none; color: var(--paper); }
.cards a:hover { border-color: rgba(201, 245, 91, .5); }
.cards b { display: block; font: 400 17px var(--display); letter-spacing: -.02em; margin-bottom: 4px; color: var(--paper); }
.cards span { color: var(--muted); font-size: 14px; }
.tip, .warn { margin: 18px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid; }
.tip { border-color: rgba(92, 240, 175, .35); background: rgba(92, 240, 175, .07); }
.warn { border-color: rgba(255, 182, 39, .4); background: rgba(255, 182, 39, .07); }
.tip > b:first-child, .warn > b:first-child { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.tip > b:first-child { color: var(--mint); }
.warn > b:first-child { color: var(--legendary); }
.tip p:last-child, .warn p:last-child { margin-bottom: 0; }

.table { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); background: rgba(201, 245, 91, .05); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-common { color: #d0d7d2; } .r-uncommon { color: #7ee787; } .r-rare { color: #67d4ff; }
.r-epic { color: var(--epic); } .r-legendary { color: var(--legendary); } .r-mythic { color: var(--mythic); }

.foot { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
  .side { position: static; }
  .brand span { display: none; }
  .join b { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 88px; }
  .join { padding: 0 10px; font-size: 13px; }
}
