/* ==============================================
   Sc VeRA - Friend Topics CSS（シンプル版）
   ============================================== */

/* ---- HERO ---- */
.ft-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 120px 40px 60px;
  overflow: hidden;
}
.ft-hero-bg {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg, transparent, transparent 38px,
      rgba(255,255,255,0.012) 38px, rgba(255,255,255,0.012) 39px
    ), var(--gray-900);
}
.ft-hero-bg::after {
  content: 'TOPICS';
  position: absolute;
  right: -10px; bottom: -20px;
  font-family: var(--font-en);
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900; font-style: normal;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none; user-select: none;
}
.ft-hero-content {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
}
.ft-hero-label {
  font-family: var(--font-en);
  font-size: 0.62rem; font-weight: 700; font-style: normal;
  letter-spacing: 0.28em; color: var(--gray-500); margin-bottom: 12px;
}
.ft-hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 900; font-style: normal; letter-spacing: 0.04em;
  color: var(--white); line-height: 1; margin-bottom: 16px;
}
.ft-hero-sub {
  font-size: 0.85rem; color: var(--gray-400); line-height: 1.8;
}

/* ---- MAIN ---- */
.ft-main { padding: 48px 0 80px; }

/* ---- 投稿ボタン帯 ---- */
.ft-post-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-700);
}
.ft-post-count {
  font-family: var(--font-en);
  font-size: 0.65rem; font-weight: 700; font-style: normal;
  letter-spacing: 0.16em; color: var(--gray-500);
}
.ft-post-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--white);
  border-radius: 4px; padding: 10px 22px;
  color: var(--black);
  font-family: var(--font-en); font-size: 0.68rem; font-weight: 700;
  font-style: normal; letter-spacing: 0.16em;
  cursor: pointer; transition: all var(--transition);
}
.ft-post-btn:hover { background: transparent; color: var(--white); }

/* ---- 投稿グリッド ---- */
.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* ---- 投稿カード ---- */
.ft-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.25s;
}
.ft-card:hover {
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-3px);
}

/* メディア（画像・動画共通） */
.ft-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.05);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* imgタグ画像（lb-trigger対応） */
.ft-card-media-img {
  background-color: #000;
}
.ft-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, opacity 0.2s;
}
.ft-card-img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}
.ft-card-video {
  background: #000;
  position: relative;
}
.ft-card-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.ft-card-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: 2rem;
}

/* カードボディ */
.ft-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ft-card-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ft-card-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  color: var(--gray-500);
}
.ft-author-avatar {
  width: 22px; height: 22px;
  background: var(--gray-700);
  border: 1px solid var(--gray-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  color: var(--gray-400); flex-shrink: 0;
}
.ft-author-name { flex: 1; }
.ft-card-date {
  font-family: var(--font-en);
  font-size: 0.58rem; color: var(--gray-600);
  letter-spacing: 0.04em; flex-shrink: 0;
}
.ft-card-msg {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.ft-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

/* いいねボタン */
.ft-like-btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent;
  border: 1px solid var(--gray-700);
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--gray-500); font-size: 0.65rem;
  cursor: pointer; transition: all var(--transition);
}
.ft-like-btn:hover,
.ft-like-btn.liked {
  border-color: rgba(255,100,100,0.5);
  color: #ff6b6b;
}
.ft-like-btn i { font-size: 0.6rem; }

/* 編集ボタン */
.ft-edit-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent;
  border: 1px solid rgba(100,180,255,0.5);
  border-radius: 100px;
  padding: 3px 12px;
  color: rgba(120,190,255,0.85);
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  font-style: normal; letter-spacing: 0.10em;
  cursor: pointer; transition: all var(--transition);
}
.ft-edit-btn:hover { border-color: rgba(100,180,255,0.9); color: #64b4ff; }
.ft-edit-btn i { font-size: 0.58rem; }

/* ---- ローディング / 空 ---- */
.ft-loading {
  grid-column: 1/-1; text-align: center;
  padding: 60px 0; color: var(--gray-500); font-size: 0.85rem;
}
.ft-empty {
  text-align: center; padding: 80px 0; color: var(--gray-600);
}
.ft-empty i  { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.ft-empty p  { font-size: 0.85rem; }

/* ================================================
   投稿・編集フォーム モーダル
   ============================================== */
.ft-form-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.90);
  z-index: 3200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.ft-form-overlay.open { opacity: 1; pointer-events: all; }

.ft-form-box {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 8px;
  width: 100%; max-width: 520px;
  max-height: 92vh;
  display: flex; flex-direction: column; /* ← 縦積みFlexにして内部スクロールを制御 */
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.ft-form-overlay.open .ft-form-box { transform: translateY(0); }

.ft-form-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-700);
  position: sticky; top: 0;
  background: var(--gray-900); z-index: 2;
}
.ft-form-header-title {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 900; font-style: normal;
  letter-spacing: 0.18em; color: var(--white);
}
.ft-form-close {
  width: 32px; height: 32px;
  background: var(--gray-800); border: 1px solid var(--gray-600);
  border-radius: 50%; color: var(--gray-400); font-size: 0.78rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ft-form-close:hover { border-color: var(--white); color: var(--white); }

.ft-form-body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
  flex: 1;
}

