/* Игровёнок: использует базовые цвета темы, без второй шапки */
.igro-game-library{max-width:1160px;margin:0 auto;padding:24px 0 55px;color:inherit}
.igro-game-library-head{margin-bottom:28px}.igro-game-library-head>span{color:#79c9ff;letter-spacing:.08em;font-size:12px;font-weight:700}
.igro-game-library-head h1{font-size:clamp(28px,4vw,42px);margin:8px 0 12px}
.igro-game-library-head p{max-width:790px;color:var(--muted,#bed0e1);line-height:1.6}
.igro-game-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.igro-game-library-card{background:var(--panel,#112c43);border:1px solid var(--edge,#28445c);border-radius:16px;padding:24px;min-width:0}
.igro-game-library-type{display:inline-block;color:#a4dbff;font-size:12px;font-weight:700;margin-bottom:8px}
.igro-game-library-card h2{font-size:23px;margin:6px 0 10px}.igro-game-library-card p{line-height:1.6}
.igro-game-library-details{font-size:14px;line-height:1.65;margin:16px 0}.igro-game-library-details p{margin:9px 0}
.igro-game-library-download{display:inline-block;background:#1587e8;color:white!important;padding:12px 16px;border-radius:9px;font-weight:700;text-decoration:none}
.igro-game-library-download:hover{background:#0b6dc5}
.igro-game-library-archive{border:1px solid var(--edge,#28445c);border-radius:12px;margin:24px 0;padding:16px}
.igro-game-library-archive summary{cursor:pointer;font-weight:700}.igro-game-library-archive ul{display:flex;gap:14px;flex-wrap:wrap;list-style:none;padding:0}
.igro-game-library-note{color:var(--muted,#bed0e1);font-size:13px}
@media(max-width:700px){.igro-game-library-grid{grid-template-columns:1fr}.igro-game-library-card{padding:18px}}

/* v1.1 — illustrations, balanced project cards and anchor navigation */
.igro-game-library-card{padding:0;overflow:hidden;scroll-margin-top:100px;display:flex;flex-direction:column}
.igro-game-library-cover{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center;background:#0c2843}
.igro-game-library-body{padding:22px;display:flex;flex-direction:column;flex:1;min-width:0}
.igro-game-library-card h2{font-size:clamp(18px,2vw,23px);overflow-wrap:anywhere}
.igro-game-library-card .igro-game-library-details{flex:1}
.igro-game-library-card:target{border-color:#6edcff;box-shadow:0 0 0 2px #6edcff33}
@media(max-width:700px){.igro-game-library-body{padding:17px}}

/* v1.2: compact catalogue, detail pages instead of oversized instruction cards */
.igro-game-library-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.igro-game-library-card[hidden]{display:none!important}
.igro-game-library-cover-link{display:block;overflow:hidden;flex:none}
.igro-game-library-placeholder{display:grid;place-items:center;min-height:165px;background:#0d3759;font-size:44px}
.igro-game-library-card h2{font-size:17px;line-height:1.4;margin:5px 0 8px}
.igro-game-library-card h2 a{color:inherit;text-decoration:none}
.igro-game-library-card h2 a:hover{color:#8bdcff}
.igro-game-library-card p{font-size:13px;line-height:1.55;color:var(--muted,#bed0e1);flex:1}
.igro-game-library-download{margin-top:auto;display:inline-flex;justify-content:center;align-items:center;text-align:center;font-size:13px}
.igro-game-library-controls{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 20px}
.igro-game-library-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--muted,#bed0e1);flex:1;min-width:190px}
.igro-game-library-controls input,.igro-game-library-controls select{width:100%;background:var(--panel,#112c43);color:inherit;border:1px solid var(--edge,#28445c);border-radius:10px;padding:11px 12px;min-height:45px;font:inherit}
.igro-game-library-controls input:focus-visible,.igro-game-library-controls select:focus-visible{outline:2px solid #7adfff;outline-offset:2px}
.igro-game-library-search-status{color:var(--muted,#bed0e1);min-height:0;font-size:14px}
@media(max-width:1100px){.igro-game-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.igro-game-library-grid{grid-template-columns:1fr}}

/* v1.5: readable, long-form editorial guides on single project pages */
.igro-project-full-description{min-width:0;overflow-wrap:anywhere}
.igro-project-full-description .igro-expanded-overview,
.igro-project-full-description .igro-expanded-files,
.igro-project-full-description .igro-expanded-labs,
.igro-project-full-description .igro-expanded-troubleshooting,
.igro-project-full-description .igro-expanded-assessment{margin:38px 0;padding-top:8px;border-top:1px solid var(--edge,#2c526d)}
.igro-project-full-description .igro-expanded-lab{padding:18px 22px;margin:14px 0;border:1px solid var(--edge,#2c526d);border-radius:13px;background:rgba(42,85,121,.19)}
.igro-project-full-description .igro-expanded-lab h3{margin-top:0;color:#8bdcff}
.igro-project-full-description .igro-expanded-lab p{margin:10px 0}
.igro-project-full-description .igro-expanded-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--edge,#2c526d);border-radius:12px;margin:16px 0 30px}
.igro-project-full-description table{border-collapse:collapse;width:100%;min-width:500px;font-size:15px}
.igro-project-full-description th,.igro-project-full-description td{padding:13px 14px;border-bottom:1px solid var(--edge,#2c526d);text-align:left;vertical-align:top;line-height:1.6}
.igro-project-full-description th{color:#aee8ff;background:rgba(40,92,133,.3)}
.igro-project-full-description tr:last-child td{border-bottom:0}
.igro-project-full-description .igro-expanded-checklist{list-style:none;padding-left:0}
.igro-project-full-description .igro-expanded-checklist li{padding:7px 0}
.igro-project-full-description .igro-expanded-disclaimer{padding:16px 20px;border-left:4px solid #5dcaff;background:rgba(35,95,135,.25);border-radius:0 10px 10px 0}
@media(max-width:700px){.igro-project-full-description .igro-expanded-lab{padding:15px}.igro-project-full-description table{font-size:13px}.igro-project-full-description th,.igro-project-full-description td{padding:10px}}
