/* Живая витрина кабинета семьи (showcase.js). Работает на тёмном фоне лендинга. */
.sc-sec { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 85% 10%, rgba(217,184,113,.13), transparent 70%), radial-gradient(80% 70% at 0% 100%, #114236, #071d18 70%); color: #f4ecdb; }
.sc-sec .sc-head { max-width: 760px; }
.sc-sec .sc-head h2 { margin: 12px 0 10px; }
.sc-sec .sc-head p { color: rgba(244,236,219,.78); font-size: 17.5px; margin: 0; }
.sc-badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 99px; background: rgba(217,184,113,.14); border: 1px solid rgba(217,184,113,.4); color: #f7e6b6; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.sc-badge i { width: 8px; height: 8px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 0 rgba(95,211,154,.6); animation: scPulse 1.8s infinite; }
.sc { display: grid; grid-template-columns: minmax(0, 340px) 64px minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 34px; }
.sc-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; font-size: 15px; color: #f7e6b6; }
.sc-label span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f7e6b6, #b58a3d); color: #241b08; font-size: 13px; }
.sc-guest, .sc-cab { display: flex; flex-direction: column; min-width: 0; }
.sc-phone { flex: 1; border-radius: 30px; padding: 18px; background: linear-gradient(170deg, #114236, #082019); border: 1px solid rgba(217,184,113,.5); box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.sc-inv { text-align: center; padding: 6px 0 14px; border-bottom: 1px dashed rgba(217,184,113,.35); margin-bottom: 14px; }
.sc-orn { color: #d9b871; font-size: 18px; }
.sc-kick { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #d9b871; margin: 4px 0; }
.sc-names { font: 600 30px/1.1 'Cormorant Garamond', Georgia, serif; color: #f7e6b6; }
.sc-names i { color: #d9b871; }
.sc-date { font-size: 13px; color: rgba(244,236,219,.75); margin-top: 6px; }
.sc-form { display: grid; gap: 10px; }
.sc-q { font-weight: 800; font-size: 15px; }
.sc-in { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(217,184,113,.35); background: rgba(255,255,255,.07); color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.sc-in::placeholder { color: rgba(244,236,219,.5); }
.sc-in:focus { border-color: #d9b871; box-shadow: 0 0 0 3px rgba(217,184,113,.2); }
.sc-in.err { border-color: #ff8a7a; animation: scShake .35s; }
.sc-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-yn button { padding: 11px 8px; border-radius: 12px; border: 1px solid rgba(217,184,113,.35); background: transparent; color: #f4ecdb; font: 700 14px/1.2 inherit; font-family: inherit; cursor: pointer; transition: .15s; }
.sc-yn button.on { background: #f7e6b6; color: #1c2a22; border-color: #f7e6b6; }
.sc-cnt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(244,236,219,.85); transition: opacity .2s; }
.sc-cnt span { margin-right: auto; }
.sc-cnt.off { opacity: .35; pointer-events: none; }
.sc-cnt button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(217,184,113,.5); background: none; color: #f7e6b6; font-size: 18px; cursor: pointer; }
.sc-cnt b { min-width: 18px; text-align: center; font-size: 18px; color: #fff; }
.sc-send { margin-top: 2px; padding: 14px; border: 0; border-radius: 99px; cursor: pointer; font: 800 15px/1.2 inherit; font-family: inherit; color: #241b08; background: linear-gradient(135deg, #f7e6b6, #d9b871 60%, #b58a3d); box-shadow: 0 12px 26px rgba(0,0,0,.3); transition: transform .15s; }
.sc-send:hover { transform: translateY(-2px); }
.sc-hint { font-size: 12.5px; color: rgba(244,236,219,.65); text-align: center; }
.sc-arrow { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.sc-arrow i { width: 14px; height: 14px; border-right: 3px solid #d9b871; border-top: 3px solid #d9b871; transform: rotate(45deg); opacity: .25; animation: scArrow 1.5s infinite; }
.sc-arrow i:nth-child(2) { animation-delay: .2s; } .sc-arrow i:nth-child(3) { animation-delay: .4s; }
.sc-dash { position: relative; flex: 1; border-radius: 24px; padding: 18px; background: #fbf8f1; color: #1f2a24; box-shadow: 0 30px 70px rgba(0,0,0,.4); overflow: hidden; display: flex; flex-direction: column; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #ece3d0; }
.sc-top b { font: 600 21px/1.1 'Cormorant Garamond', Georgia, serif; color: #0e3a31; font-style: italic; }
.sc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #1f7a52; background: #e6f5ec; padding: 4px 10px; border-radius: 99px; }
.sc-live i { width: 7px; height: 7px; border-radius: 50%; background: #23a36a; animation: scPulse 1.8s infinite; }
.sc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.sc-stats > div { background: #fff; border: 1px solid #ece3d0; border-radius: 14px; padding: 10px 12px; }
.sc-stats > div.pop { animation: scPop .5s; }
.sc-stats b { display: block; font-size: 26px; line-height: 1.1; font-weight: 800; }
.sc-stats b small { font-size: 14px; color: #7a8580; font-weight: 700; }
.sc-stats > div:nth-child(1) b { color: #1f7a52; } .sc-stats > div:nth-child(2) b { color: #a06a12; } .sc-stats > div:nth-child(3) b { color: #b04a3c; }
.sc-stats > div > span { font-size: 12px; font-weight: 700; color: #6b736f; }
.sc-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.sc-tabs button { position: relative; padding: 8px 14px; border-radius: 99px; border: 1px solid #e3d8c1; background: #fff; color: #3b4741; font: 700 13px/1 inherit; font-family: inherit; cursor: pointer; }
.sc-tabs button.on { background: #0e3a31; color: #f7e6b6; border-color: #0e3a31; }
.sc-tabs em { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #c0392b; color: #fff; font: 800 11px/18px inherit; font-family: inherit; font-style: normal; }
.sc-body { flex: 1; min-height: 268px; }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: #fff; border: 1px solid #efe7d6; border-radius: 12px; }
.sc-list li.new { animation: scIn .55s cubic-bezier(.2,.8,.2,1); }
.sc-list li.me { border-color: #d9b871; background: #fffaf0; box-shadow: 0 0 0 3px rgba(217,184,113,.25); }
.sc-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: #1d5c4b; }
.sc-av.bride { background: #b0567a; }
.sc-nm { font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-nm em { margin-left: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: #7a5c1e; background: #f4e6c4; padding: 2px 8px; border-radius: 99px; }
.sc-st { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.sc-st.yes { background: #e3f4ea; color: #1f7a52; } .sc-st.no { background: #f8e5e1; color: #a1432f; }
.sc-more, .sc-empty { text-align: center; color: #7a8580; font-size: 13px; font-weight: 700; padding: 10px; }
.sc-empty { padding: 60px 10px; }
.sc-tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-t { text-align: center; background: #fff; border: 1px solid #efe7d6; border-radius: 14px; padding: 6px 4px 8px; }
.sc-t svg { width: 84px; height: 84px; display: block; margin: 0 auto; }
.sc-t svg circle { fill: #ece5d6; transition: fill .25s; }
.sc-t svg circle.on { fill: #1d5c4b; }
.sc-t svg circle.tb { fill: #f4ead3; stroke: #d9b871; stroke-width: 1.5; }
.sc-t svg text { text-anchor: middle; font: 800 14px system-ui, sans-serif; fill: #6b5a2c; }
.sc-t span { font-size: 12px; font-weight: 700; color: #6b736f; }
.sc-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.sc-auto { padding: 10px 16px; border-radius: 99px; border: 0; cursor: pointer; background: #0e3a31; color: #f7e6b6; font: 800 13.5px/1 inherit; font-family: inherit; }
.sc-auto[disabled] { opacity: .45; cursor: default; }
.sc-find { font-size: 13.5px; font-weight: 700; color: #1f2a24; }
.sc-find b { color: #1f7a52; }
.sc-wishes { display: grid; gap: 8px; }
.sc-wishes blockquote { margin: 0; padding: 12px 14px; background: #fff; border: 1px solid #efe7d6; border-left: 3px solid #d9b871; border-radius: 12px; animation: scIn .5s; }
.sc-wishes blockquote.me { background: #fffaf0; }
.sc-wishes p { margin: 0 0 4px; font: italic 600 17px/1.35 'Cormorant Garamond', Georgia, serif; color: #2b332f; }
.sc-wishes cite { font-style: normal; font-size: 12px; font-weight: 800; color: #7a5c1e; }
.sc-toast { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 12px; background: #0e3a31; color: #f7e6b6; font-weight: 700; font-size: 13.5px; box-shadow: 0 14px 30px rgba(0,0,0,.3); transition: .3s; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.sc-toast.in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sc-toast a { color: inherit; }
.sc-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.sc-feat { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; text-align: left; padding: 16px; border-radius: 18px; border: 1px solid rgba(217,184,113,.25); background: rgba(255,255,255,.04); color: #f4ecdb; cursor: pointer; font-family: inherit; transition: .2s; }
.sc-feat:hover, .sc-feat.on { border-color: #d9b871; background: rgba(217,184,113,.1); transform: translateY(-2px); }
.sc-feat span { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(217,184,113,.15); }
.sc-feat b { font-size: 15px; color: #f7e6b6; }
.sc-feat small { font-size: 13px; line-height: 1.45; color: rgba(244,236,219,.72); }
.sc-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
@keyframes scPulse { 0% { box-shadow: 0 0 0 0 rgba(95,211,154,.55); } 70% { box-shadow: 0 0 0 8px rgba(95,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(95,211,154,0); } }
@keyframes scIn { from { opacity: 0; transform: translateY(-10px) scale(.98); background: #fff6dc; } to { opacity: 1; transform: none; } }
@keyframes scPop { 40% { transform: scale(1.06); box-shadow: 0 6px 18px rgba(31,122,82,.18); } }
@keyframes scArrow { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes scShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (max-width: 980px) {
  .sc { grid-template-columns: 1fr; gap: 6px; }
  .sc-guest { max-width: 440px; width: 100%; margin: 0 auto; }
  .sc-arrow { flex-direction: row; transform: rotate(90deg); height: 40px; }
  .sc-feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sc-stats { grid-template-columns: 1fr 1fr; }
  .sc-feats { grid-template-columns: 1fr; }
  .sc-dash { padding: 14px; }
  .sc-tables { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sc-t svg { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) { .sc-sec *, .sc-sec *::before { animation: none !important; transition: none !important; } }
