/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fafafa;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Pages ── */
.page {
  min-height: 100vh;
}

/* ── Landing Page ── */
.landing-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  text-align: center;
}

.landing-layout {
  display: flex;
  flex-direction: column;
}

.landing-cta {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.landing-icon {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #222;
  letter-spacing: -1px;
}

.landing-container h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.landing-desc {
  font-size: 15px;
  color: #888;
  margin-bottom: 40px;
  line-height: 1.6;
}

.primary-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.primary-btn:hover {
  background: #444;
}

.primary-btn:active {
  transform: scale(0.98);
}

.primary-btn.outline {
  background: #fff;
  color: #222;
  border: 1.5px solid #222;
}

.primary-btn.outline:hover {
  background: #f5f5f5;
}

.divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
  color: #ccc;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  padding: 0 14px;
}

.join-section {
  display: flex;
  gap: 10px;
}

.join-input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
}

.join-input:focus {
  border-color: #222;
}

.join-section .primary-btn {
  width: auto;
  padding: 14px 24px;
  white-space: nowrap;
}

/* ── Landing Features (SEO) ── */
.landing-features {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #eee;
  text-align: left;
}

.landing-features h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.landing-features p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.6;
}

.landing-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.landing-features ul > li {
  font-size: 14px;
  color: #555;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.landing-features ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #222;
}

.landing-features-keywords {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
}

.landing-features h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: #444;
}

.landing-steps {
  padding-left: 20px;
  margin-bottom: 16px;
}

.landing-steps li {
  font-size: 14px;
  color: #555;
  padding: 4px 0;
  line-height: 1.6;
}

.landing-faq {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: left;
}

.landing-faq h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.landing-faq details {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.landing-faq summary {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 16px;
  color: #999;
}

.landing-faq details[open] summary::after {
  content: '-';
}

.landing-faq details p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-top: 8px;
}

/* ── Landing Desktop Layout ── */
@media (min-width: 768px) {
  .landing-container {
    padding-top: 80px;
  }

  .landing-layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .landing-info {
    flex: 1;
    order: 1;
  }

  .landing-cta {
    flex: 0 0 360px;
    order: 2;
    position: sticky;
    top: 40px;
    margin: 0;
  }

  .landing-features {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

/* ── Container ── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

/* ── Room Header ── */
.room-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.room-header-top h1 {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.back-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.back-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.room-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.room-code-badge {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
}

.share-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: #222;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.share-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.option-tag {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── Input Section ── */
.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

#nameInput,
#passwordInput {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

#nameInput:focus,
#passwordInput:focus {
  border-color: #222;
}

/* ── Calendar ── */
.calendar-section {
  margin-bottom: 24px;
}

.calendar {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-header h3 {
  font-size: 17px;
  font-weight: 600;
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: #222;
}

.cal-nav-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.weekdays span {
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  padding: 4px 0;
}

.weekdays span:first-child {
  color: #e74c3c;
}

.weekdays span:last-child {
  color: #3498db;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  user-select: none;
}

.day:hover {
  background: #f5f5f5;
}

.day.empty {
  cursor: default;
}

.day.empty:hover {
  background: transparent;
}

.day.past {
  color: #ccc;
  cursor: default;
}

.day.past:hover {
  background: transparent;
}

.day.unavailable {
  background: #222;
  color: #fff;
}

.day.unavailable:hover {
  background: #444;
}

.day.sunday {
  color: #e74c3c;
}

.day.sunday.unavailable {
  color: #fff;
}

.day.sunday.past {
  color: #f0c8c4;
}

.day.saturday {
  color: #3498db;
}

.day.saturday.unavailable {
  color: #fff;
}

.day.saturday.past {
  color: #c4ddf0;
}

.day.excluded {
  color: #ddd;
  cursor: default;
  background: #f8f8f8;
  text-decoration: line-through;
}

.day.excluded:hover {
  background: #f8f8f8;
}

.day .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ── Tooltip ── */
.day .tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 50;
  pointer-events: none;
}

.day .tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #222;
}

.day .tooltip.visible {
  display: block;
}

/* ── Buttons ── */
.btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover {
  background: #444;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  background: #aaa;
  cursor: default;
}

/* ── Ad Container ── */
.ad-container {
  margin: 24px 0;
  text-align: center;
  min-height: 50px;
  overflow: hidden;
}

.cancel-btn {
  flex: 1;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #222;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.cancel-btn:hover {
  background: #f5f5f5;
}

/* ── Result Section ── */
.result-section {
  margin-top: 32px;
  display: none;
}

.result-section.show {
  display: block;
}

.result-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Best Dates */
.best-dates {
  margin-bottom: 32px;
}

.best-date-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.best-date-card.rank-1 {
  border-color: #222;
  background: #222;
  color: #fff;
}

.best-date-card .date-text {
  font-size: 15px;
  font-weight: 600;
}

.best-date-card .date-info {
  font-size: 13px;
  color: #888;
}

.best-date-card.rank-1 .date-info {
  color: #bbb;
}

.best-date-card .rank {
  font-size: 20px;
  font-weight: 700;
  margin-right: 16px;
  width: 30px;
  flex-shrink: 0;
}

.best-date-left {
  display: flex;
  align-items: center;
}

.no-date-msg {
  text-align: center;
  padding: 24px;
  color: #888;
  font-size: 14px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px dashed #e0e0e0;
}

/* Participants */
.participants h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #888;
}

