/* ==========================================================================
   CannaGrow 0.7.0 – Standorte, Zelte, Betriebskosten & Wartung
   ========================================================================== */

.business-panel{
  margin:14px 0 12px;
  padding:16px;
  border-radius:20px;
}

.business-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}

.business-head h2{
  margin:3px 0 4px;
}

.business-head p{
  margin:0;
  max-width:720px;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}

.business-cost-badge{
  min-width:190px;
  padding:11px 13px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.055);
  background:rgba(255,255,255,.025);
  text-align:right;
}

.business-cost-badge span,
.business-cost-badge small{
  display:block;
  color:var(--muted);
  font-size:9px;
}

.business-cost-badge strong{
  display:block;
  margin:2px 0;
  font-size:18px;
}

.property-switcher,
.tent-switcher{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:2px 0 4px;
  scrollbar-width:thin;
}

.property-switcher{
  margin-top:14px;
}

.tent-switcher{
  margin-top:8px;
}

.property-chip,
.tent-chip{
  appearance:none;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.025);
  color:var(--text);
  border-radius:12px;
  min-height:52px;
  padding:8px 10px;
  cursor:pointer;
  flex:0 0 auto;
  transition:.18s ease;
}

.property-chip{
  min-width:112px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:2px 7px;
  text-align:left;
}

.property-chip > span{
  grid-row:1/3;
  align-self:center;
  font-size:19px;
}

.property-chip b,
.tent-chip b{
  font-size:10px;
}

.property-chip small,
.tent-chip small{
  color:var(--muted);
  font-size:8px;
}

.property-chip.active,
.tent-chip.active{
  border-color:rgba(93,218,132,.24);
  background:rgba(78,193,111,.075);
}

.tent-chip{
  min-width:170px;
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
}

.tent-chip > span{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(255,255,255,.035);
  font-size:10px;
  font-weight:900;
}

.tent-chip div{
  min-width:0;
}

.tent-chip b,
.tent-chip small{
  display:block;
}

.tent-chip.add{
  border-style:dashed;
}

.business-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}

.business-metrics > div{
  min-width:0;
  padding:9px 10px;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.045);
  background:rgba(255,255,255,.018);
}

.business-metrics span,
.business-metrics small{
  display:block;
  color:var(--muted);
  font-size:8px;
}

.business-metrics strong{
  display:block;
  margin-top:2px;
  font-size:12px;
}

.business-metrics .warn{
  border-color:rgba(221,163,60,.17);
}

.business-metrics .danger{
  border-color:rgba(218,79,64,.19);
}

.maintenance-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:9px;
  padding:10px 11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.02);
}

.maintenance-row span,
.maintenance-row strong,
.maintenance-row small{
  display:block;
}

.maintenance-row span{
  color:var(--muted);
  font-size:8px;
}

.maintenance-row strong{
  margin:2px 0;
  font-size:11px;
}

.maintenance-row small{
  color:var(--muted);
  font-size:8px;
}

.property-market{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:11px;
}

.property-offer{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.018);
}

.property-offer.locked{
  opacity:.56;
}

.property-offer.owned{
  border-color:rgba(81,204,118,.12);
}

.property-offer-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  font-size:19px;
}

.property-offer span,
.property-offer strong,
.property-offer small{
  display:block;
}

.property-offer > div:nth-child(2) > span{
  color:var(--muted);
  font-size:7px;
  letter-spacing:.08em;
}

.property-offer strong{
  margin:2px 0;
  font-size:10px;
}

.property-offer small{
  color:var(--muted);
  font-size:8px;
  line-height:1.35;
}

@media(max-width:980px){
  .business-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .property-market{
    grid-template-columns:1fr;
  }
}

