/*
Theme Name: Pack Leaks
Theme URI: https://packleaks.com/
Author: Pack Leaks
Description: Original high-density archive theme for Pack Leaks.
Version: 1.0.0
Text Domain: packleaks
*/

:root {
  --ink: #07070a;
  --panel: #101014;
  --panel-2: #17171d;
  --line: #292932;
  --paper: #f4f1e8;
  --muted: #9999a6;
  --acid: #c7ff35;
  --pink: #ff3cac;
  --blue: #38bdf8;
  --wrap: 1460px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
.pl-header a:focus-visible, .pl-header button:focus-visible, .pl-card a:focus-visible, .pl-related-item:focus-visible, .pbtmi-unlock-button:focus-visible, .pl-footer a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.pl-wrap { width: min(calc(100% - 36px), var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.pl-ticker { overflow: hidden; border-bottom: 1px solid #212127; background: var(--acid); color: #080a04; font: 900 11px/30px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pl-ticker-track { display: inline-block; min-width: 200%; animation: plTicker 28s linear infinite; }
@keyframes plTicker { to { transform: translateX(-50%); } }
.pl-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7,7,10,.9); backdrop-filter: blur(18px); }
.pl-header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.pl-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.pl-brand-logo { display: block; width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border-radius: 7px; }
.pl-brand-name { font-size: clamp(20px, 3vw, 27px); font-weight: 950; letter-spacing: -.07em; text-transform: uppercase; }
.pl-brand-name b { color: var(--acid); }
.pl-nav { display: flex; justify-content: center; align-items: center; gap: 24px; }
.pl-nav a { color: #bcbcc6; font-size: 12px; font-weight: 850; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.pl-nav a:hover { color: var(--acid); }
.pl-search-button, .pl-menu-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); background: var(--panel); color: var(--paper); cursor: pointer; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pl-menu-button { display: none; }
.pl-search { display: none; border-top: 1px solid var(--line); padding: 16px 0; }
.pl-search.is-open { display: block; }
.pl-search form { display: flex; gap: 10px; }
.pl-search input { width: 100%; min-height: 52px; border: 1px solid #373741; padding: 0 18px; background: #0d0d11; color: white; outline: none; }
.pl-search input:focus { border-color: var(--acid); }
.pl-search button { min-width: 116px; border: 0; background: var(--acid); color: #090b04; font-weight: 950; text-transform: uppercase; cursor: pointer; }

.pl-hero { padding: clamp(54px, 8vw, 110px) 0 42px; border-bottom: 1px solid var(--line); }
.pl-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: 50px; align-items: end; }
.pl-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--acid); font: 800 11px/1 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.pl-kicker::before { content: ""; width: 36px; height: 2px; background: currentColor; }
.pl-hero h1 { max-width: 950px; margin: 0; font-size: clamp(48px, 8.5vw, 126px); font-weight: 950; line-height: .82; letter-spacing: -.085em; text-transform: uppercase; }
.pl-hero h1 span { -webkit-text-stroke: 1px #fff; color: transparent; }
.pl-hero-copy { margin: 0; color: #b1b1bc; font-size: 16px; line-height: 1.65; }
.pl-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); }
.pl-stat { padding: 15px; background: var(--panel); }
.pl-stat b { display: block; color: var(--acid); font-size: 19px; }
.pl-stat span { color: var(--muted); font: 700 9px/1.4 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }

.pl-main { padding: 34px 0 80px; }
.pl-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.pl-section-head h1, .pl-section-head h2 { margin: 0; font-size: clamp(24px, 4vw, 44px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.pl-section-head p { margin: 0; color: var(--muted); font: 700 10px/1.5 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.pl-card { position: relative; overflow: hidden; min-width: 0; background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.pl-card:hover { transform: translateY(-4px); border-color: #4d4d58; }
.pl-card a { display: block; text-decoration: none; }
.pl-thumb-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #15151b; }
.pl-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; }
.pl-card:hover .pl-thumb { transform: scale(1.035); filter: saturate(1.12); }
.pl-card-index { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 6px 8px; background: rgba(7,7,10,.88); color: var(--acid); font: 800 10px/1 ui-monospace, monospace; }
.pl-card-body { padding: 16px 16px 18px; }
.pl-card h3 { margin: 0; min-height: 2.7em; font-size: 16px; line-height: 1.35; letter-spacing: -.015em; }
.pl-card-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: var(--muted); font: 700 9px/1 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.pl-card-meta .pl-open { color: var(--pink); }
.pl-empty { padding: 60px 20px; border: 1px dashed #35353e; color: var(--muted); text-align: center; }

.pl-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.pl-pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; font-weight: 850; }
.pl-pagination .current, .pl-pagination a:hover { border-color: var(--acid); background: var(--acid); color: #090b04; }

.pl-single { padding: 48px 0 90px; }
.pl-back { display: inline-flex; margin-bottom: 22px; color: var(--muted); font: 800 10px/1 ui-monospace, monospace; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.pl-back:hover { color: var(--acid); }
.pl-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.pl-article { min-width: 0; border: 1px solid var(--line); background: #0d0d11; }
.pl-article-head { padding: clamp(22px, 5vw, 50px); border-bottom: 1px solid var(--line); }
.pl-article-title { max-width: 1000px; margin: 0; font-size: clamp(34px, 6vw, 72px); line-height: .98; letter-spacing: -.055em; }
.pl-article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pl-chip { padding: 7px 9px; border: 1px solid #34343d; color: #b7b7c1; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.pl-featured { margin: 0; background: #050506; }
.pl-featured img { width: 100%; height: auto; display: block; }
.pl-content { padding: clamp(20px, 4vw, 48px); color: #d4d4dc; line-height: 1.7; }
.pl-content > * { max-width: 960px; margin-inline: auto; }
.pl-content a { color: var(--acid); }
.pl-content img { height: auto; }
.pl-side { position: sticky; top: 120px; }
.pl-side-box { border: 1px solid var(--line); background: var(--panel); }
.pl-side-title { margin: 0; padding: 17px; border-bottom: 1px solid var(--line); color: var(--acid); font: 900 11px/1 ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.pl-related { display: grid; }
.pl-related-item { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: center; padding: 11px; border-bottom: 1px solid var(--line); text-decoration: none; }
.pl-related-item:last-child { border-bottom: 0; }
.pl-related-item:hover { background: #1b1b21; }
.pl-related-thumb { display: block; width: 82px !important; height: 52px !important; max-width: none; object-fit: cover; background: #23232a; }
.pl-related-name { font-size: 12px; font-weight: 800; line-height: 1.35; }

/* Restyle the shared unlock plugin without copying Leakzy's visual identity. */
.pbtmi-unlock-card { box-sizing: border-box; border-radius: 0 !important; border: 1px solid #454551 !important; background: linear-gradient(135deg,#14141a,#0d0d11) !important; box-shadow: 7px 7px 0 var(--acid) !important; }
.pbtmi-unlock-card:before { background: linear-gradient(90deg,var(--acid),var(--pink)) !important; }
.pbtmi-unlock-card__title { max-width: 100%; box-sizing: border-box; border-radius: 0 !important; background: var(--acid) !important; color: #080a04 !important; text-shadow: none !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 14px !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button { box-sizing: border-box; min-width: 0; min-height: 118px !important; display: grid !important; grid-template-columns: 86px minmax(0,1fr) !important; gap: 16px !important; align-items: center !important; padding: 15px !important; overflow: hidden !important; border-radius: 0 !important; border: 1px solid #4a4a55 !important; box-shadow: none !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button--free { background: var(--acid) !important; color: #080a04 !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button--paid { background: linear-gradient(135deg,#22222b,#101014) !important; color: var(--paper) !important; border-color: var(--pink) !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button:after { inset: 7px !important; border-radius: 0 !important; border-color: rgba(255,255,255,.2) !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button__mascot { align-self: center !important; display: grid !important; place-items: center !important; width: 86px !important; height: 86px !important; min-width: 0 !important; filter: none !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button__mascot img { display: block !important; width: 86px !important; height: 86px !important; max-width: 100% !important; object-fit: contain !important; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button__label { min-width: 0; color: inherit !important; font-size: clamp(18px,2.1vw,27px) !important; line-height: 1.02 !important; text-align: left !important; text-shadow: none !important; overflow-wrap: anywhere; }
.pbtmi-unlock-card--leakzy .pbtmi-unlock-button__label:after { margin-top: 7px !important; color: currentColor !important; font-size: 10px !important; line-height: 1.25 !important; letter-spacing: .03em !important; opacity: .72; text-shadow: none !important; }

.pl-page { width: min(calc(100% - 36px), 900px); margin: 60px auto 100px; padding: clamp(24px, 6vw, 60px); border: 1px solid var(--line); background: var(--panel); }
.pl-page h1 { margin-top: 0; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.06em; }
.pl-page p, .pl-page li { color: #c0c0ca; line-height: 1.75; }
.pl-footer { border-top: 1px solid var(--line); background: #050507; }
.pl-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 38px 0; }
.pl-footer-copy { max-width: 620px; color: #858590; font-size: 12px; line-height: 1.65; }
.pl-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.pl-footer-links a { color: #aaaab4; font: 750 10px/1 ui-monospace, monospace; text-decoration: none; text-transform: uppercase; }
.pl-footer-links a:hover { color: var(--acid); }
.pl-copyright { padding: 15px 0; border-top: 1px solid #17171c; color: #64646d; font: 700 9px/1.5 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }

.pl-age { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(4,4,6,.95); backdrop-filter: blur(18px); }
.pl-age.is-open { display: grid; }
.pl-age-card { width: min(100%, 560px); padding: clamp(28px, 7vw, 58px); border: 1px solid #3d3d46; background: #0d0d11; box-shadow: 12px 12px 0 var(--pink); text-align: center; }
.pl-age-mark { color: var(--acid); font: 950 68px/1 ui-monospace, monospace; letter-spacing: -.1em; }
.pl-age h2 { margin: 18px 0 10px; font-size: 36px; letter-spacing: -.05em; text-transform: uppercase; }
.pl-age p { color: var(--muted); line-height: 1.6; }
.pl-age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pl-age button, .pl-age a { min-height: 52px; display: grid; place-items: center; border: 1px solid #44444e; background: var(--panel-2); color: white; text-decoration: none; cursor: pointer; font-weight: 900; text-transform: uppercase; }
.pl-age button { border-color: var(--acid); background: var(--acid); color: #090b04; }

@media (max-width: 1100px) { .pl-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .pl-single-layout { grid-template-columns: 1fr; } .pl-side { position: static; } .pl-related { grid-template-columns: repeat(2,minmax(0,1fr)); } .pl-related-item:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 800px) { .pl-header-inner { grid-template-columns: 1fr auto auto; gap: 8px; } .pl-menu-button { display: inline-flex; align-items: center; } .pl-nav { position: absolute; display: none; top: 100%; right: 0; left: 0; padding: 18px; border-bottom: 1px solid var(--line); background: #0b0b0f; flex-direction: column; align-items: stretch; } .pl-nav.is-open { display: flex; } .pl-nav a { padding: 10px; } .pl-hero-grid { grid-template-columns: 1fr; gap: 28px; } .pl-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .pl-footer-inner { grid-template-columns: 1fr; } .pl-footer-links { justify-content: flex-start; } }
@media (max-width: 640px) {
  .pbtmi-unlock-card { margin-top: 24px !important; padding: 12px !important; box-shadow: 4px 4px 0 var(--acid) !important; }
  .pbtmi-unlock-card__title { min-height: 30px !important; margin-bottom: 12px !important; padding: 7px 9px !important; font-size: 10px !important; line-height: 1.25 !important; }
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-button { width: 100% !important; min-height: 96px !important; grid-template-columns: 68px minmax(0,1fr) !important; gap: 12px !important; padding: 10px !important; }
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-button__mascot,
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-button__mascot img { width: 68px !important; height: 68px !important; }
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-button__label { font-size: 18px !important; }
  .pbtmi-unlock-card--leakzy .pbtmi-unlock-button__label:after { font-size: 9px !important; }
}
@media (max-width: 520px) { .pl-wrap { width: min(calc(100% - 22px), var(--wrap)); } .pl-header-inner { min-height: 64px; gap: 5px; } .pl-brand { gap: 8px; } .pl-brand-name { font-size: 16px; letter-spacing: -.055em; } .pl-brand-logo { width: 36px; height: 36px; flex-basis: 36px; border-radius: 6px; } .pl-search-button,.pl-menu-button { min-height: 38px; padding: 0 8px; font-size: 10px; } .pl-grid { gap: 10px; } .pl-card-body { padding: 11px; } .pl-card h3 { font-size: 13px; } .pl-card-meta { display: block; line-height: 1.5; } .pl-card-meta .pl-open { display: none; } .pl-related { grid-template-columns: 1fr; } .pl-related-item { grid-template-columns: 72px 1fr; min-height: 76px; padding: 10px; } .pl-related-thumb { width: 72px !important; height: 46px !important; } .pl-article-head { padding: 22px; } .pl-content { padding: 12px; } .pl-age-actions { grid-template-columns: 1fr; } }

