:root {
  --bg: #07070a;
  --surface: #111119;
  --surface-2: #181824;
  --line: #28283a;
  --text: #f6f3ff;
  --muted: #a6a0b8;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --green: #22c55e;
  --red: #ef4444;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 0%, rgba(139, 92, 246, 0.13), transparent 34%),
    radial-gradient(circle at 22% 18%, rgba(236, 72, 153, 0.07), transparent 26%),
    linear-gradient(180deg, #11111a, #09090d 62%, var(--bg));
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

button, a, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

button,
.detail-contact,
.contact-open,
.nav-item,
.card-meta a {
  -webkit-tap-highlight-color: transparent;
}

button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.18s ease,
    filter 0.22s ease;
}

button::before,
.detail-contact::before,
.contact-open::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.36) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-110%);
  transition: opacity 0.22s ease, transform 0.52s ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.12);
}

button:hover::before,
button:focus-visible::before,
.detail-contact:hover::before,
.detail-contact:focus-visible::before,
.contact-open:hover::before,
.contact-open:focus-visible::before {
  opacity: 1;
  transform: translateX(110%);
}

button:active {
  transform: translateY(1px) scale(0.98);
  filter: saturate(0.96);
}

button:focus-visible,
.detail-contact:focus-visible,
.contact-open:focus-visible,
.card-meta a:focus-visible,
.nav-item:focus-visible {
  outline: 2px solid rgba(240, 171, 252, 0.92);
  outline-offset: 3px;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(236, 72, 153, 0.18), transparent 28%), #050507;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}
.loading-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo-wrap { display: grid; justify-items: center; gap: 18px; padding: 28px; }
.loading-logo { transform: scale(1.55); transform-origin: center; }
.loading-dots { display: inline-flex; gap: 8px; }
.loading-dots span { width: 8px; height: 8px; border-radius: 999px; background: #f0abfc; box-shadow: 0 0 18px rgba(236, 72, 153, 0.84); animation: loadingDotPulse 1.05s ease-in-out infinite; }
.loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0.32s; }

.mobile-shell-header,
.mobile-menu-layer {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(18px);
  transition: width 0.24s ease, padding 0.24s ease, box-shadow 0.24s ease;
}

.sidebar-top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 38px;
  gap: 8px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sidebar-auth-button {
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 8px;
  color: #f5e8ff;
  background: rgba(139, 92, 246, 0.12);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sidebar-auth-button:hover,
.sidebar-auth-button:focus-visible {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(236, 72, 153, 0.2));
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.16);
}

.sidebar-toggle {
  width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(236, 72, 153, 0.26);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-toggle span {
  display: block;
  width: 11px;
  height: 11px;
  margin: auto;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, -1px);
  transition: transform 0.2s ease;
}

body.sidebar-collapsed .sidebar {
  width: 86px;
  padding: 14px 10px;
  gap: 18px;
}

body.sidebar-collapsed .sidebar-top-actions {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 6px;
}

body.sidebar-collapsed .sidebar-auth-button {
  display: none;
}

body.sidebar-collapsed .sidebar-toggle span {
  transform: rotate(225deg) translate(1px, -1px);
}

body.sidebar-collapsed .brand {
  display: none;
}

body.sidebar-collapsed .nav-item {
  min-height: 56px;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  padding: 10px;
}

body.sidebar-collapsed .nav-item > span:last-child,
body.sidebar-collapsed .sidebar-footer {
  display: none;
}

body.sidebar-collapsed .nav-item > span:not(.nav-icon) {
  display: none;
}

body.sidebar-collapsed .nav-item:hover,
body.sidebar-collapsed .nav-item:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

body.sidebar-collapsed .main {
  margin-left: 86px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  overflow: hidden;
  border: 1px solid rgba(236, 72, 153, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(139, 92, 246, 0.12)), #050507;
  text-decoration: none;
  box-shadow: inset 0 0 24px rgba(139, 92, 246, 0.16), 0 14px 34px rgba(0, 0, 0, 0.26);
}