@media(max-width:600px){
  .business-panel{
    padding:12px;
    border-radius:17px;
  }

  .business-head{
    display:grid;
    grid-template-columns:1fr;
  }

  .business-head p{
    font-size:12px!important;
  }

  .business-cost-badge{
    width:100%;
    min-width:0;
    text-align:left;
  }

  .business-cost-badge span,
  .business-cost-badge small,
  .business-metrics span,
  .business-metrics small,
  .maintenance-row span,
  .maintenance-row small,
  .property-chip small,
  .tent-chip small,
  .property-offer > div:nth-child(2) > span,
  .property-offer small{
    font-size:10px!important;
  }

  .business-cost-badge strong{
    font-size:20px;
  }

  .business-metrics{
    grid-template-columns:1fr 1fr;
  }

  .business-metrics strong,
  .maintenance-row strong,
  .property-chip b,
  .tent-chip b,
  .property-offer strong{
    font-size:12px!important;
  }

  .property-chip{
    min-height:58px;
  }

  .tent-chip{
    min-height:60px;
    min-width:190px;
  }

  .maintenance-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .maintenance-row button{
    width:100%;
  }

  .property-offer{
    grid-template-columns:auto minmax(0,1fr);
  }

  .property-offer > button,
  .property-offer > .pill{
    grid-column:1/-1;
    width:100%;
  }
}

@media(max-width:380px){
  .business-metrics{
    grid-template-columns:1fr;
  }
}

@media(min-width:821px){
  .room-stats{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


/* ==========================================================================
   CannaGrow 0.7.1 – Aufgeräumter Growroom, Technik- & Immobilien-Shop
   ========================================================================== */

.business-panel{
  padding:11px 13px;
}

.room-overview-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.room-overview-location{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.room-overview-location .property-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:11px;
  background:rgba(255,255,255,.035);
  font-size:20px;
}

.room-overview-location strong,
.room-overview-location small{
  display:block;
}

.room-overview-location strong{
  margin-top:2px;
  font-size:13px;
}

.room-overview-location small{
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}

.room-overview-actions{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.compact-tent-switcher{
  display:flex;
  gap:6px;
  overflow-x:auto;
  margin-top:9px;
  padding-bottom:2px;
}

.compact-tent-chip{
  appearance:none;
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  min-width:132px;
  padding:7px 9px;
  color:var(--text);
  border:1px solid rgba(255,255,255,.05);
  border-radius:10px;
  background:rgba(255,255,255,.018);
  cursor:pointer;
}

.compact-tent-chip.active{
  border-color:rgba(87,210,124,.2);
  background:rgba(72,188,107,.06);
}

.compact-tent-chip > span{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:rgba(255,255,255,.035);
  font-size:8px;
  font-weight:900;
}

.compact-tent-chip b,
.compact-tent-chip small{
  display:block;
  text-align:left;
}

.compact-tent-chip b{
  font-size:9px;
}

.compact-tent-chip small{
  color:var(--muted);
  font-size:7px;
}

.room-overview-status{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
  padding-top:7px;
  border-top:1px solid rgba(255,255,255,.045);
  color:var(--muted);
  font-size:8px;
}

.room-overview-status b{
  color:var(--text);
}

.room-overview-status .warn b{
  color:#e6bf6b;
}

.room-overview-status .danger b{
  color:#ef9388;
}

.compact-room-stats{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

.combined-tech-stat strong{
  font-size:11px;
}

.shop-section-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-end;
  margin:15px 0 9px;
}

.shop-section-head h2{
  margin:2px 0 0;
}

.shop-section-head p{
  margin:0;
  max-width:520px;
  color:var(--muted);
  font-size:9px;
  line-height:1.4;
  text-align:right;
}

.shop-context{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:13px;
  margin-bottom:9px;
  border-radius:15px;
}

.shop-context h2{
  margin:2px 0;
}

.shop-context p{
  margin:0;
  color:var(--muted);
  font-size:9px;
}

.shop-tent-selector{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.shop-target-chip{
  min-width:42px;
  min-height:38px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  color:var(--text);
  cursor:pointer;
  font-weight:850;
}

.shop-target-chip.active{
  border-color:rgba(82,210,120,.23);
  background:rgba(72,188,107,.07);
}

.tech-shop-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)) auto;
  gap:8px;
  align-items:center;
  padding:11px 12px;
  border-radius:13px;
}

.tech-shop-summary span,
.tech-shop-summary strong,
.tech-shop-summary small{
  display:block;
}

.tech-shop-summary span,
.tech-shop-summary small{
  color:var(--muted);
  font-size:8px;
}

.tech-shop-summary strong{
  margin:2px 0;
  font-size:12px;
}

.technology-slot-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.tech-shop-card{
  padding:11px;
  border-radius:14px;
}

.tech-shop-card-head{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:flex-start;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.045);
}

