:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#352523;background:#f8f5f0;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;padding:20px;min-height:100vh;background:radial-gradient(circle at 15% 0%,#fff4e7,transparent 35%),#f8f5f0}
.panel{width:min(660px,100%);margin:34px auto;padding:30px 34px;background:#fff;border:1px solid #eae1d8;border-radius:20px;box-shadow:0 18px 55px rgba(65,42,28,.055)}.panel.wide{width:min(1200px,100%)}
.page-header{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #efe8e1;padding-bottom:18px}.back{font-size:13px;text-decoration:none;color:#8f482e;font-weight:650}.wordmark{font-size:12px;letter-spacing:.14em;font-weight:850;color:#624139}.wordmark-studio{color:#ab6242}.intro{padding:28px 0 18px}.intro h1{font-size:clamp(30px,4vw,44px);line-height:1.13;letter-spacing:-.035em;margin:7px 0}.intro p{color:#74655e;margin:0}.intro .eyebrow{color:#a45237;font-weight:800;letter-spacing:.16em;font-size:10px}.admin-intro{padding-bottom:4px}
h2{font-size:21px;margin:0 0 14px;letter-spacing:-.018em}h3{font-size:16px;margin:14px 0}p{line-height:1.55}a{color:#a14c32}label{display:block;font-size:13px;font-weight:680;margin:14px 0 6px;color:#49352f}input,textarea,select,button{font:inherit;font-size:14px}input:not([type=checkbox]),select,textarea{display:block;width:100%;max-width:100%;background:#fff;border:1px solid #dacfc5;color:#342a26;border-radius:10px;padding:11px 12px;margin-top:6px;outline:none;transition:border-color .14s,box-shadow .14s}input:focus,textarea:focus,select:focus{border-color:#ae704e;box-shadow:0 0 0 3px #e8cebf69}textarea{min-height:80px;resize:vertical}button{border:0;border-radius:10px;padding:11px 16px;cursor:pointer;font-weight:700;background:#5d382e;color:white;transition:background .15s}button:hover{background:#8f4937}button:disabled{opacity:.45;cursor:default}button.secondary{background:#f4ece7;color:#5b3c32}button.secondary:hover{background:#eadbd2}.primary-btn{background:#9a4b34;color:white}.primary-btn:hover{background:#7e3c2c}.checkline{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.45;font-weight:500;margin:14px 0}.checkline input{width:17px;height:17px;flex:0 0 auto;accent-color:#a65338}.checkline a{display:inline}.auth-content{max-width:480px}.auth-tabs,.studio-tabs{display:flex;gap:5px;padding:5px;background:#f6f1ed;border:1px solid #ede4dd;border-radius:12px;margin-bottom:22px}.auth-tabs button,.studio-tabs button{padding:9px 12px;background:transparent;border:0;color:#77645b;border-radius:8px;flex:1;font-weight:700;font-size:13px;white-space:nowrap}.auth-tabs button.active,.studio-tabs button.active{background:#fff;color:#482d25;box-shadow:0 1px 5px #4a251715}.auth-content .primary-btn{width:100%;margin-top:15px}.text-button{background:none;color:#a65338;border:0;padding:9px 0;font-size:13px}.text-button:hover{background:none;text-decoration:underline}.consent-block{padding:2px 0 6px}#status{min-height:0;margin:14px 0;font-size:13px;font-weight:660;color:#3b795b}#status:empty{display:none}#status.error{color:#b13b3b}.signed-in{background:#f5f0e9;border-radius:10px;padding:12px 14px;font-size:14px;word-break:break-word}.account-help{margin:18px 0;padding:12px 14px;border:1px solid #e9ddd2;border-radius:12px}.account-help summary{cursor:pointer;font-weight:700}.account-help p{font-size:13px;color:#746258}.account-panel #account>button{margin:6px 6px 4px 0}footer{display:flex;gap:16px;padding:20px 0 0;margin-top:24px;border-top:1px solid #efe8e1}footer a{font-size:12px;color:#8a6b5d;text-decoration:none}
/* Owner workspace */
.studio-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 18px}.studio-bar b{display:block;font-size:16px}.studio-bar small{display:block;color:#8a7569;font-size:12px}.studio-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.studio-tabs{overflow-x:auto;max-width:100%;scrollbar-width:thin}.studio-tabs button{flex:1 0 auto}.studio-content{min-height:240px;padding:8px 0 20px}.studio-content>h2{margin:8px 0 2px}.studio-content h3{margin-top:30px}.muted,.small-note{font-size:13px;color:#806f64}.small-note{font-size:11px}.warning{border-radius:10px;padding:12px;background:#fff1db;border:1px solid #edd4a9;font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px}.stat{text-align:left;background:#f9f5f0;border:1px solid #ebdfd4;color:#422a28;border-radius:14px;padding:18px}.stat:hover{background:#f2e6db}.stat strong{font-size:30px;display:block;line-height:1.2}.stat span{display:block;font-size:12px;color:#7f6a60;margin-top:8px}.studio-form{border:1px solid #e8dfd7;border-radius:15px;padding:20px;background:#fffefa;margin-top:20px}.fields-two,.fields-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-form label{margin:11px 0}.studio-form .primary-btn{margin-top:14px}.list-tools{display:flex;gap:12px;margin:24px 0 10px}.list-tools input{flex:1}.list-tools select{max-width:190px}.compact-list{display:grid;gap:8px;margin:12px 0}.compact-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#fff;border:1px solid #e9e0d8;border-radius:11px}.compact-card b{display:block;font-size:14px}.compact-card small{display:block;font-size:12px;color:#90796e;overflow-wrap:anywhere}.compact-card button{flex:0 0 auto}.upload-panel{border:1px dashed #c9aa91;background:#fffbf5;border-radius:14px;padding:20px;margin-top:24px}.upload-panel input{max-width:100%}.upload-preview{margin:20px 0}.site-preview{background:linear-gradient(135deg,#fff0d7,#fbe1c6);border:1px solid #edcbab;border-radius:16px;padding:22px;margin:18px 0;min-height:175px;color:#57342a}.site-preview[data-theme=coral]{background:linear-gradient(135deg,#fff0e7,#f8c9b9)}.site-preview[data-theme=apricot]{background:linear-gradient(135deg,#fff6e8,#ffd9b0)}.site-preview small{font-size:10px;letter-spacing:.14em;font-weight:800}.site-preview h3{font-size:30px;margin:12px 0 8px}.site-preview p{font-size:14px}.preview-cta{display:inline-block;border-radius:9px;padding:8px 12px;background:#9a4b34;color:#fff;font-size:12px;font-weight:700}.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.settings-form .primary-btn{grid-column:1/-1;justify-self:start}.totp-secret{display:block;max-width:100%;overflow-wrap:anywhere;background:#f7e8dc;padding:12px;margin:12px 0;border-radius:8px}
@media(max-width:800px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-form{grid-template-columns:1fr}.studio-tabs button{font-size:12px}}
@media(max-width:600px){body{padding:10px}.panel{padding:18px;margin:10px auto;border-radius:16px}.page-header{flex-wrap:wrap}.wordmark{font-size:10px}.intro{padding:20px 0}.fields-two,.fields-three{grid-template-columns:1fr}.studio-bar{flex-wrap:wrap}.stats-grid{gap:8px}.stat{padding:12px}.stat strong{font-size:22px}.compact-card{align-items:flex-start}.auth-tabs button{font-size:12px;padding:8px 6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
/* v1.6.4 account clarity */
body.account-page{background:#eef1f6;color:#243145}
body.account-page .panel{box-shadow:0 16px 42px rgba(33,48,73,.09);border-color:#d8e0ea}
body.account-page .auth-tabs{background:#eef2f7;border-color:#d8e0ea}
body.account-page .auth-tabs button.active{box-shadow:0 2px 7px rgba(35,55,88,.11)}
body.account-page input:focus-visible{outline:2px solid #8a593d;outline-offset:2px}
body.account-page .email-help{background:#eef3fa;border:1px solid #d6e0ec;padding:12px 14px;border-radius:12px;color:#39465a}
body.account-page .auth-content .text-button{display:inline-flex;margin-right:12px;text-align:left}
@media(max-width:600px){body.account-page .auth-content{max-width:100%}}


/* Sunset Royale — player and owner pages */
body.account-page,body{background:radial-gradient(circle at 0% 0%,#ffe0c9,transparent 44%),linear-gradient(155deg,#fff4e8,#ffddcf);color:#401b32}
.panel{background:#fffbf7;border:1px solid #ebc8bd;box-shadow:0 18px 45px rgba(87,23,53,.11)}
.page-header{border-color:#efd6cb}.back,a{color:#a23650}.wordmark{color:#591b3c}
body.account-page .intro{margin:15px 0 23px;padding:22px 24px;border-radius:18px;background:linear-gradient(122deg,#55183a,#8a2950 66%,#c94f60);color:#fff7ef;box-shadow:0 13px 27px rgba(79,22,50,.15)}
body.account-page .intro h1{font-size:clamp(27px,3.6vw,38px);color:#fff7ef}
body.account-page .intro p{color:#ffdfd1;font-size:14px}
body.account-page .intro .eyebrow{color:#ffd371}
body.account-page .auth-tabs{background:#fff0e5;border:1px solid #ebc9bd}
body.account-page .auth-tabs button.active{color:#5b183d;background:#fffaf4;box-shadow:0 2px 9px rgba(93,29,55,.10)}
body.account-page .primary-btn,.primary-btn{background:linear-gradient(110deg,#9f3152,#df665b);color:#fff;border-radius:12px;min-height:48px}
body.account-page .primary-btn:hover,.primary-btn:hover{background:#762141}
body.account-page input:not([type=checkbox]),body.account-page select{border:1px solid #dec5bf;background:#fff;color:#3a1b30;border-radius:12px;min-height:45px}
body.account-page input:focus-visible{outline:2px solid #e5ac60}
body.account-page .email-help{background:#fff3e5;border:1px solid #eacec2;color:#634055;font-size:12px;padding:10px 12px;border-radius:12px}
body.account-page .text-button{color:#a33650}
body.account-page .auth-content h2{font-size:20px;color:#54223d;margin-bottom:12px}
#status:not(:empty){background:#f3fbf1;border:1px solid #b7dab9;color:#245737;padding:10px 13px;border-radius:10px}
#status.error{background:#fff0eb;border-color:#efb6a5;color:#aa3047}
body.account-page .panel{border-color:#eac5bb;box-shadow:0 20px 50px rgba(76,19,50,.13)}
@media(max-width:600px){body.account-page .intro{padding:16px;margin:10px 0 16px}body.account-page .intro h1{font-size:clamp(25px,7vw,33px)}}

.site-preview[data-theme="coral"]{background:linear-gradient(120deg,#581839,#9f3555 66%,#f47760)!important;color:#fff9f1!important;border-color:#c65d68!important}
.site-preview[data-theme="coral"] .preview-cta{background:linear-gradient(130deg,#ffe175,#ffb32f);color:#461b36}
.site-preview[data-theme="coral"] p{color:#ffe7dc}
