:root {
  --kant-nav-filter: blur(16px) brightness(.4);
  --kant-card-edge: linear-gradient(135deg, rgb(255 255 255 / 12%), transparent 28%, transparent 72%, rgb(255 255 255 / 6%));
}
.kw-header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 40; width: min(1000px, calc(100% - 48px)); margin: 0; }
.kw-header-scope { display: contents; }
.kw-header-inner { width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 9px 12px 9px 25px; border: 0; border-radius: 999px; overflow: hidden; clip-path: inset(0 round 999px); }
.kw-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 22px; font-weight: 600; }
.kw-brand img { width: 30px; height: 30px; object-fit: contain; }
.kw-desktop-nav { display: flex; align-items: center; gap: 32px; }
.kw-desktop-nav a { display: inline-flex; align-items: center; gap: 5px; color: #aaaab3; font-size: 14px; min-height: 44px; transition: color .18s; }
.kw-desktop-nav a:hover, .kw-desktop-nav a[aria-current] { color: #fff; }
.kw-account { display: flex; align-items: center; gap: 9px; background: #f2f2f4; color: #151517; padding: 9px 19px; min-height: 44px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .18s; }
.kw-header-right { display: flex; align-items: center; gap: 5px; }
.kw-header .kw-header-right .kw-signin {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 17px; border: 1px solid #959599; border-radius: 999px;
  background: transparent; color: #f3f3f5; font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 600;
  text-decoration: none; transition: background-color 140ms ease, border-color 140ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .kw-header .kw-header-right .kw-signin:hover { background: #ffffff14; border-color: #dedee2; }
}
.kw-header .kw-header-right .kw-signin:active { background: #ffffff20; }
.kw-header .kw-profile-trigger {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; max-width: min(180px, 40vw);
  padding: 4px 10px 4px 4px; border: 0; border-radius: 999px; background: transparent; user-select: none;
  color: #f3f3f4; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s ease;
}
.kw-header .kw-profile-trigger:is(:hover,[aria-expanded="true"]) { background: #ffffff0d; }
.kw-profile-trigger > svg { flex: none; color: #adadb2; }
.kw-profile-caret { transition: transform .16s ease; }
.kw-profile-trigger[aria-expanded="true"] .kw-profile-caret { transform: rotate(180deg); }
.kw-profile-avatar { display: grid; place-items: center; overflow: hidden; flex: none; width: 29px; height: 29px; border-radius: 50%; background: #246289; color: #f2f9ff; font-size: 13px; font-weight: 600; }
.kw-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.kw-profile-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-header .kw-guest-language { padding-inline: 10px; min-height: 44px; gap: 6px; color: #bebec4; font-size: 13px; font-weight: 500; }
.kw-header .kw-account-popover {
  position: absolute; top: var(--kw-menu-top, 100%); left: var(--kw-menu-left, 0px);
  width: 208px; max-width: 100%;
  transform-origin: clamp(16px, var(--kw-menu-origin, 75%), calc(100% - 16px)) top;
}
.kw-header .kw-header-menu {
  padding: 8px; border-radius: 24px;
  color: #f1f1f3; overflow: hidden;
  visibility: hidden; opacity: 0; transform: translateY(-5px) scale(.98);
  transition: opacity 140ms ease-out, transform 180ms cubic-bezier(.16,1,.3,1), visibility 0s linear 180ms;
}
.kw-header .kw-header-menu[data-open=true] {
  visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
}
.kw-header .kw-account-popover[data-open=false] { transform: translateY(-5px); }
.kw-header-inner, .kw-header .kw-header-menu {
  background: #101011;
  box-shadow: none;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .kw-header-inner, .kw-header .kw-header-menu {
    background: transparent;
    -webkit-backdrop-filter: var(--kant-nav-filter);
    backdrop-filter: var(--kant-nav-filter);
  }
}
.kw-account-popover :is(a,button) {
  display: grid; grid-template-columns: 18px minmax(0,1fr) 16px; align-items: center; gap: 10px;
  width: 100%; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 16px;
  background: transparent; color: #d9d9de; font-size: 15px; font-weight: 500; line-height: 20px;
  text-align: start; text-decoration: none; cursor: pointer;
}
.kw-account-popover :is(a,button) > :first-child { justify-self: center; }
.kw-account-popover > a { grid-template-columns: 18px minmax(0,1fr); }
.kw-account-popover .kw-language-selected { color: #d8d8dc; justify-self: end; }
.kw-account-popover a + .kw-pop-languages { margin-top: 4px; }
.kw-account-popover :is(a,button):focus-visible { outline: 1px solid #aaaab2; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .kw-account-popover :is(a,button):hover { background: #ffffff0d; }
}
@media (max-width: 760px) {
  .kw-account-popover :is(a,button) { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .kw-header .kw-header-menu[data-open] { transition: none; transform: none; }
  .kw-profile-caret { transition: none; }
}
@media (max-width: 360px) {
  .kw-header .kw-guest-language { gap: 4px; padding-inline: 7px; }
  .kw-header .kw-header-right .kw-signin { padding: 4px 12px; }
  .kw-header-inner > .kw-brand { flex: none; }
  .kw-header-right { min-width: 0; }
  .kw-header-right .kw-profile-trigger { min-width: 0; }
}
.kw-language-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.06); color: #c8c8cf; font-size: 11px; font-weight: 600; transition: background .18s, color .18s; }
.kw-language-toggle:hover { background: rgba(255,255,255,.12); color: #fff; }
.kw-language-flag { display: inline-flex; width: 16px; height: 16px; align-items: center; justify-content: center; }
.kw-account:hover { background: #fff; }
.kw-site .kw-menu-toggle { display: none; }
.kw-mobile-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; transform-origin: top right; }
.kw-mobile-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; padding: 12px 17px; border-radius: 16px; color: #d9d9de; font-size: 15px; }
.kw-mobile-menu a:hover { background: #ffffff0a; color: #fff; }
@media (hover: none) and (pointer: coarse) {
  html body #root .kw-header .kw-header-inner, #root .kw-cookie {
    background: rgb(12 12 14 / 96%) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  html body #root .kw-header .kw-header-inner { clip-path: none; }
}
.kw-icon-button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.kw-icon-button:hover { background: #ffffff15; }
.kid-profile .kw-header .kw-account, .kw-site:has(.kw-plans) .kw-header .kw-account { background: #2c2c2e; color: #f4f4f5; }
.kid-profile .kw-header .kw-account:hover, .kw-site:has(.kw-plans) .kw-header .kw-account:hover { background: #38383b; }

@media (max-width: 1000px) {
  .kw-header-inner { width: 100%; }
}
@media (max-width: 760px) {
  .kw-header { top: 12px; width: calc(100% - 24px); }
  .kw-header-inner { width: 100%; min-height: 58px; padding: 7px 8px 7px 17px; gap: 12px; }
  .kw-desktop-nav { display: none; }
  .kw-site .kw-menu-toggle { display: grid; }
  .kw-mobile-menu { display: block; }
  .kw-brand { font-size: 20px; }
  .kw-brand img { width: 26px; height: 26px; }
  .kw-account { font-size: 12px; min-height: 40px; padding-inline: 14px; }
  .kw-language-toggle { min-height: 38px; padding-inline: 8px; }
}
@media (max-width: 359px) {
  .kw-header-inner { width: 100%; }
}

.kid-profile .portals-market-kant {
  position: absolute;
  top: 0;
  height: 100dvh;
  padding-top: var(--cabinet-bar-bottom);
  scroll-padding-top: var(--cabinet-bar-bottom);
}
.kid-profile .portals-market-kant > .pm-cabinet-sheet-host {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.kid-profile .pm-cabinet-sheet-host:has(> .pm-sheet-layer:not([data-phase="prepared"],[data-phase="closed"])) {
  pointer-events: auto;
}
.kid-profile .portals-market-kant > .pm-cabinet-sheet-host > .pm-sheet-layer {
  --kant-sheet-top: var(--cabinet-bar-bottom);
  --kant-sheet-bottom: 8px;
  top: var(--pm-app-viewport-top, 0px);
  height: min(100dvh, var(--pm-app-viewport-height, 100dvh));
}
.kid-profile .portals-market-kant .pm-sheet-layer > .pm-sheet {
  bottom: var(--kant-sheet-bottom);
  min-height: 0;
  max-height: calc(100% - var(--kant-sheet-top) - var(--kant-sheet-bottom));
}
.kid-profile .kw-header {
  --cabinet-header-opacity: 1;
  visibility: visible;
  transition: visibility 0s;
}
.kid-profile .kw-header-inner {
  opacity: var(--cabinet-header-opacity);
  transition: opacity 280ms cubic-bezier(.4, 0, .2, 1);
}
.kid-profile:has(.pm-sheet-layer:is([data-phase="open"], [data-phase="settled"])) .kw-header {
  --cabinet-header-opacity: 0;
  visibility: hidden;
  transition-delay: 280ms;
}
.kid-profile:has(.pm-sheet-layer:not([data-phase="prepared"], [data-phase="closed"])) .kw-header {
  pointer-events: none;
  interactivity: inert;
}
@media (max-width: 760px), (max-width: 859px) and (max-height: 500px) and (pointer: coarse) {
  .kid-profile .portals-market-kant > .pm-cabinet-sheet-host > .pm-sheet-layer {
    --kant-sheet-top: max(12px, env(safe-area-inset-top));
    --kant-sheet-bottom: 0px;
  }
}

.kid-auth{--kid-face: #232325;--kid-copy: #aaaab0;--kid-blue-face: #0879c2}.kid-auth .kid-card{position:relative}
.kid-auth .kid-card p { margin: 0 0 20px; font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--kid-copy); text-wrap: balance; }
.kid-auth .kid-card .kid-providers > :is(button,a) {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; height: auto; padding: 11px 38px; gap: 0;
  border: 1px solid transparent; border-radius: 999px; background: var(--kid-face); color: #f0f0f2;
  font-family: inherit; font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: 0;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: none; scale: none; transform: none;
  transition: background-color 130ms ease-out, color 130ms ease-out, opacity 130ms ease-out;
}
.kid-auth .kid-card .kid-providers > :is(.kid-provider-telegram,.kid-new-link) {
  color: white; background: var(--kid-blue-face);
}
.kid-auth .kid-card::before,
.kid-auth .kid-providers > .kid-provider-telegram::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--kant-card-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.kid-auth .kid-providers > .kid-provider-telegram::before {
  inset: -1px;
  background: linear-gradient(135deg, rgb(255 255 255 / 46%), rgb(255 255 255 / 13%) 30%, rgb(255 255 255 / 8%) 70%, rgb(255 255 255 / 30%));
}
.kid-auth .kid-provider-telegram:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}
.kid-auth .kid-card .kid-providers > :is(button,a) > svg {
  position: absolute; inset-inline-start: 15px; width: 19px; height: 19px; flex: none;
}
.kid-auth .kid-card .kid-providers > :is(.kid-provider-telegram,.kid-new-link) > svg { color: white; }
.kid-auth .kid-card .kid-providers > .kid-provider-telegram > svg { width: 22px; height: 22px; }
@media (max-width: 360px) {
  .kid-auth .kid-card .kid-providers > :is(button,a) { padding-inline: 32px; }
  .kid-auth .kid-card .kid-providers > .kid-provider-telegram { padding-inline: 34px 24px; font-size: 14px; }
  .kid-auth .kid-card .kid-providers > :is(button,a) > svg { inset-inline-start: 12px; width: 17px; height: 17px; }
}
@media (hover: hover) and (pointer: fine) {
  .kid-auth .kid-card .kid-providers > :is(.kid-provider-telegram:enabled,.kid-new-link):hover { background: #0972b7; }
  .kid-auth .kid-card .kid-entry-link:hover { color: #fff; }
}
.kid-auth .kid-card .kid-entry-link {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px;
  margin: 6px 0 -6px; padding: 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--kid-copy); font: inherit;
  font-size: 14px; line-height: 20px; text-decoration: none; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .kid-auth .kid-card .kid-providers > :is(button,a) { transition: none; }
}

.kid-profile .pm-profile-view .pm-shell {
  --pm-profile-bottom-reserve: max(24px, env(safe-area-inset-bottom));
}
.kid-profile .pm-profile-bell[data-unread=true]::after {
  content: ''; position: absolute; top: 9px; right: 10px; width: 6px; height: 6px;
  background: currentColor; border-radius: 50%;
}

.kid-profile .pm-wallet-actions {
  --wallet-action-fade: 280ms;
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.kid-profile .portals-market-kant[data-profile-view] .pm-wallet-toolbar .pm-wallet-actions .pm-wallet-plan-action[href] {
  flex: 0 0 auto; width: auto; padding: 0 13px; gap: 7px; white-space: nowrap;
  font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
  transition: background-color var(--wallet-action-fade) cubic-bezier(.25,.1,.25,1);
}
.kid-profile .pm-wallet-actions + .pm-coalition-badge { min-width: 0; }
.kid-profile .pm-wallet-actions + .pm-coalition-badge strong {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .kid-profile .portals-market-kant .pm-wallet-toolbar .pm-wallet-plan-action:hover { background-color: rgb(255 255 255 / 15%); }
}
.kid-profile .pm-content > .pm-website-programs {
  position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px;
  background: #161616; padding: 4px; border-radius: 30px; overflow: hidden;
}
.kid-profile .pm-website-programs .pm-program-row { position: relative; display: flex; align-items: center; min-width: 0; }
.kid-profile .pm-website-programs .pm-program-row + .pm-program-row::before {
  content: ''; position: absolute; inset: 12px auto 12px -4px; width: 1px; background: #ffffff12;
}
.kid-profile .pm-website-programs .pm-program-open {
  flex: 1; min-width: 0; min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  text-align: start; color: inherit; background: transparent; border: 0; border-radius: 24px; cursor: pointer;
}
.kid-profile .pm-website-programs .pm-program-art { flex: none; width: 34px; height: 34px; display: grid; place-items: center; }
.kid-profile .pm-website-programs .pm-program-art img { width: 100%; height: 100%; object-fit: contain; }
.kid-profile .pm-website-programs .pm-program-copy { flex: 1; display: grid; gap: 3px; min-width: 0; }
.kid-profile .pm-website-programs .pm-program-copy strong { font-size: 15px; font-weight: 600; line-height: 19px; }
.kid-profile .pm-website-programs .pm-program-copy small { font-size: 13px; font-weight: 400; line-height: 17px; color: #aaa9ae; white-space: normal; }
.kid-profile .pm-website-programs .pm-program-share {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-inline-end: 4px;
  background: transparent; color: #d2d0d5; border: 0; border-radius: 50%; cursor: pointer;
}
.kid-profile :is(.pm-wallet-plan-action, .pm-profile-bell, .pm-program-open, .pm-program-share):focus-visible {
  outline: 2px solid currentColor; outline-offset: -4px;
}
@media (max-width: 720px) {
  .kid-profile .pm-content > .pm-website-programs { grid-template-columns: 1fr; gap: 0; }
  .kid-profile .pm-website-programs .pm-program-row + .pm-program-row::before {
    inset: 0 14px auto 58px; width: auto; height: 1px;
  }
}
.kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch {
  display: inline-grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px;
  box-sizing: border-box; padding: 3px; height: 44px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: #19191b;
}
.kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch button {
  position: relative; box-sizing: border-box; height: 38px; min-height: 38px; padding: 0 14px;
  background: transparent; color: #aaaab0; border: 0; border-radius: 999px; box-shadow: none;
  font-weight: 500; transition: color 130ms ease-out, background-color 130ms ease-out;
}
.kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch button[data-active=true] {
  background: #38373b; color: #fff; font-weight: 500;
}
.kid-profile .pm-sheet :is(.pm-install-hero, button.pm-primary-button, .pm-reissue-cancel) { position: relative; }
.kid-profile .portals-market-kant :is(.pm-install-hero, button.pm-primary-button, .pm-reissue-cancel, .pm-install-os-switch button[data-active=true])::after,
.kid-profile .portals-market-kant .pm-website-programs::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; corner-shape: inherit;
  background: var(--kant-card-edge); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.kid-profile .portals-market-kant { --pm-profile-press-scale: 1; --pm-profile-press-shift: 0px; }
.kid-profile .portals-market-kant :is(button:enabled,a[href]):not(.pm-action-swipe-thumb,.pm-sheet-overlay):is(:active,[data-pm-pressed=true]) {
  scale: none !important; translate: none !important;
}
.kid-profile .portals-market-kant :is(.pm-profile-menu-button, .pm-program-open, .pm-program-share,
  .pm-module, .pm-primary-button, .pm-reissue-cancel, .pm-plan-page-action, .pm-install-os-switch button,
  .pm-duration-options button, .pm-payment-groups button, .pm-locale-switch button):is(:active,[data-pm-pressed=true]) {
  transform: none !important;
}
.kid-profile .pm-website-programs :is(.pm-program-open,.pm-program-share):enabled:hover { background: transparent; }
.kid-profile .portals-market-kant .pm-profile-view .pm-tools-panel > .pm-module { grid-template-columns: 36px minmax(0,1fr) 15px; }
.kid-profile .portals-market-kant .pm-profile-view :is(.pm-tools-panel,.pm-website-programs) .pm-chevron { display: block; flex: none; width: 15px; height: 15px; color: #94949a; }
.kid-profile .portals-market-kant .pm-profile-view :is(.pm-tools-panel > .pm-module,.pm-program-open,.pm-program-share):enabled:is(:hover,:active,[data-pm-pressed=true]) { background: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .kid-profile .portals-market-kant[data-profile-view] .pm-profile-view :is(.pm-tools-panel > .pm-module,.pm-program-open,.pm-program-share) {
    transition: scale 120ms cubic-bezier(.32,0,.2,1), translate 120ms cubic-bezier(.32,0,.2,1);
  }
  .kid-profile .portals-market-kant[data-profile-view] .pm-profile-view :is(.pm-tools-panel > .pm-module,.pm-program-open,.pm-program-share):enabled:is(:active,[data-pm-pressed=true]):not([data-pm-pressed=false]) {
    scale: .985 !important; translate: 0 .5px !important; opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kid-profile .pm-wallet-actions { --wallet-action-fade: 0s; }
  .kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch button { transition: none; }
}

/* The website header already takes up room inside the scrolling viewport. */
.kid-profile .portals-market-kant[data-view] > .pm-route-stage,
.kid-profile .portals-market-kant[data-view] > .pm-route-stage > .pm-motion-stage,
.kid-profile .portals-market-kant[data-view] > .pm-route-stage > .pm-motion-stage > .pm-motion-frame { min-height: 0; }

.kid-profile .portals-market-kant .pm-sheet {
  --cabinet-sheet-surface: #0b0b0c;
  --cabinet-sheet-inset: #0e0e0f;
  --cabinet-inset: var(--cabinet-sheet-inset);
  background-color: var(--cabinet-sheet-surface);
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-install-requirements,.pm-reissue-current,.pm-reissue-notice,
  .pm-plan-detail-list,.pm-duration-summary,.pm-consent-method,.pm-consent-legal,.pm-payment-tip,.pm-partner-surface,.pm-referral-benefits,
  .pm-notification-feed,.pm-payment-groups > button:not([aria-pressed=true]):not([data-active=true])) {
  background-color: var(--cabinet-sheet-inset);
}
@media (any-pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .kid-profile .portals-market-kant,
  .kid-profile .portals-market-kant .pm-sheet .pm-sheet-body { overscroll-behavior-y: contain; }
  .kid-profile .portals-market-kant { touch-action: manipulation; }
  .kid-profile .portals-market-kant[data-view] > .pm-route-stage { min-height: 100%; overflow: clip; }
  .kid-profile .portals-market-kant .pm-route-stage[data-edge-pull],
  .kid-profile .portals-market-kant .pm-sheet .pm-sheet-body[data-edge-pull] {
    touch-action: pan-x pinch-zoom;
  }
}
.kid-profile .pm-sheet-body > :is(h2,.pm-sheet-title):first-child { touch-action: none; }
.kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs) { background-color: #141415; }

/* The catalog preview uses a continuous corner. Short totals need less corner area than the grouped rows. */
.kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs,.pm-upgrade-price-summary,.pm-web-plan-page .pm-plan-purchase-summary,
  .pm-sheet :is(.pm-partner-surface,.pm-partner-level-grid > article,.pm-referral-guide-card,.pm-referral-history-balance,.pm-referral-history-panel,.pm-invitees-summary,.pm-invitees-empty,.pm-invitees-list)),
.kw-site .kw-plans .kw-plan-summary {
  --panel-corner: 32px;
  border-radius: var(--panel-corner);
  corner-shape: var(--kant-catalog-curve, superellipse(1.35));
}
.kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs) {
  --panel-corner: clamp(46px, 6vw, 54px);
}
.kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs,.pm-upgrade-price-summary,.pm-web-plan-page .pm-plan-purchase-summary,
  .pm-sheet :is(.pm-partner-surface,.pm-partner-level-grid > article,.pm-referral-guide-card,.pm-referral-history-balance,.pm-referral-history-panel,.pm-invitees-summary,.pm-invitees-empty,.pm-invitees-list))::before,
.kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs,.pm-upgrade-price-summary,.pm-web-plan-page .pm-plan-purchase-summary,
  .pm-sheet :is(.pm-partner-surface,.pm-partner-level-grid > article,.pm-referral-guide-card,.pm-referral-history-balance,.pm-referral-history-panel,.pm-invitees-summary,.pm-invitees-empty,.pm-invitees-list))::after,
.kw-site .kw-plans .kw-plan-summary::after { border-radius: inherit; corner-shape: inherit; }

/* WebKit paints native rounded backgrounds and their contents in the same layer. */
@supports not (corner-shape: superellipse(1.35)) {
  .kid-profile .portals-market-kant :is(.pm-tools-panel,.pm-content > .pm-website-programs) {
    --panel-corner: 30px;
  }
}
.kid-profile {
  --cabinet-inset: #0b0b0c;
  --cabinet-selected: #29292c;
}
.kid-profile .portals-market-kant .pm-profile-plan-picker :is(.pm-plan-pills, .pm-period-selector),
.kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch,
.kid-profile .portals-market-kant :is(.pm-device-sheet, .pm-reissue-key-sheet) .pm-action-swipe {
  background-color: var(--cabinet-inset);
}
.kid-profile .portals-market-kant .pm-profile-plan-picker > .pm-plan-pills {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); width: 100%; max-width: none;
  box-sizing: border-box; justify-self: stretch; margin-inline: 0;
}
.kid-profile .portals-market-kant .pm-profile-plan-picker :is(.pm-plan-pills button[aria-pressed=true], .pm-period-selector .pm-control-fill),
.kid-profile .portals-market-kant .pm-combined-installation-sheet .pm-install-os-switch button[data-active=true] {
  background-color: var(--cabinet-selected);
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-partner-surface, .pm-referral-guide-card, .pm-referral-navigation, .pm-referral-history-panel) {
  background: var(--cabinet-inset);
}
.kid-profile .portals-market-kant .pm-referral-navigation {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; overflow: hidden; border-radius: 24px;
}
.kid-profile .portals-market-kant .pm-referral-navigation > button.pm-referral-history-open {
  display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; justify-content: stretch; gap: 12px; min-height: 64px; padding: 10px 16px; margin: 0;
  border: 0; border-radius: 0; text-align: start; background: transparent; box-shadow: none;
}
.kid-profile .pm-referral-navigation .pm-referral-history-open::after { display: none; }
.kid-profile .pm-referral-navigation .pm-referral-history-open + .pm-referral-history-open { position: relative; }
.kid-profile .pm-referral-navigation .pm-referral-history-open + .pm-referral-history-open::before {
  content: ''; position: absolute; inset: 14px auto 14px 0; width: 1px; background: #ffffff12;
}
.kid-profile .portals-market-kant .pm-referral-navigation > button.pm-referral-history-open > span:last-child {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; gap: 2px;
}
.kid-profile .portals-market-kant .pm-referral-navigation .pm-referral-history-open > .pm-referral-history-open-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: #272729; color: #d4d4d8;
}
.kid-profile .portals-market-kant .pm-referral-navigation > button.pm-referral-history-open > span > strong { font-size: 15px; line-height: 20px; font-weight: 600; }
.kid-profile .portals-market-kant .pm-referral-navigation > button.pm-referral-history-open > span > small { color: #a6a6ac; font-size: 13px; line-height: 17px; font-weight: 400; }
.kid-profile .pm-partner-program-body .pm-partner-surface p,
.kid-profile .pm-referral-sheet .pm-referral-guide-body p { font-size: 14px; line-height: 1.4; font-weight: 400; color: #a6a6ac; }
.kid-profile .portals-market-kant .pm-partner-program-body .pm-partner-surface { padding: 16px; }
.kid-profile .portals-market-kant .pm-partner-program-body .pm-partner-level-grid > article {
  background: var(--cabinet-inset);
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-partner-surface, .pm-partner-level-grid > article, .pm-referral-guide-card) {
  --panel-corner: clamp(34px, 6vw, 42px);
}
.kid-profile .portals-market-kant .pm-referral-history-toolbar {
  display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 12px;
}
.kid-profile .portals-market-kant .pm-referral-history-toolbar > button.pm-referral-history-back {
  display: grid; place-items: center; width: 44px; height: 44px; min-width: 0; min-height: 44px;
  padding: 0; border-radius: 50%; background: #1c1c1e; color: #ededf0;
}
.kid-profile .pm-referral-history-toolbar .pm-referral-back-label { display: none; }
.kid-profile .portals-market-kant .pm-referral-invitees-sheet .pm-invitees-page { min-height: 0; }
.kid-profile .portals-market-kant .pm-invitees-page > .pm-invitees-list { margin-top: 16px; }
.kid-profile .portals-market-kant .pm-referral-history-toolbar strong {
  font-size: 20px; line-height: 24px; font-weight: 600; white-space: normal;
}
.kid-profile .portals-market-kant .pm-referral-history-toolbar small {
  color: #a6a6ac; font-size: 13px; font-weight: 400; line-height: 18px;
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-referral-history-balance,.pm-invitees-summary) {
  background: #141415; color: #f2f2f4; font-variant-numeric: tabular-nums;
}
.kid-profile .portals-market-kant .pm-referral-history-sheet .pm-referral-history-screen > nav,
.kid-profile .portals-market-kant .pm-sheet :is(.pm-invitees-list,.pm-invitees-empty) {
  background: var(--cabinet-inset);
}
.kid-profile .portals-market-kant .pm-referral-history-sheet .pm-referral-history-screen > nav button.active {
  background: var(--cabinet-selected); color: #f2f2f4;
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-referral-empty-history,.pm-invitees-empty) {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 164px; padding: 24px 16px; gap: 4px; box-sizing: border-box; text-align: center;
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-referral-empty-history > span,.pm-invitees-empty > svg) {
  display: grid; place-items: center; box-sizing: border-box; width: 36px; height: 36px;
  border-radius: 12px; background: #242426; color: #c7c7cc; margin: 0 0 6px;
}
.kid-profile .pm-invitees-empty > svg { padding: 8px; }
.kid-profile .portals-market-kant .pm-sheet :is(.pm-referral-empty-history,.pm-invitees-empty) strong {
  color: #ededf0; font-size: 15px; line-height: 20px; font-weight: 600;
}
.kid-profile .portals-market-kant .pm-sheet :is(.pm-referral-empty-history,.pm-invitees-empty,.pm-invitees-summary,.pm-invitee-row) small {
  color: #a6a6ac; font-size: 13px; line-height: 18px; font-weight: 400;
}
.kid-profile .pm-partner-program-body :is(.pm-partner-surface strong,.pm-partner-example-row) { font-variant-numeric: tabular-nums; }
.kid-profile .pm-notification-feed article > div { min-width: 0; }
.kid-profile .pm-notification-feed article header { align-items: baseline; gap: 8px; }
.kid-profile .pm-notification-feed article strong { overflow-wrap: break-word; }
@media (max-width: 480px) {
  .kid-profile .portals-market-kant .pm-referral-navigation { grid-template-columns: 1fr; }
  .kid-profile .pm-referral-navigation .pm-referral-history-open + .pm-referral-history-open::before {
    inset: 0 16px auto 60px; width: auto; height: 1px;
  }
}


/* Pricing uses the same 900px shell and 16px (compact: 12px) inset as the website account. */
.kw-site:has(.kw-plans), .kid-profile {
  --plan-page-inset: 16px;
  --pricing-inset: #0b0b0c;
  --pricing-selection: #29292c;
  --plan-page-width: min(calc(900px - 2 * var(--plan-page-inset)), calc(100% - 2 * var(--plan-page-inset)));
}
.kw-site:has(.kw-plans) main .kw-container,
.kid-profile .portals-market-kant .pm-web-plan-page {
  width: var(--plan-page-width); max-width: none; box-sizing: border-box; margin-inline: auto;
}
.kw-site:has(.kw-plans) .kw-plan-detail { grid-template-columns: minmax(260px,1fr) minmax(0,1.65fr); }
.kw-site:has(.kw-plans) .kw-plan-action { border-radius: 999px; }
.kw-plans .kw-plan-cards, .pm-web-plan-page .kw-plan-cards { gap: 12px; }
.kw-plans .kw-wallet { padding-inline: clamp(12px, 1.25vw, 16px); }
@media (min-width: 761px) {
  .kw-plans .kw-wallet-price > strong { font-size: clamp(20px, 2.4vw, 28px); }
  .kw-plans .kw-wallet-days > strong { font-size: clamp(32px, 3.4vw, 42px); }
}
.kid-profile .portals-market-kant .pm-web-plan-page { align-self: start; padding-block: 16px max(16px, env(safe-area-inset-bottom)); }
.pm-web-plan-page .kw-plan-tabs { display:none; }
.pm-web-plan-page .kw-plan-cards { display:grid; grid-template-columns:repeat(var(--plan-count), minmax(0,1fr)); }
.pm-web-plan-page .kw-plan { min-width:0; background:transparent; outline:0; border-radius:30px; cursor:pointer; }
.pm-web-plan-page .kw-plan[data-selected=false] { opacity:.65; }
.pm-web-plan-page .kw-plan:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.pm-web-plan-page .pm-web-plan-detail { display:grid; grid-template-columns:minmax(260px,1fr) minmax(0,1.65fr); align-items:start; gap:16px; margin-top:16px; }
.kid-profile .pm-web-plan-page .pm-plan-purchase { margin:0; padding:0; width:100%; display:grid; align-content:start; gap:12px; }
.kid-profile .pm-web-plan-page .pm-plan-purchase-options-slot { display:grid; align-content:start; grid-template-rows:auto; height:auto; gap:12px; }
.kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-purchase-periods[data-free=true] { display:none; }
.kid-profile .pm-web-plan-page .pm-plan-purchase-summary { min-height:64px; height:auto; padding:12px 16px; background:var(--pricing-inset); border-radius:24px; }
.pm-web-plan-page .pm-trial-paid-amount[aria-hidden=true] { position:absolute; inset-inline-start:16px; visibility:hidden; pointer-events:none; }
.kid-profile .pm-web-plan-page .pm-plan-purchase-summary[data-single=true] {grid-template-columns:minmax(0,1fr);}
/* In the standalone cabinet these controls sit on top of the wallet. Here they are an ordinary pricing column. */
.kid-profile .pm-web-plan-page .pm-plan-purchase-periods:not([data-free=true]) {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:4px;
  position:relative; margin:0; padding:4px; height:48px; border-radius:999px; background:#161616;
}
.kid-profile .pm-web-plan-page .pm-period-selection-marker {display:none;}
.kid-profile .pm-web-plan-page .pm-plan-purchase-periods button {
  position:relative; min-width:0; min-height:40px; height:40px; padding:4px; border:0;
  border-radius:999px; background:transparent; color:#aaaab0; font:inherit; font-size:14px; font-weight:500; cursor:pointer;
}
.kid-profile .pm-web-plan-page .pm-plan-purchase-periods button[aria-pressed=true] {background:#2c2c2e;color:#fff;}
.kid-profile .pm-web-plan-page .pm-plan-purchase-summary {align-items:start; gap:10px;}
.kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-purchase-summary .pm-plan-saving > em {position:static; padding:0; margin:1px 0 0; background:transparent; color:#a4a4ab; font-size:12px; line-height:16px;}
.kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-purchase-summary > span {height:auto; min-width:0; align-self:start;}
.pm-web-plan-page .pm-web-plan-features { list-style:none; margin:0; padding:0 16px; background:#141415; border-radius:26px; }
.pm-web-plan-features li { display:flex; align-items:baseline; gap:12px; padding:12px 0; }
.pm-web-plan-features li+li { border-top:1px solid #ffffff0e; }
.pm-web-plan-features li>svg { color:#a3a3a8; align-self:center; flex:none; }
.pm-web-plan-features li>div { display:grid; gap:3px; }
.pm-web-plan-features strong { font-size:15px; font-weight:600; line-height:1.3; }
.pm-web-plan-features small { font-size:14px; font-weight:400; color:#a4a4ab; line-height:1.36; }
.pm-web-plan-page .pm-web-plan-referral { display:block; margin:12px auto 0; min-height:44px; padding:8px 16px; color:#aaaab0; cursor:pointer; }
.kid-profile { --pricing-action-height: 48px; }
.kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-page-action { margin:0; background:#2c2c2e; color:#f5f5f6; border:0; border-radius:999px; cursor:pointer; }
.kid-profile .portals-market-kant :is(.pm-web-plan-page .pm-plan-page-action,.pm-profile-plan-picker > .pm-plan-action,.pm-consent-sheet .pm-consent-action) {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  height: var(--pricing-action-height); min-height: var(--pricing-action-height); padding-block: 0;
}
@media (min-width:900px) {
  .pm-web-plan-page .kw-plan {container-type:inline-size;}
  .kid-profile .portals-market-kant .pm-web-plan-page .kw-plan .pm-plan-wallet-preview { padding:14px 12px; height:214px; min-height:214px; grid-template-rows:32px minmax(0,1fr) 32px; }
  .kid-profile .portals-market-kant .pm-web-plan-page .kw-plan .pm-plan-wallet-shell { height:214px; }
  .kid-profile .pm-web-plan-page .pm-plan-preview-caption { font-size:12px; line-height:1.25; }
  .kid-profile .pm-web-plan-page .pm-plan-preview-count { display:none; }
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-wallet-preview .pm-wallet-card-main { grid-template-columns:minmax(0,1fr) auto; gap:4px; }
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-wallet-plan { font-size:14px; }
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-wallet-days .pm-wallet-day-number { font-size:30px; line-height:36px; }
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-preview-price strong { font-size:18px; }
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-wallet-owner { font-size:13px; }
  .kid-profile .pm-web-plan-page .pm-wallet-day-number { font-size:clamp(26px,14cqi,36px); }
  .kid-profile .pm-web-plan-page .pm-plan-preview-price > strong { font-size:clamp(16px,9cqi,23px); }
  .kid-profile .pm-web-plan-page .pm-wallet-days { gap:3px; }
  .kid-profile .pm-web-plan-page :is(.pm-wallet-days > span,.pm-plan-preview-price small,.pm-wallet-expiry) { font-size:12px; }
}
@media (max-width:899px) {
  .kw-site:has(.kw-plans) .kw-plan-detail, .pm-web-plan-page .pm-web-plan-detail { grid-template-columns:minmax(0,1fr); gap:12px; }
  .pm-web-plan-page .kw-plan-tabs { display:grid; gap:4px; margin:0 0 12px; padding:4px; border-radius:999px; background:#141415; }
  .pm-web-plan-page .kw-plan-tabs button { min-height:40px; border-radius:999px; min-width:0; padding-inline:2px; color:#a5a5ab; font:inherit; font-size:14px; font-weight:500; cursor:pointer; }
  .pm-web-plan-page .kw-plan-tabs button[aria-selected=true] { color:#fff; background:#2c2c2e; }
  .pm-web-plan-page .kw-plan-cards {display:block; touch-action:pan-y; user-select:none}
  .pm-web-plan-page .kw-plan[data-selected=false] {display:none}
  .pm-web-plan-page .kw-plan[data-selected=true] {display:block}
}
@media (max-width:560px) {
  .kw-site:has(.kw-plans), .kid-profile { --plan-page-inset:12px; }
  .kid-profile { --pricing-action-height: 44px; }
  .kid-profile .portals-market-kant .pm-web-plan-page { padding-top:12px; }
}
.kw-plans :is(.kw-plan-action,.kw-plan-summary,.kw-plan-items,.kw-period,.kw-plan-tabs),
.pm-web-plan-page :is(.pm-web-plan-features,.pm-plan-page-action,.pm-plan-purchase-summary,.pm-plan-purchase-periods,.kw-plan-tabs) { position:relative; }
.kw-plans :is(.kw-plan-action,.kw-plan-summary,.kw-plan-items,.kw-period,.kw-plan-tabs)::after,
.pm-web-plan-page :is(.pm-web-plan-features,.pm-plan-page-action,.pm-plan-purchase-summary,.pm-plan-purchase-periods,.kw-plan-tabs)::after {
  content:''; position:absolute; inset:0; padding:1px; border-radius:inherit; corner-shape:inherit; pointer-events:none;
  background:var(--kant-card-edge); mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite:exclude;
}
.kid-profile .pm-account-pricing-page {
  width: var(--plan-page-width); margin: 0 auto; padding: 20px 0 max(24px,env(safe-area-inset-bottom)); box-sizing: border-box;
}
.kid-profile .pm-account-pricing-page > .pm-sheet-body { height: auto; max-height: none; overflow: visible; margin: 0; padding: 0; }
.kid-profile .pm-account-pricing-page .pm-profile-plan-picker {
  display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 12px;
}
.kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker > * {
  min-width: 0; margin: 0; max-width: none;
}
.kid-profile .portals-market-kant .pm-account-pricing-page :is(.pm-plan-detail-list,.pm-upgrade-price-summary) { background-color: var(--cabinet-inset); }
.kid-profile .pm-account-pricing-page .pm-plan-wallet-preview { transition: background-color 240ms cubic-bezier(.3,0,.2,1); }
.kid-profile .pm-account-pricing-page .pm-plan-detail-list > div { animation: kant-price-reveal 180ms ease-out; }
.kw-plans :is(.kw-period,.kw-plan-tabs,.kw-plan-items,.kw-plan-summary),
.kid-profile .portals-market-kant .pm-web-plan-page :is(.kw-plan-tabs,.pm-plan-purchase-periods:not([data-free=true]),.pm-web-plan-features,.pm-plan-purchase-summary) { background-color: var(--pricing-inset); }
.kw-plans .kw-plan-action { background: #2c2c2e; color: #fafafa; }
@keyframes kant-price-reveal { from { opacity: .5; } to { opacity: 1; } }
@media (min-width: 760px) {
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker {
    grid-template: repeat(5,auto) / repeat(2,minmax(0,1fr)); align-content: start; gap: 0 20px;
  }
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker > :is(*, .pm-plan-wallet-shell) {
    grid-area: auto / 1; width: 100%; justify-self: stretch; align-self: start;
  }
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker > :is(.pm-plan-pills,.pm-plan-wallet-shell,.pm-period-selector,.pm-upgrade-price-summary) { margin-bottom: 12px; }
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker > .pm-plan-action { grid-area: 5 / 1; align-self: end; }
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-profile-plan-picker > .pm-plan-detail-list {
    grid-area: 1 / 2 / -1; align-self: stretch; display: flex; flex-direction: column;
  }
  .kid-profile .portals-market-kant .pm-account-pricing-page .pm-plan-detail-list > div { flex: 1 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .kid-profile .pm-account-pricing-page .pm-plan-wallet-preview { transition: none; }
  .kid-profile .pm-account-pricing-page .pm-plan-detail-list > div,.kw-plan[data-selected=true] .kw-wallet,
  .pm-web-plan-page .kw-plan[data-selected=true] .pm-plan-wallet-shell { animation: none; }
}
/* The rail stays still. Only the lens moves, so labels keep their position during fast changes. */
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment] {
  position: relative; isolation: isolate; box-sizing: border-box;
  border: 0; border-radius: 999px; padding: 4px; gap: 0;
  background: var(--pricing-inset);
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment]::before {
  content: ''; position: absolute; box-sizing: border-box; z-index: 0; pointer-events: none;
  inset: 4px auto 4px 4px; width: calc((100% - 8px) / var(--segment-count)); height: auto;
  border-radius: 999px; background: var(--pricing-selection);
  transform: translateX(calc(var(--segment-index) * 100%));
  transition: transform 410ms cubic-bezier(.22,1,.32,1);
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment]::after {
  content: ''; position: absolute; inset: 0; padding: 1px; pointer-events: none; border-radius: inherit;
  background: var(--kant-card-edge);
  mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite: exclude;
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) [data-pricing-segment] > button:is(button,[aria-selected],[aria-pressed]) {
  position: relative; z-index: 1; border: 0; box-shadow: none; background: transparent;
  color: #aaaab0; font-weight: 500; transition: color 180ms ease;
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) [data-pricing-segment] > button:is([aria-pressed=true],[aria-selected=true]) {
  background: transparent; color: #fafafa;
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment] > button:focus-visible {
  outline: 2px solid #dadadd; outline-offset: -3px;
}
:is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment] > button > i,
.kid-profile .portals-market-kant .pm-profile-plan-picker [data-pricing-segment] > button::after { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .kid-profile :is(.pm-account-pricing-page,.pm-web-plan-page) { animation: kant-pricing-enter 260ms cubic-bezier(.2,.75,.25,1); }
  @supports not selector(::view-transition-new(root)) {
    .kid-profile .pm-profile-view { animation: kant-pricing-enter 260ms cubic-bezier(.2,.75,.25,1); }
  }
}
@keyframes kant-pricing-enter {
  from { opacity: .65; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.kw-site .kw-plans, .kid-profile .portals-market-kant .pm-profile-plan-picker, .kid-profile .portals-market-kant .pm-web-plan-page) :is(.pm-plan-pills,.pm-period-selector,.kw-plan-tabs,.kw-period)[data-pricing-segment]::before { transition: none; }
}

.kw-plans .kw-plan-feature-link svg, .kid-profile :is(.pm-web-plan-page,.pm-account-pricing-page) .kant-plan-market-link svg { display: none; }

.kant-plan-comparison { margin-block: 16px 0; scroll-margin-top: 96px; color: #f5f5f6; }
.kant-plan-matrix {
  position: relative; background: var(--pricing-inset); border-radius: 28px; scroll-margin-top: 96px;
  corner-shape: var(--kant-catalog-curve, superellipse(1.35)); overflow: hidden; padding: 0 clamp(14px,2vw,20px) 4px;
}
.kant-plan-matrix + .kant-plan-matrix { margin-top: 12px; }
.kant-plan-matrix::before, .kant-trial-offer > a::before {
  content: ''; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; corner-shape: inherit; padding: 1px;
  background: var(--kant-card-edge); mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite: exclude;
}
.kant-plan-matrix table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.kant-plan-matrix :is(th,td) { padding: 10px 4px; vertical-align: middle; text-align: center; font-variant-numeric: tabular-nums; }
.kant-plan-matrix th:first-child { width: 46%; text-align: start; }
.kant-plan-matrix thead th { padding-block: 15px; font-weight: 600; border-bottom: 1px solid #ffffff12; }
.kant-plan-matrix thead th:first-child { font-size: 16px; color: #f5f5f5; }
.kant-tier-heading { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.kant-tier-heading img { width: 24px; height: 24px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .kant-tier-heading img[data-tier-motion] {
    animation: kant-tier-tilt 5.4s ease-in-out infinite;
  }
  .kant-plan-matrix th:nth-child(3) .kant-tier-heading img { animation-delay: .16s; }
  .kant-plan-matrix th:nth-child(4) .kant-tier-heading img { animation-delay: .32s; }
  @keyframes kant-tier-tilt {
    0%, 22%, 100% { transform: none; }
    8% { transform: translateY(-1px) rotate(-7deg); }
    15% { transform: rotate(3deg); }
  }
}
.kant-plan-matrix th[scope=row] { color: #d6d6d9; font-weight: 500; }
.kant-plan-matrix td { color: #c6c6cb; font-size: 13px; }
.kant-plan-matrix tbody tr + tr > * { border-top: 1px solid #ffffff0b; }
.kant-plan-status { display: inline-grid; place-items: center; width: 21px; height: 21px; vertical-align: middle; }
.kant-plan-status[data-included=true] { color: #a3a3a8; }
.kant-plan-status[data-included=false] { color: #79797e; }
.kant-plan-matrix :is(.kant-plan-market-link,.kant-feature-link) { color: inherit; text-decoration: underline; text-decoration-color: #ffffff38; text-underline-offset: 3px; }
.kant-plan-matrix .kant-plan-market-link svg { display: none; }
@media (max-width: 560px) {
  .kant-plan-matrix { padding-inline: 10px; border-radius: 26px; }
  .kant-plan-matrix th:first-child { width: 42%; }
  .kant-plan-matrix :is(th,td) { padding-inline: 2px; font-size: 12px; }
  .kant-plan-matrix tr > th:first-child { padding-inline-start: 4px; }
  .kant-plan-matrix td { font-size: 11px; }
  .kant-plan-matrix thead th:first-child { font-size: 14px; }
  .kant-tier-heading { flex-direction: column; gap: 3px; font-size: 11px; }
  .kant-tier-heading img { width: 20px; height: 20px; }
}

.kw-site .kant-guest-features li { grid-template-columns: 36px minmax(0,1fr) 16px; }
.kant-guest-features .kant-feature-link { font: inherit; color: inherit; text-decoration: none; border: 0; padding: 0; background: transparent; cursor: pointer; }
.kant-guest-features .kant-feature-link:first-child::after { position: absolute; inset: 0; content: ''; }
.kant-guest-features .kant-feature-link ~ .kant-feature-link { position: relative; z-index: 1; text-underline-offset: 3px; text-decoration: underline; text-decoration-color: #ffffff38; }
.kant-feature-chevron { color: #929297; pointer-events: none; }
.kant-feature-link:focus-visible, .kant-trial-offer > a:focus-visible { outline: 2px solid #d6d6da; outline-offset: 2px; }
@media (hover:hover) {
  .kant-guest-features li:has(.kant-feature-link:hover) .kant-feature-chevron { color: #fff; }
  .kant-plan-matrix .kant-feature-link:hover { text-decoration-color: currentColor; color: #fff; }
}
.kw-site main .kant-trial-offer { margin-block: 20px 0; }
.kw-site .kant-trial-offer > a {
  display: grid; position: relative; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 28px; corner-shape: var(--kant-catalog-curve,superellipse(1.35)); background: #161616;
  color: #f5f5f5; text-decoration: none; text-align: start;
}
.kant-trial-offer img { display: block; width: 48px; height: 48px; object-fit: contain; }
.kant-trial-copy { display: grid; gap: 3px; }
.kant-trial-copy strong { font-size: 17px; line-height: 1.2; font-weight: 600; }
.kant-trial-copy small { color: #aaaab0; font-size: 14px; line-height: 1.4; font-weight: 400; }
.kant-trial-action { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-height: 40px; border-radius: 999px; padding: 0 14px; background: #2c2c2e; font-size: 14px; font-weight: 600; }
@media (max-width: 600px) {
  .kw-site .kant-trial-offer > a { grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 16px; }
  .kant-trial-offer img { width: 40px; height: 40px; }
  .kant-trial-action { grid-column: 1 / -1; }
}
.kw-plans .kw-plan-action, .kid-profile .portals-market-kant :is(.pm-plan-action,.pm-plan-page-action) { gap: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .kw-site .kw-plans .kw-plan-action, .kant-trial-offer > a, .kid-profile .portals-market-kant :is(.pm-plan-action,.pm-plan-page-action) { transition: scale 120ms cubic-bezier(.32,0,.2,1); }
  .kw-site .kw-plans .kw-plan-action:active, .kant-trial-offer > a:active,
  .kid-profile .portals-market-kant .pm-sheet-body .pm-plan-action:enabled:is(:active,[data-pm-pressed=true]):not([data-pm-pressed=false]),
  .kid-profile .portals-market-kant .pm-web-plan-page .pm-plan-page-action:enabled:is(:active,[data-pm-pressed=true]):not([data-pm-pressed=false]) { scale: .985 !important; }
}
.kw-plan-cards > .kw-plan,
.kw-wallet,
.kid-profile .pm-wallet-profile-card {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  caret-color: transparent;
}

.kw-wallet img,
.kid-profile .pm-wallet-profile-card img {
  -webkit-user-drag: none;
}


.portals-market-kant .pm-action-swipe-progress {
  --swipe-thumb: 44px;
  --swipe-inset: 5px;
  --swipe-cap: calc(var(--swipe-thumb) + 2 * var(--swipe-inset));
  position: absolute; inset: 0 auto 0 0;
  width: calc(var(--swipe-cap) + (100% - var(--swipe-cap)) * var(--pm-swipe-fraction, 0));
  border-radius: inherit; pointer-events: none;
  transition: width 220ms cubic-bezier(.16,1,.3,1);
}
.portals-market-kant .pm-action-swipe-progress::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: #e5484d; opacity: 0; transition: opacity 160ms ease-out;
}
.portals-market-kant .pm-action-swipe[data-active=true] > .pm-action-swipe-progress::before { opacity: 1; }
.portals-market-kant .pm-action-swipe[data-dragging=true] > .pm-action-swipe-progress { transition: none; }
.portals-market-kant .pm-action-swipe-progress > button.pm-action-swipe-thumb {
  inset: var(--swipe-inset) var(--swipe-inset) auto auto;
  width: var(--swipe-thumb); height: var(--swipe-thumb); transform: none; pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .portals-market-kant .pm-action-swipe-progress, .portals-market-kant .pm-action-swipe-progress::before { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
}

.kw-result-preview { position: relative; display: block; }
.kw-result-preview > .kw-preview-loop { position: absolute; inset: 0; }
.kw-site-home .kw-preview-loop { opacity: 0; pointer-events: none; }
.kw-preview-still { position: absolute; inset: 0; pointer-events: none; background: transparent center / contain no-repeat; }
.kw-result-preview .kw-preview-still { border-radius: 16px; background-size: cover; }
.kw-result-preview > .kw-preview-poster { position: relative; }
.kw-preview-poster { opacity: 0; }
.kw-preview-poster[data-ready="true"] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .kw-preview-poster { transition: opacity .14s ease-out; }
}
@media (max-width: 760px) {
  .kw-result-preview .kw-preview-still { border-radius: 12px; }
}

/* Touch scrolling can reach a chapter before the observer or a video decoder.
   Keep its text and poster in the page's normal paint order at every offset. */
@media (max-width: 760px), (pointer: coarse) {
  .kw-site-home .kw-chapter[data-in] .kw-chapter-head,
  .kw-site-home .kw-chapter[data-in] .kw-chapter-media {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
    backface-visibility: visible;
  }
  .kw-site-home .kw-chapter-view,
  .kw-site-home .kw-chapter-view[data-side] {
    transform: none;
    will-change: auto;
  }
}
