:root{--bn-h:64px;--bn-gap:10px;--bn-lift:max(8px, calc(env(safe-area-inset-bottom, 0px) - 18px) );--bn-space:calc(var(--bn-h) + var(--bn-gap) + var(--bn-lift))}.bottom-nav{--bn-bg:var(--card-bg);--bn-off:var(--label-secondary);--bn-act:var(--ink);--bn-act-fg:var(--on-ink);--bn-fab:var(--bn-bg);--bn-fab-fg:var(--bn-act);position:fixed;left:12px;right:12px;bottom:var(--bn-lift);z-index:99;max-width:520px;margin:0 auto;display:flex;align-items:stretch;gap:10px;height:var(--bn-h);box-sizing:border-box}html.dark .bottom-nav{--bn-bg:#1E2030;--bn-act:#F3EEE6;--bn-act-fg:#262838}.bn-pill{position:relative;flex:1;min-width:0;display:flex;align-items:stretch;gap:2px;padding:5px;box-sizing:border-box;background:var(--bn-bg);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow-3)}.bn-item{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:0;border:none;border-radius:999px;background:none;padding:0 4px;color:var(--bn-off);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;overflow:visible;transition:flex-grow .38s cubic-bezier(.3,1.15,.4,1),color .2s ease .05s,transform .15s var(--ease-spring)}.bn-bubble{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:none}.bn-bubble svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:fill-opacity .22s ease}.bn-item .bn-label{max-width:0;opacity:0;overflow:hidden;white-space:nowrap;font-size:13px;font-weight:800;letter-spacing:.01em;margin-left:0;transition:max-width .32s cubic-bezier(.22,.9,.3,1),opacity .2s ease,margin-left .32s cubic-bezier(.22,.9,.3,1)}.bn-item[aria-current=page]{flex-grow:2.5;color:var(--bn-act-fg)}.bn-item[aria-current=page] .bn-bubble svg{animation:bnPop .55s cubic-bezier(.3,1.6,.4,1) both}.bn-fab[aria-current=page] .bn-bubble svg{animation:none}@keyframes bnPop{0%{transform:scale(.78) rotate(-8deg)}60%{transform:scale(1.14) rotate(3deg)}to{transform:none}}.bn-ind{position:absolute;left:0;top:5px;bottom:5px;width:0;border-radius:999px;background:var(--bn-act);opacity:0;pointer-events:none;will-change:transform,width;transition:opacity .2s ease}.bn-ind.on{opacity:1}.bn-ind.enter{opacity:1;transition:none}.bn-item[aria-current=page] .bn-bubble svg{fill:currentColor;fill-opacity:.2}.bn-item[aria-current=page] .bn-label{max-width:74px;opacity:1;margin-left:7px}.bn-item:active{transform:scale(.95)}.bn-item:focus-visible{outline:2px solid var(--ai);outline-offset:2px}.bn-fab{flex:none;align-self:center;width:58px;height:58px;padding:0;border-radius:50%;background:var(--bn-fab);color:var(--bn-fab-fg);border:3px solid var(--bn-act);box-sizing:border-box;box-shadow:var(--shadow-2);flex-grow:0}.bn-fab .bn-bubble svg{stroke-width:2}.bn-fab{transition:box-shadow .3s ease,transform .15s var(--ease-spring)}.bn-fab[aria-current=page]{flex-grow:0;background:var(--bn-act);color:var(--bn-act-fg);box-shadow:var(--shadow-2)}.bn-fab[aria-current=page] .bn-bubble svg{fill:currentColor;fill-opacity:.28}.bn-item[aria-current=page] .bn-badge,.bn-item[aria-current=page] .bn-dot{box-shadow:0 0 0 2px var(--bn-act)}@media (hover:hover){.bn-item:not([aria-current=page]):not(.bn-fab):hover{color:var(--ink)}}html.dark .bn-item:not([aria-current=page]):not(.bn-fab):hover{color:#f3eee6}@media (prefers-reduced-motion:reduce){.bn-item,.bn-item .bn-label,.bn-bubble svg,.bn-fab{transition:none}.bn-item[aria-current=page] .bn-bubble svg{animation:none}}.bn-badge{position:absolute;top:-6px;right:-10px;left:auto;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:var(--hanko);color:var(--on-solid);font-size:10.5px;font-weight:800;line-height:17px;text-align:center;box-shadow:0 0 0 2px var(--bn-bg)}.bn-dot{position:absolute;top:-3px;right:-6px;left:auto;width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 0 2px var(--bn-bg)}.bn-base{position:fixed;left:0;right:0;bottom:0;height:var(--bn-space);z-index:98;pointer-events:none;opacity:0;background:#000000a6;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);transition:opacity .18s ease}body[data-bn-layer] .bn-base{opacity:1}body[data-bn-layer=teman] .bn-base{background:#2b2d4280;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-bn-layer=saya] .bn-base{background:var(--card-bg);-webkit-backdrop-filter:none;backdrop-filter:none}body.has-bottom-nav{padding-bottom:calc(var(--bn-space) + 16px)}body.has-bottom-nav #quizModalBg,body.has-bottom-nav #ecoModalBg,body.has-bottom-nav #frSheet,body.has-bottom-nav #mygoukakuModalBg,body.has-bottom-nav #profileDrawerBg{bottom:0;z-index:97}.bn-base{display:none}body.has-bottom-nav #quizModalBg .modal,body.has-bottom-nav #mygoukakuModalBg .modal,body.has-bottom-nav #ecoModalBg .eco-modal,body.has-bottom-nav #frSheet .fr-scroll,body.has-bottom-nav #profileDrawerBg .profile-drawer-page{padding-bottom:calc(var(--bn-space) + 18px)}#profileDrawerBg{justify-content:center!important;background:var(--washi)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}#profileDrawerBg .profile-drawer{width:100%;max-width:600px;box-shadow:none}#profileDrawerBg{transition:opacity .18s ease,background .18s ease,backdrop-filter .18s ease,visibility 0s linear .18s}#profileDrawerBg.show{transition:opacity .18s ease,background .18s ease,backdrop-filter .18s ease}#profileDrawerBg .profile-drawer{opacity:1;transform:translateY(60px);transition:transform .4s var(--ease-spring)}#profileDrawerBg.show .profile-drawer{opacity:1;transform:none;transition:transform .4s var(--ease-spring)}#profileDrawerBg.show .profile-drawer-page-main>*{animation:none}#frSheet{visibility:hidden;transition:opacity .18s ease,visibility 0s linear .18s}#frSheet.show{visibility:visible;transition:opacity .18s ease,visibility 0s}#frSheet .fr-panel{will-change:auto}#frSheet .fr-panel{transform:translateY(60px);transition:transform .4s var(--ease-spring)}#frSheet.show .fr-panel{transform:none}@media (prefers-reduced-motion:reduce){#profileDrawerBg .profile-drawer,#profileDrawerBg.show .profile-drawer,#frSheet .fr-panel{transform:none;transition:opacity .15s ease}}#pqCloseBtn,#mgkCloseBtn,#ecoClose,#frClose{display:none!important}#quizModalBg .modal,#mygoukakuModalBg .modal,#ecoModalBg .modal{padding:30px 20px 26px;overflow-x:hidden;overscroll-behavior-x:none}.modal,.eco-modal,.fr-panel,.fr-scroll,.profile-drawer,.profile-drawer-page,.eco-lb-sheet,.rc-sheet,.dt-sheet,.pc-fp,.avm-sheet,.eco-info-box,.nuance-modal,.bab-popup-box{touch-action:pan-y}button,a,input,select,textarea,label,[role=button]{touch-action:manipulation}html:has(body[data-bn-layer]),body[data-bn-layer]{overflow:hidden}#quizModalBg .modal,#mygoukakuModalBg .modal,#ecoModalBg .modal,#profileDrawerBg .profile-drawer-page,#frSheet .fr-scroll{overscroll-behavior:contain}.bn-pill{touch-action:pan-y;-webkit-user-select:none;user-select:none}
