viki-site-header,
viki-site-footer {
  display: block;
  --viki-shell-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --viki-shell-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--viki-shell-font);
}

viki-store-badges { display: block; width: fit-content; max-width: 100%; font-family: var(--viki-shell-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif); }
.viki-store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.viki-store-badge { min-width: 176px; min-height: 58px; display: inline-flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.75); border-radius: 13px; padding: 9px 14px; color: #151a22 !important; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.15); text-decoration: none !important; transition: transform .25s cubic-bezier(.22,.85,.28,1), box-shadow .25s ease, color .25s ease; }
.viki-store-badge:hover { transform: translateY(-3px); color: #315f8b !important; box-shadow: 0 20px 38px rgba(0,0,0,.22); }
.viki-store-badge:focus-visible { outline: 2px solid #79d9ff; outline-offset: 3px; }
.viki-store-badge svg { width: 27px; height: 27px; display: block; flex: none; }
.viki-store-badge small, .viki-store-badge strong { display: block; color: inherit; line-height: 1.04; white-space: nowrap; }
.viki-store-badge small { margin-bottom: 4px; font-size: .63rem; font-weight: 560; letter-spacing: .01em; }
.viki-store-badge strong { font-size: .99rem; font-weight: 690; }

viki-site-header { width: 100%; position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.viki-header { width: min(calc(100% - 56px), 1000px); margin: 26px auto 0; pointer-events: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: white; background: rgba(12,16,29,.62); backdrop-filter: blur(20px) saturate(145%); box-shadow: 0 14px 45px rgba(8,20,33,.13), inset 0 1px rgba(255,255,255,.09); transition: width .28s cubic-bezier(.22,.85,.28,1), margin .28s ease, background .28s ease, box-shadow .28s ease; }
.viki-header--scrolled, .viki-header--open { width: min(calc(100% - 40px), 1040px); margin-top: 10px; background: rgba(12,16,29,.88); box-shadow: 0 18px 55px rgba(7,18,31,.22), inset 0 1px rgba(255,255,255,.1); }
.viki-header__inner { min-height: 58px; padding: 7px 8px 7px 20px; display: flex; align-items: center; gap: clamp(20px,3vw,40px); }
.viki-header__brand { width: 76px; flex: 0 0 auto; display: inline-flex; transition: transform .22s cubic-bezier(.22,.85,.28,1), filter .22s ease; }
.viki-header__brand:hover { transform: scale(1.03); filter: drop-shadow(0 6px 16px rgba(121,217,255,.26)); }
.viki-header__brand img { width: 100%; height: auto; display: block; }
.viki-header__panel { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.viki-header__nav, .viki-header__actions, .viki-header__actions [data-viki-auth] { display: flex; align-items: center; }
.viki-header__nav { gap: clamp(15px,1.6vw,27px); }
.viki-header__actions { min-width: 220px; justify-content: flex-end; gap: 13px; }
.viki-header__actions [data-viki-auth] { gap: 13px; }
.viki-language { display:inline-flex; align-items:center; gap:4px; color:rgba(244,248,252,.45); font-size:.6rem; letter-spacing:.05em; }
.viki-language button { border:0; padding:5px 4px; color:inherit; background:transparent; font:inherit; font-weight:700; letter-spacing:inherit; cursor:pointer; transition:color .2s ease; }
.viki-language button:hover, .viki-language button[aria-pressed="true"] { color:#fff; }
.viki-language--footer { margin-left:auto; color:rgba(226,233,242,.4); }
.viki-header__link, .viki-header__signin { position: relative; color: rgba(244,248,252,.77); font-family: var(--viki-shell-font); font-size: .73rem; font-weight: 560; line-height: 1; white-space: nowrap; transition: color .2s ease, transform .2s cubic-bezier(.22,.85,.28,1); }
.viki-header__link::after, .viki-header__signin::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: #79d9ff; transition: right .22s cubic-bezier(.22,.85,.28,1); }
.viki-header__link:hover, .viki-header__signin:hover, .viki-header__link[aria-current="page"] { color: white; transform: translateY(-1px); }
.viki-header__link:hover::after, .viki-header__signin:hover::after, .viki-header__link[aria-current="page"]::after { right: 0; }
.viki-header__button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 0 17px; color: #11141a; background: white; font-family: var(--viki-shell-font); font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 28px rgba(0,0,0,.12); transition: transform .22s cubic-bezier(.22,.85,.28,1), box-shadow .22s ease, color .22s ease; }
.viki-header__button:hover { transform: translateY(-2px) scale(1.01); color: #315f8b; box-shadow: 0 14px 34px rgba(70,161,211,.22); }
.viki-header__avatar { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid rgba(121,217,255,.5); border-radius: 50%; color: #e6f8ff; background: rgba(90,166,211,.2); font-size: .68rem; font-weight: 750; box-shadow: 0 0 0 4px rgba(121,217,255,.05); transition: transform .22s cubic-bezier(.22,.85,.28,1), box-shadow .22s ease; }
.viki-header__avatar:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 0 0 5px rgba(121,217,255,.1), 0 0 24px rgba(121,217,255,.18); }
.viki-header__auth-loading { width: 186px; height: 38px; border-radius: 999px; background: linear-gradient(100deg,rgba(255,255,255,.04),rgba(255,255,255,.12),rgba(255,255,255,.04)); background-size: 220% 100%; animation: viki-shell-loading 1.4s ease infinite; }
.viki-header--authenticated .viki-header__web-nav { display: none; }
.viki-header__menu { width: 42px; height: 42px; margin-left: auto; display: none; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: white; background: rgba(255,255,255,.07); cursor: pointer; }
.viki-header__menu span { width: 16px; height: 1px; display: block; grid-area: 1/1; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
.viki-header__menu span:first-child { transform: translateY(-5px); }
.viki-header__menu span:last-child { transform: translateY(5px); }
.viki-header--open .viki-header__menu span:first-child { transform: rotate(45deg); }
.viki-header--open .viki-header__menu span:nth-child(2) { opacity: 0; }
.viki-header--open .viki-header__menu span:last-child { transform: rotate(-45deg); }

.viki-footer { margin: 0; padding: clamp(62px,8vw,100px) 24px 28px; color: white; background: #0c101d; }
.viki-footer__grid, .viki-footer__base { width: min(100%,1320px); margin: 0 auto; }
.viki-footer__grid { display: grid; grid-template-columns: minmax(260px,2fr) repeat(3,minmax(130px,1fr)); gap: clamp(34px,5vw,76px); }
.viki-footer__brand img { width: 82px; height: auto; }
.viki-footer__brand p { max-width: 410px; margin: 20px 0 0; color: rgba(226,233,242,.62); font-size: .87rem; line-height: 1.72; }
.viki-footer__download { margin-top: 28px; }
.viki-footer__download > span { display: block; margin-bottom: 12px; color: rgba(226,233,242,.55); font-size: .68rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.viki-footer__download .viki-store-badge { min-width: 151px; min-height: 52px; padding: 8px 10px; }
.viki-footer__download .viki-store-badge svg { width: 24px; height: 24px; }
.viki-footer__download .viki-store-badge strong { font-size: .86rem; }
.viki-footer__download .viki-store-badge small { font-size: .56rem; }
.viki-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.viki-footer__nav p { margin: 0 0 7px; color: rgba(226,233,242,.4); font-size: .63rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.viki-footer__nav a { color: rgba(238,243,249,.7); font-size: .83rem; line-height: 1.45; transition: color .2s ease, transform .2s cubic-bezier(.22,.85,.28,1); }
.viki-footer__nav a:hover { color: #a5eaff; transform: translateX(4px); }
.viki-footer__base { margin-top: clamp(42px,6vw,70px); padding-top: 23px; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(226,233,242,.38); font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }
.viki-footer__base p { margin: 0; }
.viki-footer__base a:hover { color: white; }

@keyframes viki-shell-loading { from { background-position:100% 0; } to { background-position:-120% 0; } }

@media (max-width:1120px) {
  .viki-header__menu { display:grid; }
  .viki-header__panel { position:absolute; top:calc(100% + 9px); left:0; right:0; padding:12px; display:grid; gap:0; border:1px solid rgba(255,255,255,.13); border-radius:22px; background:rgba(10,14,25,.97); box-shadow:0 28px 80px rgba(0,0,0,.35); opacity:0; visibility:hidden; transform:translateY(-8px) scale(.985); transform-origin:top right; transition:opacity .2s ease,visibility .2s ease,transform .22s cubic-bezier(.22,.85,.28,1); }
  .viki-header--open .viki-header__panel { opacity:1; visibility:visible; transform:none; }
  .viki-header__nav { display:grid; gap:0; }
  .viki-header__link { padding:13px 12px; border-radius:10px; }
  .viki-header__link::after { display:none; }
  .viki-header__link:hover { background:rgba(255,255,255,.06); transform:none; }
  .viki-header__actions { min-width:0; margin-top:8px; padding:12px 8px 4px; justify-content:flex-start; border-top:1px solid rgba(255,255,255,.09); }
}

@media (max-width:760px) {
  .viki-header { width:calc(100% - 40px); margin-top:20px; }
  .viki-header--scrolled, .viki-header--open { width:calc(100% - 24px); margin-top:8px; }
  .viki-header__inner { min-height:54px; padding-left:17px; }
  .viki-header__brand { width:70px; }
  .viki-header__actions { flex-wrap:wrap; }
  .viki-header__actions [data-viki-auth] { flex-wrap:wrap; }
  .viki-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:38px 24px; }
  .viki-footer__brand { grid-column:1/-1; }
}

@media (max-width:460px) {
  .viki-store-badges { width: 100%; }
  .viki-store-badge { min-width: 0; flex: 1 1 144px; }
  .viki-header__actions { align-items:stretch; }
  .viki-header__signin { padding:12px 4px; }
  .viki-header__button { flex:1; }
  .viki-footer { padding-inline:20px; }
  .viki-footer__grid { grid-template-columns:1fr 1fr; }
  .viki-footer__nav:last-child { grid-column:1/-1; }
  .viki-footer__base { align-items:flex-start; flex-direction:column; }
  .viki-language--footer { margin-left:0; }
}

@media (prefers-reduced-motion:reduce) { .viki-header__auth-loading { animation:none; } }