.brand-logo { display: grid; grid-template-columns: auto auto; grid-template-areas: "phone love" ". korean"; align-items: end; column-gap: 7px; line-height: 1; }
.neon-logo { filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.4)); }
.brand-phone { grid-area: phone; color: #fff; font-size: 22px; font-weight: 900; text-shadow: 0 0 18px rgba(139, 92, 246, 0.78); }
.brand-love { grid-area: love; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 5px; border-radius: 7px; color: #fff; background: linear-gradient(135deg, #4c1d95 8%, #8b5cf6 48%, #ec4899); font-size: 20px; font-weight: 900; animation: logoHeartbeat 2.3s ease-in-out infinite; }
.logo-heart { position: relative; width: 12px; height: 12px; display: inline-block; background: #fff; transform: rotate(45deg); border-radius: 3px 3px 2px 2px; box-shadow: 0 0 17px rgba(236, 72, 153, 0.86); animation: heartBeat 1.65s ease-in-out infinite; }
.logo-heart::before, .logo-heart::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 999px; background: inherit; }
.logo-heart::before { left: -6px; top: 0; }
.logo-heart::after { left: 0; top: -6px; }
.brand-korean { grid-area: korean; margin-top: 5px; color: #fff; font-size: 10px; font-weight: 800; justify-self: end; opacity: 0.9; }

.dashboard-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-item:hover, .nav-item:focus-visible, .nav-item.active { color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(236, 72, 153, 0.16)); }
.nav-item:hover, .nav-item:focus-visible { transform: translateX(4px) scale(1.01); box-shadow: 0 14px 30px rgba(139, 92, 246, 0.16), 0 0 22px rgba(236, 72, 153, 0.1); }
.nav-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(139, 92, 246, 0.13); color: #c4b5fd; font-size: 12px; font-weight: 900; }
.nav-item strong, .nav-item small { display: block; }
.nav-item strong { font-size: 14px; line-height: 1.24; }
.nav-item small { margin-top: 4px; font-size: 11px; opacity: 0.7; }
.nav-item-developing {
  padding-right: 72px;
}
.nav-dev-badge {
  position: absolute;
  right: 10px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(236, 72, 153, 0.16));
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.12);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  animation: devBadgeGlow 1.7s ease-in-out infinite;
}
.nav-dev-badge i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.95);
  animation: devDotPulse 1.05s ease-in-out infinite;
}
.nav-dev-badge b {
  font-size: inherit;
  line-height: 1;
}
.sidebar-footer { margin-top: auto; padding: 14px; border: 1px solid rgba(139, 92, 246, 0.22); border-radius: 8px; background: rgba(139, 92, 246, 0.1); }
.sidebar-footer span, .sidebar-footer strong { display: block; }
.sidebar-footer strong { margin-bottom: 6px; font-size: 12px; }
.sidebar-footer span { color: var(--muted); font-size: 11px; line-height: 1.55; }
.sidebar-contact { margin: 0; padding: 0; }
.sidebar-contact strong { color: #f5f3ff; }
.sidebar-contact span { overflow-wrap: anywhere; }
.sidebar-contact .contact-group {
  margin-top: 9px;
  color: #f5f3ff;
  font-size: 12px;
  font-weight: 900;
}
.sidebar-contact .contact-group:first-of-type { margin-top: 0; }
.sidebar-business { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.main { min-height: 100vh; margin-left: 238px; padding: 28px 28px 48px; transition: margin-left 0.24s ease; }
.eyebrow { margin: 0 0 10px; color: #c4b5fd; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1 { max-width: 760px; font-size: 28px; line-height: 1.18; }
h2 { font-size: 24px; }
.hero { margin: 10px 0 18px; }
.hero p:not(.eyebrow), .loveteller-hero p:not(.eyebrow), .board-heading p { color: var(--muted); line-height: 1.6; }

.loveteller-section, .ai-chat-section, .board-section, .notice-section { margin: 0 0 18px; }
.ai-chat-section { position: relative; min-height: 560px; }
.board-section { position: relative; min-height: 560px; }
.ai-chat-section.is-developing,
.board-section.is-developing {
  min-height: 620px;
  height: 620px;
  overflow: hidden;
}
.loveteller-hero, .board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.12)), #101018;
  box-shadow: var(--shadow);
}
.loveteller-hero-copy {
  min-width: 0;
}
.loveteller-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.loveteller-title-row h2 {
  margin: 0;
}
.teller-guide-widget {
  position: relative;
  z-index: 14;
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid rgba(236, 72, 153, 0.42);
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.14);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05), 0 0 18px rgba(236, 72, 153, 0.2);
  cursor: help;
  outline: none;
}
.teller-guide-icon {
  color: #f9a8d4;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 0 12px rgba(236, 72, 153, 0.72), 0 0 22px rgba(139, 92, 246, 0.34);
}
.teller-guide-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  width: min(440px, calc(100vw - 64px));
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.38);
  border-radius: 10px;
  color: #f8f5ff;
  background: linear-gradient(145deg, rgba(16, 14, 24, 0.98), rgba(31, 17, 45, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52), 0 0 30px rgba(236, 72, 153, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.teller-guide-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(236, 72, 153, 0.38);
  border-top: 1px solid rgba(236, 72, 153, 0.38);
  background: rgba(22, 15, 32, 0.98);
  transform: translateX(-50%) rotate(45deg);
}
.teller-guide-tooltip strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}
.teller-guide-tooltip p {
  margin: 9px 0 0;
  color: #d8d2e7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.62;
}
.teller-guide-widget:hover,
.teller-guide-widget:focus-visible {
  border-color: rgba(240, 171, 252, 0.82);
  background: rgba(236, 72, 153, 0.22);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.06);
}
.teller-guide-widget:hover .teller-guide-tooltip,
.teller-guide-widget:focus-visible .teller-guide-tooltip,
.teller-guide-widget:focus-within .teller-guide-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.consulting-hours { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; margin-bottom: 0; padding: 0 10px; border: 1px solid rgba(139, 92, 246, 0.34); border-radius: 8px; background: rgba(0, 0, 0, 0.26); font-size: 12px; font-weight: 900; white-space: nowrap; }
.consulting-time { color: #c9c2d8; }
.consulting-light { width: 9px; height: 9px; border-radius: 999px; background: var(--green); box-shadow: 0 0 18px var(--green); }
.loveteller-section.is-open .consulting-light { animation: workingPulse 1.45s ease-in-out infinite; }
.loveteller-section.is-closed .consulting-light { background: #6b7280; box-shadow: none; }
.loveteller-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.business-test-controls, .teller-tabs, .category-strip, .board-tabs { display: flex; gap: 10px; overflow-x: auto; }
.business-test-controls button, .teller-tabs button, .teller-filter-buttons button, .category-strip button, .board-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 8px;
  color: #d6d1e5;
  background: linear-gradient(135deg, rgba(24, 24, 34, 0.98), rgba(20, 16, 31, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 8px 18px rgba(0, 0, 0, 0.18);
  font-weight: 900;
  white-space: nowrap;
}
.business-test-controls button { min-height: 34px; font-size: 12px; }
.business-test-controls button:hover, .teller-tabs button:hover, .teller-filter-buttons button:hover, .category-strip button:hover, .board-tabs button:hover,
.business-test-controls button:focus-visible, .teller-tabs button:focus-visible, .teller-filter-buttons button:focus-visible, .category-strip button:focus-visible, .board-tabs button:focus-visible {
  border-color: rgba(236, 72, 153, 0.44);
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(236, 72, 153, 0.22));
  box-shadow: 0 12px 26px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(236, 72, 153, 0.08);
}
.business-test-controls button.active, .teller-tabs button.selected, .teller-filter-buttons button.selected, .category-strip button.selected, .board-tabs button.selected {
  color: #16091d;
  background: linear-gradient(135deg, #fff, #f5d0fe 54%, #f0abfc);
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.24), 0 0 22px rgba(168, 85, 247, 0.16);
}
.loveteller-hero button, .teller-card button, .detail-contact, .contact-open {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-weight: 900;
  white-space: nowrap;
}
.loveteller-hero button:hover, .teller-card button:hover, .detail-contact:hover, .contact-open:hover,
.loveteller-hero button:focus-visible, .teller-card button:focus-visible, .detail-contact:focus-visible, .contact-open:focus-visible {
  box-shadow: 0 18px 38px rgba(236, 72, 153, 0.34), 0 0 26px rgba(168, 85, 247, 0.28);
  background: linear-gradient(135deg, #9b5cf6, #f044a7);
}
.closed-ribbon { margin: 18px 0; padding: 17px 18px; border: 1px solid rgba(236, 72, 153, 0.42); border-radius: 8px; background: rgba(12, 12, 18, 0.92); text-align: center; font-size: 18px; font-weight: 900; }
.loveteller-body { transition: opacity 0.25s ease, filter 0.25s ease; }
.loveteller-section.is-closed .loveteller-body { opacity: 0.34; filter: grayscale(0.55); pointer-events: none; }

.loveteller-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.loveteller-summary article, .board-list article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(17, 17, 25, 0.86); }
.loveteller-summary span, .teller-meta p, .board-list p, .card-meta p { color: var(--muted); font-size: 13px; }
.loveteller-summary strong { display: block; margin-top: 8px; font-size: 28px; }

.ai-chat-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: center;
  min-height: 420px;
  padding: 28px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(139, 92, 246, 0.16) 52%, rgba(236, 72, 153, 0.12)),
    #0d1017;
  box-shadow: var(--shadow), inset 0 0 42px rgba(45, 212, 191, 0.05);
}

.ai-chat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 14%, rgba(255, 255, 255, 0.11) 45%, transparent 72%);
  opacity: 0.9;
}

.ai-chat-hero > * {
  position: relative;
  z-index: 1;
}

.ai-chat-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 0 12px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-radius: 8px;
  color: #d9fff9;
  background: rgba(20, 184, 166, 0.16);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.16);
  font-size: 12px;
  font-weight: 900;
}

.ai-chat-hero h2 {
  max-width: 620px;
  font-size: 34px;
  line-height: 1.16;
}

.ai-chat-hero p {
  max-width: 640px;
  margin-top: 12px;
  color: #c9c4d6;
  line-height: 1.72;
}

.ai-chat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ai-chat-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(236, 72, 153, 0.26);
  border-radius: 8px;
  color: #f7e8ff;
  background: rgba(139, 92, 246, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.ai-chat-preview {
  display: grid;
  justify-items: end;
}

.ai-phone-shell {
  width: min(100%, 390px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 17, 25, 0.98), rgba(8, 8, 13, 0.98));
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(45, 212, 191, 0.1);
}

.ai-phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.ai-avatar,
.ai-persona-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #8b5cf6 56%, #ec4899);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.24);
  font-weight: 900;
}

.ai-avatar {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.ai-phone-top strong,
.ai-phone-top small {
  display: block;
}

.ai-phone-top small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ai-chat-bubbles {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.ai-bubble {
  max-width: 88%;
  margin: 0;
  padding: 12px 13px;
  border-radius: 8px;
  color: #f8f6ff;
  font-size: 13px;
  line-height: 1.5;
}

.ai-bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.72), rgba(139, 92, 246, 0.72));
}

.ai-bubble.bot {
  justify-self: start;
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.ai-bubble.typing {
  display: inline-flex;
  gap: 5px;
  min-width: 70px;
}

.ai-bubble.typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.7);
  animation: aiTypingDot 1.1s ease-in-out infinite;
}

.ai-bubble.typing span:nth-child(2) { animation-delay: 0.16s; }
.ai-bubble.typing span:nth-child(3) { animation-delay: 0.32s; }

.ai-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ai-persona-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(139, 92, 246, 0.09)), rgba(17, 17, 25, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-persona-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.46);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26), 0 0 24px rgba(45, 212, 191, 0.12);
}

.ai-persona-icon {
  width: 38px;
  height: 34px;
  margin-bottom: 14px;
  font-size: 12px;
}

.ai-persona-grid h3 {
  font-size: 18px;
}

.ai-persona-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

/* AI chat card layout */
.ai-chat-toolbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  background: rgba(10, 10, 15, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.ai-chat-toolbar button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f7f3ff;
  background: #25252d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ai-chat-toolbar button:hover,
.ai-chat-toolbar button:focus-visible,
.ai-chat-toolbar button.selected {
  border-color: rgba(236, 72, 153, 0.72);
  color: #fff;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.26);
}

.ai-chat-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 16px;
  padding: 20px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(139, 92, 246, 0.12) 56%, rgba(236, 72, 153, 0.08)),
    rgba(13, 16, 23, 0.94);
}