.tech-shop-card-head span:first-child,
.tech-shop-card-head strong{
  display:block;
}

.tech-shop-card-head span:first-child{
  color:var(--muted);
  font-size:7px;
}

.tech-shop-card-head strong{
  margin-top:2px;
  font-size:10px;
}

.tech-shop-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:9px;
  min-height:51px;
  border-bottom:1px solid rgba(255,255,255,.035);
}

.tech-shop-item:last-child{
  border-bottom:0;
}

.tech-shop-item b,
.tech-shop-item small{
  display:block;
}

.tech-shop-item b{
  font-size:9px;
}

.tech-shop-item small{
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
}

.room-tech-shop-card{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:13px;
  border-radius:14px;
}

.room-tech-shop-main{
  display:flex;
  gap:10px;
  align-items:center;
}

.room-tech-shop-main span,
.room-tech-shop-main strong,
.room-tech-shop-main small{
  display:block;
}

.room-tech-shop-main span{
  color:var(--muted);
  font-size:7px;
}

.room-tech-shop-main strong{
  margin:2px 0;
  font-size:11px;
}

.room-tech-shop-main small{
  color:var(--muted);
  font-size:8px;
}

.room-tech-shop-actions{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}

.global-upgrades-head{
  margin-top:20px;
}

.current-property-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  padding:15px;
  border-radius:16px;
}

.current-property-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.035);
  font-size:27px;
}

.current-property-copy h2{
  margin:3px 0;
}

.current-property-copy p{
  margin:0;
  color:var(--muted);
  font-size:9px;
}

.current-property-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:8px;
  color:var(--muted);
  font-size:8px;
}

.current-property-meta b{
  color:var(--text);
}

.move-info{
  margin-top:8px;
  padding:10px 12px;
  border-radius:12px;
  border-color:rgba(88,201,122,.09);
}

.move-info span{
  display:block;
  color:#8acb9d;
  font-size:7px;
  letter-spacing:.08em;
  font-weight:850;
}

.move-info p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:9px;
  line-height:1.45;
}

.property-shop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

.property-shop-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  padding:12px;
  border-radius:14px;
}

.property-shop-card.locked,
.property-shop-card.passed{
  opacity:.55;
}

.property-shop-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:rgba(255,255,255,.035);
  font-size:22px;
}

.property-shop-content > span{
  color:var(--muted);
  font-size:7px;
  letter-spacing:.08em;
}

.property-shop-content h3{
  margin:2px 0 4px;
  font-size:12px;
}

.property-shop-content p{
  margin:0;
  color:var(--muted);
  font-size:8px;
  line-height:1.4;
}

.property-shop-facts{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:7px;
}

.property-shop-facts small{
  color:var(--muted);
  font-size:8px;
}

.property-shop-card > button,
.property-shop-card > .pill{
  grid-column:1/-1;
}

