﻿/* Ã¢â€â‚¬Ã¢â€â‚¬ Auth pages (login, register, forgot password) Ã¢â€â‚¬Ã¢â€â‚¬ */
.motchill-auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 32px 16px 48px;
}

.motchill-auth-card {
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.motchill-auth-card__header {
  margin-bottom: 20px;
}

.motchill-auth-card__header span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motchill-auth-card__header h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.motchill-auth-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
  font-size: 13px;
  line-height: 1.5;
}

.motchill-auth-alert--success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
}

.motchill-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.motchill-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.motchill-auth-field > span:first-child {
  color: var(--text-secondary);
}

.motchill-auth-field input[type="email"],
.motchill-auth-field input[type="password"],
.motchill-auth-field input[type="text"],
.motchill-auth-field input[type="date"],
.motchill-auth-field input[type="tel"],
.motchill-auth-field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.18s var(--ui-ease), box-shadow 0.18s var(--ui-ease);
  box-sizing: border-box;
}

.motchill-auth-field select {
  appearance: none;
  padding-right: 36px;
  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='%239aa4b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.motchill-auth-field input[type="date"] {
  padding-right: 10px;
  color-scheme: dark;
}

.motchill-auth-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.85;
  cursor: pointer;
  filter: invert(0.85);
}

.motchill-auth-field input:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.motchill-auth-field input:focus,
.motchill-auth-field select:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.motchill-password-input {
  position: relative;
  display: block;
}

.motchill-password-input input {
  padding-right: 44px;
}

.motchill-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.18s var(--ui-ease), background 0.18s var(--ui-ease);
}

.motchill-password-toggle:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.motchill-password-toggle__icon {
  width: 18px;
  height: 18px;
}

.motchill-password-toggle__icon--hide {
  display: none;
}

.motchill-password-toggle.is-visible .motchill-password-toggle__icon--show {
  display: none;
}

.motchill-password-toggle.is-visible .motchill-password-toggle__icon--hide {
  display: block;
}

.motchill-auth-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}

.motchill-auth-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent-hot);
}

.motchill-auth-check a {
  margin-left: auto;
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: none;
}

.motchill-auth-check a:hover {
  color: var(--accent-hot-light);
  text-decoration: underline;
}

.motchill-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent-hot);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ui-ease), transform 0.18s var(--ui-ease);
}

.motchill-auth-submit:hover,
.motchill-auth-submit:focus,
.motchill-auth-submit:focus-visible {
  background: var(--accent-hot-light);
  color: var(--on-accent) !important;
  text-decoration: none;
}

.motchill-auth-submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  background: rgba(var(--accent-hot-rgb), 0.35);
  color: rgba(255, 255, 255, 0.72);
}

.motchill-auth-submit:disabled:hover,
.motchill-auth-submit:disabled:focus {
  background: rgba(var(--accent-hot-rgb), 0.35);
  color: rgba(255, 255, 255, 0.72);
}

.motchill-member-nav__avatar.is-hidden {
  display: none !important;
}

.motchill-member-nav__avatar--placeholder.is-hidden {
  display: none !important;
}

.motchill-auth-divider {
  position: relative;
  margin: 18px 0 16px;
  text-align: center;
}

.motchill-auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.motchill-auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 12px;
  text-transform: lowercase;
}

.motchill-auth-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--ui-ease), border-color 0.18s var(--ui-ease);
}

.motchill-auth-google:hover {
  background: var(--bg-surface-3);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.motchill-auth-google span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #ea4335;
  font-size: 13px;
  font-weight: 700;
}

.motchill-auth-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.motchill-auth-card__footer a {
  color: var(--accent-hot);
  font-weight: 600;
  text-decoration: none;
}

.motchill-auth-card__footer a:hover {
  color: var(--accent-hot-light);
  text-decoration: underline;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Member account area Ã¢â€â‚¬Ã¢â€â‚¬ */
.motchill-member-page {
  width: 100%;
  padding: 0 0;
}

.motchill-member-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  align-items: start;
}

.motchill-member-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.motchill-member-nav {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
}

.motchill-member-nav__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--detail-border);
}

.motchill-member-nav__profile-text {
  min-width: 0;
  flex: 1;
}

.motchill-member-nav__profile strong {
  display: block;
  color: var(--detail-text);
  font-size: 15px;
  font-weight: 700;
}

.motchill-member-nav__profile span {
  display: block;
  margin-top: 2px;
  color: var(--detail-text-muted);
  font-size: 12px;
  word-break: break-word;
}

.motchill-member-nav__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.motchill-member-nav__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-hot-rgb), 0.15);
  color: var(--detail-accent);
  font-size: 20px;
  font-weight: 700;
}

.motchill-member-avatar-upload {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.motchill-member-avatar-upload__preview {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(var(--accent-hot-rgb), 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.motchill-member-avatar-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.motchill-member-avatar-upload__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-hot-rgb), 0.15);
  color: var(--detail-accent);
  font-size: 32px;
  font-weight: 700;
}

.motchill-member-avatar-upload__controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.motchill-member-avatar-upload__pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.35);
  background: rgba(var(--accent-hot-rgb), 0.12);
  color: var(--detail-accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s var(--ui-ease), border-color 0.18s var(--ui-ease);
}

.motchill-member-avatar-upload__pick:hover {
  background: rgba(var(--accent-hot-rgb), 0.2);
  border-color: rgba(var(--accent-hot-rgb), 0.55);
}

