/* zinaprince: colours and fonts
   Wine #3F1521 · Ruby #63001F · Lilac #E9ADCA · Cream #FCF4F0 · Blue #AECBEB · Chartreuse #BCCA25 */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: 'Inter Tight', system-ui, sans-serif; background: #FCF4F0; color: #3F1521; -webkit-font-smoothing: antialiased; }
a { color: #3F1521; }
a:hover { color: #63001F; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* layout */
.app { display: flex; min-height: 100vh; }
.side { flex: 0 0 272px; background: #3F1521; color: #FCF4F0; padding: 22px 16px; display: flex; flex-direction: column; gap: 22px; }
.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
@media (min-width: 768px) {
  .app { height: 100vh; overflow: hidden; }
  .side { overflow-y: auto; }
  .main { min-height: 0; overflow: hidden; }
}

/* sidebar */
.side-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.brand { border: none; background: transparent; color: #FCF4F0; padding: 0 8px; text-align: left; display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-size: 19px; font-weight: 600; }
.brand-tag { font-family: Caveat, cursive; font-weight: 500; font-size: 24px; line-height: 1.1; color: #E9ADCA; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid #E9ADCA; border-radius: 12px; background: transparent; align-items: center; justify-content: center; }
.nav-wrap { flex: 1 1 auto; display: flex; flex-direction: column; gap: 22px; }
.new-q { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; padding: 10px 14px; min-height: 44px; border: 1px solid #E9ADCA; border-radius: 12px; background: transparent; color: #FCF4F0; text-align: left; }
.nav-label { margin: 0 0 6px; padding: 0 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #E9ADCA; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-list button { width: 100%; font-size: 15px; padding: 10px 12px; min-height: 44px; border: none; border-radius: 10px; background: transparent; color: #FCF4F0; text-align: left; }
.nav-list button:hover { background: rgba(233, 173, 202, 0.12); }
.nav-list button[aria-current="true"] { background: #63001F; }
.spacer { flex: 1 1 auto; }
.consult { padding: 12px 16px; min-height: 44px; text-align: center; background: #BCCA25; color: #3F1521; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; }
.consult:hover { color: #3F1521; filter: brightness(1.05); }
.side-links { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4px; }
.side-links a { padding: 8px; font-size: 13px; color: #F3DCE6; }

/* avatar */
.avatar { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #E9ADCA; color: #3F1521; display: flex; align-items: center; justify-content: center; font-family: Caveat, cursive; font-weight: 700; font-size: 20px; }
.avatar-lg { flex: 0 0 50px; width: 50px; height: 50px; font-size: 30px; }

/* home */
.home { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.home-inner { width: 100%; max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.hello { display: flex; align-items: center; justify-content: center; gap: 16px; }
.hello h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.caret { display: inline-block; width: 3px; height: 0.85em; background: #63001F; margin-left: 6px; vertical-align: -0.06em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.intro { margin: 0; text-align: center; font-size: 20px; line-height: 1.45; }
.intro.prompt { font-weight: 600; margin-top: -10px; }
.accent { font-family: Caveat, cursive; font-weight: 700; font-size: 28px; color: #63001F; }
.fade1 { animation: fade 0.6s ease 1.3s both; }
.fade2 { animation: fade 0.6s ease 1.7s both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade1, .fade2, .caret { animation: none; } }

.ask-box { display: flex; flex-direction: column; gap: 12px; background: #FFFFFF; border: 1px solid #E3CBC4; border-radius: 26px; box-shadow: 0 6px 24px rgba(63, 21, 33, 0.08); padding: 18px 18px 14px 22px; }
.ask-box input { font: inherit; font-size: 18px; padding: 6px 0; border: none; background: transparent; color: #3F1521; outline: none; }
.ask-box:focus-within, .follow-box:focus-within { border-color: #63001F; }
.ask-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ask-note { font-size: 13px; color: #6E4A52; }
.send { flex: 0 0 44px; width: 44px; height: 44px; border: none; border-radius: 12px; background: #3F1521; display: flex; align-items: center; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { font-size: 15px; padding: 8px 14px; min-height: 44px; border: 1px solid #E3CBC4; border-radius: 12px; background: #FFFFFF; color: #3F1521; }
.chip:hover { background: #F3DCE6; }
.chip.more { border-style: dashed; border-color: #B88E98; background: transparent; }
.disclaimer { margin: 0; text-align: center; font-size: 13px; color: #6E4A52; }

/* thread */
.thread { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.thread-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 48px 24px; }
.thread-inner { width: 100%; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.back-bar { position: sticky; top: 0; z-index: 2; padding: 16px 0 10px; background: #FCF4F0; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; padding: 8px 14px 8px 10px; min-height: 44px; border: 1px solid #E3CBC4; border-radius: 999px; background: #FFFFFF; color: #3F1521; }
.messages { display: flex; flex-direction: column; gap: 20px; }
.msg-user { align-self: flex-end; margin: 0; max-width: 75%; padding: 12px 18px; background: #F3DCE6; border-radius: 18px; font-size: 17px; overflow-wrap: anywhere; }
.msg-zina { display: flex; gap: 14px; align-items: flex-start; }
.msg-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.msg-body p { margin: 0; font-size: 18px; line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; min-height: 44px; border: 1.5px solid #3F1521; border-radius: 999px; background: transparent; color: #3F1521; text-decoration: none; font-size: 15px; font-weight: 500; }
.pill:hover { background: #F3DCE6; color: #3F1521; }
.pill.solid { background: #3F1521; color: #FCF4F0; border-color: #3F1521; }
.pill.lime { background: #BCCA25; border-color: #BCCA25; font-weight: 600; }
.input-wrap { padding: 12px 48px 24px; }
.follow-box { width: 100%; max-width: 780px; margin: 0 auto 10px; display: flex; align-items: center; gap: 10px; background: #FFFFFF; border: 1px solid #E3CBC4; border-radius: 22px; box-shadow: 0 4px 18px rgba(63, 21, 33, 0.06); padding: 10px 10px 10px 20px; }
.follow-box input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 17px; padding: 8px 0; border: none; background: transparent; color: #3F1521; outline: none; }
.disclaimer.small { max-width: 780px; margin: 0 auto; }

/* section content */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #FFFFFF; border: 1px solid #E3CBC4; border-radius: 16px; color: #3F1521; text-decoration: none; }
.card:hover { border-color: #63001F; color: #3F1521; }
.card-art { height: 110px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
.card-name { font-size: 17px; font-weight: 600; }
.card-note { font-size: 14px; line-height: 1.45; }
.card-status { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid #E3CBC4; }
.row-kind { flex: 0 0 90px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 3px; }
.row-name { flex: 1 1 240px; font-size: 17px; font-weight: 600; }
.row-note { flex: 1 1 220px; font-size: 15px; line-height: 1.45; }
.awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.award { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid #3F1521; }
.award-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.award-detail { font-size: 15px; }
.lead { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #FFFFFF; border: 1px solid #E3CBC4; border-radius: 18px; }
.lead-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #63001F; }
.lead dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 16px; font-size: 16px; line-height: 1.45; }
.lead dt { font-weight: 600; }
.lead dd { margin: 0; overflow-wrap: anywhere; }
.hint { font-size: 14px; color: #6E4A52; }

/* phones */
@media (max-width: 767px) {
  .app { flex-direction: column; }
  .side { position: sticky; top: 0; z-index: 10; flex: 0 0 auto; padding: 12px 16px; gap: 12px; }
  .menu-btn { display: inline-flex; }
  .nav-wrap { display: none; }
  .nav-wrap.open { display: flex; }
  .home { padding: 28px 18px; justify-content: flex-start; }
  .hello { justify-content: flex-start; }
  .intro { text-align: left; }
  .chips { justify-content: flex-start; }
  .disclaimer { text-align: left; }
  .thread-scroll { padding: 0 16px 12px; }
  .input-wrap { padding: 8px 12px 16px; }
  .awards { grid-template-columns: 1fr; }
}

.noscript { padding: 32px; max-width: 720px; }
