/* obelisk-ark.com sales page — plain CSS, the app's dark look (21.11.2026) */
:root { --bg: #05070a; --panel: rgba(14, 18, 24, .82); --line: rgba(255, 255, 255, .1); --text: #e6e9ee; --muted: #9aa4b2; --acc: #9cf0ff; --acc-2: #56d6ff; }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg) url("/app/bg-black.jpg") center top / cover fixed; color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .62); z-index: -1; }
a { color: var(--acc); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 16px max(16px, env(safe-area-inset-left)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .28em; }
.langs { display: flex; gap: 4px; flex-wrap: wrap; }
.top-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.top-link { color: #03131a; background: var(--acc); text-decoration: none; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 8px; }
.top-link:hover { background: #c6f7ff; }
html { scroll-behavior: smooth; }
#prices { scroll-margin-top: 16px; }
/* phone: the logo and «Цены» on one line, the languages on the next */
@media (max-width: 560px) {
  .top { flex-wrap: wrap; row-gap: 8px; }
  .top-r { display: contents; }
  .top .langs { order: 3; width: 100%; margin-left: -8px; }
}
/* the sections row in the header (site-src/kbnav.js, 29.11.2026): between the logo and «Цены»; narrower — its own row of
   tabs under the logo that scrolls sideways */
/* a thin line between the logo and the sections, 20 px of air on each side (29.11.2026, «нужно что-то между ними») */
.top { position: relative; z-index: 35; }
.kbnav { display: flex; align-items: center; gap: 4px; min-width: 0; margin-right: auto; margin-left: 8px; padding-left: 20px; position: relative; }
.kbnav::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; transform: translateY(-50%); background: rgba(255, 255, 255, .18); }
.kbg { position: relative; }
.kbg-a { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.kbg-a svg { flex: none; width: 18px; height: 18px; }
.kbg-v { flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.kbg-a.on { color: var(--text); background: rgba(156, 240, 255, .1); box-shadow: inset 0 0 0 1px rgba(156, 240, 255, .35); }
.kbg-a:hover, .kbg:hover .kbg-a, .kbg.open .kbg-a { color: var(--text); background: rgba(255, 255, 255, .06); }
.kbg-a.on svg, .kbg-a:hover svg, .kbg.open .kbg-a svg { color: var(--acc); }
/* the list: the 6 px of air belong to it, so the mouse does not fall through on the way */
.kbg-m { display: none; position: absolute; left: 0; top: 100%; padding-top: 6px; }
.kbg-m > div { display: grid; min-width: 210px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #0b1017; box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.kbg-m.two > div { grid-template-columns: repeat(2, max-content); column-gap: 4px; }
.kbg-m a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; line-height: 20px; white-space: nowrap; }
.kbg-m a:hover { background: rgba(255, 255, 255, .07); }
.kbg-m a.on { color: var(--acc); }
.kbg-i { flex: none; width: 18px; height: 18px; color: var(--muted); }
.kbg-m a:hover .kbg-i, .kbg-m a.on .kbg-i { color: var(--acc); }
.kbg.open .kbg-m { display: block; }
.kbg:has(:focus-visible) .kbg-m { display: block; }
@media (hover: hover) { .kbg:hover .kbg-m { display: block; } .kbnav:hover .kbg:not(:hover):not(.open) .kbg-m { display: none; } }
.kbg-a:focus-visible, .kbg-m a:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
@media (max-width: 1060px) {
  .top { flex-wrap: wrap; row-gap: 8px; }
  .kbnav { order: 3; width: 100%; margin: 0; padding: 2px 0; gap: 8px; }
  .kbnav::before { display: none; }   /* its own row: no line needed */
  .top .langs { order: 4; }
  .kbg-a { border: 1px solid var(--line); background: rgba(14, 18, 24, .7); }
}
/* phone: four equal buttons in two rows, the list is as wide as the menu */
@media (max-width: 620px) {
  .kbnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kbg { position: static; }
  .kbg-a { height: 40px; }
  .kbg-a .kbg-v { margin-left: auto; }
  .kbg-m { left: 0; right: 0; padding-top: 6px; }
  .kbg-m > div { min-width: 0; }
  .kbg-m.two > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kbg-m a { padding: 12px; white-space: normal; }
}
/* /<lang>/items/ (29.11.2026): search, group tabs, letters, cards with icons, pages of 48 */
.itx-find { display: block; max-width: none; margin: 16px 0 12px; height: 44px; font-size: 16px; }
.itx-cats { margin: 0 0 12px; }
.itx-let { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; }
.itx-let button { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.itx-let button:hover:not([disabled]), .itx-let button.on { color: var(--text); border-color: var(--acc); }
.itx-let button.on { background: rgba(156, 240, 255, .1); }
.itx-let button[disabled] { opacity: .35; cursor: default; }
.itg { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 8px; }
.itg li[hidden] { display: none; }
/* every card the same size (the user, 29.11.2026: «всё одного размера и формата»): 3 one-line rows, long names end in «…»,
   the full name is in the card's tooltip */
.itg a { display: flex; align-items: center; gap: 12px; height: 94px; box-sizing: border-box; padding: 10px 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .3); color: var(--text); text-decoration: none; }
.itg a:hover { border-color: var(--acc); }
.itg img, .itg-no { flex: none; width: 40px; height: 40px; object-fit: contain; }
.itg-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.itg-t b { font-size: 14px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow-wrap: anywhere; }   /* up to 2 lines */
.itg-t small { color: var(--muted); font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itg-t small.itg-tag { color: #8fb8c4; }
.itx-none { color: var(--muted); margin: 12px 0; }
/* phone: the group tabs and the letters — one row each that scrolls sideways (6 rows of tabs took the whole screen) */
@media (max-width: 560px) {
  .dcats.itx-cats, .itx-let { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }   /* .dcats (below) wraps */
  .itx-cats::-webkit-scrollbar, .itx-let::-webkit-scrollbar { display: none; }
  .itx-cats a, .itx-let button { flex: none; white-space: nowrap; }
}
/* the same sections as tiles on the home page */
/* a panel like its neighbours («Приложение на ПК», «Гайды по приручению») — the user, 29.11.2026: it hung without one */
.kbt { margin: 0 0 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.kbt > p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }
.kbt a { background: rgba(0, 0, 0, .3); }
.kbt ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.kbt li { display: flex; }
.kbt a { flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; }
.kbt a:hover { border-color: var(--acc); }
.kbt-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(156, 240, 255, .08); color: var(--acc); }
.kbt-i svg { width: 22px; height: 22px; }
.kbt-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kbt-t b { font-size: 16px; }
.kbt-t span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.langs a { color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 6px; font-size: 13px; }
.langs a.on, .langs a:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
main { max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left)) 0; }
/* one gap between all blocks of a page — the same as above the «you sleep» strip (the user, 21.11.2026: «пробелы рандомные») */
section { margin: 28px 0; }
/* the first screen starts right under the header (the user: a big empty gap, half the phone screen) */
.hero { margin-top: 20px; }
.hero h1 { margin-top: 0; }
.h1-name { display: block; margin: 0 0 8px; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.35; font-weight: 600; letter-spacing: 0; color: var(--acc); }
.what { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.what h2 { margin-top: 0; }
.what p { margin: 0 0 12px; line-height: 1.6; max-width: none; }
.what p:last-child { margin-bottom: 0; color: var(--muted); }
/* the 28ch limit below is for the landing's big hero title; inner pages use their full width (27.11.2026, the user: the
   news title was squeezed into a narrow column) */
.ft-box h1, .legal-box h1, .pt-box h1, .dhero h1, main.ft h1 { max-width: none; text-wrap: pretty; }
@media (max-width: 560px) { .hero { margin-top: 12px; } }
h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.12; margin: 24px 0 14px; letter-spacing: .01em; text-wrap: balance; max-width: 28ch; }
h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 18px; margin: 12px 0 6px; }
.sub { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 62ch; margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; background: rgba(255, 255, 255, .06); }
.btn:hover { background: rgba(255, 255, 255, .12); }
/* a button with an icon: icon and text centred on one line, an even gap */
.btn.ic { display: inline-flex; align-items: center; gap: 10px; }
.btn.ic svg { flex: none; width: 18px; height: 18px; }
/* mostly lowercase text looks lower than its line box: the icon goes 1px down to sit on the letters' middle (the user saw it) */
.btn.ic svg, .badges li svg { position: relative; top: 1px; }
.btn.primary { background: var(--acc); color: #03131a; border-color: var(--acc); }
.btn.primary:hover { background: #c6f7ff; }
.btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.hint-dl { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.note.join { margin: 12px 0 0; font-size: 14px; }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li svg { width: 15px; height: 15px; flex: none; color: var(--acc); }
/* chips follow the app's standard (.home-st: 8px corners, 7×14 padding, 13px) — the user, 21.11.2026: no round «pills» */
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--muted); background: rgba(0, 0, 0, .35); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 16px; }
/* picture, title and text of the cards in one row share the same three lines (a title in two lines moves the whole row,
   not one card) — 21.11.2026, the user: everything must stand on one height */
@supports (grid-template-rows: subgrid) {
  .grid { grid-auto-rows: auto auto 1fr; row-gap: 0; }
  .feat { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 16px; }
  .feat h3 { align-self: start; }
}
/* a feature picture opens full screen (the lightbox below) */
.feat-pic { position: relative; display: block; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.zoom-ic { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(0, 0, 0, .65); color: #fff; opacity: .75; }
.zoom-ic svg { width: 18px; height: 18px; }
.feat-pic:hover .zoom-ic { opacity: 1; background: var(--acc); color: #03131a; }
.lb { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(0, 0, 0, .9); }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1300px, calc(100% - 140px)); display: flex; flex-direction: column; gap: 12px; }
.lb img { display: block; max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); }
.lb figcaption { text-align: center; color: var(--muted); max-width: 70ch; margin: 0 auto; }
.lb figcaption b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }
.lb-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--acc); color: #03131a; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-x { position: absolute; top: 16px; right: 16px; }
/* the arrows sit on the picture's own middle (not the middle of picture + caption) */
.lb-pic { position: relative; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: -60px; } .lb-next { right: -60px; }
@media (max-width: 1100px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-prev, .lb-next { background: rgba(0, 0, 0, .6); } }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } }
.feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
/* first screen: text left, the «you sleep — Obelisk works» scene right (steps light up in turn, 9 s loop) */
/* variant A (the user, 21.11.2026): the text at full width, the scene as a strip under it, the three steps in a row */
.scene { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sc-title { grid-column: 1 / -1; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sc-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .35); opacity: .35; }
.sc-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.s1 .sc-ic { background: rgba(255, 90, 90, .14); color: #ff7a7a; }
.s2 .sc-ic { background: rgba(156, 240, 255, .14); color: var(--acc); }
.s3 .sc-ic { background: rgba(61, 220, 132, .14); color: #3ddc84; }
.sc-h { font-size: 15px; } .sc-h b { color: var(--acc); margin-right: 4px; }
.sc-d { font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .sc-step { animation: scStep 9s infinite; }
  .s2 { animation-delay: 3s; } .s3 { animation-delay: 6s; }
  .s2 .sc-ic svg { animation: scSpin 1.2s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .sc-step { opacity: 1; } }
@keyframes scStep { 0%, 100% { opacity: .35; border-color: var(--line); } 6%, 30% { opacity: 1; border-color: rgba(156, 240, 255, .5); } 40% { opacity: .55; border-color: var(--line); } }
@keyframes scSpin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) { .scene { grid-template-columns: 1fr; } }
/* founder places left (under the Solo price) */
.founders { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 0; }
.founders[hidden] { display: none; }
.fd-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.fd-bar i { display: block; height: 100%; background: var(--acc); border-radius: 3px; }
.founders span { font-size: 13px; color: var(--acc); }
/* «what's included»: free vs subscription */
.cmp-w { overflow-x: auto; margin: 0 0 20px; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-t th, .cmp-t td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
/* the head row starts right under the title: the same gap as in every other block (the user: too big a gap) */
.cmp-t thead th { border-top: 0; padding-top: 10px; }
.cmp h2 { margin-bottom: 6px; }
.cmp-t th:first-child, .cmp-t td:first-child { text-align: left; }
.cmp-t th b { display: block; font-size: 17px; }
.cmp-t th small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.cmp-t .cmp-paid { background: rgba(156, 240, 255, .06); }
.cmp-t thead .cmp-paid { border-radius: 10px 10px 0 0; }
.cmp-t tbody tr:last-child .cmp-paid { border-radius: 0 0 10px 10px; }
.cmp-t thead .cmp-paid b { color: var(--acc); }
.cmp-t svg { display: block; margin: 0 auto; }
.cmp-t svg.ok { color: var(--acc); }
.cmp-t svg.na { color: rgba(255, 255, 255, .25); }
@media (max-width: 560px) { .cmp-t { font-size: 13px; } .cmp-t th, .cmp-t td { padding: 10px 6px; } .cmp-t th b { font-size: 15px; } .cmp-t th small { font-size: 11px; } }
.feats, .webv, .prices, .faq, .cmp { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
/* «Что умеет» is a panel like every other block (21.11.2026); its cards sit a step darker inside it */
.feats .feat { background: rgba(0, 0, 0, .3); }
.feats .grid { margin-bottom: -16px; }
.webv p { color: var(--muted); max-width: 70ch; margin: 0 0 18px; }
/* web version: text on the left, a browser window with the app on the right (21.11.2026) */
.webv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.plat { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.plat li { display: flex; gap: 14px; align-items: center; }
.plat-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(156, 240, 255, .12); color: var(--acc); }
.plat-ic svg { width: 20px; height: 20px; }
.plat b { display: block; margin-bottom: 2px; }
.plat span { color: var(--muted); font-size: 15px; }
.webv-shot { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; text-decoration: none; }
.webv-shot:hover { border-color: rgba(156, 240, 255, .5); }
.bw-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid var(--line); }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.bw-url { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: var(--muted); font-size: 12px; }
.webv-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { .webv { grid-template-columns: 1fr; } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 14px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: rgba(0, 0, 0, .3); }
.plan h3 { margin-top: 0; color: var(--acc); letter-spacing: .1em; }
.pr b { font-size: 34px; }
.pr span { color: var(--muted); }
.plan p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.note { color: var(--muted); margin: 0 0 18px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin: 8px 0 0; max-width: 75ch; }
.foot { max-width: 1120px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left)) 40px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 10px; }
/* the shop's pages: links in the footer, the page itself (site-src/legal.js) */
/* footer: three lines with the same gaps; the social icons on the right, in the middle of the whole footer (21.11.2026) */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foot-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.foot-line { margin: 0 !important; line-height: 20px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-langs a { color: var(--muted); text-decoration: none; }
.foot-langs a:hover { color: var(--text); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links a { color: var(--text); text-decoration: none; }
.legal-links a:hover { color: var(--acc); }
.legal-links.foot-legal a { color: var(--muted); }
.legal-links.foot-legal a:hover { color: var(--text); }
.legal { max-width: 820px; }
/* «Что нового» (site-src/changelog.js): one block per version, the version tag + the date in one row */
.cl-ver { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.cl-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cl-ver h2 { margin: 0 0 6px !important; }
.cl-tag { font-size: 12px; font-weight: 600; line-height: 20px; padding: 0 8px; border-radius: 6px; color: var(--acc); background: rgba(156,240,255,.08); border: 1px solid rgba(156,240,255,.3); }
.cl-date { font-size: 13px; line-height: 20px; color: var(--muted); }
.cl-ver ul { margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); }   /* the notes start with their own emoji */
.cl-ver li { margin: 4px 0; }
.legal-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin: 16px 0; }
.legal-box h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.legal-box h2 { font-size: 18px; margin: 22px 0 6px; }
.legal-box p { color: var(--muted); margin: 0; }
.legal-upd { margin-top: 24px !important; font-size: 13px; }
/* partner page (22.11.2026): the site's panels, level cards, a progress bar with the level dots, icon squares like the prices */
.pt { max-width: 1120px; }
.pt-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
/* sizes follow the rest of the site (the user, 22.11.2026: «жирный и гигантский текст» — no): page title like the shop pages,
   numbers like the price cards' smaller texts, labels 13px, body 15px */
.pt-box h1 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.pt-sub { color: var(--muted); margin: 0 0 22px; max-width: 70ch; }
.pt-sub a { color: var(--acc); text-decoration: none; white-space: nowrap; }
.pt-sub a:hover { text-decoration: underline; }
.pt-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(156, 240, 255, .12); color: var(--acc); }
.pt-ic.big { width: 56px; height: 56px; }
.pt-ic.big svg { width: 28px; height: 28px; }
.pt-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pt-lv { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 4px; }
/* the three level cards look the same (a brighter border on 2 and 3 made them look bigger — the user, 22.11.2026) */
.pt-lv-n { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pt-lv b { font-size: 22px; font-weight: 600; color: var(--acc); line-height: 1.2; }
.pt-lv-d { color: var(--muted); font-size: 14px; }
.pt-perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pt-perks li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.pt-login { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 12px 0; }
.pt-login p { margin: 0; color: var(--muted); }
/* variant A (22.11.2026): ONE main card with the accent (balance · level · bar · code · payout); the rest is quiet.
   The previous look (two tiles + framed bar + framed stats) is kept in _backup/partners-before-A-2026-11-22 */
.pt-hero { border: 1px solid rgba(156, 240, 255, .4); border-radius: 14px; background: rgba(156, 240, 255, .05); padding: 18px 20px; margin: 0 0 20px; }
/* three columns: balance (left) · level (centre, over the middle dot) · code (right) */
.pt-hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 16px; }
.pt-hero-top > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pt-hero-top .c { align-items: center; text-align: center; }
.pt-hero-top .r { align-items: flex-end; text-align: right; }
.pt-hero-top .pt-code { height: 31.2px; }   /* = the big numbers' line, so the three labels stand on one line */
.pt-hero-top .pt-mini { width: 30px; height: 30px; }
.pt-hero small { color: var(--muted); font-size: 13px; }
.pt-num { font-size: 26px; font-weight: 600; line-height: 1.2; }
.pt-num.acc, .pt-hero .acc { color: var(--acc); }
.pt-hero .pt-bar { margin: 40px 32px 38px; }
.pt-hero .pt-note { margin: 0; }
.pt-hero-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(156, 240, 255, .15); }
.pt-code { display: inline-flex; align-items: center; gap: 8px; }
.pt-code b { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.pt-mini { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.pt-mini:hover { color: var(--text); }
.pt-mini.done { color: var(--acc); border-color: rgba(156, 240, 255, .4); }
.pt-mini svg { width: 16px; height: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the bar: the track, the fill, three dots with the percent above and the level below */
.pt-bar { position: relative; margin: 40px 32px 40px; height: 8px; }
.pt-track { position: absolute; inset: 0; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pt-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--acc-2), var(--acc)); }
.pt-dot { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #11161d; border: 2px solid rgba(255, 255, 255, .25); }
.pt-dot.on { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 10px rgba(156, 240, 255, .5); }
.pt-dot b { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pt-dot.on b { color: var(--acc); }
.pt-dot small { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }
.pt-note { margin: 0 0 20px; color: var(--muted); text-align: center; font-size: 14px; }
.pt-rows { display: flex; flex-direction: column; margin: 0 0 20px; }
.pt-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pt-row:last-child { border-bottom: 1px solid var(--line); }
.pt-ri { flex: none; display: grid; place-items: center; width: 20px; color: var(--muted); }
.pt-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-row-t small { color: var(--muted); font-size: 13px; }
.pt-row-t code { font-family: inherit; font-size: 14px; overflow-wrap: anywhere; color: var(--text); }
.pt-copy { flex: none; padding: 9px 14px; }
/* «Материалы для постов» (partners.js kit): equal picture cards, 4 → 2 columns; the texts as the cabinet's rows */
#kit h2 { font-size: 22px; margin: 0 0 8px; }
.kit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
/* every card one size: the same 16:9 picture box (the whole picture inside, never cropped) + a one-line caption */
.kit-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.kit-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .4); cursor: zoom-in; }
.kit-pic.logo { background: rgba(255, 255, 255, .03); }
.kit-pic img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }   /* never stretches the box */
.kit-pic:hover { background: rgba(156, 240, 255, .06); }
.kit-f { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.kit-f > span { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kit-f b, .kit-f small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-f b { font-size: 14px; font-weight: 600; line-height: 20px; }
.kit-f small { color: var(--muted); font-size: 12px; line-height: 16px; }
.kit-f .pt-mini { flex: none; }
/* phones (2 narrow columns): the name may take 2 lines; the same 2-line height on every card keeps them equal */
@media (max-width: 560px) { .kit-f { padding: 8px 10px; } .kit-f b { white-space: normal; font-size: 13px; line-height: 17px; height: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; } .kit-f small { font-size: 11px; } }
.kit-langs { margin: 12px 0 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.kit-langs a { color: var(--acc); text-decoration: none; font-weight: 600; }
.kit-view { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .85); display: grid; place-items: center; padding: 16px; }
.kit-view[hidden] { display: none; }
.kit-view figure { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; gap: 12px; }
.kit-view img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px; background: rgba(255, 255, 255, .03); align-self: center; }
.kit-view figcaption { display: flex; align-items: center; gap: 12px; }
.kit-view figcaption b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-h { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.kit-txts { margin: 0; }
.kit-txt { margin: 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.kit-dos { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.kit-dos li { margin: 4px 0; }
@media (max-width: 860px) { .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the stats: plain numbers in one row, thin lines between them, no frames */
.pt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.pt-stats div { display: flex; flex-direction: column; gap: 2px; padding: 0 16px; border-left: 1px solid var(--line); }
.pt-stats div:first-child { padding-left: 0; border-left: 0; }
.pt-stats small { color: var(--muted); font-size: 13px; }
.pt-stats b { font-size: 18px; font-weight: 600; }
.pt-s { color: var(--muted); font-size: 12px; }
.pt-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.pt-pay .pt-hold { flex-basis: 100%; font-size: 13px; line-height: 1.45; margin-top: -6px; }
.pt-by { margin: 16px 0 0; }
.pt-enter { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.pt-enter span { color: var(--muted); }
.codeRow2 { display: flex; gap: 8px; max-width: 420px; }
.codeRow2 input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; text-transform: uppercase; }
.legal-box h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; } .pt-stats div:nth-child(odd) { padding-left: 0; border-left: 0; } .pt-levels, .pt-perks { grid-template-columns: 1fr; } }
/* «Крупный проект?» row and its form window */
.pt-deal { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .3); }
.pt-deal-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-deal-t b { font-size: 15px; font-weight: 600; }
.pt-deal-t span { color: var(--muted); font-size: 14px; }
.pt-deal .btn { flex: none; }
.pt-modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .7); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.pt-modal[hidden] { display: none; }
.pt-form { width: 100%; max-width: 480px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; background-color: #0e1218; }
.pt-form-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-form-h b { font-size: 18px; font-weight: 600; }
.pt-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.pt-x:hover { color: var(--text); }
.pt-form-x, .pt-form-ok { margin: 0; color: var(--muted); font-size: 14px; }
.pt-form-ok { color: var(--text); font-size: 15px; }
.pt-form label { display: flex; flex-direction: column; gap: 6px; }
.pt-form label span { font-size: 13px; color: var(--muted); }
.pt-form input, .pt-form textarea { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; font-size: 14px; resize: vertical; }
.pt-form input:focus, .pt-form textarea:focus { outline: none; border-color: rgba(156, 240, 255, .5); }
.pt-form .pt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pt-form-f { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .pt-copy span { display: none; } .pt-box { padding: 18px; } .pt-hero { padding: 16px; } .pt-hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 14px; } .pt-hero-top .c { align-items: flex-end; text-align: right; }
  .pt-hero-top .r { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; } .pt-num { font-size: 22px; } .pt-hero .pt-bar { margin: 40px 30px 38px; }
  .pt-deal { flex-wrap: wrap; } .pt-deal .btn { width: 100%; justify-content: center; } }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.legal-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-decoration: none; background: var(--panel); }
