
        body{
            margin:0;
            overflow:hidden;
            background:#222;
        }

        canvas{
            display:block;
        }


        #player {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    font-family: sans-serif;
    min-width: 150px;
    z-index: 10;
}

        #inventory {
    position: fixed;
    top: 110px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 10px;
    font-family: sans-serif;
    font-size:16px;
    min-width: 150px;
    z-index: 10;
}

 .i_mushroom {
    height:16px;
    width: auto;
 }



#inventoryList {
    margin-top: 5px;
}

#market {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    min-height: 250px;
    padding: 20px;
    background: #f5e6c8;
    border: 4px solid #5b3a1a;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    color: #2d1b0d;
    font-family: Arial, sans-serif;
    align-items:center;
    justify-content:center;
}

#market-btn-sell-all {
  display: inline-block;
  padding: 10px 14px;
  margin-top: 12px;

  background: #92794a; /* złoto/piasek */
  color: #2d1b0d;

  border: 3px solid #5b3a1a;
  border-bottom: 5px solid #3f260f; /* efekt 3D */

  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;
  user-select: none;

  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
  image-rendering: pixelated;

  transition: transform 0.05s ease, background 0.1s ease;
}

/* hover */
#market-btn-sell-all:hover {
  background: #b59760;
}

/* kliknięcie (wciśnięcie) */
#market-btn-sell-all:active {
  transform: translateY(2px);
  border-bottom: 3px solid #3f260f;
  box-shadow: none;
}

#wicker {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    min-height: 250px;
    padding: 20px;
    background: #f5e6c8;
    border: 4px solid #5b3a1a;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    color: #2d1b0d;
    font-family: Arial, sans-serif;
    align-items:center;
    justify-content:center;
}

.baskets {
    display: grid;
    grid-template-columns: repeat(auto-fill, 130px);
    gap: 10px;
}

.eachbasket {
    display: flex;
    position:relative;
    flex-direction: column;
    justify-content: space-between;
    width:130px;
    height: 130px;
    border:2px solid #3f260f;
    background:linear-gradient(130deg, rgb(52, 31, 11), rgb(12, 7, 2));
    font-size:11px;
    align-items: center;
    color:#fff;
    overflow:hidden;
}


.can_buy:hover, .can_wear:hover {
    background:linear-gradient(130deg, rgb(82, 50, 20), rgb(42, 25, 9));
    cursor: pointer;
}

.can_buy:hover .cbtext { display: flex; }
.can_wear:hover .cwtext { display: flex; }

.cbtext, .cwtext {
    display:none;
    position:absolute;
    inset:0;
    background-color:rgba(0,0,0,0.8);
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:14px;
    font-weight:bold;
    color:#f5d08a;
    letter-spacing:1px;
    z-index:10;
}


.ename,
.einfo {
    width: 100%;
    text-align: left;
    padding:5px;
    box-sizing: border-box;
}

.wicker_have {
    color:rgb(44, 226, 44);
}
