/* Kitchen v3: cooking/purifying tabs with cabinet-style slots */
.house-station-body.house-station-kitchen{
  overflow:hidden;
  grid-template-rows:minmax(0,1fr);
  align-content:stretch;
}
.house-kitchen-shell{
  min-width:0;
  min-height:0;
  height:100%;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:8px;
  overflow:hidden;
}
.house-kitchen-tabs{
  position:relative;
  top:auto;
  flex:0 0 auto;
}
.house-layout-kitchen-v3{
  min-width:0;
  min-height:0;
  height:100%;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:122px auto minmax(0,1fr);
  gap:8px;
}
.house-layout-kitchen-v3>.house-kitchen-description-pane,
.house-layout-kitchen-v3>.house-kitchen-slots-pane,
.house-layout-kitchen-v3>.house-kitchen-pantry{
  grid-column:1/-1;
}
.house-kitchen-description-pane{
  min-height:0;
  height:122px;
  max-height:122px;
  overflow:hidden;
  padding:8px;
}
.house-kitchen-description{
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  align-items:start;
}
.house-kitchen-description .house-selection-copy{
  align-self:start;
}
.house-kitchen-owned{
  color:var(--house-accent)!important;
}
.house-kitchen-extra{
  color:#b9c7bf!important;
}
.house-kitchen-slots-pane{
  display:grid;
  gap:7px;
  align-content:start;
  padding:8px;
}
.house-kitchen-slots-pane>.house-pane-head{
  margin-bottom:0;
  padding-bottom:6px;
}
.house-kitchen-sockets{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:6px;
}
.house-kitchen-socket{
  position:relative;
  min-width:0;
  height:58px;
  min-height:58px;
  display:grid;
  place-items:center;
  border:1px dashed color-mix(in srgb,var(--house-accent) 45%,#53645b)!important;
  border-radius:10px!important;
  background:rgba(5,9,7,.36)!important;
  padding:4px!important;
  color:#7f9188!important;
}
.house-kitchen-socket.filled{
  border-style:solid!important;
  border-color:var(--house-accent)!important;
  background:var(--house-glow)!important;
  color:#eff8f3!important;
}
.house-kitchen-socket:disabled{
  opacity:1!important;
}
.house-kitchen-socket-icon{
  font:27px/1 var(--icon-font)!important;
  letter-spacing:normal!important;
  word-spacing:normal!important;
}
.house-kitchen-socket>small{
  position:absolute;
  right:4px;
  bottom:3px;
  color:#7f9188;
  font-size:6px;
}
.house-kitchen-slot-outcome{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 8px;
  align-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:rgba(5,9,7,.26);
  padding:6px 8px;
}
.house-kitchen-slot-outcome strong{
  min-width:0;
  color:#edf4f0;
  font-size:8px;
  overflow-wrap:anywhere;
}
.house-kitchen-slot-outcome small{
  min-width:0;
  color:#8fa097;
  font-size:6.5px;
  text-align:right;
  overflow-wrap:anywhere;
}
.house-kitchen-slots-pane>.house-action{
  width:100%;
  margin-top:0;
}
.house-kitchen-pantry{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:8px;
}
.house-kitchen-pantry>.house-pane-head{
  flex:0 0 auto;
  margin-bottom:7px;
  padding-bottom:6px;
}
.house-kitchen-item-grid{
  min-width:0;
  min-height:0;
  flex:1 1 auto;
  grid-template-columns:repeat(auto-fill,minmax(54px,1fr));
  grid-auto-rows:58px;
  gap:5px;
  align-content:start;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.house-kitchen-item-grid .house-tile.icon-only{
  min-height:58px;
  height:58px;
  grid-template-rows:1fr;
  place-items:center;
  padding:4px;
}
.house-kitchen-item-grid .house-tile.icon-only .house-tile-icon{
  font-size:27px;
}
.house-kitchen-item.depleted{
  opacity:.45;
  filter:saturate(.5);
}
.house-kitchen-item .house-tile-level{
  max-width:70%;
  font-size:7px;
}
.house-kitchen-item.selected{
  box-shadow:0 0 0 2px color-mix(in srgb,var(--house-accent) 35%,transparent),inset 0 0 20px var(--house-glow);
}

@media(max-width:680px){
  .house-kitchen-shell{gap:6px}
  .house-layout-kitchen-v3{
    grid-template-rows:108px auto minmax(0,1fr);
    gap:6px;
  }
  .house-kitchen-description-pane{
    height:108px;
    min-height:108px;
    max-height:108px;
    padding:6px;
  }
  .house-kitchen-slots-pane,
  .house-kitchen-pantry{
    padding:6px;
  }
  .house-kitchen-sockets{gap:4px}
  .house-kitchen-socket{
    height:50px;
    min-height:50px;
    border-radius:8px!important;
  }
  .house-kitchen-socket-icon{font-size:23px!important}
  .house-kitchen-item-grid{
    grid-template-columns:repeat(auto-fill,minmax(48px,1fr));
    grid-auto-rows:52px;
    gap:4px;
  }
  .house-kitchen-item-grid .house-tile.icon-only{
    min-height:52px;
    height:52px;
  }
  .house-kitchen-item-grid .house-tile.icon-only .house-tile-icon{
    font-size:24px;
  }
}
@media(max-width:430px){
  .house-layout-kitchen-v3{
    grid-template-rows:104px auto minmax(0,1fr);
  }
  .house-kitchen-description-pane{
    height:104px;
    min-height:104px;
    max-height:104px;
  }
  .house-kitchen-description .house-selection-hero{
    grid-template-columns:36px minmax(0,1fr);
    gap:6px;
    padding:6px;
  }
  .house-kitchen-description .house-selection-icon{
    width:36px;
    height:36px;
    font-size:21px;
  }
  .house-kitchen-description .house-selection-copy strong{font-size:9px}
  .house-kitchen-description .house-selection-copy small{font-size:6.5px}
  .house-kitchen-slot-outcome{
    grid-template-columns:minmax(0,1fr);
  }
  .house-kitchen-slot-outcome small{
    text-align:left;
  }
  .house-kitchen-slots-pane>.house-action{
    min-height:38px;
    padding:7px 8px;
  }
}


/* Kitchen recipe dropdown */
.house-kitchen-recipe-picker{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:5px 8px;
  align-items:center;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:rgba(5,9,7,.26);
  padding:6px 8px;
}
.house-kitchen-recipe-label{
  color:#90a198;
  font-size:6.5px;
  white-space:nowrap;
}
.house-kitchen-recipe-select{
  min-width:0;
  width:100%;
  height:34px;
  border:1px solid var(--house-border);
  border-radius:8px;
  background:rgba(8,14,11,.92);
  color:#edf4f0;
  padding:5px 26px 5px 8px;
  font:800 8px/1.1 WaveVar2;
  letter-spacing:-.03em;
}
.house-kitchen-recipe-select:focus{
  outline:1px solid var(--house-accent);
  border-color:var(--house-accent);
}
.house-kitchen-recipe-select option{
  background:#101713;
  color:#edf4f0;
}
.house-kitchen-recipe-status{
  grid-column:2;
  min-width:0;
  color:#8fa097;
  font-size:6.5px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
@media(max-width:430px){
  .house-kitchen-recipe-picker{
    grid-template-columns:1fr;
    gap:4px;
  }
  .house-kitchen-recipe-status{
    grid-column:1;
  }
  .house-kitchen-recipe-select{
    height:32px;
    font-size:7px;
  }
}


/* Forge v2: melt + material purification share one station */
.house-station-body.house-station-forge.house-forge-purify-mode{
  --house-accent:#75d8db;
  --house-border:rgba(117,216,219,.35);
  --house-glow:rgba(117,216,219,.10);
  --house-deep:#0d1819;
}
.house-forge-shell{
  min-width:0;
  min-height:0;
  height:100%;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:8px;
  overflow:hidden;
}
.house-forge-tabs{
  position:relative;
  top:auto;
}
.house-forge-shell>.house-layout-forge{
  min-height:0;
  height:100%;
  grid-template-rows:148px minmax(0,1fr) auto;
  overflow:hidden;
}
.house-forge-shell>.house-layout-forge>.house-forge-description-pane{
  grid-row:1;
}
.house-forge-shell>.house-layout-forge>.house-pane-source,
.house-forge-shell>.house-layout-forge>.house-pane-process{
  grid-row:2;
}
.house-forge-shell>.house-layout-forge>.house-forge-materials-pane{
  grid-row:3;
}

.house-layout-forge-purify{
  min-width:0;
  min-height:0;
  height:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:122px auto minmax(0,1fr);
  gap:8px;
  overflow:hidden;
}
.house-forge-purify-description-pane,
.house-forge-purify-slot-pane,
.house-forge-purify-materials-pane{
  grid-column:1/-1;
}
.house-forge-purify-description-pane{
  min-height:122px;
  height:122px;
  max-height:122px;
  overflow:hidden;
  padding:8px;
}
.house-forge-purify-description{
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  align-items:start;
}
.house-forge-purify-description .house-selection-copy{
  align-self:start;
}
.house-forge-purify-state{
  color:var(--house-accent)!important;
}
.house-forge-purify-slot-pane{
  display:grid;
  gap:7px;
  align-content:start;
  padding:8px;
}
.house-forge-purify-slot-pane>.house-pane-head{
  margin-bottom:0;
  padding-bottom:6px;
}
.house-forge-purify-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);
  gap:7px;
  align-items:stretch;
}
.house-forge-purify-socket{
  min-width:0;
  min-height:78px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  grid-template-rows:auto auto;
  gap:2px 7px;
  align-items:center;
  appearance:none;
  border:1px dashed color-mix(in srgb,var(--house-accent) 48%,#53645b);
  border-radius:11px;
  background:rgba(5,9,7,.34);
  color:#e8f3ef;
  padding:7px;
  text-align:left;
}
.house-forge-purify-socket.filled{
  border-style:solid;
  border-color:color-mix(in srgb,var(--house-accent) 72%,#fff);
  background:color-mix(in srgb,var(--house-accent) 8%,rgba(5,9,7,.45));
}
.house-forge-purify-socket:disabled{
  opacity:.52;
}
.house-forge-purify-art{
  grid-row:1/3;
  width:42px;
  height:42px;
  object-fit:contain;
}
.house-forge-purify-socket strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f1f7f4;
  font-size:9px;
}
.house-forge-purify-socket small{
  color:#8fa39a;
  font-size:7px;
}
.house-forge-purify-plus{
  grid-row:1/3;
  display:grid;
  place-items:center;
  min-height:42px;
  color:var(--house-accent);
  font-size:25px;
}
.house-forge-purify-transfer{
  display:grid;
  place-content:center;
  justify-items:center;
  gap:2px;
  color:#8fa39a;
  text-align:center;
}
.house-forge-purify-transfer .house-transform-arrow{
  font-size:20px;
  line-height:1;
}
.house-forge-purify-transfer strong{
  color:#eff9f5;
  font-size:9px;
}
.house-forge-purify-transfer small{
  font-size:6px;
}
.house-forge-purify-status{
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#8fa39a;
  font-size:7px;
}
.house-forge-purify-slot-pane>.house-action{
  width:100%;
  margin-top:0;
}
.house-forge-purify-materials-pane{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:7px 8px;
}
.house-forge-purify-materials-pane>.house-pane-head{
  flex:0 0 auto;
  margin-bottom:5px;
  padding-bottom:4px;
}
.house-forge-purify-materials-pane>.house-pane-head h3{
  font-size:9px;
}
.house-forge-purify-materials-pane>.house-pane-head small{
  font-size:6px;
}
.house-forge-purify-material-grid{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  align-content:start;
}
.house-forge-purify-material-grid .house-workshop-material{
  min-height:40px;
}
.house-forge-purify-material-grid .house-workshop-material.terminal{
  opacity:.68;
}
.house-forge-purify-material-grid .house-workshop-material.required{
  box-shadow:inset 0 0 12px var(--house-glow);
}

@media(max-width:680px){
  .house-forge-shell{gap:6px}
  .house-forge-shell>.house-layout-forge{
    grid-template-rows:124px minmax(0,1fr) auto;
  }
  .house-layout-forge-purify{
    grid-template-rows:108px auto minmax(0,1fr);
    gap:6px;
  }
  .house-forge-purify-description-pane{
    min-height:108px;
    height:108px;
    max-height:108px;
    padding:6px;
  }
  .house-forge-purify-slot-pane,
  .house-forge-purify-materials-pane{
    padding:6px;
  }
  .house-forge-purify-stage{
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);
    gap:5px;
  }
  .house-forge-purify-socket{
    min-height:66px;
    grid-template-columns:34px minmax(0,1fr);
    gap:2px 5px;
    padding:5px;
    border-radius:9px;
  }
  .house-forge-purify-art{
    width:32px;
    height:32px;
  }
  .house-forge-purify-socket strong{font-size:8px}
  .house-forge-purify-socket small{font-size:6px}
  .house-forge-purify-transfer .house-transform-arrow{font-size:17px}
  .house-forge-purify-material-grid .house-workshop-material{
    min-height:34px;
  }
}
@media(max-width:430px){
  .house-forge-shell>.house-layout-forge{
    grid-template-rows:120px minmax(0,1fr) auto;
  }
  .house-layout-forge-purify{
    grid-template-rows:104px auto minmax(0,1fr);
  }
  .house-forge-purify-description-pane{
    min-height:104px;
    height:104px;
    max-height:104px;
  }
  .house-selection-hero.house-forge-purify-description{
    grid-template-columns:36px minmax(0,1fr);
    gap:6px;
    padding:6px;
  }
  .house-forge-purify-description .house-selection-icon{
    width:36px;
    height:36px;
  }
  .house-forge-purify-description .house-selection-material-art{
    width:30px;
    height:30px;
  }
  .house-forge-purify-description .house-selection-copy strong{font-size:9px}
  .house-forge-purify-description .house-selection-copy small{font-size:6.5px}
  .house-forge-purify-stage{
    grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);
    gap:4px;
  }
  .house-forge-purify-socket{
    min-height:60px;
    grid-template-columns:28px minmax(0,1fr);
    padding:4px;
    gap:2px 4px;
  }
  .house-forge-purify-art{
    width:27px;
    height:27px;
  }
  .house-forge-purify-socket strong{font-size:7px}
  .house-forge-purify-socket small{font-size:5.5px}
  .house-forge-purify-status{font-size:6px}
}


