 
   
 
 
 /* ── Progress Bar Area ── */
  .progress-area {
    font-family: 'Google Sans', 'SF Pro Display', 'Roboto', sans-serif;
    display: none;
    width: 100%;
    max-width: 92vw;
    border-radius: 12px;
    padding: 16px 20px;
    animation: fadeSlideIn 0.2s ease;
  }
  .progress-area.active { display: block; }

  @keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .progress-label {
    font-size: 14px;
    font-weight: 500;
    color: #1e7e34;
  }
  .progress-percent {
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
  }
  .progress-track {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 99px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    width: 0%;
    background: #1e7e34;
    border-radius: 99px;
    transition: width 0.25s ease;
  }

  /* ── Shared Overlay ── */
  .modal-overlay, .home-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 100;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.18s ease;
     font-family: 'Google Sans', 'SF Pro Display', 'Roboto', sans-serif;
  }
  .modal-overlay.active { display: flex; }
  .home-overlay {
    z-index: 200;
    /* align-items: flex-end; */
    justify-content: center;
  }
  .home-overlay.active { display: flex; }

  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes slideUpCenter {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes slideUpSheet {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Install Modal ── */
  .modal {
    background: #fff;
    border-radius: 28px;
    width: 340px;
    max-width: 92vw;
    padding: 24px 24px 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.22);
    animation: slideUpCenter 0.22s cubic-bezier(.34,1.56,.64,1);
  }

  .modal__title {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 18px;
  }
  .modal__app {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }
  .modal__icon {
    width: 48px;
/*    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f5c518, #b8860b 70%);
    display: flex;
    align-items: center;
    justify-content: center;*/
    font-size: 22px;
    flex-shrink: 0;
/*    border: 2px solid #8B6914;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);*/
  }
  .modal__app-info { display: flex; flex-direction: column; }
  .modal__app-name { font-size: 16px; font-weight: 500; color: #202124; line-height: 1.3; }
  .modal__app-domain { font-size: 13px; color: #5f6368; margin-top: 1px; }

  .modal__actions { display: flex; justify-content: flex-end; gap: 8px; }
  .modal__btn {
    background: none; border: none; border-radius: 20px;
    padding: 10px 20px; font-size: 14px; font-weight: 500;
    cursor: pointer; font-family: inherit; letter-spacing: 0.1px;
    transition: background 0.15s;
  }
  .modal__btn--cancel { color: #1a73e8; }
  .modal__btn--cancel:hover { background: rgba(26,115,232,0.08); }
  .modal__btn--install { color: #1a73e8; }
  .modal__btn--install:hover { background: rgba(26,115,232,0.08); }

  /* ── Add to Home Screen Modal ── */
  .home-modal {
    background: #fff;
    border-radius: 20px 20px 20px 20px;
    width: 100%;
    max-width: 420px;
    padding: 28px 28px 0;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.18);
    animation: slideUpSheet 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .home-modal__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
  }
  .home-modal__desc {
    font-size: 13px;
    color: #444;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .home-modal__app-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-bottom: 32px;
  }
  .home-modal__app-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .home-modal__app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
/*    background: radial-gradient(circle at 35% 30%, #f7dc6f, #c9930a 55%, #7b5800 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
/*    box-shadow: 0 4px 14px rgba(0,0,0,0.2);*/
  }
  .home-modal__app-name { font-size: 13px; font-weight: 500; color: #1a1a1a; }
  .home-modal__app-size { font-size: 11px; color: #888; }

  .home-modal__resize-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
  }
  .home-modal__resize-btn svg { width: 20px; height: 20px; fill: #555; }

  .home-modal__actions {
    display: flex;
    /* border-top: 1px solid #e0e0e0; */
  }
  .home-modal__action-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 400;
    color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
  }
  .home-modal__action-btn:hover { background: rgba(0,0,0,0.04); }
  .home-modal__action-btn + .home-modal__action-btn {
    /* border-left: 1px solid #e0e0e0; */
    font-weight: 600;
  }

  .info__button.open { background: #1e7e34; }
.info__button.open:hover { background: #155a24; box-shadow: 0 4px 16px rgba(30,126,52,0.4); }



/*  toast */
 .toast {
   font-family: 'Google Sans', 'SF Pro Display', 'Roboto', sans-serif;
    position: fixed;
    top: 50%;
    left: 24px;
    right: 24px;
    width: auto;
    max-width: 320px;
    margin: 0 auto;
    background: rgba(40, 40, 40, 0.93);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .toast.show {
    opacity: 1;
  }