@media(max-width:980px){
  .technology-slot-grid,
  .property-shop-grid{
    grid-template-columns:1fr;
  }

  .compact-room-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:600px){
  .room-overview-head,
  .shop-context,
  .shop-section-head,
  .room-tech-shop-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .room-overview-actions,
  .shop-tent-selector,
  .room-tech-shop-actions{
    width:100%;
    justify-content:flex-start;
  }

  .room-overview-location small,
  .room-overview-status,
  .compact-tent-chip small,
  .shop-context p,
  .shop-section-head p,
  .tech-shop-summary span,
  .tech-shop-summary small,
  .tech-shop-card-head span:first-child,
  .tech-shop-item small,
  .room-tech-shop-main span,
  .room-tech-shop-main small,
  .current-property-copy p,
  .current-property-meta,
  .move-info span,
  .move-info p,
  .property-shop-content > span,
  .property-shop-content p,
  .property-shop-facts small{
    font-size:10px!important;
  }

  .room-overview-location strong,
  .compact-tent-chip b,
  .tech-shop-summary strong,
  .tech-shop-card-head strong,
  .tech-shop-item b,
  .room-tech-shop-main strong,
  .property-shop-content h3{
    font-size:12px!important;
  }

  .tech-shop-summary{
    grid-template-columns:1fr 1fr;
  }

  .tech-shop-summary button{
    grid-column:1/-1;
    width:100%;
  }

  .current-property-card{
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
  }

  .current-property-card > button,
  .current-property-card > .pill{
    grid-column:1/-1;
    width:100%;
  }

  .shop-section-head p{
    text-align:left;
  }
}

@media(max-width:420px){
  .compact-room-stats,
  .tech-shop-summary{
    grid-template-columns:1fr!important;
  }
}


/* ========================================================================== 
   CannaGrow 0.8.0 – Community, ETA & manuelle Ernte
   ========================================================================== */
.plant-eta{margin-top:1px;color:var(--muted);font-size:7px;white-space:nowrap}

.community-tabs{display:flex;gap:5px;padding:5px;margin-bottom:11px;border-radius:14px}
.community-tab{flex:1;min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:850;cursor:pointer}
.community-tab.active{background:rgba(77,196,112,.09);color:var(--text)}
.community-panel{display:none}.community-panel.active{display:block}

.market-toolbar,.leader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px;border-radius:15px;margin-bottom:9px}
.market-toolbar strong,.market-toolbar small,.leader-toolbar strong{display:block}
.market-toolbar small{margin-top:3px;color:var(--muted);font-size:8px}
.market-filters{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.market-filters select{min-height:39px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#111915;color:var(--text);padding:0 10px;font:inherit;font-size:9px}
.market-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.market-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;border-radius:14px}
.market-card.own{border-color:rgba(83,199,119,.14)}
.market-card-main{display:flex;align-items:center;gap:9px;min-width:0}
.market-avatar{width:37px;height:37px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:rgba(255,255,255,.035);font-size:18px}
.market-card h3{margin:2px 0;font-size:12px}
.market-seller-link{border:0;background:none;color:#83c997;padding:0;font:inherit;font-size:8px;cursor:pointer}
.market-card-price{text-align:right}.market-card-price strong,.market-card-price small{display:block}.market-card-price strong{font-size:13px}.market-card-price small{color:var(--muted);font-size:7px;margin-top:2px}
.community-empty,.community-loading{padding:22px;border:1px dashed rgba(255,255,255,.07);border-radius:13px;text-align:center;color:var(--muted);font-size:10px}.community-empty.compact{padding:12px;border:0}
.community-subhead{margin-top:18px}
.my-market-list{padding:5px 11px;border-radius:14px}.my-market-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.04)}.my-market-row:last-child{border-bottom:0}.my-market-row strong,.my-market-row small{display:block}.my-market-row strong{font-size:9px}.my-market-row small{color:var(--muted);font-size:8px;margin-top:2px}

