:root {
  color-scheme: light;
  --header-h: 52px;
  --bottom-nav-h: 60px;
  --bg: #f5f7ff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #6366f1;
  --brand-dark: #4f46e5;
  --accent: #ef4444;
  --gold: #f59e0b;
  --blue: #3b82f6;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 20px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #1e1b4b;
  color: #e0e7ff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  flex-shrink: 0;
}

.brand-name,
.brand-subtitle,
.eyebrow,
.muted,
.summary-card p,
.storage-card p {
  margin: 0;
}

.brand-name {
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 2px;
  color: #818cf8;
  font-size: 13px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #a5b4fc;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.nav-item.active,
.nav-item:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #e0e7ff;
}

.nav-item.active {
  color: #ffffff;
}

.nav-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.2);
  font-size: 13px;
}

.nav-item.active .nav-icon {
  background: rgba(99, 102, 241, 0.4);
}

.storage-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
}

.storage-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.meter {
  height: 8px;
  margin: 12px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.meter span.warn {
  background: var(--accent);
}

.storage-card p {
  color: #818cf8;
  font-size: 12px;
  line-height: 1.5;
}

.main {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 4px 0 0;
  font-size: 32px;
}

h2 {
  margin: 0;
  font-size: 18px;
}

h3 {
  margin: 0;
  font-size: 15px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-switcher {
  width: 172px;
  min-height: 40px;
  background: var(--surface-strong);
  font-weight: 700;
}

.primary-button,
.icon-button,
.text-button,
.segmented button {
  border-radius: 10px;
  border: 1px solid transparent;
}

.primary-button {
  padding: 10px 20px;
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background 0.15s, box-shadow 0.15s;
}

.primary-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.primary-button.full {
  width: 100%;
  padding: 12px 20px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--muted);
  font-size: 18px;
  transition: background 0.15s, color 0.15s;
}

.icon-button:hover {
  background: var(--bg);
  color: var(--ink);
}

.text-button {
  background: transparent;
  color: var(--brand);
  padding: 6px 10px;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s;
}

.text-button:hover {
  background: rgba(99, 102, 241, 0.08);
  border-radius: 6px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.summary-card,
.panel,
.compose-panel,
.room-list,
.chat-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.summary-card {
  padding: 20px;
  border-left: 3px solid var(--brand);
}

.summary-card p {
  color: var(--muted);
  font-size: 13px;
}

.summary-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.summary-card span,
.muted {
  color: var(--muted);
  font-size: 13px;
}

.dashboard-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.content-grid {
  align-items: start;
}

.panel,
.compose-panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.feed-list,
.event-list,
.member-grid,
.media-grid,
.messages,
.room-list {
  min-width: 0;
}

.feed-list,
.event-list {
  display: grid;
  gap: 12px;
}

.feed-item,
.event-item,
.media-card,
.member-card,
.room-button,
.message,
.admin-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
}

.feed-item {
  padding: 14px;
}

.feed-meta,
.event-meta,
.member-meta,
.item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ede9fe;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge.photo {
  background: #dbeafe;
  color: var(--blue);
}

.badge.video {
  background: #fee2e2;
  color: var(--accent);
}

.feed-body {
  margin: 0 0 12px;
  line-height: 1.7;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.action-row.compact {
  margin: 6px 0 0;
}

.comment-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.comment-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.comment-item p {
  margin: 0;
}

.danger-button {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: var(--accent);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}

.danger-button:hover {
  background: #fee2e2;
}

.tiny-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s;
}

.tiny-button:hover {
  background: var(--bg);
}


.comment-row input,
.message-form input {
  flex: 1;
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 11px 14px;
  transition: border-color 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' 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 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.compose-panel {
  display: grid;
  gap: 14px;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f4f6;
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}

.segmented button.active {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
  font-weight: 600;
}

.media-grid,
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.quota-pill {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 12px;
}

.quota-pill span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.quota-pill strong {
  font-size: 16px;
}

.media-card {
  overflow: hidden;
}

.media-visual {
  min-height: 158px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  overflow: hidden;
  position: relative;
}

.media-card:nth-child(2n) .media-visual {
  background: linear-gradient(135deg, #ec4899, #f59e0b);
}

.media-card:nth-child(3n) .media-visual {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}

.media-thumb-img,
.media-thumb-vid {
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
  display: block;
}

.media-thumb-placeholder {
  color: white;
  font-size: 36px;
  font-weight: 900;
}

.post-media-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  margin: 8px 0;
  background: var(--bg);
  display: block;
}

.post-media-vid {
  width: 100%;
  max-height: 420px;
  border-radius: 10px;
  margin: 8px 0;
  display: block;
  background: #000;
}

.media-info {
  padding: 12px;
}

.media-info p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.event-item {
  padding: 14px;
}

.event-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rsvp-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.rsvp-row button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
}

.rsvp-row button.active {
  background: #ede9fe;
  border-color: #a5b4fc;
  color: var(--brand-dark);
}

.chat-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  height: calc(100vh - 118px);
  min-height: 560px;
}

