


/* ===== OVERLAY — ТӨВД ГОЛЛУУЛАХ ===== */
.hm-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(3px);
animation: hmFade 0.2s ease;
}
@keyframes hmFade { from{opacity:0} to{opacity:1} }
@keyframes hmSlide { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ===== MODAL BASE ===== */
.hm-modal {
background: #fff;
border-radius: 14px;
position: relative;
animation: hmSlide 0.25s ease;
box-shadow: 0 24px 64px rgba(0,0,0,0.25);
max-height: 95vh;
overflow-y: auto;
}

/* ===== CLOSE BUTTON ===== */
.hm-close {
position: absolute;
top: 10px; right: 14px;
background: none; border: none;
font-size: 26px; color: #888;
cursor: pointer; z-index: 2;
width: 34px; height: 34px;
display: flex; align-items: center; justify-content: center;
border-radius: 50%;
transition: 0.15s;
line-height: 1;
}
.hm-close:hover { background: #f0f0f0; color: #333; }
.hm-close-dark { color: #ccc; }
.hm-close-dark:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== LOGIN MODAL — ТӨВД ===== */
.hm-login-modal {
width: 420px;
max-width: 95vw;
padding: 28px 32px 32px;
}

/* ===== BADGE ===== */
.hm-badge {
display: inline-flex;
align-items: center;
gap: 7px;
background: #334155;
color: #fff;
padding: 7px 18px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
margin-bottom: 20px;
}
.hm-badge-sm {
padding: 5px 14px;
font-size: 12px;
margin-bottom: 16px;
}
.hm-badge-center {
display: inline-flex;
align-items: center;
gap: 7px;
background: #334155;
color: #fff;
padding: 7px 18px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
}

/* ===== TITLES ===== */
.hm-title {
font-size: 22px;
font-weight: 700;
color: #1f2937;
margin-bottom: 22px;
}
.hm-title-blue { color: #1e3a5f; }

/* ===== FORM FIELDS ===== */
.hm-field { margin-bottom: 16px; }
.hm-label {
display: block;
font-size: 13px;
font-weight: 600;
color: #374151;
margin-bottom: 6px;
}
.hm-label-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
}
.hm-forgot-link {
font-size: 12px;
color: #2563eb;
text-decoration: none;
}
.hm-forgot-link:hover { text-decoration: underline; }
.hm-req { color: #ef4444; }
.hm-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}

/* ===== INPUTS ===== */
.hm-input {
width: 100%;
height: 46px;
padding: 0 14px;
border: 1.5px solid #d1d5db;
border-radius: 8px;
font-size: 14px;
color: #1f2937;
background: #f9fafb;
outline: none;
transition: 0.2s;
}
.hm-input:focus {
border-color: #2563eb;
background: #fff;
box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.hm-input.hm-err { border-color: #ef4444; background: #fef2f2; }
.hm-input::placeholder { color: #9ca3af; }
.hm-input-locked {
background: #e8f5e9;
border-color: #22c55e;
color: #1f2937;
font-weight: 500;
}

.hm-select {
width: 100%;
height: 46px;
padding: 0 14px;
border: 1.5px solid #d1d5db;
border-radius: 8px;
font-size: 14px;
color: #1f2937;
background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
-webkit-appearance: none; appearance: none;
outline: none;
transition: 0.2s;
cursor: pointer;
}
.hm-select:focus {
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.hm-date { color: #9ca3af; }
.hm-date:valid, .hm-date.has-val { color: #1f2937; }

/* ===== Input wrapper ===== */
.hm-input-wrap { position: relative; }
.hm-input-wrap .hm-input { padding-right: 44px; }
.hm-eye-btn {
position: absolute; right: 10px; top: 50%;
transform: translateY(-50%);
background: none; border: none;
cursor: pointer; padding: 4px;
display: flex; align-items: center;
opacity: 0.5; transition: 0.2s;
}
.hm-eye-btn:hover { opacity: 1; }
.hm-input-icon {
position: absolute; right: 12px; top: 50%;
transform: translateY(-50%);
pointer-events: none;
}

/* ===== Checkbox ===== */
.hm-checkbox-row {
display: flex; align-items: flex-start; gap: 8px;
font-size: 13px; color: #4b5563;
cursor: pointer; margin-bottom: 16px;
}
.hm-checkbox-row input[type="checkbox"] {
width: 16px; height: 16px;
margin-top: 1px;
accent-color: #1e3a5f;
cursor: pointer;
flex-shrink: 0;
}
.hm-terms-row { margin-bottom: 4px; }
.hm-terms-link { color: #2563eb; text-decoration: underline; }

/* ===== Error text ===== */
.hm-error {
display: block;
font-size: 12px;
color: #ef4444;
margin-top: 4px;
min-height: 0;
}

/* ===== Alerts ===== */
.hm-alert-error {
padding: 10px 14px;
border-radius: 8px;
font-size: 13px;
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
margin-bottom: 14px;
}
.hm-alert-success {
padding: 10px 14px;
border-radius: 8px;
font-size: 13px;
background: #f0fdf4;
color: #16a34a;
border: 1px solid #bbf7d0;
margin-bottom: 14px;
}

/* ===== BUTTONS ===== */
.hm-btn-primary {
width: 100%;
height: 48px;
background: linear-gradient(135deg, #1e3a5f, #1a365d);
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
display: flex; align-items: center; justify-content: center; gap: 8px;
transition: 0.2s;
}
.hm-btn-primary:hover {
background: linear-gradient(135deg, #1a365d, #153050);
box-shadow: 0 4px 14px rgba(30,58,95,0.3);
transform: translateY(-1px);
}
.hm-btn-primary:active { transform: translateY(0); }
.hm-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.hm-btn-outline-primary {
width: 100%;
height: 46px;
background: #fff;
color: #1e3a5f;
border: 2px solid #1e3a5f;
border-radius: 8px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: 0.2s;
margin-bottom: 4px;
}
.hm-btn-outline-primary:hover {
background: #1e3a5f;
color: #fff;
}

.hm-btn-outline-white {
width: 100%;
max-width: 220px;
height: 44px;
background: transparent;
color: #fff;
border: 2px solid #fff;
border-radius: 8px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: 0.2s;
}
.hm-btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.hm-btn-social {
width: 100%;
height: 46px;
background: #fff;
border: 1.5px solid #d1d5db;
border-radius: 8px;
display: flex; align-items: center; justify-content: center; gap: 10px;
font-size: 14px;
color: #374151;
font-weight: 500;
cursor: pointer;
transition: 0.15s;
margin-bottom: 10px;
}
.hm-btn-social:hover { background: #f9fafb; border-color: #9ca3af; }
.hm-btn-social-sm { height: 40px; font-size: 13px; margin-bottom: 8px; }

/* ===== Divider ===== */
.hm-divider {
display: flex; align-items: center; gap: 12px;
margin: 18px 0;
color: #9ca3af;
font-size: 13px;
}
.hm-divider::before, .hm-divider::after {
content: '';
flex: 1;
height: 1px;
background: #e5e7eb;
}

/* ===== Password requirements ===== */
.hm-pw-reqs { margin: 6px 0 18px; }
.hm-pw-req {
display: flex; align-items: center; gap: 6px;
font-size: 12px; color: #9ca3af;
margin-bottom: 4px;
transition: 0.2s;
}
.hm-pw-req.valid { color: #22c55e; }

/* ===== Switch text ===== */
.hm-switch-text {
text-align: center;
margin-top: 14px;
font-size: 13.5px;
}
.hm-switch-text a {
color: #2563eb;
text-decoration: none;
font-weight: 500;
}
.hm-switch-text a:hover { text-decoration: underline; }

/* ===== Spinner ===== */
.hm-spinner {
width: 20px; height: 20px;
border: 2.5px solid rgba(255,255,255,0.3);
border-top-color: #fff;
border-radius: 50%;
animation: hmSpin 0.6s linear infinite;
}
@keyframes hmSpin { to { transform: rotate(360deg); } }

/* =========================================== */
/* STEP 1 LAYOUT — 2 хэсэг (зүүн form + баруун зураг) */
/* =========================================== */
.hm-reg-step1-modal {
width: 720px;
max-width: 95vw;
padding: 0;
overflow-x: hidden;   /* HY-SCROLL-FIX-2026 — босоо гүйлгэлт зөвшөөрч "Бүртгүүлэх" товч тайрагдахгүй */
overflow-y: auto;
max-height: 95vh;
}
.hm-reg-step1-layout {
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 460px;
}
.hm-reg-step1-left {
padding: 28px 28px 24px;
}
.hm-reg-step1-right {
background: linear-gradient(135deg, #1e3a5f 0%, #0f2942 100%);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 32px 24px;
text-align: center;
}
.hm-reg-illustration { margin-bottom: 20px; }
.hm-reg-stat {
font-size: 22px;
font-weight: 700;
line-height: 1.3;
margin-bottom: 12px;
}
.hm-reg-sub {
font-size: 14px;
opacity: 0.8;
margin-bottom: 16px;
}

/* =========================================== */
/* STEP 2 — Бүрэн бүртгэл */
/* =========================================== */
.hm-reg-step2-modal {
width: 640px;
max-width: 95vw;
padding: 0 32px 32px;
}
.hm-step2-header {
background: linear-gradient(135deg, #1e293b, #334155);
margin: 0 -32px;
padding: 16px 0;
text-align: center;
border-radius: 14px 14px 0 0;
margin-bottom: 24px;
}

/* =========================================== */
/* PROFILE DROPDOWN (Header-д) */
/* =========================================== */
.hyamd-auth-section {
position: relative;
display: inline-flex;
align-items: center;
}
.hyamd-login-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 18px;
background: #1e3a5f;
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: 0.2s;
white-space: nowrap;
}
.hyamd-login-btn:hover { background: #153050; }

.hyamd-profile-trigger {
display: none;
align-items: center;
gap: 8px;
cursor: pointer;
padding: 6px 0;
border-radius: 8px;
transition: 0.2s;
position: relative;
}
.hyamd-profile-trigger:hover { background: rgba(0,0,0,0.05); }
.hyamd-profile-trigger.active { display: inline-flex; }
.hyamd-profile-avatar {
width: 28px; height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #3b82f6, #1e3a5f);
color: #fff;
display: flex; align-items: center; justify-content: center;
font-size: 12px; font-weight: 700;
flex-shrink: 0;
}
.hyamd-profile-name {
font-size: 12px; 
font-weight: 600;
color: white;
max-width: 100px;
overflow: hidden; 
text-overflow: ellipsis; 
white-space: nowrap;
}
.hyamd-profile-arrow {
width: 0; height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid #6b7280;
transition: 0.2s;
}
.hyamd-profile-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
min-width: 220px;
background: #fff;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
border: 1px solid #e5e7eb;
padding: 6px 0;
z-index: 9999;
opacity: 0; visibility: hidden;
transform: translateY(-8px);
transition: 0.2s;
}
.hyamd-profile-trigger:hover .hyamd-profile-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.hyamd-profile-trigger.esc-closed .hyamd-profile-dropdown { opacity:0 !important; visibility:hidden !important; } /* [ESC-CLOSE-2026] */
.hyamd-profile-trigger:hover .hyamd-profile-arrow { transform: rotate(180deg); }

.profile-dd-header { padding: 12px 16px; border-bottom: 1px solid #f3f4f6; }
.profile-dd-name { font-size: 14px; font-weight: 600; color: #1f2937; }
.profile-dd-email { font-size: 12px; color: #6b7280; margin-top: 2px; }
.profile-dd-item {
display: flex; align-items: center; gap: 10px;
padding: 10px 16px; font-size: 13.5px; color: #374151;
cursor: pointer; transition: 0.15s; text-decoration: none;
}
.profile-dd-item:hover { background: #f3f4f6; }
.profile-dd-item svg { width: 18px; height: 18px; opacity: 0.6; }
.profile-dd-divider { height: 1px; background: #f3f4f6; margin: 4px 0; }
.profile-dd-item.logout { color: #dc2626; }
.profile-dd-item.logout:hover { background: #fef2f2; }

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
.hm-reg-step1-layout { grid-template-columns: 1fr; }
.hm-reg-step1-right { display: none; }
.hm-reg-step1-modal { width: 95vw; }
.hm-reg-step2-modal { padding: 0 16px 24px; }
.hm-step2-header { margin: 0 -16px; margin-bottom: 20px; }
.hm-row { grid-template-columns: 1fr; gap: 0; }
.hm-login-modal { padding: 24px 20px 28px; }
.hyamd-profile-name { display: none; }

/* [PROFILE-DD-CENTER-2026] Профайл цэсийг гар утсан дээр дэлгэцийн ГОЛД гаргах.
   Өмнө нь position:absolute; right:0 байсан тул trigger (аватар) зүүн захад
   байрлахад 220px өргөнтэй цэс зүүн тийш давж, дэлгэцнээс гарч байсан. */
.hyamd-profile-dropdown {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  min-width: 0;
  width: min(320px, 90vw);
  max-width: 90vw;
  max-height: 82vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate(-50%, -50%) scale(0.96);
}
.hyamd-profile-trigger:hover .hyamd-profile-dropdown {
  transform: translate(-50%, -50%) scale(1);
}
}



.header-search {
  position: relative;               /* dropdown-г зөв байрлуулахад шаардлагатай */
}

.search-dd-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  z-index: 9999;
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid #e4e4e4;
  padding: 12px 0;
  display: none;
}
.search-dd-panel.open { display: block; }

.sdd-section-title {
  padding: 4px 14px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.sdd-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 8px;
}

.sdd-pop-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  color:darkblue;
  border-radius: 999px;
  padding: 5px 10px 5px 5px;
  cursor: pointer;
  font-size: 13px;
  transition: background .15s;
  border: 1px solid transparent;
}
.sdd-pop-item:hover {
  background: #e5e7eb;
  border-color: #ddd;
}
.sdd-pop-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ecf3fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  overflow: hidden;
}
.sdd-pop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sdd-sugg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #222;
}
.sdd-sugg-item:hover,
.sdd-sugg-item.active {
  background: #f6f7f9;
}
.sdd-sugg-icon {
  color: #9aa0a6;
  font-size: 14px;
}
.sdd-sugg-text strong {
  font-weight: 700;
  color: #111;
}
.sdd-empty {
  padding: 18px 14px;
  color: #888;
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   HEADER-TOP: Цаг агаар + валютын ханш
   <style> блок доторхи .header-top { ... } дүрмийн ДАРАА оруулна.
   (одоогийн файлд мөр ~134 орчим)
   ============================================================ */

.header-top {
  /* Одоогийн background-color: #2c5282-г үлдээж, шинэ зүйлс нэмнэ */
  color: #1a365d;
  font-size: 12.5px;
  line-height: 1;
  padding: 7px 20px !important;   /* Одоо 0 байгааг дарах */
  min-height: 32px;
  flex-wrap: wrap;
  gap: 14px;
}

/* Зүүн тал - огноо + цаг агаар */
.header-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Баруун тал - валютын ханш */
.header-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}

/* Огноо */
.header-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
}

.header-date::before {
  content: "📅";
  font-size: 13px;
  filter: grayscale(0.2);
}

/* Цаг агаарын блок */
.header-weather {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.weather-city {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: background 0.2s ease;
}

.weather-city:hover {
  background: rgba(255, 255, 255, 0.16);
}

.weather-icon {
  font-size: 14px;
  line-height: 1;
}

.weather-temp {
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
}

.weather-temp.cold { color: #93c5fd; }
.weather-temp.warm { color: #fde68a; }
.weather-temp.hot  { color: #fca5a5; }

.weather-name {
  color: #cbd5e0;
  font-size: 11.5px;
}

/* Валютын ханш */
.rate-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.rate-code {
  color: #cbd5e0;
  font-size: 11.5px;
  font-weight: 500;
}

.rate-value {
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
}

.rate-trend {
  font-size: 10px;
  margin-left: 1px;
}

.rate-trend.up   { color: #6ee7b7; }
.rate-trend.down { color: #fca5a5; }
.rate-trend.flat { color: #cbd5e0; }

/* Уншиж байх үеийн skeleton төлөв */
.header-top.loading .weather-city,
.header-top.loading .rate-item {
  opacity: 0.6;
}

.header-top .ht-placeholder {
  color: #a0aec0;
  font-size: 11.5px;
  font-style: italic;
}

/* Mobile хариу үйлдэл */
@media (max-width: 768px) {
  .header-top {
    font-size: 11.5px;
    padding: 6px 12px !important;
    gap: 8px;
    justify-content: flex-start;
  }
  .header-date::before { display: none; }
  /* Mobile дээр Дархан, Эрдэнэтийн цаг агаарыг нуух — зөвхөн УБ үлдэнэ */
  .header-weather .weather-city:not(.weather-primary) {
    display: none;
  }
  /* RUB-ийг нуух, гол 3 валют үлдэнэ */
  .rate-item.rate-rub {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-top-left,
  .header-top-right {
    gap: 6px;
  }
  .header-date,
  .weather-name { display: none; }
  /* Зөвхөн UB temperature + 3 valutyg үлдээнэ */
}


/* ════════════════════════════════════════════════════════════════
   STORY VIEWER ENHANCEMENTS (Follow / Report / Send)
   Added by story-enhancements patch.
   ════════════════════════════════════════════════════════════════ */

/* ── Follow button next to story user name ── */
.sv-header .sv-follow-btn {
    margin-left: 10px;
    padding: 4px 12px;
    background: #2c5282;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}
.sv-header .sv-follow-btn:hover { background: #1a365d; }
.sv-header .sv-follow-btn:active { transform: scale(0.96); }
.sv-header .sv-follow-btn.following { background: #48bb78; }
.sv-header .sv-follow-btn.following:hover { background: #2f855a; }

/* ── Report button inside the ⋯ dropdown menu ── */
.sv-menu-dropdown .sv-report-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: #d69e2e;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}
.sv-menu-dropdown .sv-report-btn:hover { background: #fffbeb; }
.sv-menu-dropdown .sv-report-btn i { width: 14px; text-align: center; }

/* ── Send button next to reply input ── */
.sv-bottom .sv-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, transform 0.1s;
    margin-right: 4px;
}
.sv-bottom .sv-send-btn:hover { background: #2c5282; }
.sv-bottom .sv-send-btn:active { transform: scale(0.92); }
.sv-bottom .sv-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Story Report Modal (same look as item.ejs report modal) ── */
.story-report-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 100010;   /* Story viewer-ийн дээр харагдана */
    align-items: center;
    justify-content: center;
}
.story-report-modal-overlay.show { display: flex; }
.story-report-modal {
    background: #fff;
    border-radius: 14px;
    width: 440px;
    max-width: 92vw;
    padding: 0;
    box-shadow: 0 16px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: storyReportSlideIn 0.25s ease;
}
@keyframes storyReportSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.story-report-modal-header {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: #fff;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.story-report-modal-close {
    background: none; border: none; color: #fff;
    font-size: 22px; cursor: pointer; padding: 0;
    line-height: 1;
}
.story-report-modal-body { padding: 24px; }
.story-report-field { margin-bottom: 16px; }
.story-report-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}
.story-report-field input,
.story-report-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.story-report-field input:focus,
.story-report-field textarea:focus {
    outline: none;
    border-color: #e53e3e;
}
.story-report-field textarea { height: 100px; resize: vertical; }
.story-report-submit-btn {
    width: 100%;
    padding: 13px;
    background: #e53e3e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.story-report-submit-btn:hover  { background: #c53030; }
.story-report-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.story-report-success-msg {
    text-align: center;
    color: #48bb78;
    font-weight: 600;
    font-size: 15px;
    padding: 20px;
    display: none;
}

@media (max-width: 600px) {
    .story-report-modal { width: 95vw; }
}

