/* Optional workshop: the same stone atlas and sculpted pipe renderer as the campaign. */
.kdWorkshop{max-width:580px;margin:auto;color:#eddbb2;padding-bottom:20px;min-width:0}.kdWorkshop *{box-sizing:border-box}.kdWorkshopHero{padding:22px 18px;border:1px solid #8a713f;border-radius:18px;background:radial-gradient(ellipse at right,#99722e40,transparent 75%),linear-gradient(130deg,#232016,#0c171b)}.kdWorkshopHero h2{font:27px/1.2 Georgia,serif;margin:14px 0}.kdWorkshopHero p,.kdWorkshopGroup p{font-size:12px;line-height:1.6;color:#bbc4b5}.kdWorkshopHero>strong{display:block;font-size:13px;margin-top:14px;color:#edca7e}.kdWorkshopGroup{margin-top:24px}.kdWorkshopGroup>h3{font:23px Georgia,serif;margin:0 0 9px}.kdWorkshopCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.kdWorkshopCards>button{display:flex;flex-direction:column;gap:10px;text-align:start;min-width:0;padding:14px 9px;border:1px solid #6c6243;border-radius:12px;background:linear-gradient(135deg,#282b21,#111b20);color:#e7d5aa;cursor:pointer;overflow-wrap:anywhere}.kdWorkshopCards>button>span,.kdWorkshopCards>button>small{font-size:10px;line-height:1.5}.kdWorkshopCards>button>strong{font-size:13px}.kdWorkshopSafe,.kdWorkshopInstruction{font-size:11px;line-height:1.6;color:#aeb9ad;margin:17px 0}.kdWorkshopReturn{border:1px solid #8a713f;border-radius:9px;background:#14191a;color:#dec48c;padding:10px 13px;font-size:12px;min-height:44px}.kdWorkshopPlayHeading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:17px 0 10px}.kdWorkshopPlayHeading h2{font:25px Georgia,serif;margin:0;grid-column:1/-1}.kdWorkshopPlayHeading>span,.kdWorkshopPlayHeading>strong{font-size:12px;overflow-wrap:anywhere}.kdWorkshopRule{font-size:12px;line-height:1.6;color:#d6d6be}.kdWorkshopLegend{display:flex;flex-wrap:wrap;gap:7px 15px;margin:16px 0 20px;font-size:11px}.kdWorkshopLegend>[data-channel="1"]{color:#91d4ff}.kdWorkshopLegend>[data-channel="2"]{color:#ffafa1}.kdWorkshopBoard{position:relative;inset:auto;display:grid;gap:3px;padding:8px;width:100%;aspect-ratio:1;margin:8px auto 18px;border:1px solid var(--skin-metal,#b99352);border-radius:9px;background:#111518;--pipe-width:13;--skin-energy:#ffe7a4;--stone-tone:#1b1b19}.kdWorkshopBoard .tile{padding:0;display:grid;place-items:center;width:100%;height:auto;cursor:pointer;position:relative;aspect-ratio:1;isolation:isolate}.kdWorkshopBoard .tile>svg:not(.kdBoardOrnament){position:absolute;inset:0;width:100%;height:100%}.kdWorkshopBoard>.kdBoardOrnament{z-index:1}.kdWorkshopBoard .tile[data-flow="1"]{--skin-energy:#83ceff}.kdWorkshopBoard .tile[data-flow="2"]{--skin-energy:#ff9b86}.kdWorkshopBoard .tile[data-flow="3"]{--skin-energy:#d8a4ff}.kdWorkshopBoard .tile[data-flow="1"] .kdPipeCore{stroke:#83ceff!important}.kdWorkshopBoard .tile[data-flow="2"] .kdPipeCore{stroke:#ff9b86!important}.kdWorkshopBoard .tile[data-flow="3"] .kdPipeCore{stroke:#d8a4ff!important}.kdWorkshopMarker{position:absolute;z-index:2;top:2px;left:2px;min-width:18px;padding:2px 3px;border:1px solid currentColor;border-radius:4px;background:#080b0fec;color:#91d4ff;font:700 10px/1 system-ui;pointer-events:none}.kdWorkshopMarker[data-channel="2"]{color:#ffafa1}.kdWorkshopArrow{position:absolute;z-index:2;right:3px;bottom:3px;padding:1px 3px;border-radius:3px;background:#080b0fe8;color:#f4e3b5;font:bold clamp(11px,4vw,20px)/1 system-ui;pointer-events:none}.kdWorkshop .tile:focus-visible,.kdWorkshop button:focus-visible{outline:3px solid #ffda76!important;outline-offset:2px}.kdWorkshopStatus{border:1px solid #645b39;border-radius:12px;padding:11px 13px;background:#161d1c;font-size:12px;line-height:1.5;min-height:47px}.kdWorkshopStatus p{margin:0}.kdWorkshopStatus>strong{display:block;margin-bottom:7px;color:#f1d18c}.kdWorkshopStatus.isSolved{border-color:#a0b66c;background:#1c2a21}.kdWorkshopActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.kdWorkshopActions button,.kdWorkshopSave{min-height:44px;padding:11px 8px;border:1px solid #9c7d44;border-radius:10px;font-size:12px;background:linear-gradient(125deg,#343021,#151e20);color:#eed9a5}.kdWorkshopSave{width:100%;margin-top:10px}@media(max-width:350px){.kdWorkshopHero{padding:16px 13px}.kdWorkshopHero h2{font-size:23px}.kdWorkshopCards{gap:5px}.kdWorkshopCards>button{padding:11px 6px}.kdWorkshopCards>button>strong{font-size:11px}.kdWorkshopCards>button>span,.kdWorkshopCards>button>small{font-size:9px}.kdWorkshopBoard{gap:2px;padding:6px}.kdWorkshopPlayHeading h2{font-size:23px}.kdWorkshopLegend{gap:7px 10px}.kdWorkshopMarker{font-size:9px;padding:2px}.kdWorkshopActions{gap:6px}}@media(prefers-reduced-motion:reduce){.kdWorkshop *{transition:none!important;animation:none!important}}
