
  .btn.svelte-1hyw8ao {
    /* 最大サイズ: width 353px, height 44px */
    max-width: 353px;
    width: 100%;
    height: 44px;
    padding: 0 1.5rem;
    border: none;
    border-radius: 20px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn.full-width.svelte-1hyw8ao {
    max-width: 100%;
  }

  .btn.svelte-1hyw8ao:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .btn.svelte-1hyw8ao:active:not(:disabled) {
    transform: translateY(0);
  }

  .btn.svelte-1hyw8ao:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* レスポンシブ対応 */
  @media (max-width: 393px) {
    .btn.svelte-1hyw8ao:not(.full-width) {
      /* 親要素で幅が制限されている場合は100%のまま */
      max-width: 100%;
    }

    .btn.full-width.svelte-1hyw8ao {
      /* 親要素の幅に合わせる */
      width: 100%;
    }
  }

  .input-wrapper.svelte-1es63fc {
    width: 100%;
    height: 44px;
  }

  .input.svelte-1es63fc {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .input.svelte-1es63fc::placeholder {
    color: rgba(0, 0, 0, 0.4);
  }

  .input.svelte-1es63fc:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.5);
  }

  .input.svelte-1es63fc:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .input.error.svelte-1es63fc {
    border: 2px solid #ef4444;
  }

  .error-message.svelte-1es63fc {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
  }

  .radio-label.svelte-1aj0zaz {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 0;
    background: none;
    transition: all 0.2s ease;
  }

  .radio-label.svelte-1aj0zaz:hover .radio-custom:where(.svelte-1aj0zaz) {
    border-color: rgba(255, 255, 255, 0.8);
  }

  .radio-input.svelte-1aj0zaz {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  .radio-custom.svelte-1aj0zaz {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.2s ease;
  }

  .radio-input.svelte-1aj0zaz:checked ~ .radio-custom:where(.svelte-1aj0zaz) {
    border-color: #c2dc50;
    background: #c2dc50;
  }

  .radio-input.svelte-1aj0zaz:checked ~ .radio-custom:where(.svelte-1aj0zaz)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #000;
  }

  .radio-text.svelte-1aj0zaz {
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
  }

  .select-wrapper.svelte-xncpio {
    width: 100%;
    height: 44px;
  }

  .select.svelte-xncpio {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
  }

  .select.placeholder.svelte-xncpio {
    color: rgba(0, 0, 0, 0.4);
  }

  .select.svelte-xncpio:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .select.svelte-xncpio:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .select.error.svelte-xncpio {
    border: 2px solid #ef4444;
  }

  .error-message.svelte-xncpio {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #ef4444;
  }

  /* iOS Safari対応 */
  .select.svelte-xncpio {
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .loading-container.svelte-1ga9xds {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .spinner.svelte-1ga9xds {
    border-style: solid;
    border-radius: 50%;
    animation: svelte-1ga9xds-spin 0.8s linear infinite;
  }

  @keyframes svelte-1ga9xds-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .header.svelte-2g98xe {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
  }

  /* 白背景の画面で戻る/ロゴ（白）を視認させる濃色バリアント。上部セーフエリアも塗る。 */
  .header.solid.svelte-2g98xe {
    background: rgba(43, 36, 34, 0.92);
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  }

  .header-gradient.svelte-2g98xe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: opacity 0.1s ease-out;
  }

  .header-content.svelte-2g98xe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
  }

  .back-button.svelte-2g98xe {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: opacity 0.1s ease-out;
  }

  .notification-button.svelte-2g98xe {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: background 0.1s ease-out;
    position: relative;
    border-radius: 70px;
    background: transparent;
  }

  .back-button.svelte-2g98xe:active,
  .notification-button.svelte-2g98xe:active {
    opacity: 0.7;
  }

  .notification-badge.svelte-2g98xe {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
  }

  .logo.svelte-2g98xe {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.1s ease-out;
  }

  /* ロゴの代わりに出す画面名 */
  .title.svelte-2g98xe {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .title.compact.svelte-2g98xe {
    font-size: 16px;
    font-weight: 700;
  }

  .spacer.svelte-2g98xe {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .cropper-overlay.svelte-130vypm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }

  .cropper-container.svelte-130vypm {
    flex: 1;
    position: relative;
    overflow: hidden;
    touch-action: none;
  }

  .cropper-canvas.svelte-130vypm {
    width: 100%;
    height: 100%;
    cursor: grab;
  }

  .cropper-canvas.svelte-130vypm:active {
    cursor: grabbing;
  }

  .loading-overlay.svelte-130vypm {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
  }

  .cropper-controls.svelte-130vypm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    background: #000;
  }

  .cancel-button.svelte-130vypm {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .cancel-button.svelte-130vypm:hover {
    opacity: 0.8;
  }

  .rotate-button.svelte-130vypm {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.2s;
  }

  .rotate-button.svelte-130vypm:hover {
    opacity: 0.8;
  }

  .rotate-button.svelte-130vypm:active {
    opacity: 0.6;
  }

  .complete-button.svelte-130vypm {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .complete-button.svelte-130vypm:hover {
    opacity: 0.8;
  }

  .complete-button.svelte-130vypm:active {
    opacity: 0.6;
  }

  .rotate-button.svelte-130vypm:disabled,
  .complete-button.svelte-130vypm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .info-banner.svelte-13nzvy6 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: rgba(210, 41, 76, 0.3);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 150%;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.15s ease;
    font-family: inherit;
  }

  .info-banner.svelte-13nzvy6:hover {
    opacity: 0.85;
  }

  .info-banner.svelte-13nzvy6:active {
    opacity: 0.7;
  }

  .info-banner.svelte-13nzvy6:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
  }

  .info-banner-chevron.svelte-13nzvy6 {
    flex-shrink: 0;
  }

  .info-banner-text.svelte-13nzvy6 {
    flex: 0 1 auto;
  }

  .feedback.svelte-mf8qsz {
    position: relative;
    width: 100%;
    padding: 16px 44px 16px 16px;
    border-radius: 16px;
    /* #444444 の 75%（トースト等の視認性のため。半透明感は残す）。 */
    background: #444444bf;
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .feedback__lead.svelte-mf8qsz {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .feedback__icon.svelte-mf8qsz {
    flex-shrink: 0;
    line-height: 0;
    margin-top: 1px;
  }

  .feedback__title.svelte-mf8qsz {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
  }

  .feedback__message.svelte-mf8qsz {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    white-space: pre-line;
  }

  /* タイトルが無い場合、メッセージはアイコンの右に並べる（上マージン無し）。 */
  .feedback__message--inline.svelte-mf8qsz {
    margin: 0;
  }

  .feedback__close.svelte-mf8qsz {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
  }

  .feedback__close.svelte-mf8qsz:hover {
    color: #ffffff;
  }

  .feedback__close.svelte-mf8qsz:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* 重要度ごとの文字・アイコン色。default / info は白、warning は黄、error はピンク。 */
  .feedback--warning.svelte-mf8qsz {
    color: #d6df22;
  }

  .feedback--error.svelte-mf8qsz {
    color: #d2294c;
  }

  /* ×は重要度色に引っ張られず常に白系。 */
  .feedback--warning.svelte-mf8qsz .feedback__close:where(.svelte-mf8qsz),
  .feedback--error.svelte-mf8qsz .feedback__close:where(.svelte-mf8qsz) {
    color: rgba(255, 255, 255, 0.85);
  }

  .feedback--warning.svelte-mf8qsz .feedback__close:where(.svelte-mf8qsz):hover,
  .feedback--error.svelte-mf8qsz .feedback__close:where(.svelte-mf8qsz):hover {
    color: #ffffff;
  }

  .badge.svelte-f2tz4c {
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 12px;
    border-radius: 0 0 4px 0;
    font-size: 12px;
    font-weight: 700;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
  }

  .badge-premium.svelte-f2tz4c {
    background: #d42c41;
  }

  .badge-done.svelte-f2tz4c {
    background: #d6df22;
    color: #333333;
  }

  .coin-icon.svelte-f2tz4c {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .toast-wrap.svelte-b6hkpt {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    left: 16px;
    right: 16px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    animation: svelte-b6hkpt-toast-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  /* 固定オーバーレイは pointer-events: none だが、カード自体は操作可能に戻す。 */
  .toast-wrap.svelte-b6hkpt .feedback {
    pointer-events: auto;
    max-width: 480px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  @keyframes svelte-b6hkpt-toast-in {
    from {
      transform: translateY(-16px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .screen.svelte-1jhjbst {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .background.svelte-1jhjbst {
    position: fixed;
    inset: 0;
    /* 背景画像はオフラインで取得できないことがあるため、暗色フォールバックを敷く。 */
    background-color: #1a1a1a;
    background-image: url('/assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
  }

  .background.svelte-1jhjbst::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
  }

  .content.svelte-1jhjbst {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: var(--app-vh, 100dvh);
    gap: 30px;
    padding: 24px 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
    text-align: center;
  }

  .icon.svelte-1jhjbst {
    width: 120px;
    height: 120px;
    object-fit: contain;
  }

  .title.svelte-1jhjbst {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
  }

  .message.svelte-1jhjbst {
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
  }

  .retry.svelte-1jhjbst {
    margin-top: 4px;
    width: 100%;
    max-width: 353px;
    height: 52px;
    border-radius: 26px;
    background: #d6df22;
    color: #222;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .retry.svelte-1jhjbst:active {
    opacity: 0.8;
  }