.participant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.participant-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
}

.participant-tag .edit-btn,
.participant-tag .remove-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #eee;
  color: #888;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.participant-tag .edit-btn:hover {
  background: #3498db;
  color: #fff;
}

.participant-tag .remove-btn:hover {
  background: #e74c3c;
  color: #fff;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  padding: 24px;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.2s;
}

.modal-overlay.show .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f5f5f5;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.modal-close:hover {
  background: #eee;
  color: #222;
}

.modal-body {
  padding: 20px 24px;
}

.modal-footer {
  padding: 0 24px 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.form-group {
  margin-bottom: 16px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-group .hint {
  font-weight: 400;
  color: #aaa;
}

.modal-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.modal-input:focus {
  border-color: #222;
}

.retention-notice {
  font-size: 12px;
  color: #888;
  margin: 4px 0 0;
  text-align: center;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.2s;
}

.toggle-label:hover {
  border-color: #ccc;
}

.toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #222;
  cursor: pointer;
}

.toggle-label input[type="checkbox"]:checked + span {
  font-weight: 600;
}

.modal-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-btn.primary {
  background: #222;
  color: #fff;
}

.modal-btn.primary:hover {
  background: #444;
}

.modal-btn.outline {
  background: #fff;
  color: #222;
  border: 1.5px solid #e0e0e0;
}

.modal-btn.outline:hover {
  background: #f5f5f5;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #222;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s;
  z-index: 2000;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Time Panel ── */
.time-panel {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
}

.time-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.time-panel-date {
  font-size: 15px;
  font-weight: 600;
}

.time-panel-actions {
  display: flex;
  gap: 6px;
}

.time-panel-allday,
.time-panel-close {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: all 0.15s;
}

.time-panel-allday:hover,
.time-panel-close:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.time-panel-allday.active {
  background: #222;
  color: #fff;
  border-color: #222;
}

.time-panel-allday.active:hover {
  background: #444;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  touch-action: none;
}

.time-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  user-select: none;
}

.time-slot:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.time-slot.unavailable {
  background: #222;
  color: #fff;
  border-color: #222;
}

.time-slot.unavailable:hover {
  background: #444;
}

.time-slot .slot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.day.partial-unavailable {
  background: #f0f0f0;
  border: 1.5px solid #ccc;
}

.day.time-selected {
  outline: 2.5px solid #222;
  outline-offset: -1px;
}

.day .time-count {
  position: absolute;
  bottom: 1px;
  right: 2px;
  font-size: 8px;
  color: #888;
  font-weight: 600;
}

.day .badge.time-badge {
  background: #e74c3c;
}

/* ── Result View Tabs ── */
.result-view-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.result-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: #fff;
  color: #888;
  cursor: pointer;
  transition: all 0.15s;
}

