:root{
  --bg:#f6f7f8;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;

  --accent:#34b792; /* GameWith */
  --fav:#f59e0b;    /* orange */
  --favSoft: rgba(245,158,11,.12);
  --favBorder: rgba(245,158,11,.45);

  --shadow: 0 18px 50px rgba(2,6,23,.16);
  --cardShadow: 0 10px 26px rgba(2,6,23,.08);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.modal-open{ overflow:hidden; }
.hidden{display:none !important}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.headerInner{
  max-width: 1280px;
  margin:0 auto;
  padding: 14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px; flex:0 0 auto;}
.brandLogo{ width:34px; height:34px; object-fit:contain; }
.brandText{display:flex; flex-direction:column; gap:2px;}
.brandName{
  font-size:20px;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1.1;
  white-space: nowrap;
}
.brandSub{ font-size:12px; color: var(--muted); }

.headerRight{ display:flex; align-items:center; justify-content:flex-end; width:100%; }

.topControls{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  width:100%;
}

.searchWrap{ position:relative; flex: 0 0 auto; }
.searchIcon{
  position:absolute;
  left:14px;
  top:50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.searchInput{
  height:44px;
  width: 320px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  padding: 0 14px 0 40px;
  font-size:14px;
  outline:none;
}
.searchInput:focus{
  border-color: rgba(52,183,146,.55);
  box-shadow: 0 0 0 4px rgba(52,183,146,.14);
}

.select{
  height:44px;
  min-width: 220px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  padding: 0 14px;
  font-size:14px;
  outline:none;
}
.select:focus{
  border-color: rgba(52,183,146,.55);
  box-shadow: 0 0 0 4px rgba(52,183,146,.14);
}

/* ✅ヘッダーお気に入り：OFF=白＋黒★ / ON=明るいオレンジ系＋「ON」 */
.pillBtn{
  padding: 10px 14px;
  height:44px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: #fff;
  color: #111827;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
}
.pillBtn:hover{ background:#fafafa; }
.pillBtn.isOn{
  background: var(--favSoft);
  border-color: var(--favBorder);
}
.pillBtn .star{
  width: 26px;
  height: 26px;
  display:inline-grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(2,6,23,.06); /* OFFの薄グレー */
  color: #0f172a;              /* OFFの黒★ */
  font-size: 14px;
}
.pillBtn.isOn .star{
  background: rgba(245,158,11,.18);
  color: var(--fav);
}

/* Main */
.container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 70px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

/* Konmariっぽい“ふわっ”ホバー */
.card{
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--cardShadow);
  cursor:pointer;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(2,6,23,.14);
}
.card:active{ transform: translateY(-2px); }

/* ✅カード右上お気に入り：OFF=白＋黒★ / ON=明るいオレンジ系 */
.cardFav{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 22px rgba(2,6,23,.10);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index: 4;
}
.cardFav:hover{ background:#fafafa; }
.cardFav .star{
  font-size: 18px;
  line-height: 1;
  color: #0f172a; /* OFF黒★ */
}
.cardFav.isFav{
  background: var(--favSoft);
  border-color: var(--favBorder);
}
.cardFav.isFav .star{
  color: var(--fav);
}

.cardMedia{ height: 220px; background:#eef2f7; }
.cardMedia img{ width:100%; height:100%; object-fit: cover; display:block; }

.cardBody{ padding: 16px 16px 14px; }

.kicker{
  color: var(--accent);
  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  margin-bottom:8px;
}

.cardTitle{
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  margin-bottom:8px;
}

.cardDesc{
  color: var(--muted);
  font-size:13px;
  line-height:1.5;
  margin: 0 0 10px;
}

.tagRowMini{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  color:#0f172a;
}

/* modal用タグ */
.tagRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 2px;
}

/* Empty */
.empty{
  margin-top: 48px;
  padding: 22px;
  border-radius: 18px;
  border:1px dashed rgba(148,163,184,.6);
  background: rgba(255,255,255,.55);
}
.emptyTitle{font-weight:900; font-size:16px;}
.emptyDesc{margin-top:6px; color:var(--muted);}

/* Modal */
.modal{
  position: fixed;
  inset:0;
  z-index: 2000;
  display:grid;
  place-items:center;
  padding: 16px;
}
.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.86); /* 黒背景 */
}

.modalCard{
  position:relative;
  width: min(980px, 92vw);
  max-height: 80vh;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.closeBtn{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:16px;
  z-index: 5;
}

.modalGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  height: 100%;
}

.modalLeft{
  position:relative;
  background:#0b0f14;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.modalImage{
  width:100%;
  height:100%;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
  display:block;
}

.modalBadge{
  position:absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  font-weight:900;
  font-size:12px;
}

.modalRight{
  padding: 18px 18px 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.mKicker{
  color: var(--accent);
  font-weight:900;
  letter-spacing:.06em;
  font-size:12px;
  margin:0;
}
.mTitle{
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin:0;
}
.mMeta{
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 2px;
}

.sectionLabel{
  margin-top: 4px;
  font-weight:900;
  font-size: 12px;
  letter-spacing: .12em;
  color: #334155;
}

.textarea{
  width:100%;
  height: 170px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.65;
  resize:none;
  outline:none;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Noto Sans Mono CJK JP", "Liberation Mono", monospace;
}

/* ✅モーダルのボタンを「並列（横並び）」にする */
.modalActions{
  margin-top: auto;
  position: sticky;
  bottom: 0;
  padding: 12px 0 6px;
  background: #fff;
  border-top: 1px solid rgba(229,231,235,.75);

  display: grid;
  grid-template-columns: 1fr 1fr; /* ← 2列 */
  gap: 12px;
}

/* ボタン（コピー＝GW / お気に入り＝オレンジ） */
.kBtn{
  height: 56px;
  width: 100%;
  padding: 0 18px;
  border-radius: 22px;
  border: none;
  cursor:pointer;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow: 0 8px 18px rgba(2,6,23,.10);
}

.kIco{
  display:inline-grid;
  place-items:center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-weight: 900;
  color: inherit;
}

.kCopy{ background: var(--accent); color:#fff; }
.kFav{ background: var(--fav); color:#fff; }
.kFav .kIco{ background: rgba(255,255,255,.22); }

.toast{
  position: sticky;
  bottom: 0;
  width: fit-content;
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
}
.toast.hidden{display:none;}

/* =========================
   ✅ SP対応（Konmariっぽく崩れない）
   ========================= */

/* タブレット/小さめ画面：ヘッダーを2段にする */
@media (max-width: 860px){
  .headerInner{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .headerRight{ justify-content: flex-start; }
  .topControls{ justify-content: flex-start; }
  .searchInput{ width: 100%; }
  .searchWrap{ width: 100%; flex: 1 1 auto; }
  .select{ min-width: 0; width: 100%; }
  .pillBtn{ width: 100%; justify-content: center; }
}

/* スマホ：グリッド1列＆モーダルを縦レイアウト */
@media (max-width: 560px){
  .container{ padding: 16px 14px 60px; }
  .grid{ grid-template-columns: 1fr; gap: 14px; }

  .modal{
    padding: 10px;
    place-items: center;
  }

  .modalCard{
    width: 96vw;
    height: 92vh;        /* 画面内に収める */
    max-height: 92vh;
    border-radius: 26px;
  }

  .modalGrid{
    grid-template-columns: 1fr;
    height: 100%;
  }

  .modalLeft{
    padding: 12px;
    height: 44vh;        /* 画像枠 */
  }

  .modalImage{
    max-height: 44vh;
  }

  .modalRight{
    height: calc(92vh - 44vh);
    padding: 14px 14px 10px;
  }

  /* スマホはボタン縦のほうが押しやすいので1列 */
  .modalActions{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mTitle{ font-size: 22px; }

  :root{
  --bg:#f6f7f8;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;

  --accent:#34b792; /* GameWith */
  --fav:#f59e0b;    /* orange */
  --favSoft: rgba(245,158,11,.12);
  --favBorder: rgba(245,158,11,.45);

  --shadow: 0 18px 50px rgba(2,6,23,.16);
  --cardShadow: 0 10px 26px rgba(2,6,23,.08);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.modal-open{ overflow:hidden; }
.hidden{display:none !important}

/* Header */
.header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.headerInner{
  max-width: 1280px;
  margin:0 auto;
  padding: 14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px; flex:0 0 auto;}
.brandLogo{ width:34px; height:34px; object-fit:contain; }
.brandText{display:flex; flex-direction:column; gap:2px;}
.brandName{
  font-size:20px;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1.1;
  white-space: nowrap;
}
.brandSub{ font-size:12px; color: var(--muted); }

.headerRight{ display:flex; align-items:center; justify-content:flex-end; width:100%; }

.topControls{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
  width:100%;
}

.searchWrap{ position:relative; flex: 0 0 auto; }
.searchIcon{
  position:absolute;
  left:14px;
  top:50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.searchInput{
  height:44px;
  width: 320px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  padding: 0 14px 0 40px;
  font-size:14px;
  outline:none;
}
.searchInput:focus{
  border-color: rgba(52,183,146,.55);
  box-shadow: 0 0 0 4px rgba(52,183,146,.14);
}

.select{
  height:44px;
  min-width: 220px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  padding: 0 14px;
  font-size:14px;
  outline:none;
}
.select:focus{
  border-color: rgba(52,183,146,.55);
  box-shadow: 0 0 0 4px rgba(52,183,146,.14);
}

/* ✅ヘッダーお気に入り：OFF=白＋黒★ / ON=明るいオレンジ系＋「ON」 */
.pillBtn{
  padding: 10px 14px;
  height:44px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: #fff;
  color: #111827;
  font-weight:900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
}
.pillBtn:hover{ background:#fafafa; }
.pillBtn.isOn{
  background: var(--favSoft);
  border-color: var(--favBorder);
}
.pillBtn .star{
  width: 26px;
  height: 26px;
  display:inline-grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(2,6,23,.06); /* OFFの薄グレー */
  color: #0f172a;              /* OFFの黒★ */
  font-size: 14px;
}
.pillBtn.isOn .star{
  background: rgba(245,158,11,.18);
  color: var(--fav);
}

/* Main */
.container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 20px 70px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}

/* Konmariっぽい“ふわっ”ホバー */
.card{
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--cardShadow);
  cursor:pointer;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(2,6,23,.14);
}
.card:active{ transform: translateY(-2px); }

/* ✅カード右上お気に入り：OFF=白＋黒★ / ON=明るいオレンジ系 */
.cardFav{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 22px rgba(2,6,23,.10);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index: 4;
}
.cardFav:hover{ background:#fafafa; }
.cardFav .star{
  font-size: 18px;
  line-height: 1;
  color: #0f172a; /* OFF黒★ */
}
.cardFav.isFav{
  background: var(--favSoft);
  border-color: var(--favBorder);
}
.cardFav.isFav .star{
  color: var(--fav);
}

.cardMedia{ height: 220px; background:#eef2f7; }
.cardMedia img{ width:100%; height:100%; object-fit: cover; display:block; }

.cardBody{ padding: 16px 16px 14px; }

.kicker{
  color: var(--accent);
  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  margin-bottom:8px;
}

.cardTitle{
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  margin-bottom:8px;
}

.cardDesc{
  color: var(--muted);
  font-size:13px;
  line-height:1.5;
  margin: 0 0 10px;
}

.tagRowMini{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  color:#0f172a;
}

/* modal用タグ */
.tagRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 2px;
}

/* Empty */
.empty{
  margin-top: 48px;
  padding: 22px;
  border-radius: 18px;
  border:1px dashed rgba(148,163,184,.6);
  background: rgba(255,255,255,.55);
}
.emptyTitle{font-weight:900; font-size:16px;}
.emptyDesc{margin-top:6px; color:var(--muted);}

/* Modal */
.modal{
  position: fixed;
  inset:0;
  z-index: 2000;
  display:grid;
  place-items:center;
  padding: 16px;
}
.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.86); /* 黒背景 */
}

.modalCard{
  position:relative;
  width: min(980px, 92vw);
  max-height: 80vh;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.closeBtn{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:16px;
  z-index: 5;
}

.modalGrid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  height: 100%;
}

.modalLeft{
  position:relative;
  background:#0b0f14;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}

.modalImage{
  width:100%;
  height:100%;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
  display:block;
}

.modalBadge{
  position:absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  font-weight:900;
  font-size:12px;
}

.modalRight{
  padding: 18px 18px 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.mKicker{
  color: var(--accent);
  font-weight:900;
  letter-spacing:.06em;
  font-size:12px;
  margin:0;
}
.mTitle{
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  margin:0;
}
.mMeta{
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 2px;
}

.sectionLabel{
  margin-top: 4px;
  font-weight:900;
  font-size: 12px;
  letter-spacing: .12em;
  color: #334155;
}

.textarea{
  width:100%;
  height: 170px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.65;
  resize:none;
  outline:none;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Noto Sans Mono CJK JP", "Liberation Mono", monospace;
}

/* ✅モーダルのボタンを「並列（横並び）」にする */
.modalActions{
  margin-top: auto;
  position: sticky;
  bottom: 0;
  padding: 12px 0 6px;
  background: #fff;
  border-top: 1px solid rgba(229,231,235,.75);

  display: grid;
  grid-template-columns: 1fr 1fr; /* ← 2列 */
  gap: 12px;
}

/* ボタン（コピー＝GW / お気に入り＝オレンジ） */
.kBtn{
  height: 56px;
  width: 100%;
  padding: 0 18px;
  border-radius: 22px;
  border: none;
  cursor:pointer;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow: 0 8px 18px rgba(2,6,23,.10);
}

.kIco{
  display:inline-grid;
  place-items:center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-weight: 900;
  color: inherit;
}

.kCopy{ background: var(--accent); color:#fff; }
.kFav{ background: var(--fav); color:#fff; }
.kFav .kIco{ background: rgba(255,255,255,.22); }

.toast{
  position: sticky;
  bottom: 0;
  width: fit-content;
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
}
.toast.hidden{display:none;}

/* =========================
   ✅ SP対応（Konmariっぽく崩れない）
   ========================= */

/* タブレット/小さめ画面：ヘッダーを2段にする */
@media (max-width: 860px){
  .headerInner{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .headerRight{ justify-content: flex-start; }
  .topControls{ justify-content: flex-start; }
  .searchInput{ width: 100%; }
  .searchWrap{ width: 100%; flex: 1 1 auto; }
  .select{ min-width: 0; width: 100%; }
  .pillBtn{ width: 100%; justify-content: center; }
}

/* スマホ：グリッド1列＆モーダルを縦レイアウト */
@media (max-width: 560px){
  .container{ padding: 16px 14px 60px; }
  .grid{ grid-template-columns: 1fr; gap: 14px; }

  .modal{
    padding: 10px;
    place-items: center;
  }

  .modalCard{
    width: 96vw;
    height: 92vh;        /* 画面内に収める */
    max-height: 92vh;
    border-radius: 26px;
  }

  .modalGrid{
    grid-template-columns: 1fr;
    height: 100%;
  }

  .modalLeft{
    padding: 12px;
    height: 44vh;        /* 画像枠 */
  }

  .modalImage{
    max-height: 44vh;
  }

  .modalRight{
    height: calc(92vh - 44vh);
    padding: 14px 14px 10px;
  }

  /* スマホはボタン縦のほうが押しやすいので1列 */
  .modalActions{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mTitle{ font-size: 22px; }
  .textarea{ height: 150px; }
}

  .textarea{ height: 150px; }
}

/* =========================
   Hotfix: 1行固定/トースト位置/お気に入りONの発色
   ========================= */

/* 3) お気に入りONの発色：ベタ色オレンジ（モーダルと同じ） */
.pillBtn.isOn{
  background: var(--fav);      /* ←ベタ */
  border-color: var(--fav);
  color:#fff;
}
.pillBtn.isOn .star{
  background: rgba(255,255,255,.22);
  color:#fff;
}

.cardFav.isFav{
  background: var(--fav);      /* ←ベタ */
  border-color: var(--fav);
}
.cardFav.isFav .star{
  color:#fff;
}

/* 1) モーダル「お気に入り解除」でも2行にならない */
.kBtn{
  font-size: 16px;             /* ほんの少し小さくして余裕 */
  line-height: 1;
  white-space: nowrap;         /* 強制1行 */
}
.kBtn .kIco{
  flex: 0 0 30px;
}
.kBtn{
  padding-left: 16px;
  padding-right: 16px;
}

/* 2) コピーのトーストを“カード外（画面右下）”に */
.toast{
  position: fixed !important;
  right: 18px;
  bottom: 18px;
  z-index: 3000;
  margin-left: 0 !important;
  width: auto;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(2,6,23,.20);
}

/* トーストを右カラム内のフローから完全に切り離す（余白崩れ防止） */
.modalRight .toast{
  margin: 0 !important;
}

/* SPでもボタンが2行になりやすいので、さらに少しだけ縮める */
@media (max-width: 560px){
  .kBtn{
    font-size: 15px;
  }
}