/* Origin identity gate: freezes the cinematic immediately before the feather drop. */
.player-setup-modal{z-index:60;background:rgba(4,8,7,.86);backdrop-filter:blur(8px)}
.player-setup-panel{width:min(470px,100%);overflow:visible;background:linear-gradient(180deg,#18221e 0%,#0d1512 100%);border-color:#6b4e2f;box-shadow:0 26px 100px #000,0 0 52px rgba(255,128,40,.12)}
.player-setup-eyebrow{display:block;color:#ffb459!important;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:7px}
.player-setup-panel h2{margin:0 0 8px;font-size:27px}
.player-setup-copy{margin:0;line-height:1.45}
.player-parent-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.panel .player-parent-option{display:grid;place-items:center;gap:4px;min-height:156px;padding:14px 10px;background:#101a16;border:1px solid #30443a;border-radius:15px;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.panel .player-parent-option.selected{border-color:#ff9c43;box-shadow:inset 0 0 0 1px #ff9c43,0 0 26px rgba(255,126,45,.16);background:#211811}
.panel .player-parent-option:active{transform:scale(.985)}
.player-parent-option b{font-size:17px}
.player-parent-option small{font-size:11px}
.player-parent-portrait{position:relative;display:block;width:60px;height:72px;margin-bottom:5px}
.player-parent-portrait:before{content:"";position:absolute;left:17px;top:4px;width:26px;height:26px;border-radius:50%;background:#ed9238;box-shadow:0 28px 0 5px #d67525}
.player-parent-portrait:after{content:"";position:absolute;left:15px;top:1px;width:30px;height:8px;border-radius:8px 8px 2px 2px;background:#4e2b1d}
.player-parent-portrait.mum:before{background:#e9b78c;box-shadow:0 28px 0 5px #8f4f45}
.player-parent-portrait.mum:after{left:10px;top:0;width:40px;height:50px;border-radius:18px 18px 12px 12px;background:linear-gradient(90deg,#4a2d24 0 24%,transparent 24% 76%,#4a2d24 76%);box-shadow:0 -1px 0 0 #4a2d24}
.player-setup-form{display:grid;gap:6px}
.player-setup-form label{font-size:12px;font-weight:900;color:#d9dedb}
.player-setup-form input{box-sizing:border-box;margin:0;font:inherit}
.player-setup-message{min-height:18px;margin:0;color:#ffbb76!important}
.panel .player-setup-continue{margin-top:3px;background:#d96b2b}
@media(max-width:380px){.player-setup-panel{padding:15px}.player-parent-choice{gap:8px}.panel .player-parent-option{min-height:138px;padding:10px 6px}}


/* Canonical reinforcement material grid + crucible material outputs */
.house-material-description-state{
  color:var(--house-accent)!important;
}

/* Every house surface uses the Workshop reinforcement grid as the canonical
   material presentation. Layout/geometry stay identical; station accent vars
   provide the only visual color change. */
.house-materials-pane{
  padding:7px 8px;
}
.house-materials-pane>.house-pane-head{
  margin-bottom:5px;
  padding-bottom:4px;
}
.house-materials-pane>.house-pane-head h3{
  font-size:9px;
}
.house-materials-pane>.house-pane-head small{
  font-size:6px;
}
.house-materials-pane .house-workshop-material-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
}
.house-materials-pane .house-workshop-material{
  min-width:0;
  min-height:34px;
  display:grid;
  grid-template-columns:auto auto;
  justify-content:center;
  align-items:center;
  gap:4px;
  padding:4px 5px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:7px;
  background:rgba(5,9,7,.34);
  color:#e5ece8;
}
.house-materials-pane button.house-workshop-material{
  appearance:none;
  font:inherit;
  line-height:1;
  cursor:pointer;
}
.house-materials-pane .house-workshop-material:hover,
.house-materials-pane .house-workshop-material:focus-visible{
  border-color:color-mix(in srgb,var(--house-accent) 70%,#fff);
  outline:none;
}
.house-materials-pane .house-workshop-material.required,
.house-materials-pane .house-workshop-material.ready{
  border-color:var(--house-accent);
  background:var(--house-glow);
  box-shadow:inset 0 0 10px var(--house-glow);
}
.house-materials-pane .house-workshop-material.selected{
  border-color:color-mix(in srgb,var(--house-accent) 78%,#fff);
  background:color-mix(in srgb,var(--house-accent) 18%,rgba(5,9,7,.45));
  box-shadow:0 0 0 1px color-mix(in srgb,var(--house-accent) 36%,transparent),inset 0 0 12px var(--house-glow);
}
.house-materials-pane .house-workshop-material.terminal{
  opacity:.68;
}
.house-materials-pane .house-workshop-material.static{
  cursor:default;
}
.house-materials-pane .house-workshop-material.static:hover{
  border-color:rgba(255,255,255,.09);
}
.house-materials-pane .house-workshop-material-icon{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}
.house-materials-pane .house-workshop-material-qty{
  min-width:0;
  color:#edf4f0;
  font:900 8px/1 WaveVar2;
  white-space:nowrap;
}

/* Crucible outputs use the exact same tier artwork as the canonical grid. */
button.house-material-output{
  appearance:none;
  width:100%;
  min-height:0;
  grid-template-columns:28px minmax(0,1fr);
  grid-template-rows:1fr;
  align-items:center;
  gap:7px;
  border:1px solid var(--house-border);
  border-radius:10px;
  background:rgba(5,9,7,.34);
  color:#edf4f0;
  padding:7px;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.house-material-output:hover,
.house-material-output:focus-visible{
  border-color:color-mix(in srgb,var(--house-accent) 70%,#fff);
  outline:none;
  background:color-mix(in srgb,var(--house-accent) 8%,rgba(5,9,7,.34));
}
.house-material-output-icon{
  width:28px;
  height:28px;
  object-fit:contain;
}
.house-material-output-copy{
  min-width:0;
  display:grid;
  gap:2px;
  color:inherit!important;
  font-size:inherit!important;
}
.house-material-output-copy small{
  color:#8ca097;
  font-size:7px;
  line-height:1;
}
.house-material-output-copy b{
  color:#f0f5f2;
  font-size:13px;
  line-height:1;
}
.house-material-output-copy em{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#819087;
  font-size:7px;
  line-height:1.1;
  font-style:normal;
}

/* Purifier keeps its scrollable bottom region, but not a different card design. */
.house-forge-purify-material-grid{
  align-content:start;
}
.house-forge-purify-material-grid .house-workshop-material{
  min-height:34px;
}

/* Workshop, melt, purifier and utility copies now inherit one geometry. */
.house-workshop-materials-pane,
.house-workshop-utility-materials,
.house-forge-materials-pane,
.house-forge-purify-materials-pane{
  padding:7px 8px;
}

@media(max-width:680px){
  .house-materials-pane{padding:6px}
  .house-materials-pane .house-workshop-material-grid{gap:3px}
  .house-materials-pane .house-workshop-material{
    min-height:31px;
    padding:3px 4px;
    gap:3px;
  }
  .house-materials-pane .house-workshop-material-icon{
    width:21px;
    height:21px;
  }
  .house-materials-pane .house-workshop-material-qty{font-size:7px}
  .house-forge-purify-material-grid .house-workshop-material{min-height:31px}
  .house-material-output{
    grid-template-columns:24px minmax(0,1fr);
    gap:5px;
    padding:6px;
  }
  .house-material-output-icon{width:24px;height:24px}
  .house-material-output-copy b{font-size:11px}
}
@media(max-width:430px){
  .house-materials-pane .house-workshop-material{
    min-height:29px;
    padding:3px;
  }
  .house-materials-pane .house-workshop-material-icon{
    width:19px;
    height:19px;
  }
  .house-materials-pane .house-workshop-material-qty{font-size:6.5px}
  .house-forge-purify-material-grid .house-workshop-material{min-height:29px}
  .house-material-output-copy small,
  .house-material-output-copy em{font-size:6px}
  .house-material-output-copy b{font-size:10px}
}


/* Kitchen recipe availability states */
.house-kitchen-recipe-select option.missing,
.house-kitchen-recipe-select option[data-missing="true"]{
  color:#ff7777;
}
.house-kitchen-recipe-select.missing{
  border-color:#cf5f5f;
  color:#ff8a8a;
  background:rgba(66,17,17,.46);
  box-shadow:inset 0 0 12px rgba(207,72,72,.09);
}
.house-kitchen-recipe-picker.missing{
  border-color:rgba(218,85,85,.42);
  background:rgba(67,17,17,.20);
}
.house-kitchen-recipe-status.missing{
  color:#ff8585;
  font-weight:800;
}
.house-kitchen-socket.missing{
  border-style:solid!important;
  border-color:#e25f5f!important;
  background:
    linear-gradient(145deg,rgba(226,95,95,.18),rgba(55,12,12,.48))!important;
  color:#ff8a8a!important;
  box-shadow:
    inset 0 0 18px rgba(226,95,95,.12),
    0 0 0 1px rgba(226,95,95,.10);
}
.house-kitchen-socket.missing .house-kitchen-socket-icon{
  opacity:.72;
  filter:saturate(.72);
}
.house-kitchen-socket.missing>small{
  color:#ff7777;
  font-size:9px;
  font-weight:900;
}


/* Kitchen custom recipe dropdown v2 */
.house-kitchen-slots-pane{
  position:relative;
  z-index:3;
  overflow:visible;
}
.house-kitchen-recipe-picker{
  position:relative;
  overflow:visible;
}
.house-kitchen-recipe-dropdown{
  position:relative;
  min-width:0;
  width:100%;
}
.house-kitchen-recipe-dropdown>summary{
  list-style:none;
}
.house-kitchen-recipe-dropdown>summary::-webkit-details-marker{
  display:none;
}
.house-kitchen-recipe-summary{
  min-width:0;
  width:100%;
  height:34px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  border:1px solid var(--house-border);
  border-radius:8px;
  background:rgba(8,14,11,.92);
  color:#edf4f0;
  padding:5px 8px;
  cursor:pointer;
  user-select:none;
}
.house-kitchen-recipe-dropdown.missing .house-kitchen-recipe-summary{
  border-color:#cf5f5f;
  background:rgba(66,17,17,.46);
  color:#ff8585;
}
.house-kitchen-recipe-current{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8px;
  font-weight:800;
  line-height:1.1;
}
.house-kitchen-recipe-chevron{
  color:#90a198;
  font-size:13px;
  line-height:1;
  transition:transform .12s ease;
}
.house-kitchen-recipe-dropdown[open] .house-kitchen-recipe-chevron{
  transform:rotate(180deg);
}
.house-kitchen-recipe-menu{
  position:absolute;
  z-index:40;
  top:calc(100% + 5px);
  left:0;
  right:0;
  max-height:190px;
  display:grid;
  gap:3px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  padding:5px;
  border:1px solid var(--house-border);
  border-radius:10px;
  background:#0b120f;
  box-shadow:0 12px 28px rgba(0,0,0,.52);
  scrollbar-gutter:stable;
}
.house-kitchen-recipe-option{
  min-width:0;
  min-height:38px!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:7px;
  padding:7px 8px!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.025)!important;
  text-align:left!important;
}
.house-kitchen-recipe-option.available{
  color:#f3f7f5!important;
}
.house-kitchen-recipe-option.missing{
  color:#ff7777!important;
  border-color:rgba(226,95,95,.24)!important;
  background:rgba(84,20,20,.16)!important;
}
.house-kitchen-recipe-option:active{
  filter:brightness(1.16);
}
.house-kitchen-recipe-option-icon{
  display:grid;
  place-items:center;
  font:18px/1 var(--icon-font)!important;
  letter-spacing:normal!important;
  word-spacing:normal!important;
}
.house-kitchen-recipe-option-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8px;
  line-height:1.15;
}
.house-kitchen-recipe-status{
  grid-column:2;
}
.house-kitchen-recipe-status.missing{
  color:#ff7777;
}
@media(max-width:430px){
  .house-kitchen-recipe-summary{
    height:32px;
    padding:5px 7px;
  }
  .house-kitchen-recipe-current{
    font-size:7px;
  }
  .house-kitchen-recipe-menu{
    max-height:170px;
  }
  .house-kitchen-recipe-option{
    min-height:36px!important;
  }
  .house-kitchen-recipe-status{
    grid-column:1;
  }
}


