/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f5f6fa;
  --color-header: #232f3e;
  --color-header-text: #ffffff;
  --color-accent: #ff9900;
  --color-text: #232f3e;
  --color-text-light: #5a6872;
  --color-border: #d5dbdb;
  --color-cell-bg: #ffffff;
  --color-time-bg: #eef1f6;
  --color-track-header: #232f3e;
  --color-checked: #ff9900;
  --color-checked-bg: rgba(255, 153, 0, 0.06);
  --color-current-bg: rgba(52, 199, 89, 0.15);
  --color-current-border: #34c759;
  --color-modal-overlay: rgba(0, 0, 0, 0.5);
  --color-gcal: #4285f4;
  --color-proposal: #232f3e;
  --color-x: #000000;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --row-height: 28px;
  --track-width: 180px;
  --time-col-width: 60px;
  --footer-height: 40px;
}

/* === Layout: Full viewport, header + scrollable timetable + footer === */
html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* === Header === */
.site-header {
  background: var(--color-header);
  color: var(--color-header-text);
  padding: 12px 24px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-content h1 {
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.unofficial-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a0aab4;
}

/* Header nav wraps event-meta for collapsible behavior on mobile */
.header-nav {
  flex: 1;
  min-width: 0;
}

.event-meta {
  font-size: 0.85rem;
  color: #a0aab4;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 1段目・2段目のグループ — inline-flex で内部アイテムを横並びに */
.event-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* デスクトップのセパレーター "|" */
.sep {
  color: #a0aab4;
  flex-shrink: 0;
}

.event-meta a {
  color: var(--color-accent);
  text-decoration: none;
}

.event-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.event-status-before {
  background: rgba(160, 170, 180, 0.2);
  color: #a0aab4;
}

.event-status-current {
  background: rgba(52, 199, 89, 0.2);
  color: #34c759;
}

.event-status-after {
  background: rgba(255, 153, 0, 0.2);
  color: var(--color-accent);
}

.x-hashtag-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.x-hashtag-link:hover {
  text-decoration: underline;
}

.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.venue-link:hover {
  text-decoration: underline;
}

.map-icon {
  vertical-align: middle;
  flex-shrink: 0;
}

.x-account-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-accent) !important;
}

.x-account-link:hover {
  text-decoration: underline;
}

.x-video-relay-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--color-accent) !important;
}

.x-video-relay-link:hover {
  text-decoration: underline;
}

.x-icon {
  vertical-align: middle;
  flex-shrink: 0;
}

/* Mobile only: #jawsdays2026 shown outside hamburger — hidden on desktop */
.mobile-hashtag {
  display: none;
}

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-header-text);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-edit {
  background: var(--color-accent);
  color: #fff;
}

.btn-edit:hover {
  background: #e88a00;
}

.btn-save {
  background: #34c759;
  color: #fff;
}

.btn-save:hover {
  background: #2db84e;
}

.btn-cancel {
  background: #6c757d;
  color: #fff;
}

.btn-cancel:hover {
  background: #5a6268;
}

.btn-gcal {
  background: var(--color-gcal);
  color: #fff;
}

.btn-gcal:hover {
  background: #3367d6;
}

.btn-proposal {
  background: var(--color-proposal);
  color: #fff;
}

.btn-proposal:hover {
  background: #37475a;
}

.btn-x {
  background: var(--color-x);
  color: #fff;
}

.btn-x:hover {
  background: #333;
}

.btn-share {
  background: #5a7faa;
  color: #fff;
}

.btn-share:hover {
  background: #4a6d96;
}

.hidden {
  display: none !important;
}

/* === Timetable Container: scrollable area === */
.timetable-container {
  flex: 1;
  overflow: auto;
  min-height: 0; /* critical for flex children to shrink */
  background: var(--color-bg);
  -webkit-overflow-scrolling: touch;
}

/* Wrapper for centering the timetable */
.timetable-wrapper {
  min-width: fit-content;
  min-height: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
}