/* フォームフィールド */
.ft-field { display: flex; flex-direction: column; gap: 6px; }
.ft-label {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; font-style: normal;
  letter-spacing: 0.16em; color: var(--gray-500);
}
.ft-label .ft-required { color: #ff6b6b; margin-left: 3px; }
.ft-hint-text { color: var(--gray-600); font-size: 0.9em; letter-spacing: 0; }

.ft-input, .ft-textarea {
  background: var(--gray-800); border: 1px solid var(--gray-700);
  border-radius: 4px; padding: 10px 14px;
  color: var(--white); font-family: var(--font-jp); font-size: 0.82rem;
  width: 100%; transition: border-color var(--transition);
}
.ft-input:focus, .ft-textarea:focus {
  outline: none; border-color: var(--gray-400);
}
.ft-input::placeholder, .ft-textarea::placeholder { color: var(--gray-600); }
.ft-textarea { min-height: 110px; resize: vertical; line-height: 1.7; }

/* 画像プレビューエリア（4:3） */
.ft-img-pick-area {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-size: cover; background-position: center;
  background-color: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: rgba(255,255,255,0.3); font-size: 0.72rem;
  position: relative; cursor: pointer;
  transition: border-color 0.2s;
}
.ft-img-pick-area:hover { border-color: rgba(255,255,255,0.45); }
.ft-img-pick-area i { font-size: 1.6rem; }

.ft-img-pick-clear {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,0.6); border: none; border-radius: 50%;
  width: 24px; height: 24px; color: #fff; font-size: 0.65rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.ft-upload-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px; padding: 7px 14px;
  font-size: 0.75rem; color: rgba(255,255,255,0.8);
  cursor: pointer; transition: background 0.2s; width: fit-content;
}
.ft-upload-label:hover { background: rgba(255,255,255,0.12); }

.ft-img-size-hint {
  font-size: 0.62rem; color: rgba(255,255,255,0.3);
  margin-top: 2px; min-height: 1em;
}

/* エラー */
.ft-form-error {
  font-size: 0.72rem; color: #ff6b6b; display: none;
  padding: 8px 12px;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.3);
  border-radius: 4px;
}
.ft-form-error.show { display: block; }

/* フォームフッター */
.ft-form-footer {
  padding: 14px 24px 22px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; border-top: 1px solid var(--gray-700);
}
.ft-btn-cancel {
  background: transparent; border: 1px solid var(--gray-600);
  border-radius: 4px; padding: 9px 20px; color: var(--gray-400);
  font-family: var(--font-en); font-size: 0.65rem; font-weight: 700;
  font-style: normal; letter-spacing: 0.12em;
  cursor: pointer; transition: all var(--transition);
}
.ft-btn-cancel:hover { border-color: var(--gray-300); color: var(--gray-200); }
.ft-btn-submit {
  background: var(--white); border: 1px solid var(--white);
  border-radius: 4px; padding: 9px 24px; color: var(--black);
  font-family: var(--font-en); font-size: 0.65rem; font-weight: 900;
  font-style: normal; letter-spacing: 0.12em;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.ft-btn-submit:hover { background: transparent; color: var(--white); }
.ft-btn-submit:disabled { opacity: 0.4; pointer-events: none; }

.ft-btn-delete-topic {
  background: transparent; border: 1px solid rgba(255,100,100,0.45);
  border-radius: 4px; padding: 9px 18px; color: rgba(255,120,120,0.8);
  font-family: var(--font-en); font-size: 0.65rem; font-weight: 700;
  font-style: normal; letter-spacing: 0.10em;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; gap: 6px; margin-right: auto;
}
.ft-btn-delete-topic:hover { border-color: rgba(255,100,100,0.9); color: #ff6b6b; }
.ft-btn-delete-topic:disabled { opacity: 0.4; pointer-events: none; }

/* ================================================
   トースト
   ============================================== */
.ft-toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--gray-800); border: 1px solid var(--gray-600);
  border-radius: 100px; padding: 10px 24px;
  font-size: 0.75rem; color: var(--white);
  white-space: nowrap; z-index: 9999;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0; pointer-events: none;
}
.ft-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ================================================
   イベント添付UI（投稿フォーム内）
   ============================================== */
