/* DRC Guild v53: dedicated Dragon Workshop, shared site navigation remains intact. */
.dw-home-launch{background:linear-gradient(135deg,#142033,#101722);border:1px solid #88683c;border-radius:18px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 15px 45px #0004}
.dw-home-launch h3{font-size:clamp(23px,2.4vw,35px);color:#f2d29b;margin:7px 0 9px;font-family:Georgia,serif}.dw-home-launch p{max-width:680px;line-height:1.8;color:#c7d0de;margin:0}.dw-home-launch .btn{flex-shrink:0}
.dw-home-kicker,.dw-kicker{font:700 11px/1.4 system-ui,sans-serif;letter-spacing:.17em;color:#d5b379}
.dw-home .tools-section .workspace,.dw-home .tools-section>.container>.results-panel,.dw-home #tools .dragon-creation-helper{display:none!important}
.dw-page #home,.dw-page .intro-section,.dw-page #buildings,.dw-page #explorer,.dw-page #gold,.dw-page .seo-resources,.dw-page #community{display:none!important}
.dw-page #tools{padding-top:60px;padding-bottom:90px;min-height:85vh}
.dw-page #tools>.container>.heading-row,.dw-page #tools .dragon-creation-helper,.dw-page #tools .dw-home-launch{display:none!important}
.dw-page #tools .workspace{display:none!important}
.dw-page .dw-topline{max-width:780px;margin:0 0 25px}.dw-topline h1{font-family:Georgia,serif;font-size:clamp(38px,4.5vw,66px);font-weight:600;letter-spacing:-.035em;line-height:1.08;margin:9px 0 13px;color:#edcc93}.dw-topline p{font-size:16px;line-height:1.8;color:#c3cddd;margin:0}
.dw-page .dw-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 26px}.dw-page .dw-stats>div{border:1px solid #33445a;border-radius:12px;background:#111b2a;padding:15px 19px;display:flex;flex-direction:column;gap:5px}.dw-stats strong{font:700 26px/1.2 system-ui,sans-serif;color:#f0ca8d}.dw-stats span{color:#9dacbd;font:500 12px system-ui,sans-serif}
.dw-page #dw-wallet-mount{margin:0 0 14px}.dw-page #dw-wallet-mount .wallet-panel{max-width:none;min-width:0}.dw-page .wallet-panel .wallet-form{display:flex;gap:10px;flex-wrap:wrap;max-width:740px}.dw-page .wallet-panel .wallet-address-input{flex:1;min-width:220px}.dw-page .wallet-summary{margin-top:12px}.dw-gallery-details{border-top:1px solid #344259;padding-top:10px;margin-top:12px}.dw-gallery-details>summary{cursor:pointer;font-weight:650;color:#e9c991}.dw-gallery-details .wallet-art-heading{margin-top:18px}
.dw-workflow-tabs{display:flex;gap:9px;margin:0 0 20px;border-bottom:1px solid #45566b;padding-bottom:10px}.dw-workflow-tabs>button{font:700 15px/1.35 system-ui,sans-serif;border:1px solid #394b62;background:#111928;color:#c7d4e5;border-radius:10px;padding:15px 21px;cursor:pointer;flex:1;text-align:center;transition:background .2s, border-color .2s}.dw-workflow-tabs>button[aria-selected="true"]{background:linear-gradient(125deg,#523b24,#9b7040);border-color:#dfb776;color:#fff8e6;box-shadow:inset 0 1px #f5dfab66}.dw-workflow-tabs>button:focus-visible,.dw-page button:focus-visible{outline:3px solid #ecc486;outline-offset:2px}.dw-tab-icon{font-size:18px;margin-right:9px}.dw-pane[hidden],.dw-save-form[hidden]{display:none!important}.dw-pane{animation:dw-enter .2s ease}@keyframes dw-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
.dw-pane-intro{margin:0 0 16px}.dw-pane-intro h2{font:600 clamp(24px,2.6vw,32px)/1.2 Georgia,serif;color:#efd09b;margin:0 0 7px}.dw-pane-intro p{margin:0;color:#c2cbda;line-height:1.7}
.dw-finder-layout{display:grid;grid-template-columns:minmax(275px,350px) minmax(0,1fr);gap:18px;align-items:start}.dw-finder-layout .dw-finder-config .panel,.dw-finder-main .panel{margin:0}.dw-finder-config{min-width:0}.dw-finder-main{min-width:0}.dw-finder-main .progress-panel{width:100%}
.dw-primary-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}.dw-primary-actions>.btn{flex:1;min-width:185px}.dw-save-form{margin:15px 0 20px;background:#101b2a;border:1px solid #b18b51;padding:21px;border-radius:12px}.dw-save-form h3{color:#f0d29c;font:600 24px Georgia,serif;margin:0 0 5px}.dw-save-form p{color:#bccadb;font-size:13px;line-height:1.6}.dw-save-form label{display:block;color:#e5d4b2;font-size:13px;font-weight:650;margin:14px 0 6px}.dw-save-form .field{width:100%;max-width:650px}.dw-save-form-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 5px}
.dw-advanced,.dw-suggestions{margin:18px 0;border:1px solid #41506a;border-radius:12px;background:#111b29;overflow:hidden}.dw-advanced>summary,.dw-suggestions>summary{cursor:pointer;color:#f4d29d;padding:16px 19px;font-weight:700;list-style-position:inside}.dw-advanced>summary small{display:block;margin:4px 0 0 21px;color:#9eb1c5;font-size:12px;font-weight:400}.dw-advanced>.panel,.dw-suggestions>.panel{border:0!important;border-top:1px solid #37465b!important;border-radius:0!important;margin:0!important;box-shadow:none!important}.dw-advanced .panel-heading .step{opacity:.6}
.dw-pane .portfolio-panel{max-width:none}.dw-pane .dg-planner-art{padding:14px}.dw-pane #dw-reserved-mount{margin-top:18px}
.dw-saved-note{padding:16px 18px;background:#131d2b;border:1px solid #3a4f67;border-radius:10px;color:#bfcbdd;font-size:13px;line-height:1.7;margin:16px 0}.dw-save-status{min-height:20px;color:#eac88e;font-size:13px}
#dw-saved-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:14px;margin:18px 0}.dw-dragon-card,.dw-empty{border:1px solid #574d42;border-radius:12px;background:linear-gradient(130deg,#1a2230,#111827);padding:22px;min-width:0}.dw-dragon-card h4{color:#f1d49d;font:600 22px/1.3 Georgia,serif;margin:9px 0 7px}.dw-card-title small{color:#a9bed1;line-height:1.5}.dw-status{display:inline-block;border-radius:20px;padding:5px 9px;font-size:11px;letter-spacing:.04em;background:#39475b;color:#d5e4f7}.dw-status.is-built{background:#294d40;color:#bbefd2}.dw-id-grid{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.dw-id-grid span{font:600 12px system-ui,sans-serif;border-radius:7px;background:#283547;padding:7px;color:#e5eaf3}.dw-card-actions{display:flex;gap:8px;flex-wrap:wrap}.dw-card-actions .btn{font-size:12px;padding:10px 12px}.dw-empty strong{color:#f2d29b}.dw-empty p{color:#bbc7d7;line-height:1.7}
.dw-page #dw-pane-finder .results-panel{max-width:none}.dw-page #dw-pane-portfolio .portfolio-panel{width:100%}
html[data-theme="light"] .dw-topline h1,html[data-theme="light"] .dw-pane-intro h2,html[data-theme="light"] .dw-dragon-card h4,html[data-theme="light"] .dw-home-launch h3{color:#6d471d}
html[data-theme="light"] .dw-topline p,html[data-theme="light"] .dw-pane-intro p{color:#475569}
html[data-theme="light"] .dw-stats>div,html[data-theme="light"] .dw-dragon-card,html[data-theme="light"] .dw-empty,html[data-theme="light"] .dw-advanced,html[data-theme="light"] .dw-suggestions,html[data-theme="light"] .dw-save-form,html[data-theme="light"] .dw-saved-note{background:#fff;color:#253448;border-color:#c9d0da}
html[data-theme="light"] .dw-stats strong{color:#8a5824}html[data-theme="light"] .dw-stats span,html[data-theme="light"] .dw-card-title small,html[data-theme="light"] .dw-saved-note,html[data-theme="light"] .dw-advanced>summary small,html[data-theme="light"] .dw-save-form p,html[data-theme="light"] .dw-empty p{color:#526176}
html[data-theme="light"] .dw-workflow-tabs>button{background:#f2f5f9;color:#253448;border-color:#c4cddd}html[data-theme="light"] .dw-workflow-tabs>button[aria-selected="true"]{color:#fff;background:#876132;border-color:#876132}
html[data-theme="light"] .dw-advanced>summary,html[data-theme="light"] .dw-suggestions>summary,html[data-theme="light"] .dw-gallery-details>summary{color:#80551e}
html[data-theme="light"] .dw-save-form h3,html[data-theme="light"] .dw-save-form label{color:#724c23}html[data-theme="light"] .dw-id-grid span{background:#eef2f8;color:#31435c}html[data-theme="light"] .dw-home-launch{background:#fff;color:#253448}
@media(max-width:920px){.dw-finder-layout{grid-template-columns:1fr}.dw-page .dw-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.dw-page #tools{padding-top:32px}.dw-workflow-tabs{gap:5px}.dw-workflow-tabs>button{padding:12px 5px;font-size:12px}.dw-tab-icon{display:block;margin:0 0 4px}.dw-page .dw-stats{gap:8px}.dw-page .dw-stats>div{padding:12px}.dw-stats strong{font-size:22px}.dw-home-launch{flex-direction:column;align-items:flex-start;padding:22px}.dw-primary-actions>.btn{min-width:0}.dw-page .wallet-panel .wallet-form{display:block}.dw-page .wallet-panel .wallet-address-input{width:100%;margin:0 0 8px}}
/* The old homepage gallery is retained for internal JS compatibility, not displayed on the Workshop. */
.dw-page .dg-home-section{display:none!important}

@media(min-width:641px){.dw-page #dw-wallet-mount .wallet-form{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:900px}.dw-page #dw-wallet-mount .wallet-form .btn{width:auto;min-width:190px}}

html[data-theme="light"] .dw-page .wallet-count strong,html[data-theme="light"] .dw-page #wallet-total{color:#80541e!important}
html[data-theme="light"] .dw-page .wallet-count span,html[data-theme="light"] .dw-page #wallet-items{color:#394960!important}
html[data-theme="light"] .dw-page .wallet-panel .micro-note,html[data-theme="light"] .dw-page #wallet-status{color:#465971!important}
