/* fermadraugiem.lv — the home page (lane W5; the old game's look, lane W1 2026-11-13). Loaded after site.css on index.html only.
   The page is the game: a lawn under the windows. Sections: the title screen (panorama, emblem, the wooden board under the red
   ribbon with «Drīzumā!» and a Padoms, the cherries) · the story in a pergament · the Bodīte with the feature cards (also shown
   inside the «Par spēli» dialog) · the map and the radio in pergament windows · «Kur spēlēt» on the tool tray.
   The map and the radio player style themselves (map.css, radio.css). No web fonts. */

/* ── the lawn ─────────────────────────────────────────────────────────── */
/* the game's own grass (#4C9729 under #5CB32A tufts, sampled from a capture of the farm) and its river (#244691, banks #1E3F70) */
body.is-home{background-color:#4C9729;
  background-image:radial-gradient(3px 7px at 12px 20px,#3E7F1F 90%,transparent),radial-gradient(3px 6px at 17px 18px,#3E7F1F 90%,transparent),
    radial-gradient(3px 6px at 52px 58px,#5CB32A 90%,transparent),radial-gradient(3px 5px at 57px 56px,#5CB32A 90%,transparent),
    radial-gradient(3px 6px at 30px 84px,#438A23 90%,transparent),radial-gradient(2px 5px at 34px 82px,#438A23 90%,transparent),
    radial-gradient(3px 5px at 88px 26px,#63AF43 90%,transparent);
  background-size:72px 72px,72px 72px,72px 72px,72px 72px,118px 118px,118px 118px,118px 118px}
.fd-sprite{position:absolute;width:0;height:0;overflow:hidden}
.is-home :focus-visible{outline:3px solid #FFE36A;outline-offset:3px}
.wrap{max-width:1180px;margin:0 auto;padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left))}
.wrap--narrow{max-width:860px}

/* ── the title screen ─────────────────────────────────────────────────── */
.hero{position:relative;overflow:hidden;min-height:calc(100vh - 69px);min-height:calc(100svh - 69px);display:flex;flex-direction:column;background:#8ccdf4}
.hero picture{display:contents}
.hero__pano{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% 58%;z-index:0;transform-origin:50% 62%;
  animation:hm-drift 38s ease-in-out infinite alternate}
.hero__shade{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(76,151,41,.6),rgba(76,151,41,0) 22%)}
.hero__in{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:clamp(8px,2.4vh,30px) max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.hero__logo{margin:0;line-height:0}
.hero__logo img{width:clamp(250px,36vw,520px);height:auto;filter:drop-shadow(0 10px 14px rgba(60,30,0,.35));animation:hm-bob 6s ease-in-out infinite}

/* the board: the 2010 Bodīte's wooden board (the title screen's .card) */
.board{position:relative;width:min(600px,100%);margin:auto 0 0;padding:40px 22px 14px;border-radius:20px;text-align:center;
  background:linear-gradient(rgba(255,240,205,.22),rgba(255,240,205,0) 34%),repeating-linear-gradient(180deg,rgba(90,50,10,0) 0 27px,rgba(90,50,10,.15) 27px 29px),
    linear-gradient(#D9A462,#C38848 58%,#A96D35);
  border:3px solid #5A3412;box-shadow:0 5px 0 #6B3D14,0 14px 30px rgba(40,20,0,.42),inset 0 0 0 3px rgba(255,228,175,.34),inset 0 3px 0 rgba(255,255,255,.35)}
.board::before,.board::after{content:"";position:absolute;top:10px;width:8px;height:8px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#E8C7A0,#7A4A20 60%,#4A2A10);box-shadow:0 1px 0 rgba(255,235,200,.4)}
.board::before{left:11px}.board::after{right:11px}
.board__ribbon{position:absolute;left:50%;top:-30px;transform:translateX(-50%);white-space:nowrap}
.board__ribbon>*{min-height:52px;padding:1px 18px 8px;font-size:clamp(20px,2.4vw,26px)}
.board__ribbon>*::before,.board__ribbon>*::after{width:72px}
.board__stars{position:absolute;left:50%;top:-58px;width:132px;height:34px;transform:translateX(-50%);pointer-events:none}
.board__stars img{position:absolute;width:26px;height:auto;filter:drop-shadow(0 2px 0 rgba(90,40,0,.45))}
.board__stars img:nth-child(1){left:8px;top:10px;transform:rotate(-14deg)}
.board__stars img:nth-child(2){left:50px;top:-2px;width:32px}
.board__stars img:nth-child(3){right:8px;top:10px;transform:rotate(14deg)}
/* «Drīzumā!»: the title screen's green «Spēlēt», standing still: the game is not open yet, so it is a status, not a button */
.soon{display:inline-block;min-width:min(300px,100%);margin:2px 0 0;padding:8px 44px 11px;border-radius:40px;border:4px solid #1F5A0C;cursor:default;
  background:linear-gradient(#A6F05A,#62C232 48%,#3E9A1B);box-shadow:0 0 0 4px #5A3412,0 6px 0 4px #4A2A0E,0 14px 24px rgba(40,30,0,.4),inset 0 3px 0 rgba(255,255,255,.6);
  font:italic 700 clamp(30px,3.4vw,38px)/1.1 var(--g-font);color:#fff;letter-spacing:.5px;
  text-shadow:-2px -2px 0 #1d4f08,2px -2px 0 #1d4f08,-2px 2px 0 #1d4f08,2px 2px 0 #1d4f08,0 4px 0 #1d4f08;animation:hm-glow 2.6s ease-in-out infinite}
/* lane spele: the game is open — the same green pill is now the door (a link to /spele/) */
.soon--play{cursor:pointer;text-decoration:none;transition:transform .12s ease}
.soon--play:hover{transform:translateY(-2px) scale(1.03)}
.soon--play:active{transform:translateY(2px)}
.soon--play:focus-visible{outline:4px solid #FFE36A;outline-offset:4px;border-radius:40px}
@media (prefers-reduced-motion:reduce){.soon--play{transition:none}.soon--play:hover{transform:none}}
.board__tip{margin-top:16px;padding-left:66px;min-height:50px}
.board__kirsi{position:absolute;z-index:3;left:-34px;bottom:-12px;width:92px;height:auto;transform-origin:50% 100%;filter:drop-shadow(0 3px 0 rgba(60,20,0,.35));
  animation:hm-hop 4.5s cubic-bezier(.3,1.6,.5,1) 1.2s infinite}
.hero__row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:20px}
.pill__ico{display:inline-grid;place-items:center;width:1.5em;height:1.5em;border-radius:50%;background:rgba(255,255,255,.22)}
.pill__ico svg{grid-area:1/1;width:.95em;height:.95em}
.ico-pause,.is-on .ico-play{display:none}
.is-on .ico-pause{display:block}
.pill__eq{display:none;align-items:flex-end;gap:2px;height:14px}
.pill__eq i{width:3px;height:100%;border-radius:2px;background:currentColor;transform-origin:bottom;animation:hm-eq .9s ease-in-out infinite}
.pill__eq i:nth-child(2){animation-delay:-.3s}.pill__eq i:nth-child(3){animation-delay:-.6s}
.pill--radio.is-on .pill__eq{display:inline-flex}
.hero__cue{display:inline-flex;flex-direction:column;align-items:center;margin-top:clamp(8px,1.6vh,18px);padding:.2em .8em;border-radius:14px;
  color:#fff;font-weight:700;font-size:15px;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,.75);background:rgba(80,52,6,.78)}
.hero__cue svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;animation:hm-cue 1.8s ease-in-out infinite;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}

/* ── bands on the lawn ────────────────────────────────────────────────── */
.band{position:relative;padding:clamp(52px,6vw,80px) 0 0}
.band:last-child{padding-bottom:clamp(52px,6vw,80px)}
.band__lead{max-width:760px;margin:0 auto 18px;text-align:center;font-size:clamp(16.5px,1.6vw,19px);line-height:1.5;color:var(--g-ink)}
.band__note{max-width:760px;margin:14px auto 0;text-align:center;font-size:14.5px;line-height:1.5;color:#5A3A12}
.story__lead{max-width:640px;margin:0 auto;text-align:center;font-size:clamp(17px,1.8vw,20px);line-height:1.55;color:var(--g-ink)}
.story__more{margin:16px 0 4px;text-align:center}

/* ── «Ferma šodien»: captures of today's build on the farm's navy river ── */
.now{position:relative;padding:clamp(30px,4vw,48px) 0 clamp(30px,4vw,44px);color:#FFF3DA;background-color:#244691;
  background-image:radial-gradient(14px 2px at 20px 18px,rgba(122,156,214,.3) 90%,transparent),radial-gradient(10px 2px at 70px 52px,rgba(122,156,214,.25) 90%,transparent),
    radial-gradient(18px 2px at 120px 30px,rgba(72,109,178,.55) 90%,transparent),radial-gradient(9px 2px at 40px 76px,rgba(72,109,178,.5) 90%,transparent);
  background-size:96px 96px,96px 96px,150px 110px,150px 110px;
  border-block:7px solid #1E3F70;box-shadow:0 -5px 0 #384F11,0 5px 0 #384F11}
/* the old lettering: gold capitals with a brown outline on a cream plank, as on the Laimes rats sign */
.g-sign{display:table;margin:0 auto 12px;padding:.14em .8em .22em;border-radius:12px 12px 16px 16px;background:#F4E3A6;border:3px solid #5A2E0C;
  box-shadow:inset 0 -7px 0 #DDC27A,0 4px 0 #5A2E0C,0 10px 18px rgba(0,0,20,.35);
  font:700 clamp(26px,3.6vw,40px)/1.1 var(--g-font);letter-spacing:2px;text-transform:uppercase;color:#F7B12F;
  text-shadow:-3px -3px 0 #5A2E0C,3px -3px 0 #5A2E0C,-3px 3px 0 #5A2E0C,3px 3px 0 #5A2E0C,0 -3px 0 #5A2E0C,0 3px 0 #5A2E0C,-3px 0 0 #5A2E0C,3px 0 0 #5A2E0C,0 5px 0 #5A2E0C}
.now__lead{max-width:640px;margin:0 auto 20px;text-align:center;font-size:clamp(16.5px,1.6vw,19px);line-height:1.5;color:#FFF3DA;text-shadow:0 1px 2px rgba(0,0,30,.6)}
.now__stage{position:relative;max-width:1080px;margin:0 auto;padding-right:clamp(0px,17%,190px)}
.now__stage figure{margin:0}
.now__desk img,.now__phone img{display:block;width:100%;height:auto}
.now__desk{border:10px solid #9A6729;border-radius:12px;background:#9A6729;
  box-shadow:0 0 0 3px #503406,inset 0 0 0 2px #503406,0 16px 30px rgba(0,0,30,.5)}
.now__desk img{border-radius:3px}
.now__phone{position:absolute;right:0;bottom:-22px;width:clamp(150px,22%,240px);border:8px solid #503406;border-radius:26px;background:#503406;
  box-shadow:0 0 0 3px #D8A23D,0 18px 30px rgba(0,0,30,.55)}
.now__phone img{border-radius:18px}
.now__day{max-width:720px;margin:0 auto 16px;text-align:center}
.now__day .g-tip{display:inline-block;font-size:15.5px;line-height:1.45;padding:8px 14px;border-left:6px solid #9E1B34;border-right:6px solid #9E1B34}
.now__cap{margin:36px auto 0;text-align:center}
.now__cap .g-tip{font-size:14.5px;padding:3px 10px}
/* the door under the captures (lane web4): a visitor who has just seen the game can open it without scrolling back */
.now__play{margin:18px auto 0;text-align:center}
.now__play .fd-btn{min-width:200px;font-size:19px}

/* ── the Bodīte: ribbon with the tomato and the broccoli, cream tabs, the board with the cards ── */
.bodite{position:relative;margin-top:44px;padding:52px clamp(10px,2vw,22px) clamp(12px,2vw,22px);border-radius:16px;
  background:repeating-linear-gradient(180deg,rgba(90,50,10,0) 0 31px,rgba(90,50,10,.13) 31px 33px),linear-gradient(#E6B877,#D49F5C 50%,#C38848);
  border:4px solid var(--g-line);box-shadow:inset 0 0 0 3px rgba(255,228,175,.45),0 6px 0 #6B3D14,0 18px 36px rgba(30,20,0,.35)}
.bodite__head{position:absolute;left:0;right:0;top:-38px;display:flex;justify-content:center}
.bodite__head .g-ribbon{z-index:1}
.bodite__stars{position:absolute;left:50%;top:-30px;width:230px;height:40px;transform:translateX(-50%);pointer-events:none}
.bodite__stars img{position:absolute;width:26px;height:auto;filter:drop-shadow(0 2px 0 rgba(90,40,0,.45))}
.bodite__stars img:nth-child(1){left:0;top:22px;transform:rotate(-22deg)}
.bodite__stars img:nth-child(2){left:48px;top:6px;transform:rotate(-10deg)}
.bodite__stars img:nth-child(3){left:99px;top:-2px;width:32px}
.bodite__stars img:nth-child(4){right:48px;top:6px;transform:rotate(10deg)}
.bodite__stars img:nth-child(5){right:0;top:22px;transform:rotate(22deg)}
.bodite__tomats,.bodite__brokolis{position:absolute;z-index:2;height:auto;pointer-events:none;filter:drop-shadow(0 3px 0 rgba(60,20,0,.3))}
.bodite__tomats{width:96px;left:calc(50% - 300px);top:-14px;animation:hm-hop 5s cubic-bezier(.3,1.6,.5,1) infinite}
.bodite__brokolis{width:72px;right:calc(50% - 292px);top:-40px;animation:hm-hop 5s cubic-bezier(.3,1.6,.5,1) 2.5s infinite}
.bodite__tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:4px 0 14px}
.bodite__tabs .g-tab{min-width:120px}
.bodite__shelf{padding:clamp(8px,1.4vw,14px);border-radius:10px;background:#B9834A;border:6px solid #6B3F1D;
  box-shadow:inset 0 3px 8px rgba(40,15,0,.45),0 2px 0 rgba(255,228,175,.5)}

/* the feature cards: the shop's cards (home grid AND the dialog: layout by container width) */
.feats-home,.about__feats{container-type:inline-size}
.feats-home{min-height:var(--feats-h,0)}
.feats{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.feat{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 12px 14px;text-align:center;
  background:#F7EBD2;border:2px solid #8A5A2B;border-radius:8px;box-shadow:inset 0 0 0 2px #FFF9EE,0 3px 0 rgba(60,30,0,.4)}
.feat__pic{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/10;overflow:hidden;border:8px solid transparent;
  border-image:url(/img/ui/lauks.webp) 16 fill / 8px stretch;background:#fff padding-box}
.feat__pic img{display:block;max-width:76%;max-height:84%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 3px 2px rgba(60,40,10,.25))}
.feat__pic--radio svg{width:42%;height:62%;fill:none;stroke:#8A3D00;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.feat__pic--saime{display:flex;align-items:flex-end;justify-content:center;gap:0;padding:6px 4px 0}
.feat__pic--saime img{max-width:34%;max-height:96%;margin:0 -2%}
.feat__name{margin:2px 0 0;font:700 18px/1.2 var(--g-font);color:#276A19}
.feat p{margin:0;font-size:15px;line-height:1.45;color:var(--g-ink)}
.feat .feat__do{margin-top:auto;padding-top:4px}
/* the capsule: a button where the page can show the thing (a card's state is .g-stat, lane site4) */
.g-cap{display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-width:132px;min-height:36px;padding:.25em 1.1em;border-radius:999px;
  font:700 15.5px/1.15 var(--g-font);color:var(--g-ink);text-decoration:none;text-shadow:0 1px 0 rgba(255,236,190,.6);
  background:linear-gradient(#FFC768,#F59A1C 46%,#DD7A0A 54%,#C8650A);border:2px solid #6B3405;
  box-shadow:inset 0 2px 0 rgba(255,244,210,.8),inset 0 -3px 0 rgba(130,55,0,.3),0 2px 0 #6B3405}
.g-cap::before{content:"";width:18px;height:18px;flex:none;background:url(/img/ui/monete.webp) center/contain no-repeat}
.g-cap--btn{min-height:44px;cursor:pointer;transition:transform .12s ease,filter .12s ease}
.g-cap--btn::before{display:none}
.g-cap--btn:hover{transform:translateY(-1px);filter:brightness(1.06)}
.g-cap--btn:active{transform:translateY(2px)}
.g-cap .pill__ico{width:1.35em;height:1.35em;background:rgba(255,255,255,.35)}
.feat--soon .feat__pic{background:#F3EBDD padding-box}
/* a capture of the game in the card's white frame, with one pale-green caption like the game's tooltips */
.feat__pic--shot{display:block;border-width:6px;border-image-width:6px;background:#2F6B17 padding-box}
.feat__pic--shot img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;filter:none;border-radius:2px}
.feat__tip{position:absolute;left:6px;bottom:6px;z-index:1;max-width:calc(100% - 12px);padding:1px 7px;border-radius:6px;font:700 12.5px/1.35 var(--g-font);color:#26380F;
  background:var(--g-tip);border:1.5px solid var(--g-tip-line);box-shadow:0 2px 0 rgba(30,50,10,.35);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feat__tip--soon{background:#EFE6D6;border-color:#8A5A2B;color:#4A2A0E}
.bodite__note{margin:12px auto 0;text-align:center}
.bodite__note .g-tip{font-size:14.5px;padding:3px 10px}

@container (min-width:560px){.feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:860px){.feats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (min-width:1060px){.feats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}

/* ── Laimes rats: the game's stall as it stands, a cut-out with its white line, beside a pergament ── */
.rats{display:grid;gap:18px;align-items:center;justify-items:center}
.rats__stall{display:block;width:min(600px,100%);height:auto;filter:drop-shadow(0 12px 14px rgba(20,40,0,.4))}
.rats__card{max-width:520px}
/* plan/R119: two paragraphs of six lines read badly centred — the words start at the left, the title and the stamp stay centred */
.rats__card p{margin:0 0 12px;font-size:16.5px;line-height:1.55;text-align:left}
.rats__card .rats__do{margin:4px 0 0;text-align:center}
@media (min-width:900px){.rats{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:30px}}

/* ── the map and the radio windows ────────────────────────────────────── */
.band--map .g-window,.band--radio .g-window{margin-top:30px}
.radio-grid{display:grid;gap:22px;align-items:center;max-width:1040px;margin:8px auto 0}
.radio-copy .band__lead{text-align:left;margin:0 0 12px}
.radio-copy p{margin:0 0 12px;font-size:16.5px;line-height:1.55}
.radio-facts{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.radio-facts li{display:flex;align-items:center;gap:.6em;padding:.5em .8em;border-radius:10px;background:rgba(255,250,236,.75);border:1px solid rgba(138,90,43,.45);font-weight:700}
.radio-facts svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--g-ribbon);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){.radio-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px}}

/* ── «Kur spēlēt»: four painted scenes on the tool tray (lane Z1, owner 2026-11-13 «the iphone, android, etc, look still
   bad»): each device stands in a farm scene with a real capture of the game on its screen (img/plat/*, the pictures by the
   image lane, the screens pasted in: 640 / 1080 px), its name, one true line — the web plays in a browser with nothing to
   install, the apps are being built and no store has them yet. No store badges, no logos. 1 column, 2 from 700 px. */
.band--plat .g-ribbon{margin-bottom:22px}
.tray{max-width:1000px;margin:0 auto;padding:12px;border-radius:16px;background:repeating-linear-gradient(180deg,#8E5F2F 0 30px,#7B4E22 30px 32px);border:4px solid var(--g-line);
  box-shadow:inset 0 0 0 3px rgba(255,220,160,.35),inset 0 4px 10px rgba(40,15,0,.45),0 5px 0 #4A2A0E,0 14px 26px rgba(30,20,0,.3)}
.plat{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.pc{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px 10px 14px;text-align:center;
  background:#F7EBD2;border:2px solid #8A5A2B;border-radius:8px;box-shadow:inset 0 0 0 2px #FFF9EE,0 3px 0 rgba(60,30,0,.4)}
.pc__pic{position:relative;overflow:hidden;aspect-ratio:640/426;border:6px solid transparent;border-image:url(/img/ui/lauks.webp) 16 fill / 6px stretch;background:#5C8A2E padding-box}
.pc__pic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px}
.pc__name{margin:4px 0 0;font:700 21px/1.2 var(--g-font);color:#276A19}
.pc__line{margin:0 auto;max-width:42ch;font-size:15.5px;line-height:1.45;color:var(--g-ink);text-wrap:balance}
.plat-note{margin:18px auto 0;max-width:760px;text-align:center}
.plat-note .g-tip{font-size:15px;line-height:1.45;padding:4px 10px}
@media (min-width:700px){.plat{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tray{padding:14px}}

/* ── «Latvju zīmes»: twelve signs woven on linen (lane Z1). The list is written by tools/zimes-build.mjs from
   public/js/content/zimes.js; a sign shows its name, its meaning on hover, on focus or on a tap (js/home.js keeps one open).
   The meaning is a pale-green plank across the whole cloth, right under the row it belongs to. */
.josta{height:30px;background:url(/img/zimes/josta.svg) center/auto 30px repeat-x;box-shadow:0 2px 0 rgba(40,20,0,.35),0 -2px 0 rgba(40,20,0,.2)}
.band--zimes{padding-top:0}
.band--zimes>.wrap{padding-top:clamp(40px,5vw,64px)}
.band--zimes .g-ribbon{margin-bottom:18px}
/* the closing band (lane web4): the page ends with the door, not with the footer's small button */
.band--go{padding-top:clamp(36px,5vw,60px)}
.go__row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.go__row .fd-btn{flex:0 1 200px}
.zm-cloth{position:relative;max-width:1060px;margin:0 auto;padding:44px clamp(10px,2vw,22px);border-radius:6px;
  background:url(/img/zimes/josta.svg) center top/auto 30px repeat-x,url(/img/zimes/josta.svg) center bottom/auto 30px repeat-x,
    repeating-linear-gradient(90deg,rgba(150,110,50,.07) 0 1px,transparent 1px 4px),repeating-linear-gradient(0deg,rgba(150,110,50,.07) 0 1px,transparent 1px 4px),#F6E9C8;
  border:2px solid #8A5A2B;box-shadow:inset 0 0 0 2px #FFF8E6,0 4px 0 rgba(60,30,0,.4),0 14px 26px rgba(30,20,0,.25)}
.zm-grid{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.zm{position:static}
.zm__b{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;width:100%;min-height:160px;padding:12px 6px 10px;
  border:2px solid transparent;border-radius:8px;background:none;color:#981404;font:inherit;cursor:pointer;transition:background-color .15s,border-color .15s}
.zm__z{display:block;max-width:100%;height:auto;margin:auto 0 0}
.zm__b b{font:700 15.5px/1.2 var(--g-font);color:var(--g-ink)}
.zm__b:hover,.zm__b[aria-expanded="true"]{background:rgba(255,250,236,.85);border-color:#C9A46A}
.zm__b:focus-visible{outline:3px solid #981404;outline-offset:2px}
.zm__m{display:none;position:absolute;left:0;right:0;z-index:2;margin:-4px 0 0;padding:10px 14px;border:7px solid transparent;
  border-image:url(/img/ui/toast.webp) 14 fill / 7px stretch;background:var(--g-tip) padding-box;font:700 15.5px/1.4 var(--g-font);color:#26380F;text-align:center;
  filter:drop-shadow(0 4px 6px rgba(30,40,0,.3))}
.zm:hover .zm__m,.zm__b:focus-visible+.zm__m,.zm__b[aria-expanded="true"]+.zm__m{display:block}
/* while the pointer is over another sign, only that one speaks */
.zm-grid:hover .zm__b[aria-expanded="true"]+.zm__m{display:none}
.zm-grid:hover .zm:hover .zm__m{display:block}
.zm-lead{max-width:62ch;margin:0 auto 14px;text-align:center;font-size:clamp(16px,1.5vw,18px);line-height:1.5;color:var(--g-ink)}
.zm-src{max-width:80ch;margin:14px auto 0;text-align:center;font-size:13px;line-height:1.5;color:#5A3A12}
@media (min-width:560px){.zm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:900px){.zm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (min-width:1180px){.zm-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.zm__b{transition:none}}

/* ── the «Par spēli» dialog: a pergament window with cherries and the red ✕ ── */
dialog.about{width:min(1100px,calc(100vw - 20px));max-width:none;max-height:calc(100vh - 20px);max-height:calc(100svh - 20px);margin:auto;padding:0;border:0;background:transparent;
  overflow:visible;color:var(--g-ink)}
dialog.about::backdrop{background:rgba(18,34,8,.55)}
dialog.about[open]{animation:hm-dlg .32s cubic-bezier(.2,.9,.3,1.12)}
.about__in{position:relative;max-height:calc(100vh - 20px);max-height:calc(100svh - 20px);overflow:auto;overscroll-behavior:contain;
  border:26px solid transparent;border-image:url(/img/ui/pergaments.webp) 42 41 fill / 26px stretch;background:var(--g-paper) padding-box}
.about__kirsi{position:absolute;z-index:3;left:-6px;top:-8px;width:78px;height:auto;transform:rotate(-8deg);pointer-events:none}
.about__x{position:absolute;top:2px;right:2px;z-index:4;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;cursor:pointer;color:#fff;
  background:linear-gradient(#FF5A4A,#E3241A 50%,#B5130C);border:3px solid #6E0E05;box-shadow:inset 0 2px 0 rgba(255,210,200,.7),0 3px 0 #6E0E05}
.about__x svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:3.6;stroke-linecap:round}
.about__frame{padding:14px clamp(8px,2vw,18px) 16px}
.about__head{margin:0 0 14px}
.about__lead{max-width:640px;margin:0 auto;text-align:center;font-size:17px;line-height:1.5}
.about__feats .feat{box-shadow:inset 0 0 0 2px #FFF9EE,0 2px 0 rgba(60,30,0,.3)}
.about__foot{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:18px}
.chips{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0;padding:0}
.chips li{display:inline-flex;align-items:center;gap:.4em;padding:.2em .8em .2em .5em;font-weight:700;font-size:15px;color:#26380F;
  border:7px solid transparent;border-image:url(/img/ui/toast.webp) 14 fill / 7px stretch;background:var(--g-tip) padding-box}
.chips svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.about__note{margin:0;text-align:center;font-weight:700;color:#5A3A12}
.about__ok{min-width:160px}
html.has-dialog{overflow:hidden}

/* scroll-in reveal (home.js adds .rv; nothing hides without script) */
.rv{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s cubic-bezier(.2,.8,.3,1)}
.rv.is-in{opacity:1;transform:none}

/* ── small screens ────────────────────────────────────────────────────── */
@media (max-width:600px){
  .wrap{padding:0 max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left))}
  .hero__logo img{width:min(82vw,400px)}
  .board{padding:34px 12px 12px}
  .board__ribbon>*{font-size:19px;min-height:44px}
  .board__ribbon>*::before,.board__ribbon>*::after{width:52px}
  .soon{padding:7px 30px 10px;min-width:0}
  .board__tip{padding-left:52px;font-size:14px}
  .board__kirsi{left:-14px;bottom:-10px;width:70px}
  .bodite{margin-top:40px;padding-top:46px}
  .bodite__tomats{width:64px;left:-6px;top:-18px}
  .bodite__brokolis{width:46px;right:-4px;top:-34px}
  .bodite__stars{display:none}
  .bodite__tabs{gap:4px}
  .bodite__tabs .g-tab{min-width:0;font-size:14px}
  .bodite__shelf{border-width:4px}
  .about__in{border-width:16px;border-image-width:16px}
  .now__stage{padding:0 0 0 0}
  .now__desk{border-width:6px}
  .now__stage .now__phone{position:relative;right:auto;bottom:auto;width:min(52vw,210px);margin:18px auto 0}
  .now__cap{margin-top:18px}
  .about__kirsi{width:56px}
}
/* a phone held sideways: emblem and board share the short height */
@media (max-height:520px) and (orientation:landscape){
  .hero__in{padding-top:6px;padding-bottom:8px}
  .hero__logo img{width:auto;height:min(30vh,150px)}
  .board{padding-top:32px;width:min(520px,70vw)}
  .soon{font-size:26px;padding:5px 30px 8px}
  .board__tip{margin-top:10px;font-size:13px;min-height:0}
  .hero__row{margin-top:12px}
  .hero__cue{display:none}
}

/* ── motion ───────────────────────────────────────────────────────────── */
@keyframes hm-drift{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes hm-bob{50%{transform:translateY(-6px)}}
@keyframes hm-glow{50%{filter:brightness(1.07)}}
@keyframes hm-cue{50%{transform:translateY(5px)}}
@keyframes hm-eq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
@keyframes hm-hop{0%,84%,100%{transform:none}89%{transform:translateY(-12px) scale(.96,1.06) rotate(-4deg)}95%{transform:translateY(0) scale(1.05,.95)}}
@keyframes hm-dlg{from{opacity:0;transform:translateY(16px) scale(.97)}}
@media (prefers-reduced-motion:reduce){
  .hero *,.soon,.bodite__tomats,.bodite__brokolis,dialog.about[open],.pill__eq i{animation:none!important}
  .rv{opacity:1;transform:none;transition:none}
}
@media print{.hero__pano,.hero__shade{display:none}}

/* ── lane site2 (task 6e18c40d, 2026-11-13; owner «webpage update … current elements from game»): the home page in the game's
   painted window kit (img/site/win_*.webp, the pieces of public/css/windows.css). The hero's board and the Bodīte stand in the
   nailed wooden frame over its planed board (win_wood + the seamless win_wood_in tile); the Bodīte's shelf and the device tray
   are the sunk board (win_inset); every card is the paper card (win_card); «Gatavs» is the green pill (the game has it today),
   a button the orange pill, «Drīzumā» the wooden pill; a capture's caption is the toast's pale-green paper (win_card_ok);
   «Ferma šodien» hangs on the wooden title plank. Inks measured on the pieces' own colours (≥ 4.5 : 1; an outlined word against
   its outline). Under reduced motion nothing new moves. ── */
.board{padding:16px 4px 0;border:30px solid transparent;border-radius:0;border-image:url(/img/site/win_wood.webp) 64 / 30px stretch;
  background:#EBAD58 url(/img/site/win_wood_in.webp) 0 0/340px 340px repeat padding-box;box-shadow:none;filter:drop-shadow(0 14px 22px rgba(40,20,0,.45))}
.board::before,.board::after{display:none}
.board__ribbon{top:-58px}
.board__stars{top:-86px}
.board__kirsi{left:-62px;bottom:-40px}
/* «Drīzumā!»: the game's green pill, standing still (a status, not a button) */
.soon{border:4px solid transparent;border-radius:0;border-image:url(/img/site/win_btn_green.webp) 32 36 fill / 50% 30px stretch;background:none;box-shadow:none;
  filter:drop-shadow(0 4px 2px rgba(30,40,0,.38));animation:hm-glow-k 2.6s ease-in-out infinite}
@keyframes hm-glow-k{50%{filter:drop-shadow(0 4px 2px rgba(30,40,0,.38)) brightness(1.07)}}
.board__tip{min-height:50px}
/* the cue stays a wooden pill: it is a link */
.hero__cue{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_btn_wood.webp) 32 36 fill / 22px 14px stretch;background:none;
  padding:.25em 1em .1em;color:#3A1D00;text-shadow:none;font-family:var(--k-face);filter:drop-shadow(0 2px 2px rgba(40,20,0,.4))}
/* «Ferma šodien»: the wooden title plank, the farm-name face with a dark outline */
.g-sign{padding:6px 44px 12px;border:0 solid transparent;border-radius:0;border-image:url(/img/site/win_plank.webp) 44 72 fill / 50% 40px stretch;background:none;
  box-shadow:none;filter:drop-shadow(0 6px 8px rgba(0,0,30,.4));font-family:var(--k-face);letter-spacing:1.5px;color:#FFF7E2;
  text-shadow:-2px -2px 0 #4A2508,2px -2px 0 #4A2508,-2px 2px 0 #4A2508,2px 2px 0 #4A2508,0 -2px 0 #4A2508,0 2px 0 #4A2508,-2px 0 0 #4A2508,2px 0 0 #4A2508,0 4px 0 #4A2508}
/* the capture holders: the desk in the wooden frame, the phone in the dark wood with a gold edge */
.now__desk{border:16px solid transparent;border-radius:0;border-image:url(/img/site/win_wood.webp) 64 / 16px stretch;background:#3A2410 padding-box;box-shadow:none;
  filter:drop-shadow(0 16px 24px rgba(0,0,30,.5))}
/* the Bodīte: the nailed frame over its planed board, the cards on the sunk shelf */
.bodite{padding:44px clamp(4px,1vw,12px) clamp(4px,1vw,12px);border:30px solid transparent;border-radius:0;border-image:url(/img/site/win_wood.webp) 64 / 30px stretch;
  background:#EBAD58 url(/img/site/win_wood_in.webp) 0 0/340px 340px repeat padding-box;box-shadow:none;filter:drop-shadow(0 16px 26px rgba(30,20,0,.4))}
.bodite__head{top:-66px}
.bodite__stars{top:-60px}
.bodite__tomats{top:-44px}
.bodite__brokolis{top:-70px}
.bodite__shelf{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_inset.webp) 26 fill / 14px stretch;background:none;box-shadow:none}
.tray{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_inset.webp) 26 fill / 14px stretch;background:none;box-shadow:none;
  filter:drop-shadow(0 10px 18px rgba(30,20,0,.3))}
/* the cards: the paper card */
.feat,.pc{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_card.webp) 24 fill / 12px stretch;background:none;box-shadow:none}
/* four cards a row on a computer again: the frame and the shelf take 70 px of the old room */
@container (min-width:1000px){.feats{grid-template-columns:repeat(4,minmax(0,1fr))}
  /* fourteen cards: the two «Drīzumā» ones are the last row, in its middle */
  #f-mezs{grid-column-start:2}}
.about__feats .feat{box-shadow:none}
.feat__name,.pc__name{font-family:var(--k-face)}
/* the capsule: the orange pill of a button */
.g-cap{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_btn_green.webp) 32 36 fill / 50% 18px stretch;background:none;box-shadow:none;
  font-family:var(--k-face);color:#fff;text-shadow:var(--k-line-g);filter:drop-shadow(0 2px 1px rgba(30,40,0,.3))}
.g-cap--btn{border-image-source:url(/img/site/win_btn.webp);border-image-slice:53 60 fill;text-shadow:var(--k-line);filter:drop-shadow(0 2px 1px rgba(40,20,0,.32))}
.g-cap--btn:hover{filter:drop-shadow(0 2px 1px rgba(40,20,0,.32)) brightness(1.07)}
.g-cap .pill__ico{background:rgba(255,255,255,.3)}
.g-cap--btn:focus-visible{outline:3px solid #2F7FD8;outline-offset:3px}
/* lane site4: a card's state is a stamp in words, not a pill — «Gatavs» a green tick, «No 1. decembra» a blue snowflake; only what
   can be pressed («Meklē kartē», «Klausies», «Par saimi») keeps the button's orange pill */
.g-stat{display:inline-flex;align-items:center;gap:.45em;min-height:32px;font:700 15.5px/1.15 var(--k-face);color:#276A19}
.g-stat::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 -2px 0 rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.6);
  background:#3F8A1C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l2.9 2.9 5.9-6.6' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
.g-stat--soon{color:#1F4E86}
.g-stat--soon::before{background:#2F73C0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2.8 5l10.4 6M2.8 11l10.4-6M6.4 2.9L8 4.4l1.6-1.5M6.4 13.1L8 11.6l1.6 1.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
/* «Drīzumā» (Mežs, Jūriņā): an amber clock — the feature is still being built, the game only shows its preview */
.g-stat--coming{color:#7A4306}
.g-stat--coming::before{background:#C9790F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cpath d='M8 5.2V8l2 1.3' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
@media (forced-colors:active){.g-stat::before{forced-color-adjust:none;border:1px solid CanvasText}}
/* a capture's caption: the toast's pale-green paper slip */
.feat__tip{border:5px solid transparent;border-radius:0;border-image:url(/img/site/win_card_ok.webp) 24 fill / 7px stretch;background:none;box-shadow:none;
  padding:0 3px;font-family:var(--k-face);color:#1E3D08;filter:drop-shadow(0 2px 1px rgba(30,50,10,.35))}
.feat__tip--soon{border-image-source:url(/img/site/win_card.webp);color:#4A2208}
/* the belt between the bands: the woven cloth nailed along a planed beam, not a strip pasted on the lawn */
.josta{height:44px;background:url(/img/zimes/josta.svg) center/auto 30px repeat-x,#EBAD58 url(/img/site/win_wood_in.webp) 0 0/340px 340px repeat;
  box-shadow:inset 0 2px 0 rgba(255,236,190,.55),inset 0 -3px 0 rgba(90,50,10,.4),0 4px 0 #6B3D14,0 8px 12px rgba(30,20,0,.3)}
/* the radio's facts: paper slips */
.radio-facts li{border:2px solid transparent;border-radius:0;border-image:url(/img/site/win_card.webp) 24 fill / 10px stretch;background:none;font-family:var(--k-face)}
@media (max-width:600px){
  .board{padding:12px 0 0;border-width:18px;border-image-width:20px}
  .board__ribbon{top:-48px}
  .board__kirsi{left:-30px;bottom:-26px}
  .bodite{padding-top:38px;border-width:16px;border-image-width:20px}
  .bodite__head{top:-52px}
  .bodite__tomats{top:-34px}
  .bodite__brokolis{top:-50px}
  .bodite__shelf{border-image-width:10px}
  .now__desk{border-width:10px;border-image-width:10px}
  .g-sign{padding:5px 30px 10px;border-image-width:50% 30px}
}
@media (prefers-reduced-motion:reduce){.soon{animation:none!important}.g-cap--btn:hover{transform:none}}
@media print{.board,.bodite,.now__desk{border-image:none;filter:none}}
/* the windows on the lawn (story, Laimes rats, map, radio) and the «Par spēli» dialog: the game's windows now stand in the nailed
   wooden frame over its planed board (public/css/windows.css gives the pergament windows win_wood), so the 2010 pergament under
   the red brush frame goes; their title stays on the plank, the cherries still peek over the corner; the dialog's ✕ is the
   game's painted cross (win_x). Words on the planed board: ink #3A1D00 9.2 : 1, the note #5A3A12 5.3 : 1 on its mid colour. */
.band .g-window,.about__in{border:30px solid transparent;border-image:url(/img/site/win_wood.webp) 64 / 30px stretch;
  background:#EBAD58 url(/img/site/win_wood_in.webp) 0 0/340px 340px repeat padding-box;filter:drop-shadow(0 16px 24px rgba(30,20,0,.4))}
.band .g-window>.g-frame,.about__frame{border:0;border-image:none;padding:12px clamp(4px,1.6vw,16px) 10px}
.band__note{color:#5A3A12}
.rats__card{width:100%}
.radio-facts li{color:#3A1D00}
.about__in{border-width:26px;border-image-width:26px}
.about__x{top:4px;right:4px;width:48px;height:48px;border:0;border-radius:0;background:url(/img/site/win_x.webp) center/100% 100% no-repeat;box-shadow:none;color:transparent;
  filter:drop-shadow(0 3px 2px rgba(40,10,0,.4))}
.about__x svg{display:none}
.about__x:hover{filter:drop-shadow(0 3px 2px rgba(40,10,0,.4)) brightness(1.08)}
.about__x:focus-visible{outline:3px solid #2F7FD8;outline-offset:2px}
@media (max-width:600px){
  .band .g-window{border-width:16px;border-image-width:18px}
  .band .g-window>.g-frame{padding:8px 4px 8px}
  .about__in{border-width:16px;border-image-width:18px}
  .about__x{top:2px;right:2px;width:44px;height:44px}
}
/* owner 2026-12-04: the title, the cherries and the ✕ stay in place; only what is under them scrolls */
.about__in{display:flex;flex-direction:column;overflow:visible}
.about__frame{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;padding-bottom:0}
.about__head{flex:none;margin:0 52px;text-align:center}
.about__body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 4px 20px;margin:0 -4px;scrollbar-width:thin;scrollbar-color:#A8671F transparent;
  -webkit-mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(transparent,#000 18px,#000 calc(100% - 18px),transparent)}
.is-home dialog.about:focus-visible{outline:none}
.is-home .about__body:focus-visible{outline:2px solid #2F7FD8;outline-offset:-3px;border-radius:10px}   /* the window itself takes the first focus: no ring around the frame */
.about__lead{margin-bottom:14px}
@media print{.band .g-window,.about__in{border-image:none;filter:none}}
/* ── lane site4 (task 6e18c40d, 2026-11-14): the hero when the height runs short. The ribbon and the stars hang 58 and 86 px above
   the board, so when the board is pushed up against the emblem (a phone with the consent box open, a phone on its side) they lay
   over «FERMA». ── */
/* a phone with the consent box open: a smaller emblem with room under it, no stars, no cue (the box sits where the cue was) */
@media (max-width:719px){
  html.fd-consent-on .hero__logo img{width:min(58vw,270px)}
  html.fd-consent-on .hero__logo{margin-bottom:54px}
  html.fd-consent-on .board__stars,html.fd-consent-on .hero__cue{display:none}
}
/* a phone on its side: the emblem stands left of the board instead of above it (the header's sign still says FERMA) */
@media (max-height:520px) and (orientation:landscape) and (min-width:600px){
  .hero__in{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,520px);column-gap:clamp(10px,3vw,28px);align-content:center;justify-items:center}
  .hero__logo{grid-column:1;grid-row:1/span 3;align-self:center}
  .hero__logo img{width:min(100%,300px);height:auto}
  .board,.hero__row{grid-column:2}
  .board{width:100%;margin-top:60px}
  .board__stars{display:none}
  /* the consent box takes the right half: the board alone in what is left, the emblem out of sight (the h1 stays for readers) */
  html.fd-consent-on .hero__in{grid-template-columns:minmax(0,1fr)}
  html.fd-consent-on .hero__logo{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  html.fd-consent-on .board,html.fd-consent-on .hero__row{grid-column:1}
}
@media (max-height:520px) and (orientation:landscape) and (max-width:599px){
  .hero__logo{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .board{margin-top:60px}
  .board__stars{display:none}
  html.fd-consent-on .board{width:100%}
}
/* a tablet upright with the consent box open: the board stands above the box, as on a phone */
@media (min-width:720px) and (max-width:999px) and (orientation:portrait){
  html.fd-consent-on .hero__in{padding-bottom:calc(var(--fd-consent-h,0px) + 18px)}
  html.fd-consent-on .hero__cue{display:none}
}
/* ── the app doors and one farm on every device (owner 2026-11-24: «add play buttons simpler, something smarter, so that it's
   easy to play also on the iPhone or Android too, and tell about sync visually»). Under «Spēlēt», which stays the biggest
   thing, the two stores as real buttons: Apple's own badge and our own Google Play pill (the game's .ip-badge, not Google's
   artwork). The markup has both for everyone; the device's own store comes first before the first paint by CSS alone — a
   touch screen puts Google Play first, iOS WebKit (the only engine that knows -webkit-touch-callout) the App Store — and
   js/stores.js then makes the DOM order match and sets data-device, which ends these two rules: nothing moves. ── */
.stores__or{margin:12px 0 0;font:700 14px/1.2 var(--k-face);color:#4A2208;letter-spacing:.3px}
.stores{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 12px;margin:8px 0 0;min-height:48px}
.stores__btn{display:inline-flex;box-sizing:border-box;height:48px;min-width:144px;border-radius:9px;text-decoration:none;transition:transform .12s ease}
.stores__btn img{display:block;width:144px;height:48px}
.stores__btn--apple{line-height:0}
.stores__btn--play{flex-direction:column;justify-content:center;padding:0 16px;text-align:left;line-height:1.05;border:1.5px solid #A6A6A6;background:#000;color:#fff;
  font-family:-apple-system,"SF Pro Text","Helvetica Neue",Arial,sans-serif}
.stores__btn--play small{font-size:11.5px;letter-spacing:.2px}
.stores__btn--play b{font-size:21px;font-weight:600;letter-spacing:-.3px}
.stores__btn:hover{transform:translateY(-2px)}
.stores__btn:focus-visible{outline:3px solid #FFE36A;outline-offset:3px}
@media (hover:none) and (pointer:coarse){.stores:not([data-device]) .stores__btn--play{order:-1}}
@supports (-webkit-touch-callout:none){.stores:not([data-device]) .stores__btn--play{order:0}}
@media (prefers-reduced-motion:reduce){.stores__btn{transition:none}.stores__btn:hover{transform:none}}
@media (max-width:600px){.stores__or{margin-top:10px}.board__tip{margin-top:12px}}
@media (max-width:380px){.stores{gap:8px}.stores__btn--play{min-width:134px;padding:0 12px}.stores__btn--play b{font-size:19px}}
@media (max-height:520px) and (orientation:landscape){.stores__or{display:none}.stores{margin-top:10px}}
/* one farm on every device: the computer, the tablet and the phone on a drawn string, then the three steps */
.sync__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:clamp(14px,3vw,36px)}
.sync__art{position:relative;aspect-ratio:2/1;margin:0 4px}
.sync__link{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:#8A4E14;stroke-width:3;stroke-dasharray:1 8;stroke-linecap:round;
  vector-effect:non-scaling-stroke}
.sync__dev{position:absolute;margin:0;line-height:0;background:#1E1E1E;border:solid #2B2B2B;box-shadow:0 8px 16px rgba(40,20,0,.3)}
.sync__dev img{display:block;width:100%;height:100%;object-fit:cover}
.sync__dev--desk{left:0;bottom:12%;width:52%;aspect-ratio:16/10;border-width:6px 6px 8px;border-radius:8px 8px 2px 2px}
.sync__dev--desk::after{content:"";position:absolute;left:-14%;right:-14%;bottom:-17px;height:9px;border-radius:0 0 12px 12px;background:linear-gradient(#D6D6D6,#8E8E8E)}
.sync__dev--tab{left:56%;bottom:6%;width:31%;aspect-ratio:4/3;border-width:7px;border-radius:12px}
.sync__dev--phone{right:0;bottom:2%;width:11%;aspect-ratio:300/649;border-width:4px;border-radius:10px}
.sync__text .g-title{margin-bottom:.5em}
.sync__steps{margin:0;padding:0;list-style:none;counter-reset:sync;display:grid;gap:10px;color:var(--g-ink);font-size:16px;line-height:1.45}
.sync__steps li{counter-increment:sync;position:relative;padding-left:44px}
.sync__steps li::before{content:counter(sync);position:absolute;left:0;top:-3px;width:32px;height:32px;box-sizing:border-box;display:grid;place-items:center;
  border:3px solid #1F5A0C;border-radius:50%;background:linear-gradient(#A6F05A,#62C232 55%,#3E9A1B);color:#fff;font:700 16px/1 var(--k-face);
  text-shadow:0 1px 0 #1d4f08}
.sync__same{margin:14px 0 0;padding:8px 12px;border:2px solid transparent;border-image:url(/img/ui/toast.webp) 14 fill / 7px stretch;color:#26380F;font-size:15.5px;line-height:1.45}
@media (max-width:820px){.sync__in{grid-template-columns:minmax(0,1fr)}.sync__art{max-width:520px;width:100%;margin:0 auto}}
@media (max-width:600px){.sync__steps{font-size:15.5px}.sync__steps li{padding-left:40px}.sync__dev--desk::after{bottom:-14px;height:7px}}