.motchill-member-avatar-upload__pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.motchill-member-avatar-upload__hint {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.motchill-member-avatar-upload__preview.is-preview-pending {
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.65);
}

.motchill-member-avatar-upload__status {
  margin: 0;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.motchill-member-avatar-upload__status[hidden] {
  display: none;
}

.motchill-member-avatar-upload__remove {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--detail-text-muted);
  font-size: 13px;
  cursor: pointer;
}

.motchill-member-avatar-upload__remove input {
  accent-color: var(--detail-accent);
}

@media (max-width: 575px) {
  .motchill-member-avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }
}

.motchill-member-nav__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.motchill-member-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--detail-text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--ui-ease), color 0.18s var(--ui-ease);
}

.motchill-member-nav__link-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.82;
}

.motchill-member-nav__link:hover .motchill-member-nav__link-icon,
.motchill-member-nav__link.is-active .motchill-member-nav__link-icon {
  opacity: 1;
}

.motchill-member-nav__link-icon .mtc-icon {
  display: block;
}

.motchill-member-nav__link:hover {
  background: var(--detail-surface-hover);
  color: var(--detail-text);
}

.motchill-member-nav__link.is-active {
  background: rgba(var(--accent-hot-rgb), 0.12);
  color: var(--detail-accent);
}

.motchill-member-nav__logout {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--detail-border);
}

.motchill-member-nav__logout button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s var(--ui-ease), color 0.18s var(--ui-ease), background 0.18s var(--ui-ease);
}

.motchill-member-nav__logout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.motchill-member-nav__logout button:hover {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

.motchill-member-card {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
}

.motchill-member-card .motchill-auth-field > span:first-child {
  color: var(--detail-text-muted);
}

.motchill-member-card .motchill-auth-field input[type="email"],
.motchill-member-card .motchill-auth-field input[type="password"],
.motchill-member-card .motchill-auth-field input[type="text"],
.motchill-member-card .motchill-auth-field input[type="date"],
.motchill-member-card .motchill-auth-field input[type="tel"],
.motchill-member-card .motchill-auth-field select {
  border-color: var(--detail-border);
  background-color: var(--detail-surface);
  color: var(--detail-text);
}

.motchill-member-card .motchill-auth-field select option {
  background: var(--detail-surface);
  color: var(--detail-text);
}

.motchill-member-card .motchill-auth-field input[type="date"] {
  color-scheme: dark;
}

.motchill-member-card .motchill-auth-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.9);
}

/* â”€â”€ Custom date picker (member profile) â”€â”€ */
.motchill-date-field {
  position: relative;
  width: 100%;
}

.motchill-date-field__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--detail-border);
  border-radius: var(--radius-md);
  background: var(--detail-surface);
  color: var(--detail-text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s var(--ui-ease), box-shadow 0.18s var(--ui-ease);
  box-sizing: border-box;
}

.motchill-date-field__trigger:hover,
.motchill-date-field.is-open .motchill-date-field__trigger {
  border-color: rgba(var(--accent-hot-rgb), 0.35);
}

.motchill-date-field.is-open .motchill-date-field__trigger {
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.motchill-date-field__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-date-field.is-empty .motchill-date-field__value {
  color: var(--detail-text-muted);
  font-weight: 400;
}

.motchill-date-field__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--detail-accent);
}

.motchill-date-field__popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 320px);
  padding: 12px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
  box-sizing: border-box;
}

.motchill-date-field__popover[hidden] {
  display: none !important;
}

.motchill-date-picker__quick {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  margin-bottom: 10px;
}

.motchill-date-picker__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.motchill-date-picker__field > span {
  color: var(--detail-text-muted);
  font-size: 11px;
  font-weight: 600;
}

.motchill-date-picker__select {
  width: 100%;
  height: 36px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  background-color: var(--detail-surface);
  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='%239aa4b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.motchill-date-picker__select:focus {
  outline: none;
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  box-shadow: 0 0 0 2px rgba(var(--accent-hot-rgb), 0.12);
}

.motchill-date-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.motchill-date-picker__title {
  color: var(--detail-text);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.motchill-date-picker__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--detail-border);
  border-radius: 8px;
  background: var(--detail-surface);
  color: var(--detail-text-muted);
  cursor: pointer;
  transition: border-color 0.18s var(--ui-ease), color 0.18s var(--ui-ease);
}

.motchill-date-picker__nav:hover {
  border-color: rgba(var(--accent-hot-rgb), 0.35);
  color: var(--detail-accent);
}

.motchill-date-picker__weekdays,
.motchill-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.motchill-date-picker__weekdays {
  margin-bottom: 6px;
}

.motchill-date-picker__weekdays span {
  color: var(--detail-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.motchill-date-picker__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s var(--ui-ease), border-color 0.15s var(--ui-ease), color 0.15s var(--ui-ease);
}

.motchill-date-picker__day:hover:not(:disabled) {
  border-color: var(--detail-border);
  background: rgba(var(--accent-hot-rgb), 0.08);
}

.motchill-date-picker__day.is-selected {
  border-color: rgba(var(--accent-hot-rgb), 0.35);
  background: rgba(var(--accent-hot-rgb), 0.16);
  color: var(--detail-accent);
  font-weight: 700;
}

.motchill-date-picker__day.is-today:not(.is-selected) {
  border-color: rgba(var(--accent-hot-rgb), 0.25);
}

.motchill-date-picker__day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.motchill-date-picker__day.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.motchill-date-picker__clear {
  width: 100%;
  margin-top: 10px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--detail-border);
  background: transparent;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s var(--ui-ease);
}

