/* paperstack — game178 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Fredoka:wght@400;600&family=IBM+Plex+Sans:wght@400;600;700&family=Libre+Franklin:wght@400;600;700&family=Merriweather:wght@400;700&family=Nunito:wght@400;600;700&family=Oswald:wght@400;600;700&family=Poppins:wght@400;600;700&family=Press+Start+2P&family=Quicksand:wght@400;600;700&display=swap');
:root {
  --t-bg: #faf8f5;
  --t-bg2: #e8e4dc;
  --t-card: #ffffff;
  --t-text: #1a1a1a;
  --t-muted: #555555;
  --t-accent: #c0392b;
  --t-accent2: #922b21;
  --t-header: linear-gradient(180deg,#faf8f5,#e8e4dc);
  --t-radius: 2px;
  --t-font: 'Libre Franklin', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--t-font); background: var(--t-bg); color: var(--t-text); line-height: 1.55; }
a { color: var(--t-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.ps-master { min-height: 100vh; }
.ps-top-bar { background: var(--t-header); padding: 12px 16px; position: sticky; top: 0; z-index: 200; border-bottom: 1px solid rgba(128,128,128,.18); }
.ps-top-bar-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.ps-brand img { max-height: 46px; max-width: 170px; }
.ps-top-actions { margin-left: auto; display: flex; gap: 8px; }
.ps-activator { background: var(--t-card); border: 1px solid rgba(128,128,128,.2); color: var(--t-text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.ps-activator:hover { background: var(--t-accent); color: #fff; border-color: var(--t-accent); }
.ps-search-drop { display: none; padding: 10px 16px; background: var(--t-bg2); }
.ps-search-drop.is-open { display: block; }
.ps-search-drop form, .ps-search-bar { max-width: 1180px; margin: 0 auto; display: flex; gap: 8px; flex: 1; }
.ps-search-drop input, .ps-search-bar input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(128,128,128,.25); background: var(--t-card); color: var(--t-text); }
.ps-search-drop button, .ps-search-bar button { padding: 10px 16px; background: var(--t-accent); color: #fff; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; }
.ps-cat-nav { background: var(--t-bg2); padding: 8px 16px; overflow-x: auto; }
.ps-cat-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 8px; }
.ps-cat { display: inline-block; padding: 6px 14px; background: var(--t-card); color: var(--t-text); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.ps-cat:hover, .ps-cat.is-active { background: var(--t-accent); color: #fff; }
.ps-drawer { position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: var(--t-bg2); z-index: 300; transform: translateX(-100%); transition: transform .28s; padding: 20px; overflow-y: auto; }
.ps-drawer.is-open { transform: translateX(0); }
.ps-drawer a { display: block; padding: 12px; color: var(--t-text); border-bottom: 1px solid rgba(128,128,128,.12); }
.ps-screen { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 299; display: none; }
.ps-screen.is-open { display: block; }
.ps-stage { max-width: 1180px; margin: 0 auto; padding: 16px; }
.ps-zone { margin-bottom: 28px; }
.ps-zone-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--t-accent); font-size: 1.2rem; font-weight: 700; }
.ps-zone-head a { font-size: 13px; color: var(--t-muted); font-weight: 500; }
.ps-billboard { margin-bottom: 20px; padding: 22px; background: var(--t-card); border-radius: var(--t-radius); }
.ps-billboard h1 { font-size: 1.55rem; margin-bottom: 8px; color: var(--t-accent); }
.ps-lede { color: var(--t-muted); font-size: 15px; }
.ps-prose { background: var(--t-card); padding: 22px; border-radius: var(--t-radius); margin-bottom: 18px; }
.ps-prose h1 { font-size: 1.45rem; margin-bottom: 12px; }
.ps-prose p { margin-bottom: 10px; color: var(--t-muted); }
.ad-content { margin: 12px 0; text-align: center; }
.back-icon { position: fixed; top: 12px; left: 12px; z-index: 9999999999; }
.back-icon img { border-radius: 50%; background: var(--t-card); padding: 4px; }

.ps-game-showcase { text-align: center; margin-bottom: 16px; }
.ps-game-showcase img { max-height: 210px; margin: 0 auto; border-radius: var(--t-radius); }
.ps-launch-btn { display: block; width: 100%; max-width: 300px; margin: 18px auto; padding: 14px 28px; background: linear-gradient(135deg, var(--t-accent), var(--t-accent2)); color: #fff; border: none; border-radius: var(--t-radius); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.ps-game-lead { color: var(--t-muted); margin-bottom: 12px; }
.ps-guide { background: var(--t-card); border: 1px dashed var(--t-accent); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.ps-guide-head { font-weight: 700; color: var(--t-accent); margin-bottom: 8px; font-size: 1rem; }
.ps-guide-body { color: var(--t-muted); font-size: 14px; line-height: 1.65; }
.ps-cover-story { background: var(--t-card); padding: 28px 24px; border-radius: 0; margin-bottom: 24px; border-bottom: 3px solid var(--t-accent); }
.ps-cover-story h1 { font-size: 2rem; font-weight: 700; color: var(--t-accent); }
.ps-tagline { color: var(--t-muted); font-size: 16px; margin-top: 8px; }
.ps-collection { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.ps-story { background: var(--t-card); border: 1px solid rgba(0,0,0,.08); }
.ps-story-cover { aspect-ratio: 16/10; overflow: hidden; }
.ps-story-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); }
.ps-story-hed { padding: 10px 12px; }
.ps-story-hed h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.ps-site-foot { background: var(--t-bg2); padding: 24px 16px; margin-top: 36px; text-align: center; }
.ps-foot-nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.ps-foot-nav a { color: var(--t-muted); font-size: 14px; }
.ps-foot-nav a:hover { color: var(--t-accent); }
.ps-foot-legal, .ps-foot-contact { color: var(--t-muted); font-size: 13px; margin-bottom: 8px; }
.ps-by-numbers { background: var(--t-card); padding: 24px; margin: 20px 0 12px; border: 1px solid rgba(0,0,0,.08); }
.ps-by-numbers h2 { color: var(--t-accent); margin-bottom: 16px; font-family: Georgia, serif; }
.ps-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ps-stat { text-align: center; }
.ps-stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--t-accent); }
.ps-stat span:last-child { font-size: 12px; color: var(--t-muted); }
@media (max-width: 600px) { .ps-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.ps-timeline { margin-bottom: 20px; }
.ps-timeline h1 { font-size: 1.5rem; margin-bottom: 20px; color: var(--t-accent); }
.ps-tl-entry { display: flex; gap: 16px; margin-bottom: 20px; }
.ps-tl-dot { width: 14px; height: 14px; background: var(--t-accent); border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.ps-tl-body { background: var(--t-card); padding: 14px 18px; border-radius: var(--t-radius); flex: 1; }
.ps-tl-body h3 { font-size: 14px; color: var(--t-accent); margin-bottom: 4px; }
.ps-tl-body p { font-size: 13px; color: var(--t-muted); }
.ps-top-bar { position: relative; padding: 24px 16px; background: var(--t-header); }
@media (max-width: 768px) {
  .ps-collection { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