.ai-chat-headline h2 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.18;
}

.ai-chat-headline p {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ai-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ai-profile-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #1b1b22;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ai-profile-card:hover,
.ai-profile-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.72);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(236, 72, 153, 0.2), 0 0 24px rgba(139, 92, 246, 0.16);
}

.ai-profile-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.18;
  background: #0b0b11;
}

.ai-profile-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.ai-profile-card:hover .ai-profile-media img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.ai-profile-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.ai-age-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  border: 2px solid #ff2f5f;
  border-radius: 999px;
  color: #ff2f5f;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 47, 95, 0.28);
}

.ai-view-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #d9d5e6;
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.ai-profile-copy {
  padding: 12px;
}

.ai-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ai-card-title-row h3 {
  min-width: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}

.ai-card-title-row button {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f7d7ff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 18px;
  line-height: 1;
}

.ai-profile-copy p {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 7px;
  overflow: hidden;
  color: #f4f0ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ai-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ai-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.86), rgba(139, 92, 246, 0.72));
  font-size: 11px;
  font-weight: 900;
}

.ai-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: #a6a0b8;
  font-size: 12px;
  font-weight: 800;
}

.ai-card-foot strong {
  color: #d8d2e7;
}

.ai-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.ai-profile-modal-card {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(900px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #030305;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(139, 92, 246, 0.14);
}

.ai-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 16, 22, 0.82);
  font-size: 24px;
  line-height: 1;
}

.ai-social-profile,
.ai-chat-panel {
  min-width: 0;
  max-height: min(900px, calc(100vh - 48px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.72) rgba(8, 8, 14, 0.92);
  scrollbar-gutter: stable;
}

.ai-social-profile::-webkit-scrollbar,
.ai-chat-panel::-webkit-scrollbar {
  width: 10px;
}

.ai-social-profile::-webkit-scrollbar-track,
.ai-chat-panel::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(5, 5, 10, 0.96), rgba(18, 12, 30, 0.96));
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.ai-social-profile::-webkit-scrollbar-thumb,
.ai-chat-panel::-webkit-scrollbar-thumb {
  min-height: 92px;
  border: 2px solid rgba(8, 8, 14, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, #9f7cff, #7c3aed 48%, #18d278);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.5);
}

.ai-social-profile::-webkit-scrollbar-thumb:hover,
.ai-chat-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c4b5fd, #8b5cf6 48%, #22c55e);
}

.ai-social-profile {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.ai-social-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-social-back {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 34px;
  line-height: 1;
}

.ai-social-top strong {
  justify-self: center;
  color: #fff;
  font-size: 16px;
}

.ai-social-main {
  display: grid;
  justify-items: center;
  padding: 24px 22px 18px;
  text-align: center;
}

.ai-social-main img {
  width: 118px;
  height: 118px;
  display: block;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.22);
}

.ai-social-main h2 {
  margin-top: 14px;
  color: #fff;
  font-size: 28px;
}

.ai-social-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(340px, 100%);
  margin-top: 14px;
}

.ai-social-stats span,
.ai-social-stats strong {
  display: block;
}

.ai-social-stats span {
  color: #d1d5db;
  font-size: 13px;
}

.ai-social-stats strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 20px;
}

.ai-social-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.ai-social-pills span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: #111827;
  font-size: 13px;
  font-weight: 900;
}

.ai-social-main p {
  max-width: 360px;
  margin-top: 16px;
  color: #f4f0ff;
  font-size: 15px;
  line-height: 1.55;
}

.ai-social-message {
  width: min(360px, 100%);
  min-height: 46px;
  margin-top: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(124, 58, 237, 0.32);
}

.ai-social-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}

.ai-social-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  background: #111;
}

.ai-chat-panel {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  background: #000;
}

.ai-chat-panel-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 58px 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(0, 0, 0, 0.94);
}

.ai-chat-panel-top img,
.ai-chat-message-row img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.ai-chat-panel-top strong,
.ai-chat-panel-top span {
  display: block;
}

.ai-chat-panel-top strong {
  color: #fff;
  font-size: 18px;
}

.ai-chat-panel-top span:not(.ai-safe-badge) {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 13px;
}

.ai-safe-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #10f3a3;
  background: rgba(16, 185, 129, 0.12);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ai-chat-notice {
  padding: 26px 20px 10px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.65;
}

.ai-chat-date {
  padding: 18px 0 14px;
  color: #e5e7eb;
  text-align: center;
}

.ai-chat-thread {
  min-height: 470px;
  padding: 0 26px 28px;
}

.ai-chat-image-preview {
  width: min(220px, 58%);
  aspect-ratio: 1 / 1.22;
  margin: 0 auto 14px 54px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.8;
}

.ai-chat-message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.ai-chat-message-row p {
  max-width: 72%;
  margin: 0;
  padding: 12px 15px;
  border-radius: 18px 18px 18px 5px;
  color: #fff;
  background: #1f2937;
  font-size: 18px;
}

.ai-chat-input {
  display: grid;
  grid-template-columns: 46px 1fr 42px;
  align-items: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 7px;
  border-radius: 999px;
  background: #1f2937;
}

.ai-chat-input button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  color: #dbe4f0;
  background: #64748b;
  font-size: 20px;
  line-height: 1;
}

.ai-chat-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
}

.ai-chat-input input::placeholder {
  color: #a7b0c1;
}
.teller-tabs { margin: 0 0 18px; padding-bottom: 2px; }