.motchill-date-picker__clear:hover {
  color: var(--detail-accent);
}

.motchill-member-card__header {
  margin-bottom: 18px;
}

.motchill-member-card__header span {
  display: block;
  margin-bottom: 6px;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motchill-member-card__header h1 {
  margin: 0;
  color: var(--detail-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
}

.motchill-member-card__header--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.motchill-member-card__meta {
  margin: -8px 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}

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

.motchill-member-summary__item {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
}

.motchill-member-summary__item span {
  display: block;
  margin-bottom: 8px;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.motchill-member-summary__item strong {
  color: var(--detail-text);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.motchill-member-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.motchill-member-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-text);
  text-decoration: none;
  transition: border-color 0.18s var(--ui-ease), background 0.18s var(--ui-ease), transform 0.18s var(--ui-ease);
}

.motchill-member-action strong {
  font-size: 15px;
  font-weight: 700;
}

.motchill-member-action span {
  color: var(--detail-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.motchill-member-action:hover {
  border-color: rgba(var(--accent-hot-rgb), 0.35);
  background: rgba(var(--accent-hot-rgb), 0.08);
  color: var(--detail-text);
  transform: translateY(-1px);
}

.motchill-member-page .saved-fav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.motchill-member-page .saved-fav-item {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.saved-fav-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: var(--detail-surface);
  content-visibility: auto;
  contain-intrinsic-size: 210px;
  transition: transform 0.18s var(--ui-ease, ease), border-color 0.18s var(--ui-ease, ease);
}

.saved-fav-card:hover,
.saved-fav-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-hot-rgb), 0.35);
}

.saved-fav-card__media {
  position: relative;
  overflow: hidden;
}

.saved-fav-card__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--detail-surface-2);
}

.saved-fav-card__poster img,
.saved-fav-card__poster-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s var(--ui-ease, ease);
}

.saved-fav-card:hover .saved-fav-card__poster img {
  transform: scale(1.04);
}

.saved-fav-card__poster-ph {
  min-height: 0;
  background: linear-gradient(135deg, var(--detail-surface-2), var(--detail-surface-hover));
}

.saved-fav-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 13, 0.35);
  opacity: 0;
  transition: opacity 0.18s var(--ui-ease, ease);
}

.saved-fav-card__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.saved-fav-card:hover .saved-fav-card__play {
  opacity: 1;
}

.saved-fav-card__unsave {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--detail-accent);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.18s var(--ui-ease, ease), border-color 0.18s var(--ui-ease, ease), color 0.18s var(--ui-ease, ease);
}

.saved-fav-card__unsave-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
}

.saved-fav-card__bookmark-icon {
  display: block;
  fill: rgba(var(--accent-hot-rgb), 0.22);
  stroke: currentColor;
}

.saved-fav-card__unsave-line {
  position: absolute;
  top: 50%;
  right: -1px;
  left: -1px;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: currentColor;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.16s var(--ui-ease, ease), opacity 0.16s var(--ui-ease, ease);
}

.saved-fav-card__unsave:hover,
.saved-fav-card__unsave:focus-visible {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(0, 0, 0, 0.72);
  color: #fca5a5;
}

.saved-fav-card__unsave:hover .saved-fav-card__unsave-line,
.saved-fav-card__unsave:focus-visible .saved-fav-card__unsave-line {
  transform: scaleX(1);
  opacity: 1;
}

.saved-fav-card__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.saved-fav-card__progress-fill {
  display: block;
  height: 100%;
  background: var(--detail-accent);
  transition: width 0.2s ease;
}

.saved-fav-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 7px 7px;
  min-width: 0;
}

