/* build v24 */
/* Axogame shared styles.
   Color story: A (mint) = Hakkımda, X (yellow) = Support, O (red) = Oyunlar.
   Text rule: blue text on mint / yellow / white, white text on red / blue.
   Dark and translucent tones live only in the header controls and quick panes.
   Materials: .lg = liquid glass (refracts what is behind it, quick panes only),
              .soft = satin glass (soft, blurred behind, no gloss). */
:root {
  --blue: #533fff;
  --red: #ff3366;
  --white: #f4f2ff;
  --mint: #22e6a4;
  --yellow: #ffff19;
  --blue-deep: #2e2299;
  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.35, .5, 1);
  --pad: max(24px, env(safe-area-inset-left, 0px));
  --padr: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--blue); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--blue); color: var(--white); font-family: var(--font);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.p-mint { background: transparent; color: var(--blue); }
body.p-yellow { background: transparent; color: var(--blue); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.p-mint :focus-visible, .p-yellow :focus-visible { outline-color: var(--blue); }
img { display: block; }

/* ---------- liquid glass: frosted middle, refracting rim ---------- */
.lg { position: relative; isolation: isolate; background: linear-gradient(160deg, rgba(244,242,255,.34), rgba(244,242,255,.16)); }
.lg > .g-frost, .lg > .g-rim { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.lg > .g-frost {
  z-index: -2;
  -webkit-backdrop-filter: blur(7px) saturate(1) brightness(1.03); backdrop-filter: blur(7px) saturate(1) brightness(1.03);
}
.lg > .g-rim {
  z-index: -1; padding: var(--bz, 14px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  box-shadow: inset 1.5px 1.5px 1px -.5px rgba(244,242,255,.95), inset -1.5px -1.5px 1px -.5px rgba(244,242,255,.55), inset 0 0 0 .5px rgba(244,242,255,.25);
}
.refract .lg > .g-rim { -webkit-backdrop-filter: var(--lgf) saturate(1) brightness(1.03); backdrop-filter: var(--lgf) saturate(1) brightness(1.03); }
.lg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; box-shadow: 0 18px 44px rgba(46,34,153,.32); }

/* ---------- soft satin glass ---------- */
.soft {
  background: radial-gradient(120% 130% at 28% -10%, rgba(244,242,255,.34), rgba(244,242,255,0) 58%), rgba(83,63,255,.8);
  -webkit-backdrop-filter: blur(9px) saturate(1.3); backdrop-filter: blur(9px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(244,242,255,.75), inset 0 0 0 1px rgba(244,242,255,.2), inset 0 -8px 12px -6px rgba(46,34,153,.5), 0 8px 22px -6px rgba(46,34,153,.45);
}

/* ---------- top bar ---------- */
.bar {
  position: fixed; z-index: 80; top: 0; left: 0; right: 0;
  height: calc(88px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--padr) 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* progressive blur: many thin layers, strongest at the very top, fading out downward */
.bar-bg { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 80px); z-index: -1; pointer-events: none; }
.bar-bg i { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .7s var(--ease); }
.bar.glass .bar-bg i { opacity: 1; }
.bar-bg .tint { background: linear-gradient(to bottom, rgba(83,63,255,.42), rgba(83,63,255,.18) 45%, rgba(83,63,255,.05) 78%, transparent); }
.bar, .hero-ctl { transition: opacity .9s var(--ease); }
body.intro-on .bar, body.intro-on .hero-ctl { opacity: 0; pointer-events: none; }
.logo { flex: none; }
.logo img { height: 36px; width: auto; }
.tools { display: flex; align-items: center; gap: 12px; }
.btn-c, .dot {
  height: 40px; min-width: 40px; border-radius: 20px; display: inline-grid; place-items: center;
  transition: transform .45s var(--spring), background .3s, color .3s;
}
.btn-c { width: 40px; color: var(--white); }
.btn-c:hover { transform: scale(1.08); }
.btn-c:active { transform: scale(.94); }
.btn-c svg, .pill-items svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-c[aria-expanded="true"] { color: var(--blue); }
.btn-c[aria-expanded="true"] { background: var(--white); box-shadow: 0 10px 26px rgba(46,34,153,.25); }

.dots { display: flex; gap: 8px; }
.dot {
  position: relative; background: var(--c);
  color: var(--blue); display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  font-weight: 600; font-size: 15px; white-space: nowrap;
}
.dot[data-k="red"] { color: var(--white); }
.dot span { max-width: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-width .55s var(--ease), opacity .3s, margin .55s var(--ease); }
@media (hover: hover) { .dot:hover span { max-width: 110px; opacity: 1; margin: 0 18px; } }
.dot:focus-visible span { max-width: 110px; opacity: 1; margin: 0 18px; }
.dot:active { transform: scale(.95); }

.pill { display: flex; align-items: center; border-radius: 24px; padding: 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s; }
.pill.open { padding: 4px; background: radial-gradient(120% 130% at 28% -10%, rgba(244,242,255,.34), rgba(244,242,255,0) 58%), rgba(83,63,255,.8); -webkit-backdrop-filter: blur(9px) saturate(1.3); backdrop-filter: blur(9px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(244,242,255,.75), inset 0 0 0 1px rgba(244,242,255,.2), inset 0 -8px 12px -6px rgba(46,34,153,.5), 0 8px 22px -6px rgba(46,34,153,.45); }
.pill-items { display: flex; align-items: center; max-width: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: max-width .6s var(--ease), opacity .3s, visibility 0s .6s; }
.pill.open .pill-items { max-width: 200px; opacity: 1; visibility: visible; transition: max-width .6s var(--ease), opacity .4s .1s, visibility 0s; }
.pill-items > * { width: 42px; height: 40px; display: grid; place-items: center; flex: none; color: rgba(244,242,255,.66); border-radius: 20px; transition: color .25s, transform .3s var(--spring); }
.pill-items > *:hover, .pill-items > *[aria-expanded="true"] { color: var(--white); transform: scale(1.12); }
.menu-ico { transition: transform .5s var(--ease); }
.pill.open .menu-ico { transform: rotate(90deg); }

/* ---------- quick panes ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 65; opacity: 0; visibility: hidden; pointer-events: none;
  background: linear-gradient(to left, rgba(83,63,255,.35), rgba(83,63,255,.08) 70%, transparent);
  -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px);
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 24%, rgba(0,0,0,.35) 74%, transparent); mask-image: linear-gradient(to left, #000 0%, #000 24%, rgba(0,0,0,.35) 74%, transparent);
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.scrim.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.qp {
  position: fixed; z-index: 70; top: calc(86px + env(safe-area-inset-top, 0px)); right: var(--padr);
  width: min(380px, calc(100vw - 32px)); display: grid; gap: 10px; visibility: hidden; pointer-events: none; color: var(--white);
  padding: 4px; transition: visibility 0s .5s;
}
.qp.open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.qp > *, .qp .rows > * { transform: translateX(44px) scale(.92); transition: transform .45s var(--ease); }
.qp.open > *, .qp.open .rows > * { transform: none; transition: transform .75s var(--spring) calc(var(--i, 0) * 55ms); }
.qp .rows { display: grid; gap: 10px; transform: none !important; }
.qp h2 { margin: 0 8px; font-size: 15px; font-weight: 600; color: var(--white); text-shadow: 0 1px 12px rgba(46,34,153,.55); }
.t { border-radius: 26px; padding: 16px 18px; }
.t p { margin: 0; font-size: 16px; }
.search-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 27px; }
.search-field svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; flex: none; opacity: .75; }
.search-field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--white); font: inherit; font-size: 17px; }
.search-field input::placeholder { color: rgba(244,242,255,.7); }
.search-field:focus-within > .g-rim { box-shadow: inset 0 0 0 2px var(--white); }
.prow { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 12px; border-radius: 28px; text-align: left; width: 100%; transition: transform .35s var(--spring); }
.prow:hover, .prow:focus-visible { transform: scale(1.025) !important; }
.prow i.dotc { width: 36px; height: 36px; border-radius: 50%; background: var(--c); flex: none; box-shadow: inset 0 1px 0 rgba(244,242,255,.55), inset 0 -6px 10px rgba(83,63,255,.12); }
.prow b { display: block; font-weight: 600; line-height: 1.2; }
.prow small { display: block; font-size: 13px; opacity: .8; line-height: 1.3; }
.prow .ext { margin-left: auto; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; opacity: .7; flex: none; }
.pf { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 34px; font-weight: 600; text-align: left; width: 100%; }
.pf i.dotc { width: 44px; height: 44px; border-radius: 50%; background: var(--c); display: grid; place-items: center; flex: none; box-shadow: inset 0 1px 0 rgba(244,242,255,.55), inset 0 -6px 10px rgba(83,63,255,.12); }
.pf small { display: block; font-weight: 400; font-size: 13px; opacity: .8; }
.pf i.dotc svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.pf.add i.dotc { background: transparent; box-shadow: none; border: 2px dashed rgba(244,242,255,.7); }
.pf.add i.dotc svg { stroke: var(--white); }
.cta { display: block; width: 100%; padding: 15px 18px; border-radius: 27px; background: var(--white); color: var(--blue); font-weight: 700; text-align: center; box-shadow: 0 16px 40px rgba(46,34,153,.3); }
.cta:hover { transform: scale(1.025); }

/* ---------- hero banner ---------- */
main { position: relative; }
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 560px; overflow: hidden; background: var(--blue); }
.hero-wrap { position: absolute; inset: 0; transform-origin: 50% 30%; will-change: transform; }
.slide { position: absolute; inset: 0; background: var(--blue); color: var(--white); transform: translate3d(100%,0,0); transition: transform .75s cubic-bezier(.65, 0, .2, 1); will-change: transform; }
.slide.on { transform: translate3d(0,0,0); z-index: 2; }
.slide.prev { transform: translate3d(-100%,0,0); z-index: 1; }
.slide.l { transform: translate3d(-100%,0,0); }
.slide.nt { transition: none !important; }
.intro-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--blue); }
@media (max-aspect-ratio: 13/10) { .intro-vid { object-fit: contain; } }
.slide .fb { display: none; }
.slide.novid .fb { display: block; }
.slide.novid .intro-vid { display: none; }
.shape { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform: translate(calc(var(--mx, 0) * var(--d, 1) * 26px), calc(var(--my, 0) * var(--d, 1) * 26px)); transition: transform .9s var(--ease); }
.shape svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--c); stroke-width: 9; animation: drift var(--t, 14s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
.shape.solid svg { fill: var(--c); stroke: none; }
@keyframes drift { from { transform: translateY(-14px) rotate(calc(var(--r, 6deg) * -1)); } to { transform: translateY(14px) rotate(var(--r, 6deg)); } }
.slide-copy { position: absolute; left: var(--pad); bottom: calc(110px + env(safe-area-inset-bottom, 0px)); max-width: min(620px, calc(100% - 48px)); display: grid; gap: 14px; justify-items: start; }
.slide-copy small { font-size: 16px; font-weight: 500; opacity: .85; }
.slide-copy h2 { margin: 0; font-size: clamp(54px, 10vw, 128px); line-height: .92; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 24px; background: var(--white); color: var(--blue); font-weight: 700; transition: transform .4s var(--spring); box-shadow: 0 12px 28px rgba(46,34,153,.25); }
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.96); }
.hero-ctl { position: absolute; z-index: 5; left: 50%; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.inds { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; }
.ind { width: 9px; height: 9px; border-radius: 5px; background: rgba(244,242,255,.5); position: relative; overflow: hidden; transition: width .6s var(--ease); padding: 0; }
.ind.on { width: 52px; }
.ind i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); }
.round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--spring); }
.round:hover { transform: scale(1.1); }
.round svg { width: 16px; height: 16px; fill: var(--white); }
.round .alt { display: none; }
.round.alt-on .alt { display: block; }
.round.alt-on .main { display: none; }