.teller-detail { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 18px; margin: 0 0 18px; padding: 18px; border: 1px solid rgba(236, 72, 153, 0.28); border-radius: 8px; background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.08)), rgba(17, 17, 25, 0.92); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2); }
.teller-detail-photo { overflow: hidden; border-radius: 8px; background: #0b0b11; aspect-ratio: 3 / 4; }
.teller-detail-photo img, .teller-photo img, .media-thumb img, .media-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; }
.teller-detail-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.teller-detail-copy h3 { font-size: 26px; line-height: 1.2; }
.teller-detail-copy > p:not(.eyebrow) { max-width: 620px; margin-top: 8px; color: var(--muted); line-height: 1.55; }
.teller-detail-tags, .teller-card-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.teller-detail-tags { margin-top: 14px; }
.teller-detail-tags span, .teller-card-tags span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 8px; color: #f5e8ff; background: rgba(139, 92, 246, 0.22); font-size: 12px; font-weight: 900; }
.teller-detail-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.teller-detail-stats div { min-width: 0; padding: 12px; border: 1px solid rgba(139, 92, 246, 0.18); border-radius: 8px; background: rgba(0, 0, 0, 0.18); }
.teller-detail-stats dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.teller-detail-stats dd { margin: 5px 0 0; color: #fff; font-size: 15px; font-weight: 900; }
.detail-contact { align-self: flex-start; margin-top: 16px; }

.teller-filter-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 12px 0 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(12, 12, 15, 0.82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.teller-control-group {
  display: flex;
  align-items: center;
  min-width: 0;
}

.teller-control-primary {
  gap: 14px;
  flex: 0 0 auto;
}

.teller-control-filters {
  gap: 10px;
  min-width: 0;
  padding-left: 0;
  border-left: 0;
}

.teller-control-divider {
  width: 1px;
  height: 28px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.1);
}

.teller-segment {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  overflow-x: auto;
  scrollbar-width: none;
}

.teller-segment::-webkit-scrollbar {
  display: none;
}

.teller-filter-panel button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #b2a8bf;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.teller-filter-panel button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teller-filter-panel button:hover,
.teller-filter-panel button:focus-visible {
  color: #f5e8ff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  transform: translateY(-1px);
}

.teller-filter-panel button.selected,
.teller-filter-panel button.selected:hover,
.teller-filter-panel button.selected:focus-visible {
  color: #120915;
  background: #f8ecff;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 18px rgba(236, 72, 153, 0.16);
  animation: none;
}

.loveteller-grid, .feed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.teller-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22); cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.teller-card:hover, .teller-card.selected { border-color: rgba(236, 72, 153, 0.64); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 0 1px rgba(236, 72, 153, 0.14); transform: translateY(-2px); }
.teller-card:focus-visible { outline: 2px solid rgba(240, 171, 252, 0.92); outline-offset: 3px; }
.teller-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0b0b11; }
.status-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border-radius: 8px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 12px; font-weight: 900; backdrop-filter: blur(10px); }
.status-light { width: 9px; height: 9px; border-radius: 999px; box-shadow: 0 0 14px currentColor; }
.status-badge.available .status-light { color: var(--green); background: var(--green); }
.status-badge.busy .status-light { color: var(--red); background: var(--red); }
.status-badge.closed .status-light { color: #9ca3af; background: #9ca3af; }
.teller-meta { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.teller-meta h3 { font-size: 16px; }
.teller-meta p { margin-top: 5px; }
.teller-card-tags { min-height: 55px; margin-top: 10px; align-content: flex-start; }
.teller-card-tags span { min-height: 24px; padding: 0 8px; font-size: 11px; }
.teller-card button { width: 100%; min-height: 40px; margin-top: auto; }

.contact-modal, .media-modal, .teller-profile-modal, .policy-modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(12px); }
.development-modal { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; padding: 24px; border: 1px solid rgba(236, 72, 153, 0.18); border-radius: 8px; background: linear-gradient(135deg, rgba(10, 10, 16, 0.58), rgba(26, 12, 38, 0.52)); backdrop-filter: blur(7px); }
.modal-card, .media-modal-card, .development-modal-card, .teller-profile-modal-card, .policy-modal-card { position: relative; width: min(420px, 100%); padding: 30px 26px 26px; border: 1px solid rgba(139, 92, 246, 0.42); border-radius: 8px; background: linear-gradient(145deg, #111119, #221037); box-shadow: var(--shadow); }
.media-modal-card { width: min(860px, 100%); }
.policy-modal-card { width: min(880px, 100%); max-height: min(82vh, 760px); display: flex; flex-direction: column; }
.teller-profile-modal-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 18px;
  padding: 22px;
}
.development-modal-card { width: min(460px, 100%); text-align: center; }
.modal-logo { width: max-content; margin: 0 auto 24px; transform: scale(1.18); transform-origin: center; }
.modal-close, .account-development-close, .media-modal-close, .teller-modal-close, .policy-modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 8px; color: #fff; background: rgba(255, 255, 255, 0.08); font-size: 22px; line-height: 1; }
.modal-close:hover, .modal-close:focus-visible, .account-development-close:hover, .account-development-close:focus-visible, .media-modal-close:hover, .media-modal-close:focus-visible, .teller-modal-close:hover, .teller-modal-close:focus-visible, .policy-modal-close:hover, .policy-modal-close:focus-visible { background: rgba(236, 72, 153, 0.22); box-shadow: 0 0 22px rgba(236, 72, 153, 0.26); }
.account-development-card p { color: var(--muted); line-height: 1.7; }

.teller-modal-profile {
  display: grid;
  grid-template-columns: minmax(150px, 250px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.teller-modal-profile img {
  width: 100%;
  aspect-ratio: 1 / 1.16;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(236, 72, 153, 0.32);
  border-radius: 8px;
  background: #0b0b11;
}

.teller-modal-profile h2 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.18;
}

.teller-modal-profile p,
.teller-modal-contact p {
  color: var(--muted);
  line-height: 1.65;
}

.teller-modal-status,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 8px;
  color: #d8ffe5;
  background: rgba(34, 197, 94, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.teller-modal-status[data-status="busy"] {
  border-color: rgba(239, 68, 68, 0.34);
  color: #ffd6db;
  background: rgba(239, 68, 68, 0.14);
}

.teller-modal-status[data-status="closed"] {
  border-color: rgba(156, 163, 175, 0.34);
  color: #e5e7eb;
  background: rgba(156, 163, 175, 0.14);
}

.teller-modal-contact {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(236, 72, 153, 0.24);
  border-radius: 8px;
  background: rgba(10, 10, 15, 0.72);
}

.teller-modal-contact h3 {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.teller-modal-contact p {
  margin-top: 10px;
}
.media-player-wrap { position: relative; margin-top: 18px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(236, 72, 153, 0.3); border-radius: 8px; background: #050507; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42); }
.media-modal-card video,
.media-modal-card img { width: 100%; max-height: min(70vh, 680px); display: block; object-fit: contain; background: #050507; }
.media-modal-card img { height: auto; max-width: 100%; }
.media-fullscreen-button { position: absolute; right: 12px; top: 12px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; color: #fff; background: linear-gradient(135deg, rgba(139, 92, 246, 0.78), rgba(236, 72, 153, 0.72)); font-size: 12px; font-weight: 900; box-shadow: 0 0 20px rgba(236, 72, 153, 0.28); }
.media-fullscreen-button:hover, .media-fullscreen-button:focus-visible { box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 28px rgba(236, 72, 153, 0.44); }
.media-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.media-download-button,
.media-open-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 900; text-decoration: none; }
.media-download-button { color: #fff; background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 0 20px rgba(236, 72, 153, 0.26); }
.media-open-button { color: #f8e9ff; border: 1px solid rgba(236, 72, 153, 0.32); background: rgba(255, 255, 255, 0.06); }
.media-download-button:hover,
.media-download-button:focus-visible,
.media-open-button:hover,
.media-open-button:focus-visible { box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 24px rgba(236, 72, 153, 0.34); }
.media-modal.is-browser-fullscreen { padding: 0; background: #000; backdrop-filter: none; }
.media-modal.is-browser-fullscreen .media-modal-card { width: 100vw; height: 100vh; padding: 12px; border-radius: 0; border: 0; background: #000; display: grid; grid-template-rows: auto 1fr; }
.media-modal.is-browser-fullscreen .media-modal-card .eyebrow,
.media-modal.is-browser-fullscreen .media-modal-card h2,
.media-modal.is-browser-fullscreen .media-modal-actions { display: none; }
.media-modal.is-browser-fullscreen .media-player-wrap { margin-top: 0; min-height: 0; }
.media-modal.is-browser-fullscreen .media-modal-card video,
.media-modal.is-browser-fullscreen .media-modal-card img { width: 100%; height: calc(100vh - 24px); max-height: none; object-fit: contain; border: 0; box-shadow: none; }
.media-empty { min-height: 180px; display: grid; place-items: center; grid-column: 1 / -1; color: var(--muted); border: 1px dashed rgba(139, 92, 246, 0.34); border-radius: 8px; background: rgba(139, 92, 246, 0.05); font-weight: 800; }
.listing-pagination {
  grid-column: 1 / -1;
}

.listing-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background: rgba(13, 13, 20, 0.78);
}

.listing-pagination span {
  min-width: 76px;
  color: #f5f3ff;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.listing-pagination button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(236, 72, 153, 0.34);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.78), rgba(236, 72, 153, 0.65));
  font-weight: 900;
}

.listing-pagination .pagination-jump {
  min-width: 48px;
  padding: 0 12px;
  letter-spacing: 0;
}

.listing-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  filter: grayscale(0.5);
  transform: none;
}

.board-content,
.ai-chat-section .ai-chat-toolbar,
.ai-chat-section .ai-chat-headline,
.ai-chat-section .ai-profile-grid {
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.board-section.is-developing .board-content,
.ai-chat-section.is-developing .ai-chat-toolbar,
.ai-chat-section.is-developing .ai-chat-headline,
.ai-chat-section.is-developing .ai-profile-grid {
  opacity: 0.32;
  filter: grayscale(0.42);
  pointer-events: none;
}
.construction-sign { position: relative; width: 108px; height: 86px; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(236, 72, 153, 0.42)); animation: constructionFloat 1.9s ease-in-out infinite; }
.construction-sign span { position: absolute; left: 17px; top: 16px; width: 74px; height: 46px; border: 3px solid #f0abfc; border-radius: 8px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.34), rgba(236, 72, 153, 0.28)); box-shadow: inset 0 0 18px rgba(255,255,255,0.16), 0 0 24px rgba(236, 72, 153, 0.32); }
.construction-sign span::before { content: "공사중"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
.construction-sign span::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -12px; height: 3px; border-radius: 999px; background: #f0abfc; box-shadow: 0 0 16px rgba(240, 171, 252, 0.9); }
.construction-sign i { position: absolute; left: 52px; bottom: 0; width: 4px; height: 24px; border-radius: 999px; background: #f0abfc; box-shadow: 0 0 16px rgba(240, 171, 252, 0.82); }
.contact-list { display: grid; gap: 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.contact-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); }
.contact-list span { color: var(--muted); font-size: 13px; font-weight: 800; }

.category-strip { padding: 0; }
.meme-filter-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(12, 12, 15, 0.82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.meme-control-group {
  display: flex;
  align-items: center;
  min-width: 0;
}
.meme-control-primary {
  gap: 10px;
}
.meme-control-type {
  gap: 10px;
  padding-left: 0;
  border-left: 0;
}
.meme-control-divider {
  width: 1px;
  height: 28px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.1);
}
.meme-segment {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  overflow-x: auto;
  scrollbar-width: none;
}

.meme-topic-segment {
  flex: 0 1 auto;
}
.meme-segment::-webkit-scrollbar {
  display: none;
}
.meme-filter-panel button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #8f9097;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.meme-filter-panel button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.meme-filter-panel button:hover,
.meme-filter-panel button:focus-visible {
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
  transform: translateY(-1px);
}
.meme-filter-panel button.selected,
.meme-filter-panel button.selected:hover,
.meme-filter-panel button.selected:focus-visible {
  color: #09090b;
  background: #f8fafc;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: none;
}

.meme-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  gap: 12px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(17, 17, 25, 0.88));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}
.meme-intro-copy {
  min-width: 0;
}
.meme-intro-copy h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 6px;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 1000;
  letter-spacing: 0;
}
.meme-intro-copy p {
  max-width: 760px;
  color: #d9d2e8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.meme-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.meme-summary-cards article {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 12px 11px 11px;
  border: 1px solid rgba(236, 72, 153, 0.24);
  border-radius: 8px;
  background: rgba(8, 8, 14, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.meme-summary-cards article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(236, 72, 153, 0.48);
  opacity: 0.56;
}
.meme-summary-cards article:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 72, 153, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 34px rgba(0, 0, 0, 0.26), 0 0 20px rgba(236, 72, 153, 0.12);
}
.meme-summary-cards span {
  display: block;
  color: #e9d5ff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.meme-summary-cards strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 7px;
  color: #fff;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 1000;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.22);
}
.meme-summary-cards strong b {
  background: none;
  color: #f5e8ff;
  animation: none;
}
.meme-filter-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(140px, 0.58fr) minmax(0, 1.8fr);
  gap: 10px;
  min-width: 0;
}
.meme-filter-guide div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: 8px;
  background: rgba(10, 10, 18, 0.58);
}
.meme-filter-guide strong {
  display: block;
  margin-bottom: 6px;
  color: #f0abfc;
  font-size: 12px;
  font-weight: 1000;
}
.meme-filter-guide span {
  display: block;
  color: #f5f3ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}
.meme-tag-guide span {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.feed-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
.feed-title-row { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.feed-header h2 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}
.meme-policy-widget {
  position: relative;
  z-index: 12;
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid rgba(236, 72, 153, 0.42);
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.14);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.05), 0 0 18px rgba(236, 72, 153, 0.2);
  cursor: help;
  outline: none;
}
.meme-policy-icon {
  color: #f9a8d4;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 0 12px rgba(236, 72, 153, 0.72), 0 0 22px rgba(139, 92, 246, 0.34);
}
.meme-policy-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  width: min(440px, calc(100vw - 64px));
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid rgba(236, 72, 153, 0.38);
  border-radius: 10px;
  color: #f8f5ff;
  background: linear-gradient(145deg, rgba(16, 14, 24, 0.98), rgba(31, 17, 45, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52), 0 0 30px rgba(236, 72, 153, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.meme-policy-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(236, 72, 153, 0.38);
  border-top: 1px solid rgba(236, 72, 153, 0.38);
  background: rgba(22, 15, 32, 0.98);
  transform: translateX(-50%) rotate(45deg);
}
.meme-policy-tooltip strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}
.meme-policy-tooltip p {
  margin: 9px 0 0;
  color: #d8d2e7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.62;
}
.meme-policy-widget:hover,
.meme-policy-widget:focus-visible {
  border-color: rgba(240, 171, 252, 0.82);
  background: rgba(236, 72, 153, 0.22);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.06);
}
.meme-policy-widget:hover .meme-policy-tooltip,
.meme-policy-widget:focus-visible .meme-policy-tooltip,
.meme-policy-widget:focus-within .meme-policy-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
@keyframes memeStatGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(236, 72, 153, 0));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.24));
  }
}
.feed-grid.meme-list-view {
  grid-template-columns: 1fr;
}
.feed-grid.meme-list-view .feed-card {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.feed-grid.meme-list-view .thumb {
  aspect-ratio: 16 / 10;
}
.feed-grid.meme-list-view .card-meta {
  padding: 0;
}
.feed-card { min-width: 0; transition: transform 0.22s ease; }
.feed-card:hover { transform: translateY(-4px); }
.thumb { position: relative; width: 100%; aspect-ratio: 3 / 4.35; display: block; overflow: hidden; border-radius: 8px; background: #222; }
.media-thumb { background: #0b0b11; text-decoration: none; }
.media-type { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-grid; place-items: center; min-height: 28px; padding: 0 9px; border-radius: 8px; color: #fff; background: rgba(0, 0, 0, 0.68); font-size: 11px; font-weight: 900; }
.card-meta { padding: 11px 2px 0; }
.meme-category-badge { display: inline-flex; align-items: center; min-height: 24px; margin-bottom: 8px; padding: 0 8px; border: 1px solid rgba(236, 72, 153, 0.34); border-radius: 8px; color: #f5d0fe; background: rgba(139, 92, 246, 0.18); font-size: 11px; font-weight: 900; box-shadow: 0 0 14px rgba(236, 72, 153, 0.12); }
.card-meta h3 { font-size: 16px; line-height: 1.35; }
.card-meta p { margin-top: 5px; line-height: 1.4; }
.meme-card-stats { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: #d8d2e7; font-size: 12px; font-weight: 900; }
.meme-like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(236, 72, 153, 0.28);
  border-radius: 8px;
  color: #f5d0fe;
  background: rgba(236, 72, 153, 0.1);
  font-size: 12px;
  font-weight: 900;
}
.meme-like-button:hover, .meme-like-button:focus-visible, .meme-like-button.liked {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.58), rgba(236, 72, 153, 0.5));
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.24);
}
.meme-like-button strong { font-size: 12px; }
.card-meta a { display: inline-flex; align-items: center; min-height: 30px; margin-top: 8px; color: #f0abfc; font-size: 13px; font-weight: 900; text-decoration: none; transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease; }
.card-meta a:hover, .card-meta a:focus-visible { color: #fff; text-shadow: 0 0 14px rgba(236, 72, 153, 0.58); transform: translateX(3px); }

.board-heading { display: grid; justify-content: stretch; align-items: start; margin: 44px 0 22px; }
.board-heading span, .board-list span { color: #c4b5fd; font-size: 12px; font-weight: 900; }
.board-heading h2 { font-size: 30px; line-height: 1.15; }
.board-tabs { margin-bottom: 18px; padding: 10px; border: 1px solid rgba(168, 85, 247, 0.28); border-radius: 8px; background: rgba(14, 14, 22, 0.9); }
.board-table-wrap { overflow-x: auto; padding: 16px; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; background: rgba(9, 9, 14, 0.86); }
.board-table { width: 100%; min-width: 850px; border-collapse: collapse; color: #eef1f7; background: #101018; font-size: 14px; }
.board-table th, .board-table td { padding: 12px 10px; border-bottom: 1px solid rgba(168, 85, 247, 0.16); text-align: left; vertical-align: middle; }
.board-table th { color: #d8d2e7; background: #191425; font-weight: 800; }
.board-table a { color: #f5f7fb; text-decoration: none; font-weight: 800; }
.board-table em { color: var(--pink); font-style: normal; font-weight: 900; }
.notice-row td { background: rgba(168, 85, 247, 0.12); }
.rank-mark { color: #c4b5fd; font-weight: 900; }
.board-list { display: grid; gap: 12px; }
.board-list strong { display: block; margin-top: 8px; font-size: 17px; }

.notice-heading { margin-bottom: 18px; }
.notice-heading p:not(.eyebrow) { max-width: 720px; margin-top: 8px; color: var(--muted); line-height: 1.6; }
.notice-accordion-list { display: grid; gap: 14px; }
.notice-accordion-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.07)), rgba(14, 14, 22, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.notice-accordion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 44%, transparent 62%);
  transform: translateX(-110%);
}
.notice-accordion-card:hover,
.notice-accordion-card:focus-within,
.notice-accordion-card[open] {
  border-color: rgba(236, 72, 153, 0.66);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(236, 72, 153, 0.16), 0 0 30px rgba(168, 85, 247, 0.22);
}
.notice-accordion-card:hover { transform: translateY(-2px); }
.notice-accordion-card:hover::before,
.notice-accordion-card:focus-within::before {
  animation: buttonSpark 0.85s ease forwards;
  opacity: 1;
}
.notice-accordion-card summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
  min-height: 92px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.notice-accordion-card summary::-webkit-details-marker { display: none; }
.notice-accordion-card summary:focus-visible { outline: 2px solid rgba(236, 72, 153, 0.8); outline-offset: -5px; border-radius: 8px; }
.notice-kicker {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(236, 72, 153, 0.36);
  border-radius: 8px;
  color: #f7d7ff;
  background: rgba(168, 85, 247, 0.18);
  font-size: 12px;
  font-weight: 900;
}
.notice-accordion-card summary strong { color: #fff; font-size: 22px; line-height: 1.25; }
.notice-accordion-card summary small { grid-column: 1 / 2; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.5; }
.notice-chevron {
  position: relative;
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(236, 72, 153, 0.32);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 0 16px rgba(168, 85, 247, 0.18);
}
.notice-chevron::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  margin: 11px 0 0 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}
.notice-accordion-card[open] .notice-chevron::before { transform: translateY(4px) rotate(225deg); }
.notice-accordion-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0 22px 24px;
  color: #e9e4f4;
  line-height: 1.75;
}
.notice-accordion-body p { margin: 0; color: #d7d0e8; word-break: keep-all; }
.notice-service-list,
.notice-policy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.notice-service-list { counter-reset: noticeService; }
.notice-service-list li,
.notice-policy-list li {
  position: relative;
  min-height: 46px;
  padding: 12px 14px 12px 46px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #e9e4f4;
}
.notice-service-list li::before {
  counter-increment: noticeService;
  content: counter(noticeService);
  position: absolute;
  left: 14px;
  top: 13px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.32);
}
.notice-policy-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.72);
}
.notice-service-list strong { display: block; color: #fff; font-size: 15px; }
.notice-service-list span { color: #c9c2d8; font-size: 14px; }
.notice-policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.notice-policy-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(236, 72, 153, 0.35);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.38), rgba(236, 72, 153, 0.22));
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.notice-policy-actions button:hover,
.notice-policy-actions button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(236, 72, 153, 0.72);
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.24);
}

.policy-modal-card h2 {
  margin: 10px 42px 16px 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
}
.policy-modal-card pre {
  min-height: 260px;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 8px;
  color: #eee8f7;
  background: rgba(4, 4, 8, 0.42);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: keep-all;
}

.site-footer {
  margin: 34px 0 0;
  padding: 22px 0 4px;
  border-top: 1px solid rgba(139, 92, 246, 0.28);
  color: #8f879d;
  text-align: center;
}

.footer-policy-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.footer-policy-nav a,
.footer-policy-nav button {
  position: relative;
  padding: 0;
  border: 0;
  color: #b8b1c8;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-policy-nav a:hover,
.footer-policy-nav a:focus-visible,
.footer-policy-nav button:hover,
.footer-policy-nav button:focus-visible {
  color: #fff;
  text-shadow: 0 0 14px rgba(236, 72, 153, 0.65);
}

.footer-policy-nav a + a::before,
.footer-policy-nav button + button::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%);
}