.saved-fav-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.saved-fav-card__title {
  margin: 0;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.saved-fav-card__title a {
  display: block;
  overflow: hidden;
  color: var(--detail-text);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-fav-card__title a:hover {
  color: var(--detail-accent);
}

.saved-fav-card__badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.saved-fav-card__badge--watching {
  background: rgba(var(--accent-hot-rgb), 0.14);
  color: var(--detail-accent);
}

.saved-fav-card__badge--done {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
}

.saved-fav-card__badge--saved {
  background: rgba(255, 255, 255, 0.06);
  color: var(--detail-text-muted);
}

.saved-fav-card__meta {
  margin: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-fav-card__meta-dot {
  margin: 0 3px;
  opacity: 0.65;
}

.motchill-member-card--favorites .saved-fav-card__unsave {
  appearance: none;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  text-transform: none;
  letter-spacing: normal;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .motchill-member-page .saved-fav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (min-width: 1024px) {
  .motchill-member-page .saved-fav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (min-width: 1400px) {
  .motchill-member-page .saved-fav-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .saved-fav-card__body {
    padding: 6px 6px 7px;
  }

  .saved-fav-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .saved-fav-card__title {
    width: 100%;
    font-size: 10.5px;
  }

  .saved-fav-card__title a {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .saved-fav-card__meta {
    font-size: 9.5px;
    white-space: normal;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .saved-fav-card__unsave {
    width: 28px;
    height: 28px;
  }
}

/* Saved movies â€” empty CTA */
.saved-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 32px auto 8px;
  padding: 28px 24px;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  background: var(--detail-surface, rgba(17, 24, 33, 0.88));
  text-align: center;
  box-sizing: border-box;
}

.saved-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.08));
  border-radius: 50%;
  background: var(--detail-surface-2, rgba(255, 255, 255, 0.04));
  color: var(--detail-text-muted, var(--text-secondary));
}

.saved-cta__icon-svg {
  display: block;
  flex-shrink: 0;
  opacity: 0.9;
}

.saved-cta__title {
  margin: 0;
  color: var(--detail-text, var(--text-primary));
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.saved-cta__subtitle {
  margin: 0;
  max-width: 280px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.saved-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 8px 0 0;
}

.saved-cta a.saved-cta__primary,
.saved-cta a.saved-cta__secondary {
  box-sizing: border-box;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ui-ease, ease), border-color 0.18s var(--ui-ease, ease),
    color 0.18s var(--ui-ease, ease), transform 0.18s var(--ui-ease, ease);
}

.saved-cta a.saved-cta__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-md, 12px);
  background: var(--accent-hot, #f5a524);
  color: var(--on-accent, #111);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.saved-cta a.saved-cta__primary:hover,
.saved-cta a.saved-cta__primary:focus,
.saved-cta a.saved-cta__primary:focus-visible {
  background: var(--accent-hot-light, #f6b84a);
  color: var(--on-accent, #111) !important;
  text-decoration: none;
  transform: translateY(-1px);
}

.saved-cta a.saved-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--detail-border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-md, 12px);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.saved-cta a.saved-cta__secondary:hover,
.saved-cta a.saved-cta__secondary:focus,
.saved-cta a.saved-cta__secondary:focus-visible {
  border-color: var(--detail-border-strong, rgba(255, 255, 255, 0.2));
  background: var(--detail-surface-2, rgba(255, 255, 255, 0.04));
  color: var(--text-primary) !important;
  text-decoration: none;
}

@media (max-width: 991px) {
  .motchill-member-page--favorites .saved-cta {
    margin-top: 20px;
    padding: 22px 16px;
  }

  .saved-cta__subtitle {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .saved-cta {
    max-width: none;
    margin-top: 16px;
    padding: 20px 14px;
    gap: 10px;
  }

  .saved-cta__title {
    font-size: 16px;
  }

  .saved-cta__subtitle {
    font-size: 13px;
  }

  .saved-cta__actions {
    gap: 8px;
    margin-top: 6px;
  }

  .saved-cta a.saved-cta__primary {
    min-height: 42px;
    font-size: 13px;
  }

  .saved-cta a.saved-cta__secondary {
    min-height: 38px;
    font-size: 12px;
  }
}

.motchill-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 16px;
  text-align: center;
}

.motchill-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-hot-rgb), 0.1);
  color: var(--accent-hot);
}

.motchill-empty-state__icon svg {
  width: 28px;
  height: 28px;
}

.motchill-empty-state strong {
  color: var(--text-primary);
  font-size: 16px;
}

.motchill-empty-state p {
  max-width: 360px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.motchill-member-empty__cta {
  width: auto;
  min-width: 160px;
  margin-top: 6px;
}

.motchill-member-pagination {
  margin-top: 18px;
}

@media (max-width: 767px) {
  .motchill-auth-page {
    min-height: auto;
    padding-top: 20px;
  }

  .motchill-auth-card {
    padding: 22px 18px 18px;
  }
}

@media (max-width: 991px) {
  .motchill-member-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .motchill-member-main,
  .motchill-member-card {
    min-width: 0;
  }

  .motchill-member-nav {
    position: relative;
    padding: 12px;
    overflow: visible;
  }

  .motchill-member-nav__profile {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-right: 46px;
    padding-bottom: 10px;
  }

  .motchill-member-nav__profile strong {
    display: block;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .motchill-member-nav__profile-email {
    display: none;
  }

  .motchill-member-nav__links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
  }

  .motchill-member-nav__link {
    flex: initial;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    text-decoration: none;
    white-space: normal;
  }

  .motchill-member-nav__link-icon {
    opacity: 1;
  }

  .motchill-member-nav__link-icon .mtc-icon {
    width: 20px;
    height: 20px;
  }

  .motchill-member-nav__link.is-active {
    background: rgba(var(--accent-hot-rgb), 0.16);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-hot-rgb), 0.28);
  }

  .motchill-member-nav__logout {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .motchill-member-nav__logout button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .motchill-member-nav__logout-label {
    display: none;
  }

  .motchill-member-card {
    padding: 20px 18px;
  }

  .motchill-member-summary {
    grid-template-columns: 1fr;
  }

  .motchill-member-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .motchill-member-nav__links {
    gap: 6px;
    padding: 6px;
  }

  .motchill-member-nav__link {
    gap: 5px;
    min-height: 56px;
    padding: 8px 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--detail-text-muted);
    text-align: center;
  }

  .motchill-member-nav__link-label {
    display: block;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 600;
    color: inherit;
    word-break: break-word;
  }

  .motchill-member-nav__link.is-active {
    color: var(--detail-text);
  }
}

@media (max-width: 767px) {
  .motchill-member-nav__link {
    gap: 0;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 0;
    text-align: center;
  }

  .motchill-member-nav__link-label {
    display: none;
  }
}

.motchill-watch-history__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.motchill-watch-history__intro span {
  display: block;
  margin-bottom: 6px;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motchill-watch-history__intro-mobile {
  display: none;
}

.motchill-wh-card__resume-text--mobile {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.motchill-wh-card__resume-text--desktop {
  display: none;
}

.motchill-wh-card__resume-icon {
  flex-shrink: 0;
  color: var(--detail-accent);
}

.motchill-watch-history__intro h1 {
  margin: 0;
  color: var(--detail-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
}

.motchill-watch-history__clear button,
.motchill-watch-history__clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s var(--ui-ease);
}

.motchill-watch-history__clear-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
}

.motchill-watch-history__clear button:hover,
.motchill-watch-history__clear-btn:hover,
.motchill-watch-history__clear-btn:focus-visible {
  border: 0;
  background: transparent;
  color: var(--detail-accent);
}

.motchill-watch-history__clear button:hover .motchill-watch-history__clear-icon,
.motchill-watch-history__clear-btn:hover .motchill-watch-history__clear-icon,
.motchill-watch-history__clear-btn:focus-visible .motchill-watch-history__clear-icon {
  opacity: 1;
}

.motchill-wh-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.motchill-wh-timeline__group[hidden] {
  display: none !important;
}

.motchill-wh-timeline__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.motchill-wh-timeline__heading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--detail-accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-hot-rgb), 0.14);
  flex-shrink: 0;
}