.ft-ev-attach-wrap {
  border-top: 1px solid rgba(234,179,8,0.25);
  overflow: hidden;
  background: rgba(234,179,8,0.04);
  flex-shrink: 0;
}

.ft-ev-toggle-btn {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: rgba(234,179,8,0.85);
  font-family: var(--font-jp); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; text-align: left;
  transition: background 0.2s;
}
.ft-ev-toggle-btn:hover { background: rgba(234,179,8,0.07); }
.ft-ev-toggle-btn > i:first-child { font-size: 0.78rem; color: rgba(234,179,8,0.7); }
.ft-ev-toggle-btn > span { flex: 1; }

.ft-ev-chevron {
  font-size: 0.6rem;
  color: rgba(234,179,8,0.5);
  transition: transform 0.25s ease;
}
.ft-ev-chevron.open { transform: rotate(180deg); }

/* 折りたたみフィールド */
.ft-ev-fields {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px 14px;
  border-top: 1px solid rgba(234,179,8,0.15);
}
.ft-ev-fields.open { display: flex; }

.ft-ev-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.ft-ev-col { display: flex; flex-direction: column; gap: 4px; }
.ft-ev-col-grow { flex: 1; }

.ft-ev-label {
  font-family: var(--font-en);
  font-size: 0.58rem; font-weight: 700; font-style: normal;
  letter-spacing: 0.13em; color: rgba(234,179,8,0.6);
}
.ft-ev-label .ft-required { color: #ff6b6b; margin-left: 2px; }
.ft-ev-label .ft-hint-text { color: var(--gray-600); font-size: 0.9em; letter-spacing: 0; }

.ft-ev-input {
  background: var(--gray-800);
  border: 1px solid rgba(234,179,8,0.2);
  border-radius: 4px; padding: 7px 10px;
  color: var(--white); font-family: var(--font-jp); font-size: 0.78rem;
  width: 100%; transition: border-color var(--transition);
}
.ft-ev-input:focus {
  outline: none; border-color: rgba(234,179,8,0.6);
}
.ft-ev-input::placeholder { color: var(--gray-600); }
.ft-ev-input[type="date"],
.ft-ev-input[type="time"] {
  color-scheme: dark;
  min-width: 110px;
}

/* ================================================
   イベントジャンプバッジ（投稿カード内）
   ============================================== */
.ft-ev-jump-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(234,179,8,0.12) 0%, rgba(234,179,8,0.06) 100%);
  border: 1px solid rgba(234,179,8,0.35);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  margin-top: 2px;
}
.ft-ev-jump-badge:hover {
  border-color: rgba(234,179,8,0.7);
  background: linear-gradient(135deg, rgba(234,179,8,0.18) 0%, rgba(234,179,8,0.10) 100%);
  transform: translateY(-1px);
}
.ft-ev-jump-badge i {
  font-size: 0.82rem;
  color: #eab308;
  flex-shrink: 0;
}
.ft-ev-badge-label {
  flex: 1;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(234,179,8,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ft-ev-badge-date {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  color: rgba(234,179,8,0.55);
  flex-shrink: 0;
}

/* ================================================
   イベントカードモーダル
   ============================================== */
.ft-ev-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 3300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.ft-ev-modal.open { opacity: 1; pointer-events: all; }

.ft-ev-modal-box {
  background: var(--gray-900);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: 12px;
  width: 100%; max-width: 440px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 0 40px rgba(234,179,8,0.08);
}
.ft-ev-modal.open .ft-ev-modal-box { transform: translateY(0) scale(1); }

/* モーダルヘッダー */
.ft-ev-modal-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(234,179,8,0.15);
  position: sticky; top: 0;
  background: var(--gray-900); z-index: 2;
}
.ft-ev-modal-icon { font-size: 1.1rem; flex-shrink: 0; }
.ft-ev-modal-header-title {
  flex: 1;
  font-weight: 800; font-size: 0.92rem;
  color: var(--white); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ft-ev-modal-close {
  width: 30px; height: 30px;
  background: var(--gray-800); border: 1px solid var(--gray-600);
  border-radius: 50%; color: var(--gray-400); font-size: 0.72rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.ft-ev-modal-close:hover { border-color: var(--white); color: var(--white); }

/* 中止バナー */
.ft-ev-modal-cancelled {
  background: rgba(239,68,68,0.12);
  border-bottom: 1px solid rgba(239,68,68,0.3);
  padding: 9px 20px;
  font-size: 0.75rem; font-weight: 700;
  color: #f87171; text-align: center; letter-spacing: 0.02em;
}

/* モーダルボディ（日時・場所・メモ） */
.ft-ev-modal-body {
  padding: 16px 20px 14px;
  display: flex; flex-direction: column; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ft-ev-modal-info-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
}
.ft-ev-modal-info-icon {
  color: rgba(234,179,8,0.55);
  font-size: 0.78rem; margin-top: 2px; flex-shrink: 0; width: 14px;
}

/* 出欠カウンター */
.ft-ev-modal-counter {
  padding: 14px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ft-ev-cnt-btns {
  display: flex; gap: 8px;
  margin-bottom: 10px;
}
.ft-ev-cnt-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 9px 10px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-jp); font-size: 0.74rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.ft-ev-cnt-btn i { font-size: 0.72rem; }
.ft-ev-cnt-num {
  font-family: var(--font-en);
  font-size: 0.7rem; font-weight: 900; font-style: normal;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 1px 7px; margin-left: 2px;
}
.ft-ev-cnt-btn:hover:not(:disabled) {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}
.ft-ev-cnt-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 参加 アクティブ */
.ft-ev-cnt-btn.active-att {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.5);
  color: #4ade80;
}
.ft-ev-cnt-btn.active-att .ft-ev-cnt-num {
  background: rgba(34,197,94,0.18);
}
/* 参加予定 アクティブ */
.ft-ev-cnt-btn.active-con {
  background: rgba(234,179,8,0.12);
  border-color: rgba(234,179,8,0.45);
  color: #eab308;
}
.ft-ev-cnt-btn.active-con .ft-ev-cnt-num {
  background: rgba(234,179,8,0.18);
}

/* コメント行 */
.ft-ev-cnt-comment-row {
  display: flex; gap: 6px; align-items: center;
}
.ft-ev-cnt-comment {
  flex: 1;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 6px; padding: 7px 10px;
  color: var(--white); font-family: var(--font-jp); font-size: 0.74rem;
  transition: border-color var(--transition);
}
.ft-ev-cnt-comment:focus { outline: none; border-color: rgba(234,179,8,0.5); }
.ft-ev-cnt-comment::placeholder { color: var(--gray-600); }
.ft-ev-cnt-comment-send {
  background: rgba(234,179,8,0.15);
  border: 1px solid rgba(234,179,8,0.35);
  border-radius: 6px; padding: 7px 12px;
  color: rgba(234,179,8,0.85); font-size: 0.7rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.ft-ev-cnt-comment-send:hover {
  background: rgba(234,179,8,0.25);
  border-color: rgba(234,179,8,0.65);
}

/* 管理者用中止ボタン */
.ft-ev-modal-admin-row {
  padding: 10px 20px 16px;
  display: flex; justify-content: center;
}
.ft-ev-modal-cancel-btn {
  background: transparent;
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 6px; padding: 7px 20px;
  color: rgba(239,68,68,0.75);
  font-family: var(--font-jp); font-size: 0.72rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.ft-ev-modal-cancel-btn:hover {
  border-color: rgba(239,68,68,0.9); color: #f87171;
  background: rgba(239,68,68,0.06);
}
.ft-ev-modal-cancel-btn.undo {
  border-color: rgba(34,197,94,0.4); color: rgba(34,197,94,0.75);
}
.ft-ev-modal-cancel-btn.undo:hover {
  border-color: rgba(34,197,94,0.9); color: #4ade80;
  background: rgba(34,197,94,0.06);
}

/* ================================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
  .ft-hero { padding: 100px 24px 48px; }
  .ft-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .ft-form-body { padding: 18px; }
  .ft-form-footer { padding: 14px 18px 20px; }
  .ft-ev-modal-box { max-width: 100%; }
}
@media (max-width: 480px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-ev-row { flex-direction: column; gap: 8px; }
  .ft-ev-col { width: 100%; }
  .ft-ev-input[type="date"],
  .ft-ev-input[type="time"] { width: 100%; }
}