.footer-company-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 11px;
}

.business-info-details {
  position: relative;
}

.business-info-details summary {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #c9c2d8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  list-style: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.business-info-details summary::-webkit-details-marker { display: none; }

.business-info-details summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.business-info-details[open] summary,
.business-info-details summary:hover,
.business-info-details summary:focus-visible {
  border-color: rgba(236, 72, 153, 0.44);
  color: #fff;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.16);
}

.business-info-details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.business-info-details dl {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(420px, calc(100vw - 40px));
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(236, 72, 153, 0.32);
  border-radius: 8px;
  background: rgba(12, 12, 18, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 22px rgba(139, 92, 246, 0.16);
  text-align: left;
  z-index: 12;
}

.business-info-details dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.business-info-details dl div:last-child { border-bottom: 0; }
.business-info-details dt { color: #f0abfc; font-weight: 900; }
.business-info-details dd { margin: 0; color: #ddd6ee; overflow-wrap: anywhere; }

@keyframes workingPulse { 0%, 100% { opacity: 0.54; transform: scale(0.84); box-shadow: 0 0 8px rgba(34, 197, 94, 0.38); } 50% { opacity: 1; transform: scale(1.18); box-shadow: 0 0 24px rgba(34, 197, 94, 0.95); } }
@keyframes logoHeartbeat { 0%, 74%, 100% { transform: scale(1); } 82% { transform: scale(1.045); } 90% { transform: scale(0.985); } }
@keyframes heartBeat { 0%, 70%, 100% { transform: rotate(45deg) scale(1); } 80% { transform: rotate(45deg) scale(1.26); } 90% { transform: rotate(45deg) scale(0.96); } }
@keyframes devBadgeGlow {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 18px rgba(251, 191, 36, 0.12); }
  50% { transform: translateY(-1px); box-shadow: 0 0 24px rgba(251, 191, 36, 0.28), 0 0 16px rgba(236, 72, 153, 0.14); }
}
@keyframes devDotPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.72; }
  50% { transform: scale(1.28); opacity: 1; }
}
@keyframes loadingDotPulse { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }
@keyframes aiTypingDot { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }
@keyframes softButtonGlow {
  0%, 100% { box-shadow: 0 14px 30px rgba(236, 72, 153, 0.2), 0 0 18px rgba(168, 85, 247, 0.12); }
  50% { box-shadow: 0 16px 34px rgba(236, 72, 153, 0.32), 0 0 28px rgba(168, 85, 247, 0.22); }
}
@keyframes buttonSpark {
  0% { transform: translateX(-110%); opacity: 0; }
  28% { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}
@keyframes constructionFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

.business-test-controls button.active,
.teller-tabs button.selected,
.teller-filter-buttons button.selected,
.board-tabs button.selected,
.loveteller-hero button,
.contact-open {
  animation: softButtonGlow 3.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  button,
  .detail-contact,
  .contact-open,
  .nav-item,
  .card-meta a {
    animation-duration: 6s !important;
    transition-duration: 0.16s !important;
  }
}

@media (max-width: 1080px) {
  .feed-grid, .loveteller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meme-intro-panel {
    grid-template-columns: 1fr;
  }
  .meme-summary-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meme-filter-guide {
    grid-template-columns: 1fr;
  }
  .ai-chat-hero { grid-template-columns: 1fr; }
  .ai-chat-preview { justify-items: start; }
  .ai-persona-grid { grid-template-columns: 1fr; }
  .ai-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-chat-headline { align-items: flex-start; flex-direction: column; }
  .ai-profile-modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
  }
  .ai-social-profile,
  .ai-chat-panel {
    max-height: none;
  }
  .ai-chat-thread { min-height: 360px; }
}

@media (max-width: 760px) {
  body.mobile-menu-open { overflow: hidden; }
  .mobile-shell-header {
    position: sticky;
    top: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.24);
    background: rgba(9, 9, 14, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  }
  .mobile-shell-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
  }
  .mobile-shell-brand .brand-logo {
    transform: scale(0.72);
    transform-origin: left center;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(236, 72, 153, 0.28);
    border-radius: 8px;
    color: #fff;
    background: rgba(139, 92, 246, 0.16);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    font-size: 13px;
    font-weight: 900;
  }
  .mobile-menu-toggle span,
  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }
  .mobile-menu-toggle span {
    position: relative;
  }
  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .mobile-menu-toggle span::before { top: -6px; }
  .mobile-menu-toggle span::after { top: 6px; }
  .mobile-menu-layer {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
  }
  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100%;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(8px);
  }
  .mobile-menu-panel {
    position: absolute;
    top: 66px;
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(236, 72, 153, 0.32);
    border-radius: 12px;
    background: rgba(13, 13, 20, 0.98);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.58), 0 0 26px rgba(139, 92, 246, 0.18);
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }
  .mobile-menu-head span {
    font-size: 18px;
    font-weight: 950;
  }
  .mobile-menu-head button,
  .mobile-menu-auth button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 900;
  }
  .mobile-menu-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .mobile-menu-nav {
    display: grid;
    gap: 8px;
  }
  .mobile-menu-nav a {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    text-decoration: none;
  }
  .mobile-menu-nav a.is-active {
    border-color: rgba(236, 72, 153, 0.56);
    background: rgba(236, 72, 153, 0.18);
  }
  .mobile-menu-nav strong {
    font-size: 15px;
  }
  .mobile-menu-nav span,
  .mobile-menu-contact span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }
  .mobile-menu-contact {
    display: grid;
    gap: 5px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
  }
  .mobile-menu-contact strong {
    font-size: 12px;
  }
  .sidebar { display: none; }
  body.sidebar-collapsed .sidebar { width: 100%; }
  body.sidebar-collapsed .nav-item > span:not(.nav-icon) { display: block; }
  body.sidebar-collapsed .nav-item .nav-dev-badge { display: inline-flex; }
  body.sidebar-collapsed .nav-item > span:last-child,
  body.sidebar-collapsed .sidebar-footer { display: flex; }
  body.sidebar-collapsed .nav-item > span:last-child { display: block; }
  body.sidebar-collapsed .nav-item { grid-template-columns: 36px 1fr; justify-items: stretch; }
  .main, body.sidebar-collapsed .main { margin-left: 0; padding: 14px; }
  h1 { font-size: 27px; }
  .loveteller-hero, .feed-header { align-items: flex-start; flex-direction: column; }
  .ai-chat-hero { min-height: 0; padding: 20px; }
  .ai-chat-hero h2 { font-size: 27px; }
  .ai-phone-shell { width: 100%; }
  .ai-chat-toolbar { padding: 8px; }
  .ai-chat-headline { padding: 16px; }
  .ai-chat-headline h2 { font-size: 23px; }
  .ai-profile-grid { grid-template-columns: 1fr; }
  .ai-profile-media { aspect-ratio: 1 / 1.08; }
  .ai-profile-modal { padding: 10px; }
  .ai-profile-modal-card { max-height: calc(100vh - 20px); }
  .ai-modal-close { right: 10px; top: 10px; }
  .ai-social-main { padding: 20px 14px 16px; }
  .ai-social-main img { width: 98px; height: 98px; }
  .ai-social-stats { gap: 8px; }
  .ai-chat-panel-top { grid-template-columns: 40px 1fr; padding-right: 52px; }
  .ai-safe-badge { grid-column: 1 / -1; justify-self: start; margin-left: 52px; }
  .ai-chat-thread { min-height: 300px; padding: 0 14px 24px; }
  .ai-chat-image-preview { width: 62%; margin-left: 52px; }
  .ai-chat-message-row p { font-size: 16px; }
  .meme-filter-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 10px;
  }
  .meme-control-primary {
    flex-wrap: wrap;
    gap: 10px;
  }
  .meme-control-divider {
    display: none;
  }
  .meme-control-type {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .meme-segment {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }
  .meme-view-segment,
  .meme-sort-segment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meme-topic-segment {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .meme-filter-panel button {
    min-width: 0;
    width: 100%;
    padding: 0 8px;
    font-size: 12.5px;
    line-height: 1.1;
    white-space: normal;
    word-break: keep-all;
  }
  .feed-grid.meme-list-view .feed-card {
    grid-template-columns: 1fr;
  }
  .meme-card-stats { align-items: flex-start; flex-direction: column; }
  .meme-like-button { width: 100%; justify-content: center; }
  .loveteller-actions, .detail-contact { align-items: stretch; width: 100%; }
  .business-test-controls { width: 100%; }
  .business-test-controls button { flex: 1; }
  .teller-filter-panel {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 10px;
  }
  .teller-control-primary {
    flex-wrap: wrap;
    gap: 10px;
  }
  .teller-control-divider {
    display: none;
  }
  .teller-control-filters {
    align-items: stretch;
    flex-direction: column;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .teller-filter-panel button {
    flex: 1 0 auto;
  }
  .loveteller-summary, .loveteller-grid, .teller-detail, .teller-detail-stats { grid-template-columns: 1fr; }
  .teller-profile-modal { padding: 10px; }
  .teller-profile-modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 18px;
  }
  .teller-modal-profile {
    grid-template-columns: 1fr;
  }
  .teller-modal-profile img {
    max-height: 360px;
  }
  .teller-detail-copy h3 { font-size: 22px; }
  .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .card-meta h3 { font-size: 14px; }
  .card-meta p { font-size: 11px; }
  .notice-accordion-card summary { grid-template-columns: 1fr; padding: 18px; }
  .notice-accordion-card summary strong { font-size: 19px; }
  .notice-accordion-card summary small { grid-column: 1; }
  .notice-chevron { grid-column: 1; grid-row: auto; justify-self: end; width: 32px; height: 32px; }
  .notice-chevron::before { margin: 9px 0 0 10px; }
  .notice-accordion-body { padding: 0 18px 20px; }
  .notice-service-list li, .notice-policy-list li { padding-right: 12px; word-break: keep-all; }
  .site-footer { margin-top: 28px; padding-bottom: 20px; }
  .footer-policy-nav { gap: 10px 14px; }
  .footer-policy-nav a + a::before,
  .footer-policy-nav button + button::before { content: none; }
  .footer-company-row { flex-direction: column; align-items: center; }
  .policy-modal { padding: 10px; }
  .policy-modal-card { max-height: calc(100vh - 20px); padding: 22px 18px 18px; }
  .policy-modal-card h2 { font-size: 23px; }
  .policy-modal-card pre { padding: 16px; font-size: 13px; line-height: 1.75; }
  .business-info-details dl {
    position: static;
    width: min(100%, 420px);
    margin-top: 10px;
  }
  .business-info-details dl div { grid-template-columns: 1fr; gap: 4px; }
}

.media-thumb {
  border: 1px solid rgba(139, 92, 246, 0.14);
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0), 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.media-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.28) 46%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-130%);
}