.motchill-wh-timeline__heading-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.motchill-wh-timeline__heading-text strong {
  color: var(--detail-text);
  font-size: 15px;
  font-weight: 700;
}

.motchill-wh-timeline__heading-text span {
  color: var(--detail-text-muted);
  font-size: 13px;
}

.motchill-wh-timeline__track {
  position: relative;
  margin-left: 4px;
  padding-left: 22px;
  border-left: 2px solid var(--detail-border);
}

.motchill-wh-timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.motchill-wh-timeline__row:last-child {
  margin-bottom: 0;
}

.motchill-wh-timeline__row::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--detail-surface-2);
  border: 2px solid var(--detail-border);
}

.motchill-wh-timeline__time {
  padding-top: 16px;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.motchill-wh-timeline__card-wrap {
  min-width: 0;
}

.motchill-wh-timeline__card-wrap .motchill-wh-card {
  margin: 0;
}

.motchill-wh-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.motchill-wh-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--detail-border);
  border-radius: 14px;
  background: var(--detail-surface);
  content-visibility: auto;
  contain-intrinsic-size: 120px;
  transition: transform 0.18s var(--ui-ease), border-color 0.18s var(--ui-ease), background 0.18s var(--ui-ease);
}

.motchill-wh-card__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  min-width: 0;
  padding-right: 24px;
}

.motchill-wh-card__title,
.motchill-wh-card__episode,
.motchill-wh-card__time,
.motchill-wh-card__progress--inline {
  grid-column: 1;
}

.motchill-wh-card__actions {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
}

.motchill-wh-card__progress--inline {
  display: none;
}

.motchill-wh-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-hot-rgb), 0.28);
  background: var(--detail-surface-2);
}

.motchill-wh-card.is-deferred,
.motchill-wh-timeline__row.is-deferred {
  display: none !important;
}

.motchill-wh-card__poster {
  position: relative;
  width: 72px;
  flex-shrink: 0;
}

.motchill-wh-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 2 / 3;
  background: var(--detail-surface-2);
}

.motchill-wh-card__thumb img,
.motchill-wh-card__thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motchill-wh-card__thumb-placeholder {
  min-height: 108px;
  background: linear-gradient(135deg, var(--detail-surface-2), var(--detail-surface-hover));
}

.motchill-wh-card__progress {
  height: 4px;
  border-radius: 0 0 10px 10px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.motchill-wh-card__progress--poster {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.motchill-wh-card__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--detail-accent);
  transition: width 0.2s ease;
}

.motchill-wh-card__progress-tip {
  position: absolute;
  right: 6px;
  bottom: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--detail-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ui-ease);
}

.motchill-wh-card__poster:hover .motchill-wh-card__progress-tip {
  opacity: 1;
}

.motchill-wh-card__menu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.motchill-wh-card__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--detail-text-muted);
  cursor: pointer;
  transition: color 0.18s var(--ui-ease), background 0.18s var(--ui-ease);
}

.motchill-wh-card__menu-btn svg {
  width: 16px;
  height: 16px;
}

.motchill-wh-card__menu-btn:hover,
.motchill-wh-card__menu.is-open .motchill-wh-card__menu-btn {
  background: var(--detail-surface-2);
  color: var(--detail-text);
}

.motchill-wh-card__menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 4;
  min-width: 120px;
  padding: 4px;
  border: 1px solid var(--detail-border);
  border-radius: 10px;
  background: var(--detail-surface);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.motchill-wh-card__menu-dropdown[hidden] {
  display: none !important;
}

.motchill-wh-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.motchill-wh-card__title a {
  color: var(--detail-text);
  text-decoration: none;
}

.motchill-wh-card__title a:hover {
  color: var(--detail-accent);
}

.motchill-wh-card__episode {
  margin: 0 0 4px;
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 600;
}

.motchill-wh-card__time {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 12px;
}

.motchill-wh-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
}

