@charset "UTF-8";
/* ==========================================================================
   1. 変数定義 (Variables)
   ========================================================================== */
/* ==========================================================================
   2. 全体構造 & リセット (Reset & Base)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #0b111e;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   3. ヘッダー (Header) - Nesting構造
   ========================================================================== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4%;
  border-bottom: 2px solid #1e315c;
}
.app-header .header-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #00e5ff;
  transform: skewX(-10deg);
  display: inline-block;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6), 0 0 20px rgba(0, 229, 255, 0.3);
}
.app-header .btn-login-nav {
  color: #8fa0dd;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.2s;
}
.app-header .btn-login-nav:hover {
  color: #ffffff;
}

/* ==========================================================================
   4. メインレイアウト (Main Layout & Hero)
   ========================================================================== */
.main-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.hero-section {
  margin-bottom: 50px;
}
.hero-section .brand-title {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 15px;
  transform: skewX(-8deg);
  display: inline-block;
  background: linear-gradient(45deg, #eaff00, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
}
.hero-section .catch-phrase {
  font-size: 16px;
  font-weight: bold;
  color: #8fa0dd;
}

/* ==========================================================================
   5. アクションエリア (Actions & Buttons)
   ========================================================================== */
.action-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.action-section .cta-box {
  background-color: #16223f;
  padding: 30px 20px;
  border-radius: 16px;
  border: 1px solid #253966;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.action-section .cta-box .btn-primary-large {
  width: 100%;
  height: 52px;
  font-size: 18px;
  font-weight: 900;
  color: #000000;
  background-color: #eaff00;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 0px #b2c400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}
.action-section .cta-box .btn-primary-large:hover {
  background-color: #f7ff3c;
  box-shadow: 0 4px 0px #b2c400, 0 0 12px rgba(234, 255, 0, 0.4);
}
.action-section .cta-box .btn-primary-large:active {
  transform: translateY(4px);
  box-shadow: none;
}
.action-section .cta-box .cta-hint {
  font-size: 12px;
  color: #8fa0dd;
  margin-top: 15px;
  line-height: 1.4;
  word-break: break-all;
  overflow-wrap: break-word;
}
.action-section .sub-actions {
  margin-top: 10px;
}
.action-section .sub-actions .btn-secondary {
  color: #00e5ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.action-section .sub-actions .btn-secondary:hover {
  border-color: #00e5ff;
}

/* ==========================================================================
   6. SPA用画面切り替え & 共通テキスト (SPA Section & Text)
   ========================================================================== */
.page-section {
  transition: opacity 0.3s ease;
  opacity: 1;
}
.page-section.hidden {
  display: none !important;
  opacity: 0;
}

.section-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 14px;
  color: #8fa0dd;
  margin-bottom: 35px;
}

/* ==========================================================================
   7. フォーム要素のスタイリング (Form Controls)
   ========================================================================== */
.report-form {
  text-align: left;
  background-color: #16223f;
  padding: 30px 25px;
  border-radius: 20px;
  border: 2px solid #1e315c;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.report-form .form-group {
  margin-bottom: 25px;
}
.report-form .form-group .group-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.report-form .form-group .group-header .label-desc {
  font-size: 11px;
  color: #8fa0dd;
  margin-top: 2px;
  line-height: 1.4;
  word-break: break-all;
  overflow-wrap: break-word;
}
.report-form .form-group-row {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.report-form .form-group-row.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .report-form .form-group-row.grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.report-form .form-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-form .form-label {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}
.report-form .form-label.text-accent-yellow {
  color: #eaff00;
  text-shadow: 0 0 8px rgba(234, 255, 0, 0.3);
}
.report-form .form-label.text-accent-blue {
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}
.report-form .form-input, .report-form .form-select, .report-form .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  background-color: #0d172e;
  border: 2px solid #253966;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.report-form .form-input:focus, .report-form .form-select:focus, .report-form .form-textarea:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}
.report-form .form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
  font-family: inherit;
}
.report-form .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238fa0dd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.report-form .form-select:invalid {
  color: #8fa0dd;
}
.report-form {
  /* 7.1 勝敗トグルスイッチ (WIN/LOSE) */
}
.report-form .win-lose-item {
  align-items: flex-start;
}
.report-form .win-lose-toggle {
  position: relative;
  width: 160px;
  height: 44px;
}
.report-form .win-lose-toggle .toggle-checkbox {
  display: none;
}
.report-form .win-lose-toggle .toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background-color: #121b2d;
  border: 2px solid #47577a;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0 22px;
  transition: background-color 0.2s, border-color 0.2s;
}
.report-form .win-lose-toggle .toggle-label span {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  z-index: 2;
  pointer-events: none;
  line-height: 1;
  transition: color 0.2s, text-shadow 0.2s;
}
.report-form .win-lose-toggle .toggle-label .toggle-win {
  order: 2;
  color: #5c6e8c;
}
.report-form .win-lose-toggle .toggle-label .toggle-lose {
  order: 1;
  color: #000000;
}
.report-form .win-lose-toggle .toggle-label .toggle-switch {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 76px;
  height: 36px;
  background-color: #8fa0dd;
  border-radius: 8px;
  z-index: 1;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(143, 160, 221, 0.4);
}
.report-form .win-lose-toggle .toggle-checkbox:checked + .toggle-label {
  background-color: #2e0d0d;
  border-color: #ff3b30;
}
.report-form .win-lose-toggle .toggle-checkbox:checked + .toggle-label .toggle-win {
  color: #ffffff;
}
.report-form .win-lose-toggle .toggle-checkbox:checked + .toggle-label .toggle-lose {
  color: #5c6e8c;
}
.report-form .win-lose-toggle .toggle-checkbox:checked + .toggle-label .toggle-switch {
  transform: translateX(76px);
  background-color: #ff3b30;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.8);
}
.report-form {
  /* 7.2 動的リスト (Points List) */
}
.report-form .points-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.report-form .point-item-row {
  display: flex;
  gap: 10px;
  align-items: center;
  animation: slideIn 0.2s ease-out;
}
.report-form .point-item-row .btn-time-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 80px;
  height: 44px;
  background-color: #0d172e;
  border: 2px solid #253966;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.report-form .point-item-row .btn-time-trigger:hover {
  background-color: #122144;
  border-color: #00e5ff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}