.leader-toolbar{margin-bottom:7px}.my-rank{color:var(--muted);font-size:10px}.my-rank strong{display:inline;color:var(--text);font-size:16px}
.leader-metrics{display:flex;gap:5px;overflow-x:auto;padding:5px;border-radius:13px;margin-bottom:7px}.leader-metrics button{flex:0 0 auto;min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--muted);padding:0 10px;font:inherit;font-size:8px;font-weight:800;cursor:pointer}.leader-metrics button.active{background:rgba(76,195,111,.09);color:var(--text)}
.leaderboard-list{padding:5px 11px;border-radius:15px}.leader-row{width:100%;display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 5px;border:0;border-bottom:1px solid rgba(255,255,255,.04);background:transparent;color:var(--text);text-align:left;cursor:pointer}.leader-row:last-child{border-bottom:0}.leader-row.me{background:rgba(75,194,109,.045)}.leader-rank{font-size:13px;font-weight:900;text-align:center}.leader-player strong,.leader-player small{display:block}.leader-player strong{font-size:10px}.leader-player small{color:var(--muted);font-size:8px;margin-top:2px}.leader-value{font-size:10px;font-weight:850;text-align:right}

.harvest-modal{width:min(94vw,760px)!important}.harvest-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-right:35px}.harvest-head h2{margin:3px 0}.harvest-head p{margin:0;color:var(--muted);font-size:9px}.harvest-counter{text-align:right}.harvest-counter strong,.harvest-counter span{display:block}.harvest-counter strong{font-size:22px}.harvest-counter span{color:var(--muted);font-size:8px}
.harvest-stage{position:relative;width:min(100%,540px);height:430px;margin:12px auto 8px;overflow:hidden;border:1px solid rgba(255,255,255,.055);border-radius:22px;background:radial-gradient(circle at 50% 38%,rgba(72,182,102,.07),transparent 44%),linear-gradient(180deg,rgba(18,29,23,.95),rgba(9,14,11,.98))}
.harvest-stem{position:absolute;left:50%;bottom:5%;height:78%;width:auto;transform:translateX(-50%);object-fit:contain;filter:drop-shadow(0 9px 16px rgba(0,0,0,.28));pointer-events:none}
.harvest-leaf{position:absolute;width:90px;height:90px;object-fit:contain;opacity:.88;pointer-events:none;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2))}.harvest-leaf.leaf-0{left:27%;top:25%;transform:rotate(-35deg)}.harvest-leaf.leaf-1{right:27%;top:27%;transform:rotate(32deg)}.harvest-leaf.leaf-2{left:19%;top:43%;transform:rotate(-48deg)}.harvest-leaf.leaf-3{right:19%;top:44%;transform:rotate(49deg)}.harvest-leaf.leaf-4{left:28%;top:58%;transform:rotate(-27deg)}.harvest-leaf.leaf-5{right:28%;top:60%;transform:rotate(28deg)}.harvest-leaf.leaf-6{left:36%;top:70%;transform:rotate(-18deg)}.harvest-leaf.leaf-7{right:36%;top:72%;transform:rotate(18deg)}
.harvest-bud{position:absolute;width:58px;height:58px;transform:translate(-50%,-50%) scale(var(--bud-scale,1));border:0;background:transparent;padding:3px;cursor:pointer;z-index:4;transition:transform .15s ease,filter .15s ease}.harvest-bud img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35));pointer-events:none}.harvest-bud:hover{transform:translate(-50%,-50%) scale(calc(var(--bud-scale,1) * 1.12));filter:brightness(1.12)}.harvest-bud.cut{display:none}.harvest-bud.cutting{animation:budCut .18s ease forwards;pointer-events:none}@keyframes budCut{to{opacity:0;transform:translate(-50%,25px) rotate(16deg) scale(.45)}}
.harvest-progress-row{display:flex;align-items:center;gap:10px}.harvest-progress{height:7px;flex:1;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.045)}.harvest-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4eb36e,#80d795)}.harvest-progress-row span{min-width:115px;color:var(--muted);font-size:8px;text-align:right}.harvest-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}.harvest-footer small{color:var(--muted);font-size:9px}