.motchill-wh-card__resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(var(--accent-hot-rgb), 0.45);
  border-radius: 6px;
  background: rgba(var(--accent-hot-rgb), 0.06);
  color: var(--detail-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.motchill-wh-card__resume:hover,
.motchill-wh-card__resume:focus-visible {
  background: rgba(var(--accent-hot-rgb), 0.12);
  border-color: rgba(var(--accent-hot-rgb), 0.55);
  color: var(--detail-accent);
  filter: none;
}

.motchill-wh-card__remove {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fca5a5;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s var(--ui-ease);
}

.motchill-wh-card__remove:hover {
  background: rgba(239, 68, 68, 0.12);
}

.motchill-wh-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  padding: 40px 20px;
  text-align: center;
}

.motchill-wh-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface-2);
  color: var(--detail-accent);
}

.motchill-wh-empty strong {
  color: var(--detail-text);
  font-size: 18px;
  font-weight: 700;
}

.motchill-wh-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.motchill-wh-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--detail-accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.motchill-wh-empty__cta:hover {
  filter: brightness(1.06);
  color: var(--on-accent);
}

@media (max-width: 767px) {
  /* â”€â”€ Watch history â€” mobile mockup â”€â”€ */
  .motchill-member-page--history .motchill-member-card.motchill-watch-history {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .motchill-member-page--history .motchill-watch-history__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .motchill-member-page--history .motchill-watch-history__intro-desktop {
    display: block;
    margin-bottom: 4px;
    color: var(--detail-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .motchill-member-page--history .motchill-watch-history__intro h1 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
  }

  .motchill-member-page--history .motchill-watch-history__clear {
    flex-shrink: 0;
    margin: 0;
    padding-top: 2px;
  }

  .motchill-member-page--history .motchill-wh-timeline {
    gap: 18px;
  }

  .motchill-member-page--history .motchill-wh-timeline__group {
    margin: 0;
  }

  .motchill-member-page--history .motchill-wh-timeline__heading {
    position: relative;
    gap: 0;
    margin-bottom: 10px;
    padding-left: 20px;
  }

  .motchill-member-page--history .motchill-wh-timeline__heading-dot {
    position: absolute;
    left: 5px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin: 0;
    transform: translateY(-50%);
    background: var(--detail-accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-hot-rgb), 0.16);
  }

  .motchill-member-page--history .motchill-wh-timeline__heading-text strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--detail-text);
  }

  .motchill-member-page--history .motchill-wh-timeline__heading-text span {
    display: none;
  }

  .motchill-member-page--history .motchill-wh-timeline__track {
    position: relative;
    margin-left: 0;
    padding-left: 20px;
    border-left: 0;
  }

  .motchill-member-page--history .motchill-wh-timeline__track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }

  .motchill-member-page--history .motchill-wh-timeline__row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-bottom: 10px;
  }

  .motchill-member-page--history .motchill-wh-timeline__row:last-child {
    margin-bottom: 0;
  }

  .motchill-member-page--history .motchill-wh-timeline__row::before {
    top: 6px;
    left: -14px;
    width: 6px;
    height: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: var(--detail-surface);
    box-shadow: none;
  }

  .motchill-member-page--history .motchill-wh-timeline__time {
    width: 38px;
    padding-top: 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--detail-text-muted);
    text-align: left;
    white-space: nowrap;
  }

  .motchill-member-page--history .motchill-wh-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    min-height: 120px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--detail-surface-2);
    transform: none;
    contain-intrinsic-size: 124px;
    overflow: hidden;
  }

  .motchill-member-page--history .motchill-wh-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    background: var(--detail-surface-2);
  }

  .motchill-member-page--history .motchill-wh-card__poster {
    width: 96px;
    flex: 0 0 96px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .motchill-member-page--history .motchill-wh-card__thumb {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
  }

  .motchill-member-page--history .motchill-wh-card__thumb img,
  .motchill-member-page--history .motchill-wh-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
  }

  .motchill-member-page--history .motchill-wh-card__thumb-placeholder {
    min-height: 0;
  }

  .motchill-member-page--history .motchill-wh-card__progress--poster {
    display: block;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.1);
  }

  .motchill-member-page--history .motchill-wh-card__progress--poster .motchill-wh-card__progress-fill {
    background: var(--detail-accent);
  }

  .motchill-member-page--history .motchill-wh-card.is-complete .motchill-wh-card__progress--poster .motchill-wh-card__progress-fill {
    background: var(--success);
  }

  .motchill-member-page--history .motchill-wh-card__progress-tip {
    display: none;
  }

  .motchill-member-page--history .motchill-wh-card__progress--inline {
    display: none !important;
  }

  .motchill-member-page--history .motchill-wh-card__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 0;
    min-height: 100px;
    padding: 0;
    padding-right: 18px;
  }

  .motchill-member-page--history .motchill-wh-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
  }

  .motchill-member-page--history .motchill-wh-card__title a {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 800;
    line-height: 1.3;
  }

  .motchill-member-page--history .motchill-wh-card__episode {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--detail-accent);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .motchill-member-page--history .motchill-wh-card__time {
    margin: 0;
    font-size: 11px;
    color: var(--detail-text-muted);
    line-height: 1.25;
  }

  .motchill-member-page--history .motchill-wh-card__actions {
    grid-column: unset;
    grid-row: unset;
    align-self: auto;
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
  }

  .motchill-member-page--history .motchill-wh-card__menu {
    top: 10px;
    right: 10px;
  }

  .motchill-member-page--history .motchill-wh-card__menu-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--detail-text-muted);
  }

  .motchill-member-page--history .motchill-wh-card__menu-dropdown {
    border-color: var(--detail-border);
    background: var(--detail-surface-2);
  }

  .motchill-member-page--history .motchill-wh-card__remove {
    color: var(--detail-text);
    font-size: 12px;
    font-weight: 600;
  }

  .motchill-member-page--history .motchill-wh-card__remove:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fca5a5;
  }

  .motchill-member-page--history .motchill-wh-empty {
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 32px 16px;
    text-align: center;
  }

  .motchill-member-page--history .motchill-wh-empty p {
    max-width: 280px;
    font-size: 13px;
  }

  .motchill-member-page--history .motchill-wh-empty__cta {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
  }
}

