@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&family=Shippori+Antique&display=swap");

:root {
  --jcg-bg: #0c0b10;
  --jcg-bg-elev: #16141d;
  --jcg-panel: #1c1924;
  --jcg-ink: #f2ebe3;
  --jcg-muted: #a79d93;
  --jcg-line: #342f3c;
  --jcg-crimson: #e11d38;
  --jcg-crimson-deep: #b4142b;
  --jcg-gold: #e2b14a;
  --jcg-soft: #221f2a;
  --jcg-input: #121018;
  --jcg-radius: 2px;
  --jcg-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --jcg-display: "Shippori Antique", "Noto Sans JP", serif;
  --jcg-max: 1080px;
  --jcg-header-h: 58px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--jcg-ink);
  font-family: var(--jcg-font);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(225, 29, 56, 0.16), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(226, 177, 74, 0.07), transparent 50%),
    linear-gradient(180deg, #100e16 0%, var(--jcg-bg) 40%, #09080c 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
}

a { color: var(--jcg-gold); text-decoration: none; }
a:hover { color: #f3c96a; text-decoration: underline; }

/* ---- Header ---- */
.jcg-header {
  border-bottom: 1px solid rgba(52, 47, 60, 0.9);
  background: rgba(12, 11, 16, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.jcg-header-inner {
  max-width: var(--jcg-max);
  margin: 0 auto;
  padding: 10px 20px;
  min-height: var(--jcg-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jcg-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}

.jcg-brand img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(220px, 48vw);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.jcg-brand-fallback {
  font-family: var(--jcg-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--jcg-ink);
  letter-spacing: 0.04em;
}

.jcg-nav {
  display: flex;
  gap: 4px 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.jcg-nav a {
  color: var(--jcg-muted);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.jcg-nav a:hover,
.jcg-nav a.is-active {
  color: var(--jcg-ink);
  text-decoration: none;
}

.jcg-nav a:not(.jcg-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--jcg-crimson);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.jcg-nav a:not(.jcg-cta):hover::after,
.jcg-nav a:not(.jcg-cta).is-active::after {
  transform: scaleX(1);
}

/* ---- Buttons ---- */
.jcg-cta,
.jcg-btn,
.jcg-form button[type="submit"],
.jcg-form button:not(.jcg-btn-secondary):not(.jcg-btn-outline):not(.jcg-btn-sm) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #f0334c 0%, var(--jcg-crimson) 100%);
  color: #fff !important;
  border: 1px solid #ff5a6e;
  border-radius: var(--jcg-radius);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(225, 29, 56, 0.28);
  transition: filter 0.2s ease, transform 0.15s ease;
}

.jcg-cta:hover,
.jcg-btn:hover,
.jcg-form button[type="submit"]:hover {
  filter: brightness(1.06);
}

.jcg-btn-outline,
.jcg-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--jcg-ink) !important;
  border: 1px solid rgba(242, 235, 227, 0.45);
  border-radius: var(--jcg-radius);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.jcg-btn-outline:hover,
.jcg-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--jcg-ink);
}

.jcg-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 12px;
  margin-left: 10px;
  background: transparent;
  color: var(--jcg-gold) !important;
  border: 1px solid rgba(226, 177, 74, 0.55);
  border-radius: var(--jcg-radius);
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: none;
}

.jcg-btn-sm:hover {
  background: rgba(226, 177, 74, 0.12);
}

.jcg-btn-block { width: 100%; }

/* ---- Layout ---- */
.jcg-main {
  max-width: var(--jcg-max);
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.jcg-main.jcg-main-flush-top {
  padding-top: 0;
}

.jcg-footer {
  text-align: center;
  color: var(--jcg-muted);
  font-size: 0.8rem;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--jcg-line);
  background: rgba(0, 0, 0, 0.35);
}

.jcg-footer p { margin: 10px 0 0; }

.jcg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-bottom: 4px;
}

.jcg-footer-nav a {
  color: var(--jcg-muted);
  text-decoration: none;
}

.jcg-footer-nav a:hover {
  color: var(--jcg-gold);
  text-decoration: underline;
}

