:root{--ink:#202044;--blue:#282669;--muted:#656573;--line:#dfdfe7;--paper:#fafaf7;--lime:#ddf28d}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Rubik,"Segoe UI","Noto Sans Hebrew",sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%}.wrap{width:min(1200px,calc(100% - 80px));margin-inline:auto}.header{display:flex;align-items:center;gap:40px;min-height:114px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:800;letter-spacing:-1px}.brand img{width:60px;height:60px;border-radius:50%;mix-blend-mode:multiply}.brand-sub{display:block;font-size:8px;letter-spacing:1px;line-height:1.4}.header nav{display:flex;gap:28px;margin-inline-start:auto;font-size:14px}.languages{display:flex;direction:ltr;gap:3px;border:1px solid var(--line);border-radius:30px;padding:4px}.languages button{border:0;border-radius:24px;padding:6px 11px;cursor:pointer;background:transparent;font-size:12px;color:var(--ink)}.languages button[aria-pressed=true]{background:var(--blue);color:#fff}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:center;padding-block:72px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1px;display:flex;gap:9px;align-items:center;margin:0 0 25px}.dot{background:var(--blue);width:7px;height:7px;border-radius:50%}h1{font-size:clamp(42px,5vw,70px);line-height:1.08;letter-spacing:-2px;margin:0 0 28px;max-width:650px}h2{font-size:clamp(36px,4vw,53px);line-height:1.15;letter-spacing:-1.5px;margin:0}.intro{font-size:18px;line-height:1.7;color:var(--muted);max-width:480px}.actions{display:flex;gap:28px;align-items:center;margin-top:32px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;padding:15px 23px;border-radius:5px;font-size:14px;font-weight:bold}.primary{background:var(--blue);color:#fff}.primary:hover{background:#3c3894}.text-link{display:inline-flex;gap:18px;align-items:center;font-size:14px;border-bottom:1px solid var(--ink);padding-bottom:6px}.hero-art{background:var(--blue);color:#fff;aspect-ratio:1.03;border-radius:7px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;isolation:isolate;direction:ltr}.track{position:absolute;z-index:-1;width:750px;height:470px;left:70px;top:75px;border:1px solid #ffffff29;border-radius:50%;transform:rotate(-40deg);box-shadow:0 0 0 27px #282669,0 0 0 28px #ffffff29,0 0 0 55px #282669,0 0 0 56px #ffffff29,0 0 0 83px #282669,0 0 0 84px #ffffff29,0 0 0 111px #282669,0 0 0 112px #ffffff29}.art-top,.art-bottom{display:flex;justify-content:space-between;font-size:11px;letter-spacing:2px}.art-center{display:flex;flex-direction:column;text-align:center;margin-top:10px}.art-center>span{color:var(--lime);font-size:16px}.art-center strong{font-size:clamp(78px,9vw,132px);letter-spacing:-9px;line-height:1.2}.art-bottom{letter-spacing:0;font-size:13px}.cover{position:relative;border-radius:6px;overflow:hidden}.cover img{width:100%;height:auto}.section{padding-block:90px}.about{display:grid;grid-template-columns:1fr 1.15fr;gap:110px}.about-copy p{color:var(--muted);margin-top:0}.about-copy .large{font-size:23px;line-height:1.5;color:var(--ink);margin-bottom:23px}.about-copy .text-link{margin-top:16px}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);padding-block:26px;margin-bottom:88px}.facts>div{padding-inline:30px;border-inline-end:1px solid var(--line)}.facts>div:first-child{padding-inline-start:0}.facts>div:last-child{border:0}.facts span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.facts strong{display:block;font-size:25px;font-weight:500;width:fit-content}.contact{background:var(--blue);color:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:110px}.contact .eyebrow{color:var(--lime)}.contact h2{font-size:64px}.contact p:not(.eyebrow){color:#dedde9;margin-top:25px}.contact-links>a{display:grid;grid-template-columns:75px 1fr 20px;align-items:center;gap:14px;border-bottom:1px solid #ffffff35;padding-block:20px}.contact-links>a:first-child{padding-top:0}.contact-label{font-size:12px;color:#c3c2d5}.contact-value{font-size:clamp(17px,2.1vw,26px);width:fit-content}.contact-links a:hover .contact-value{text-decoration:underline}.address-row{display:flex;gap:20px;margin-block:23px;font-size:14px;align-items:baseline}.contact-links .facebook-row{display:flex;justify-content:space-between;font-size:14px}.footer{display:flex;gap:24px;justify-content:space-between;align-items:center;padding-block:30px;font-size:11px;color:var(--muted)}:focus-visible{outline:3px solid #7a9cd9;outline-offset:5px}.skip{position:fixed;top:-100px;left:10px;padding:10px;background:#fff;z-index:10}.skip:focus{top:10px}[id]{scroll-margin-top:20px}@media(max-width:900px){.wrap{width:calc(100% - 44px)}.header{gap:16px}.brand-sub{display:none}.header nav{gap:16px}.hero{gap:30px;padding-block:45px}.hero-art{padding:20px}.about,.contact-grid{gap:45px}.section{padding-block:65px}.contact h2{font-size:48px}}@media(max-width:640px){.wrap{width:calc(100% - 36px)}.header{min-height:94px;flex-wrap:wrap;gap:8px;padding-block:12px;justify-content:space-between}.brand{font-size:23px;gap:8px}.brand img{width:46px;height:46px}.languages button{padding:5px 9px}.header nav{order:3;width:100%;margin:0;justify-content:center;font-size:12px;padding-top:4px}.hero{grid-template-columns:1fr;gap:30px;padding-block:36px}h1{font-size:46px;letter-spacing:-1.5px}.intro{font-size:16px}.hero-art{aspect-ratio:1.45}.art-center strong{font-size:104px}.art-center{margin-top:0}.art-top,.art-bottom{font-size:10px}.about,.contact-grid{grid-template-columns:1fr;gap:28px}.section{padding-block:48px}.about-copy .large{font-size:21px}.facts{grid-template-columns:1fr;margin-bottom:48px;padding-block:0}.facts>div,.facts>div:first-child{border-inline-end:0;border-bottom:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;align-items:center}.facts span{margin:0}.facts strong{font-size:21px}.contact-links>a{grid-template-columns:55px 1fr 15px;gap:8px}.contact-value{font-size:19px}.footer{flex-wrap:wrap;gap:10px;padding-block:22px}.footer>span:nth-child(2){order:3;flex-basis:100%}.eyebrow{font-size:10px;margin-bottom:20px}.actions{gap:20px;margin-top:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

h1,h2{font-weight:800;letter-spacing:-.035em} .art-center strong{font-weight:800} .eyebrow{font-weight:500}

.header nav a{font-weight:700}
.cover-pieces{display:flex;direction:ltr;gap:4px;aspect-ratio:851/315;overflow:visible;border-radius:0}
.cover-piece{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;border-radius:4px;transform:translateY(0) scale(1);transform-origin:center;transition:transform .32s cubic-bezier(.2,.7,.3,1),filter .32s ease,box-shadow .32s ease;z-index:0}
.cover-piece img{position:absolute;top:0;left:calc(var(--piece)*-100%);width:500%;height:100%;max-width:none;object-fit:fill;pointer-events:none;user-select:none}
@media(hover:hover) and (pointer:fine){.cover-piece:hover{transform:translateY(-5px) scale(1.045);filter:brightness(1.07);box-shadow:0 12px 25px #20204430;z-index:1}}
@media(prefers-reduced-motion:reduce){.cover-piece{transition:none}.cover-piece:hover{transform:none;filter:brightness(1.07)}}
/* Diagonal slices follow the existing white dividers in the source image. */
.cover-pieces{display:block;position:relative;gap:0;border-radius:6px;isolation:isolate}
.cover-piece{position:absolute;inset:0;width:100%;height:100%;border-radius:0;box-shadow:none;transform-origin:var(--origin,50%) 50%;clip-path:var(--slice)}
.cover-piece img{left:0;top:0;width:100%;height:100%;object-fit:fill}
.cover-piece:nth-child(1){--slice:polygon(0 0,20.8% 0,8.93% 100%,0 100%);--origin:7.5%}
.cover-piece:nth-child(2){--slice:polygon(20.8% 0,44.18% 0,32.31% 100%,8.93% 100%);--origin:26.56%}
.cover-piece:nth-child(3){--slice:polygon(44.18% 0,67.68% 0,55.7% 100%,32.31% 100%);--origin:49.97%}
.cover-piece:nth-child(4){--slice:polygon(67.68% 0,91.07% 0,79.2% 100%,55.7% 100%);--origin:73.41%}
.cover-piece:nth-child(5){--slice:polygon(91.07% 0,100% 0,100% 100%,79.2% 100%);--origin:92.5%}
@media(hover:hover) and (pointer:fine){.cover-piece:hover{box-shadow:none}}
/* Embedded browsers can report hover:none even with a mouse. */
.cover-piece:hover{transform:translateY(-5px) scale(1.045);filter:brightness(1.07);box-shadow:none;z-index:1}
@media(prefers-reduced-motion:reduce){.cover-piece:hover{transform:none}}


.hero-art{transition:transform .32s cubic-bezier(.2,.7,.3,1),filter .32s ease,box-shadow .32s ease}
.hero-art:hover{transform:translateY(-5px) scale(1.045);filter:brightness(1.07);box-shadow:0 12px 25px #20204430}
@media(prefers-reduced-motion:reduce){.hero-art{transition:none}.hero-art:hover{transform:none}}

/* 1.1.4 · плитка «Спорт для мозгов» на первом экране */
.brain-tile{margin-top:34px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 18px;border-radius:10px;background:#fff;border:1px solid var(--line);box-shadow:0 1px 0 var(--line);max-width:560px;transition:transform .28s cubic-bezier(.2,.7,.3,1),box-shadow .28s ease,border-color .28s ease}
.brain-tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px #20204424;border-color:var(--blue)}
.bt-grid{display:grid;grid-template-columns:repeat(3,22px);grid-template-rows:repeat(3,22px);gap:2px;padding:3px;background:var(--blue);border-radius:6px}
.bt-grid i{background:#fff;border-radius:2px;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;font-size:13px;color:var(--blue);font-family:Arial,sans-serif}
.bt-grid i.h{font-family:Rubik,Arial,sans-serif}.bt-grid i svg{width:18px;height:18px}
.bt-grid i:nth-child(1),.bt-grid i:nth-child(3),.bt-grid i:nth-child(5),.bt-grid i:nth-child(8),.bt-grid i:nth-child(9){background:var(--lime)}
@media (prefers-reduced-motion:no-preference){.bt-grid i:nth-child(1){animation:btpop 4.8s 0s infinite}.bt-grid i:nth-child(3){animation:btpop 4.8s .8s infinite}.bt-grid i:nth-child(5){animation:btpop 4.8s 1.6s infinite}.bt-grid i:nth-child(8){animation:btpop 4.8s 2.4s infinite}.bt-grid i:nth-child(9){animation:btpop 4.8s 3.2s infinite}
@keyframes btpop{0%,14%,100%{transform:none}6%{transform:scale(1.22)}}}
.bt-txt{display:grid;gap:3px;min-width:0}
.bt-kick{font-size:11px;font-weight:700;letter-spacing:1px;color:#0b8580}
.brain-tile strong{font-size:18px;line-height:1.3}
.bt-sub{font-size:14px;color:var(--ink)}
.bt-ages{font-size:12px;color:var(--muted)}
.bt-go{width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px}
html[dir=rtl] .bt-go{transform:scaleX(-1)}
@media(max-width:640px){.brain-tile{margin-top:26px;gap:12px;padding:13px}.bt-grid{grid-template-columns:repeat(3,18px);grid-template-rows:repeat(3,18px)}.bt-grid i{font-size:11px}.bt-grid i svg{width:14px;height:14px}.brain-tile strong{font-size:16px}.bt-go{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.brain-tile{transition:none}.brain-tile:hover{transform:none}}
/* 1.1.4 · чтобы плитка была на первом экране — чуть плотнее вертикальные отступы первого экрана */
.hero{padding-block:40px 52px}.hero .actions{margin-top:24px}.brain-tile{margin-top:20px}.hero h1{margin-bottom:22px}
@media(max-width:900px){.hero{padding-block:32px 40px}}
@media(max-width:640px){.hero{padding-block:22px 30px}.hero h1{margin-bottom:16px}.brain-tile{margin-top:16px}.hero .actions{margin-top:18px}}
.brain-tile{padding:11px 16px}.hero h1{margin-bottom:16px}

/* 1.1.6 — две плитки: «Спорт для мозгов» и «Скрижали» */
.tiles{display:grid;gap:10px;margin-top:20px;max-width:560px}.tiles .brain-tile{margin-top:0;max-width:none}
.tablets-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:9px 16px;border-radius:10px;background:linear-gradient(90deg,#fbf6ea,#fff 60%);border:1px solid #e8dcc0;transition:transform .28s cubic-bezier(.2,.7,.3,1),box-shadow .28s ease,border-color .28s ease}
.tablets-tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px #7a5a1a24;border-color:#b8902c}
.tablets-tile .bt-kick{color:#9a7414}.tablets-tile strong{font-size:17px;line-height:1.25}
.tablets-tile .bt-go{background:#b8902c}
.tb-svg{width:78px;height:58px;overflow:visible}
.tb-svg path{fill:#f3ead3;stroke:#282669;stroke-width:2.6}
.tb-l,.tb-r{transform-box:fill-box;transition:transform .35s cubic-bezier(.2,.7,.3,1)}.tb-l{transform-origin:100% 100%}.tb-r{transform-origin:0 100%}
.tablets-tile:hover .tb-l{transform:rotate(-5deg)}.tablets-tile:hover .tb-r{transform:rotate(5deg)}
.tl{font:700 11.5px/1 "Frank Ruhl Libre","Noto Serif Hebrew",serif;fill:#282669;text-anchor:middle;opacity:.28;animation:engrave 6s ease-in-out infinite;animation-delay:var(--d)}
.tl.on{fill:#b8902c;opacity:1;animation:none}.started .tl:not(.on){animation:none;opacity:.25}
@keyframes engrave{0%,8%{opacity:.28}14%{opacity:1;fill:#b8902c}40%,100%{opacity:.28}}
#dtProg:empty{display:none}#dtProg{color:#9a7414;font-weight:600}
@media(max-width:640px){.tiles{margin-top:16px;gap:8px}.tablets-tile{gap:12px;padding:8px 13px}.tb-svg{width:58px;height:43px}.tablets-tile strong{font-size:15.5px}.tablets-tile .bt-go{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.tl{animation:none;opacity:.6}.tablets-tile,.tb-l,.tb-r{transition:none}.tablets-tile:hover,.tablets-tile:hover .tb-l,.tablets-tile:hover .tb-r{transform:none}}
@media(min-width:901px) and (max-height:900px){.hero h1{font-size:clamp(42px,4.4vw,60px);margin-bottom:14px}.hero .eyebrow{margin-bottom:16px}.hero .intro{line-height:1.6}.hero .actions{margin-top:18px}}
@media(max-width:640px){.tiles{grid-template-columns:1.25fr 1fr;align-items:stretch}
.tiles .brain-tile,.tiles .tablets-tile{grid-template-columns:1fr;align-content:start;justify-items:start;gap:8px;padding:11px 12px;position:relative}
.tiles .bt-go{position:absolute;top:10px;inset-inline-end:10px;width:28px;height:28px;font-size:13px}
.tiles .brain-tile strong{font-size:14.5px;line-height:1.28}.tiles .tablets-tile strong{font-size:15px}
.tiles .bt-sub{font-size:12.5px;line-height:1.35}.tiles .bt-ages{font-size:11px;line-height:1.35}.tiles .bt-kick{font-size:10px;letter-spacing:.5px}
.tiles .brain-tile .bt-sub{display:none}
.tiles .tb-svg{width:60px;height:45px}.tiles .bt-grid{grid-template-columns:repeat(3,15px);grid-template-rows:repeat(3,15px)}
.hero h1{font-size:42px}}
.tl{font-size:14.5px;opacity:.55}@keyframes engrave{0%,8%{opacity:.55}14%{opacity:1;fill:#b8902c}40%,100%{opacity:.55}}.started .tl:not(.on){opacity:.4}
.tb-svg{width:86px;height:64px}.tb-svg path{stroke-width:2.2}
@media(max-width:640px){.tiles .tb-svg{width:64px;height:48px}}
/* 1.1.8 — невысокое окно браузера на компьютере (ноутбук 1366×768 / 1280×720 с панелями браузера, масштаб Windows 125 %): обе плитки на первом экране */
@media(min-width:901px) and (max-height:760px){
.header{min-height:84px}.brand img{width:50px;height:50px}
.hero{padding-block:20px 36px}.hero .eyebrow{margin-bottom:12px}.hero h1{font-size:clamp(40px,3.6vw,52px);margin-bottom:12px}
.hero .intro{font-size:16.5px;line-height:1.55;margin-block:0}.hero .actions{margin-top:16px}
.tiles{grid-template-columns:1.25fr 1fr;align-items:stretch;margin-top:16px;max-width:600px}
.tiles .brain-tile,.tiles .tablets-tile{grid-template-columns:1fr;align-content:start;justify-items:start;gap:8px;padding:12px 14px;position:relative}
.tiles .bt-go{position:absolute;top:10px;inset-inline-end:10px;width:30px;height:30px;font-size:14px}
.tiles .brain-tile strong{font-size:15.5px;line-height:1.28}.tiles .tablets-tile strong{font-size:16px}
.tiles .brain-tile .bt-sub{display:none}.tiles .bt-sub{font-size:13px;line-height:1.35}.tiles .bt-ages{font-size:11.5px;line-height:1.35}
.tiles .tb-svg{width:66px;height:49px}.tiles .bt-grid{grid-template-columns:repeat(3,17px);grid-template-rows:repeat(3,17px)}
}

/* 1.1.9 — доступность и шесть языков */
.bt-kick{color:#08706b}
.tablets-tile .bt-kick{color:#7d5c0c}
.footer .legal a{text-decoration:underline;text-underline-offset:2px;color:var(--ink)}
.footer .legal a:hover,.footer .legal a:focus-visible{color:var(--blue)}
.footer{color:#55556a}
.languages button{min-width:32px;min-height:30px}
.languages button[lang=he]{font-family:Rubik,"Noto Sans Hebrew",Arial,sans-serif}
@media (max-width:560px){.header{flex-wrap:wrap}.languages{order:2;margin-inline-start:auto}.languages button{padding:5px 7px;font-size:11.5px;min-width:30px}}

/* 1.1.10 — третья плитка «Шахматы»: та же карточка, что у турнира судоку; мини-доска 3×3, ход конём */
.ch-board{display:block;width:70px;height:70px}.ch-board svg{width:100%;height:100%;display:block}
.ch-board .cl{fill:#fff}.ch-board .cd{fill:#ddf28d}
.ch-path{fill:none;stroke:#0d8f8a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4 4}
.ch-goal{fill:none;stroke:#b8902c;stroke-width:2.2}
.ch-kn{transform-box:fill-box;transform-origin:50% 100%}
@media (prefers-reduced-motion:no-preference){.ch-path{animation:chdash 1.4s linear infinite}.chess-tile:hover .ch-kn{animation:chhop .6s ease}}
@keyframes chdash{to{stroke-dashoffset:-16}}@keyframes chhop{40%{transform:translateY(-14%)}}
.chess-tile .bt-kick{color:#08706b}
/* три плитки: на компьютере — столбиком; на невысоком экране — в три колонки; на телефоне — две сверху и шахматы во всю ширину */
@media(min-width:901px) and (max-height:760px){
.tiles{grid-template-columns:repeat(3,minmax(0,1fr));max-width:700px}
.tiles .chess-tile .bt-sub{display:none}.tiles .ch-board{width:51px;height:51px}
.tiles .brain-tile strong,.tiles .tablets-tile strong{font-size:15px}}
@media(min-width:901px) and (min-height:761px){
.tiles{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px;align-items:stretch;gap:10px}
.tiles .brain-tile,.tiles .tablets-tile{grid-template-columns:1fr;align-content:start;justify-items:start;gap:8px;padding:12px 14px;position:relative}
.tiles .bt-go{position:absolute;top:10px;inset-inline-end:10px;width:30px;height:30px;font-size:14px}
.tiles .brain-tile strong,.tiles .tablets-tile strong{font-size:15.5px;line-height:1.28}
.tiles .brain-tile .bt-sub{display:none}.tiles .bt-sub{font-size:13px;line-height:1.35}.tiles .bt-ages{font-size:11.5px;line-height:1.35}
.tiles .tb-svg{width:66px;height:49px}.tiles .bt-grid{grid-template-columns:repeat(3,17px);grid-template-rows:repeat(3,17px)}.tiles .ch-board{width:57px;height:57px}}
@media(min-width:901px) and (max-height:760px){.tiles .bt-ages{display:none}.tiles .bt-kick{font-size:10.5px;letter-spacing:.4px}.tiles .brain-tile,.tiles .tablets-tile{padding:10px 12px;gap:6px}.tiles{margin-top:14px}.tiles .brain-tile strong,.tiles .tablets-tile strong{font-size:14.5px;line-height:1.25}}
@media(max-width:640px){
.tiles .chess-tile{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
.tiles .chess-tile .bt-sub{display:block}.tiles .chess-tile .bt-ages{display:none}.tiles .ch-board{width:48px;height:48px}
.tiles .chess-tile strong{font-size:15px}}
@media(max-width:640px){.header nav{flex-wrap:wrap;gap:2px 16px}.header nav a{white-space:nowrap}}

/* 1.1.12: узкие экраны (320 px) — длинные слова в плитках переносятся */
@media (max-width:360px){.bt-txt>*{overflow-wrap:anywhere;hyphens:auto}}

/* 1.1.18 — кнопка «Мой ник» в шапке (единый ник для всех игр) */
.header .isp-btn{color:var(--blue);border-color:var(--line);background:#fff;padding:6px 12px;min-height:34px}.header .isp-btn:hover{border-color:var(--blue)}
@media (max-width:640px){.header .isp-btn{order:2;font-size:12.5px;padding:4px 10px}}
@media (max-width:560px){.header .isp-btn{order:4;margin-inline:auto}}

/* «Иврит в клетку»: четвёртая плитка (как шахматы — во всю ширину на телефоне); на компьютере — четыре плитки в два ряда */
.iv-board .ic{fill:#e3f1fb}.iv-board .cl{fill:#fff}.iv-board .cd{fill:#ddf28d}
.iv-board .il{font:800 12.5px Arial,"Arimo",sans-serif;fill:#282669;text-anchor:middle}
.ivrit-tile .bt-kick{color:#1d6fa8}
@media(min-width:901px){.tiles .chess-tile,.tiles .ivrit-tile{grid-column:auto}}
@media(min-width:901px) and (min-height:761px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px}}
@media(min-width:901px) and (max-height:760px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr));max-width:780px}.tiles .ch-board{width:46px;height:46px}.tiles .brain-tile .bt-sub,.tiles .chess-tile .bt-sub{display:none}}

/* 1.1.18: порядок плиток — Десять заповедей, Шахматы, Спорт для мозгов, Иврит; на телефоне — ровная сетка 2×2,
   круглая кнопка перехода во всех плитках в одном и том же месте */
@media(max-width:640px){
.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.tiles .chess-tile{grid-column:auto;grid-template-columns:1fr;align-items:start;align-content:start;justify-items:start;gap:8px}
.tiles .chess-tile .bt-sub{display:none}.tiles .chess-tile .bt-ages{display:block}
.tiles .ch-board{width:48px;height:48px}.tiles .tb-svg{width:64px;height:48px}.tiles .bt-grid{grid-template-columns:repeat(3,16px);grid-template-rows:repeat(3,16px)}
.tiles .chess-tile strong,.tiles .brain-tile strong,.tiles .tablets-tile strong{font-size:14.5px;line-height:1.28}}
/* 1.1.18: планшет (641–900 px) — тоже сетка 2×2, круглая кнопка в одном и том же углу каждой плитки */
@media(min-width:641px) and (max-width:900px){
.tiles{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px;align-items:stretch}
.tiles .brain-tile,.tiles .tablets-tile{grid-template-columns:1fr;align-content:start;justify-items:start;gap:8px;padding:12px 14px;position:relative}
.tiles .bt-go{position:absolute;top:10px;right:10px;inset-inline-end:10px;width:30px;height:30px;font-size:14px}
html[dir=rtl] .tiles .bt-go{right:auto;left:10px}
.tiles .brain-tile .bt-sub{display:none}.tiles .ch-board{width:54px;height:54px}.tiles .tb-svg{width:66px;height:49px}
.tiles .bt-grid{grid-template-columns:repeat(3,17px);grid-template-rows:repeat(3,17px)}
.tiles .brain-tile strong,.tiles .tablets-tile strong{font-size:15.5px;line-height:1.28}}
/* 1.1.21: шапка на планшете и компьютере (от 641 px) — меню отдельной строкой под логотипом, кнопкой ника и языками,
   как на телефоне. В одну строку логотип, пять пунктов меню, кнопка ника (с 1.1.18 от 23.11) и шесть языков не помещаются:
   на 641–1199 px языки уходили за край экрана, на компьютере пункты меню ломались на две-три строки. */
@media (min-width:641px){
.header{flex-wrap:wrap;gap:10px 16px;padding-block:14px;justify-content:space-between;min-height:0}
.header nav{order:3;width:100%;margin:0;justify-content:center;flex-wrap:wrap;gap:4px 22px}
.header .isp-btn{margin-inline-start:auto}}
.header nav a{white-space:nowrap}
