body {
    font-family: Montserrat, sans-serif;
    margin: 0;
    max-width: 800px;
    margin: auto;
    text-align: center;
    overscroll-behavior: none;
  }
  
  .loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }
  .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #5850CA;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  .loader p {
    margin-top: 1em;
    font-size: 1.2em;
    color: #333;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .header {
    background-color: #5850CA;
    color: white;
    padding: 1em;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 800px;
    z-index: 1000;
    box-sizing: border-box;
  }
  .version-text {
    font-size: 0.7em;
    font-weight: normal;
    color: white;
    margin-top: 0.2em;
  }
  .logo-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 113px auto 1em;
    gap: 20px;
  }
  .logo-container {
    width: 160px;
    height: 160px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .party-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
  .nav-button {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    touch-action: manipulation;
  }
  .nav-button:disabled {
    opacity: 0.1;
    cursor: not-allowed;
  }
  .nav-button svg {
    width: 40px;
    height: 40px;
    fill: #333;
  }
  .group-header {
    background-color: #f0f0f0;
    padding: 0.5em;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 800px;
    z-index: 900;
    box-sizing: border-box;
  }
  .items-container {
    margin-top: 10px;
    padding-bottom: 20px;
  }
  .entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding: 1em 0;
    position: relative;
    min-height: 60px;
  }
  .number-box {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7em;
    font-weight: bold;
    background-color: #fff;
    color: #5850CA;
  }
  .label-text {
    text-align: left;
    line-height: 1.4;
    margin-left: 100px;
  }
  .label-text strong {
    display: block;
    font-size: 1.4em;
    line-height: 1.4em;
  }
  .label-text .name {
    display: block;
    font-size: 1.2em;
    line-height: 1.4em;
  }
  .label-text .title {
    display: block;
    font-size: 1.1em;
    color: #555;
    line-height: 1.4em;
  }
  .fallback {
    margin: 1em;
    font-size: 1.2em;
    text-align: center;
  }