.jcg-req {
  color: #ff8a98;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 4px;
}

.jcg-fieldset {
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  padding: 12px 14px;
  margin: 0 0 8px;
}

.jcg-fieldset legend {
  padding: 0 6px;
  color: var(--jcg-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.jcg-subhead {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--jcg-gold);
}

.jcg-legal-body {
  line-height: 1.7;
  white-space: normal;
}

.jcg-term-block summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--jcg-gold);
}

/* ---- Home hero (16:9 standard, centered, responsive) ---- */
.jcg-home-hero {
  width: 100%;
  max-width: var(--jcg-max);
  margin: 0 auto 40px;
  animation: jcg-fade-up 0.7s ease both;
}

.jcg-home-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  overflow: hidden;
  touch-action: pan-y;
}

.jcg-home-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* アプリ PageView 相当: フェード切替 */
.jcg-home-carousel img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.jcg-home-carousel img.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.jcg-carousel-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
  background: #e8e8e8;
}

/* メインビジュアル直下の開催カウントダウン（アプリ LiveCountdown 相当） */
.jcg-mv-countdown {
  max-width: 960px;
  margin: 10px auto 0;
  text-align: center;
}

.jcg-mv-countdown[hidden] {
  display: none !important;
}

.jcg-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 8px auto 0;
  max-width: 960px;
  min-height: 10px;
}

.jcg-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c8c8c8;
  cursor: pointer;
}

.jcg-dot.is-active {
  width: 8px;
  height: 8px;
  background: var(--jcg-crimson, #e11d38);
}

.jcg-home-copy {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 4px 0;
  text-align: center;
}

.jcg-home-copy .eyebrow {
  font-family: var(--jcg-display);
  color: var(--jcg-gold);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.jcg-home-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--jcg-ink);
}

.jcg-home-copy .lead {
  color: var(--jcg-muted);
  max-width: 34em;
  margin: 0 auto 18px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.jcg-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Page title (no banner) */
.jcg-page-head {
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--jcg-line);
  animation: jcg-fade-up 0.55s ease both;
}

.jcg-page-head h1,
.jcg-page-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.jcg-page-head .lead {
  margin: 0;
  color: var(--jcg-muted);
  font-size: 0.95rem;
}

.jcg-hero {
  margin: 0 0 28px;
  animation: jcg-fade-up 0.55s ease both;
}

.jcg-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
}

.jcg-hero > p {
  color: var(--jcg-muted);
  margin: 0 0 12px;
  line-height: 1.6;
}

/* ---- Sections ---- */
.jcg-section {
  margin-top: 36px;
  animation: jcg-fade-up 0.7s ease 0.06s both;
}

.jcg-section.jcg-section-tight { margin-top: 0; }

.jcg-section h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--jcg-ink);
}

.jcg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.jcg-section-head h2 { margin: 0; }

.jcg-section-head .more {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--jcg-crimson);
  text-decoration: none;
}

.jcg-section-head .more:hover { color: #ff5a6e; }

.jcg-section > .lead {
  color: var(--jcg-muted);
  margin: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ---- Lists / cards ---- */
.jcg-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jcg-list li {
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: rgba(28, 25, 36, 0.88);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jcg-list li:hover {
  background: var(--jcg-soft);
  border-color: rgba(226, 177, 74, 0.35);
}

.jcg-list .meta {
  color: var(--jcg-muted);
  font-size: 0.86rem;
  margin-top: 4px;
  line-height: 1.45;
}

.jcg-list a strong {
  color: var(--jcg-ink);
  font-size: 1.02rem;
}

.jcg-list a:hover strong { color: var(--jcg-gold); }

/* News cards */
.jcg-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jcg-news-card {
  display: flex;
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  background: rgba(28, 25, 36, 0.9);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jcg-news-card:hover {
  border-color: rgba(225, 29, 56, 0.45);
  background: var(--jcg-soft);
}

.jcg-news-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  background: #0a090e;
  border: 1px solid var(--jcg-line);
  overflow: hidden;
}

.jcg-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jcg-news-body { min-width: 0; flex: 1; }

.jcg-news-cat {
  display: inline-block;
  color: var(--jcg-crimson);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.jcg-news-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--jcg-ink);
  line-height: 1.4;
}

.jcg-news-date {
  color: var(--jcg-muted);
  font-size: 0.8rem;
}

.jcg-news-detail-kv {
  margin: 0 0 20px;
  border: 1px solid var(--jcg-line);
  background: #08070b;
  overflow: hidden;
}

.jcg-news-detail-kv img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #08070b;
}

.jcg-news-article {
  color: var(--jcg-ink);
  line-height: 1.75;
  font-size: 0.98rem;
}

.jcg-news-article img {
  max-width: 100%;
  height: auto;
}

/* ---- Forms ---- */
.jcg-form {
  max-width: 480px;
  background: var(--jcg-panel);
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  padding: 22px;
  animation: jcg-fade-up 0.55s ease both;
}

.jcg-form.jcg-form-wide { max-width: 640px; }

.jcg-form label {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--jcg-ink);
}

