@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--pink:#ae4267;--ink:#472834;--muted:#846d76;--line:#ecdce1;--paper:#fffaf8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.7 'Be Vietnam Pro',Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}header,main,footer{max-width:1200px;margin:auto}header{height:110px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line)}.brand{font-family:'Playfair Display',Georgia,serif;font-size:39px;line-height:1}.brand span{color:var(--pink)}.brand small{font:8px 'Be Vietnam Pro',Arial;letter-spacing:2px;display:block;margin-top:10px}nav{display:flex;gap:32px;align-items:center}nav a{font-size:12px}.quiet{border:1px solid var(--line);background:transparent;border-radius:30px;padding:9px 17px;color:var(--ink)}main{padding:0 36px}.hero{min-height:540px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px;padding:55px 0}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--pink);font-weight:600}h1,h2{font-family:'Playfair Display',Georgia,serif;font-weight:500;line-height:1.23}h1{font-size:64px;letter-spacing:-2px;margin:21px 0}h1 em{color:var(--pink)}h2{font-size:35px;margin:12px 0}h2 span{color:var(--pink)}p{color:var(--muted)}.hero p{font-size:15px;margin:0 0 25px}.button{display:inline-flex;gap:30px;align-items:center;justify-content:center;border:0;background:var(--pink);color:#fff;padding:13px 24px;border-radius:28px;font-weight:500;font-size:12px}.button:hover{background:#903553}.note{font-size:10px;color:var(--muted);margin-top:27px}.art{height:390px;position:relative;background:radial-gradient(ellipse,#f5dce5 10%,#fffaf8 68%);display:flex;align-items:center}.sleeve{z-index:2;width:275px;height:300px;background:linear-gradient(135deg,#efbecd,#efcad4 55%,#d991ad);box-shadow:0 18px 35px #88425d20;transform:rotate(-8deg);padding:22px 25px;margin-left:20px;display:flex;flex-direction:column;justify-content:space-between}.sleeve small{font-size:8px;letter-spacing:3px}.sleeve>span{font-family:'Playfair Display',Georgia;font-size:31px;line-height:1.2}.flower{font:120px/1 Georgia;color:#fff5eb;align-self:center;text-shadow:3px 3px #d58ba6}.record{width:275px;height:275px;border-radius:50%;position:absolute;left:190px;background:repeating-radial-gradient(circle,#3d2a34 0px,#3d2a34 2px,#49313d 3px,#3d2a34 4px);box-shadow:10px 12px 25px #68344720;display:grid;place-items:center}.record div{width:85px;height:85px;border-radius:50%;background:#e6a8be;text-align:center;padding:13px;font:24px/1.25 Georgia}.spark{position:absolute;font-size:45px;color:#be6486}.s1{right:0;top:15px}.s2{left:0;bottom:10px}.artnote{position:absolute;bottom:0;right:30px;font:italic 17px Georgia;transform:rotate(-6deg);color:#a85a77}#collection{padding:20px 0 60px;scroll-margin-top:20px}.section-head{display:flex;justify-content:space-between;align-items:end}.section-head p{font-size:12px}.toolbar{display:flex;justify-content:space-between;gap:20px;margin:25px 0}.tabs{display:flex;gap:6px}.tabs button{border:0;background:transparent;color:var(--muted);padding:10px 18px;border-radius:22px;font-size:12px}.tabs button.active{background:#f5e4e9;color:var(--pink)}input,textarea,select{width:100%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:11px 13px;color:var(--ink)}#search{max-width:270px;border-radius:24px;background:transparent;font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.card{min-width:0}.cover{height:235px;border-radius:12px;background:linear-gradient(130deg,#f2d1dd,#d89bad);position:relative;overflow:hidden;display:grid;place-items:center}.cover img{width:100%;height:100%;object-fit:cover}.cover .symbol{font:100px Georgia;color:#fff5ed}.card:nth-child(3n+2) .cover{background:linear-gradient(135deg,#dfd6e9,#ac9dbe)}.card:nth-child(3n+3) .cover{background:linear-gradient(135deg,#ecd9ce,#cca694)}.play{position:absolute;bottom:16px;right:16px;background:#fffc;border:0;width:44px;height:44px;border-radius:50%;color:var(--pink);font-size:18px}.badge{position:absolute;left:14px;top:14px;background:#fffD;padding:4px 10px;font-size:9px;border-radius:15px}.card h3{font-size:16px;margin:14px 0 3px}.card p{font-size:11px;margin:0}.empty{grid-column:1/-1;text-align:center;padding:50px 20px;border:1px dashed #dfbdcb;border-radius:16px;background:#fdf3f5}.empty b{display:block;font-family:'Playfair Display',Georgia;font-size:26px;font-weight:500}.empty span{display:block;color:var(--muted);margin:10px auto;max-width:480px}.about{display:flex;align-items:center;gap:55px;background:#f7e9ed;border-radius:18px;padding:40px 60px;margin:0 0 55px}.about-flower{font:120px Georgia;color:#b96c87}.about p{max-width:650px;font-size:13px}.signature{font:italic 25px 'Playfair Display',Georgia;color:var(--pink)}footer{padding:25px 36px 35px;display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);color:var(--muted);font-size:11px}footer .brand{font-size:30px}footer small{font-size:10px}dialog{width:min(700px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:35px;color:var(--ink)}dialog::backdrop{background:#30212f80;backdrop-filter:blur(5px)}.close{position:absolute;right:18px;top:12px;border:0;background:none;font-size:28px;color:var(--muted)}label{display:block;font-size:12px;margin:15px 0 5px}label input,label textarea,label select{margin-top:6px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;gap:9px;align-items:center}.check input{width:auto}.studio-head{display:flex;justify-content:space-between;gap:10px;margin:20px 0}.admin-row{padding:13px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.admin-row strong{display:block}.admin-row small{color:var(--muted)}.admin-actions{display:flex;gap:5px}.admin-actions button{padding:7px 10px}.preserve{white-space:pre-wrap}audio,video{width:100%;margin:15px 0;max-height:50vh}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:12px 22px;z-index:10;display:none;max-width:90vw}#status:empty{display:none}button:disabled{opacity:.5;cursor:wait}:focus-visible{outline:3px solid #b96089;outline-offset:3px}[hidden]{display:none!important}hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:850px){h1{font-size:50px}.record{left:110px;width:230px;height:230px}.sleeve{width:230px;height:265px;margin-left:0}.art{height:340px}.grid{gap:15px}.cover{height:190px}}@media(max-width:650px){header{height:90px;padding:0 20px}nav{gap:13px}nav a{display:none}main{padding:0 22px}.hero{grid-template-columns:1fr;padding:35px 0;gap:20px}h1{font-size:51px}.art{width:330px;max-width:100%;margin:auto;height:320px}.sleeve{margin-left:8px;width:215px;height:245px}.record{left:115px;width:210px;height:210px}.section-head{display:block}.section-head p{margin-top:5px}h2{font-size:29px}.toolbar{flex-direction:column;gap:14px}#search{max-width:none}.grid{grid-template-columns:1fr 1fr}.cover{height:165px}.card h3{font-size:14px}.about{padding:28px;gap:0}.about-flower{display:none}footer{padding:25px 22px;flex-wrap:wrap}footer small{width:100%}dialog{padding:28px 20px}.two{grid-template-columns:1fr;gap:0}.admin-row{align-items:start;flex-direction:column}.note{font-size:9px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Mayar: fluid layout and compact, touch-friendly dialogs */
header,main,footer{width:100%;min-width:0}
main{padding-inline:clamp(20px,4vw,36px)}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,35px)}
.hero>div{min-width:0}h1{font-size:clamp(38px,5.1vw,60px)}
.art{width:100%;max-width:470px;aspect-ratio:470/390;height:auto;justify-self:center}
.sleeve{width:58.5%;height:77%;margin-left:4.3%;padding:5%;}
.record{width:58.5%;height:auto;aspect-ratio:1;left:40.4%}
.record div{width:32%;height:auto;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;padding:4%;font-size:clamp(17px,2.2vw,24px)}
.sleeve small{font-size:clamp(6px,.7vw,8px);letter-spacing:2px}
.sleeve>span{font-size:clamp(23px,2.8vw,31px)}
.flower{font-size:clamp(85px,10vw,120px)}
.button,.quiet,.tabs button{min-height:44px}
.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cover{height:auto;aspect-ratio:1.4}
.card h3,.card p,.admin-row strong,.preserve{overflow-wrap:anywhere}
dialog{width:min(700px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:32px;overscroll-behavior:contain}
#admin{width:min(420px,calc(100% - 32px));padding:30px 24px 24px}
#admin.is-owner{width:min(700px,calc(100% - 32px))}
#admin h2{font-size:30px;margin:12px 0 16px;padding-right:20px}
#login p{font-size:13px;line-height:1.65;margin:0 0 20px}
#login label{font-size:13px;margin:14px 0 0}
#login input{height:48px;font-size:16px;padding:10px 12px}
#login>.button{width:100%;min-height:48px;margin-top:16px;font-size:14px;padding:10px 18px}
#adminStatus:empty{display:none}#adminStatus{font-size:13px;overflow-wrap:anywhere}
.close{width:44px;height:44px;right:6px;top:6px;display:grid;place-items:center;padding:0;line-height:1}
input,textarea,select{min-width:0;font-size:16px}input[type=file]{font-size:13px}
.admin-actions{flex-wrap:wrap}.studio-head{flex-wrap:wrap}
@media(max-width:900px){.hero{grid-template-columns:1fr;padding:40px 0 48px;gap:28px}.hero>div:first-child{max-width:620px}.art{max-width:390px}.sleeve>span{font-size:29px}.flower{font-size:110px}.record div{font-size:22px}h1{font-size:clamp(38px,7vw,56px)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about{padding:32px;gap:28px}}
@media(max-width:650px){header{height:auto;min-height:90px;padding:20px;gap:18px;flex-wrap:wrap}.brand{font-size:32px}.brand small{font-size:7px;letter-spacing:1.5px}nav{width:100%;gap:16px;flex-wrap:wrap}nav a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}nav .quiet{margin-left:auto;font-size:12px;padding:8px 13px}.hero{padding-top:30px}h1{letter-spacing:-1.2px}.hero p{font-size:14px}.art{max-width:340px}.sleeve>span{font-size:25px}.flower{font-size:96px}.sleeve small{font-size:6px;letter-spacing:1.5px}.record div{font-size:20px}.artnote{right:6px;font-size:14px}.spark{font-size:34px}.eyebrow{font-size:9px;letter-spacing:2px}.note{font-size:10px}.toolbar{gap:12px}.tabs{flex-wrap:wrap}.tabs button{padding:10px 15px}#search{font-size:16px}.grid{gap:22px 14px}.cover{aspect-ratio:1.1}.about{padding:24px}.about p{font-size:14px}dialog{padding:28px 20px}#admin{padding:28px 20px 22px}footer{gap:14px}.two{grid-template-columns:1fr}.admin-actions button{min-height:44px}#toast{width:max-content;max-width:calc(100% - 32px);bottom:16px}}
@media(max-width:380px){nav{gap:10px}nav .quiet{padding-inline:10px}.grid{grid-template-columns:1fr}.cover{aspect-ratio:1.4}.sleeve>span{font-size:22px}.flower{font-size:82px}.record div{font-size:17px}.hero .button{gap:16px}}

body,h1,h2,h3,button,input,select,textarea{font-family:'Be Vietnam Pro',sans-serif}nav{flex-wrap:wrap}
html[data-theme="dark"]{color-scheme:dark;--cream:#211b24;--pink:#3c2c3b;--ink:#faeaf1;--muted:#ccb7c6;--line:#554152;--rose:#ed9cbd}html[data-theme="dark"] body,html[data-theme="dark"] header,html[data-theme="dark"] footer{background:#211b24;color:#faeaf1}html[data-theme="dark"] .card,html[data-theme="dark"] dialog,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#2d2531;color:#faeaf1;border-color:#554152}html[data-theme="dark"] .hero{background:#352735}html[data-theme="dark"] a{color:inherit}

/* MAYAR homepage header: one-line brand and compact navigation */
header{height:auto;min-height:94px;gap:18px;flex-wrap:nowrap;padding-block:14px}
header>a.brand{flex:0 0 auto;white-space:nowrap;font-size:clamp(27px,3vw,37px);line-height:1.1}
header>a.brand small{white-space:nowrap}
header nav{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:clamp(7px,1.2vw,18px);flex-wrap:nowrap}
header nav a,header nav button{white-space:nowrap;font-size:11px}
header nav .mayar-search-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;background:linear-gradient(135deg,#fbe6ef,#f3d1df);color:#8f3157;border:1px solid #e9b8cb;padding:9px 14px;min-height:42px;font-weight:700;box-shadow:0 4px 15px #ae426714}
header nav .mayar-search-trigger:hover{background:#eec1d3}
header nav .mayar-search-trigger svg{flex:none}
#commandSearch{width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:26px}
#commandSearch form{display:grid;gap:12px}#commandSearch h2{font-size:25px;margin:0}#commandSearch label{display:grid;gap:8px}#commandSearch input{max-width:100%;min-height:46px}#commandSearch form button{min-height:44px;border-radius:12px;border:1px solid var(--line);background:#fff1f5;color:var(--ink)}#commandSearch form button:not([data-close]){background:var(--pink);color:white}
@media(max-width:1180px){header{flex-direction:column;align-items:flex-start;gap:12px}header nav{width:100%;justify-content:flex-start;flex-wrap:wrap}}
@media(max-width:650px){header{padding:17px 20px;min-height:0;gap:12px}header>a.brand{font-size:30px}header nav{gap:8px}header nav a{display:inline-flex;font-size:11px;min-height:36px;align-items:center}header nav .quiet,header nav .mayar-search-trigger{padding:8px 11px;min-height:38px;margin-left:0}}

header .mayar-brand-line{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}header .mayar-heart{font-size:.7em;line-height:1}

label>input,label>textarea,label>select{display:block;margin-top:10px;margin-bottom:5px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none;border-color:var(--pink);box-shadow:0 0 0 3px #ae426733}label{line-height:1.6}input,textarea,select{min-height:44px;max-width:100%}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  box-sizing: border-box;
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1.5px solid #b64d78 !important;
}

input:not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* MAYAR navigation & form correction — 31 Oct 2026 */
header nav .mayar-private-menu{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
header nav .mayar-private-toggle{background:transparent;color:inherit;border:1px solid var(--line,#ead7df);border-radius:999px;padding:10px 16px;min-height:42px;white-space:nowrap;cursor:pointer}
header nav .mayar-private-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:1000;min-width:210px;padding:8px;background:var(--panel,#fff);color:var(--ink,#422d39);border:1px solid var(--line,#ead7df);border-radius:14px;box-shadow:0 12px 35px #13091330;display:none;flex-direction:column;gap:2px}
header nav .mayar-private-menu:hover .mayar-private-panel,header nav .mayar-private-menu:focus-within .mayar-private-panel,header nav .mayar-private-menu.is-open .mayar-private-panel{display:flex}
header nav .mayar-private-panel a{display:block!important;color:inherit!important;text-decoration:none!important;padding:10px 12px;border-radius:9px;font-size:13px;white-space:nowrap}
header nav .mayar-private-panel a:hover,header nav .mayar-private-panel a:focus-visible{background:var(--soft,#f9e8ed)}
header nav{gap:clamp(9px,1.3vw,20px)!important}
header nav>a{white-space:nowrap}
label{line-height:1.5!important}
label>input:not([type=checkbox]):not([type=radio]),label>textarea,label>select{margin-top:14px!important}
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,input:not([type=checkbox]):not([type=radio]):not([type=range]):focus-visible,textarea:focus,textarea:focus-visible,select:focus,select:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:none!important;border:1px solid var(--accent,#b64d78)!important}
@media(max-width:650px){header nav{flex-wrap:wrap!important;gap:8px!important}header nav .mayar-private-panel{right:auto;left:0;max-width:calc(100vw - 32px)}}

/* Improve contrast of dark-mode homepage elements */
html[data-theme="dark"]{--pink:#eea0bf;--ink:#fff0f6;--muted:#e5c9d8;--line:#775b6e;--paper:#211b24;--accent:#eea0bf;--panel:#302633;--soft:#473446}
html[data-theme="dark"] .hero{background:#352735;color:#fff0f6}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .hero h1 em,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .note,html[data-theme="dark"] .brand,html[data-theme="dark"] .mayar-brand-line,html[data-theme="dark"] .mayar-heart{color:#fff0f6!important;opacity:1!important}
html[data-theme="dark"] .hero p,html[data-theme="dark"] p{color:#e5c9d8}
html[data-theme="dark"] .button{background:#b64d78;color:#fff}
html[data-theme="dark"] .mayar-private-panel{background:#302633;color:#fff0f6}
