:root {
  --background: #100d17;
  --text: #f7f3fc;
  --soft: #c7becf;
  --lime: #d4ff55;
  --line: #39313f;
}
body { background-color: var(--background); }
.site-header {
  --bar-ink: #f6faf4;
  --bar-muted: #cad2c8;
  --bar-seam: #75807163;
  background: linear-gradient(125deg, #1b211d, #121713 55%, #181d19);
  color: var(--bar-ink);
  border: 0;
  border-block-end: 1px solid var(--bar-seam);
}
.site-header .header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 44px);
  min-height: 68px;
  height: auto;
  padding-block: 9px;
}
.site-header .wordmark { gap: 7px; font-size: clamp(25px, 2.4vw, 34px); }
.site-header .brand-bolt {
  width: 23px;
  height: 29px;
  background: linear-gradient(130deg, #f7ffce 0%, #d8ff6c 46%, #abde41 48%, #cefc62 85%);
}
.site-header .wordmark-title { color: #f8fbf5; }
.site-header .wordmark small { color: #cce891; font-size: .51rem; }
.site-header .primary-nav { justify-content: center; gap: clamp(1rem, 2.4vw, 2.8rem); }
.site-header .primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bar-muted);
  font-weight: 700;
  font-size: .98rem;
}
.site-header .primary-nav a:is(:hover,:focus-visible) { color: #e4ffab; }
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: clamp(5px, .65vw, 10px);
  justify-self: end;
}
html[lang="ps"] .header-locale[lang="en"],
html[lang="en"] .header-locale[lang="ps"] { display: none !important; }
.site-header .account-entry,
.has-js .site-header .cart-trigger.js-only,
.site-header .mobile-menu > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f8ef;
  background: #242a25;
  border: 1px solid #626c616c;
  border-radius: 100px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
}
.site-header .account-entry {
  gap: 9px;
  padding: 5px 15px;
  font-size: .92rem;
  font-weight: 700;
}
.account-glyph {
  position: relative;
  width: 16px;
  height: 18px;
  color: #dce7d7;
}
.account-glyph::before,
.account-glyph::after { position: absolute; content: ""; }
.account-glyph::before {
  inset: 0 auto auto 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.account-glyph::after {
  inset: auto 0 1px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 9px 9px 3px 3px;
}
.has-js .site-header .cart-trigger.js-only { gap: .4rem; }
.site-header #cart-count { color: #213012; background: #d7efae; }
.site-header .mobile-menu > summary { padding: 0; }
.site-header .mobile-menu > summary::after { display: none; }
.site-header :is(.account-entry,.cart-trigger,.mobile-menu > summary):is(:hover,:focus-visible),
.site-header .mobile-menu[open] > summary { border-color: #94a28b; background: #30392f; }
.mobile-menu { position: relative; display: block; border: 0; }
.settings-glyph {
  position: relative;
  width: 19px;
  height: 16px;
  background: linear-gradient(currentColor,currentColor) center 3px / 100% 1.5px no-repeat,
              linear-gradient(currentColor,currentColor) center 11px / 100% 1.5px no-repeat;
}
.settings-glyph::before,
.settings-glyph::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: #252d27;
}
.settings-glyph::before { inset: 0 auto auto 3px; }
.settings-glyph::after { inset: 8px 2px auto auto; }
.tool-reader {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tools-panel {
  position: absolute;
  z-index: 6;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 10px);
  width: min(16rem, 84vw);
  max-height: min(78svh, 32rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 7px;
  border: 1px solid #6d7869;
  border-radius: 16px;
  color: #f5f9f0;
  background: #222923;
  box-shadow: 0 14px 35px #070c08a6;
}
.tools-nav { display: none; }
.tools-nav a, .menu-language, .site-header .font-trigger, #catalog-install, .cinema-switches button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  width: 100%;
  padding: 5px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .97rem;
  line-height: 1.55;
  text-align: start;
}
.site-header .font-trigger, .cinema-switches button { cursor: pointer; }
.tools-nav a:is(:hover,:focus-visible),
.site-header .font-trigger:is(:hover,:focus-visible),
#catalog-install:is(:hover,:focus-visible),
.cinema-switches button:is(:hover,:focus-visible),
.menu-language:focus-within { color: #efffcb; background: #343e33; }
.display-settings .menu-language { display: none; }
.has-js .display-settings .menu-language { display: flex; }
.site-header .menu-language .language {
  min-width: 55px;
  min-height: 36px;
  padding: 3px 9px;
  border: 1px solid #7b8c72;
  border-radius: 100px;
  color: #eef7de;
  background: #303a2c;
  font-size: .91rem;
}
#catalog-install::after {
  content: "";
  width: 16px;
  height: 18px;
  background: #defaaf;
  clip-path: polygon(43% 4%, 57% 4%, 57% 51%, 72% 36%, 82% 44%, 50% 73%, 18% 44%, 28% 36%, 43% 51%, 43% 4%, 0 80%, 100% 80%, 100% 89%, 0 89%, 0 80%);
}
#catalog-install-status { padding: 3px 11px 8px; color: #d0dfbe; font-size: .88rem; line-height: 1.6; }
.font-trigger b { color: #e7f2d9; font: 700 1.12rem/1 var(--latin); }
.cinema-switches button[aria-pressed="true"] { color: #dcff8a; background: #2c3825; }
.sound-bars {
  width: 17px;
  height: 16px;
  background: linear-gradient(currentColor,currentColor) 0 50% / 2px 4px,
    linear-gradient(currentColor,currentColor) 5px 50% / 2px 9px,
    linear-gradient(currentColor,currentColor) 10px 50% / 2px 15px,
    linear-gradient(currentColor,currentColor) 15px 50% / 2px 6px;
  background-repeat: no-repeat;
}
.screen-corners {
  width: 17px;
  height: 14px;
  border: 1.6px solid currentColor;
  clip-path:polygon(0 0,38% 0,38% 22%,62% 22%,62% 0,100% 0,100% 43%,83% 43%,83% 57%,100% 57%,100% 100%,62% 100%,62% 78%,38% 78%,38% 100%,0 100%,0 57%,17% 57%,17% 43%,0 43%);
}
@media (max-width: 800px) {
  .site-header .header-inner { display: flex; justify-content: space-between; min-height: 60px; padding-block: 7px; }
  .site-header .primary-nav { display: none; }
  .tools-nav {
    display: grid;
    padding-block-end: 5px;
    margin-block-end: 5px;
    border-block-end: 1px solid var(--bar-seam);
  }
  .site-header .account-entry { padding-inline: 11px; }
}
@media (max-width: 360px) {
  .site-header .header-inner { width: calc(100% - 16px); gap: 5px; }
  .site-header .wordmark { gap: 3px; font-size: 23px; }
  .site-header .brand-bolt { width: 16px; height: 23px; }
  .site-header .header-actions { gap: 3px; }
  .site-header .account-entry { padding-inline: 8px; gap: 4px; font-size: .86rem; }
}

/* The studio's pale shell keeps the product lighting and navigation on one plane. */
.site-header {
  --bar-ink:#112d42; --bar-muted:#304f61; --bar-seam:#b4c9d1;
  background:linear-gradient(103deg,#fbfdfd,#eef7f7 72%,#f2f8fb);
}
.site-header .wordmark-title { color:#112e42; }
.site-header .wordmark small { color:#37686a; }
.site-header .brand-bolt { background:linear-gradient(145deg,#a7d848 8%,#418b39 59%,#1d7473); }
.site-header .primary-nav a:is(:hover,:focus-visible) { color:#006a77; text-decoration:underline; text-underline-offset:.3em; }
.site-header .account-entry,.has-js .site-header .cart-trigger.js-only,.site-header .mobile-menu > summary {
  color:#17384c; border-color:#9cb7bf; background:#ffffffb3; box-shadow:inset 0 1px white;
}
.site-header .account-glyph { color:#315469; }
.site-header .settings-glyph::before,.site-header .settings-glyph::after { background:#f1f8f8; }
.site-header :is(.account-entry,.cart-trigger,.mobile-menu > summary):is(:hover,:focus-visible),.site-header .mobile-menu[open] > summary { color:#093d47; border-color:#447c86; background:#dceff0; }
.site-header :is(a,button,summary):focus-visible { outline:2px solid #007285; outline-offset:2px; }
.site-header .tools-panel :is(a,button):focus-visible { outline-color:#9af1ec; }
.site-header #cart-count { background:#17495a; color:white; }

/* Playback and framing live in the header's closed presentation settings. */
.studio-settings { border-block: 1px solid #536054; padding: 2px 0; }
.studio-settings > summary,
.studio-settings button {
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .94rem;
  text-align: start;
  cursor: pointer;
}
.studio-settings > summary::after {
  content: "⌄";
  background: none;
  width: auto;
  height: auto;
  color: #b9cdbb;
  line-height: 1;
}
.studio-settings[open] > summary::after { transform: rotate(180deg); }
.studio-settings :is(summary,button):is(:hover,:focus-visible) { background: #364237; }
.studio-settings .studio-playback { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
#motion-state { font-size: .84rem; color: #d2ddd0; }
.studio-settings [aria-pressed="true"] { background: #2d3d2b; color: #def5aa; }
.studio-settings .studio-flavor-step, .studio-settings .camera-shots {
  display: flex;
  gap: 2px;
  margin-block: 3px;
}
.studio-settings :is(.studio-flavor-step,.camera-shots) button { flex: 1 1 0; padding-inline: 3px; text-align: center; }

[lang="ps"] .wordmark-title {
  font-family: var(--font-ps), sans-serif;
  font-style: normal;
  letter-spacing: normal;
  line-height: 1.05;
}
[lang="ps"] .wordmark-title small { margin-inline-start: 0; }