.jcg-form input[type="text"],
.jcg-form input[type="email"],
.jcg-form input[type="password"],
.jcg-form input[type="number"],
.jcg-form input[type="datetime-local"],
.jcg-form input[type="file"],
.jcg-form select,
.jcg-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  background: var(--jcg-input);
  font: inherit;
  color: var(--jcg-ink);
}

.jcg-form input:focus,
.jcg-form select:focus,
.jcg-form textarea:focus {
  outline: 2px solid rgba(225, 29, 56, 0.35);
  border-color: var(--jcg-crimson);
}

.jcg-form textarea { min-height: 100px; resize: vertical; }

.jcg-form .row-check {
  margin-top: 16px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--jcg-muted);
}

.jcg-form .row-check input { margin-top: 3px; width: auto; }

.jcg-form button,
.jcg-form .jcg-cta { margin-top: 20px; }

.jcg-auth-links {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--jcg-muted);
}

.jcg-auth-links a { font-weight: 600; }

/* ---- Panels / tables ---- */
.jcg-panel {
  background: rgba(28, 25, 36, 0.92);
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.jcg-panel h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--jcg-gold);
}

.jcg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.jcg-table th,
.jcg-table td {
  border-bottom: 1px solid var(--jcg-line);
  text-align: left;
  padding: 10px 8px;
  vertical-align: middle;
}

.jcg-table th {
  color: var(--jcg-muted);
  font-weight: 700;
  width: 9em;
  white-space: nowrap;
}

.jcg-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--jcg-muted);
}

.jcg-badge-accent {
  background: rgba(225, 29, 56, 0.14);
  border-color: rgba(225, 29, 56, 0.45);
  color: #ff8a98;
}

.jcg-countdown {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jcg-ink);
}

.jcg-countdown-list {
  margin: 8px 0;
  font-size: 0.84rem;
  padding: 8px 10px;
}

.jcg-countdown-detail {
  margin: 12px 0 16px;
  font-size: 1rem;
}

/* ---- Dialog (password settings) ---- */
.jcg-dialog {
  border: 1px solid var(--jcg-line);
  border-radius: 4px;
  background: var(--jcg-panel);
  color: var(--jcg-ink);
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.jcg-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.jcg-dialog-inner { padding: 22px; }

.jcg-dialog-inner h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--jcg-gold);
}

.jcg-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.jcg-dialog .jcg-form {
  border: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  animation: none;
}