/* â”€â”€ Dashboard overview (streaming account) â”€â”€ */
.motchill-member-page--dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 16px;
  align-items: start;
}

.motchill-member-page--dashboard .motchill-member-shell {
  display: contents;
}

.motchill-member-page--dashboard .motchill-member-nav {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.motchill-member-page--dashboard .motchill-member-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  gap: 0;
}

.motchill-member-page--dashboard .motchill-member-vip-banner {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 8px;
}

.motchill-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 0 4px;
  box-sizing: border-box;
}

.motchill-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.motchill-dashboard-hero__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.motchill-dashboard-hero__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--detail-border);
}

.motchill-dashboard-hero__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--detail-surface);
  color: var(--detail-accent);
  font-size: 22px;
  font-weight: 700;
}

.motchill-dashboard-hero__title {
  margin: 0 0 4px;
  color: var(--detail-text);
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}

.motchill-dashboard-hero__title span {
  color: var(--detail-accent);
}

.motchill-dashboard-hero__sub {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 13px;
}

.motchill-dashboard-hero__sub strong {
  color: var(--detail-text);
  font-weight: 600;
}

.motchill-dashboard-hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.motchill-dashboard-hero__member {
  color: var(--detail-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.motchill-dashboard-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.motchill-dashboard-insight:not(.is-ready) .motchill-dashboard-insight__primary,
.motchill-dashboard-insight:not(.is-ready) .motchill-dashboard-insight__mini {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.motchill-dashboard-insight:not(.is-ready) .motchill-dashboard-insight__primary::after,
.motchill-dashboard-insight:not(.is-ready) .motchill-dashboard-insight__mini::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--detail-border) 25%, rgba(255, 255, 255, 0.04) 50%, var(--detail-border) 75%);
  background-size: 200% 100%;
  animation: motchillDashSkel 1.1s ease infinite;
}

@keyframes motchillDashSkel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.motchill-dashboard-insight__primary,
.motchill-dashboard-insight__mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
  min-width: 0;
  overflow: hidden;
}

.motchill-dashboard-insight__primary {
  min-height: 148px;
  border-color: rgba(var(--accent-hot-rgb), 0.2);
}

.motchill-dashboard-insight__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.motchill-dashboard-insight__label .mtc-icon {
  color: var(--detail-accent);
  flex-shrink: 0;
}

.motchill-dashboard-insight__value {
  color: var(--detail-text);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.1;
}

.motchill-dashboard-insight__value--sm {
  font-size: clamp(22px, 2vw, 28px);
}

.motchill-dashboard-insight__hint {
  color: var(--detail-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.motchill-dashboard-insight__chart {
  display: block;
  width: 100%;
  height: 48px;
  color: var(--accent-hot);
}

.motchill-dashboard-insight__chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  position: relative;
}

.motchill-dashboard-insight__chart-line {
  opacity: 0.95;
}

.motchill-dashboard-insight__chart-dot {
  fill: var(--accent-hot);
  stroke: var(--detail-surface);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.motchill-dashboard-insight__chart-labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  color: var(--detail-text-muted);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.motchill-dashboard-insight__chart-labels span {
  min-width: 0;
}

.motchill-dashboard-dual {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
  min-width: 0;
}

.motchill-dashboard-block {
  padding: 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
  min-width: 0;
  overflow: hidden;
}

.motchill-dashboard-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.motchill-dashboard-block__title {
  margin: 0;
  color: var(--detail-text);
  font-size: 14px;
  font-weight: 700;
}

.motchill-dashboard-block__link {
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.motchill-dashboard-block__link:hover {
  color: var(--detail-accent);
}

.motchill-dashboard-empty {
  margin: 0;
  padding: 16px 12px;
  border: 1px dashed var(--detail-border);
  border-radius: 10px;
  color: var(--detail-text-muted);
  font-size: 13px;
  text-align: center;
}

.motchill-dashboard-feed {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.motchill-dashboard-feed::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 3px;
  width: 1px;
  background: var(--detail-border);
}

.motchill-dashboard-feed__row {
  display: grid;
  grid-template-columns: 8px 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  min-width: 0;
}

.motchill-dashboard-feed__row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.motchill-dashboard-feed__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--detail-accent);
  justify-self: center;
}

.motchill-dashboard-feed__thumb {
  width: 36px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--detail-border);
}

.motchill-dashboard-feed__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motchill-dashboard-feed__thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--detail-border);
}