.media-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 30px rgba(139, 92, 246, 0);
  transition: box-shadow 0.22s ease;
}

.feed-card:hover .media-thumb {
  border-color: rgba(236, 72, 153, 0.72);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.42),
    0 0 22px rgba(236, 72, 153, 0.34),
    0 18px 42px rgba(139, 92, 246, 0.22);
  filter: saturate(1.1) brightness(1.04);
}

.feed-card:hover .media-thumb::before {
  animation: logoSparkle 0.82s ease forwards;
}

.feed-card:hover .media-thumb::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 34px rgba(139, 92, 246, 0.22),
    inset 0 -24px 42px rgba(236, 72, 153, 0.14);
}

@keyframes logoSparkle {
  0% { opacity: 0; transform: translateX(-130%); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: translateX(130%); }
}
.feed-card {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(139, 92, 246, 0);
  border-radius: 8px;
  background: rgba(12, 12, 18, 0);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.feed-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.22) 46%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-130%);
}

.feed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), inset 0 0 34px rgba(139, 92, 246, 0);
  transition: box-shadow 0.22s ease;
}

.feed-card > * {
  position: relative;
  z-index: 1;
}

.feed-card:hover {
  border-color: rgba(236, 72, 153, 0.7);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.42),
    0 0 24px rgba(236, 72, 153, 0.26),
    0 18px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.feed-card:hover::before {
  animation: logoSparkle 0.82s ease forwards;
}

