/* ===== PC QUICKBAR ===== */
  .quick-fixed-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 124px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 140px;
    background: rgba(54, 47, 40, 0.58);
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 1200;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: -30px 0 60px rgba(0,0,0,0.25);
  }

  body.has-quickbar {
    padding-right: 0;
  }

  body.has-quickbar .container {
    width: calc(92% - 70px);
    max-width: 1540px;
    margin-left: auto;
    margin-right: auto;
  }

  .quick-status {
    padding: 0 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
    margin-top: 16px;
  }

  .quick-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.94);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
  }

  .quick-pc {
    display: flex;
    flex-direction: column;
    transform: translateY(22px);
  }

  .quick-fixed-btn {
    width: 100%;
    min-height: 96px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.95);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 700;
    line-height: 1.2;
    word-break: keep-all;
    transition: background 0.25s ease, color 0.25s ease, transform 0.22s ease;
    cursor: pointer;
  }

  .quick-fixed-btn:last-child {
    border-bottom: 0;
  }

  .quick-fixed-btn:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
    transform: scale(1.02);
  }

  .quick-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    opacity: 0.98;
  }

  .quick-btn-icon svg {
    width: 28px;
    height: 28px;
    display: block;
  }

  .quick-btn-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* ===== MOBILE QUICKBAR ===== */
  .quick-mobile {
    display: none;
  }

  .qm-more-row {
    display: none;
  }

  @media (max-width: 768px) {
    .quick-fixed-bar {
      display: none !important;
    }

    body.has-quickbar {
      padding-right: 0;
      padding-bottom: 64px;
      padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    body.has-quickbar .container {
      width: 94%;
      max-width: none;
      margin-left: auto;
      margin-right: auto;
    }

    .quick-mobile {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 2000;
      display: block;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      background: #000;
      border-top: 1px solid rgba(255,255,255,0.10);
      box-shadow: 0 -10px 28px rgba(0,0,0,0.18);
      padding-bottom: env(safe-area-inset-bottom, 0px);
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    .qm-row,
    .qm-more-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
      background: #000;
    }

    .qm-more-row {
      border-bottom: 1px solid rgba(255,255,255,0.10);
      display: none;
    }

    .qm-more-row.show {
      display: grid;
    }

    .qm-item,
    .qm-item:link,
    .qm-item:visited,
    button.qm-item {
      min-width: 0;
      width: 100%;
      min-height: 60px;
      padding: 9px 4px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      color: #fff;
      text-align: center;
      border-right: 1px solid rgba(255,255,255,0.10);
      background: #000;
      position: relative;
      box-sizing: border-box;
      text-decoration: none;
      border-radius: 0;
      appearance: none;
      -webkit-appearance: none;
      font: inherit;
      line-height: 1.1;
      -webkit-tap-highlight-color: transparent;
    }

    .qm-item:nth-child(4n) {
      border-right: 0;
    }

    .qm-icon {
      width: 22px;
      height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      opacity: 0.98;
      flex: 0 0 auto;
    }

    .qm-icon svg {
      width: 20px;
      height: 20px;
      display: block;
    }

    .qm-label {
      display: block;
      max-width: 100%;
      font-size: 10px;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -0.03em;
      white-space: normal;
      word-break: keep-all;
      overflow-wrap: anywhere;
      text-align: center;
    }

    #qbMoreBtn {
      background: #000 !important;
      border: none !important;
      outline: none !important;
      -webkit-appearance: none;
      appearance: none;
      padding: 0 !important;
      margin: 0 !important;
      box-shadow: none !important;
    }

    #qbMoreBtn:focus,
    #qbMoreBtn:active {
      outline: none !important;
      box-shadow: none !important;
    }
  }