/* ---- Category multi-select (entry) ---- */
.jcg-cat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 4px;
}
.jcg-cat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.jcg-cat-item label.jcg-cat-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-weight: 600;
  color: var(--jcg-ink);
  cursor: pointer;
}
.jcg-cat-item label.jcg-cat-check input {
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
}
.jcg-cat-item .jcg-cat-meta {
  margin-left: 26px;
  font-size: 0.84rem;
  color: var(--jcg-muted);
  line-height: 1.45;
}
.jcg-cat-item.is-out-of-spec {
  border-color: rgba(226, 177, 74, 0.75);
  background: rgba(226, 177, 74, 0.1);
}
.jcg-cat-item.is-out-of-spec .jcg-cat-uncheck-hint {
  display: block;
  margin-left: 26px;
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #e2b14a;
  line-height: 1.4;
}
.jcg-cat-item .jcg-cat-uncheck-hint { display: none; }
.jcg-cat-item.is-ok-spec {
  border-color: rgba(125, 222, 160, 0.35);
}
.jcg-duration-warn {
  display: none;
  margin: 10px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 177, 74, 0.65);
  background: rgba(226, 177, 74, 0.12);
  border-radius: var(--jcg-radius);
  color: var(--jcg-ink);
  font-size: 0.9rem;
  line-height: 1.5;
}
.jcg-duration-warn.is-visible { display: block; }
.jcg-duration-warn strong { color: #e2b14a; }
.jcg-duration-warn ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}
.jcg-duration-warn li { margin: 4px 0; }
.jcg-duration-warn .jcg-warn-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Feedback ---- */
.jcg-err { color: #ff7a88; margin: 8px 0; font-weight: 600; }
.jcg-ok { color: #7ddea0; margin: 8px 0; font-weight: 600; }
.jcg-warn { color: #e2b14a; margin: 8px 0; font-weight: 600; }

.jcg-flash {
  background: rgba(225, 29, 56, 0.12);
  border: 1px solid rgba(225, 29, 56, 0.4);
  color: var(--jcg-ink);
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: var(--jcg-radius);
}

.jcg-hint {
  color: var(--jcg-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.jcg-pre {
  white-space: pre-wrap;
  font: inherit;
  margin: 0;
  color: var(--jcg-ink);
}

.jcg-profile-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}

@keyframes jcg-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .jcg-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .jcg-nav { justify-content: flex-start; }
  .jcg-list li {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .jcg-list li .jcg-cta,
  .jcg-list li .jcg-btn-outline { width: 100%; }
  .jcg-home-stage {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .jcg-home-copy {
    padding: 18px 0 0;
    text-align: left;
  }
  .jcg-home-copy .lead { margin-left: 0; margin-right: 0; }
  .jcg-hero-actions {
    justify-content: stretch;
  }
  .jcg-hero-actions .jcg-cta,
  .jcg-hero-actions .jcg-btn-outline {
    flex: 1 1 auto;
    min-width: 0;
  }
  .jcg-table th { width: auto; }
  .jcg-news-thumb { flex-basis: 72px; width: 72px; height: 72px; }
}

/* ---- Public list controls (pagination / sort / filter) ---- */
.jcg-list-controls {
  margin: 0 0 8px;
}
.jcg-list-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.jcg-list-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--jcg-muted);
}
.jcg-list-controls input[type="search"],
.jcg-list-controls select {
  background: var(--jcg-input);
  color: var(--jcg-ink);
  border: 1px solid var(--jcg-line);
  border-radius: var(--jcg-radius);
  padding: 6px 8px;
  font: inherit;
  font-size: 13px;
  min-width: 0;
}
.jcg-list-search input {
  min-width: 180px;
  width: min(280px, 70vw);
}
.jcg-list-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 4px;
  font-size: 13px;
  color: var(--jcg-muted);
}
.jcg-list-pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.jcg-list-page-num {
  color: var(--jcg-ink);
  font-weight: 600;
}
.jcg-btn-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---- Maintenance banners (user-facing only from status_ment.json items) ---- */
.jcg-ment-wrap {
  max-width: var(--jcg-max);
  margin: 12px auto 0;
  padding: 0 16px;
}
.jcg-ment {
  margin: 0 0 8px;
  padding: 10px 14px;
  border: 1px solid var(--jcg-gold);
  background: rgba(226, 177, 74, 0.12);
  color: var(--jcg-ink);
  font-size: 14px;
  line-height: 1.45;
}
.jcg-ment-type3 {
  border-color: var(--jcg-crimson);
  background: rgba(225, 29, 56, 0.14);
}
.jcg-ment-type2 {
  border-color: #6af;
  background: rgba(80, 140, 255, 0.12);
}
