@font-face{font-family:CCSerif;src:url(assets/fonts/lodge-font-2.ttf) format('truetype');font-display:swap}
@font-face{font-family:CCSans;src:url(assets/fonts/lodge-font-5.ttf) format('truetype');font-display:swap}
.cc-dialog{
 --cc-ink:#f3e8d8;--cc-muted:#c0b0bd;--cc-line:#c6a67545;--cc-accent:#d2b484;
 --cc-panel:#211929;--cc-surface:#302334;--cc-selected:#514034;
 box-sizing:border-box;width:min(1200px,calc(100vw - 48px));max-width:none;max-height:calc(100svh - 48px);
 margin:auto;padding:8px;border:1px solid #b8935c;border-radius:8px;
 background:linear-gradient(#211519d9,#170f18ed),url(assets/curious/pbr/wood-color.jpg) center/480px;
 color:var(--cc-ink);box-shadow:0 28px 110px #08040edf,inset 0 0 0 3px #130d16,inset 0 0 0 4px #ba945a50;
 overflow:hidden;font:14px/1.5 CCSans,'DM Sans',system-ui,sans-serif;text-align:left;color-scheme:dark
}
.cc-dialog[open]{display:flex;flex-direction:column}.cc-dialog *{box-sizing:border-box}.cc-dialog [hidden]{display:none!important}
.cc-dialog::backdrop{background:#0f0913c7;backdrop-filter:blur(8px)}
.cc-dialog button,.cc-dialog input{font:inherit}.cc-dialog label{margin:0;text-align:left}
.cc-dialog button{min-height:44px;border:1px solid transparent;border-radius:3px;padding:10px 15px;cursor:pointer;letter-spacing:0;text-transform:none;box-shadow:none;color:inherit;transition:background .16s,border-color .16s,color .16s}
.cc-dialog button:disabled{cursor:wait;opacity:.62}.cc-dialog button:hover:not(:disabled){transform:none}
.cc-dialog button:focus-visible,.cc-canvas:focus-visible,.cc-panel:focus-visible{outline:2px solid #f0d6a3;outline-offset:-3px}
.cc-header{flex:none;display:flex;align-items:flex-start;justify-content:space-between;padding:24px 30px 22px;border:1px solid var(--cc-line);border-bottom:0;gap:18px;background:radial-gradient(ellipse at 20% 0,#67453435,transparent 70%),linear-gradient(110deg,#302033,#201724)}
.cc-eyebrow{font-size:12px;font-weight:600;letter-spacing:.19em;color:var(--cc-accent);margin:0 0 7px}
.cc-header h2{font:normal 42px/1 CCSerif,'Cormorant Garamond',Georgia,serif;letter-spacing:-.015em;margin:0;color:#f6e7d6}
.cc-intro{color:var(--cc-muted);font-size:14px;margin:10px 0 0}
.cc-dialog .cc-close{font-size:27px;font-weight:300;border:1px solid var(--cc-line);border-radius:50%;width:42px;min-height:42px;padding:0;background:#150f1e55;color:#d6c2b9;line-height:1}
.cc-dialog .cc-close:hover{background:#563c4b;border-color:#d2b484}
.cc-body{display:grid;grid-template-columns:37% 63%;height:min(640px,calc(100svh - 296px));min-height:0;flex:0 1 auto;border:1px solid var(--cc-line)}
.cc-preview{position:relative;min-width:0;overflow:hidden;border-right:1px solid var(--cc-line);background:radial-gradient(ellipse at 50% 39%,#665161 0%,#392b40 43%,#19141f 82%)}
.cc-preview:before{content:"";position:absolute;width:80%;height:76%;top:6%;left:10%;border:1px solid #d4b17885;border-radius:48% 48% 3px 3px;box-shadow:0 0 0 5px #120e1b,0 0 0 6px #916c454f,inset 0 0 32px #0b061765;pointer-events:none}
.cc-preview-top{position:absolute;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:10px;z-index:2}
.cc-smallcaps{font-size:12px;font-weight:600;letter-spacing:.12em;color:#dec8a8}.cc-live{font-size:12px;color:#b4a3b6}
.cc-canvas{display:block;position:absolute;inset:42px 0 130px;width:100%;height:calc(100% - 172px);touch-action:pan-y;cursor:grab;outline:0}.cc-canvas.is-dragging{cursor:grabbing}
.cc-preview-copy{position:absolute;bottom:85px;left:15px;right:15px;text-align:center;pointer-events:none}
.cc-preview-name{margin:0;font:normal 32px/1.1 CCSerif,Georgia,serif;letter-spacing:-.01em;color:#f2dcb8}
.cc-preview-caption{margin:5px 0 0;font-size:12px;color:#c0afc0}
.cc-spin-controls{position:absolute;bottom:32px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.cc-dialog .cc-spin{width:42px;min-height:36px;height:36px;padding:0;background:#221725;border:1px solid #bd95624d;color:#dec29b;font-size:22px}.cc-dialog .cc-spin:hover{background:#523b46;border-color:#cba878}
.cc-drag-hint{position:absolute;bottom:8px;left:8px;right:8px;text-align:center;font-size:12px;margin:0;color:#bba8bd}
.cc-preview-unavailable{position:absolute;inset:33% 15% auto;text-align:center;font:22px/1.4 CCSerif,Georgia,serif}
.cc-editor{display:flex;flex-direction:column;min-width:0;min-height:0;background:linear-gradient(135deg,#2b2030,#1c1724)}
.cc-tabs{display:flex;gap:30px;align-items:center;padding:0 28px;border-bottom:1px solid var(--cc-line);flex:none;height:56px;background:#180f1d40}
.cc-dialog .cc-tab{position:relative;height:100%;border-radius:0;min-height:0;padding:0 2px;background:none;color:#b8a5b9;font-size:14px;font-weight:600}
.cc-dialog .cc-tab:hover{color:#f4e1bf}.cc-dialog .cc-tab[aria-selected=true]{color:#efd4a6}.cc-tab[aria-selected=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--cc-accent);box-shadow:0 -2px 14px #d2ad6530}
.cc-panel{padding:23px 28px 30px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#856c63 #1c1420;overscroll-behavior:contain;min-height:0}
.cc-group{border:0;margin:0 0 25px;padding:0;min-width:0}.cc-group:last-child{margin-bottom:0}
.cc-group legend{padding:0;margin:0 0 11px;font-size:16px;font-weight:600;color:#eddbca}.cc-group-note{margin:-5px 0 14px;color:#bfaaba;font-size:12px;line-height:1.6}
.cc-choices{display:flex;flex-wrap:wrap;gap:8px}.cc-choice{position:relative;display:block;flex:1 1 0;min-width:76px;cursor:pointer}
.cc-choice input,.cc-toggle input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.cc-choice-content{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #a186794a;border-radius:4px;background:linear-gradient(135deg,#382939,#261e2c);min-height:44px;padding:10px 12px;color:#d8c6d3;transition:background .16s,border-color .16s,box-shadow .16s}
.cc-choice:hover .cc-choice-content{border-color:#c4a580;background:#433144}
.cc-choice input:checked+.cc-choice-content{border-color:#d0ad77;background:linear-gradient(135deg,#594234,#3d2b34);color:#ffedcf;box-shadow:inset 0 0 0 1px #d0ad7733}
.cc-choice input:focus-visible+.cc-choice-content,.cc-toggle input:focus-visible~.cc-toggle-box{outline:2px solid #f5d7a2;outline-offset:3px}
.cc-choice input:disabled+.cc-choice-content,.cc-toggle input:disabled~span{opacity:.6;cursor:wait}
.cc-choice-label{display:block;font-size:14px;font-weight:500;line-height:1.35}.cc-choice-words small{display:block;font-size:12px;font-weight:400;color:#bfaebb;margin-top:4px;line-height:1.35}.cc-choice input:checked+.cc-choice-content small{color:#decaaf}
.cc-check{display:none;position:absolute;right:7px;top:4px;color:#efd19d;font-size:12px;font-weight:700}.cc-choice input:checked+.cc-choice-content .cc-check{display:block}
.cc-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.cc-presets .cc-choice{min-width:0}.cc-presets .cc-choice-content{padding:15px 11px;justify-content:flex-start;min-height:85px}
.cc-preset-mark{display:grid;place-items:center;flex:none;height:36px;width:29px;border:1px solid #b48a5859;border-radius:14px 14px 2px 2px;background:#17121d;color:#d1b184;font:24px CCSerif,Georgia,serif}.cc-presets input:checked+.cc-choice-content .cc-preset-mark{background:#2b2024;border-color:#d0ad7788;color:#f5d6a0}
.cc-palettes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cc-palettes .cc-choice{min-width:0}.cc-palettes .cc-choice-content{padding:11px 8px;gap:10px;justify-content:flex-start}
.cc-palette{display:flex;flex:none;width:35px;height:26px;border-radius:2px;overflow:hidden;transform:rotate(-5deg);box-shadow:0 2px 5px #0005;border:1px solid #f1e6cb33}.cc-palette i{flex:1}
.cc-garments{display:grid;grid-template-columns:1fr;gap:19px}.cc-garments .cc-group{margin:0}.cc-garments .cc-group legend{font-size:14px;margin-bottom:8px}.cc-garment-options{gap:7px}.cc-garment-options .cc-choice-content{min-height:44px;padding:10px}
.cc-accessories{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.cc-toggle{display:flex;align-items:center;gap:11px;padding:14px;border-radius:4px;background:#302333;border:1px solid #a186794a;cursor:pointer;font-size:14px}.cc-toggle:hover{border-color:#c4a580}.cc-toggle:has(input:checked){border-color:#d0ad77;background:#493435;color:#ffedcf}
.cc-toggle-box{display:grid;place-items:center;flex:none;width:20px;height:20px;border:1px solid #a18a7a;border-radius:3px;color:transparent;background:#19131f;font-size:14px}.cc-toggle input:checked+.cc-toggle-box{background:#be9966;border-color:#e0bf8e;color:#221721}
.cc-personalities{display:grid;grid-template-columns:repeat(2,1fr)}.cc-personalities .cc-choice-content{justify-content:flex-start;min-height:72px;padding:13px 15px}
.cc-expressions{display:grid;grid-template-columns:repeat(3,1fr)}.cc-expressions .cc-choice-content{flex-direction:column;min-height:84px;gap:5px;padding:10px}.cc-face{height:30px;width:30px;color:#d0b389}.cc-face svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round}.cc-face svg circle[r=".8"],.cc-face svg circle[r=".6"]{fill:currentColor;stroke:none}
.cc-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:82px;padding:17px 28px;border:1px solid var(--cc-line);border-top:0;background:linear-gradient(100deg,#261b29,#211724)}
.cc-status{font-size:12px;line-height:1.5;color:#c1adbb;margin:0;max-width:52ch}.cc-status-error{color:#ffc0aa}.cc-actions{display:flex;gap:10px;flex:none}
.cc-dialog .cc-cancel{background:transparent;color:#d5bebf;font-size:14px}.cc-dialog .cc-cancel:hover{background:#3d2b3c}
.cc-dialog .cc-save{display:flex;align-items:center;justify-content:center;gap:12px;min-width:150px;background:linear-gradient(#dbbe89,#b58b53);color:#261c23;font-size:14px;font-weight:700;border:1px solid #e4c698;box-shadow:inset 0 1px #ffedc255,0 3px 10px #0003}.cc-dialog .cc-save:hover{background:linear-gradient(#e9cea0,#c19c67)}
.cc-save-arrow:empty{display:none}.cc-save.is-saving .cc-save-arrow{display:block;width:14px;height:14px;border:2px solid #38213033;border-top-color:#382130;border-radius:50%;animation:cc-spin .7s linear infinite}@keyframes cc-spin{to{transform:rotate(360deg)}}
@media(max-width:960px){.cc-dialog{width:calc(100vw - 24px);max-height:calc(100svh - 24px);padding:5px}.cc-header{padding:21px 24px}.cc-body{grid-template-columns:35% 65%;height:calc(100svh - 268px)}.cc-presets{grid-template-columns:repeat(2,1fr)}.cc-panel{padding:20px}.cc-tabs{padding:0 20px;gap:24px}.cc-preview-top{left:16px;right:16px}.cc-live{display:none}.cc-preview-name{font-size:28px}.cc-footer{padding:16px 22px}}
@media(max-width:650px){.cc-dialog{width:100vw;max-height:100svh;height:100svh;padding:0;border:0;border-radius:0}.cc-header{padding:17px 18px 15px}.cc-eyebrow{font-size:12px;letter-spacing:.12em}.cc-header h2{font-size:33px}.cc-intro{font-size:13px;margin-top:7px}.cc-body{display:flex;flex-direction:column;flex:1;height:auto;min-height:0}.cc-preview{flex:none;height:clamp(190px,29svh,280px);border-right:0;border-bottom:1px solid var(--cc-line)}.cc-preview:before{width:46%;height:94%;left:27%;top:3%;border-radius:48% 48% 0 0;box-shadow:0 0 0 4px #120e1b,0 0 0 5px #916c454f}.cc-canvas{inset:0 17% 0;width:66%;height:100%;touch-action:none}.cc-preview-top{top:12px;left:14px;right:14px}.cc-smallcaps{font-size:12px;max-width:80px;line-height:1.5}.cc-preview-copy{bottom:25px;left:14px;right:auto;max-width:90px;text-align:left}.cc-preview-name{font-size:24px}.cc-preview-caption{font-size:12px;line-height:1.4}.cc-spin-controls{bottom:15px;left:auto;right:13px;flex-direction:column;gap:6px}.cc-dialog .cc-spin{width:36px;height:34px;min-height:34px;font-size:22px}.cc-drag-hint{bottom:5px;left:28%;right:23%;font-size:12px}.cc-editor{flex:1;min-height:0}.cc-tabs{height:50px;padding:0 20px;gap:24px;justify-content:space-between}.cc-dialog .cc-tab{font-size:14px}.cc-panel{padding:19px 17px 24px}.cc-presets .cc-choice-content{min-height:76px;padding:12px;gap:9px}.cc-palettes .cc-choice-content{flex-direction:column;gap:7px;padding:10px 6px}.cc-palettes .cc-choice-label{font-size:12px}.cc-garment-options{display:grid;grid-template-columns:repeat(2,1fr)}.cc-footer{min-height:90px;padding:12px 14px max(12px,env(safe-area-inset-bottom));gap:10px}.cc-status{max-width:45%;font-size:12px}.cc-actions{gap:3px}.cc-dialog .cc-save{min-width:94px;padding:10px 14px}.cc-dialog .cc-cancel{padding:10px}.cc-dialog .cc-close{width:38px;min-height:38px;font-size:26px}}
@media(min-width:651px) and (max-height:660px){.cc-header{padding:14px 24px}.cc-header h2{font-size:32px}.cc-eyebrow{margin-bottom:4px}.cc-intro{margin-top:6px}.cc-body{height:calc(100svh - 238px)}.cc-preview-top,.cc-drag-hint{display:none}.cc-canvas{inset:0 0 88px;height:calc(100% - 88px)}.cc-preview-copy{bottom:42px}.cc-preview-name{font-size:24px}.cc-preview-caption{font-size:12px;margin-top:3px}.cc-spin-controls{bottom:4px}.cc-footer{min-height:70px;padding:12px 24px}}
@media(prefers-reduced-motion:reduce){.cc-dialog *{scroll-behavior:auto!important;transition:none!important}.cc-save.is-saving .cc-save-arrow{animation:none;border-style:dotted}}
