/* VividlyHER: the hand-drawn logo (Nov 15). Goes with vh-hand-logo.js. No pill shapes (Becky's rule): 6px corners, like the rest of the studio. */

/* ---------- her logo, wherever it shows ---------- */
.lg.lg-hd{display:inline-flex;align-items:center;gap:.42em;line-height:1;max-width:100%;vertical-align:middle}
.lg-hd .lg-t{display:inline-flex;flex-direction:column;align-items:flex-start;min-width:0}
.lg-hd-top{flex-direction:column;gap:.3em}
.lg-hd-top .lg-t,.lg-hd-none .lg-t{align-items:center}
.lg-hd-n{display:block;flex:none;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.lg-hd-n-wait{font:400 1.6em/1.1 'Great Vibes',cursive;color:var(--c1);height:auto;width:auto;white-space:nowrap}
.lg-hd-s{flex:none;display:block;font-style:normal;width:calc(2.4em * var(--hd-es,1));height:calc(2.4em * var(--hd-es,1))}
.lg-hd-top .lg-hd-s{width:calc(2.3em * var(--hd-es,1));height:calc(2.3em * var(--hd-es,1))}
.lg-hd-s svg{display:block;width:100%;height:100%}
.lg-hd-sm{-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.lg-hd .lg-hd-tag{display:block;margin-top:.42em;font-weight:500;font-size:.48em;line-height:1.1;letter-spacing:.24em;text-transform:uppercase;opacity:1;white-space:nowrap}
/* in her site's header: the drawing needs a little more room than typed letters, but never more than the bar */
.her .site nav .lg-home .lg-hd{font-size:.86em}
.her .site nav .lg-home .lg-hd-top{font-size:.78em}
.her .site nav .lg-home .lg-hd .lg-hd-tag{letter-spacing:.24em}

/* ---------- the maker ---------- */
.hd-lede{margin:2px 0 4px;font:400 14px/1.5 var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341}
.hd-field{display:block}
.hd-field .lk-h{display:block}
.hd-field .lg-in,.hd-own .lg-in{width:100%;box-sizing:border-box;border:1px solid #ecdcd2;border-radius:8px;padding:10px 12px;font:16px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426;background:#fff;min-height:44px}
.hd-field .lg-in:focus,.hd-own .lg-in:focus{outline:2px solid rgba(181,27,91,.35);outline-offset:1px;border-color:#b51b5b}
.hd-feels{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hd-feels button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:84px;border:1px solid #ecdcd2;border-radius:10px;background:#fff;padding:10px 8px 9px;cursor:pointer;color:#321426;overflow:hidden}
.hd-feels button b{font-weight:400;font-size:30px;line-height:1.1;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.hd-feels button span{font:500 12px var(--sans,'DM Sans',system-ui,sans-serif);color:#6b5260}
.hd-feels button.on{border-color:#321426;box-shadow:0 0 0 1px #321426;background:#fffaf6}
.hd-feels button:focus-visible,.hd-sw button:focus-visible,.hd-pick:focus-within{outline:2px solid #b51b5b;outline-offset:2px}
.hd-ideas{margin-top:8px}
.hd-err{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#fbe6ee;color:#7a1640;font:500 13px/1.45 var(--sans,'DM Sans',system-ui,sans-serif)}
.hd-left{margin-top:14px}
.hd-left .lg-done{font-size:12.5px}
.hd-drawing{margin:14px 0 10px;font:500 13px/1.45 var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341}
.hd-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-top:8px}
.hd-card{position:relative;display:flex;flex-direction:column;border:1px solid #ecdcd2;border-radius:10px;background:#fff;overflow:hidden}
.hd-card.on{border-color:#321426;box-shadow:0 0 0 1px #321426}
.hd-try{position:relative;display:grid;place-items:center;width:100%;min-height:150px;padding:22px 14px;border:0;background:var(--c2,#f6ece9);cursor:pointer;font-size:19px;overflow:hidden}
.hd-try .lg{max-width:none}
.hd-this{border:0;border-top:1px solid #ecdcd2;background:#fff;padding:11px 6px;min-height:42px;font:600 13px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426;cursor:pointer}
.hd-this:hover{background:#fbe6ee;color:#b51b5b}
.hd-try:focus-visible,.hd-this:focus-visible{outline:2px solid #b51b5b;outline-offset:-2px}
.hd-wait .hd-try{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#f6ece9;cursor:default}
.hd-wait .hd-try i{display:block;height:12px;width:70%;border-radius:4px;background:linear-gradient(90deg,#efdfe2 0%,#fff6f3 50%,#efdfe2 100%);background-size:200% 100%;animation:hdShim 1.4s linear infinite}
.hd-wait .hd-try i+i{width:40%;height:8px}
@keyframes hdShim{from{background-position:200% 0}to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.hd-wait .hd-try i{animation:none}}
/* the soft mark on previews only (never on her site) */
.hd-wm{position:absolute;inset:0;pointer-events:none;opacity:.45;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='70'%3E%3Ctext x='8' y='42' transform='rotate(-18 75 35)' font-family='DM Sans,Arial,sans-serif' font-size='11' letter-spacing='1.5' fill='%23ffffff' fill-opacity='.75'%3EVIVIDLYHER PREVIEW%3C/text%3E%3Ctext x='8' y='43' transform='rotate(-18 75 35)' font-family='DM Sans,Arial,sans-serif' font-size='11' letter-spacing='1.5' fill='%23321426' fill-opacity='.18'%3EVIVIDLYHER PREVIEW%3C/text%3E%3C/svg%3E");background-repeat:repeat}
.hd-mark{margin-top:8px}
.hd-pos{margin:0 0 4px}
.hd-again{margin-top:14px;padding-top:4px;border-top:1px solid #ecdcd2}
.hd-own{display:flex;gap:8px;margin-top:10px;align-items:stretch}
.hd-own .lg-in{flex:1;min-width:0}
.hd-own .lg-more{flex:none}
.hd-older{margin-top:16px;border-top:1px solid #ecdcd2;padding-top:10px}
.hd-older summary{cursor:pointer;font:600 13px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426;padding:6px 0;min-height:32px}
.hd-stage{font-size:22px;min-height:120px}
.hd-colrow{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.hd-colrow>span{flex:0 0 76px;font:500 12.5px var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341}
.hd-sw{display:flex;flex-wrap:wrap;gap:6px}
.hd-sw button,.hd-pick{position:relative;width:34px;height:34px;border-radius:8px;border:1px solid #ecdcd2;background:#fff;padding:4px;cursor:pointer;display:grid;place-items:center;box-sizing:border-box}
.hd-sw button i,.hd-pick i{display:block;width:100%;height:100%;border-radius:5px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.hd-sw button.on,.hd-pick.on{border-color:#321426;box-shadow:0 0 0 1px #321426}
.hd-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.hd-slide{display:flex;align-items:center;gap:12px;margin:10px 0 2px;font:500 12.5px var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341}
.hd-slide span{flex:0 0 86px}
.hd-slide input{flex:1;accent-color:#321426;min-height:28px}
.hd-plain{margin-top:8px}
.hd-plain button{font-size:13px}
.hd-keep{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 0 4px}
.hd-files{margin-top:14px;padding:12px 14px;border-radius:10px;background:#f6ece9}
.hd-files .lk-h{margin-top:0}
.hd-files .lg-more{margin-top:10px}
@media (max-width:420px){
  .hd-feels button b{font-size:26px}
  .hd-colrow{flex-wrap:wrap;gap:6px}
  .hd-colrow>span{flex-basis:100%}
  .hd-sw button,.hd-pick{width:40px;height:40px}
}
/* the invitation in the logo studio */
.hd-invite{display:flex;gap:14px;align-items:center;margin:12px 0 4px;padding:14px;border-radius:12px;background:#fff;border:1px solid #ecdcd2}
.hd-invite-n{flex:0 0 38%;max-width:38%;display:grid;place-items:center;min-height:84px;border-radius:8px;background:var(--c2,#f6ece9);color:var(--c1,#b51b5b);font:400 34px/1.1 'Great Vibes',cursive;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 6px}
.hd-invite-h{margin:0;font:600 14px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426}
.hd-invite-p{margin:4px 0 10px;font:400 12.5px/1.45 var(--sans,'DM Sans',system-ui,sans-serif);color:#6b5260}
@media (max-width:420px){.hd-invite{flex-direction:column;align-items:stretch}.hd-invite-n{max-width:none;flex-basis:auto}}
.c-look .hd-stagewrap{top:-14px;padding-top:14px}
@media (max-width:640px){.hd-stage{min-height:0;padding:14px 12px;font-size:16px}}

/* Nov 15: every line its own piece */
.lg-hd-nr{display:inline-flex;align-items:center;flex:none}
.lg-hd-nr.lg-hd-under{flex-direction:column}
.lg-hd-nr .lg-hd-n{will-change:transform}
.hd-tunelede{margin:10px 0 2px}
.hd-line{margin:12px 0 0;padding:14px;border:1px solid #ecdcd2;border-radius:12px;background:#fff}
.hd-line h4{margin:0 0 10px;font:600 14px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426}
.hd-line h4 span{font-weight:400;color:#6b5260;margin-left:6px}
.hd-line .hd-colrow{margin:8px 0}
.hd-line .hd-colrow>span{flex:0 0 52px}
.hd-line .hd-seg{margin:0 0 6px}
.hd-tagin{width:100%;box-sizing:border-box;border:1px solid #ecdcd2;border-radius:8px;padding:10px 12px;font:16px var(--sans,'DM Sans',system-ui,sans-serif);color:#321426;background:#fff;min-height:44px}
.hd-move{margin-top:4px;padding-top:6px;border-top:1px dashed #efe3e8}
.hd-move .hd-slide span{flex-basis:86px}
.hd-back0{margin:4px 0 0}
.hd-pick{border:1px solid #ecdcd2;background:#fff}
/* the VividlyHER color wheel, for one piece */
.hd-wheelbox{margin:2px 0 10px;padding:12px;border-radius:10px;background:#fcf9f3;border:1px solid #efe3e8}
.vw{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.vw-hue{position:relative;width:128px;height:128px;flex:none;border-radius:50%;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);touch-action:none;cursor:crosshair}
.vw-hue:focus-visible{outline:2px solid #b51b5b;outline-offset:3px}
.vw-mid{position:absolute;inset:20px;border-radius:50%;background:#fcf9f3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font:400 11px/1.25 var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341;pointer-events:none}
.vw-mid b{display:block;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.vw-dot{position:absolute;left:calc(50% - 11px);top:calc(50% - 11px);width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#371329;box-shadow:0 1px 4px rgba(0,0,0,.35);pointer-events:none}
.vw-side{flex:1;min-width:150px;display:flex;flex-direction:column;gap:8px}
.vw-rl{display:flex;flex-direction:column;gap:4px;font:500 12px var(--sans,'DM Sans',system-ui,sans-serif);color:#4b3341}
.vw-rl input{width:100%;accent-color:#321426;min-height:24px;border-radius:6px}
.vw-done{align-self:flex-start;font-size:13px}
/* the color wheel button in the free studio (Becky: no pills) */
.lg-wheelbtn{border:1px solid #ecdcd2;background:#fff;border-radius:6px;padding:5px 10px 5px 5px;cursor:pointer}
.lg-wheelbtn i{display:block;width:18px;height:18px;border-radius:50%;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}
