
/* Guild growth additions: isolated from the original four workspaces. */
.dkg-grow-card,.dkg-stone,.dkg-shop-item,.dkg-heart-card{background:#fbfaf8;border:1px solid #d8d5cd;border-radius:12px;min-width:0}
.dkg-growth-top,.dkg-heart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.dkg-grow-card,.dkg-heart-card{padding:19px}
.dkg-grow-card h3,.dkg-heart-card h3{font-size:17px;letter-spacing:-.03em;margin:0 0 12px}
.dkg-grow-card p,.dkg-heart-card p{font-size:13px;color:#646b65;line-height:1.7;margin:6px 0 0}
.dkg-grow-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dkg-grow-options button{border:1px solid #d2cdc3;background:#f3f0ea;border-radius:7px;color:#4d554e;padding:12px 6px;font-size:13px;font-weight:700}
.dkg-grow-options button[aria-pressed=true]{background:#363b37;color:#fff;border-color:#363b37}
.dkg-grow-reco{margin-top:15px;padding:14px;border-radius:9px;background:#e9e5dc}
.dkg-grow-reco span{font-size:12px;color:#777168}.dkg-grow-reco strong{display:block;font-size:18px;margin-top:6px}
.dkg-mini-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dkg-mini-form label,.dkg-heart-card>label{display:grid;gap:8px;font-size:12px;color:#606761;font-weight:750}
.dkg-mini-form input,.dkg-heart-card>label input,.dkg-shop-budget input,.dkg-shop-item input{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #c8c5bd;background:#fff;border-radius:7px;color:#2d3530;font-size:16px}
.dkg-support .dkg-mini-form{margin-top:18px}
.dkg-meter-result{margin-top:15px;border-top:1px solid #e5e1d7;padding-top:13px}.dkg-meter-result strong{font-size:20px}.dkg-meter-result p{margin-top:5px}
.dkg-section-subhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:22px 0 11px}
.dkg-section-subhead h3{font-size:17px;margin:0;letter-spacing:-.035em}.dkg-section-subhead span{font-size:12px;color:#807a70}
.dkg-stone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dkg-stone{padding:17px}.dkg-stone span,.dkg-shop-type{font-size:11px;color:#887d6b;font-weight:740}
.dkg-stone h4,.dkg-shop-item h4{font-size:16px;margin:8px 0;letter-spacing:-.025em}
.dkg-stone p,.dkg-shop-item p{margin:0;font-size:12px;line-height:1.7;color:#696e68}
.dkg-stone.is-highlighted{border-color:#8f887b;box-shadow:inset 0 0 0 1px #8f887b;background:#f3f0e9}
.dkg-shop-summary{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}
.dkg-shop-summary>div,.dkg-shop-budget{min-width:0;background:#f9f8f5;border:1px solid #d8d5cd;border-radius:10px;padding:14px;display:grid;gap:8px;align-content:center}
.dkg-shop-summary span,.dkg-shop-budget{font-size:12px;color:#626963}.dkg-shop-summary strong{font-size:21px;color:#333934;overflow-wrap:anywhere}
.dkg-shop-budget input{font-size:16px}
.dkg-shop-clear,.dkg-reset-tasks{background:#eeeae3;border:1px solid #d0cac0;border-radius:7px;padding:8px 11px;font-size:12px;color:#515850}
.dkg-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dkg-shop-item{padding:17px;display:grid;gap:5px}
.dkg-shop-item h4{margin:2px 0}.dkg-shop-meta{display:flex;flex-wrap:wrap;gap:7px 15px;margin-top:8px;font-size:12px;color:#69655e}
.dkg-shop-item label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:750;font-size:12px;margin-top:9px}
.dkg-shop-item input{max-width:96px;flex:0 1 96px;text-align:right;padding:7px 9px}
.dkg-shop-bottom{margin-top:14px;padding:15px 17px;border-radius:9px;background:#363b37;color:#f8f7f2}
.dkg-shop-bottom strong{font-size:15px}.dkg-shop-bottom p{margin:5px 0 0;color:#d4d5ce;font-size:12px;line-height:1.7}
.dkg-heart-card>label{margin-top:14px}
.dkg-heart-result{margin-top:16px;padding:14px 0;border-top:1px solid #e4dfd7;display:grid;gap:5px}
.dkg-heart-result strong{font-size:17px}.dkg-heart-result span{font-size:12px;color:#6b706a}
.dkg-heart-progress{margin-top:16px}.dkg-heart-progress>div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#70736d}
.dkg-heart-progress strong{font-size:18px;color:#383d37}
.dkg-heart-progress progress{width:100%;height:10px;accent-color:#7c8579;margin-top:10px}
.dkg-heart-tasks{margin-top:13px}.dkg-heart-heading{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.dkg-heart-heading h3{margin:0}.dkg-heart-heading strong{font-size:13px;white-space:nowrap;padding:5px 8px;background:#ebe8e2;border-radius:6px}
.dkg-heart-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}
.dkg-heart-checks label{display:flex;align-items:center;gap:9px;cursor:pointer;padding:12px;background:#f0ede8;border:1px solid #e0dcd5;border-radius:7px;font-weight:650;font-size:13px;line-height:1.4}
.dkg-heart-checks input{width:17px;height:17px;accent-color:#677568;flex:none}
@media(max-width:740px){.dkg-side{grid-template-columns:repeat(4,minmax(0,1fr))}.dkg-tab{min-height:43px}.dkg-grow-card,.dkg-heart-card{padding:16px}.dkg-shop-item{padding:14px}}
@media(max-width:550px){.dkg-growth-top,.dkg-heart-grid{grid-template-columns:1fr}.dkg-stone-grid{grid-template-columns:1fr}.dkg-shop-summary{grid-template-columns:1fr 1fr}.dkg-shop-summary .dkg-shop-budget{grid-column:1/-1}.dkg-shop-grid{grid-template-columns:1fr}.dkg-heart-checks{grid-template-columns:1fr}.dkg-mini-form{grid-template-columns:repeat(2,minmax(0,1fr))}.dkg-section-subhead span{display:none}.dkg-side{grid-template-columns:repeat(2,minmax(0,1fr))}.dkg-tab{justify-content:center}}

.dkg-shop-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.dkg-shop-summary .dkg-shop-budget{grid-column:span 1}
@media(max-width:950px){.dkg-shop-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.dkg-shop-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dkg-shop-summary .dkg-shop-budget{grid-column:span 1}}

/* Guild skill-slot experience: a compact numeric planner, not an unlock predictor. */
.dkg-grow-slot{border:1px solid #d8d5cd;background:#fbfaf8;border-radius:12px;padding:18px;margin-top:13px}
.dkg-grow-slot-title{display:flex;align-items:center;justify-content:space-between;gap:15px}
.dkg-grow-slot-title span{font-size:11px;font-weight:700;color:#867b6b}
.dkg-grow-slot-title h3{margin:5px 0 0;font-size:17px;font-weight:700;letter-spacing:-.01em}
.dkg-grow-slot-title>strong{font-size:17px;white-space:nowrap;letter-spacing:-.015em}
.dkg-grow-slot-body{margin-top:15px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:end;gap:14px}
.dkg-grow-slot-body label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#616761}
.dkg-grow-slot-body input{width:100%;min-width:0;padding:10px;border:1px solid #c8c5bd;border-radius:7px;background:#fff;color:#2d3530;font-size:16px}
.dkg-grow-slot-result{display:grid;gap:11px;min-width:0}
.dkg-grow-slot-result strong{font-size:15px;color:#343b36;font-variant-numeric:tabular-nums}
.dkg-grow-slot-result progress{width:100%;height:9px;accent-color:#748775}
.dkg-grow-slot>p{margin:13px 0 0;font-size:12px;line-height:1.65;color:#747870}
@media(max-width:550px){.dkg-grow-slot{padding:15px}.dkg-grow-slot-body{grid-template-columns:1fr}.dkg-grow-slot-title>strong{font-size:15px}}

/* Shop data uses recorded prices and guild level unlocks, not inferred purchase limits. */
.dkg-shop-filter{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.dkg-shop-filter button{background:#f3f0eb;border:1px solid #d5d0c7;color:#555b53;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:700}
.dkg-shop-filter button[aria-pressed=true]{background:#343a35;border-color:#343a35;color:#fff}
.dkg-shop-item[hidden]{display:none!important}
.dkg-shop-item-head{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;align-items:center}
.dkg-shop-lock{font-size:11px;color:#7c7061}
.dkg-shop-item[data-dkg-locked=true]{background:#efede8;border-color:#dedad2}
.dkg-shop-item[data-dkg-locked=true] input{background:#e4e1db;color:#7f817a}
.dkg-shop-item[data-dkg-locked=true] .dkg-shop-lock{color:#8f584e;font-weight:700}
.dkg-shop-meta strong{font-size:15px;color:#343b35}
@media(max-width:550px){.dkg-shop-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dkg-shop-filter button{padding:9px 6px;font-size:11px}}

.dkg-shop-filter button{min-height:38px}


/* Eight guild destinations: horizontal scroll rather than four stacked mobile rows. */
@media(max-width:740px){.dkg-side{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:6px;scrollbar-width:thin;padding:6px}.dkg-tab{flex:0 0 auto;white-space:nowrap;min-height:42px;padding:9px 12px}}
@media(max-width:550px){.dkg-side{display:flex;grid-template-columns:none}.dkg-tab{justify-content:center}}


/* Guild shop: immediate, budget-aware options without implying purchase caps. */
.dkg-shop-insight{background:#f5f3ee;border:1px solid #d8d2c7;border-radius:10px;margin:0 0 18px;padding:16px}
.dkg-shop-insight-head{display:flex;align-items:center;gap:18px;justify-content:space-between}
.dkg-shop-insight-head>div{display:grid;gap:4px;flex:none}
.dkg-shop-insight-head>div>span{color:#6b7069;font-size:11px;font-weight:700}
.dkg-shop-insight-head strong{font-size:24px;font-variant-numeric:tabular-nums;line-height:1.25;color:#303932}
.dkg-shop-insight-head>p{font-size:12px;color:#616961;line-height:1.55;max-width:290px;margin:0;text-align:right}
.dkg-shop-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.dkg-shop-offers:empty{display:none}
.dkg-shop-offers button{border:1px solid #c6c7bb;border-radius:7px;background:#fff;color:#343c35;min-width:0;padding:11px;text-align:left;font-size:12px;line-height:1.45;font-weight:700}
.dkg-shop-offers button:hover{background:#e8e6dd}
.dkg-shop-item-availability{font-size:12px;color:#637b64;font-weight:700}
.dkg-shop-item[data-dkg-locked=true] .dkg-shop-item-availability,.dkg-shop-item[data-dkg-affordable=false] .dkg-shop-item-availability{color:#856d64}
.dkg-shop-controls{display:flex;gap:10px;align-items:end;justify-content:space-between;margin-top:6px}
.dkg-shop-controls label{display:flex;gap:9px;align-items:center;flex:1;min-width:0}
.dkg-shop-controls button{flex:none;border-radius:7px;border:1px solid #bfc5b9;background:#ecefe7;color:#334737;padding:9px 10px;font-size:12px;font-weight:750}
.dkg-shop-controls button:disabled{opacity:.45;cursor:not-allowed}
.dkg-shop-controls button:not(:disabled):hover{background:#dbe3d6}
.dkg-shop-empty{padding:25px 16px;background:#f8f6f2;border-radius:8px;font-size:13px;color:#71756c;text-align:center;margin:0}
.dkg-shop-empty[hidden]{display:none!important}
@media(max-width:740px){.dkg-shop-offers{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.dkg-shop-insight{padding:14px}.dkg-shop-insight-head{align-items:flex-start}.dkg-shop-insight-head>p{font-size:11px}.dkg-shop-offers{grid-template-columns:1fr}.dkg-shop-controls label{font-size:12px}.dkg-shop-item input{max-width:85px}}


/* Guild growth phase 5: readable research-EXP lookup without guessed names or prerequisites. */
.dkg-research-main,.dkg-support-panel{border:1px solid #d8d5cd;background:#fbfaf8;border-radius:11px;padding:19px;min-width:0}
.dkg-research-main{margin-bottom:12px}
.dkg-research-intro,.dkg-support-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.dkg-research-intro>div>span,.dkg-support-heading>div>span{font-size:11px;font-weight:700;color:#827360}
.dkg-research-intro h3,.dkg-support-heading h3{margin:5px 0 0;font-size:19px;line-height:1.35;letter-spacing:-.015em}
.dkg-research-intro>strong{font-size:19px;white-space:nowrap;color:#363e37}
.dkg-research-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:15px;align-items:end;margin-top:15px}
.dkg-research-primary>label,.dkg-research-pickers label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#646a62}
.dkg-research-primary input,.dkg-research-pickers select{box-sizing:border-box;width:100%;min-width:0;background:#fff;border:1px solid #c9c5bd;border-radius:7px;color:#333c34;padding:11px;font-size:16px}
.dkg-research-progress{display:grid;gap:7px;min-width:0}
.dkg-research-progress strong{font-size:17px;color:#354136;font-variant-numeric:tabular-nums}
.dkg-research-progress progress{width:100%;height:9px;accent-color:#728772}
.dkg-research-progress span{font-size:11px;color:#777d74}
.dkg-research-more{margin-top:15px;padding:12px 13px;border-radius:8px;border:1px solid #ddd8ce;background:#f3f0eb}
.dkg-research-more summary{cursor:pointer;font-size:13px;color:#3e473f;font-weight:750}
.dkg-research-more summary span{margin-left:8px;color:#77786e;font-weight:500;font-size:11px}
.dkg-research-pickers{display:grid;grid-template-columns:1fr minmax(0,1.5fr) 1fr;gap:10px;margin:13px 0}
.dkg-research-more>p,.dkg-research-note{color:#75786f;font-size:12px;line-height:1.65;margin:12px 0 0}
.dkg-support-heading>strong{font-size:20px;color:#364037;font-variant-numeric:tabular-nums;white-space:nowrap}
.dkg-support-panel .dkg-mini-form{margin-top:14px}
.dkg-support-panel>p#dkg-support-detail{font-size:13px;font-weight:700;color:#4d5b50;margin:13px 0 0}
.dkg-support-ready{display:block;font-size:14px;color:#334c37;margin-top:7px}
.dkg-support-ready:empty{display:none}
@media(max-width:740px){.dkg-research-pickers{grid-template-columns:1fr 1fr}.dkg-research-pickers label:nth-child(2){grid-column:1/-1;grid-row:2}.dkg-research-pickers label:nth-child(3){grid-column:2;grid-row:1}}
@media(max-width:550px){.dkg-research-main,.dkg-support-panel{padding:15px}.dkg-research-intro>strong{font-size:15px}.dkg-research-intro h3,.dkg-support-heading h3{font-size:17px}.dkg-research-primary{grid-template-columns:1fr}.dkg-support-heading>strong{font-size:17px}}
