/* Shared chrome for static, account and server-rendered HouseKeys pages. */
:root{--bg:#101419;--panel:#161c22;--line:#2b353d;--text:#f3f4f2;--muted:#a9b6c2;--accent:#b6ef68}
.site-header.hk-header{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;width:calc(100% - 64px);max-width:1472px;min-height:80px;height:auto;margin:0 auto;padding:0 8px;border:0;border-bottom:1px solid var(--line);background:transparent;font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hk-header .wordmark{display:inline-flex;align-items:center;flex-shrink:0;gap:14px;margin:0;padding:0;font-size:19px;line-height:1;font-weight:900;letter-spacing:.16em;color:var(--text);text-decoration:none;white-space:nowrap}
.hk-header .wordmark .brand-name{color:var(--text)}
.hk-header .wordmark .brand-mark{display:flex;align-items:stretch;flex-shrink:0;width:32px;height:30px;gap:4px;margin:0;padding:0;border:0;border-radius:0;background:transparent;transform:none}
.hk-header .wordmark .brand-mark i{display:block;position:relative;width:8px;height:30px;border-radius:0;background:var(--accent)}
.hk-header .wordmark .brand-mark i:after{content:none}
.hk-header nav{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:24px;width:auto;min-width:0;min-height:0;margin:0 0 0 auto;padding:0}
.hk-header nav>a{position:relative;display:inline-flex;align-items:center;flex-shrink:0;min-height:48px;height:auto;margin:0;padding:27px 0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;white-space:nowrap;text-decoration:none;box-shadow:none}
.hk-header nav>a:hover,.hk-header nav>a[aria-current="page"]{color:var(--text)}
.hk-header nav>a[aria-current="page"]{font-weight:650}
.hk-header nav>a[aria-current="page"]:not(.account-link):after{content:"";position:absolute;left:0;right:0;bottom:17px;height:2px;background:var(--accent)}
.hk-header nav>a.account-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;height:40px;margin-left:8px;padding:0 14px;border:1px solid #46515e;border-radius:8px;color:var(--text);font-size:14px}
.hk-header .account-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hk-header a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.premium-workspace .app-shell>.hk-header{width:100%;max-width:1472px}
.my-chords{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;padding:48px 32px 56px}
.my-head{display:block;margin-bottom:32px}.my-head .eyebrow{margin:0 0 14px;font-size:12px;letter-spacing:.18em;color:var(--muted)}
.my-head h1{font-size:clamp(32px,4vw,56px);line-height:1.12;letter-spacing:-.045em;margin:0 0 20px;font-weight:750}
.my-head .lead{max-width:none;margin:0;font-size:18px;color:var(--muted)}
.my-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.my-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.my-actions a,.my-actions button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 14px;border:1px solid #46515e;border-radius:8px;background:transparent;color:var(--text);text-decoration:none;cursor:pointer;font:600 14px/1.4 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.my-actions a:hover,.my-actions button:hover{background:#202933;border-color:#7a899a}
.my-actions [aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
.my-actions .danger{color:#f0aaaa;border-color:#654348}.my-actions .danger:hover{background:#312024}
.my-actions [hidden]{display:none}
.my-sound{display:grid;gap:6px;min-width:220px;max-width:100%}.my-sound label{font-size:12px;color:var(--muted);margin:0}.my-sound select{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #46515e;border-radius:8px;background:var(--bg);color:var(--text);font:inherit}.my-sound small:empty{display:none}
#myStatus{margin:24px 0 16px;font-size:14px;color:var(--muted)}.my-list{display:grid;gap:12px;margin:0}
.my-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.my-card>div:first-child{min-width:0}.my-card strong{display:block;overflow-wrap:anywhere;font-size:18px;line-height:1.4;color:var(--text)}.my-card small{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
.my-chords :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.pack-studio .pack-toolbar h1{font-family:inherit;font-size:clamp(30px,3.5vw,48px);font-weight:750;line-height:1.12;letter-spacing:-.045em;text-transform:none}
.pack-studio .pack-kicker{font-family:inherit;font-size:11px;letter-spacing:.18em}
@media(max-width:1199px){
 .site-header.hk-header{flex-wrap:wrap;gap:0;min-height:0;padding:20px 8px 0}
 .hk-header nav{width:100%;margin:14px 0 0;gap:24px;overflow:visible}
 .hk-header nav>a{padding:12px 0 16px;min-height:48px}
 .hk-header nav>a[aria-current="page"]:not(.account-link):after{bottom:7px}
 .hk-header nav>a.account-link{position:absolute;top:15px;right:8px;margin:0;padding:0 14px}
}
@media(max-width:740px){
 .site-header.hk-header{width:calc(100% - 32px);padding:20px 0 0}
 .hk-header .wordmark{font-size:17px;gap:10px}
 .hk-header nav{display:flex;justify-content:space-between;gap:8px;margin-top:14px}
 .hk-header nav>a{justify-content:center;min-width:0;font-size:clamp(10px,2.8vw,13px);padding:10px 0 14px}
 .hk-header nav>a.account-link{top:16px;right:0;font-size:13px;padding:0 12px}
 .my-chords{padding:32px 16px 36px}.my-head{margin-bottom:24px}.my-head .lead{font-size:16px}
 .my-toolbar{padding:16px;gap:16px}.my-sound{width:100%;min-width:0}
 .my-card{align-items:stretch;flex-direction:column;gap:18px;padding:20px}.my-card .my-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.my-card .my-actions a,.my-card .my-actions button{font-size:13px;padding:10px 8px}
}
/* Keep the generator's surrounding surface in the shared site palette. */
body.premium-workspace{--bg:#101419;--panel:#161c22;--line:#2b353d;--muted:#a9b6c2;--gold:#b6ef68;--gold2:#d0ff96;background:radial-gradient(ellipse at 50% -30%,#1d2823 0,transparent 55%),var(--bg)}
@media(max-width:740px){.premium-workspace .app-shell{padding-left:16px;padding-right:16px}}
.hk-header .nav-soon{white-space:pre}
@media(max-width:400px){.hk-header .nav-soon{display:none}}


/* The private owner tab has one extra navigation item. */
@media(max-width:1100px){.hk-header nav.vocal-preview-nav{flex-wrap:wrap;justify-content:flex-start;gap:4px 18px}.hk-header nav.vocal-preview-nav>a:not(.account-link){min-height:40px;padding:10px 0}}

/* Site-wide Lifetime offer. Native dialog supplies keyboard focus trapping. */
.hk-discount-popup{box-sizing:border-box;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #535d43;border-radius:22px;padding:34px 28px 24px;background:#171a17;color:#f2f4ec;box-shadow:0 24px 100px #0009;font:16px/1.5 Inter,system-ui,sans-serif;text-align:left}.hk-discount-popup::backdrop{background:#000b;backdrop-filter:blur(5px)}.hk-discount-popup h2{font-size:32px;line-height:1.1;letter-spacing:-1px;margin:10px 24px 18px 0;color:#f5f6f1}.hk-discount-popup p{margin:12px 0}.hk-discount-eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#c5ed76}.hk-discount-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#cbd0c3;font-size:28px;cursor:pointer}.hk-discount-price{display:flex;gap:12px;align-items:baseline}.hk-discount-price s{font-size:20px;color:#959b8e}.hk-discount-price strong{font-size:44px;line-height:1.2;color:#c5ed76;letter-spacing:-2px}.hk-discount-code{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px dashed #6a7954;border-radius:12px;background:#22291d}.hk-discount-code code{font-size:24px;font-weight:800;letter-spacing:3px;color:#eef9d9}.hk-discount-code button{min-height:44px;padding:8px 12px;background:#343f2a;border:1px solid #59694a;border-radius:8px;color:#eff8e5;font:inherit;cursor:pointer}.hk-discount-help{font-size:12px;line-height:1.5;color:#b1b8a8}.hk-discount-cta{box-sizing:border-box;display:block;margin-top:20px;padding:15px 18px;border-radius:10px;background:#c5ed76;color:#17200c;font-size:16px;text-align:center;font-weight:800;text-decoration:none}.hk-discount-skip{display:block;margin:14px auto 0;min-height:44px;background:transparent;border:0;color:#c3c9ba;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}.hk-discount-open{overflow:hidden}.hk-discount-popup :focus-visible{outline:3px solid #e5ffbc;outline-offset:3px}@media(max-width:420px){.hk-discount-popup{padding:28px 20px 18px}.hk-discount-popup h2{font-size:28px}.hk-discount-price strong{font-size:40px}}


/* Nonmodal account messages shared by every public page. */
.hk-user-message{box-sizing:border-box;display:flex;align-items:center;gap:18px;position:relative;width:calc(100% - 32px);max-width:1000px;margin:16px auto;padding:18px 56px 18px 20px;border:1px solid #526740;border-radius:12px;background:#1c261b;color:#f3f4f2;font:14px/1.5 Inter,system-ui,sans-serif;text-align:left}
.hk-user-message>div{flex:1;min-width:0}.hk-user-message strong,.hk-user-message span{display:block;overflow-wrap:anywhere}.hk-user-message strong{margin-bottom:4px;color:#d0ff96}.hk-user-message span{color:#c3cfbd;white-space:pre-wrap}.hk-user-message>a{flex-shrink:0;padding:10px 14px;border:1px solid #6e8857;border-radius:8px;color:#e8ffd7;text-decoration:none;font-weight:650}.hk-user-message>button{position:absolute;right:8px;top:8px;width:40px;height:40px;min-height:40px;padding:0;border:0;background:transparent;color:#d0dbca;font-size:24px;cursor:pointer}.hk-user-message :focus-visible{outline:2px solid #b6ef68;outline-offset:3px}@media(max-width:600px){.hk-user-message{align-items:flex-start;flex-direction:column;gap:12px}.hk-user-message>a{font-size:13px}}