/* === Timetable Grid === */
.timetable {
  display: grid;
  gap: 0;
  position: relative;
  width: fit-content;
  align-self: flex-start;
}

/* Track Headers (top row) */
.track-header {
  background: var(--color-track-header);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 8px;
  position: sticky;
  top: 0;  /* sticky within .timetable-container scroll */
  z-index: 20;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.track-header:first-child {
  border-radius: 8px 0 0 0;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
}

.track-header:last-child {
  border-radius: 0 8px 0 0;
}

.track-header .track-hashtag {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #a0aab4;
  margin-top: 2px;
}

.track-header .track-hashtag a,
.track-header-bottom .track-hashtag a {
  color: #a0aab4;
  text-decoration: none;
}

.track-header .track-hashtag a:hover,
.track-header-bottom .track-hashtag a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Track Headers (bottom row) */
.track-header-bottom {
  background: var(--color-track-header);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 8px;
  z-index: 10;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  bottom: 0;
}

.track-header-bottom:first-of-type {
  border-radius: 0 0 0 8px;
  position: sticky;
  bottom: 0;
  left: 0;
  z-index: 25;
}

.track-header-bottom:last-of-type {
  border-radius: 0 0 8px 0;
}

.track-header-bottom .track-hashtag {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #a0aab4;
  margin-top: 2px;
}

/* Time labels (left column) */
.time-label {
  background: var(--color-time-bg);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  padding: 2px 8px;
  text-align: right;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 5;
}

.time-label.hour-mark {
  border-top: 2px solid #b0b8c4;
  border-bottom: 1px solid var(--color-border);
}

/* Session Cells */
.session-cell {
  background: var(--color-cell-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin: 1px;
  padding: 6px 8px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.session-cell:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 5;
}

.session-cell .session-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.session-cell .session-speaker {
  font-size: 0.65rem;
  color: var(--color-text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.session-cell .session-speaker-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.session-cell .session-time-label {
  font-size: 0.6rem;
  color: #8899a6;
}

.session-cell .session-tags {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* Level badges - matching fortee.jp design */
.session-cell .session-tag {
  font-size: 0.6rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  background-color: #8899a6;
  white-space: nowrap;
}

.session-cell .session-tag.level-200 {
  background-color: #50cd89;
}

.session-cell .session-tag.level-300 {
  background-color: #7239ea;
}

.session-cell .session-tag.level-400 {
  background-color: #ff8f00;
}

.session-cell .session-tag.lunch-tag {
  background-color: transparent;
  padding: 1px 4px;
}

/* Checked session (yellow/orange border) */
.session-cell.checked {
  border: 3px solid var(--color-checked);
  background: var(--color-checked-bg);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.3);
}

/* Currently running session (green background) */
.session-cell.current {
  background: var(--color-current-bg);
  border-color: var(--color-current-border);
}

/* Both checked AND current */
.session-cell.checked.current {
  border: 3px solid var(--color-checked);
  background: linear-gradient(135deg, var(--color-checked-bg), var(--color-current-bg));
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.3), inset 0 0 0 1px rgba(52, 199, 89, 0.3);
}

/* Blocked session (time slot conflicts with a checked session) */
.edit-mode .session-cell.blocked {
  opacity: 0.45;
  background: #e8eaed;
  border-color: #c5cbd3;
  cursor: not-allowed;
}

.edit-mode .session-cell.blocked .session-check {
  cursor: not-allowed;
}

.edit-mode .session-cell.blocked:hover {
  box-shadow: none;
}

/* Non-session cells (breaks, etc.) */
.session-cell.non-session {
  background: #f0f0f0;
  cursor: default;
  border-color: #e0e0e0;
}

.session-cell.non-session:hover {
  box-shadow: none;
}

.session-cell.non-session .session-title {
  color: #8899a6;
  font-weight: 400;
}

/* Checkbox for edit mode */
.session-check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  cursor: pointer;
  display: none;
  z-index: 6;
}

.edit-mode .session-check {
  display: block;
}

/* Non-session cells: never show checkbox */
.edit-mode .session-cell.non-session .session-check {
  display: none !important;
}

.edit-mode .session-cell {
  cursor: default;
}

/* Empty grid cells */
.grid-empty {
  border-bottom: 1px solid #eee;
}

/* === Scroll to top button === */
.scroll-top-btn {
  position: fixed;
  bottom: 56px; /* above footer */
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-header);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
}

.scroll-top-btn:hover {
  background: #37475a;
  transform: scale(1.1);
}

.scroll-top-btn.hidden {
  opacity: 0;
  pointer-events: none;
  display: flex !important;
  transform: translateY(10px);
}

/* === Footer === */
.site-footer {
  background: var(--color-header);
  color: #a0aab4;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.8rem;
  flex-shrink: 0;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.site-footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-icon {
  vertical-align: middle;
  flex-shrink: 0;
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-modal-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #8899a6;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  z-index: 10;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-body {
  padding: 28px 24px;
}

.modal-track {
  display: inline-block;
  background: var(--color-header);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 8px;
}

.modal-time {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.modal-tags:empty {
  display: none;
}

/* Modal Level badges - matching fortee.jp design */
.modal-tag {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 500;
  color: #fff;
  background-color: #8899a6;
  white-space: nowrap;
}

.modal-tag.level-200 {
  background-color: #50cd89;
}

.modal-tag.level-300 {
  background-color: #7239ea;
}

.modal-tag.level-400 {
  background-color: #ff8f00;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 16px 0 8px;
  line-height: 1.4;
  color: var(--color-text);
}

/* Speaker area in modal */
.modal-speaker-area {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-speaker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.modal-speaker {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.modal-speaker::before {
  content: "by ";
  font-weight: 400;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.modal-actions .btn svg {
  flex-shrink: 0;
}

/* === Responsive (Mobile) === */
@media (max-width: 768px) {
  /* --- Mobile: allow natural body scroll for pull-to-refresh --- */
  html, body {
    height: auto;
    overflow: auto;
    overscroll-behavior-y: auto;
  }

  body {
    min-height: 100vh;
    display: block;
    /* Compensate for fixed header and footer */
    padding-top: var(--site-header-height, 52px);
    padding-bottom: var(--site-footer-height, 42px);
  }

  /* Header: fixed on mobile to always span full viewport width
     (sticky causes visual cutoff when content overflows horizontally) */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    padding: 10px 16px;
  }

  /* Timetable container: no height constraint on mobile, expand to content */
  .timetable-container {
    flex: none;
    overflow: visible;
    min-height: auto;
    height: auto;
    -webkit-overflow-scrolling: auto;
  }

  /* Footer: fixed on mobile to always span full viewport width */
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 10px 16px;
    z-index: 200;
  }

  /* --- Mobile: 4-track layout — fit all 4 tracks in viewport width --- */
  :root {
    --time-col-width: 44px;
    --row-height: 22px;
    /* Dynamic track width: fill remaining viewport divided by 4 tracks */
    /* 16px left + 16px right padding = 32px total padding */
    --track-width: calc((100vw - 44px - 32px) / 4);
  }

  .timetable-wrapper {
    padding: 8px 16px;
    min-width: fit-content; /* enable horizontal scroll on narrow screens */
    justify-content: flex-start;
    min-height: auto;
  }

  /* --- Mobile header layout --- */
  .header-content {
    flex-wrap: wrap; /* allow header-nav to wrap to next line */
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .header-content h1 {
    font-size: 1rem;
    flex-shrink: 0;
  }

  .unofficial-label {
    font-size: 0.65rem;
  }

  /* header-nav: collapsible, full-width below when open */
  .header-nav {
    flex: none;
    order: 10; /* push below header-actions row */
    width: 100%;
    display: none; /* hidden by default */
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 10px;
    margin-top: 4px;
  }

  /* Shown when hamburger is open */
  .header-nav.open {
    display: block;
  }

  .event-meta {
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* モバイルでは "|" セパレーターを非表示 */
  .sep {
    display: none;
  }

  /* 各行はブロック（横幅いっぱい）で gap を活かす */
  .event-row {
    gap: 8px;
  }

  /* Hide #jawsdays2026 from nav on mobile (shown separately in header-actions) */
  .desktop-hashtag {
    display: none;
  }

  /* Show mobile #jawsdays2026 in header-actions */
  .mobile-hashtag {
    display: inline-flex;
    font-size: 0.8rem;
    color: var(--color-accent);
  }

  /* Show hamburger button on mobile */
  .hamburger-btn {
    display: flex;
    flex-shrink: 0;
  }

  /* header-actions stays in main row (order < 10) */
  .header-actions {
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
  }

  .btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* --- Session cells on mobile --- */
  .session-cell {
    padding: 3px 4px;
    margin: 1px;
  }

  /* Track headers: sticky below the fixed page header */
  .track-header {
    top: var(--site-header-height, 52px);
  }

  .track-header:first-child {
    top: var(--site-header-height, 52px);
  }

  /* Bottom track headers: sticky above the fixed footer */
  .track-header-bottom {
    bottom: var(--site-footer-height, 42px);
  }

  .track-header-bottom:first-of-type {
    bottom: var(--site-footer-height, 42px);
  }

  .track-header,
  .track-header-bottom {
    font-size: 0.7rem;
    padding: 6px 4px;
  }

  .track-header .track-hashtag,
  .track-header-bottom .track-hashtag {
    font-size: 0.6rem;
  }

  .time-label {
    font-size: 0.65rem;
    padding: 2px 4px;
  }

  .session-cell .session-title {
    font-size: 0.6rem;
    -webkit-line-clamp: 3;
  }

  .session-cell .session-speaker {
    font-size: 0.55rem;
  }

  .session-cell .session-time-label {
    font-size: 0.55rem;
  }

  .session-cell .session-tag {
    font-size: 0.55rem;
    padding: 1px 4px;
  }

  /* --- Modal: full-width bottom sheet on mobile --- */
  .modal-content {
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    max-height: 90vh;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    justify-content: center;
  }

  /* Scroll-to-top button: above the fixed footer */
  .scroll-top-btn {
    bottom: calc(var(--site-footer-height, 42px) + 12px);
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* === Current Time Indicator === */
.current-time-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff3b30;
  z-index: 9;
  pointer-events: none;
}

.current-time-line::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -4px;
  width: 10px;
  height: 10px;
  background: #ff3b30;
  border-radius: 50%;
}

/* === Debug Panel === */
.debug-panel {
  background: #fff3cd;
  border-bottom: 2px solid #ffc107;
  padding: 8px 24px;
  flex-shrink: 0;
  z-index: 90;
}

.debug-panel-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.debug-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #856404;
  white-space: nowrap;
}

.debug-datetime-label {
  font-size: 0.8rem;
  color: #856404;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

#debug-datetime {
  font-size: 0.8rem;
  padding: 3px 6px;
  border: 1px solid #ffc107;
  border-radius: 4px;
  background: #fffdf0;
  color: #232f3e;
}

.debug-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.debug-presets-label {
  font-size: 0.75rem;
  color: #856404;
  white-space: nowrap;
}

.debug-preset-btn {
  font-size: 0.75rem;
  padding: 3px 8px;
  border: 1px solid #ffc107;
  border-radius: 4px;
  background: #fff;
  color: #856404;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.debug-preset-btn:hover {
  background: #ffc107;
  color: #232f3e;
}

.debug-preset-reset {
  border-color: #6c757d;
  color: #6c757d;
}

.debug-preset-reset:hover {
  background: #6c757d;
  color: #fff;
}

/* Current time badge — shows exact time (e.g. "14:23") right of the dot */
.current-time-badge {
  position: absolute;
  left: 13px;
  top: -8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #ff3b30;
  background: rgba(255, 255, 255, 0.92);
  padding: 0 3px;
  border-radius: 2px;
  line-height: 1.5;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