.report-form .point-item-row .btn-time-trigger .time-icon {
  font-size: 12px;
  color: #8fa0dd;
  transition: color 0.2s;
}
.report-form .point-item-row .btn-time-trigger:hover .time-icon {
  color: #00e5ff;
}
.report-form .point-item-row .input-desc {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  background-color: #0d172e;
  border: 2px solid #253966;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.report-form .point-item-row .input-desc:focus {
  border-color: #00e5ff;
}
.report-form .point-item-row .btn-delete-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #ff4a4a;
  background-color: rgba(255, 74, 74, 0.1);
  border: 1px solid rgba(255, 74, 74, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.report-form .point-item-row .btn-delete-item:hover {
  background-color: #ff4a4a;
  color: #ffffff;
  border-color: #ff4a4a;
}
.report-form .point-item-row .btn-delete-item.hidden {
  display: none !important;
}
.report-form .btn-add-item {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  background-color: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.report-form .btn-add-item.btn-yellow-outline {
  color: #eaff00;
  border: 2px dashed rgba(234, 255, 0, 0.4);
}
.report-form .btn-add-item.btn-yellow-outline:hover {
  background-color: rgba(234, 255, 0, 0.1);
  border-color: #eaff00;
}
.report-form .btn-add-item.btn-blue-outline {
  color: #00e5ff;
  border: 2px dashed rgba(0, 229, 255, 0.4);
}
.report-form .btn-add-item.btn-blue-outline:hover {
  background-color: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
}
.report-form {
  /* 7.3 アクションボタンエリア */
}
.report-form .form-actions {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  border-top: 1px solid #1e315c;
  padding-top: 25px;
}
.report-form .form-actions .btn-secondary {
  flex: 1;
  height: 52px;
  font-size: 16px;
  font-weight: bold;
  color: #8fa0dd;
  background-color: transparent;
  border: 2px solid #1e315c;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.report-form .form-actions .btn-secondary:hover {
  color: #ffffff;
  border-color: #8fa0dd;
}
.report-form .form-actions .btn-primary-large {
  flex: 2;
  height: 52px;
  padding: 0;
  font-size: 18px;
  font-weight: 900;
  color: #000000;
  background-color: #eaff00;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 0px #b2c400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
}
.report-form .form-actions .btn-primary-large:hover {
  background-color: #f7ff3c;
  box-shadow: 0 4px 0px #b2c400, 0 0 12px rgba(234, 255, 0, 0.4);
}
.report-form .form-actions .btn-primary-large:active {
  transform: translateY(4px);
  box-shadow: none;
}

/* ==========================================================================
   8. タイムピッカーモーダル (Time Picker Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 17, 30, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
}

.modal-content {
  background-color: #16223f;
  border: 2px solid #1e315c;
  border-radius: 24px;
  width: 90%;
  max-width: 340px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-content .modal-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

/* 8.1 デジタル時間表示 & 微調整エリア */
.digital-adjuster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}
.digital-adjuster .digital-time {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  width: 120px;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(234, 255, 0, 0.5);
}
.digital-adjuster .digital-time.text-accent-blue {
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.digital-adjuster .btn-adjust {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #1e315c;
  background-color: #0d172e;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
}
.digital-adjuster .btn-adjust:hover {
  background-color: #16264d;
  border-color: #00e5ff;
}
.digital-adjuster .btn-adjust:active {
  transform: scale(0.9);
}

/* 8.2 アナログ文字盤 (Circle Dial) */
.circle-dial-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.circle-dial {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #080f1e;
  border: 3px solid #1e315c;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
  touch-action: none;
  /* 主要目盛り数字 */
}
.circle-dial .dial-marker {
  position: absolute;
  font-size: 13px;
  font-weight: 900;
  color: #8fa0dd;
  user-select: none;
  pointer-events: none;
  z-index: 3;
  transition: color 0.2s, text-shadow 0.2s;
}
.circle-dial .dial-marker.marker-0 {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
}
.circle-dial .dial-marker.marker-1 {
  top: 36px;
  right: 22px;
}
.circle-dial .dial-marker.marker-2 {
  bottom: 36px;
  right: 22px;
}
.circle-dial .dial-marker.marker-3 {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.circle-dial .dial-marker.marker-4 {
  bottom: 36px;
  left: 22px;
}
.circle-dial .dial-marker.marker-5 {
  top: 36px;
  left: 22px;
}
.circle-dial {
  /* SVGプログレスサークル */
}
.circle-dial .dial-svg {
  position: absolute;
  top: -3px;
  left: -3px;
  transform: rotate(-90deg);
  z-index: 1;
  pointer-events: none;
}
.circle-dial .dial-svg .dial-bg-circle {
  fill: none;
  stroke: #121c33;
  stroke-width: 8px;
}
.circle-dial .dial-svg .dial-progress-circle {
  fill: none;
  stroke: #eaff00;
  stroke-width: 8px;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear, stroke 0.2s;
}
.circle-dial .dial-svg .dial-progress-circle.stroke-accent-blue {
  stroke: #00e5ff;
}
.circle-dial {
  /* 回転する針 */
}
.circle-dial .dial-hand {
  position: absolute;
  width: 20px;
  height: 80px;
  top: 0;
  left: 70px;
  transform-origin: bottom center;
  z-index: 2;
  pointer-events: none;
}
.circle-dial .dial-hand .hand-pin {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #eaff00;
  border: 3px solid #000000;
  box-shadow: 0 0 10px rgba(234, 255, 0, 0.8);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.circle-dial .dial-hand .hand-pin:hover {
  transform: translateX(-50%) scale(1.2);
}
.circle-dial .dial-hand .hand-pin.bg-accent-blue {
  background-color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

/* 8.3 モーダルアクションエリア */
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.modal-actions .btn-secondary {
  flex: 1;
  height: 44px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #1e315c;
  border-radius: 12px;
  cursor: pointer;
  background-color: transparent;
  color: #8fa0dd;
  transition: border-color 0.2s, color 0.2s;
}
.modal-actions .btn-secondary:hover {
  border-color: #8fa0dd;
  color: #ffffff;
}
.modal-actions .btn-primary-large {
  flex: 1.5;
  height: 44px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   9. レポート結果表示画面 (Result Page)
   ========================================================================== */
.result-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #16223f;
  padding: 30px 25px;
  border-radius: 20px;
  border: 2px solid #1e315c;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
}
.result-container .image-preview-box {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #1e315c;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.6);
  background-color: #080f1e;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.result-container .image-preview-box img {
  width: 100%;
  height: auto;
  display: block;
}
.result-container .result-hint {
  font-size: 11px;
  color: #8fa0dd;
  margin-top: 12px;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.4;
}
.result-container .result-hint-x {
  font-size: 11px;
  color: #8fa0dd;
  margin-top: -5px;
  margin-bottom: 5px;
  text-align: center;
  line-height: 1.4;
}
.result-container .result-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  gap: 15px;
}
.result-container .result-actions .btn-primary-large, .result-container .result-actions .btn-secondary {
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s, border-color 0.2s;
}
.result-container .result-actions {
  /* 画像保存ボタン + Xアイコンボタンの横並び行 */
}
.result-container .result-actions .btn-download-row {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: stretch;
  /* 画像保存ボタンが残り幅を伸びる */
}
.result-container .result-actions .btn-download-row .btn-primary-large {
  flex: 1;
}
.result-container .result-actions {
  /* 保存するボタン（ネオンイエロー） */
}
.result-container .result-actions .btn-download {
  color: #000000;
  background-color: #eaff00;
  border: none;
  box-shadow: 0 4px 0px #b2c400;
}
.result-container .result-actions .btn-download:hover {
  background-color: #f7ff3c;
  box-shadow: 0 4px 0px #b2c400, 0 0 12px rgba(234, 255, 0, 0.4);
}
.result-container .result-actions .btn-download:active {
  transform: translateY(4px);
  box-shadow: none;
}
.result-container .result-actions {
  /* Xアイコンボタン */
}
.result-container .result-actions .btn-icon-share {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #333333;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 0px #111111;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.1s, transform 0.1s;
}
.result-container .result-actions .btn-icon-share svg {
  transition: transform 0.2s;
}
.result-container .result-actions .btn-icon-share:hover {
  background-color: #1a1a1a;
  border-color: #555555;
  box-shadow: 0 4px 0px #111111, 0 0 14px rgba(255, 255, 255, 0.2);
}
.result-container .result-actions .btn-icon-share:hover svg {
  transform: scale(1.15);
}
.result-container .result-actions .btn-icon-share:active {
  transform: translateY(4px);
  box-shadow: none;
}
.result-container .result-actions .btn-icon-share:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.result-container .result-actions {
  /* 戻って編集するボタン */
}
.result-container .result-actions .btn-secondary {
  color: #8fa0dd;
  background-color: transparent;
  border: 2px solid #1e315c;
}
.result-container .result-actions .btn-secondary:hover {
  color: #ffffff;
  border-color: #8fa0dd;
}

/* ==========================================================================
   12. リザルト画像添付UI (Result Image Upload)
   ========================================================================== */
.result-image-upload-area {
  width: 100%;
  min-height: 120px;
  background-color: rgba(22, 34, 63, 0.4);
  border: 2px dashed #47577a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s, background-color 0.2s;
  overflow: hidden;
}
.result-image-upload-area:hover {
  border-color: #8fa0dd;
  background-color: rgba(22, 34, 63, 0.6);
}
.result-image-upload-area.dragover {
  border-color: #eaff00;
  background-color: rgba(234, 255, 0, 0.05);
}

.result-image-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  cursor: pointer;
  color: #8fa0dd;
}
.result-image-upload-label .upload-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.result-image-upload-label .upload-text {
  font-size: 13px;
  font-weight: bold;
  color: #8fa0dd;
}

.result-image-preview-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}
.result-image-preview-wrap.hidden {
  display: none !important;
}
.result-image-preview-wrap .result-image-thumb {
  max-width: 100%;
  max-height: 240px;
  border-radius: 8px;
  border: 2px solid #1e315c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}
.result-image-preview-wrap .btn-clear-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 59, 48, 0.95);
  color: #ffffff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s, transform 0.1s;
}
.result-image-preview-wrap .btn-clear-image:hover {
  background-color: #ff3b30;
  transform: scale(1.1);
}
.result-image-preview-wrap .btn-clear-image:active {
  transform: scale(0.9);
}

/* ==========================================================================
   13. 画像編集モーダル (Image Editor Modal)
   ========================================================================== */
.image-editor-content {
  max-width: 500px !important;
}
.image-editor-content .cropper-wrapper {
  width: 100%;
  height: 320px;
  background-color: #080f1e;
  border-radius: 12px;
  border: 2px solid #1e315c;
  overflow: hidden;
  margin-bottom: 20px;
}
.image-editor-content .cropper-wrapper img {
  max-width: 100%;
  display: block;
}
.image-editor-content .editor-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.image-editor-content .editor-controls .btn-secondary {
  flex: 1;
  height: 40px;
  font-size: 13px;
  font-weight: bold;
  border: 2px solid #1e315c;
  border-radius: 10px;
  cursor: pointer;
  background-color: transparent;
  color: #8fa0dd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.image-editor-content .editor-controls .btn-secondary:hover {
  border-color: #00e5ff;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}
.image-editor-content .editor-controls .btn-secondary.active {
  background-color: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
  color: #00e5ff;
}

/*# sourceMappingURL=style.css.map */