.market-listing-modal{width:min(92vw,470px)!important}.market-price-field{display:block;margin:12px 0 6px}.market-price-field span{display:block;margin-bottom:5px;color:var(--muted);font-size:9px}.market-price-field input{width:100%;min-height:47px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(5,11,8,.55);color:var(--text);padding:0 12px;font:inherit;font-size:17px}.market-price-hint{color:var(--muted);font-size:8px;line-height:1.45;margin:5px 0 12px}

.player-profile-modal{width:min(92vw,520px)!important}.profile-hero{display:flex;align-items:center;gap:11px;padding-right:35px}.profile-avatar{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:rgba(74,190,108,.08);font-size:25px}.profile-hero h2{margin:2px 0}.profile-hero p{margin:0;color:var(--muted);font-size:9px}.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.profile-stats>div{padding:10px;border:1px solid rgba(255,255,255,.045);border-radius:11px;background:rgba(255,255,255,.018)}.profile-stats span,.profile-stats strong,.profile-stats small{display:block}.profile-stats span,.profile-stats small{color:var(--muted);font-size:8px}.profile-stats strong{margin-top:2px;font-size:12px}

.bottom-nav .nav-btn{min-width:0}
@media(max-width:980px){.market-list{grid-template-columns:1fr}}
@media(max-width:600px){
  .bottom-nav{overflow-x:auto;justify-content:flex-start}.bottom-nav .nav-btn{flex:1 0 58px}.bottom-nav .nav-btn b{font-size:9px!important}
  .market-toolbar,.leader-toolbar,.harvest-head,.harvest-footer{flex-direction:column;align-items:flex-start}.market-filters{width:100%;justify-content:flex-start}.market-filters select{flex:1;min-width:130px;font-size:12px}
  .market-card{grid-template-columns:minmax(0,1fr) auto}.market-card-action{grid-column:1/-1}.market-card-action button{width:100%}.market-seller-link{font-size:11px}.market-card h3{font-size:14px}.market-card-price strong{font-size:15px}
  .my-market-row{grid-template-columns:minmax(0,1fr) auto}.my-market-row button{grid-column:1/-1;justify-self:start}
  .leader-row{grid-template-columns:44px minmax(0,1fr) auto}.leader-player strong{font-size:12px}.leader-player small{font-size:10px}.leader-value{font-size:11px}
  .harvest-stage{height:min(104vw,420px)}.harvest-bud{width:50px;height:50px}.harvest-head p,.harvest-counter span,.harvest-progress-row span,.harvest-footer small,.market-price-hint,.profile-hero p,.profile-stats span,.profile-stats small{font-size:10px!important}.harvest-counter{text-align:left}.harvest-progress-row{align-items:flex-start;flex-direction:column}.harvest-progress{width:100%;flex:none}.harvest-progress-row span{text-align:left}.harvest-footer button{width:100%}
  .profile-stats{grid-template-columns:1fr 1fr}.profile-stats strong{font-size:14px}
}
@media(max-width:380px){.profile-stats{grid-template-columns:1fr}.market-filters select{width:100%;flex-basis:100%}}

/* 0.8.0 navigation: six main areas */
.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:600px){
  .bottom-nav{grid-template-columns:repeat(6,minmax(54px,1fr));overflow-x:auto}
  .batch-card{grid-template-columns:1fr}
  .batch-actions{flex-wrap:wrap;justify-content:flex-start}
}


/* ==========================================================================
   CannaGrow 0.8.1 – Lesbarkeit
   Ziel: keine winzigen 7–9px-Texte mehr als reguläre Information.
   ========================================================================== */

:root{
  --cg-text-xs:11px;
  --cg-text-sm:12px;
  --cg-text-md:14px;
  --cg-text-lg:16px;
}

body{
  font-size:16px;
  line-height:1.45;
}

