#bottomNav
{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    font-size:14px;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding-bottom:env(safe-area-inset-bottom);
}

#tabID, #bottomNav
{
    display:flex;
    align-items:center;
    padding:0;
    flex-shrink:0;
    opacity: 1;
    transition: opacity .325s;
}

#tabID.hide, #bottomNav.hide
{
    display:none;
    opacity: 0;
}

#navItem
{
    display:flex;
    flex-direction:column;
    align-items:center;
    cursor:pointer;
    min-width:50px;
    user-select:none;
    color:rgb(60,60,60);
    border-radius:8px;
}

#navItem.active
{
    _background-color:rgba(220,22,225,0.22);
    color:rgb(180,20,10);
}

#dialogID
{
    position:fixed;
    left:0px;
    top:0px;
    _inset: 0;
    background: #ededed;
    _display: flex;
    _flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 40;
    transform: translateX(100%);
    transition: transform .328s cubic-bezier(.32,.72,0,1), opacity .325s;
    opacity: 0;
    transition: opacity .625s;
}

#dialogID.show
{
    opacity: 1;
    transform: translateX(0);
}

:root
{
   --pink:#969;
   --blue:#00AEEC;
   --t1:#18191C;
   --t2:#61666D;
   --bd:#E3E5E7;
   --bg:#F1F2F3;
}

img
{
    -webkit-user-drag:none;
    user-drag:none;
    user-select:none;
}

#IDtoast
{
    position:absolute;
    left:50%;
    top:50%;
    _height:50%;
    _width:50%;
    transform:translate(-50%,-50%) scale(.9);
    background:rgba(0,0,0,.75);
    color:#fff;
    padding:12px 20px;
    border-radius:8px;
    font-size:16px;
    z-index:500;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s,transform .2s;
    max-width:70%;
    text-align:center;
}

#IDtoast.show
{
    opacity:1;
    transform:translate(-50%,-50%) scale(1)
}

#IDalert
{
    left:100%;
}

#IDalert.show
{
    left:0;
}


.button20, .shadow20
{
      color:black;
      align-items: center;
      justify-content: center;
      font-size:20px;
      letter-spacing: 0.03em;
      text-decoration: none;
      border:1;
      border-radius:10px;
      cursor:pointer;
      user-select: none;
      text-align:center;
      
      /* 核心按压动画——transition 定义按下与释放的平滑过程 */
      transition: 
        transform 0.12s cubic-bezier(0.2, 0.19, 0.3, 0.2),
        box-shadow 0.15s ease,
        filter 0.2s ease;
      
      /* 让所有按钮文字纯净，无轮廓干扰 */
      outline: none;
      -webkit-tap-highlight-color: transparent;
      
      /* 给伪元素和阴影定位 */
      isolation: isolate;
      
      /* 初始阴影（常规立体感） */
      box-shadow: 
        0 10px 18px -6px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 1px 2px rgba(255, 255, 255, 0.2) inset;
}

.button20:hover
{
      filter: brightness(1.1);
      box-shadow: 
        0 16px 26px -8px rgba(0, 150, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset,
        0 1px 4px rgba(255, 255, 255, 0.4) inset;
}

.button20:hover:active
{
  transform: translateY(0px) scale(1.1);
      box-shadow: 
        0 10px 18px -6px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 1px 2px rgba(255, 255, 255, 0.2) inset;
}

.button20:active
{
  transform: translateY(4px) scale(0.98);
  box-shadow:
    20 4px 0px -4px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 2px rgba(0, 0, 0, 0.2) inset;   /* 内阴影变成暗色，模拟凹陷 */

  filter: brightness(0.96);

  transition:
    transform 0.08s cubic-bezier(0.2, 0.9, 0.3, 1.2),
    box-shadow 0.1s ease,
    filter 0.1s ease;
}

.tab_item
{
    display:inline-block;
    padding:4 8;
    margin:0 2 4 2;
    font-size:16px;
    color:black;
    cursor:pointer;
    position:relative;
    user-select:none;
}

.tab_item.active
{
    color:rgb(200,15,20);
}

.yjx_tab_item.active::after
{
    content:'';
    position:absolute;
    bottom:1;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    height:3px;
    background:gray;
    border-radius:3px;
}

/* 导航栏容器，使用flex排列 */
.nav-list
{
  display: inline-flex;
  position: relative;
  gap: 0;
  transition: transform 0.2s ease;
}