/* ---------- full-screen panels ---------- */
.panel {
  position: relative; z-index: 2; min-height: 100svh; border-radius: 40px 40px 0 0; overflow: hidden;
  padding: 140px var(--padr) calc(64px + env(safe-area-inset-bottom, 0px)) var(--pad);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  box-shadow: 0 -16px 50px rgba(46, 34, 153, .22);
}
.panel.red { background: var(--red); color: var(--white); }
.panel.white { background: var(--white); color: var(--blue); }
.panel.blue { background: var(--blue); color: var(--white); }
.panel .shape svg { stroke-width: 7; }
.panel h2 { margin: 0 0 .06em; position: relative; font-size: clamp(72px, 17vw, 260px); line-height: .85; font-weight: 700; letter-spacing: -.055em; }
.panel p { margin: 0; position: relative; font-size: clamp(19px, 2vw, 26px); max-width: 30ch; line-height: 1.3; font-weight: 500; }
.panel .btn { position: relative; width: fit-content; }
.panel.white .btn { background: var(--blue); color: var(--white); box-shadow: 0 12px 28px rgba(83,63,255,.3); }
.panel .tagline { position: relative; font-size: 15px; opacity: .85; font-weight: 400; }
.outro { min-height: 0; padding-top: 80px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.outro nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 18px; font-weight: 500; }
.outro nav a { opacity: .85; transition: opacity .2s; }
.outro nav a:hover { opacity: 1; }
.outro small { width: 100%; opacity: .75; }