/* Globale kleine UI-Texte */
.version,
.eyebrow,
.hud-item span,
.plant-tag,
.plant-stage,
.alert-badge,
.stat-card span,
.stat-card small,
.level-badge,
.xp-row span,
.mini-stats span,
.event-row,
.event-empty,
.text-btn,
.filter-btn,
.shop-tab,
.plant-card p,
.card-status,
.shop-card p,
.shop-meta small,
.pill,
.warehouse-summary span,
.batch-card p,
.quality,
.mission-card p,
.mission-reward,
.setting-row span:not(.pill),
.about-box p,
.seed-option span,
.detail-head p,
.metric span,
.action-btn span,
.toast,
.plant-eta,
.market-toolbar small,
.market-filters select,
.market-seller-link,
.market-card-price small,
.community-empty,
.community-loading,
.my-market-row strong,
.my-market-row small,
.my-rank,
.leader-metrics button,
.leader-player strong,
.leader-player small,
.leader-value,
.harvest-head p,
.harvest-counter span,
.harvest-progress-row span,
.harvest-footer small,
.market-price-field span,
.market-price-hint,
.profile-hero p,
.profile-stats span,
.profile-stats small,
.business-head p,
.business-cost-badge span,
.business-cost-badge small,
.property-chip small,
.tent-chip small,
.business-metrics span,
.business-metrics small,
.maintenance-row span,
.maintenance-row small,
.property-offer > div:nth-child(2) > span,
.property-offer small,
.room-overview-location small,
.room-overview-status,
.compact-tent-chip small,
.shop-context p,
.shop-section-head p,
.tech-shop-summary span,
.tech-shop-summary small,
.tech-shop-card-head span:first-child,
.tech-shop-item small,
.room-tech-shop-main span,
.room-tech-shop-main small,
.current-property-copy p,
.current-property-meta,
.move-info span,
.move-info p,
.property-shop-content > span,
.property-shop-content p,
.property-shop-facts small{
  font-size:var(--cg-text-sm)!important;
  line-height:1.45;
}

/* Sekundäre Werte und Labels */
.hud-item strong,
.mini-stats strong,
.shop-meta strong,
.seed-option strong,
.metric strong,
.action-btn b,
.market-card h3,
.market-card-price strong,
.leader-rank,
.harvest-counter strong,
.profile-stats strong,
.business-metrics strong,
.maintenance-row strong,
.property-chip b,
.tent-chip b,
.compact-tent-chip b,
.tech-shop-summary strong,
.tech-shop-card-head strong,
.tech-shop-item b,
.room-tech-shop-main strong,
.property-shop-content h3{
  font-size:var(--cg-text-md)!important;
}

/* Wichtige Inhalte */
.plant-card h3,
.shop-card h3,
.mission-card h3,
.batch-card h3,
.detail-section h3{
  font-size:var(--cg-text-lg)!important;
}

/* HUD etwas luftiger */
.hud-item{
  min-height:48px;
  padding:8px 10px;
}

/* Navigation lesbar */
.nav-btn b{
  font-size:11px!important;
  line-height:1.2;
}
.nav-btn span{
  font-size:20px!important;
}

/* Pflanze im Growroom */
.plant-tag{
  padding:2px 3px;
}
.plant-tag b{
  max-width:125px;
}
.progress-ring{
  width:40px;
  height:40px;
  font-size:11px!important;
}
.progress-ring:after{
  inset:5px;
}
.alert-badge{
  padding:6px 9px;
}

/* Karten */
.plant-card,
.shop-card,
.mission-card,
.batch-card,
.panel,
.settings-card{
  line-height:1.45;
}

.plant-card p,
.shop-card p,
.mission-card p,
.batch-card p,
.about-box p{
  line-height:1.55;
}

/* Buttons sollen nicht wie Kleingedrucktes wirken */
.primary-btn,
.secondary-btn,
.action-btn,
.equipment-upgrade,
.equip-mode,
.text-btn,
.filter-btn,
.shop-tab,
.community-tab{
  font-size:13px!important;
}

