  /* CSS File */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-gutter: stable;
  }
  
  #map {
    width: 100%;
    height: 100vh;
  }
  
  #shop-panel,
  #report-panel {
    position: absolute;
    bottom: 20px;
    top: auto;
    width: 320px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  #shop-panel {
    left: 20px;
    z-index: 1000;
  }
  
  .hidden {
    display: none;
  }
  
  .berry-item {
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
  }
  
  input {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  
  button {
    padding: 8px 12px;
    cursor: pointer;
  }

  .berry {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
  }

  .berry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }

  .berry-grid > div:last-child {
  grid-column: 1 / -1;
  }

  /* Report Panel Related CSS */

  #report-panel {
    right: 20px;
    z-index: 1100;
    padding: 16px;
  }

  .report-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
    margin-bottom: 10px;
  }

  .report-row > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    font-weight: bold;
  }

  .price-input {
    background: #f3f3f3;
    border: none;
    border-radius: 8px;
    padding: 8px;
    text-align: right;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .same-button {
    background: #f3f3f3;
    border: none;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
  }
  
  .same-button:hover {
    background: #e3e3e3;
  }
  
  .panel-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
  }
  
  .send-button,
  .close-button {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
  }
  
  .send-button {
    background: #4CAF50;
    color: white;
  }
  
  .close-button {
    background: #ddd;
  }
  
  @media (min-width: 992px) {
    #shop-panel {
      height: calc(70vh - 40px);
      bottom: 20px;
      top: auto;
    }

    #report-panel {
      left: calc(20px + 320px);
      right: auto;
      height: calc(70vh - 40px);
      bottom: 20px;
      top: auto;
    }
  }

  @media (hover: none) and (pointer: coarse) {
    html, body {
      overflow: hidden;
    }

    #shop-panel,
    #report-panel {
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      box-sizing: border-box;
      height: 50vh;
      overflow: hidden;
      border-radius: 16px 16px 0 0;
      box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
      padding: 14px;
    }

    #shop-panel {
      margin-bottom: 0;
    }

    #report-panel {
      margin-bottom: 0;
    }

    .berry-grid {
      grid-template-columns: 1fr 1fr;
    }
    .berry-name {
      font-size: 30px;
      font-weight: bold;
    }
    .berry-price {
      font-size: 30px;
      font-weight: bold;
    }
    .berry-updated {
      font-size: 12px;
      color: #666;
    }
    .panel-buttons {
      flex-direction: column;
      gap: 10px;
    }
  }
