/* canvartin.com - páginas Apps, diseño «Luna» (21.11.2026). Solo para /aplicacion/*, /eng/app/*, /ru/prilozhenie/* */
@font-face{font-family:Rubik;src:url(/a/luna/rubik.woff2) format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:Rubik;src:url(/a/luna/rubik-cyr.woff2) format("woff2");font-weight:400 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root{--n:#1f2a52;--n2:#2a3766;--n3:#36446f;--y:#ffd166;--bg:#f3f5fb;--mu:#5b6587;--li:#d3d8ee;--ye:#5c4c14}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body.lu{font-family:Rubik,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--n);background:#fff;font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
.lu img{max-width:100%}
.lu a{color:inherit;text-decoration:none}
.lu .skip{position:absolute;left:-999px}.lu .skip:focus{left:10px;top:10px;background:#fff;padding:8px;z-index:99}
.wrap{width:min(1120px,100% - 40px);margin:0 auto}
.lu h1{font-size:clamp(36px,5vw,58px);line-height:1.06;font-weight:800;letter-spacing:-.6px}
.lu h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;font-weight:800;letter-spacing:-.3px}
.lu h3{font-size:22px;font-weight:700;line-height:1.25}
.lead{font-size:clamp(17px,1.6vw,20px);color:var(--mu);max-width:660px}
.dk{background:var(--n);color:#fff}.dk .lead,.dk .mu{color:var(--li)}
.mu{color:var(--mu)}
.hl{background:var(--y);color:var(--n);padding:0 10px;border-radius:10px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hl.n{background:var(--n);color:#fff}
.pill{display:inline-block;font-size:14px;font-weight:600;padding:6px 14px;border-radius:99px;background:var(--y);color:var(--n)}
.btn{display:inline-block;font-size:17px;font-weight:700;padding:14px 24px;border-radius:14px;background:var(--y);color:var(--n)}
.tag{font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--mu);margin-bottom:12px;text-transform:uppercase}
.dk .tag,.dk .num{color:#aeb6d6}
.num{font-size:14px;font-weight:700;color:var(--mu)}
/* header */
.lhd{position:relative;z-index:30}
.lhd .in{display:flex;align-items:center;justify-content:space-between;height:92px;gap:20px}
.lhd .logo img{height:42px;width:auto;display:block}
.dk .lhd .logo img,.lhd.dk .logo img{filter:brightness(0) invert(1)}
.lnav{display:flex;gap:4px;align-items:center}
.lnav>a,.lnav .dd>a{font-size:18px;font-weight:600;padding:12px 18px;border-radius:14px;display:flex;align-items:center;gap:8px;transition:background .15s}
.lnav>a:hover,.lnav .dd>a:hover{background:rgba(127,140,190,.18)}
.lnav a.on,.lnav a.on:hover{background:var(--y);color:var(--n)}
.yl-top .lnav a.on,.yl-top .lnav a.on:hover{background:var(--n);color:#fff}
.ch{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);display:inline-block}
.dd{position:relative}
.ddm{position:absolute;left:-40px;top:100%;padding-top:10px;display:none}
.dd:hover .ddm,.dd:focus-within .ddm{display:block}
.ddm .box{display:block;width:420px;background:#fff;color:var(--n);border-radius:22px;padding:12px;box-shadow:0 0 0 1px #e3e7f3}
.ddm .it{display:flex;gap:14px;align-items:center;padding:14px;border-radius:16px}
.ddm .it:hover,.ddm .it.cur{background:var(--bg)}
.ddm .it img{width:52px;height:52px;border-radius:13px}
.ddm .it b{display:block;font-size:18px;line-height:1.25}.ddm .it>span{display:block}.ddm .it span{font-size:14px;color:var(--mu)}
.ddm .ft2{border-top:1px solid #e3e7f3;margin:8px 6px 0;padding:14px 8px 6px;display:flex;justify-content:space-between;font-weight:600;font-size:15px}
.ddm .ft2 a:hover{text-decoration:underline}
.langs{display:flex;gap:6px}
.langs a{font-size:14px;font-weight:700;padding:8px 11px;border-radius:10px;background:#e6e9f4;color:var(--n)}
.dk .langs a{background:var(--n3);color:#fff}
.langs a.on{background:var(--n);color:#fff}.dk .langs a.on{background:var(--y);color:var(--n)}
.burger{display:none;width:48px;height:48px;border:0;border-radius:14px;background:var(--y);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.burger i{display:block;width:22px;height:2.5px;background:var(--n);border-radius:2px}
/* phones & badges */
.ph{width:230px;height:auto;border:9px solid #10142a;border-radius:38px;overflow:hidden;background:#000;flex:none}
.ph img{width:100%;height:auto;aspect-ratio:600/1303;object-fit:cover;object-position:top;display:block}
.ph.g img{object-position:center}
.ph.s{width:180px;border-width:7px;border-radius:30px}
.ph.l{width:290px;border-width:10px;border-radius:46px}
.bd{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bd img{height:48px;width:auto;display:block}
.soon{position:relative;display:inline-block;margin-top:16px}
.soon img{filter:grayscale(1);opacity:.45}
.soon b{position:absolute;right:0;bottom:calc(100% + 4px);line-height:1.3;background:var(--n);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:99px;white-space:nowrap}
.dk .soon b{background:var(--y);color:var(--n)}
.ic{width:64px;height:64px;border-radius:15px;display:block;flex:none}
.name{display:flex;gap:14px;align-items:center}
.name b{display:block;font-size:20px;font-weight:700;line-height:1.2}.name small{font-size:14px;color:var(--mu)}
.dk .name small{color:#aeb6d6}
ul.ck{list-style:none;display:grid;gap:11px;margin:20px 0 26px}
ul.ck li{padding-left:34px;position:relative}
ul.ck li:before{content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;background:var(--y)}
ul.ck li:after{content:"";position:absolute;left:7px;top:8px;width:8px;height:5px;border-left:2.5px solid var(--n);border-bottom:2.5px solid var(--n);transform:rotate(-45deg)}
.sec{padding:100px 0}
.row{display:flex;gap:64px;align-items:center}
.row>.tx{flex:1}
.phs{display:flex;gap:22px;align-items:flex-end}
.phs .ph:nth-child(2){transform:translateY(-30px)}
.moon{position:absolute;border-radius:50%;background:var(--y);overflow:hidden;pointer-events:none}
.moon i{position:absolute;border-radius:50%;background:var(--n)}
.st{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff;opacity:.7;pointer-events:none}
.more{font-weight:700;font-size:16px;display:inline-flex;gap:8px;align-items:center}
.more:after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-top:2.5px solid currentColor;transform:rotate(45deg)}
.more:hover{text-decoration:underline}
/* hero B */
.hero{position:relative;overflow:hidden;padding-bottom:90px}
.hero .intro{padding:52px 0 56px;position:relative}
.hero .intro .lead{margin-top:18px}
.cards{display:grid;grid-template-columns:1fr 1fr;gap:28px;position:relative}
.card{background:#fff;color:var(--n);border-radius:30px;padding:36px 36px 0;display:flex;flex-direction:column;gap:16px;overflow:hidden;height:600px}
.card.gm{background:var(--y)}
.card.gm .name small{color:#6b5a1f}.card p{color:var(--mu)}.card.gm p{color:var(--ye)}
.card .phs{margin-top:auto;align-self:center}.card .ph{margin-bottom:-110px}
/* heroes */
.bgl{background:var(--bg)}
.hgrid{display:grid;grid-template-columns:1.25fr 1fr;gap:28px;margin-top:44px}
.duo{background:var(--y);border-radius:30px;padding:40px;display:flex;gap:30px;align-items:flex-end;min-height:440px}
.duo.w{background:#fff}
.duo .kid{display:flex;flex-direction:column;align-items:center;gap:12px}
.duo .kid img{height:300px;width:auto}
.duo .kid span{background:#fff;font-weight:700;padding:6px 16px;border-radius:99px;font-size:16px}
.duo.w .kid span{background:var(--y)}
.duo .txt{flex:1;align-self:flex-start}
.duo .txt h3{font-size:28px;margin-bottom:10px}
.duo .txt p{color:var(--ye)}.duo.w .txt p{color:var(--mu)}
.pets{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pet{background:#fff;border-radius:24px;padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.pet img{height:110px;width:auto;object-fit:contain;margin-bottom:6px}
.pet b{font-size:18px}.pet span{font-size:14px;color:var(--mu);line-height:1.35}
/* inside planner */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.tile{background:var(--n2);border-radius:26px;padding:26px 26px 0;overflow:hidden;height:420px;display:flex;flex-direction:column}
.tile h3{color:#fff}.tile p{color:var(--li);font-size:15px;margin:6px 0 18px}
.tile .ph{width:210px;border-width:7px;border-radius:30px;align-self:center;margin-bottom:-160px}
.tile.yl{background:var(--y)}.tile.yl h3{color:var(--n)}.tile.yl p{color:var(--ye)}
/* inside game */
.games{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:44px}
.gmt{border-radius:24px;overflow:hidden;position:relative;height:330px;background:#000}
.gmt img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block}
.gmt span{position:absolute;left:14px;bottom:14px;background:#fff;color:var(--n);font-weight:700;font-size:15px;padding:7px 14px;border-radius:99px}
/* cta */
.cta{position:relative;overflow:hidden}
.ctag{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:44px;position:relative}
.ctac{border:1.5px solid var(--n3);border-radius:28px;padding:34px;display:flex;flex-direction:column;gap:18px}
.fine{font-size:14px;color:#aeb6d6}
.other{display:flex;justify-content:space-between;align-items:center;gap:30px}
/* product pages */
.crumbs{font-size:14px;color:#aeb6d6;padding-top:6px}
.crumbs a:hover{text-decoration:underline}
.yl-top{background:var(--y)}
.yl-top .crumbs{color:#6b5a1f}
.ph-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center;padding:40px 0 0}
.ph-hero .tx{padding-bottom:90px}
.ph-hero .art{display:flex;justify-content:center;align-self:end;position:relative;gap:22px;align-items:flex-end}
.ph-hero .art .ph{margin-bottom:-80px}
.ph-hero .art .kidl{position:absolute;left:0;bottom:0;height:300px;width:auto;z-index:2}
.ph-hero .art .kidr{position:absolute;right:20px;bottom:0;height:300px;width:auto;z-index:2}
.feat{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.feat.rv .phw{order:-1}
.phw{display:flex;justify-content:center;gap:22px;background:var(--bg);border-radius:32px;padding:50px 0 0;overflow:hidden;height:500px}
.dk .phw{background:var(--n2)}
.phw .ph{margin-bottom:-140px;align-self:flex-start;height:auto}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px}
.stat{background:#fff;border-radius:24px;padding:28px}
.stat b{display:block;font-size:30px;font-weight:800}
.first{padding-top:150px}
/* footer */
.lft{background:#161f3f;color:#fff;padding:60px 0 40px;font-size:15px}
.lft .cols{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap}
.lft h4{font-size:15px;color:var(--y);margin-bottom:10px}
.lft a{display:block;color:var(--li);margin:6px 0}
.lft a:hover{color:#fff}
.lft .cp{margin-top:36px;padding-top:20px;border-top:1px solid var(--n3);color:#aeb6d6;font-size:13px}
.lft .lg{height:36px;width:auto;margin-bottom:12px;filter:brightness(0) invert(1)}
.lft .about{color:var(--li);max-width:280px}
/* mobile */
@media (max-width:1000px){
 .lnav,.lhd .langs{display:none}
 .burger{display:flex}
 .lhd.open .lnav{display:flex;flex-direction:column;align-items:stretch;position:absolute;left:12px;right:12px;top:84px;background:#fff;color:var(--n);border-radius:22px;padding:12px;box-shadow:0 0 0 1px #e3e7f3}
 .lhd.open .lnav>a,.lhd.open .lnav .dd>a{font-size:19px;padding:14px 16px}
 .lhd.open .ddm{display:block;position:static;padding:0 0 6px}
 .lhd.open .ddm .box{width:auto;box-shadow:none;padding:0 4px;background:var(--bg)}
 .lhd.open .langs{display:flex;position:absolute;right:76px;top:22px}
 .lhd .in{height:80px}
 .lhd .logo img{height:34px}
 .cards,.hgrid,.ctag,.feat,.ph-hero{grid-template-columns:1fr}
 .feat.rv .phw{order:0}
 .card{height:auto;padding:28px 24px 0}
 .card .phs{margin-top:10px}
 .row{flex-direction:column;align-items:stretch;gap:40px}
 .row .phs{justify-content:center}
 .row.rvm .phs{order:2}
 .sec{padding:70px 0}
 .tiles{grid-template-columns:1fr 1fr;gap:14px}
 .tile{height:360px;padding:20px 18px 0}
 .tile .ph{width:170px;margin-bottom:-120px}
 .games{grid-template-columns:1fr 1fr;gap:12px}
 .gmt{height:240px}
 .duo{flex-wrap:wrap;min-height:0;padding:28px;justify-content:center}
 .duo .txt{flex-basis:100%}
 .duo .kid img{height:220px}
 .ph-hero .tx{padding-bottom:30px}
 .ph-hero .art{min-height:420px}
 .ph-hero .art .kidl,.ph-hero .art .kidr{height:200px}
 .phw{height:420px;padding-top:36px}
 .stats{grid-template-columns:1fr}
 .other{flex-direction:column;align-items:flex-start}
 .first{padding-top:120px}
}
@media (max-width:620px){
 .ph{width:200px;border-width:8px;border-radius:32px}
 .ph.s{width:140px;border-width:6px;border-radius:24px}
 .ph.l{width:230px}
 .phs{gap:10px;max-width:100%}
 .row .phs{width:100%;justify-content:center}
 .phw,.ph-hero .art,.card .phs{gap:12px}
 .card .phs,.ph-hero .art{width:100%}
 .phw{padding-left:14px;padding-right:14px}
 .tiles{grid-template-columns:1fr}
 .tile{height:380px}
 .tile .ph{width:190px}
 .pets{gap:12px}
 .pet{padding:16px 10px}.pet img{height:80px}
 .moon{transform:scale(.4);transform-origin:top right;margin-right:-60px}
 .hero>.moon,.hero>.st{display:none}
 .ph-hero .art{min-height:0;margin-top:10px}
 .hero .intro{padding:30px 0 40px}
 .bd img{height:44px}
}
/* full phones (21.11): phones are shown whole, never cut by block edge */
.card{height:auto;padding-bottom:36px}.card .ph{margin-bottom:0}
.tile{height:auto;padding-bottom:26px}.tile .ph{margin-bottom:0;margin-top:auto}
.ph-hero{padding-bottom:64px}.ph-hero .art .ph{margin-bottom:0}
.phw{height:auto;padding:44px 30px;align-items:flex-end}.phw .ph{margin-bottom:0;align-self:flex-end}
@media (max-width:620px){
 .card{padding-bottom:24px}
 .tile{padding-bottom:20px}
 .ph-hero{padding-bottom:40px}
 .phw{padding:28px 14px}
}
/* fixes 21.11 evening: button text readable; on phones one big screenshot per block, the rest by swipe */
.lu .btn{color:var(--n)}
@media (max-width:620px){
 .phw,.row .phs,.card .phs,.ph-hero .art{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;justify-content:flex-start;align-items:flex-end;gap:14px;width:100%;max-width:100%;padding-left:17%;padding-right:0}
 .phw::-webkit-scrollbar,.row .phs::-webkit-scrollbar,.card .phs::-webkit-scrollbar,.ph-hero .art::-webkit-scrollbar{display:none}
 .phw::after,.row .phs::after,.card .phs::after,.ph-hero .art::after{content:"";flex:none;width:calc(20% - 14px);height:1px;order:2}
 .phw .ph,.phw .ph.s,.row .phs .ph,.row .phs .ph.s,.card .phs .ph,.card .phs .ph.s,.ph-hero .art .ph,.ph-hero .art .ph.s,.phw .ph:only-child,.card .phs .ph:only-child{width:79.5%;max-width:300px;border-width:8px;border-radius:34px;transform:none;scroll-snap-align:center;flex:none;align-self:flex-end;margin:0}
 .phw .ph.s,.row .phs .ph.s,.card .phs .ph.s,.ph-hero .art .ph.s{order:1}
 .phw{padding-top:28px;padding-bottom:28px}
 .row .phs,.ph-hero .art{padding-top:4px;padding-bottom:4px}
}
