:root{
  --bg-image: none;
  --shell-frame-image: none;
  --overlay: rgba(0,0,0,0.55);
  --text: #f2e6cf;
  --panel: rgba(20, 14, 10, 0.78);
  --line: rgba(201, 166, 92, 0.28);
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background: #120d09;
}

#background,
#overlay{
  position: fixed;
  inset: 0;
}

#background{
  z-index: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#overlay{
  z-index: 1;
  background: var(--overlay);
}

.starter-shell{
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
}

.starter-panel{
  width: min(1100px, 96vw);
  padding: 30px 30px 36px;

  background-image: var(--shell-frame-image);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.starter-title{
  margin: 0;
  color: #f0d9a6;
  font-size: 32px;
}

.starter-subtitle{
  margin-top: 4px;
  margin-bottom: 18px;
  opacity: 0.92;
}

.starter-block{
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(240,217,166,0.18);
  background: rgba(255,255,255,0.04);
}

.block-title{
  font-size: 20px;
  font-weight: 700;
  color: #f0d9a6;
  margin-bottom: 12px;
}

.sub-block-title{
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 10px;
}

.action-row{
  display: grid;
  gap: 12px;
}

.two-col{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.input-card{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(240,217,166,0.18);
  background: rgba(255,255,255,0.04);
}

.input-label{
  font-weight: 700;
}

.input-card input{
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(240,217,166,0.22);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font: inherit;
}

.small-note{
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.92;
}

.status-box,
.starter-msg{
  min-height: 24px;
  white-space: pre-wrap;
}

.starter-msg{
  margin-top: 16px;
}

.menu-btn{
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  color: #f2e6cf;
  text-shadow: 0 1px 0 rgba(0,0,0,0.65);

  min-height: 70px;
  padding: 12px 16px;

  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;

  cursor: pointer;

  background-image: var(--btn-normal);
}

/* Main Player menu buttons: keep wood button art close to 2:1 */
.action-row.two-col > .menu-btn {
  width: min(100%, 360px);
  aspect-ratio: 3 / 1;
  min-height: 0;
  padding: 18px 22px;

  justify-self: center;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.menu-btn.primary{
  font-weight: 700;
}

.menu-btn:hover{
  background-image: var(--btn-hover);
}

.menu-btn:active{
  background-image: var(--btn-pressed);
  transform: translateY(1px);
}

.menu-btn:disabled{
  background-image: var(--btn-disabled);
  color: #cfc3ae;
  opacity: 1;
  cursor: default;
}


@media (max-width: 760px){
  .two-col,
  .input-grid{
    grid-template-columns: 1fr;
  }

  .starter-title{
    font-size: 26px;
  }
}