.v-wrap{color:#edf2ff;padding-bottom:55px}.v-wrap *{box-sizing:border-box}.v-workspace{margin:30px 0 48px;border-radius:24px;border:1px solid #34496c;background:linear-gradient(180deg,#111b35,#0d162e);overflow:hidden}.v-top{padding:17px 24px;background:#0e1934;border-bottom:1px solid #34496c;display:flex;align-items:center;gap:16px;font-size:12px;font-weight:900;letter-spacing:2px;color:#b7ceff}.v-dots{display:flex;gap:8px}.v-dots i{width:12px;height:12px;border-radius:50%;background:#f37389}.v-dots i:nth-child(2){background:#f7be55}.v-dots i:nth-child(3){background:#43cdb1}.v-topright{margin-left:auto;color:#75ecc9;white-space:nowrap}.v-inner{padding:32px 38px 40px}.v-eyebrow{font-size:12px;letter-spacing:2px;color:#c4abff;font-weight:900;margin:0 0 13px}.v-wrap h1{font-size:clamp(32px,4.5vw,58px);letter-spacing:-1.8px;line-height:1.13;margin:0 0 14px}.v-intro{font-size:17px;color:#b8c9e6;line-height:1.78;max-width:950px;margin:0 0 27px}.v-count-panel{border:1px solid #684a86;background:radial-gradient(circle at 95% 15%,#53284f,#231936 54%,#16223d);border-radius:22px;padding:26px}.v-counthead,.v-countfoot{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.v-counthead h2{font-size:clamp(24px,3vw,36px);margin:0 0 6px}.v-counthead p:last-child{margin:0;color:#d1c5df;font-size:13px}.v-heart{font-size:61px;color:#f391b4;text-shadow:0 0 28px #ff6c9f99}.v-timer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:21px 0}.v-timer>div{text-align:center;border-radius:15px;border:1px solid #745584;background:#211933c9;padding:20px 10px}.v-timer strong{font-size:clamp(29px,4vw,48px);line-height:1.2;display:block;color:#fff}.v-timer span{font-size:12px;color:#dcc5e7}.v-countfoot{color:#e8c9de;font-size:14px}.v-divider{border-top:1px solid #3e5071;margin:33px 0}.v-section-title{margin:0 0 22px;font-size:clamp(24px,3vw,31px)}.v-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.v-field{display:flex;flex-direction:column;gap:8px;min-width:0}.v-field label{font-size:15px;font-weight:800;color:#fff}.v-field select,.v-field input,.v-field textarea,.v-sharebox input{width:100%;min-width:0;border:1px solid #4a6085;border-radius:14px;background:#0b1631;color:#f5f6ff;font:inherit;font-size:16px;padding:14px 15px;min-height:53px;outline:none;resize:vertical}.v-field textarea{min-height:86px}.v-field input:focus,.v-field textarea:focus,.v-field select:focus,.v-sharebox input:focus{border-color:#b38cff;box-shadow:0 0 0 3px #9473d633}.v-wide{grid-column:1/-1}.v-buttonbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.v-primary,.v-outline{font-size:14px;font-weight:800;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;padding:13px 18px;border-radius:12px;min-height:48px;text-decoration:none;transition:filter .2s,transform .2s;color:#fff}.v-primary{border:0;background:linear-gradient(110deg,#526aff,#973bed);box-shadow:0 12px 24px #7044ca35}.v-outline{border:1px solid #5c6f95;background:#1d2a49}.v-primary:hover,.v-outline:hover{filter:brightness(1.1);transform:translateY(-1px)}.v-primary:disabled,.v-outline:disabled{opacity:.65;cursor:not-allowed}.v-quota{margin-left:auto;font-size:12px;font-weight:750;background:#19352d;color:#a5efd7;border:1px solid #3d866b;border-radius:12px;padding:13px}.v-notice{min-height:1.4em;color:#a6ecdb;font-size:13px;margin:12px 0 0;line-height:1.6}.v-notice.error{color:#ffbfc3}.v-output[hidden],.v-sharebox[hidden]{display:none!important}.v-resultgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.v-editpanel,.v-cardpanel{background:#15213b;border:1px solid #344e75;border-radius:20px;padding:20px;min-width:0}.v-editbox{min-height:220px!important}.v-muted{font-size:12px;line-height:1.7;color:#b6c6e1}.v-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.v-smallbar{gap:8px}.v-smallbar button,.v-smallbar a{min-height:43px;padding:10px 12px;font-size:12px}.v-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;margin-bottom:13px}.v-preview-head span{color:#acbddd;font-size:12px}.v-card{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:17px;overflow:hidden;border-radius:21px;padding:28px 23px;min-height:375px;color:#542e51;text-align:center;overflow-wrap:anywhere;background:linear-gradient(135deg,#ffebf2,#f3dbf6)}.v-card h3{font-family:Georgia,serif;font-size:clamp(25px,3.1vw,39px);line-height:1.2;margin:0;color:inherit}.v-card p{max-width:100%;font-family:Georgia,serif;font-size:clamp(14px,1.6vw,18px);line-height:1.65;white-space:pre-wrap;margin:0;color:inherit}.v-card span{font-size:14px;font-weight:800}.v-card .v-sparks{font-size:24px;letter-spacing:12px;color:inherit}.v-card-heart{font-size:38px;animation:v-pulse 2.4s ease-in-out infinite}.v-card.violet{color:#fbe9ff;background:linear-gradient(140deg,#281643,#6a2e7a)}.v-card.gold{color:#613b2c;background:linear-gradient(130deg,#fff5dc,#f8cdb4)}.v-card.pink{color:#72324f;background:linear-gradient(135deg,#ffe1ed,#f8a8c6)}.v-card.blue{color:#e8f7ff;background:linear-gradient(140deg,#14234a,#375991)}.v-card[data-font="sans"] h3,.v-card[data-font="sans"] p{font-family:Arial,sans-serif}.v-card[data-format="story"]{max-width:310px;min-height:475px;margin:auto}.v-card[data-format="wide"]{min-height:245px}.v-card.v-reveal{animation:v-reveal .75s ease-out both}.v-card #v-confetti{pointer-events:none;position:absolute;inset:0;z-index:5}.v-card #v-confetti i{position:absolute;top:-10%;width:8px;height:13px;display:block;background:#fff;opacity:.9;animation:v-confetti 2.4s linear forwards}@keyframes v-pulse{50%{transform:scale(1.09)}}@keyframes v-reveal{from{opacity:.3;transform:translateY(15px) scale(.94)}to{opacity:1;transform:none}}@keyframes v-confetti{to{top:110%;transform:translateX(40px) rotate(720deg);opacity:0}}.v-sharebox{padding:15px;background:#101a32;border:1px solid #566b90;border-radius:14px;margin-top:16px}.v-sharebox label{font-size:13px;font-weight:750}.v-sharebox input{margin-top:10px}.v-sharebox p{color:#b4c2da;font-size:12px;line-height:1.6}.v-information,.v-faq,.v-related{margin:45px auto;max-width:1060px}.v-information h2,.v-faq h2,.v-related h2{font-size:clamp(26px,3vw,36px);margin:6px 0 18px}.v-information h3{margin:26px 0 10px;font-size:23px}.v-information p,.v-faq p{font-size:15px;color:#c3d1ea;line-height:1.85}.v-guide-note{background:#1c2b45;border:1px solid #4d648a;border-radius:15px;padding:19px;color:#d9e5fa;font-size:13px;line-height:1.8;margin-top:23px}.v-faq{border-radius:20px;padding:24px;background:#151f36;border:1px solid #34496c}.v-faq details{border-top:1px solid #3d4d6a;padding:17px 0}.v-faq summary{font-weight:850;font-size:15px;cursor:pointer}.v-faq details p{margin-bottom:0}.v-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.v-related-grid a{display:flex;min-width:0;flex-direction:column;gap:12px;padding:22px;background:#151f35;border:1px solid #3c4f6b;border-radius:18px;color:#eef3ff}.v-related-grid a:hover{border-color:#bd9cf9}.v-related-grid strong{font-size:18px}.v-related-grid p{font-size:14px;line-height:1.65;color:#b8c8e2;margin:0;flex:1}.v-related-grid em{color:#cbb7ff;font-size:14px;font-style:normal;font-weight:850}.v-icon{display:grid;place-items:center;width:48px;height:48px;background:#302760;border-radius:12px;color:#ebccff;font-size:24px}
@media(max-width:850px){.v-resultgrid{grid-template-columns:1fr}.v-card{max-width:650px;margin:0 auto;width:100%}.v-wrap{width:min(100% - 26px,1100px)}}@media(max-width:650px){.v-inner{padding:22px 15px 26px}.v-top{padding:13px 14px;font-size:9px;letter-spacing:1px}.v-topright{font-size:9px}.v-workspace{border-radius:18px}.v-fields,.v-controls,.v-related-grid{grid-template-columns:1fr}.v-wide{grid-column:auto}.v-count-panel{padding:17px}.v-timer{gap:6px}.v-timer>div{padding:15px 4px}.v-timer strong{font-size:27px}.v-counthead h2{font-size:26px}.v-buttonbar .v-primary,.v-buttonbar .v-outline{flex:1 1 auto}.v-quota{margin-left:0;width:100%;text-align:center}.v-editpanel,.v-cardpanel{padding:15px}.v-information,.v-faq,.v-related{margin:35px 0}.v-faq{padding:16px}.v-section-title{font-size:23px}}@media(prefers-reduced-motion:reduce){.v-card-heart,.v-card.v-reveal,.v-card #v-confetti i{animation:none!important}.v-primary,.v-outline{transition:none!important}}

/* Countdown-first layout: keep a semantic H1 for accessibility without a visual hero. */
.v-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.v-countdown-first{padding-top:24px}
.v-countdown-first>.v-count-panel{margin-top:0}
@media(max-width:650px){.v-countdown-first{padding-top:16px}}

/* Compact first-screen countdown: leave room to introduce the message form. */
.v-inner.v-countdown-first{padding-top:15px}
.v-countdown-first .v-count-panel{padding:16px 22px;border-radius:19px}
.v-countdown-first .v-counthead h2{font-size:clamp(23px,2.6vw,32px);margin-bottom:2px}
.v-countdown-first .v-counthead .v-eyebrow{margin-bottom:6px}
.v-countdown-first .v-counthead p:last-child{font-size:12px}
.v-countdown-first .v-heart{font-size:46px}
.v-countdown-first .v-timer{gap:10px;margin:13px 0}
.v-countdown-first .v-timer>div{padding:10px 7px;border-radius:12px}
.v-countdown-first .v-timer strong{font-size:clamp(27px,3.3vw,39px)}
.v-countdown-first .v-countfoot{font-size:12px}
.v-countdown-first .v-countfoot .v-outline{min-height:40px;padding:9px 14px}
.v-countdown-first .v-divider{margin:18px 0}
.v-countdown-first .v-section-title{font-size:clamp(22px,2.6vw,29px);margin-bottom:15px}
@media(max-width:650px){.v-inner.v-countdown-first{padding-top:12px}.v-countdown-first .v-count-panel{padding:14px}.v-countdown-first .v-timer{gap:6px;margin:12px 0}.v-countdown-first .v-timer>div{padding:10px 2px}.v-countdown-first .v-timer strong{font-size:26px}.v-countdown-first .v-counthead h2{font-size:26px}.v-countdown-first .v-heart{font-size:34px}.v-countdown-first .v-divider{margin:15px 0}}

/* Inline Valentine card editor: only preview and share actions remain. */
.v-output .v-cardpanel-full{width:100%;max-width:900px;margin:0 auto;padding:clamp(14px,2.6vw,28px)}
.v-output .v-cardpanel-full .v-card{width:100%;max-width:100%;min-height:410px;padding:clamp(24px,4vw,48px);margin:0 auto}
.v-output .v-cardpanel-full .v-card #v-card-message{width:100%;max-width:760px;min-height:120px;max-height:none;padding:12px 14px;border:1px dashed transparent;border-radius:12px;outline:none;cursor:text;transition:background .2s,border-color .2s;font-family:Georgia,serif;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}
.v-output .v-cardpanel-full .v-card #v-card-message:hover{background:rgba(255,255,255,.1);border-color:currentColor}
.v-output .v-cardpanel-full .v-card #v-card-message:focus{border:1px dashed currentColor;background:rgba(255,255,255,.13);box-shadow:0 0 0 3px rgba(151,89,190,.14)}
.v-output .v-cardpanel-full .v-card #v-card-message:empty:before{content:'Click here to write your Valentine message';opacity:.65}
.v-output .v-edit-help{margin:0 0 14px;color:#cad5ee;font-size:13px;line-height:1.6}
.v-output .v-edit-help strong{color:#fff}
.v-output .v-save-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px}
.v-output #v-save{min-width:150px}
.v-output #v-edit-status{color:#9ce3c8;font-size:13px;line-height:1.5}
.v-output #v-edit-status.is-dirty{color:#ffdea5}
.v-output .v-bottom-actions{margin-top:18px}
.v-output .v-bottom-actions #v-preview,.v-output .v-bottom-actions #v-share{padding:12px 24px;font-size:14px;min-width:150px}
.v-preview-modal[hidden]{display:none!important}
.v-preview-modal{position:fixed;inset:0;z-index:99999;background:rgba(4,8,25,.88);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:clamp(14px,4vw,38px)}
.v-modal-panel{width:min(100%,900px);background:#131e38;border:1px solid #51658d;border-radius:22px;padding:clamp(16px,3vw,26px);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.v-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v-modal-head h2{font-size:clamp(21px,3vw,30px);color:#fff;margin:0}
.v-modal-panel #v-modal-card-holder{margin-top:14px}
.v-modal-panel .v-card{width:100%;max-width:100%;min-height:430px;padding:clamp(22px,4vw,54px);margin:auto}
.v-modal-panel .v-card [contenteditable]{cursor:default!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.v-modal-open{overflow:hidden}
@media(max-width:650px){.v-output .v-cardpanel-full .v-card{min-height:330px;padding:22px 17px}.v-output .v-bottom-actions{display:grid;grid-template-columns:1fr 1fr}.v-output .v-bottom-actions #v-preview,.v-output .v-bottom-actions #v-share{min-width:0;padding:12px 8px;font-size:13px}.v-modal-head{flex-wrap:wrap}.v-modal-panel .v-card{min-height:340px}}


/* Compact the editor card so Save, Preview and Share are visible earlier. */
.v-output .v-cardpanel-full .v-card {
  height: 355px;
  min-height: 0;
  max-height: 355px;
  padding: 16px 24px;
  gap: 6px;
}
.v-output .v-cardpanel-full .v-card .v-sparks {font-size:18px;line-height:1.2;letter-spacing:8px;flex:0 0 auto}
.v-output .v-cardpanel-full .v-card .v-card-heart {font-size:23px;line-height:1.1;flex:0 0 auto}
.v-output .v-cardpanel-full .v-card h3 {font-size:clamp(21px,2.6vw,31px);line-height:1.13;flex:0 0 auto}
.v-output .v-cardpanel-full .v-card #v-card-message {
  display:block;
  flex:1 1 auto;
  height:auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#9c7099 transparent;
  padding:7px 12px;
  line-height:1.45;
  font-size:clamp(13px,1.45vw,17px);
  overflow-wrap:anywhere;
}
.v-output .v-cardpanel-full .v-card #v-card-message:focus {scrollbar-width:auto}
.v-output .v-cardpanel-full .v-card #v-card-sign {font-size:12px;flex:0 0 auto}
.v-output .v-cardpanel-full {padding:18px}
.v-output .v-cardpanel-full .v-edit-help {margin-bottom:8px}
.v-output .v-save-row {margin-top:10px}
.v-output .v-bottom-actions {margin-top:9px}
@media(max-width:650px) {
  .v-output .v-cardpanel-full .v-card {height:320px;min-height:0;max-height:320px;padding:14px 14px;gap:5px}
  .v-output .v-cardpanel-full .v-card h3 {font-size:clamp(20px,5vw,27px)}
  .v-output .v-cardpanel-full .v-card #v-card-message {font-size:14px;line-height:1.42;padding:6px 8px}
  .v-output .v-cardpanel-full {padding:13px}
}
