@font-face {
  font-family: "Seraphim";
  src: url("../fonts/Seraphimb1.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Mademoiselle";
  src: url("../fonts/Mademoiselle.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root{color-scheme:light;--ink:#301705;--muted:#78513b;--plum:#3d2200;--line:#9f8069;--paper:#ffebd6;--cream:#fed7b1;--pink:#f4dfc4;--purple:#eed5b4;--focus:#e0785e}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fed7b1;background-image:radial-gradient(#d7bca0 1px,transparent 1px);background-size:18px 18px;font:14px/1.5 "Seraphim", Georgia, serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.masthead{background:var(--paper);border-bottom:1px solid #78513b;box-shadow:0 2px 18px #30170522;padding:23px clamp(16px,3vw,42px) 19px;display:flex;justify-content:space-between;gap:16px;align-items:center}
.eyebrow{font:700 14px/1.5 "Seraphim", Georgia, serif;letter-spacing:2px;text-transform:uppercase;color:#f5b59a}
h1{font-size:clamp(25px,3vw,39px);font-weight:400;letter-spacing:-1px;margin:2px 0 0;line-height:1.15}
h1 span{color:#f5b59a}
.intro{max-width:510px;font-size:14px;color:var(--muted);margin-top:7px}
.seal{width:67px;height:67px;border:3px double #78513b;display:grid;place-items:center;border-radius:50%;background:var(--pink);color:#78513b;font-size:32px;transform:rotate(-9deg);flex:none}
.workspace{display:grid;grid-template-columns:minmax(305px,365px) minmax(0,1fr);align-items:start;gap:18px;max-width:1800px;margin:auto;padding:20px clamp(12px,2vw,28px) 45px}
.editor{background:var(--paper);border:1px solid #9f8069;box-shadow:4px 5px 0 #30170522;min-width:0}
.editor-header{padding:17px 18px 12px;background:#fed7b1;border-bottom:3px double #78513b}
.panel-title{font-size:19px;margin:0 0 4px;font-weight:400}
.panel-help{font-size:14px;color:var(--muted)}
.preset-wrap{padding:14px 18px;border-bottom:1px dashed #9f8069;display:grid;gap:8px}
.preset-list{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.preset{font:700 14px "Seraphim", Georgia, serif;border:1px solid #9f8069;border-radius:3px;padding:9px 4px;background:#f6e6cc;color:#43291d;transition:background .15s}
.preset:hover{background:#eed5b4}
.preset.active{background:#2f4f4f;color:white;border-color:#3d2200}
.editor details{border-bottom:1px solid #d7bca0}
.font-custom-settings{display:grid;gap:11px;padding:12px;border:1px dashed #9f8069;background:#f6e6cc;border-radius:3px}.font-custom-settings h3{margin:0;color:#78513b;font:700 14px "Mademoiselle", Georgia, serif}.font-custom-settings .font-help{font:14px "Seraphim", Georgia, serif;color:#78513b;margin:0}.font-custom-settings textarea{min-height:56px;font:14px/1.4 "Courier New", monospace;overflow-wrap:anywhere}
.font-custom-settings[hidden],#bodyFileFontFields[hidden],#bodyGoogleFontFields[hidden],#headingFileFontFields[hidden],#headingGoogleFontFields[hidden]{display:none}

.editor summary{list-style:none;padding:14px 18px;font:700 14px "Seraphim", Georgia, serif;letter-spacing:.3px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;background:#ffebd6}
.editor summary::-webkit-details-marker{display:none}
.editor summary::after{content:'＋';font-size:17px;color:#78513b}
.editor details[open] summary::after{content:'−'}
.fields{padding:4px 18px 17px;display:grid;gap:13px}
.fgroup{display:grid;gap:6px;min-width:0}
.flabel{font:700 14px "Seraphim", Georgia, serif;letter-spacing:.3px;color:#65504a}
.fhint{font:14px "Seraphim", Georgia, serif;color:#78513b}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
input[type=text],input[type=url],select,textarea{width:100%;min-width:0;background:white;color:#301705;border:1px solid #c8b7aa;border-radius:3px;padding:8px 9px;font:14px "Seraphim", Georgia, serif}
input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#78513b}
textarea{min-height:72px;resize:vertical;line-height:1.5}
input[type=range]{width:100%;accent-color:#2f4f4f;cursor:pointer}
.range-head{display:flex;justify-content:space-between;gap:8px}
.range-number{font:700 14px "Seraphim", Georgia, serif;color:#78513b}
.check{display:flex;align-items:center;gap:8px;cursor:pointer;font:14px "Seraphim", Georgia, serif}
.check input{accent-color:#78513b;width:15px;height:15px}
.swatch{display:flex;align-items:center;gap:7px;min-width:0}
.swatch input[type=color]{width:42px;height:34px;border:1px solid #c8b7aa;border-radius:4px;padding:3px;flex:none;background:white;cursor:pointer}
.swatch label{font:14px "Seraphim", Georgia, serif;color:#65504a}
.mini-divider{height:1px;border-top:1px dashed #ddc8ad}
.preview-side{min-width:0;position:sticky;top:14px}
.preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.preview-top strong{font-weight:400;font-size:19px}
.device-toggle,.code-toggle{display:inline-flex;align-items:center;border:1px solid #9f8069;padding:3px;background:#ffebd6;border-radius:4px;gap:2px}
.device-toggle button,.code-toggle button{border:0;background:transparent;color:#78513b;font:700 14px "Seraphim", Georgia, serif;padding:7px 10px;border-radius:3px}
.device-toggle button.active,.code-toggle button.active{color:#fff;background:#2f4f4f}
.preview-wrap{background:#fed7b1;border:1px solid #78513b;padding:15px;min-height:540px;display:flex;justify-content:center;align-items:flex-start;overflow:auto;box-shadow:4px 4px 0 #30170526}
.browser{width:100%;max-width:100%;background:white;border:1px solid #78513b;box-shadow:0 9px 18px #30170544;transition:width .18s}
.browser[data-device=tablet]{width:700px}
.browser[data-device=mobile]{width:390px}
.browserbar{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f6e6cc;border-bottom:1px solid #9f8069}
.dots{display:flex;gap:5px}
.dots i{width:8px;height:8px;background:#f5b59a;border-radius:50%}
.dots i:nth-child(2){background:#fed7b1}.dots i:nth-child(3){background:#2f4f4f}
.address{color:#78513b;text-align:center;font:14px "Seraphim", Georgia, serif;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}
#preview{display:block;width:100%;height:600px;border:0;background:#fff}
.export{background:#ffebd6;border:1px solid #78513b;padding:16px;margin-top:15px;box-shadow:4px 4px 0 #30170526}
.export h2{font-size:20px;font-weight:400;margin:0 0 5px}.export p{font-size:14px;color:var(--muted);margin:0 0 12px}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.action{border:1px solid #78513b;background:#2f4f4f;color:white;padding:10px 13px;border-radius:3px;font:700 14px "Seraphim", Georgia, serif}
.action:hover{background:#6c4e64}
.action.secondary{color:#78513b;background:#fff;border-color:#9f8069}
.action.secondary:hover{background:#f4dfc4}
.action.tiny{font-size:14px;padding:7px 10px}
code{font:14px "Courier New", monospace}
.code-panel{margin-top:12px;border:1px solid #9f8069;background:white;border-radius:3px}
.code-head{display:flex;align-items:center;justify-content:space-between;padding:8px;background:#f6e6cc;gap:10px;border-bottom:1px solid #ddc8ad}
#codeOutput{display:block;width:100%;height:180px;resize:vertical;border:0;border-radius:0;background:#301705;color:#fed7b1;font:14px/1.55 "Courier New", monospace;padding:12px;white-space:pre;tab-size:2}
.footnote{font:14px "Seraphim", Georgia, serif;color:#78513b;margin:10px 2px}
.message{font:14px "Seraphim", Georgia, serif;color:#78513b;min-height:14px;margin-top:8px}
@media(max-width:980px){.workspace{grid-template-columns:1fr}.preview-side{position:static}.editor{max-width:none}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fields .wide{grid-column:1/-1}}
@media(max-width:580px){.masthead{padding:18px}.seal{width:48px;height:48px;font-size:23px}.fields{grid-template-columns:1fr}.two{grid-template-columns:1fr 1fr}.workspace{padding:12px 9px 25px;gap:12px}.preview-wrap{padding:7px;min-height:460px}#preview{height:510px}.preview-top strong{font-size:16px}}

.page-toolbox,.block-toolbox{padding:15px 18px 17px;border-bottom:1px dashed #9f8069;background:#f6e6cc;display:grid;gap:11px}
.block-toolbox{background:#f6e6cc}
.toolbox-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.toolbox-head .flabel{font-size:14px;color:#78513b}
.page-list{display:flex;flex-wrap:wrap;gap:6px}
.page-tab{font:700 14px "Seraphim", Georgia, serif;padding:7px 11px;border:1px solid #9f8069;background:#fff;color:#43291d;border-radius:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.page-tab:hover{background:#f4dfc4}
.page-tab.active{background:#2f4f4f;border-color:#2f4f4f;color:#fff}
.page-actions{display:flex;gap:7px;flex-wrap:wrap}
#pageHint{font-size:14px}
.block-list{display:grid;gap:9px}
.block-card{border:1px solid #d7bca0;background:#ffffff;border-radius:4px;padding:9px;display:grid;gap:9px}
.block-card-head{display:flex;align-items:center;justify-content:space-between;gap:7px}
.block-card-head strong{color:#78513b;font:700 14px "Seraphim", Georgia, serif}
.block-actions{display:flex;gap:4px}
.block-actions button{border:1px solid #9f8069;background:white;border-radius:3px;color:#78513b;min-width:26px;min-height:26px;font:700 14px "Seraphim", Georgia, serif;cursor:pointer}
.block-actions button:hover{background:#f4dfc4}
.block-card .fgroup{gap:4px}
.block-card textarea{min-height:54px}
.block-add{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}
.block-add select{min-height:34px}
.active-page-name{font:700 14px "Seraphim", Georgia, serif;color:#78513b}
.export .actions{align-items:center}
@media(max-width:580px){.page-toolbox,.block-toolbox{padding:12px}.toolbox-head{align-items:flex-start}}

.seal{font:700 20px "Seraphim", Georgia, serif;letter-spacing:-1px;transform:none;border-radius:6px}
h1 span{font-size:.56em;letter-spacing:0;vertical-align:middle;margin-left:6px;font-family:"Mademoiselle", Georgia, serif;font-weight:700}
.preview-edit-hint{margin:0 0 10px;background:#ffebd6;border:1px dashed #9f8069;padding:7px 11px}
.block-card{scroll-margin-top:20px;transition:border-color .1s,box-shadow .1s}
.block-card.selected{border-color:#2f4f4f;box-shadow:0 0 0 2px #d7bca0}
.block-card.dragging{opacity:.4}
.block-card.drop-before{border-top:4px solid #2f4f4f}
.block-card.drop-after{border-bottom:4px solid #2f4f4f}
.block-grab{min-width:25px;display:inline-flex;justify-content:center;align-items:center;cursor:grab;user-select:none;border:1px dashed #9f8069;border-radius:3px;background:#f6e6cc;font:700 17px/1 "Seraphim", Georgia, serif;color:#78513b;padding:4px}
.block-grab:active{cursor:grabbing}.block-grab{touch-action:none}
.block-meta{display:flex;align-items:center;gap:7px;min-width:0}
.block-meta strong{min-width:0}
.block-column{display:grid;gap:5px}
.block-column select{font-size:14px}
.editor .block-card-head{gap:10px}
.block-list-hint{color:#78513b;font:14px "Seraphim", Georgia, serif}
@media(max-width:580px){.seal{font-size:14px}h1 span{display:block;margin-left:0;margin-top:4px}}

body{background-color:#c4a48e;background-image:url("https://re-nata.neocities.org/img/background.png");background-repeat:repeat;background-size:50% auto}
.masthead{background:#301705;color:#ffebd6;border-bottom:3px double #fed7b1;box-shadow:0 3px 16px #30170533}
.masthead .eyebrow{color:#f5b59a}
.masthead .intro{color:#fed7b1}
.masthead h1{color:#ffebd6}
.masthead h1,.panel-title,.preview-top strong,.export h2{font-family:"Mademoiselle", Georgia, serif;font-weight:400;font-style:normal;letter-spacing:0}
.masthead h1{font-size:clamp(30px,3.25vw,43px);line-height:1.12}
.panel-title{font-size:23px}
.preview-top strong{font-size:24px;color:#301705}
.export h2{font-size:24px}
.editor-header{background:#fed7b1;border-bottom:3px double #78513b}
.editor summary{background:#ffebd6}
.editor summary::after{color:#78513b}
.editor details[open] summary{background:#fed7b1}
.editor .toolbox-head .flabel,.preset-wrap>.flabel{color:#301705}
.editor,.export{background:#ffebd6;border-color:#78513b}
.preset,.page-tab{background:#f6e6cc;color:#301705;border-color:#9f8069}
.preset.active,.page-tab.active,.device-toggle button.active,.code-toggle button.active{background:darkslategrey;color:#ffebd6;border-color:#301705}
.action{background:darkslategrey;color:#ffebd6;border-color:#301705}
.action:hover{background:#3d2200}
.action.secondary{background:#f4dfc4;color:#301705;border-color:#78513b}
.action.secondary:hover{background:#fed7b1}
input[type=range],.check input{accent-color:darkslategrey}
.preview-wrap{background:#fed7b1;border-color:#78513b}
.browserbar{background:#f6e6cc;border-color:#9f8069}
.export{box-shadow:4px 4px 0 #30170526}
#codeOutput{background:#301705;color:#ffebd6}
.block-card.selected{border-color:darkslategrey;box-shadow:0 0 0 2px #d7bca0}
.block-card.drop-before{border-top-color:darkslategrey}
.block-card.drop-after{border-bottom-color:darkslategrey}

.generator-nav{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;flex:none}
.generator-nav a{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;min-height:38px;text-decoration:none;white-space:nowrap;font:700 14px "Seraphim", Georgia, serif;border:1px solid #fed7b1;border-radius:3px;background:#ffebd6;color:#301705;box-shadow:2px 2px 0 #00000024;transition:background .15s,color .15s}
.generator-nav a:hover{background:#fed7b1;color:#301705}
.generator-nav a:focus-visible{outline:2px solid #f5b59a;outline-offset:3px}
.generator-nav a:first-child{background:transparent;color:#ffebd6}
.generator-nav a:first-child:hover{background:#ffebd6;color:#301705}
@media(max-width:700px){.masthead{align-items:flex-start;flex-direction:column}.generator-nav{justify-content:flex-start;width:100%}.generator-nav a{flex:1;max-width:190px}}
h1,h2,h3,h4,h5,h6 {
  font-family: "Mademoiselle", Georgia, serif;
}
.editor summary,
.toolbox-head .flabel,
.preset-wrap > .flabel {
  font-family: "Mademoiselle", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}
.font-custom-settings h3 {
  font-family: "Mademoiselle", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}