/* ---------- inner pages ---------- */
.page { position: relative; padding: 150px var(--padr) 90px var(--pad); max-width: 1240px; margin: 0 auto; display: grid; gap: 28px; }
.page > * { position: relative; }
.page h1 { margin: 0; font-size: clamp(72px, 15vw, 220px); line-height: .85; font-weight: 700; letter-spacing: -.055em; padding-bottom: .06em; }
.page .lead { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; font-weight: 500; max-width: 28ch; margin: 0; }
.page h2.sec { margin: 56px 0 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; }
.bgshape { position: absolute; z-index: 0; right: -2vw; top: clamp(200px, 24vw, 330px); width: min(34vw, 440px); aspect-ratio: 1; pointer-events: none; }
.bgshape svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--c); stroke-width: 6; animation: drift 14s ease-in-out infinite alternate; }
.story { display: grid; gap: 14px; }
.srow { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; border-radius: 36px; padding: 22px 30px 22px 22px; background: var(--bgc); color: var(--fgc); transition: transform .5s var(--spring); }
.srow:hover { transform: scale(1.012); }
.srow svg { width: 100%; height: auto; aspect-ratio: 1; overflow: visible; fill: none; stroke: var(--fgc); stroke-width: 8; }
.srow h3 { margin: 0 0 4px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; letter-spacing: -.03em; }
.srow p { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 500; max-width: 46ch; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.member { display: grid; gap: 14px; justify-items: start; }
.member .av { width: 100%; aspect-ratio: 1; border-radius: 40px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.member .av svg { width: 46%; height: 46%; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 7; }
.member b { font-size: 21px; line-height: 1.1; display: block; }
.member span { font-weight: 500; opacity: .85; }
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.block { border-radius: 36px; padding: 30px; display: grid; gap: 10px; align-content: end; min-height: 280px; min-width: 0; background: var(--bgc); color: var(--fgc); }
.block h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1; letter-spacing: -.03em; }
.block p { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 500; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 30px; background: var(--white); color: var(--blue); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 30px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 36px; line-height: 1; font-weight: 400; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 30px 28px; max-width: 54ch; font-size: 18px; font-weight: 500; }
.mailrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 26px 30px; border-radius: 34px; background: var(--blue); color: var(--white); font-size: clamp(21px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.mailrow code { font: inherit; user-select: all; overflow-wrap: anywhere; }
.mailrow button { margin-left: auto; height: 46px; padding: 0 24px; border-radius: 23px; background: var(--white); color: var(--blue); font-size: 17px; font-weight: 700; letter-spacing: 0; }

@media (max-width: 700px) {
  :root { --pad: max(16px, env(safe-area-inset-left, 0px)); --padr: max(16px, env(safe-area-inset-right, 0px)); }
  .panel { border-radius: 28px 28px 0 0; padding-top: 110px; }
  .srow { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-delay: 0s !important; }
}

/* ---------- quick pane geometry (set from the pill / search button by script) ---------- */
.qp { z-index: 90; right: auto; top: auto; width: auto; }
.qp > *, .qp .rows > *, .qp .sc > * { transform: translateX(44px) scale(.92); transition: transform .45s var(--ease); }
.qp.open > *, .qp.open .rows > *, .qp.open .sc > * { transform: none; transition: transform .75s var(--spring) calc(var(--i, 0) * 55ms); }
.qp .rows, .qp .sc { transform: none !important; }
#paneSearch { gap: 8px; }
#paneSearch .rows { gap: 8px; }
.sf { position: relative; justify-self: end; width: 40px; height: 44px; border-radius: 22px; display: flex; align-items: center; padding: 0 46px 0 20px; overflow: hidden; transition: width .6s var(--spring) !important; }
.qp.open .sf { width: 100%; }
.sf input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--white); font: inherit; font-size: 16px; opacity: 0; transition: opacity .3s; }
.qp.open .sf input { opacity: 1; transition-delay: .25s; }
.sf input::placeholder { color: rgba(244,242,255,.7); }
.sf .sclose { position: absolute; right: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); }
.sf .sclose svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.sf:focus-within > .g-rim { box-shadow: inset 0 0 0 2px var(--white); }
#btnSearch[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.prow.c { height: 46px; padding: 0 16px 0 10px; gap: 12px; border-radius: 23px; font-size: 15px; }
.prow.c i.dotc { width: 26px; height: 26px; }
.prow.c span { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.prow.c b { display: inline; white-space: nowrap; }
.prow.c small { display: inline; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .72; }
.t.c { height: 46px; padding: 0 16px; border-radius: 23px; display: flex; align-items: center; font-size: 14px; }
.nt, .pf.c { height: 52px; padding: 0 14px 0 10px; border-radius: 26px; display: flex; align-items: center; gap: 10px; width: 100%; }
.nt i.dotc, .pf.c i.dotc { width: 30px; height: 30px; border-radius: 50%; background: var(--c); flex: none; display: grid; place-items: center; }
.pf.c i.dotc svg { width: 17px; height: 17px; }
.nt span, .pf.c span { font-size: 13.5px; font-weight: 600; line-height: 1.15; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cta.c { height: 52px; padding: 0; display: grid; place-items: center; border-radius: 26px; font-size: 15px; }
.sc { display: grid; gap: 10px; max-height: 246px; overflow-y: auto; padding: 0 20px 0 0; margin-right: -20px; scrollbar-width: thin; scrollbar-color: rgba(244,242,255,.6) rgba(46,34,153,.4); }
.sc::-webkit-scrollbar { width: 8px; }
.sc::-webkit-scrollbar-track { background: rgba(46,34,153,.4); border-radius: 4px; }
.sc::-webkit-scrollbar-thumb { background: rgba(244,242,255,.6); border-radius: 4px; }

/* open pill: plain icons, the active one sits in a dark circle */
.pill.open .btn-c { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(244,242,255,.66); }
.pill.open .btn-c:hover { color: var(--white); }
.pill.open .menu-ico { transform: rotate(90deg); }
.pill.open #btnMenu { background: var(--blue-deep); color: var(--white); }
.pill-items > [aria-expanded="true"] { background: var(--blue-deep); color: var(--white); transform: none; }

.sc .lg::after, .rows .lg::after { box-shadow: none; }
.lg > .g-rim { box-shadow: inset 1.5px 1.5px 0 -.5px rgba(244,242,255,1), inset -1.5px -1.5px 0 -.5px rgba(244,242,255,.7), inset 0 0 0 .5px rgba(244,242,255,.35); }

/* panels overlap so the rounded top corners show the previous panel, never the page background */
.panel + .panel { margin-top: -40px; padding-top: 180px; }
.panel:has(+ .panel) { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 700px) { .panel + .panel { margin-top: -28px; padding-top: 138px; } .panel:has(+ .panel) { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
.pill-items > *:focus-visible, .btn-c:focus-visible { outline-offset: -3px; }

.mailrow a.mail { font: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: rgba(244,242,255,.4); }
.mailrow a.mail:hover { text-decoration-color: var(--white); }
.mailrow .send { height: 46px; padding: 0 24px; border-radius: 23px; display: inline-flex; align-items: center; background: var(--yellow); color: var(--blue); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.mailrow .send + button { margin-left: 0; }
.mailrow .btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.mailrow .btns button { margin-left: 0; }

/* mint / yellow pages: a blue base with the coloured sheet laid over it, like the home panels. Safari reads the blue at the top. */
body.p-mint, body.p-yellow { position: relative; background: var(--blue); --sheet: var(--yellow); }
body.p-mint { --sheet: var(--mint); }
body.p-mint::before, body.p-yellow::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 78px; bottom: 0; background: var(--sheet); border-radius: 34px 34px 0 0; }
.p-mint .page, .p-yellow .page { z-index: 1; }
@media (max-width: 820px) { body.p-mint::before, body.p-yellow::before { top: 100px; border-radius: 28px 28px 0 0; } }

/* tablets and other touch screens on the wide layout: labels are always visible, nothing waits for a hover */
@media (hover: none) and (min-width: 901px) { .dot span { max-width: 110px; opacity: 1; margin: 0 18px; } }
.lbl { display: none; }
.mnav { display: contents; }
#btnMenuM { display: none; }

/* =====================  PHONES, FOLDABLES, SMALL TABLETS  (<= 900px)  =====================
   top: logo + A/X/O circles + menu.  bottom (thumb zone): search and bell / cart / profile, always visible. */
@media (max-width: 900px) {
  :root { --pad: max(16px, env(safe-area-inset-left, 0px)); --padr: max(16px, env(safe-area-inset-right, 0px)); --dock: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .bar { height: calc(70px + env(safe-area-inset-top, 0px)); padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--padr) 0 var(--pad); align-items: flex-start; gap: 10px; }
  .logo img { height: clamp(20px, 6.6vw, 30px); }

  /* top right: circles + menu button */
  .mnav { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 82; top: calc(env(safe-area-inset-top, 0px) + 10px); right: var(--padr); }
  .dots { display: flex; gap: 7px; }
  .dot { height: 34px; width: 34px; min-width: 34px; padding: 0; border-radius: 17px; }
  .dot span, .dot:focus-visible span { max-width: 0; opacity: 0; margin: 0; }
  #btnMenuM { display: grid; height: 38px; width: 38px; min-width: 38px; border-radius: 19px; }
  .bar.menu-open .mnav {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 6px 8px; border-radius: 28px;
    background: radial-gradient(120% 130% at 28% -10%, rgba(244,242,255,.34), rgba(244,242,255,0) 58%), rgba(83,63,255,.9);
    -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(244,242,255,.75), inset 0 0 0 1px rgba(244,242,255,.2), 0 14px 32px -8px rgba(46,34,153,.55);
    animation: mnavIn .45s var(--spring);
  }
  .bar.menu-open #btnMenuM { order: -1; align-self: flex-end; }
  .bar.menu-open .dots { flex-direction: column; gap: 8px; }
  .bar.menu-open .dot { width: auto; height: 44px; padding: 0 22px; border-radius: 22px; font-size: 16px; }
  .bar.menu-open .dot span { max-width: none; opacity: 1; margin: 0; }
  @keyframes mnavIn { from { opacity: 0; transform: translateY(-8px) scale(.94); transform-origin: 100% 0; } }

  /* bottom dock */
  .tools { position: fixed; z-index: 81; left: var(--pad); right: var(--padr); bottom: calc(max(10px, env(safe-area-inset-bottom, 0px)) + 6px); display: flex; align-items: center; gap: 12px; }
  #btnSearch { flex: 1; width: auto; min-width: 0; height: 54px; border-radius: 27px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 0 20px; font-size: 18px; font-weight: 600; }
  #btnSearch svg { width: 24px; height: 24px; flex: none; }
  #btnSearch .lbl { display: inline; }
  .pill, .pill.open { padding: 4px; border-radius: 27px; height: 54px; flex: none; background: radial-gradient(120% 130% at 28% -10%, rgba(244,242,255,.34), rgba(244,242,255,0) 58%), rgba(83,63,255,.8); -webkit-backdrop-filter: blur(9px) saturate(1.3); backdrop-filter: blur(9px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(244,242,255,.75), inset 0 0 0 1px rgba(244,242,255,.2), inset 0 -8px 12px -6px rgba(46,34,153,.5), 0 8px 22px -6px rgba(46,34,153,.45); }
  .pill-items, .pill.open .pill-items { max-width: none; opacity: 1; visibility: visible; overflow: visible; transition: none; }
  .pill-items > * { width: 46px; height: 46px; border-radius: 23px; color: rgba(244,242,255,.9); }
  .pill-items svg { width: 24px; height: 24px; }
  #btnMenu { display: none; }

  .scrim { background: rgba(83,63,255,.5); -webkit-mask-image: none; mask-image: none; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .qp { max-height: calc(100dvh - 150px); }
  #paneSearch .rows { max-height: min(54vh, 460px); overflow-y: auto; padding-bottom: 4px; }
  .sc { max-height: min(46vh, 330px); }

  /* content makes room for the dock */
  .hero { min-height: 420px; }
  .hero-ctl { bottom: calc(var(--dock) + 14px); }
  .slide-copy { bottom: calc(var(--dock) + 78px); }
  .slide-copy h2 { font-size: clamp(38px, 13vw, 110px); overflow-wrap: anywhere; }
  .panel { border-radius: 28px 28px 0 0; padding-top: 110px; }
  .panel + .panel { margin-top: -28px; padding-top: 138px; }
  .panel:has(+ .panel) { padding-bottom: calc(var(--dock) + 24px); }
  .panel h2 { font-size: clamp(38px, calc((100vw - 32px) / 4.7), 150px); overflow-wrap: anywhere; }
  .panel p { font-size: clamp(17px, 4.6vw, 24px); }
  .outro { padding-bottom: calc(var(--dock) + 24px); }
  .outro nav { gap: 8px 22px; font-size: 17px; }

  .page { padding-top: 104px; padding-bottom: calc(var(--dock) + 40px); gap: 22px; }
  .page h1 { font-size: clamp(34px, calc((100vw - 32px) / 4.9), 140px); overflow-wrap: anywhere; }
  .page .lead { font-size: clamp(18px, 5vw, 28px); }
  .page h2.sec { margin-top: 36px; font-size: clamp(26px, 8vw, 48px); }
  .srow { grid-template-columns: clamp(48px, 16vw, 72px) 1fr; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 26px; }
  .srow h3 { font-size: clamp(22px, 6.4vw, 34px); }
  .srow p { font-size: clamp(15px, 4.2vw, 18px); }
  .block { padding: 22px; min-height: 190px; border-radius: 28px; }
  .block h2 { font-size: clamp(24px, 7vw, 36px); overflow-wrap: anywhere; }
  .block p { font-size: clamp(15px, 4.2vw, 18px); }
  .faq details { border-radius: 26px; }
  .faq summary { padding: 20px 22px; font-size: clamp(17px, 5vw, 22px); }
  .faq details p { padding: 0 22px 22px; font-size: clamp(15px, 4.2vw, 18px); }
  .member .av { border-radius: 30px; }
  .bgshape { width: 28vw; right: -5vw; top: 300px; }
  .mailrow { padding: 18px 20px; border-radius: 26px; gap: 14px; font-size: clamp(17px, 5vw, 24px); }
  .mailrow .btns { margin-left: 0; width: 100%; }
  .mailrow .send, .mailrow button { flex: 1; justify-content: center; height: 46px; }
  body.p-mint::before, body.p-yellow::before { top: 92px; border-radius: 28px 28px 0 0; }
}
/* very narrow screens: fold covers, flip covers, small windows */
@media (max-width: 360px) {
  .bar { gap: 6px; }
  .dot { height: 30px; width: 30px; min-width: 30px; }
  #btnMenuM { height: 34px; width: 34px; min-width: 34px; }
  .dots { gap: 5px; } .mnav { gap: 5px; }
  #btnSearch { padding: 0 16px; font-size: 16px; gap: 8px; }
  .pill-items > * { width: 42px; }
  .tools { gap: 8px; }
}
@media (max-width: 300px) { #btnSearch .lbl { display: none; } #btnSearch { justify-content: center; padding: 0; } .logo img { height: 18px; } }
/* short screens (flip covers, landscape phones) */
@media (max-width: 900px) and (max-height: 520px) {
  .hero-ctl { display: none; }
  .slide-copy { bottom: calc(var(--dock) + 16px); }
  .page, .panel { padding-top: 90px; }
  .page h1 { font-size: clamp(34px, 21vh, 90px); }
  .panel h2 { font-size: clamp(34px, 21vh, 100px); }
  .logo img { height: 22px; }
}

/* nothing may push the page wider than the screen (this is what zoomed phones out) */
.page, .panel { overflow-x: clip; }
html, body { max-width: 100%; overflow-x: clip; }

/* language tile in the profile pane */
.lang { display: grid; gap: 10px; padding: 14px 14px 14px; border-radius: 28px; color: var(--white); }
.lang small { font-size: 14px; font-weight: 600; opacity: .9; padding-left: 4px; }
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.langs button { height: 38px; border-radius: 19px; font-size: 15px; font-weight: 600; color: var(--white); background: rgba(244,242,255,.14); box-shadow: inset 0 0 0 1px rgba(244,242,255,.22); transition: background .25s, color .25s, transform .3s var(--spring); }
.langs button:hover { transform: scale(1.04); }
.langs button.on { background: var(--white); color: var(--blue); box-shadow: none; }
@media (min-width: 560px) and (max-width: 900px) { .langs { grid-template-columns: repeat(3, 1fr); } }

/* korean and japanese: no negative tracking, and a font that actually has the letters */
html[lang="ko"] *, html[lang="ja"] * { letter-spacing: 0 !important; }
html[lang="ko"] body { font-family: var(--font), "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html[lang="ja"] body { font-family: var(--font), "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; }
h1, h2, h3, .block p, .srow p { overflow-wrap: anywhere; }
.page h1, .panel h2 { hyphens: auto; }

/* shared footer on the inner pages */
.foot-in { margin-top: -34px; padding-top: 110px; z-index: 2; }
.outro nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { .page { padding-bottom: 60px; } .foot-in { margin-top: -28px; padding-top: 100px; } }
html[lang="ko"] .panel h2, html[lang="ja"] .panel h2 { font-size: clamp(48px, 11vw, 190px); line-height: 1; }
html[lang="ko"] .page h1, html[lang="ja"] .page h1 { font-size: clamp(44px, 10vw, 170px); line-height: 1.05; }
@media (max-width: 900px) {
  html[lang="ko"] .panel h2, html[lang="ja"] .panel h2 { font-size: clamp(34px, calc((100vw - 32px) / 6.6), 120px); }
  html[lang="ko"] .page h1, html[lang="ja"] .page h1 { font-size: clamp(32px, calc((100vw - 32px) / 6.2), 110px); }
}

/* ---------- sign in / create account ---------- */
.auth { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(83,63,255,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .35s var(--ease); }
.auth[hidden] { display: none; }
.auth.on { opacity: 1; }
.auth-card { position: relative; width: min(420px, 100%); background: var(--white); color: var(--blue); border-radius: 34px; padding: 28px 26px 26px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(46,34,153,.45); transform: translateY(24px) scale(.96); transition: transform .6s var(--spring); }
.auth.on .auth-card { transform: none; }
.auth-card h2 { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; padding-right: 48px; }
.auth-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; background: rgba(83,63,255,.1); color: var(--blue); transition: transform .3s var(--spring); }
.auth-x:hover { transform: scale(1.1); }
.auth-x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 26px; background: rgba(83,63,255,.1); }
.auth-tabs button { height: 44px; border-radius: 22px; font-weight: 700; font-size: 16px; color: var(--blue); transition: background .3s, color .3s; }
.auth-tabs button.on { background: var(--blue); color: var(--white); }
.auth form { display: grid; gap: 12px; }
.auth label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; padding-left: 6px; }
.auth input { height: 52px; border-radius: 26px; border: 2px solid transparent; background: rgba(83,63,255,.08); color: var(--blue); padding: 0 20px; font: inherit; font-size: 17px; font-weight: 500; outline: 0; width: 100%; transition: border-color .25s, background .25s; }
.auth input:focus { border-color: var(--blue); background: #fff; }
.auth .up-only { display: none; }
.auth[data-tab="up"] label.up-only { display: grid; }
.auth[data-tab="up"] p.up-only { display: block; }
.auth-hint { margin: -4px 0 0 8px; font-size: 13px; opacity: .8; }
.auth-err { margin: 0; padding: 12px 16px; border-radius: 20px; background: var(--yellow); color: var(--blue); font-weight: 600; font-size: 15px; line-height: 1.35; }
.auth-err[hidden], .auth-or[hidden], .auth-g[hidden] { display: none; }
.auth-go { height: 54px; border-radius: 27px; background: var(--blue); color: var(--white); font-weight: 700; font-size: 18px; transition: transform .35s var(--spring), opacity .2s; }
.auth-go:hover { transform: scale(1.02); }
.auth-go:disabled { opacity: .65; cursor: wait; }
.auth-or { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 2px; border-radius: 1px; background: rgba(83,63,255,.15); }
.auth-g { display: flex; justify-content: center; min-height: 44px; }
.auth :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
body.auth-open { overflow: hidden; }
@media (max-height: 700px) { .auth { place-items: start center; } }
.pf i.dotc.ini { color: var(--blue); font-style: normal; font-weight: 700; font-size: 20px; }

/* panes never grow wider than their column; long text is cut with an ellipsis */
.qp { grid-template-columns: minmax(0, 1fr); }
.pf { min-width: 0; }
.pf > span { min-width: 0; flex: 1; overflow: hidden; }
.pf b, .pf small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf b { font-weight: 600; }
.pf i.dotc.ph { overflow: hidden; padding: 0; }
.pf i.dotc img, .pfp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.langs button { min-width: 0; }

/* profile panel */
.pfp { display: grid; gap: 14px; padding: 16px; border-radius: 30px; color: var(--white); max-height: calc(100dvh - 130px); overflow-y: auto; scrollbar-width: none; }
.pfp::-webkit-scrollbar { display: none; }
.pfp-top { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.pfp-back { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; background: rgba(244,242,255,.16); transition: transform .3s var(--spring); }
.pfp-back:hover { transform: scale(1.1); }
.pfp-back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pfp-av { display: flex; align-items: center; gap: 16px; }
.pfp-ph { width: 78px; height: 78px; flex: none; border-radius: 50%; background: var(--mint); color: var(--blue); font-style: normal; font-weight: 700; font-size: 32px; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 1px 0 rgba(244,242,255,.55); }
.pfp-ph svg { width: 36px; height: 36px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; }
.pfp-btns { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.pfp-btns button { height: 36px; padding: 0 18px; border-radius: 18px; background: rgba(244,242,255,.2); box-shadow: inset 0 0 0 1px rgba(244,242,255,.28); font-weight: 600; font-size: 14px; transition: transform .3s var(--spring); }
.pfp-btns button:hover { transform: scale(1.05); }
.pfp-btns button[hidden] { display: none; }
.pfp-f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; position: relative; padding-left: 4px; }
.pfp-f input { height: 46px; border-radius: 23px; border: 2px solid transparent; background: rgba(244,242,255,.16); color: var(--white); padding: 0 16px; font: inherit; font-size: 16px; font-weight: 500; outline: 0; width: 100%; transition: border-color .25s; }
.pfp-f input::placeholder { color: rgba(244,242,255,.65); }
.pfp-f input:focus { border-color: var(--white); }
.pfp-f em { position: absolute; right: 16px; bottom: 14px; font-style: normal; font-size: 12px; opacity: .8; pointer-events: none; }
#pfAbout { padding-right: 56px; }
.favs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.favs button { min-width: 0; height: 42px; border-radius: 21px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; font-weight: 600; font-size: 14px; background: rgba(244,242,255,.14); box-shadow: inset 0 0 0 1px rgba(244,242,255,.24); transition: background .25s, color .25s, transform .3s var(--spring); }
.favs button:hover { transform: scale(1.04); }
.favs button i { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--c); color: var(--blue); font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.favs button[data-fav="olivia"] i { color: var(--white); }
.favs button.on { background: var(--white); color: var(--blue); box-shadow: none; }
.pfp-msg { margin: 0; min-height: 20px; font-size: 14px; font-weight: 600; text-align: center; }
.pfp-save { height: 50px; border-radius: 25px; background: var(--white); color: var(--blue); font-weight: 700; font-size: 17px; transition: transform .35s var(--spring), opacity .2s; }
.pfp-save:hover { transform: scale(1.025); }
.pfp-save:disabled { opacity: .65; }
@media (max-width: 900px) { .pfp { max-height: inherit; } }

/* a blue base inside the glass tiles keeps white text readable even over the yellow and mint pages */
.qp .lg { background: linear-gradient(160deg, rgba(83,63,255,.52), rgba(83,63,255,.34)); }
.qp .lg > .g-frost { backdrop-filter: blur(9px) saturate(1.1); -webkit-backdrop-filter: blur(9px) saturate(1.1); }

/* e-mail code step, and hidden things stay hidden */
.auth form[hidden], .qp [hidden], .auth-tabs[hidden] { display: none !important; }
.auth .codein { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .35em; padding-left: 28px; direction: ltr; }
.code-row { display: flex; justify-content: space-between; gap: 10px; }
.code-row button { height: 44px; padding: 0 18px; border-radius: 22px; background: rgba(83,63,255,.1); color: var(--blue); font-weight: 700; font-size: 15px; }
.code-row button:disabled { opacity: .6; }
#codeMsg { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; opacity: 1; word-break: break-word; }

/* more languages: three columns, own fonts, no tight tracking for non-Latin scripts */
.langs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.langs button { font-size: 14px; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[lang="zh"] *, html[lang="ar"] *, html[lang="ru"] *, html[lang="kk"] *, html[lang="el"] *, html[lang="mn"] * { letter-spacing: 0 !important; }
html[lang="zh"] body { font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="ar"] body { font-family: -apple-system, "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
/* Arabic reads right to left: the text turns, the page frame stays where it is */
html[lang="ar"] :is(h1, h2, h3, p, small, label, input, li, .t, .prow, .nt, .pf > span, .auth-card, .qp .sc, .faq, details, summary, .mail, .team) { direction: rtl; text-align: start; }
html[lang="ar"] .langs button, html[lang="ar"] .auth .codein, html[lang="ar"] #mail { direction: ltr; }
html[lang="ar"] .langs button[lang="ar"] { direction: rtl; }
html[lang="zh"] :is(h1, h2) { font-size-adjust: none; }
html[lang="ru"] :is(.slide-copy h1, .panel h2), html[lang="kk"] :is(.slide-copy h1, .panel h2), html[lang="el"] :is(.slide-copy h1, .panel h2), html[lang="mn"] :is(.slide-copy h1, .panel h2) { overflow-wrap: anywhere; hyphens: auto; }

/* heading sizes for the new scripts */
html[lang="ar"] .panel h2, html[lang="zh"] .panel h2 { font-size: clamp(48px, 11vw, 190px); line-height: 1.1; }
html[lang="ar"] .page h1, html[lang="zh"] .page h1 { font-size: clamp(44px, 9vw, 150px); line-height: 1.1; }
html[lang="ru"] .panel h2, html[lang="kk"] .panel h2, html[lang="el"] .panel h2, html[lang="mn"] .panel h2 { font-size: clamp(40px, 9vw, 160px); line-height: 1.02; }
html[lang="ru"] .page h1, html[lang="kk"] .page h1, html[lang="el"] .page h1, html[lang="mn"] .page h1 { font-size: clamp(38px, 8vw, 140px); line-height: 1.05; }
@media (max-width: 900px) {
  html[lang="ar"] .panel h2, html[lang="zh"] .panel h2 { font-size: clamp(34px, calc((100vw - 32px) / 6.6), 120px); }
  html[lang="ar"] .page h1, html[lang="zh"] .page h1 { font-size: clamp(32px, calc((100vw - 32px) / 6.2), 110px); }
  html[lang="ru"] .panel h2, html[lang="kk"] .panel h2, html[lang="el"] .panel h2, html[lang="mn"] .panel h2 { font-size: clamp(28px, calc((100vw - 32px) / 8.6), 100px); }
  html[lang="ru"] .page h1, html[lang="kk"] .page h1, html[lang="el"] .page h1, html[lang="mn"] .page h1 { font-size: clamp(28px, calc((100vw - 32px) / 8.2), 100px); }
}

/* language tile: short like the profile tile, opens when pressed */
.lang { gap: 0; padding: 0; }
.lang-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 18px; border-radius: 28px; color: var(--white); text-align: start; }
.lang-h > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lang-h small { padding: 0; font-size: 13px; font-weight: 500; opacity: .8; }
.lang-h b { font-size: 16px; font-weight: 600; }
.lang-h svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--spring); }
.lang.open .lang-h svg { transform: rotate(180deg); }
.langs-w { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.lang.open .langs-w { grid-template-rows: 1fr; }
.langs-w > .langs { min-height: 0; overflow: hidden; visibility: hidden; padding: 0 14px; transition: visibility 0s .45s, padding .45s var(--ease); }
.lang.open .langs-w > .langs { visibility: visible; padding: 2px 14px 14px; transition: visibility 0s, padding .45s var(--ease); }

/* ---------- smoother closing of the quick panels and the search field ---------- */
.qp { opacity: 0; transition: opacity .28s var(--ease), visibility 0s .3s; }
.qp.open { opacity: 1; transition: opacity .3s var(--ease), visibility 0s; }
.scrim { transition: opacity .35s var(--ease), visibility 0s .35s; }
.scrim.on { transition: opacity .4s var(--ease); }
.qp:not(.open) .sf { transition: width .3s var(--ease) !important; }
#btnSearch { transition: transform .45s var(--spring), background .3s, color .3s, opacity .22s var(--ease) .12s; }
#btnSearch[aria-expanded="true"] { transition: transform .45s var(--spring), background .3s, color .3s, opacity .08s; }
/* keep the blurred layers on their own compositing layer so Safari does not drop the blur */
.bar-bg i, .pill, .scrim, .qp .lg > .g-frost { transform: translateZ(0); -webkit-transform: translateZ(0); }
.bar-bg i { will-change: opacity; backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* store cards: slight grow on hover */
.block { transition: transform .45s var(--spring); }
@media (hover: hover) { .block:hover { transform: scale(1.03); } }
.hero { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-wrap { cursor: grab; }

/* store: hovering a card changes the page background behind it */
.block { position: relative; isolation: isolate; outline: none; }
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
body[data-title="n.store"] .page { z-index: 1; }
.stage > div { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1s var(--ease), clip-path 1s var(--ease); }
.stage svg { position: absolute; top: 0; bottom: 0; width: 70%; height: 100%; }
.sg { transform: translateX(-8%); }
.sg svg { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 100%); mask-image: linear-gradient(90deg, #000 10%, transparent 100%); opacity: .6; }
.sg i { position: absolute; inset: 0; background: radial-gradient(60% 90% at 0% 50%, rgba(244,242,255,.45), rgba(244,242,255,0) 70%); }
.stage > .sp { clip-path: inset(0 0 0 100%); opacity: 1; }
.sp svg { right: 0; opacity: .85; -webkit-mask-image: linear-gradient(270deg, #000 10%, transparent 100%); mask-image: linear-gradient(270deg, #000 10%, transparent 100%); }
.sp i { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(244,242,255,.6), rgba(244,242,255,0) 80%); -webkit-backdrop-filter: blur(34px); backdrop-filter: blur(34px); }
@media (hover: hover) {
  body:has(.fx-g:hover, .fx-g:focus-visible) .sg { opacity: 1; transform: none; }
  body:has(.fx-p:hover, .fx-p:focus-visible) .sp { clip-path: inset(0); }
}
.first { display: grid; gap: 28px; align-content: start; min-height: calc(100svh - 240px); }
@media (max-width: 900px) { .first { min-height: calc(100svh - var(--dock) - 190px); } }