.room-list {
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.room-button {
  width: 100%;
  padding: 12px;
  text-align: left;
  background: var(--surface-strong);
}

.room-button.active {
  border-color: #a5b4fc;
  background: #ede9fe;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.chat-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.chat-tools select {
  width: 160px;
  min-height: 40px;
  background: var(--surface-strong);
}

.status-dot {
  color: var(--brand-dark);
  background: #ede9fe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.status-dot.warn {
  color: var(--accent);
  background: #fee2e2;
}

.messages {
  padding: 18px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
}

.message {
  width: fit-content;
  max-width: min(560px, 86%);
  padding: 10px 12px;
}

.message.mine {
  justify-self: end;
  background: #ede9fe;
  border-color: #a5b4fc;
}

.message p {
  margin: 3px 0 0;
  line-height: 1.55;
}

.message-form {
  border-top: 1px solid var(--line);
  padding: 14px;
  display: flex;
  gap: 10px;
}

.member-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.self-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
}

.member-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.status-label {
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.member-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ede9fe;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 15px;
}

.member-card:nth-child(3n) .avatar {
  background: #dbeafe;
  color: var(--blue);
}

.member-card:nth-child(4n) .avatar {
  background: #fce7f3;
  color: #db2777;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-meter p {
  margin: 10px 0 0;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-item {
  padding: 12px;
}

.admin-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-item.warning {
  border-color: #fcd34d;
  background: #fffbeb;
}

.admin-item.danger {
  border-color: #fca5a5;
  background: #fef2f2;
}

/* ---- ボトムナビ（スマホのみ表示） ---- */
.bottom-nav {
  display: none;
}

/* ---- タブレット (641px〜980px) ---- */
@media (min-width: 641px) and (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }

  .nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .storage-card {
    display: none;
  }

  .main {
    padding: 18px;
  }

  .summary-grid,
  .dashboard-grid,
  .content-grid,
  .quota-grid,
  .member-grid,
  .admin-grid,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-layout {
    height: auto;
  }

  .room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- スマホ (〜640px) ---- */
@media (max-width: 640px) {
  /* セーフエリア + ボトムナビ分の余白 */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 52px 1fr;
    align-content: start;
  }

  /* サイドバー → コンパクトヘッダーに変換 */
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 99;
    height: 52px;
    max-height: 52px;
    align-self: start;
    flex-direction: row;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-subtitle,
  .storage-card,
  .nav-list {
    display: none;
  }

  /* メインコンテンツ */
  .main {
    padding: 12px 14px 16px;
  }

  .topbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .topbar > div:first-child {
    flex: 1;
  }

  .eyebrow {
    display: none;
  }

  h1 {
    font-size: 20px;
    margin: 0;
  }

  .top-actions {
    gap: 6px;
  }

  .user-switcher {
    width: 110px;
    min-height: 36px;
    font-size: 13px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .primary-button {
    padding: 9px 13px;
    font-size: 14px;
  }

  /* グリッド */
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .summary-card strong {
    font-size: 22px;
  }

  .dashboard-grid,
  .content-grid,
  .member-grid,
  .admin-grid,
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quota-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* チャット */
  .chat-layout {
    height: calc(100dvh - var(--header-h) - var(--bottom-nav-h) - 28px);
    min-height: 380px;
  }

  .room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ヘッダー類を縦並びに */
  .panel-heading,
  .event-title-row,
  .chat-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-tools {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .chat-tools select {
    flex: 1;
    min-width: 0;
  }

  /* タッチターゲット最低44px */
  .text-button,
  .danger-button,
  .tiny-button {
    min-height: 36px;
    padding: 8px 10px;
  }

  .rsvp-row button {
    min-height: 40px;
    padding: 8px 12px;
  }

  /* ボトムナビ表示 */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e1b4b;
    border-top: 1px solid rgba(99, 102, 241, 0.25);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 2px 6px;
    background: none;
    border: none;
    color: #6366f1;
    font-size: 10px;
    min-height: 52px;
    transition: color 0.15s;
  }

  .bottom-nav-item.active {
    color: #ffffff;
  }

  .bottom-nav-icon {
    font-size: 20px;
    line-height: 1;
  }
}

/* ---- モーダル / 招待 / 参加 ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 1.75rem;
  width: min(440px, calc(100vw - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.modal h2 { margin: 0; }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2 { margin: 0; }

.invite-qr {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}
.invite-qr canvas,
.invite-qr img { border-radius: 8px; }

.invite-url-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.invite-url-input {
  flex: 1;
  font-size: 0.75rem;
  font-family: monospace;
  background: var(--bg);
  padding: 0.4rem 0.6rem;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.error-text { color: var(--accent); }

/* ── ファイルピッカー ─────────────────────────── */
.file-pick-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 112px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  padding: 20px 16px;
  color: var(--muted);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.file-pick-zone:hover {
  border-color: var(--brand);
  background: rgba(99, 102, 241, 0.04);
  color: var(--brand);
}

.file-pick-primary {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.file-pick-hint {
  font-size: 12px;
  color: var(--muted);
}

#mediaPreview {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
#mediaPreviewImg {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
#mediaPreviewVideo {
  display: block;
  width: 100%;
  max-height: 260px;
  background: #000;
}
.media-size-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  background: var(--bg);
  font-size: 12px;
}
.size-saved {
  color: var(--brand);
  font-weight: 600;
}

/* 圧縮プログレスバー */
#mediaCompressWrap {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.compress-track {
  height: 6px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.compress-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 99px;
  transition: width 0.25s ease;
}