.motchill-dashboard-feed__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.motchill-dashboard-feed__info strong {
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-dashboard-feed__info span {
  color: var(--detail-text-muted);
  font-size: 12px;
}

.motchill-dashboard-feed__time {
  color: var(--detail-text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.motchill-dashboard-continue {
  overflow: visible;
}

.motchill-dashboard-cw-carousel {
  --carousel-gap: 12px;
  --carousel-visible: 3.15;
  --carousel-slide-size: 148px;
  --carousel-nav-top: 42%;
  position: relative;
  margin: 0 -4px;
  padding: 0 4px;
  overflow: visible;
}

.motchill-dashboard-cw-carousel .motchill-carousel__viewport {
  overflow: hidden;
}

.motchill-dashboard-cw-carousel .motchill-carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.motchill-dashboard-cw-carousel .motchill-carousel__slide {
  flex: 0 0 var(--carousel-slide-size);
  min-width: 0;
}

.motchill-dashboard-cw-carousel .motchill-carousel__nav {
  width: 34px;
  height: 34px;
  border-color: var(--detail-border);
  background: rgba(10, 14, 22, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.motchill-dashboard-cw-carousel .motchill-carousel__nav-icon {
  width: 14px;
  height: 14px;
}

.motchill-dashboard-cw-carousel .motchill-carousel__nav--prev {
  left: -8px;
}

.motchill-dashboard-cw-carousel .motchill-carousel__nav--next {
  right: -8px;
}

.motchill-dashboard-cw-carousel .motchill-carousel__nav:hover {
  border-color: rgba(var(--accent-hot-rgb), 0.45);
  color: var(--detail-accent);
}

@media (min-width: 1200px) {
  .motchill-dashboard-cw-carousel {
    --carousel-visible: 3.35;
  }
}

@media (max-width: 991px) {
  .motchill-dashboard-cw-carousel {
    --carousel-visible: 2.35;
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .motchill-dashboard-cw-carousel .motchill-carousel__nav {
    display: none;
  }
}

.motchill-dashboard-cw {
  min-width: 0;
}

.motchill-dashboard-cw__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--detail-border);
  background: var(--detail-surface);
  transition: transform 0.18s var(--ui-ease), border-color 0.18s var(--ui-ease);
}

.motchill-dashboard-cw__poster:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-hot-rgb), 0.35);
}

.motchill-dashboard-cw__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motchill-dashboard-cw__poster-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--detail-border);
}

.motchill-dashboard-cw__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: var(--detail-text);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.18s var(--ui-ease);
}

.motchill-dashboard-cw__poster:hover .motchill-dashboard-cw__overlay {
  opacity: 1;
}

.motchill-dashboard-cw__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.55);
}

.motchill-dashboard-cw__bar-fill {
  display: block;
  height: 100%;
  background: var(--detail-accent);
}

.motchill-dashboard-cw__title {
  margin: 8px 0 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.motchill-dashboard-cw__title a {
  color: var(--detail-text);
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-dashboard-cw__title a:hover {
  color: var(--detail-accent);
}

.motchill-dashboard-cw__meta {
  margin: 0;
  color: var(--detail-text-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motchill-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--detail-border);
  border-radius: 12px;
  background: var(--detail-surface);
}

.motchill-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.motchill-dashboard-actions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--detail-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s var(--ui-ease), border-color 0.18s var(--ui-ease), color 0.18s var(--ui-ease);
}

.motchill-dashboard-actions__item .mtc-icon {
  color: var(--detail-text-muted);
  transition: color 0.18s var(--ui-ease);
}

.motchill-dashboard-actions__item:hover {
  transform: translateY(-2px);
  border-color: var(--detail-border);
  color: var(--detail-text);
}

.motchill-dashboard-actions__item:hover .mtc-icon {
  color: var(--detail-accent);
}

.motchill-dashboard-footer__cta {
  flex-shrink: 0;
  color: var(--detail-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.motchill-dashboard-footer__cta:hover {
  color: var(--detail-accent);
}

.motchill-dashboard-insight.is-ready .motchill-dashboard-insight__primary,
.motchill-dashboard-insight.is-ready .motchill-dashboard-insight__mini {
  color: inherit;
  pointer-events: auto;
}

.motchill-dashboard-insight.is-ready .motchill-dashboard-insight__primary::after,
.motchill-dashboard-insight.is-ready .motchill-dashboard-insight__mini::after {
  display: none;
}

@media (max-width: 991px) {
  .motchill-member-page--dashboard {
    grid-template-columns: 1fr;
  }

  .motchill-member-page--dashboard .motchill-member-nav,
  .motchill-member-page--dashboard .motchill-member-main {
    grid-column: 1;
  }

  .motchill-member-page--dashboard .motchill-member-nav {
    grid-row: 2;
  }

  .motchill-member-page--dashboard .motchill-member-main {
    grid-row: 3;
  }

  .motchill-dashboard-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .motchill-dashboard-hero__meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .motchill-dashboard-insight__primary {
    grid-column: 1 / -1;
  }

  .motchill-dashboard-dual {
    grid-template-columns: 1fr;
  }

  .motchill-dashboard-cw__title {
    margin-top: 6px;
    font-size: 12px;
  }

  .motchill-dashboard-cw__meta {
    font-size: 11px;
  }

  .motchill-dashboard-footer {
    flex-direction: column;
    align-items: stretch;
  }

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

  .motchill-dashboard-footer__cta {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .motchill-dashboard-insight {
    grid-template-columns: 1fr;
  }

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

  .motchill-dashboard-feed__row {
    grid-template-columns: 8px 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .motchill-dashboard-feed__info {
    grid-column: 3;
    grid-row: 1;
  }

  .motchill-dashboard-feed__time {
    grid-column: 3;
    grid-row: 2;
  }

  .motchill-dashboard-block {
    padding: 12px;
  }
}