/* Lovoravip Discover — animated presentation layer, separate from functional chat. */
:root { --home-rose:#ff65bd; --home-muted:#c9aac8; }
.discover-page { position:relative; isolation:isolate; padding:24px 28px 44px; overflow:hidden; background:radial-gradient(ellipse at 90% 0%,#4b163a80 0,transparent 45%),radial-gradient(ellipse at 5% 55%,#38133b80 0,transparent 40%); }
.discover-page::before,.discover-page::after { content:"";position:absolute;z-index:-1;width:430px;height:430px;border-radius:50%;filter:blur(90px);pointer-events:none;opacity:.23;animation:homeFloat 13s ease-in-out infinite alternate; }
.discover-page::before { top:240px;right:-250px;background:#c22492; }
.discover-page::after { top:1120px;left:-270px;background:#7334d7;animation-delay:-6s; }
.discover-page[data-mood="romantic"]::before { background:#ff419b;opacity:.32; }
.discover-page[data-mood="playful"]::before { background:#e945b5;opacity:.28; }
.discover-page[data-mood="thoughtful"]::before { background:#8a73dc;opacity:.25; }
.discover-page[data-mood="adventurous"]::before { background:#7845dc;opacity:.3; }
@keyframes homeFloat { from {transform:translate3d(0,-25px,0)} to {transform:translate3d(-80px,75px,0)} }
.discover-nav { border:0;background:transparent;color:#ffc4e4;font:inherit;font-weight:800;letter-spacing:.35px;padding:9px 2px;cursor:pointer; }
.discover-nav:hover,.discover-nav:focus-visible,.discover-nav.selected { color:#ff77c8; }
.header-divider { opacity:.28;margin:0 11px; }
.motion-btn { white-space:nowrap;padding:9px 13px;border:1px solid #684264;border-radius:24px;color:#f0b3d5;background:#382039;font-size:12px; }
.motion-btn:hover {border-color:#d45b9e;background:#4a2545}
.hero-carousel { position:relative;min-height:420px; height:clamp(420px,40vw,510px);overflow:hidden;border-radius:27px;border:1px solid #a24383;box-shadow:0 24px 70px #0c04134f,0 0 38px #d6298318;background:#26102b; }
.hero-slides { position:absolute;inset:0; }
.hero-slide { position:absolute;inset:0;z-index:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .95s cubic-bezier(.2,.75,.2,1),visibility .95s; }
.hero-slide.active {opacity:1;visibility:visible;z-index:1;pointer-events:auto;}
.hero-person-image {width:49%;height:100%;position:absolute;right:0;top:0;object-fit:cover;object-position:center 37%;filter:saturate(1.08) contrast(1.05);transform:scale(1.045);transition:transform 6.8s ease-out;}
.hero-slide.active .hero-person-image {transform:scale(1.0)}
.hero-shade {position:absolute;inset:0;background:linear-gradient(90deg,#150819 0%,#210b25 24%,#250a27d9 42%,#1d092440 74%,#23091a22 100%),linear-gradient(0deg,#1909197f 0%,transparent 30%)}
.hero-carousel::after {position:absolute;z-index:2;inset:0;content:"";pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px #ff7ac42c;}
.hero-copy {position:absolute;z-index:2;top:50%;left:7.3%;transform:translateY(-50%);width:min(570px,57%);}
.hero-kicker {font-size:12px;letter-spacing:2.8px;font-weight:850;color:#ff98d1;text-shadow:0 2px 15px #16081d;}
.hero-copy h1 {font-size:clamp(38px,4.1vw,69px);line-height:1.04;letter-spacing:-2px;margin:21px 0 20px;font-weight:850;text-wrap:balance;text-shadow:0 4px 24px #16071580;}
.hero-copy h1 span {display:block;font-family:Georgia,serif;font-style:italic;font-weight:400;color:#ffc3e4;}
.hero-copy p {color:#e5c8e1;line-height:1.6;max-width:480px;font-size:clamp(14px,1.1vw,17px);margin:0 0 30px;text-wrap:pretty;}
.hero-actions {display:flex;flex-wrap:wrap;gap:12px;}
.home-primary {background:linear-gradient(115deg,#fb53ad,#aa237b);border:1px solid #ff96d4;color:white;box-shadow:0 0 28px #dc2f9b60;padding:15px 23px;border-radius:30px;font-size:14px;font-weight:780;}
.home-primary:hover {filter:brightness(1.11);box-shadow:0 0 32px #ea40a8a0;transform:translateY(-2px)}
.home-secondary {background:#291027bf;border:1px solid #bc729f;color:#ffe4f5;padding:15px 22px;border-radius:30px;font-size:14px;}
.home-secondary:hover {background:#57234b;}
.hero-arrow {position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;font-size:27px;border:1px solid #db9ac2;background:#2b1738a9;color:#ffe2ef;display:grid;place-items:center;backdrop-filter:blur(8px)}
.hero-arrow:hover {background:#a12c73;border-color:#f3b2dc;}
.hero-prev {left:12px}.hero-next {right:12px}
.hero-dots {position:absolute;bottom:21px;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:10px;}
.hero-dot {width:9px;height:9px;border:0;background:#d6b6d090;border-radius:50%;padding:0;transition:width .3s,background .3s,box-shadow .3s;}
.hero-dot.active {width:29px;border-radius:20px;background:#fa57ac;box-shadow:0 0 11px #ff47ba;}
.hero-count {position:absolute;bottom:20px;right:28px;z-index:4;color:#f9d4ebc9;font-size:11px;letter-spacing:2px;}
.feature-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #734266;border-radius:22px;margin:18px 0 35px;background:linear-gradient(105deg,#45203e,#29142e);box-shadow:0 14px 40px #0002;}
.feature-strip>div {min-width:0;display:grid;grid-template-columns:43px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-content:center;padding:17px 20px;position:relative;}
.feature-strip>div+div::before {content:"";position:absolute;left:0;top:18px;bottom:18px;border-left:1px solid #704165;}
.feature-strip span {grid-row:1/3;font-size:28px;color:#ff82c8;align-self:center;text-align:center;font-family:Georgia,serif;}
.feature-strip strong {font-size:14px;}
.feature-strip small {font-size:11px;color:#d0afd0;line-height:1.5;margin-top:3px;}
.discovery-section {margin:20px 0 38px;}
.section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 20px;}
.section-eyebrow {font-size:11px;color:#fa8bc7;letter-spacing:2px;font-weight:850;}
.section-heading h2,.mood-title h2,.vip-home-banner h2 {font-family:Georgia,serif;font-weight:600;letter-spacing:-.8px;font-size:clamp(26px,2.3vw,36px);margin:7px 0 5px;}
.section-heading p {margin:0;color:#cbb1cf;font-size:14px;line-height:1.5;}
.shelf-controls {display:flex;gap:9px;padding-bottom:5px;flex-shrink:0}
.shelf-controls button {width:38px;height:38px;border:1px solid #9b4c82;background:#351b39;color:#ffc6e6;font-size:25px;border-radius:50%;display:grid;place-items:center;}
.shelf-controls button:hover {background:#a32c7d;}
.featured-shelf {display:flex;gap:15px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#a33480 #2c1734;padding:6px 3px 20px;}
.home-companion-card {position:relative;display:block;flex:0 0 clamp(184px,18vw,244px);aspect-ratio:.72;overflow:hidden;background:#39213c;border:1px solid #744268;border-radius:18px;box-shadow:0 8px 24px #14051d64;scroll-snap-align:start;padding:0;text-align:left;transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .25s,box-shadow .25s;}
.home-companion-card:hover,.home-companion-card:focus-visible {transform:translateY(-6px);border-color:#ff78c5;box-shadow:0 14px 32px #cc32745e,0 0 0 1px #ff6abc5a;outline:0;}
.home-card-image {display:block;width:100%;height:100%;object-fit:cover;object-position:center 27%;transition:transform .5s ease;}
.home-companion-card:hover .home-card-image {transform:scale(1.06)}
.card-vignette {position:absolute;inset:0;background:linear-gradient(0deg,#17081dee 0%,#16081b99 23%,transparent 68%);}
.home-card-top {position:absolute;top:11px;left:11px;font-size:9px;letter-spacing:1.3px;font-weight:850;background:#451838d9;color:#ffb7db;border:1px solid #9d4b7c9c;padding:7px 9px;border-radius:25px;}
.home-card-copy {position:absolute;left:14px;right:11px;bottom:15px;display:flex;flex-direction:column;gap:6px;text-shadow:0 2px 8px #000c;}
.home-card-copy strong {font-size:21px;font-weight:800;}
.home-card-copy small {font-size:12px;color:#f1cde3;}
.home-card-tag {width:max-content;max-width:100%;padding:6px 10px;background:#683158ae;border:1px solid #b3588b9c;border-radius:20px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mood-section {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:24px 27px;margin:10px 0 40px;border-radius:24px;border:1px solid #814068;background:linear-gradient(112deg,#41203ed8,#29152d);}
.mood-title {display:flex;align-items:center;gap:18px;}
.mood-title h2 {font-size:28px;margin:2px 0 0;}
.mood-icon {font-family:Georgia,serif;color:#f96dc2;font-size:43px;animation:twinkle 3s ease-in-out infinite;}
@keyframes twinkle {50%{text-shadow:0 0 22px #ff5ec2;transform:rotate(10deg)}}
.mood-choices {display:flex;gap:8px;flex-wrap:wrap;}
.mood-chip,.explore-filter {padding:11px 14px;border:1px solid #7c4a77;background:#361c3e;color:#e4c3dc;border-radius:30px;font-size:12px;white-space:nowrap;}
.mood-chip:hover,.explore-filter:hover {border-color:#e677b8;background:#572b50;}
.mood-chip.active,.explore-filter.active {background:linear-gradient(105deg,#d43c98,#9c226c);border-color:#ff9dd3;color:#fff;box-shadow:0 0 18px #e73f9a35;}
.explore-section {margin-top:20px;}
.explore-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 22px;flex-wrap:wrap;}
.explore-filters {display:flex;gap:9px;}
.explore-search-label {flex:1;max-width:380px;}
#exploreSearch {width:100%;min-width:180px;height:44px;padding:0 17px;border-radius:24px;border:1px solid #764a76;background:#2f1a37;color:#fff;outline:none;}
#exploreSearch:focus {border-color:#ff81c4;box-shadow:0 0 0 3px #ff81c422}
.explore-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;}
.home-companion-card.compact {width:100%;min-width:0;flex:auto;aspect-ratio:.77;}
.home-companion-card.compact .home-card-copy {bottom:12px;left:11px;right:9px;gap:4px;}
.home-companion-card.compact strong {font-size:16px;}
.home-companion-card.compact small {font-size:11px;}
.explore-more {display:block;margin:24px auto;padding:13px 28px;border-radius:26px;border:1px solid #a5558c;background:#422142;color:#ffe0f3;font-weight:650;}
.explore-more:hover {background:#82345f;}
.explore-empty {font-size:14px;color:#d4acc7;text-align:center;padding:32px;}
.vip-home-banner {display:flex;align-items:center;justify-content:space-between;gap:22px;margin:18px 0 36px;padding:30px;border-radius:25px;border:1px solid #ba4b8c;background:radial-gradient(ellipse at 70% 50%,#94305b65,transparent 55%),linear-gradient(100deg,#412040,#231126);box-shadow:inset 0 0 26px #cf438022;}
.vip-home-banner h2 {font-size:32px;}
.vip-home-banner p {max-width:690px;margin:5px 0 0;line-height:1.6;color:#d4b6d2;font-size:14px;}
#vipHomeCta {padding:15px 22px;background:linear-gradient(115deg,#ea42a3,#a42272);border:1px solid #fb8bcc;border-radius:26px;font-weight:750;white-space:nowrap;}
#vipHomeCta:hover {filter:brightness(1.13);}
.home-footer {border-top:1px solid #5a3059;padding:20px 5px 0;display:flex;gap:14px;justify-content:space-between;color:#af95ac;font-size:12px;}
.home-footer span:first-child{color:#f694cd;font-weight:800;}
.back-discover {align-self:flex-start;margin:14px 0 -10px 32px;border:1px solid #7e4a78;border-radius:25px;background:#351c39;color:#ffc3e4;padding:8px 14px;font-size:12px;}
.back-discover:hover {background:#673153;}
.reveal {opacity:1;transform:none;}
.reveal.in-view {animation:homeReveal .7s ease both;}
@keyframes homeReveal {from {opacity:.7;transform:translateY(12px)}to{opacity:1;transform:none}}
.motion-off .reveal,.motion-off .reveal.in-view {opacity:1;transform:none;transition:none;}
.motion-off .hero-slide,.motion-off .hero-person-image,.motion-off .home-companion-card,.motion-off .home-card-image,.motion-off .home-primary,.motion-off .hero-dot {animation:none!important;transition:none!important;transform:none;}
.motion-off .hero-slide:not(.active) {display:none;}
.motion-off .discover-page::before,.motion-off .discover-page::after,.motion-off .mood-icon {animation:none!important;}
@media(max-width:1320px){.explore-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-strip>div{padding:15px 10px}.mood-section{align-items:flex-start;flex-direction:column}.hero-copy{left:9%;}.hero-copy h1{font-size:clamp(37px,4.2vw,56px)}}
@media(max-width:1100px){.discover-page{padding:18px}.hero-carousel{height:460px}.hero-person-image{width:53%}.hero-shade{background:linear-gradient(90deg,#18081f 0%,#210b25ef 32%,#200d24a9 60%,#200a1d20 100%)}.feature-strip{grid-template-columns:repeat(2,1fr)}.feature-strip>div:nth-child(3)::before{display:none}.feature-strip>div:nth-child(n+3){border-top:1px solid #704165}.hero-copy{width:68%}.explore-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.early-label{display:none}}
@media(max-width:760px){.site-header{min-height:78px}.site-eyebrow{letter-spacing:.3px;font-size:11px}.header-divider,.motion-btn{display:none}.discover-page{padding:12px 10px 36px}.hero-carousel{min-height:500px;height:500px;border-radius:21px}.hero-person-image{height:72%;width:100%;top:0;right:0;object-fit:cover;object-position:center 28%}.hero-shade{background:linear-gradient(0deg,#1e0a25 3%,#1d0926ee 24%,#230c28b5 45%,#290a2288 82%,transparent 100%)}.hero-copy{left:19px;right:19px;top:auto;bottom:64px;transform:none;width:auto}.hero-kicker{font-size:9px;letter-spacing:1.3px}.hero-copy h1{font-size:clamp(33px,8.8vw,49px);margin:9px 0;letter-spacing:-1.3px}.hero-copy p{font-size:12px;line-height:1.45;margin:10px 0 15px;max-width:90%}.hero-actions{gap:8px}.home-primary,.home-secondary{font-size:11px;padding:11px 13px}.hero-arrow{width:34px;height:34px;font-size:22px;top:31%}.hero-dots{bottom:23px}.hero-count{right:12px;bottom:24px;font-size:9px}.feature-strip{grid-template-columns:repeat(2,1fr);margin:13px 0 27px;border-radius:15px}.feature-strip>div{grid-template-columns:28px 1fr;padding:11px 8px;column-gap:5px;}.feature-strip span{font-size:19px}.feature-strip strong{font-size:11px}.feature-strip small{font-size:9px}.section-heading h2,.mood-title h2{font-size:26px}.section-heading p{font-size:12px}.section-eyebrow{font-size:10px}.featured-shelf{gap:11px}.home-companion-card{flex-basis:170px}.mood-section{padding:19px 15px;margin:16px 0 30px}.mood-chip{padding:9px 10px;font-size:11px}.explore-toolbar{align-items:stretch}.explore-search-label{max-width:none;width:100%;}.explore-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-companion-card.compact strong{font-size:14px}.home-companion-card.compact small{font-size:10px}.home-card-copy{left:9px;right:9px;bottom:10px}.vip-home-banner{flex-direction:column;align-items:flex-start;padding:22px 17px}.vip-home-banner h2{font-size:28px}.vip-home-banner p{font-size:12px}.home-footer{flex-direction:column;gap:3px}.back-discover{margin:9px 0 0 13px}.chat-panel{max-height:calc(100dvh - 95px);}}
@media(max-width:420px){.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-carousel{min-height:470px;height:470px}.site-header .site-actions .vip-pill{display:none}}
@media(prefers-reduced-motion:reduce){.reveal,.reveal.in-view{opacity:1;transform:none;transition:none}.discover-page::before,.discover-page::after,.mood-icon{animation:none!important}.hero-slide,.hero-person-image,.home-companion-card,.home-card-image,.hero-dot{transition:none!important;animation:none!important}.hero-slide:not(.active){display:none}.home-companion-card:hover{transform:none}}


/* Lovoravip mobile-first polish — presentation only. Core app & billing unchanged. */
.mobile-nav-label,.sidebar-close-mobile,.mobile-bottom-nav,.mobile-drawer-backdrop { display:none; }
@media(max-width:760px) {
  html { scroll-padding-top:75px; }
  body { overflow-x:hidden; }
  .app-shell { min-width:0; width:100%; }
  .app-main { min-width:0; }
  .site-header {
    position:sticky;top:0;z-index:24; min-height:62px; padding:8px 12px;
    padding-top:calc(8px + env(safe-area-inset-top,0px));
    background:rgba(27,12,32,.96);backdrop-filter:blur(18px);
    gap:9px;box-shadow:0 7px 22px #10051175;
  }
  .site-eyebrow{min-width:0;flex:1;letter-spacing:0;font-size:14px;white-space:nowrap;}
  .site-desktop-label,.desktop-nav-label{display:none;}
  .mobile-nav-label{display:inline;font-size:15px;font-weight:850;color:#fff2fc;letter-spacing:-.5px;}
  .mobile-nav-label b{color:#ff61b7;}
  .discover-nav{padding:7px 0;max-width:100%;}
  .mobile-menu{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;font-size:18px;}
  .site-actions{gap:0;min-width:0;}
  .site-actions #vipNav,.site-actions .beta-label,.site-actions #motionToggle{display:none;}
  .site-actions #accountBtn{max-width:112px;min-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;padding:8px 10px;border-color:#824b76;}
  .sidebar{display:block;position:fixed;top:0;bottom:0;left:0;z-index:52;height:100dvh;width:min(86vw,332px);max-width:332px;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-105%);transition:transform .25s ease;background:#1f1027;box-shadow:10px 0 40px #0009;visibility:hidden;}
  .sidebar.open{display:block;transform:translateX(0);visibility:visible;}
  .sidebar-close-mobile{display:flex;margin-left:auto;justify-content:center;align-items:center;border:1px solid #a14c80;border-radius:12px;background:#3a2042;font-size:27px;width:42px;height:42px;flex-shrink:0;color:#ffe8f8;cursor:pointer;}
  .sidebar .brand{font-size:25px;gap:6px;}
  .sidebar .brand-heart{font-size:42px;}
  .sidebar .brand-caption{margin-bottom:24px;}
  .mobile-drawer-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:50;background:rgba(10,3,17,.7);backdrop-filter:blur(3px);}
  body.mobile-drawer-open{overflow:hidden;}
  .discover-page{padding:12px 11px calc(112px + env(safe-area-inset-bottom,0px));min-width:0;}
  .hero-carousel{height:495px;min-height:495px;border-radius:20px;}
  .hero-person-image{height:78%;width:100%;top:0;object-position:center 28%;}
  .hero-shade{background:linear-gradient(0deg,#210d29 0%,#210d29f5 27%,#210d29d9 48%,#210d2973 75%,transparent 100%);}
  .hero-copy{bottom:59px;left:20px;right:20px;}
  .hero-copy h1{font-size:clamp(30px,8.6vw,42px);line-height:1.08;margin:9px 0;}
  .hero-copy p{font-size:12px;line-height:1.42;max-width:100%;margin:9px 0 15px;}
  .hero-actions{flex-wrap:wrap;gap:8px;}
  .home-primary,.home-secondary{min-height:44px;}
  .hero-arrow{width:44px;height:44px;top:28%;}
  .hero-prev{left:8px}.hero-next{right:8px}
  .hero-count{right:12px;bottom:14px;}
  .hero-dots{bottom:17px;gap:8px;}
  .hero-dot{height:10px;width:10px;}
  .feature-strip{margin:12px 0 26px;}
  .feature-strip>div{min-height:65px;padding:12px 9px;}
  .featured-shelf{scroll-padding-left:3px;}
  .home-companion-card{flex-basis:min(50vw,185px);}
  .home-companion-card.compact{min-width:0;aspect-ratio:.73;}
  .explore-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));}
  .explore-section{scroll-margin-top:78px;}
  .mood-choices{display:flex;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;width:100%;padding:4px 0;}
  .mood-choices::-webkit-scrollbar{display:none;}
  .mood-chip{flex:0 0 auto;min-height:43px;}
  .explore-filters{gap:8px;}
  .explore-filter{min-height:42px;}
  #exploreSearch {min-width:0;font-size:16px;}
  .explore-toolbar{margin:15px 0;}
  .vip-home-banner{margin-bottom:12px;}
  .mobile-bottom-nav{display:flex;justify-content:space-around;position:fixed;bottom:0;left:0;right:0;z-index:28;min-height:62px;padding:5px 9px calc(5px + env(safe-area-inset-bottom,0px));border-top:1px solid #79436b;background:rgba(32,14,39,.97);box-shadow:0 -6px 24px #110719aa;backdrop-filter:blur(16px);}
  .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-width:0;gap:1px;background:transparent;border:0;border-radius:12px;color:#bba0c3;min-height:50px;font-weight:750;}
  .mobile-tab span{font-size:24px;line-height:1.1;}
  .mobile-tab small{font-size:10px;letter-spacing:.1px;}
  .mobile-tab.active{color:#ff85c9;background:#42223e;}
  body.view-chat .mobile-bottom-nav{display:none;}
  .main-grid{min-height:calc(100dvh - 62px);padding:8px 7px;}
  .chat-panel{height:calc(100dvh - 80px - env(safe-area-inset-top,0px));max-height:none;min-height:440px;border-radius:17px;}
  .conversation{min-height:100px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
  .back-discover{min-height:41px;margin:8px 0 0 10px;}
  .companion-header{padding:10px;gap:8px;min-height:79px;}
  .companion-title{min-width:0;}
  .companion-title h1{font-size:21px;}
  .companion-title p{font-size:11px;line-height:1.3;}
  .change-btn{font-size:10px;padding:8px 6px;min-height:40px;max-width:97px;white-space:normal;}
  .info-banner{padding:9px 12px;}
  .memory-row{padding:9px 12px;gap:9px;flex-wrap:wrap;}
  .memory-row div:first-child{flex:1 1 165px;}
  .memory-row .text-link{margin-left:auto;min-height:34px;}
  .composer{padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));}
  .composer textarea{font-size:16px;min-height:45px;}
  .composer-tools{flex-wrap:wrap;}
  .composer-tip{font-size:10px;}
  .send-button{min-height:45px;padding:12px;}
  .modal-backdrop{z-index:120;padding:0;align-items:flex-end;overscroll-behavior:contain;}
  .modal{width:100%;max-width:none;max-height:calc(94dvh - env(safe-area-inset-top,0px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:24px 24px 0 0;padding:23px 19px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -22px 60px #000a;}
  .modal h2{font-size:24px;margin:13px 0 6px;}
  .modal-icon{font-size:39px;}
  .modal-sub{margin-bottom:15px;}
  .vip-features{gap:8px;}
  .vip-features>div{padding:11px 12px;}
  .vip-note{margin-top:12px;}
  .modal input:not([type=checkbox]),.modal textarea{font-size:16px;}
  .toast{bottom:calc(74px + env(safe-area-inset-bottom,0px));z-index:130;}
  body.view-chat .toast{bottom:20px;}
}
@media(max-width:355px){.site-actions #accountBtn{max-width:84px;font-size:10px}.site-header{gap:5px;padding-inline:6px}.mobile-nav-label{font-size:13px}.hero-copy{left:16px;right:16px}.hero-copy h1{font-size:30px}.hero-carousel{height:505px;min-height:505px}.hero-copy p{font-size:11px}.home-primary,.home-secondary{font-size:10px;padding:9px}.feature-strip>div{grid-template-columns:22px 1fr}.feature-strip span{font-size:16px}.feature-strip strong{font-size:10px}.feature-strip small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}.mobile-bottom-nav{backdrop-filter:none}}

/* Installable PWA prompt: small mobile banner, only shown on phones in browsers. */
.pwa-install-banner[hidden],.pwa-install-action[hidden]{display:none!important}
.pwa-install-banner{display:flex;align-items:center;gap:12px;margin:18px 0 20px;padding:13px 15px;border:1px solid rgba(250,143,211,.30);border-radius:16px;background:linear-gradient(125deg,rgba(94,29,94,.68),rgba(42,16,47,.90));box-shadow:0 9px 24px rgba(9,3,15,.22);color:#ffeafa}
.pwa-install-mark{width:44px;height:44px;flex:0 0 44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(140deg,#a6378b,#e743a4);font-size:29px;color:white}
.pwa-install-copy{flex:1;min-width:0}.pwa-install-copy strong{font-size:14px;line-height:1.3}.pwa-install-copy p{font-size:12px;line-height:1.45;color:#edcce5;margin:3px 0 0}
.pwa-install-action{border:0;border-radius:10px;background:#e948a3;color:#fff;padding:10px 12px;font-weight:700;cursor:pointer;white-space:nowrap}
.pwa-install-dismiss{align-self:flex-start;background:none;border:0;color:#edc9e0;font-size:24px;cursor:pointer;line-height:1;padding:0 2px}
@media(max-width:420px){.pwa-install-banner{margin:12px 0 16px;padding:12px;gap:9px}.pwa-install-mark{width:38px;height:38px;flex-basis:38px;font-size:25px}.pwa-install-copy strong{font-size:13px}.pwa-install-copy p{font-size:11px}}


/* Lovoravip — detailed fictional companion profiles */
.profile-view-trigger{display:block;width:100%;border:0;border-top:1px solid #5e3055;background:linear-gradient(110deg,#432040,#2b1933);padding:11px 24px;color:#ffc4e7;font-size:13px;font-weight:750;text-align:left;letter-spacing:.15px;transition:background .18s ease}
.profile-view-trigger:hover,.profile-view-trigger:focus-visible{background:#5d2c53;outline-color:#ffb0dc}
.profile-card-info{width:100%;margin:0 0 10px;padding:11px;border:1px solid #c17ca9;border-radius:14px;color:#ffe1f2;background:#713354;font-size:13px;font-weight:700}
.profile-card-info:hover{background:#8e3c67}
.companion-profile-modal{max-width:570px;width:min(100%,570px);max-height:min(90dvh,850px);overflow-y:auto;padding:25px 26px 23px;border-radius:26px;box-shadow:0 30px 100px #09020fcc}
.cp-overview{display:flex;align-items:center;gap:17px;padding-right:24px}
.cp-overview img{width:92px;height:110px;flex:none;border:2px solid #a74b87;border-radius:19px;object-fit:cover;background:#3c2642}
.cp-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#fbaed8;margin:0 0 8px}
.cp-overview h2{font-size:28px;line-height:1.1;letter-spacing:-1px;margin:0 0 5px}
.cp-overview p:last-child{font-size:13px;color:#d0b6d1;margin:0;line-height:1.5}
.cp-bio{font-size:13px;line-height:1.6;color:#e5cee6;margin:17px 0 18px}
.cp-section{border:1px solid #68416c;border-radius:18px;padding:14px 15px;margin:10px 0;background:#39213e}
.cp-section-heading{display:flex;gap:10px;align-items:center;margin:0 0 11px}
.cp-section-heading>span{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:10px;background:#633257;color:#ffc7e5;font-size:18px}
.cp-section h3{margin:0;font-size:14px;letter-spacing:.1px}
.cp-section h3 small{font-size:11px;color:#d6acc1;font-weight:500}
.cp-hobbies{display:flex;flex-wrap:wrap;gap:7px}
.cp-hobbies span{display:inline-block;border:1px solid #9a558c;border-radius:100px;background:#532c52;padding:7px 10px;font-size:12px;color:#ffe0ee;line-height:1.25}
.cp-traits{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.cp-traits li{position:relative;padding-left:17px;font-size:12.5px;line-height:1.4;color:#ead5eb}
.cp-traits li::before{content:'✦';position:absolute;top:0;left:0;color:#f0a7d2;font-size:11px}
.cp-green{background:#20372f;border-color:#3f7463}.cp-green .cp-section-heading>span{background:#355d4d;color:#bdeed1}.cp-green .cp-traits li::before{color:#9ee4b9}
.cp-red{background:#422735;border-color:#956173}.cp-red .cp-section-heading>span{background:#704257;color:#ffbed1}.cp-red .cp-traits li::before{color:#ffb7c8}
.cp-disclosure{font-size:11px;line-height:1.45;color:#baa5bf;margin:12px 2px}
.cp-chat{width:100%;padding:13px 15px}
.home-profile-link{border:0;background:transparent;color:#ffd1eb;text-decoration:underline;text-decoration-color:#d67fb1;text-underline-offset:4px;font-size:12px;font-weight:650;padding:10px 3px 3px;margin-top:9px;text-align:left;cursor:pointer}
.home-profile-link:hover{color:#fff}
@media(max-width:760px){.profile-view-trigger{padding:9px 13px;font-size:12px}.companion-profile-modal{padding:20px 16px;max-height:calc(100dvh - 26px)}.cp-overview img{height:92px;width:78px;border-radius:15px}.cp-overview h2{font-size:24px}.cp-overview{gap:11px}.cp-section{padding:12px}.home-profile-link{font-size:12px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){.profile-view-trigger{transition:none}}

.home-footer .about-link{color:#f694cd;text-decoration:underline;text-underline-offset:3px}

/* V9: visible brand overlay on every discover card, including compact gallery. */
.home-companion-card > .home-card-top { display:block !important; visibility:visible !important; opacity:1 !important; position:absolute; z-index:10; top:8px; right:8px; left:auto; max-width:calc(100% - 16px); box-sizing:border-box; white-space:nowrap; font-size:clamp(8px,1.1vw,11px); letter-spacing:.4px; font-weight:850; line-height:1.2; color:#fff; background:#38142e; border:1px solid #df8bbd; padding:5px 7px; border-radius:20px; pointer-events:none; }
@media(max-width:760px){.home-companion-card > .home-card-top{top:5px;right:5px;max-width:calc(100% - 10px);font-size:8px;letter-spacing:0;padding:4px 5px;}}