.feed-card:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 38px rgba(139, 92, 246, 0.18),
    inset 0 -22px 42px rgba(236, 72, 153, 0.12);
}

.feed-card:hover .card-meta h3 {
  color: #fff;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.42);
}
@media (max-width: 760px) {
  .feed-card {
    padding: 5px;
  }

  .feed-card:hover {
    transform: none;
    box-shadow:
      0 0 0 1px rgba(139, 92, 246, 0.34),
      0 0 18px rgba(236, 72, 153, 0.22);
  }
}
/* Strong full-card hover frame for meme cards. */
.feed-grid .feed-card {
  position: relative !important;
  isolation: isolate;
  padding: 10px !important;
  border: 1px solid rgba(139, 92, 246, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(12, 12, 18, 0.16) !important;
  overflow: visible !important;
}

.feed-grid .feed-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  pointer-events: none;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.48), rgba(236, 72, 153, 0.5));
  transition: opacity 0.22s ease, filter 0.22s ease;
}

.feed-grid .feed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 28px rgba(139, 92, 246, 0.2),
    inset 0 -20px 38px rgba(236, 72, 153, 0.12);
  transition: opacity 0.22s ease;
}

.feed-grid .feed-card:hover,
.feed-grid .feed-card:focus-within {
  border-color: rgba(236, 72, 153, 0.86) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.12)) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.5),
    0 0 26px rgba(236, 72, 153, 0.38),
    0 18px 44px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-4px);
}