.legal-nav a.on, .legal-nav a:hover { color: var(--text); border-color: var(--acc); }
/* languages start exactly under the text (their padding is pulled back), our social icons on the right (21.11.2026) */
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot .langs { margin-left: -8px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--muted); border: 1px solid var(--line); }
.social a:hover { color: #fff; background: #5865f2; border-color: #5865f2; }
/* prices: creature icons, a badge, what's included (21.11.2026 — the user: «просто колонна текста») */
.plan { display: flex; flex-direction: column; gap: 4px; }
.plan.tribe { border-color: rgba(156, 240, 255, .35); background: linear-gradient(180deg, rgba(156, 240, 255, .07), rgba(0, 0, 0, .3)); }
.plan-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.plan-top h3 { margin: 0; line-height: 1; }
.guide-ic img, .dicon, .dgrid img { filter: invert(1); opacity: .85; }
.plan-sq { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(156, 240, 255, .12); color: var(--acc); }
.plan-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; color: #03131a; background: var(--acc); font-weight: 600; }
/* the buy button sits at the bottom of each card, so both cards end on one line */
.plan-buy { margin-top: auto; justify-content: center; }
.plan-feats { margin-bottom: 18px !important; }
.plan-feats { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.plan-feats li { position: relative; padding-left: 24px; font-size: 15px; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
/* taming guides on the start page */
.guides { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.guides p { color: var(--muted); max-width: 70ch; margin: 0 0 16px; }
.guide-ic { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.guide-ic a { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.guide-ic a:hover { border-color: var(--acc); }
/* creature pages /<lang>/dino/… */
.dino .crumbs { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.dino .crumbs a { color: var(--muted); }
.dhero { display: flex; gap: 20px; align-items: flex-start; margin: 16px 0 28px; }
.dhero h1 { margin-top: 0; font-size: clamp(26px, 4vw, 40px); }
.dicon-w { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 16px; background: #05070a; border: 1px solid var(--line); }
.dicon { width: 76px; height: 76px; }
.dsec { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; }
.dsec h2 { font-size: 20px; margin: 0 0 10px; }
.dline { margin: 6px 0; color: var(--text); }
.muted { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; background: rgba(0, 0, 0, .3); }
.tblw { overflow-x: auto; }
.dtbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtbl th, .dtbl td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); }
.dtbl th { color: var(--muted); font-weight: 600; border-top: 0; }
.dtbl td:not(:first-child), .dtbl th:not(:first-child) { white-space: nowrap; }
.pitch p { margin: 0; }
.dlinks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dlinks a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.dsrc { color: var(--muted); font-size: 13px; }
/* the full creature card (28.11.2026): facts, section menu, calculator, item chips with icons */
.dfacts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.dfacts li { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; color: var(--muted); background: rgba(0, 0, 0, .3); }
.dfacts li.ok { color: #9be7a8; border-color: rgba(155, 231, 168, .4); }
.dfacts li.no { color: #ffb4a8; border-color: rgba(255, 180, 168, .4); }
/* the section menu: a panel like the sections (rounded, border), opaque enough to read over the page while it sticks */
.dnav { position: sticky; top: 8px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 14, 20, .94); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); scrollbar-width: none; }
.dnav::-webkit-scrollbar { display: none; }
.dnav a { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.dnav a:hover { color: var(--text); border-color: var(--acc); }
.dsec[id] { scroll-margin-top: 60px; }
.dcalc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 12px; }
.dcalc label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.dcalc input { width: 130px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; font-size: 16px; box-sizing: border-box; }
.dcalc input:focus { outline: none; border-color: var(--acc); }
.dlv { display: flex; flex-wrap: wrap; gap: 8px; }
.dlv button { height: 40px; min-width: 48px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.dlv button:hover { color: var(--text); border-color: var(--acc); }
.dkv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; margin: 12px 0 8px; }
.dkv > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); }
.dkv span { color: var(--muted); font-size: 13px; }
.dkv b { font-size: 18px; }
.dkv b span { color: inherit; font-size: inherit; }
.dsub { margin: 14px 0 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.dsec h2 + .dsub { margin-top: 0; }
.dits li, .dlk li { padding: 0; }
.dits li > a, .dits li > span:only-child, .dits li { display: inline-flex; align-items: center; gap: 8px; }
.dits li { padding: 6px 12px; }
.dits li > a { color: var(--text); text-decoration: none; }
.dits li:has(> a):hover, .dlk li:has(> a):hover { border-color: var(--acc); }
.dits img { width: 20px; height: 20px; flex: none; }
.dlk li { padding: 0; }
.dlk li > a { display: inline-block; padding: 7px 14px; color: var(--text); text-decoration: none; }
.dlk li:not(:has(a)) { padding: 7px 14px; }
.dstat td:not(:first-child) { font-variant-numeric: tabular-nums; }
/* icons everywhere (28.11.2026, «чтобы легко читалось»): headings, table cells, tiles */
.dh { display: flex; align-items: center; gap: 8px; }
.dh-i { flex: none; width: 22px; height: 22px; color: var(--acc); }
.dcell { display: inline-flex; align-items: center; gap: 8px; }
.ii, .ii-no { flex: none; display: inline-block; object-fit: contain; }
.si { flex: none; width: 20px; height: 20px; color: var(--muted); }
.st-health { color: #ff8a8a; } .st-stamina { color: #ffd166; } .st-oxygen { color: #7cc7ff; } .st-food { color: #f4a261; }
.st-weight { color: #c9b28a; } .st-damage { color: #ff7a59; } .st-speed { color: #9cf0ff; } .st-torpor { color: #c49bff; }
.dnav a { gap: 8px; }
.dnav .si { width: 16px; height: 16px; }
.dnav a:hover .si { color: var(--acc); }
.dkv-c { flex-direction: row !important; align-items: center; gap: 12px !important; }
.dkv-c > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dkv-i { flex: none; width: 32px; height: 32px; padding: 6px; box-sizing: border-box; border-radius: 8px; background: rgba(156, 240, 255, .08); color: var(--acc); }
.dkv-c > img.ii { width: 32px; height: 32px; }
.dkv b small { font-size: 13px; font-weight: 400; color: var(--muted); }
.dkv b a { color: inherit; }
.dnum { font-variant-numeric: tabular-nums; font-weight: 600; }
.drank { display: inline-flex; align-items: center; gap: 10px; }
.drank-b { flex: none; width: 80px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.drank-b i { display: block; height: 100%; border-radius: 3px; background: var(--acc); }
.dnote { display: flex; gap: 12px; align-items: flex-start; }
.dnote .dh-i { margin-top: 6px; }
/* kinds and buffs (Drakeling, 29.11.2026): one «for every kind» row, then a card per kind */
.dvar-all { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(156, 240, 255, .05); }
.dvar-all > div { min-width: 0; }
.dvar-all span { color: var(--muted); font-size: 13px; }
.dvar-all p { margin: 4px 0 0; line-height: 1.5; }
.dvar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
@media (max-width: 560px) { .dvar { grid-template-columns: 1fr; } }
.dvar-spring { color: #8fe08a; background: rgba(143, 224, 138, .1); }
.dvar-summer { color: #ffc861; background: rgba(255, 200, 97, .1); }
.dvar-autumn { color: #ff9a5c; background: rgba(255, 154, 92, .1); }
.dvar-winter { color: #9cd8ff; background: rgba(156, 216, 255, .1); }
.dvar-c { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); min-width: 0; }
.dvar-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dvar-h b { font-size: 17px; }
.dvar-h img, .dvar-h .dkv-i { flex: none; width: 32px; height: 32px; }
.dvar dl { margin: 0; }
.dvar dt { color: var(--muted); font-size: 13px; margin-top: 8px; }
.dvar dd { margin: 2px 0 0; line-height: 1.45; }
.dsmall { font-size: 13px; }
.cta .btn { display: inline-flex; align-items: center; gap: 8px; }
.cta .btn .si { color: inherit; width: 18px; height: 18px; }
.dits img.dino-i, .sspd img.dino-i { filter: invert(1); opacity: .85; }
/* /<lang>/dino/speed/ (29.11.2026): sortable table + the race of two creatures */
.sspd th.sort { cursor: pointer; user-select: none; white-space: nowrap; }
.sspd th.sort:hover, .sspd th.on { color: var(--text); }
.sspd th.on::after { content: " ↓"; color: var(--acc); }
.sspd th.on[aria-sort="ascending"]::after { content: " ↑"; }
.sspd td a.dcell { color: var(--text); text-decoration: none; }
.sspd td a.dcell:hover span { color: var(--acc); }
.sspd tr[hidden] { display: none; }
/* narrow screens: the name column stays in place while the numbers scroll; the headers keep only their icons */
.sspd th:first-child, .sspd td:first-child { position: sticky; left: 0; z-index: 1; background: #0e1218; }
@media (max-width: 860px) {
  .sspd th .dcell > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sspd th .dcell .si { width: 20px; height: 20px; color: var(--text); }
  .sspd td:first-child { max-width: 150px; }
}
.dsec > .dfind { margin: 0 0 12px; }
.spage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.spage + .dline { margin: 16px 0 0; }   /* the note: as far from the buttons as from the panel's edge */
.dsec > .dline:last-child { margin-bottom: 0; }
.spage:empty { display: none; }
.spage button { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.spage button:hover:not([disabled]) { color: var(--text); border-color: var(--acc); }
.spage button.on { color: #05070a; background: var(--acc); border-color: var(--acc); font-weight: 700; }
.spage button[disabled] { opacity: .35; cursor: default; }
.spage .muted { margin-left: auto; font-size: 13px; }
@media (max-width: 560px) { .spage button.n:not(.on) { display: none; } .spage { flex-wrap: nowrap; } }   /* phone: ‹ 3 › and «41–60 из 136» */
.srace { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.srace select { flex: 1 1 180px; min-width: 0; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; }
.sbars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.sbar { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, .3); }
.sbar-h { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-size: 14px; }
.sbar-h span { color: var(--acc); text-align: right; }
.sbar-r { display: grid; grid-template-columns: minmax(0, 96px) 1fr 44px; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 4px 0; }
.sbar-r > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbar-r > b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.sbar-r i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sbar-r em { display: block; height: 100%; border-radius: 4px; background: var(--acc); }
.sbar-r.b em { background: #c49bff; }
@media (max-width: 560px) {
  .dsec { padding: 16px 14px; }
  .dtbl { font-size: 14px; }
  .dtbl th, .dtbl td { padding: 8px 6px; }
  .dtbl th { white-space: normal !important; font-size: 12px; line-height: 1.3; vertical-align: bottom; }
  .dcalc input { width: 120px; }
  .dtbl .dcell { display: flex; } .dtbl .dcell > span { min-width: 0; white-space: normal; line-height: 1.3; }
  .dtbl th .dcell { gap: 6px; } .dtbl th .dcell .ii { width: 20px; height: 20px; }
  #dc-narc .dcell > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* the icon says it */
  .dtbl td { white-space: normal !important; }
  .drank { gap: 8px; } .drank-b { width: 40px; }
}
.dfind { width: 100%; max-width: 420px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); color: var(--text); font: inherit; }
/* «all creatures»: category buttons, one panel per category, names wrap inside the card (no overflow) */
.dcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.dcats a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); text-decoration: none; font-size: 14px; }
.dcats a small { color: var(--muted); opacity: .8; }
.dcats a.on, .dcats a:hover { color: var(--text); border-color: var(--acc); }
.dgroup { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px 24px; margin: 0 0 16px; }
.dgroup h2 { font-size: 20px; margin: 0 0 14px; }
.dgroup h2 small { color: var(--muted); font-size: 14px; font-weight: 400; }
.dgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.dgrid a { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .3); color: var(--text); text-decoration: none; min-width: 0; }
.dgrid a span:last-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.dgrid a:hover { border-color: var(--acc); }
.dgrid img { width: 40px; height: 40px; flex: none; }
.dgrid .noic { width: 40px; height: 40px; flex: none; }
/* the app card on the guide pages (bottom right; a strip at the bottom on a phone) */
.promo { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 340px; max-width: calc(100vw - 32px); padding: 16px 18px 18px; border: 1px solid rgba(156, 240, 255, .35); border-radius: 14px; background: rgba(10, 14, 20, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.promo[hidden] { display: none; }
.promo-head { display: flex; align-items: center; gap: 10px; }
.promo-head b { font-size: 16px; line-height: 1.25; }
.promo p { margin: 10px 0 14px; color: var(--muted); font-size: 14px; }
.promo-cta { display: flex; gap: 8px; }
.promo-cta .btn { flex: 1; text-align: center; padding: 10px 12px; }
.promo-x { flex: none; margin: -4px -6px -4px auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.promo-x:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
@media (max-width: 560px) { .promo { right: 16px; left: 16px; bottom: 16px; width: auto; max-width: none; } .promo p { display: none; } .promo-head { margin-bottom: 12px; } }
@media (max-width: 560px) { .dhero { flex-direction: column; } .dicon-w { width: 72px; height: 72px; } .dicon { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background .15s; } }

.feats .feats-more { margin: 18px 0 0; }
@media (max-width: 360px) { .kbg-a > svg { display: none; } .kbg-a { padding: 0 10px; } .kbnav { gap: 6px; } .kbg-m a { padding: 12px 6px; gap: 6px; font-size: 13px; } .kbg-m span { min-width: 0; overflow-wrap: anywhere; } .kbg-i { width: 16px; height: 16px; } }
/* under the prices: the two questions before a purchase (01.12.2026) */
.price-q { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.price-q 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; }
.price-q a:hover { border-color: var(--acc); }
