/* ===== Лаунчеры / Launchers: дополнения к l2tools.css (галерея, цена со скидкой, устройство) ===== */
.al .lt-lead { margin-bottom: 14px; }
.al-title { margin: 0 0 12px; font-family: var(--serif); font-size: 40px; line-height: 1.15; font-weight: normal; letter-spacing: .5px; color: var(--text); }
.al-title::after { content: ""; display: block; width: 84px; height: 3px; margin-top: 12px; background: var(--hdr-accent); border-radius: 2px; }
.al .lt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.al-hero { display: block; margin: 4px 0 18px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(30, 20, 5, .28); }
.al-hero img { display: block; width: 100%; height: auto; }
.al-old { font-size: 15px; color: var(--text-muted); text-decoration: line-through; }
.al-off { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 20px; background: var(--hdr-bg); color: var(--hdr-accent); font-size: 12px; font-weight: bold; letter-spacing: .3px; text-decoration: none; vertical-align: 2px; }
.al-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.al-gallery li { margin: 0; }
.al-gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #120f16; transition: transform .15s, box-shadow .15s; }
.al-gallery a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30, 20, 5, .25); }
.al-gallery img { display: block; width: 100%; height: auto; }
.al-gallery span { display: block; padding: 7px 2px 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.al-steps { counter-reset: al; list-style: none; margin: 0; padding: 0; }
.al-steps li { counter-increment: al; position: relative; padding: 0 0 12px 46px; }
.al-steps li:last-child { padding-bottom: 0; }
.al-steps li::before { content: counter(al); position: absolute; left: 0; top: 0; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--hdr-bg); color: var(--hdr-accent); font-family: var(--serif); font-size: 16px; }
.al-steps b { color: var(--text); }
.al-note { margin-top: 16px; padding: 12px 16px; background: var(--surface-alt); border: 1px dashed var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text-link); }
@media (max-width: 640px) {
  .al-gallery, .al .lt-features { grid-template-columns: 1fr; }
  .al-title { font-size: 30px; }
}
/* ===== L2s-Guard (раздел 187 и основной модуль) ===== */
.sg-banner { position: relative; overflow: hidden; margin: 0 0 22px; padding: 38px 26px 34px; border-radius: 14px; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 0%, #7a5a1e 0%, #2a1d0c 55%, #120c06 100%); border: 1px solid #c8922f; box-shadow: 0 10px 30px rgba(30, 20, 5, .35), inset 0 0 40px rgba(242, 207, 134, .12); }
.sg-banner-tag { display: inline-block; margin-bottom: 12px; padding: 4px 16px; border-radius: 20px; background: #c8922f; color: #1a1207; font-size: 13px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; animation: sg-pulse 1.8s ease-in-out infinite; }
.sg-banner-title { margin: 0; font-family: var(--serif); font-size: 66px; line-height: 1.1; color: #ffd98a; text-shadow: 0 0 18px rgba(255, 190, 80, .65), 0 2px 0 #3a2508; letter-spacing: 1px; }
.sg-banner-sub { margin: 12px 0 0; font-family: var(--serif); font-size: 25px; color: #f6e7c8; }
.sg-banner-note { margin: 10px 0 0; font-size: 16px; font-weight: bold; color: #f2cf86; letter-spacing: .5px; }
@keyframes sg-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 120, .7); } 50% { box-shadow: 0 0 0 10px rgba(255, 210, 120, 0); } }
.sg-logo { display: block; max-width: 420px; width: 100%; height: auto; margin: 0 auto 18px; border-radius: 18px; box-shadow: 0 10px 26px rgba(30, 20, 5, .3); }
.sg-pdf { position: relative; margin: 6px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #2b2b2b; }
.sg-pdf iframe { display: block; width: 100%; height: 78vh; min-height: 520px; border: 0; }
.sg-prices { width: 100%; max-width: 720px; margin: 0 auto 6px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.sg-prices th { background: var(--hdr-bg); color: var(--hdr-accent); padding: 12px 14px; font-family: var(--serif); font-size: 15px; font-weight: normal; text-align: center; }
.sg-prices td { padding: 12px 14px; border-top: 1px solid var(--border); text-align: center; vertical-align: middle; }
.sg-prices td:first-child { text-align: left; }
.sg-prices tr:nth-child(even) td { background: var(--surface-alt); }
.sg-prices .sg-price { font-family: var(--serif); font-size: 19px; color: var(--accent); white-space: nowrap; }
.sg-prices .sg-best { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.sg-prices ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: var(--text-link); }
.sg-prices-wrap { overflow-x: auto; }
.sg-tl { position: relative; margin: 6px 0 0; padding: 0 0 0 30px; list-style: none; }
.sg-tl::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.sg-tl > li { position: relative; margin: 0 0 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.sg-tl > li::before { content: ""; position: absolute; left: -26px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--hdr-accent); box-shadow: 0 0 0 4px var(--surface-alt); }
.sg-tl b.sg-year { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 12px; background: var(--hdr-bg); color: var(--hdr-accent); font-family: var(--serif); font-size: 15px; }
.sg-tl .sg-tl-title { font-family: var(--serif); font-size: 17px; color: var(--text); }
.sg-tl ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--text-link); }
.sg-tl li.sg-next { border: 2px solid #c8922f; background: linear-gradient(180deg, #fff7e4, var(--surface)); }
@media (max-width: 640px) { .sg-banner-title { font-size: 42px; } .sg-pdf iframe { height: 70vh; min-height: 380px; } }

/* Supported versions: collapsible groups with an even grid (2026-11-20) */
.sg-ver { display: grid; gap: 10px; margin: 0 0 16px; }
.sg-vg { border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg, #fff, var(--surface)); overflow: hidden; box-shadow: 0 2px 8px rgba(60, 40, 10, .06); transition: box-shadow .2s, border-color .2s; }
.sg-vg[open] { border-color: #d3b26a; box-shadow: 0 6px 18px rgba(60, 40, 10, .12); }
.sg-vg summary { list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 48px 12px 14px; }
.sg-vg summary::-webkit-details-marker { display: none; }
.sg-vg summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s; }
.sg-vg[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.sg-vg summary:hover { background: rgba(217, 150, 46, .06); }
.sg-vg-m { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--hdr-bg); color: var(--hdr-accent); font-family: var(--serif); font-size: 16px; font-weight: bold; }
.sg-vg-t { text-align: left; flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sg-vg-t b { font-family: var(--serif); font-size: 16px; color: #5a3a12; }
.sg-vg-t small { font-size: 12px; color: var(--text-muted); }
.sg-vg-n { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--hdr-bg); color: var(--hdr-accent); font-size: 12px; font-weight: bold; }
.sg-vg-list { list-style: none; margin: 0; padding: 2px 16px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; border-top: 1px solid var(--border); }
.sg-vg-list li { text-align: left; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 2px; border-bottom: 1px dashed #e6d6ad; font-size: 13px; color: var(--text); }
.sg-vg-list li em { flex: none; font-style: normal; font-size: 11.5px; font-weight: bold; color: var(--accent); }
.sg-vg[open] .sg-vg-list { animation: sgVgIn .3s ease; }
@keyframes sgVgIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .sg-vg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sg-vg-list { grid-template-columns: 1fr; } }

/* PDF: scrollable viewer + buttons below (2026-11-20) */
.sg-pdf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 12px 0 18px; }
.sg-pdf-hint { flex-basis: 100%; text-align: center; font-size: 12.5px; color: var(--text-muted); }
.sg-pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 10px; background: linear-gradient(180deg, #d9962e, #b8791e); color: #fff !important; font-family: var(--serif); font-size: 15px; font-weight: bold; text-decoration: none !important; box-shadow: 0 4px 14px rgba(120, 75, 10, .28); transition: transform .15s, filter .15s; }
.sg-pdf-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.sg-pdf-btn::before { content: "\25B6"; font-size: 11px; }
.sg-pdf-btn2 { background: #fff; color: #7C4F11 !important; border: 1.5px solid var(--accent); box-shadow: none; }
.sg-pdf-btn2::before { content: "\2193"; font-size: 14px; }
@media (max-width: 760px) { .sg-pdf { display: none; } .sg-pdf-hint { display: none; } .sg-pdf-bar { margin-top: 4px; } }
