/* Meets Portal (#/meets) */
.mt-seasons { margin-bottom: 10px; }
.mt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mt-stats > .card { margin: 0; }
.mt-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; color: var(--text); border-left: 4px solid var(--teal); }
.mt-stat b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); }
.mt-stat small { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.mt-stat.is-warn { border-left-color: var(--coral); cursor: pointer; } .mt-stat.is-warn b { color: var(--coral); }
button.mt-stat { cursor: pointer; }
.mt-search { margin-bottom: 14px; }
.mt-sec { display: flex; align-items: center; gap: 8px; margin: 18px 2px 10px; font-size: var(--fs-md); font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.mt-sec .muted { font-weight: 700; }

/* logos */
.mt-logo { flex: none; width: 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; padding: 4px; }
.mt-logo img { width: 100%; height: 100%; object-fit: contain; }
.mt-logo.is-lg { width: 96px; height: 96px; border-radius: 20px; padding: 6px; }
.mt-logo.is-mono { background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; box-shadow: none; }
.mt-logo.is-mono.is-lg { font-size: 34px; }

/* hero */
.mt-hero { position: relative; overflow: hidden; padding: 0; margin-bottom: 6px; background: linear-gradient(135deg, #1B2159 0%, #2A327A 100%); color: #fff; border: 0; }
.mt-hero-bg { position: absolute; inset: 0; opacity: .18; }
.mt-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.mt-hero-in { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 20px; }
.mt-hero-main { min-width: 0; flex: 1; }
.mt-hero-name { font-family: var(--font-display); font-size: 30px; line-height: 1.1; margin: 8px 0 8px; color: #fff; }
.mt-hero .mt-line { color: rgba(255,255,255,.88); }
.mt-hero .mt-line .ico { color: #fff; }
.mt-hero .pill.ink { background: #fff; color: #1B2159; }
.mt-hero .mt-logo.is-mono { background: #fff; color: #1B2159; }
.mt-hero .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.mt-hero .btn-teal { background: #fff; color: #1B2159; }
.mt-hero .btn-soft { background: rgba(255,255,255,.14); color: #fff; }
.mt-hero .mt-lv.is-xcel { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.mt-hero .mt-lv.is-dev { background: #fff; color: #1B2159; }
.mt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mt-line { display: flex; align-items: center; gap: 7px; margin: 3px 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.mt-line .ico { color: var(--teal-strong); flex: none; }
.mt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mt-cd { font-size: var(--fs-xs); font-weight: 800; color: var(--coral); text-transform: uppercase; letter-spacing: .03em; }

/* level chips */
.mt-lvs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.mt-lv { display: inline-block; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.mt-lv.is-xcel { background: var(--violet-soft); color: var(--violet); }
.mt-lv.is-dev { background: #1B2159; color: #fff; }
:root[data-theme="dark"] .mt-lv.is-dev { background: #EEF1FA; color: #17224A; }
.mt-lvs.is-long .mt-lv { font-size: 12.5px; padding: 5px 10px; }

/* cards */
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.mt-grid > .card { margin: 0; }
.mt-card { display: flex; flex-direction: column; padding: 14px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.mt-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-2, 0 6px 18px rgba(27,33,89,.12)); }
.mt-card.is-past { opacity: .82; }
.mt-card-top { display: flex; gap: 12px; align-items: flex-start; }
.mt-card-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mt-card-main small { color: var(--muted); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-name { font-size: var(--fs-md); line-height: 1.25; color: var(--ink); }
.mt-date { flex: none; width: 54px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; padding: 7px 2px 6px; display: flex; flex-direction: column; line-height: 1.05; }
.mt-date b { font-family: var(--font-display); font-size: 24px; line-height: 1; margin: 2px 0; }
.mt-date small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .85; }
.mt-card.is-past .mt-date { background: var(--surface-3); color: var(--text-2); }
.mt-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); }
.mt-prog, .mt-ready { display: inline-flex; align-items: center; gap: 5px; }
.mt-ready { color: var(--coral); } .mt-ready.is-ok { color: var(--teal-strong); }

/* detail sheet */
.mt-detail { display: flex; flex-direction: column; gap: 4px; }
.mt-banner { margin: -4px 0 10px; border-radius: 16px; overflow: hidden; max-height: 180px; }
.mt-banner img { width: 100%; height: 180px; object-fit: cover; display: block; }
.mt-dhead { display: flex; gap: 14px; align-items: flex-start; }
.mt-dhead .mt-meta { margin-bottom: 6px; }
.mt-adminbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; }
.mt-fees { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.mt-fees > .card { margin: 0; }
.mt-fee { padding: 10px 12px; } .mt-fee small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; text-transform: uppercase; } .mt-fee b { font-size: 20px; color: var(--ink); }
.mt-h { margin: 16px 2px 8px; font-size: var(--fs-xs); font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: flex; gap: 6px; }
.mt-prose { padding: 12px 14px; margin: 0; }
.mt-links .row .ico:first-child { color: var(--teal-strong); }
.mt-setup { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-check { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 9px; font-size: var(--fs-xs); font-weight: 700; background: var(--coral-soft); color: var(--coral-strong); }
.mt-check.is-ok { background: var(--teal-soft); color: var(--teal-strong); }
.mt-pbar { flex: none; width: 90px; height: 7px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.mt-pbar span { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.mt-miss { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.mt-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-pick-all { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mt-locknote { display: flex; align-items: center; gap: 6px; }

@media (max-width: 760px) {
  .mt-stats { grid-template-columns: repeat(2, 1fr); }
  .mt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mt-hero-in { flex-direction: column; gap: 12px; padding: 16px; }
  .mt-logo.is-lg { width: 72px; height: 72px; }
  .mt-hero-name { font-size: 24px; }
  .mt-acts .btn { flex: 1 1 auto; }
  .mt-logo { width: 48px; height: 48px; }
}