/* /mythimon/mon.css */

html, body { height: 100%; margin: 0; }

.mythimon-summary{
  background: linear-gradient(180deg, #f6e7a8 0%, #fffdf6 85%, #ffffff 100%);
  font-family: "Press Start 2P", system-ui, sans-serif;
  color: #3b2f2a;
}

.wrap{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
}

.card{
  width: min(980px, 95vw);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(59,47,42,.25);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
}

@media (max-width: 860px){
  .card{ grid-template-columns: 1fr; }
}

.left{
  border-right: 1px solid rgba(59,47,42,.18);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.spriteFrame{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(59,47,42,.18);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  place-items: center;
  min-height: 220px;
}

#monSprite{
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.18));
}

.nameBlock .label,
.label{
  font-size: 10px;
  opacity: .85;
  margin-bottom: 6px;
}

.small{
  font-size: 10px;
  opacity: .75;
  line-height: 1.5;
}

.row{
  display: flex;
  gap: 10px;
  align-items: center;
}

.row2{
  justify-content: space-between;
}

.nick{
  flex: 1;
  font-family: inherit;
  font-size: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(59,47,42,.22);
  background: rgba(255,255,255,.9);
  color: #3b2f2a;
  outline: none;
}

.btn{
  font-family: inherit;
  font-size: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(59,47,42,.25);
  background: rgba(255,255,255,.9);
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0) scale(.98); }

.btn.ghost{
  background: transparent;
}

.right{
  padding: 18px;
  display: grid;
  gap: 14px;
}

/* Tabs row */
.tabs{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 6px 0 10px;
}

/* Tab "bubbles" */
.tab{
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 14px 18px;     /* <- THIS is the bubble padding */
  border-radius: 999px;
  border: 1px solid rgba(59,47,42,.22);
  background: rgba(255,255,255,.70);
  cursor: pointer;

  /* keeps the bubble shape consistent */
  min-width: 88px;
  text-align: center;
  white-space: nowrap;
}

/* Active tab */
.tab.isActive{
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

.pane{ display: none; }
.pane.isActive{ display: block; }

.h2{
  font-size: 12px;
  margin: 0 0 10px 0;
}

.grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 860px){
  .grid2{ grid-template-columns: 1fr; }
}

.box{
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(59,47,42,.18);
  border-radius: 14px;
  padding: 12px;
}

.box.big{ margin-top: 12px; }

.value{
  font-size: 11px;
  line-height: 1.6;
}

.statgrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 8px;
}

.statrow{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}

.statrow b{ font-weight: 700; }

.statlabel{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* arrow slot keeps alignment consistent */
.arrow{
  display: inline-block;
  width: 10px;
  text-align: center;
  opacity: .55;
  transform: translateY(-1px);
}

.arrow.up{
  opacity: 1;
  color: #2c7a3f;
}

.arrow.down{
  opacity: 1;
  color: #2c7a3f;
}