.result-tab + .result-tab {
  border-left: 1.5px solid #e0e0e0;
}

.result-tab.active {
  background: #222;
  color: #fff;
}

.result-tab:hover:not(.active) {
  background: #f5f5f5;
}

/* ── Time Filter ── */
.time-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.time-filter-item {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.time-filter-item select {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #222;
  cursor: pointer;
  outline: none;
}

.time-filter-item select:focus {
  border-color: #222;
}

.time-filter-label {
  display: none;
}

/* ── Time Accordion ── */
.time-accordion {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.time-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.time-accordion-header:hover {
  background: #f9f9f9;
}

.time-accordion-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.time-accordion-date {
  font-size: 15px;
  font-weight: 600;
}

.time-accordion-summary {
  font-size: 12px;
  color: #888;
}

.time-accordion-arrow {
  font-size: 14px;
  color: #888;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.time-accordion.open .time-accordion-arrow {
  transform: rotate(180deg);
}

.time-accordion.open .time-accordion-summary {
  display: none;
}

.time-accordion-body {
  display: none;
  padding: 0 16px 14px;
}

.time-accordion.open .time-accordion-body {
  display: block;
}

.time-range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #f0f0f0;
  gap: 8px;
}

.time-range-label {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.time-range-info {
  font-size: 12px;
  color: #888;
  text-align: right;
  word-break: break-word;
}

.time-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding: 8px 0;
}

.time-page-btn {
  background: #f5f5f5;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  color: #333;
}

.time-page-btn:hover:not(:disabled) {
  background: #e8e8e8;
}

.time-page-btn:disabled {
  color: #ccc;
  cursor: default;
  border-color: #eee;
}

.time-page-info {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .landing-container {
    padding: 80px 20px 40px;
  }

  .container {
    padding: 16px 16px 60px;
  }

  .input-section {
    flex-direction: column;
  }

  .calendar {
    padding: 16px;
  }

  .room-header-top h1 {
    font-size: 20px;
    word-break: break-word;
  }

  .modal {
    margin: 12px;
    max-height: 85vh;
  }

  .modal-body {
    padding: 16px 20px;
  }

  .modal-footer {
    padding: 0 20px 16px;
  }

  .day {
    font-size: 13px;
  }

  .day .badge {
    width: 14px;
    height: 14px;
    font-size: 8px;
    top: 1px;
    right: 1px;
  }

  .day .tooltip {
    font-size: 10px;
    padding: 4px 8px;
    max-width: 200px;
    white-space: normal;
    word-break: break-word;
  }

  .best-date-card {
    padding: 12px 14px;
  }

  .best-date-card .rank {
    font-size: 16px;
    margin-right: 10px;
    width: 24px;
  }

  .best-date-card .date-text {
    font-size: 14px;
  }

  .best-date-card .date-info {
    font-size: 12px;
    word-break: break-word;
  }

  .participant-tag {
    padding: 6px 10px;
    font-size: 12px;
  }

  .toast {
    max-width: calc(100vw - 32px);
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }

  .join-section {
    flex-direction: column;
  }

  .join-section .primary-btn {
    width: 100%;
  }

  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .time-panel {
    padding: 14px;
  }

  .time-panel-date {
    font-size: 13px;
  }

  .time-panel-allday,
  .time-panel-close {
    padding: 5px 10px;
    font-size: 11px;
  }

  .result-tab {
    font-size: 12px;
    padding: 8px 0;
  }

  .time-filter-item select {
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .landing-container {
    padding: 60px 16px 32px;
  }

  .landing-container h1 {
    font-size: 24px;
  }

  .landing-desc {
    font-size: 14px;
  }

  .calendar {
    padding: 12px;
  }

  .day {
    font-size: 12px;
    border-radius: 8px;
  }

  .room-header-top h1 {
    font-size: 18px;
  }

  .submit-btn, .primary-btn {
    padding: 14px;
    font-size: 15px;
  }

  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .time-slot {
    padding: 8px 2px;
    font-size: 12px;
  }
}

/* Language selector - removed for English-only version */
