body.kb-full{display:flex;flex-direction:column;overflow-x:clip}
body.kb-full>*{order:3}
body.kb-full>.kb-skip,body.kb-full>.kb-top{order:0}
body.kb-full>.kb-top{background:#fff!important}
body.kb-full>.kb-top>.kb-wrap{max-width:none;width:auto;margin:0;padding-left:14px;padding-right:14px;height:54px}
body.kb-full>.wrap{order:1;box-sizing:border-box;width:100%;min-width:0}
body.kb-full>.kb-crumbs{order:2}
body.kb-full main{display:flex;flex-direction:column}
body.kb-full main>.app-full{order:0}
body.kb-full main>.app-full~*{order:1;min-width:0}
body.kb-full main>.intro,body.kb-full main>.prose,body.kb-full>.kb-crumbs,body.kb-full>.kb-more,body.kb-full>.kb-foot{display:none!important}

.app-full{box-sizing:border-box;width:var(--af-vw,100vw);height:calc(100vh - var(--af-top,65px));height:calc(100dvh - var(--af-top,65px));min-height:420px;max-width:none;margin:0 0 0 var(--af-x,calc((100% - var(--af-vw,100vw)) / 2))}
.app-full>.fk-frame{box-sizing:border-box;height:100%;margin:0;padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);border:0;border-radius:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.app-full>.fk-frame::before,.app-full>.fk-frame::after{display:none}
.app-full>.fk-frame>.fk{height:100%;min-height:0;max-height:none;overflow:hidden;overflow:clip;border-radius:0;box-shadow:none}
.app-full .fk-stage,.app-full .fk-side,.app-full .fk-insp{overscroll-behavior:contain}
.app-full .fk-recents{display:none!important}

.af-about{flex:none;margin-left:auto;padding:2px 0;color:var(--fk-muted);font-size:11.5px;font-weight:500;text-decoration:none;white-space:nowrap}
.af-about:hover{color:var(--fk-ink);text-decoration:underline;text-underline-offset:3px}
.af-about:focus-visible{outline:2px solid var(--fk-accent);outline-offset:2px;border-radius:4px}
.fk-bar-r>.af-about{margin:0 6px 0 0;font-size:12.5px}
#app-about{scroll-margin-top:var(--af-top,65px)}

html:has(body.kb-full){height:100%;overflow:hidden}
body.kb-full{height:100vh;height:100dvh;overflow:hidden}

.af-marks{display:flex;align-items:center;gap:2px;margin-right:4px}
.fk-bar-r .af-marks .kb-rate,.fk-bar-r .af-marks .kb-fav{display:inline-grid;place-items:center;gap:0;height:auto;margin:0;padding:0;border:0;border-radius:var(--fk-r-sm,8px);background:none;box-shadow:none;font:inherit}
.af-marks .kb-rate span,.af-marks .kb-fav span{display:none!important}
.fk-bar-r .af-marks .kb-rate svg{width:18px;height:18px;fill:#F5B83D;stroke:none}
.fk-bar-r .af-marks .kb-fav svg{width:15px;height:15px;fill:#C9CBD1;stroke:none;transition:fill .15s}
.fk-bar-r .af-marks .kb-fav:hover svg{fill:#A9ACB4}
.fk-bar-r .af-marks .kb-fav[aria-pressed="true"] svg{fill:#E5484D}
.af-body h1{font-size:30px!important;line-height:1.15!important}
.af-body h2{font-size:19px!important;line-height:1.3!important}
.af-body .intro p,.af-body .prose p,.af-body .prose li{font-size:15px;line-height:1.6}

.af-sheet{position:fixed;inset:0;z-index:70;display:flex;justify-content:flex-end;background:rgba(15,18,24,0);transition:background-color .3s ease}
.af-sheet.on{background:rgba(15,18,24,.28)}
.af-sheet[hidden]{display:none}
.af-panel{display:flex;flex-direction:column;width:min(760px,100%);height:100%;background:#fff;box-shadow:-12px 0 40px rgba(20,30,50,.14);transform:translate3d(24px,0,0);opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
.af-sheet.on .af-panel{transform:none;opacity:1}
.af-head{position:relative;display:flex;align-items:center;justify-content:center;flex:none;height:48px;padding:0 56px;background:#F3F5F8;border-bottom:1px solid rgba(0,0,0,.06)}
.af-head b{font-size:13.5px;font-weight:600;color:#1D1D1F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.af-x{position:absolute;right:8px;top:4px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:999px;background:none;color:#6E6E73;cursor:pointer}
.af-x:hover{background:rgba(118,118,128,.12);color:#1D1D1F}
.af-x:focus-visible{outline:2px solid #5B98FF;outline-offset:-2px}
.af-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.af-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 0 24px}
.af-body>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
.af-body>.intro{padding:28px 32px 0}
.af-body>.intro p{overflow:visible;white-space:normal;text-overflow:clip}
.af-body>.prose{margin-top:20px;padding:0 32px}
.af-body>.kb-crumbs{padding:24px 0 0}
.af-body>.kb-crumbs .kb-wrap,.af-body>.kb-more .kb-wrap,.af-body>.kb-foot .kb-wrap{width:auto;max-width:none;padding-left:32px;padding-right:32px}
.af-body>.kb-more{margin-top:12px}
.af-body>.kb-foot{margin-top:24px}
body *.af-body::-webkit-scrollbar{width:10px}
body *.af-body::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:99px;background:rgba(118,118,128,.35) padding-box}
body *.af-body::-webkit-scrollbar-track{background:transparent}
@supports (-moz-appearance:none){.af-body{scrollbar-color:rgba(118,118,128,.35) transparent;scrollbar-width:thin}}
:root[data-theme="dark"] .af-sheet.on{background:rgba(0,0,0,.5)}
:root[data-theme="dark"] .af-panel{background:#0F1011;box-shadow:-12px 0 40px rgba(0,0,0,.5)}
:root[data-theme="dark"] .af-head{background:#16171A;border-bottom-color:rgba(255,255,255,.07)}
:root[data-theme="dark"] .af-head b{color:#F2F3F7}
:root[data-theme="dark"] .af-x{color:#A1A1A6}
:root[data-theme="dark"] .af-x:hover{background:rgba(255,255,255,.08);color:#F2F3F7}
@media (prefers-reduced-motion:reduce){.af-sheet,.af-panel{transition:none}}

html.af-in .nb-btn,html.af-in .nb-nudge,html.af-in .td{display:none!important}

@media (max-width:640px){
  .app-full{min-height:360px}
  .app-full .fk-status{display:flex;min-height:30px;padding:4px 12px}
  .app-full .fk-status .fk-zero{display:none}
  .af-body>.intro{padding:20px 18px 0}
  .af-body>.prose{padding:0 18px}
  .af-body>.kb-crumbs .kb-wrap,.af-body>.kb-more .kb-wrap,.af-body>.kb-foot .kb-wrap{padding-left:18px;padding-right:18px}
}