.primary-btn,
.secondary-btn,
.equip-mode{
  min-height:42px;
}

/* Detailansicht */
.metric{
  min-height:58px;
}
.metric span{
  margin-bottom:2px;
}
.action-btn{
  min-height:66px;
}

/* Shop / Marktplatz / Rangliste */
.market-card,
.leader-row,
.my-market-row{
  min-height:58px;
}

.market-avatar{
  width:42px;
  height:42px;
}

.market-filters select{
  min-height:42px;
}

.leader-metrics button{
  min-height:40px;
}

/* Ernte */
.harvest-head p{
  max-width:540px;
}
.harvest-progress-row span{
  min-width:145px;
}

/* Einstellungen */
.setting-row{
  padding-top:19px;
  padding-bottom:19px;
}

/* Growroom-Zusammenfassung */
.room-overview-location strong{
  font-size:15px!important;
}
.room-overview-location small{
  margin-top:4px;
}
.compact-tent-chip{
  min-width:155px;
  min-height:58px;
}
.compact-tent-chip > span{
  width:31px;
  height:31px;
  font-size:11px;
}

/* Desktop und große Monitore */
@media(min-width:1000px){
  :root{
    --cg-text-xs:12px;
    --cg-text-sm:13px;
    --cg-text-md:15px;
    --cg-text-lg:17px;
  }

  body{
    font-size:17px;
  }

  .app-shell{
    width:min(96vw,1600px);
  }

  .brand{
    font-size:21px!important;
  }

  .hud-item span{
    font-size:12px!important;
  }

  .hud-item strong{
    font-size:15px!important;
  }

  .section-head h1{
    font-size:clamp(36px,3.3vw,48px)!important;
  }

  .panel,
  .plant-card,
  .shop-card,
  .mission-card{
    padding:18px;
  }

  .room-stats{
    gap:12px;
  }
}

/* Smartphone: lesbar statt zusammengeschrumpft */
@media(max-width:600px){
  :root{
    --cg-text-xs:11px;
    --cg-text-sm:12px;
    --cg-text-md:14px;
    --cg-text-lg:16px;
  }

  body{
    font-size:16px!important;
  }

  .brand{
    font-size:19px!important;
  }

  .hud-item{
    min-height:50px;
  }

  .hud-item span{
    font-size:11px!important;
  }

  .hud-item strong{
    font-size:14px!important;
  }

  .section-head h1{
    font-size:32px!important;
  }

  .plant-tag{
    font-size:11px!important;
  }

  .progress-ring{
    width:38px;
    height:38px;
    font-size:10px!important;
  }

  .plant-card p,
  .shop-card p,
  .mission-card p,
  .setting-row span:not(.pill),
  .about-box p{
    font-size:12px!important;
  }

  .primary-btn,
  .secondary-btn,
  .action-btn,
  .equipment-upgrade,
  .equip-mode,
  .text-btn,
  .filter-btn,
  .shop-tab,
  .community-tab{
    font-size:13px!important;
  }

  .nav-btn b{
    font-size:10px!important;
  }

  .nav-btn span{
    font-size:21px!important;
  }

  .market-card h3,
  .leader-player strong,
  .property-shop-content h3{
    font-size:14px!important;
  }

  .market-card-price strong,
  .profile-stats strong{
    font-size:15px!important;
  }

  .harvest-counter strong{
    font-size:24px!important;
  }

  .market-price-field input,
  .auth-form input[type="text"],
  .auth-form input[type="password"]{
    font-size:16px!important;
  }
}

/* Sehr kleine Geräte */
@media(max-width:380px){
  .hud-item span{
    font-size:10px!important;
  }

  .hud-item strong{
    font-size:13px!important;
  }

  .section-head h1{
    font-size:29px!important;
  }

  .nav-btn b{
    font-size:9px!important;
  }
}