.feed-grid .feed-card:hover::before,
.feed-grid .feed-card:focus-within::before {
  opacity: 0.42;
  filter: blur(8px);
}

.feed-grid .feed-card:hover::after,
.feed-grid .feed-card:focus-within::after {
  opacity: 1;
}

.feed-grid .feed-card:hover .media-thumb,
.feed-grid .feed-card:focus-within .media-thumb {
  border-color: rgba(236, 72, 153, 0.72) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.38),
    0 0 18px rgba(236, 72, 153, 0.28) !important;
}

.feed-grid .feed-card:hover .card-meta h3,
.feed-grid .feed-card:focus-within .card-meta h3 {
  color: #fff;
  text-shadow: 0 0 14px rgba(236, 72, 153, 0.55);
}

@media (max-width: 760px) {
  .feed-grid .feed-card {
    padding: 6px !important;
  }

  .feed-grid .feed-card:hover,
  .feed-grid .feed-card:focus-within {
    transform: none;
  }
}
/* FINAL visible full-card meme hover */
.feed-grid .feed-card {
  position: relative !important;
  isolation: isolate !important;
  padding: 10px !important;
  border: 2px solid rgba(139, 92, 246, 0.24) !important;
  border-radius: 10px !important;
  background: rgba(16, 12, 28, 0.18) !important;
  overflow: visible !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.feed-grid .feed-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  z-index: -1 !important;
  pointer-events: none !important;
  border-radius: 13px !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.7), rgba(236, 72, 153, 0.72)) !important;
  filter: blur(10px) !important;
  transition: opacity 0.2s ease !important;
}

.feed-grid .feed-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  border-radius: 10px !important;
  pointer-events: none !important;
  opacity: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 0 34px rgba(139, 92, 246, 0.24),
    inset 0 -22px 42px rgba(236, 72, 153, 0.16) !important;
  transition: opacity 0.2s ease !important;
}

.feed-grid .feed-card:hover,
.feed-grid .feed-card:focus-within {
  border-color: rgba(236, 72, 153, 0.95) !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.14)) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.62),
    0 0 30px rgba(236, 72, 153, 0.42),
    0 20px 48px rgba(0, 0, 0, 0.36) !important;
  transform: translateY(-4px) !important;
}

.feed-grid .feed-card:hover::before,
.feed-grid .feed-card:focus-within::before,
.feed-grid .feed-card:hover::after,
.feed-grid .feed-card:focus-within::after {
  opacity: 1 !important;
}

.feed-grid .feed-card > * {
  position: relative !important;
  z-index: 1 !important;
}

.feed-grid .feed-card:hover .media-thumb,
.feed-grid .feed-card:focus-within .media-thumb {
  border-color: rgba(236, 72, 153, 0.82) !important;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.42), 0 0 18px rgba(236, 72, 153, 0.32) !important;
}

.feed-grid .feed-card:hover .card-meta h3,
.feed-grid .feed-card:focus-within .card-meta h3 {
  color: #fff !important;
  text-shadow: 0 0 16px rgba(236, 72, 153, 0.62) !important;
}

/* Main dashboard refresh */
.nav-icon {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 0 16px rgba(139, 92, 246, 0.18);
}
.nav-icon::before,
.nav-icon::after {
  content: none !important;
}
.nav-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.55));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-icon .icon-stroke {
  fill: none;
  stroke: #fff7ff;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-icon .icon-fill {
  fill: #fff;
  stroke: none;
}
.nav-icon .icon-soft {
  opacity: 0.68;
}
.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.48), rgba(236, 72, 153, 0.36));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 0 22px rgba(236, 72, 153, 0.34);
}
.nav-item:hover .nav-icon svg,
.nav-item.active .nav-icon svg {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.72));
}

.loveteller-hero,
.board-heading {
  position: relative;
  background:
    radial-gradient(circle at 86% 28%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(236, 72, 153, 0.16) 48%, rgba(255, 126, 95, 0.08)),
    #101018;
}
.loveteller-hero {
  z-index: 8;
  overflow: visible;
}
.board-heading {
  overflow: hidden;
}
.loveteller-hero::after,
.board-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.12) 46%, transparent 72%);
  pointer-events: none;
}
.loveteller-hero > *,
.board-heading > * {
  position: relative;
  z-index: 1;
}
.loveteller-hero .teller-guide-widget {
  z-index: 30;
}
.loveteller-hero .teller-guide-tooltip {
  z-index: 40;
}

.consulting-phone-icon,
.contact-open-phone span {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  transform: rotate(-18deg);
}
.consulting-phone-icon::before,
.contact-open-phone span::before {
  content: "";
  position: absolute;
  inset: 3px 4px;
  border: 2px solid currentColor;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 8px;
}
.consulting-phone-icon::after,
.contact-open-phone span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 10px 10px 0 currentColor;
}
.contact-open-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loveteller-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.loveteller-summary article {
  position: relative;
  min-height: 118px;
  padding: 14px 16px;
  overflow: hidden;
}
.loveteller-summary article::after {
  content: none;
  position: absolute;
  right: -24px;
  top: -28px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.1);
}
.loveteller-summary small {
  display: block;
  margin-top: 6px;
  color: #c9c2d8;
  font-size: 12px;
  line-height: 1.35;
}
.summary-icon {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #f9a8d4;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.24);
  box-shadow: 0 0 14px rgba(236,72,153,0.12);
  z-index: 1;
}
.summary-icon::before {
  content: "";
  position: relative;
  display: block;
}
.summary-icon-phone::before {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 8px;
  transform: rotate(-18deg);
}
.summary-icon-phone::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 10px 10px 0 currentColor;
}
.summary-icon-chat::before {
  width: 15px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 5px;
}
.summary-icon-chat::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 8px;
  width: 5px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-16deg);
}
.summary-icon-people::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor;
}
.summary-icon-people::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 8px;
  width: 18px;
  height: 8px;
  border: 2px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
  opacity: 0.85;
}
.summary-icon-heart::before {
  width: 12px;
  height: 12px;
  border-radius: 3px 3px 2px 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.summary-icon-heart::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-5px, -5px);
  box-shadow: 10px 0 0 currentColor;
}

.teller-photo,
.teller-detail-photo {
  aspect-ratio: 1 / 1;
}

@media (max-width: 1080px) {
  .loveteller-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .loveteller-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 14px 0;
    padding: 10px;
    border: 1px solid rgba(139, 92, 246, 0.24);
    border-radius: 8px;
    background: rgba(17, 17, 25, 0.86);
  }
  .loveteller-summary article {
    min-height: auto;
    padding: 11px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .loveteller-summary article:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .loveteller-summary article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .loveteller-summary span {
    font-size: 12px;
  }
  .loveteller-summary strong {
    margin-top: 6px;
    font-size: 25px;
    line-height: 1.05;
    white-space: nowrap;
  }
  .loveteller-summary small {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.32;
  }
}
