/* Feature pages /<lang>/features/ (site-src/features.js, 27.11.2026). On top of landing.css; light: no effects. */
.ft { max-width: 920px; margin: 0 auto; padding: 0 16px 40px; }
.ft-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin: 16px 0; }
.ft-box h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 14px; }
.ft-box h2 { font-size: 20px; margin: 30px 0 12px; }
.ft-lead { color: var(--text); font-size: 17px; line-height: 1.6; margin: 0 0 12px; max-width: 760px; }
.ft-pic { position: relative; margin: 20px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; }
.ft-pic img { display: block; width: 100%; height: auto; }
.ft-ex { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 6px; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .25); color: #e9e9ee; }
.ft-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.ft-hint { margin: 0; font-size: 13px; color: var(--muted); }
.ft-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.ft-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; color: var(--text); }
.ft-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--acc); color: #03131a; font-weight: 700; font-size: 14px; line-height: 1; margin-top: -1px; }
.ft-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; color: var(--text); }
.ft-not li::marker { color: #78e6a0; }
.ft-faq { display: flex; flex-direction: column; gap: 8px; }
.ft-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: rgba(255, 255, 255, .03); }
.ft-faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.ft-faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.ft-more { font-size: 20px; margin: 30px 0 12px; }
.ft-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.ft-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  color: var(--text); text-decoration: none; }
.ft-card:hover { border-color: var(--acc); }
.ft-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000; }
.ft-card b { font-size: 16px; line-height: 1.3; }
.ft-card span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ft-card em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--acc); }
@media (max-width: 600px) {
  .ft-box { padding: 18px; }
  .ft-lead { font-size: 16px; }
  .ft-cta .btn { flex: 1 1 100%; text-align: center; }
}
/* item pages /<lang>/items/ (items.js) */
.it h2 { margin-top: 26px; }
.it-map { margin: 0 0 14px; }
.it-map h3 { margin: 0 0 6px; font-size: 15px; color: var(--acc); }
.it-map ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.it-map li { line-height: 1.5; color: var(--text); }
.it-map li b { font-weight: 600; }
.it-map li span { display: block; color: var(--muted); font-size: 14px; }
.it-crea { margin: 0; line-height: 1.7; color: var(--text); }
.it a, .it-index a { color: var(--acc); text-decoration: none; }
.it a:hover, .it-index a:hover { text-decoration: underline; }
.it-tbl { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
.it-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.it-tbl td:first-child { color: var(--text); }
.it-tbl td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.it-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.it-letters a { min-width: 32px; text-align: center; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); text-decoration: none; }
.it-letters a:hover { border-color: var(--acc); }
.it-index { list-style: none; margin: 0 0 8px; padding: 0; columns: 3 220px; column-gap: 24px; }
.it-index li { padding: 3px 0; break-inside: avoid; }
.ft-box h2[id] { scroll-margin-top: 16px; }
@media (max-width: 600px) { .it-tbl td:last-child { white-space: normal; } }.it-map li span.it-note { margin-top: 6px; padding: 10px 12px; border-left: 3px solid var(--acc); border-radius: 0 8px 8px 0; background: rgba(255,255,255,.04); color: var(--text); line-height: 1.55; }
/* item page v2 (27.11.2026, the user: a picture, a cleaner layout) */
.it-head { display: flex; align-items: center; gap: 18px; margin: 0 0 14px; }
.it-pic { flex: none; width: 88px; height: 88px; border-radius: 14px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(156,240,255,.16), rgba(255,255,255,.03) 70%); border: 1px solid var(--line); }
.it-pic img { width: 72px; height: 72px; object-fit: contain; }
.it-ttl { min-width: 0; }
.it .it-ttl h1 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; }
.it-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.it-facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.it-facts li { padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 13px; line-height: 20px; color: var(--text); }
.it-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.it-maps .it-map { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); }
.it-maps .it-map h3 { margin: 0 0 10px; }
.it-maps .it-map ul { padding-left: 16px; }
.it-ing { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.it-ing + .it-ing { margin-left: 14px; }
.it-ing img, .it-noic { flex: none; width: 24px; height: 24px; object-fit: contain; }
.it-noic { display: inline-block; }
.it-tbl td.it-q { text-align: right; color: var(--muted); white-space: nowrap; }
.it-tbl tr.it-st td:last-child { text-align: left; white-space: normal; }
@media (max-width: 720px) { .it-maps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .it-pic { width: 64px; height: 64px; } .it-pic img { width: 52px; height: 52px; } .it-head { gap: 12px; } }.it-sts { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.it-sts .it-ing + .it-ing { margin-left: 0; }
.it-tbl td.it-v { text-align: right; color: var(--muted); white-space: normal; }
/* sources v3 (27.11.2026, the user: empty space in the short cards): one card per map across the whole width, inside — rows
   «kind | details» in two columns; no grid of cards of different heights */
.it-maps { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.it-maps .it-map { padding: 12px 16px; }
.it-maps .it-map ul { list-style: none; padding: 0; gap: 0; }
.it-maps .it-map li { display: grid; grid-template-columns: minmax(160px, 34%) minmax(0, 1fr); gap: 4px 16px; padding: 7px 0; border-top: 1px solid var(--line); align-items: baseline; }
.it-maps .it-map li:first-child { border-top: 0; padding-top: 0; }
.it-maps .it-map li:last-child { padding-bottom: 0; }
.it-maps .it-map li span { display: block; margin: 0; }
.it-maps .it-map li span.it-note { grid-column: 1 / -1; margin-top: 6px; }
.it-maps .it-map h3 { margin-bottom: 8px; }
@media (max-width: 560px) { .it-maps .it-map li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }.it-maps .it-map li span .it-crate { display: inline-flex; align-items: center; gap: 6px; }
.it-crate i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.it-maps .it-map li span .it-crate { display: flex; align-items: center; gap: 8px; line-height: 22px; }
/* news /<lang>/news/ (bot/news.js, 27.11.2026) */
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 16px 0; }
.nw-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; overflow: hidden; }
.nw-card:hover { border-color: var(--acc); }
.nw-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.nw-card > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.nw-card time { font-size: 12px; color: var(--muted); }
.nw-card b { font-size: 17px; line-height: 1.3; }
.nw-card span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.nw-card em { margin-top: auto; padding-top: 4px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--acc); }
.nw h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 8px; }
.nw-date { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.nw-fig { margin: 18px 0; }
.nw-fig img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.nw-fig figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.nw-body { color: var(--text); font-size: 16px; line-height: 1.65; }
.nw-body h2 { font-size: 21px; margin: 26px 0 10px; }
.nw-body h3 { font-size: 17px; margin: 20px 0 8px; }
.nw-body p { margin: 0 0 14px; }
.nw-body ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.nw-body a, .nw .ft-hint a { color: var(--acc); }.nw-body ol { margin: 0 0 14px; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.nw-body blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid var(--acc); border-radius: 0 10px 10px 0; background: rgba(255,255,255,.04); color: var(--text); }
.nw-body hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.nw-preview { margin: 16px 0 0; padding: 10px 14px; border: 1px dashed var(--acc); border-radius: 10px; color: var(--text); font-size: 14px; }
/* the calculators' links on /features/ (30.11.2026) */
.ft-box h2.ft-h0 { margin-top: 0; }
.ft-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ft-tools a { padding: 8px 14px; line-height: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--text); text-decoration: none; font-size: 14px; }
.ft-tools a:hover { border-color: var(--acc); }
.ft-box .nw-sw { margin: 16px 0 0; }
