/* Backgammon (Uzun Nərd) — оформление текстовых страниц: об игре и правила (/az /ru /en), условия, конфиденциальность,
   удаление аккаунта, 404. Те же тёмное дерево, латунь и шрифты, что в игре. */
@font-face { font-family: 'Tektur'; src: url(/fonts/tektur-latin-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: 'Tektur'; src: url(/fonts/tektur-latin-ext-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: 'Tektur'; src: url(/fonts/tektur-cyrillic-600.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-latin-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-latin-ext-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-cyrillic-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-latin-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-latin-ext-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF; }
@font-face { font-family: 'JetBrains Mono'; src: url(/fonts/mono-cyrillic-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
:root { --ink: #f4e6cd; --soft: #b9a083; --line: rgba(240, 210, 165, .12); --card: #33221a; --well: #150d07;
  --gold: #e3b45e; --gold-hi: #f6d38a; --gold-edge: #6f4510; --nar: #b8323b; --win: #6cbf73;
  --display: 'Tektur', 'JetBrains Mono', ui-monospace, monospace; --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #1a110a; color-scheme: dark; }
body { margin: 0; padding: 16px; min-height: 100vh; font: 400 15px/1.65 var(--mono); color: var(--ink);
  background: radial-gradient(120% 90% at 50% 10%, rgba(26, 17, 10, .55), rgba(12, 7, 3, .9)), url(/wood/board/walnut.webp) center / cover fixed, #1a110a; }
a { color: var(--gold); text-underline-offset: 3px; }
.sheet { max-width: 820px; margin: 0 auto; padding: 22px 22px 26px; border-radius: 20px;
  background: linear-gradient(rgba(34, 21, 12, .92), rgba(28, 17, 10, .95)), url(/wood/board/walnut.webp) center / 900px auto;
  box-shadow: inset 0 1px 0 rgba(255, 228, 185, .09), 0 0 0 1px rgba(0, 0, 0, .45), 0 14px 36px rgba(0, 0, 0, .5); }
.top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.top b { font: 600 24px var(--display); color: var(--gold-hi); margin-right: auto; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.top a, .foot a { font: 400 13px var(--mono); color: var(--soft); }
.play { padding: 9px 16px; border-radius: 12px; font-family: var(--display); font-weight: 600; color: #2a1706 !important; text-decoration: none;
  background: linear-gradient(var(--gold-hi), var(--gold) 55%, #c9913f); box-shadow: inset 0 1px 0 rgba(255, 250, 225, .7), 0 3px 0 var(--gold-edge); transition: transform .09s, box-shadow .09s; }
.play:active { transform: translateY(3px); box-shadow: 0 0 0 var(--gold-edge); }
h1 { font: 600 26px/1.25 var(--display); color: var(--gold-hi); margin: 18px 0 6px; }
h2 { font: 600 18px/1.3 var(--display); color: var(--gold-hi); margin: 26px 0 6px; }
h2 a { color: inherit; }
p, ul, ol { margin: 8px 0; }
ul, ol { padding-left: 22px; }
li { margin: 5px 0; }
b { color: #fff3dc; }
small, .when { color: var(--soft); font-size: 13px; }
section[lang] { padding-top: 6px; }
section[lang] + section[lang] { margin-top: 26px; border-top: 1px solid var(--line); }
.langs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.langs a { padding: 6px 13px; border-radius: 10px; font: 600 12px var(--display); color: var(--soft); text-decoration: none; background: var(--well); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45); }
.langs a[aria-current] { color: var(--gold-hi); background: #4a3121; box-shadow: inset 0 1px 0 rgba(255, 228, 185, .14), 0 2px 0 #140c06; }
.copy { margin-top: 12px; font: 400 11px var(--mono); color: var(--soft); }
.foot { display: flex; gap: 6px 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { body { padding: 8px; } .sheet { padding: 16px 14px 20px; border-radius: 16px; } h1 { font-size: 22px; } .top b { font-size: 21px; } }
/* форма удаления аккаунта */
.erase { display: grid; gap: 10px; margin: 16px 0 6px; padding: 14px; border-radius: 16px; background: rgba(184, 50, 59, .12); box-shadow: inset 0 0 0 1px rgba(212, 74, 82, .35); }
.erase label { display: grid; gap: 4px; font: 600 12px var(--display); color: var(--soft); }
.erase input { height: 46px; padding: 0 12px; font: 400 16px var(--mono); color: var(--ink); background: var(--well); border: 1.5px solid rgba(240, 210, 165, .14); border-radius: 12px; }
.erase input:focus { outline: none; border-color: var(--gold); }
.erase .danger { min-height: 46px; padding: 8px 12px; border: 0; border-radius: 12px; font: 600 14px var(--display); color: #fff3ee; background: var(--nar); box-shadow: 0 3px 0 #6d1219; cursor: pointer; }
.erase .danger:active { transform: translateY(3px); box-shadow: none; }
.erase .danger:disabled { opacity: .6; }
.erase-out { margin: 0; min-height: 1.4em; font: 700 13px var(--mono); text-align: center; }
.erase-out.good { color: var(--win); } .erase-out.bad { color: #d44a52; }
/* посадочные страницы /az /ru /en */
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.top .brand b { margin: 0; }
.lead { font-size: 16px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0; }
.play.big { padding: 14px 28px; font-size: 17px; }
.cta small { color: var(--soft); }
.shots { margin: 10px 0 6px; } .shots figcaption, .gallery figcaption { font-size: 13px; color: var(--soft); text-align: center; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: 2.2fr 1fr; gap: 12px; align-items: start; margin: 14px 0; }
.gallery figure { margin: 0; } .gallery img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 8px 20px rgba(0, 0, 0, .4); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; } }
.shot { display: block; width: 100%; height: auto; border-radius: 16px; margin: 10px 0 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 10px 24px rgba(0, 0, 0, .45); }
details { margin: 7px 0; padding: 11px 13px; border-radius: 12px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 228, 185, .07), 0 2px 0 rgba(0, 0, 0, .35); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; }
.author { margin-top: 22px; color: var(--soft); font-style: italic; }
/* страница 404 */
.lost .code { margin: 18px 0 0; font: 600 72px/1 var(--display); color: var(--gold); opacity: .35; }
.lost h1 { font-size: 22px; }
.lost .play { display: inline-block; margin-top: 14px; }
