/* ChatMe – maandumisleht (sisselogimata külaline). Sama tume roosa-lilla nagu jutukas (pohi.css muutujad). */
.maa { max-width: 1080px; margin: 0 auto; padding: 0 16px 24px; }

.maa-pais { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.maa-brand { display: flex; align-items: center; gap: 12px; color: #ff7fc2; text-decoration: none; }
.maa-sydam { font-size: 46px; line-height: 1; filter: drop-shadow(0 0 8px #fa3fa2); }
.maa-brand b { display: block; font-family: Georgia, serif; font-size: 26px; font-style: italic; text-shadow: 0 0 13px #ed429b; }
.maa-brand small { display: block; color: #bda4c4; font-size: 12px; }
.maa-sisene { white-space: nowrap; }

.maa-ava { text-align: center; padding: 48px 0 36px; }
.maa-silt { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border: 1px solid #6a285f; border-radius: 999px;
  background: #1c0d2b; color: #f2c6e2; font-size: 13px; letter-spacing: .3px; }
.maa-ava h1 { margin: 0 auto 14px; max-width: 760px; font-size: clamp(30px, 6vw, 52px); line-height: 1.12; letter-spacing: -.6px; }
.maa-rohk { color: var(--roosa); text-shadow: 0 0 18px #fa3fa280; }
.maa-juhatus { margin: 0 auto 26px; max-width: 620px; font-size: 18px; line-height: 1.55; color: #e3d1e9; }
.maa-nupud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.maa-suur { padding: 13px 26px; font-size: 17px; }
.maa-teade { max-width: 620px; margin: 0 auto 18px; padding: 14px 18px; text-align: left; line-height: 1.5;
  background: #2a1238; border: 1px solid #8a3478; border-left: 4px solid var(--roosa); border-radius: 12px; color: #f0dcef; }
.maa-teade b { display: block; margin-bottom: 4px; color: #fff; }

.maa-osa { padding: 30px 0; border-top: 1px solid #3a1a42; }
.maa-osa h2 { margin: 0 0 18px; font-size: 26px; text-align: center; }

.maa-kaardid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.maa-kaart { padding: 18px; background: #1c0d2b; border: 1px solid #4d2451; border-radius: 16px;
  box-shadow: inset 0 0 24px #9b2b8714; }
.maa-kaart > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: #33163f; color: var(--roosa); font-size: 22px; font-weight: 700; }
.maa-kaart h3 { margin: 12px 0 6px; font-size: 18px; }
.maa-kaart p { margin: 0; color: #d9c4df; line-height: 1.5; font-size: 15px; }

.maa-loend { max-width: 720px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 10px; }
.maa-loend li { padding: 12px 16px 12px 44px; position: relative; background: #1c0d2b; border: 1px solid #4d2451;
  border-radius: 12px; line-height: 1.5; color: #e3d1e9; }
.maa-loend li::before { content: "♡"; position: absolute; left: 16px; top: 11px; color: var(--roosa); font-weight: 700; }
.maa-loend b { color: #fff; }

.maa-sammud { counter-reset: samm; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  margin: 0; padding: 0; list-style: none; }
.maa-sammud li { counter-increment: samm; padding: 18px; text-align: center; background: #1c0d2b;
  border: 1px solid #4d2451; border-radius: 16px; }
.maa-sammud li > span { display: block; font-size: 30px; }
.maa-sammud li b { display: block; margin: 8px 0 4px; font-size: 17px; }
.maa-sammud li b::before { content: counter(samm) ". "; color: var(--roosa); }
.maa-sammud p { margin: 0; color: #d9c4df; font-size: 15px; line-height: 1.5; }

.maa-kkk { max-width: 720px; margin: 0 auto; display: grid; gap: 8px; }
.maa-kkk details { background: #1c0d2b; border: 1px solid #4d2451; border-radius: 12px; }
.maa-kkk summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; }
.maa-kkk summary::-webkit-details-marker { display: none; }
.maa-kkk summary::after { content: "+"; float: right; color: var(--roosa); font-weight: 700; }
.maa-kkk details[open] summary::after { content: "−"; }
.maa-kkk summary:focus-visible { outline: 2px solid var(--roosa); outline-offset: -2px; border-radius: 12px; }
.maa-kkk p { margin: 0; padding: 0 16px 14px; color: #d9c4df; line-height: 1.55; }

.maa-jalus { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 22px 0 8px;
  border-top: 1px solid #3a1a42; color: var(--tuhm); font-size: 14px; }

@media (max-width: 860px) {
  .maa-kaardid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .maa-brand small { display: none; }
  .maa-sydam { font-size: 36px; }
  .maa-brand b { font-size: 21px; }
  .maa-ava { padding: 30px 0 26px; }
  .maa-juhatus { font-size: 16px; }
  .maa-kaardid, .maa-sammud { grid-template-columns: minmax(0, 1fr); }
  .maa-nupud .nupp { flex: 1 1 100%; }
  .maa-osa h2 { font-size: 22px; }
}

/* ------------------------------------------------------------------ näidisvestlus (väljamõeldud) */
.maa-naidis { margin: 34px auto 0; max-width: 820px; }
.maa-naidis-silt { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: #33163f; border: 1px dashed #b04f97; color: #f2c6e2; font-size: 13px; }
.maa-aken { position: relative; overflow: hidden; text-align: left; background: #150a22e6; border: 1px solid #6a285f;
  border-radius: 18px; box-shadow: 0 18px 60px #000a, 0 0 40px #fa3fa222; }
.maa-aken-pais { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid #3f1d47; }
.maa-aken-pais b { font-size: 19px; }
.maa-ruut { color: var(--roosa); }
.maa-kohal { color: #4ce38b; font-size: 13px; font-weight: 700; }
.maa-aken-sisu { display: grid; grid-template-columns: minmax(0, 1fr) 150px; min-height: 250px; }
.maa-read { padding: 10px 14px; display: grid; align-content: end; gap: 2px; }
.maa-rida { display: grid; grid-template-columns: 42px 92px minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding: 6px 6px; border-radius: 8px; font-size: 14px; color: #f1e4f4; }
.maa-rida time { color: #927d9f; font-size: 12px; }
.maa-rida b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #ff66b6; }
.maa-rida .maa-n2 { color: #55d3ff; }
.maa-rida .maa-n3 { color: #ffb86b; }
.maa-tegevus span { font-style: italic; color: #e6c5f2; }
.maa-wink { background: #ff4fa81a; box-shadow: inset 3px 0 0 #ff65b6; }
.maa-wink span { font-style: italic; color: #f7c6e3; }
.maa-liikmed { margin: 0; padding: 12px 14px; list-style: none; border-left: 1px solid #3f1d47; font-size: 14px; color: #f1e4f4; }
.maa-liikmed li { padding: 5px 0; }
.maa-liikmed i { display: inline-block; width: 14px; color: var(--roosa); font-style: normal; font-weight: 700; }
.maa-eemal { opacity: .6; }
.maa-aken-sisend { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding-top: 10px; border-top: 1px solid #3f1d47; }
.maa-aken-sisend > span:first-child { padding: 8px 11px; background: #31183f; border: 1px solid #50265d; border-radius: 10px; }
.maa-vali { flex: 1; padding: 9px 12px; background: #180b24; border: 1px solid #50265d; border-radius: 10px; color: #8f7a9c; font-size: 14px; }
.maa-saada { padding: 9px 14px; border-radius: 10px; background: linear-gradient(#fa6ab7, #cf267d); color: #fff; font-weight: 700; }

/* Winki animatsioon näidisel: read ilmuvad järjest, siis roos (kordub rahulikult) */
.maa-rida { animation: maa-ilmu .5s ease-out both; }
.maa-rida:nth-child(1) { animation-delay: .2s; }
.maa-rida:nth-child(2) { animation-delay: .8s; }
.maa-rida:nth-child(3) { animation-delay: 1.4s; }
.maa-rida:nth-child(4) { animation-delay: 2s; }
.maa-rida:nth-child(5) { animation-delay: 2.6s; }
.maa-rida:nth-child(6) { animation-delay: 4.4s; }
@keyframes maa-ilmu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.maa-roos { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  pointer-events: none; opacity: 0; animation: maa-roos 12s ease-out 2.7s infinite; }
.maa-roos span { font-size: 120px; line-height: 1; filter: drop-shadow(0 8px 24px #ff4fa880); }
.maa-roos em { padding: 5px 14px; border-radius: 999px; background: #2a1036e6; border: 1px solid #ff65b6; color: #fff;
  font-style: normal; font-weight: 650; font-size: 14px; }
@keyframes maa-roos {
  0% { opacity: 0; transform: translateY(-60px) rotate(-30deg) scale(.6); }
  6% { opacity: 1; transform: translateY(0) rotate(6deg) scale(1.05); }
  9% { transform: rotate(0) scale(1); }
  16% { opacity: 1; }
  20%, 100% { opacity: 0; transform: scale(.95); }
}
@media (max-width: 600px) {
  .maa-aken-sisu { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .maa-liikmed { display: none; }
  .maa-rida { grid-template-columns: 36px 70px minmax(0, 1fr); font-size: 13px; gap: 6px; }
  .maa-roos span { font-size: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .maa-rida { animation: none; }
  .maa-roos { display: none; }
}

/* Viimistlus */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.maa-edasi { margin: 18px 0 0; font-size: 15px; }
.maa-edasi a { color: #f2c6e2; text-decoration: none; border-bottom: 1px dashed #b04f97; }
.maa-edasi a:hover { color: #fff; }
.maa-osa h2 { scroll-margin-top: 16px; }
