:root{
  --bg:#0d0d0d;
  --panel:#17120e;
  --panel2:#21170f;
  --iron:#2b241d;
  --orange:#ff7e19;
  --orange2:#ffad54;
  --text:#f3ead8;
  --muted:#c8bda9;
  --green:#79d58a;
  --red:#e78a73;
}

*{
  box-sizing:border-box;
}

html{
  background:var(--bg);
}

body{
  margin:0;
  background:
    radial-gradient(circle at 50% 0,
      rgba(242,140,40,.14),
      transparent 420px),
    #0d0d0d;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
}

.tc-wrap{
  width:min(920px,calc(100% - 24px));
  margin:0 auto;
  padding:20px 0 70px;
}

.tc-back{
  display:inline-block;
  margin:5px 0 18px;
  padding:9px 13px;
  border:1px solid #71441f;
  border-radius:10px;
  color:#ffd09b;
  text-decoration:none;
  background:#17100b;
}

.tc-hero{
  text-align:center;
  padding:28px 15px 30px;
}

.tc-runes{
  color:var(--orange2);
  font-size:27px;
  letter-spacing:.3em;
  text-shadow:0 0 9px rgba(255,105,20,.55);
}

.tc-kicker{
  margin-top:12px;
  color:var(--orange2);
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.tc-hero h1{
  margin:10px 0;
  font-size:clamp(31px,7vw,55px);
  line-height:1.03;
}

.tc-hero p{
  max-width:700px;
  margin:12px auto 0;
  color:var(--muted);
  line-height:1.55;
}

.tc-panel{
  margin:18px 0;
  padding:22px;
  border:1px solid rgba(255,126,25,.48);
  border-radius:17px;
  background:
    radial-gradient(circle at 10% 0,
      rgba(255,115,20,.09),
      transparent 40%),
    linear-gradient(145deg,#21170f,#100d0a);
  box-shadow:
    inset 0 0 20px rgba(255,100,20,.04),
    0 10px 30px rgba(0,0,0,.32);
}

.tc-panel h2{
  margin:0 0 7px;
  color:#ffb15d;
  font-size:22px;
}

.tc-panel h3{
  color:#ffb15d;
}

.tc-help{
  color:var(--muted);
  line-height:1.5;
  margin:0 0 18px;
}

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

.tc-field{
  min-width:0;
}

.tc-field.full{
  grid-column:1/-1;
}

.tc-field label{
  display:block;
  margin:0 0 6px;
  color:#e5d4bf;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
}

.tc-field input,
.tc-field select{
  width:100%;
  min-height:47px;
  padding:11px 12px;
  color:#fff3df;
  background:#0e0c0a;
  border:1px solid #624323;
  border-radius:10px;
  font-size:16px;
  outline:none;
}

.tc-field input:focus,
.tc-field select:focus{
  border-color:var(--orange);
  box-shadow:0 0 0 2px rgba(255,126,25,.14);
}

.tc-button{
  width:100%;
  margin-top:17px;
  padding:14px 16px;
  border:1px solid #d36b1d;
  border-radius:11px;
  background:
    linear-gradient(180deg,#a34c15,#632b0d);
  color:#fff4df;
  font-size:15px;
  font-weight:800;
  letter-spacing:.06em;
  cursor:pointer;
}

.tc-button:active{
  transform:translateY(1px);
}

.tc-result{
  display:none;
  margin-top:20px;
}

.tc-result.show{
  display:block;
}

.tc-result-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.tc-stat{
  padding:15px 10px;
  border:1px solid #53371f;
  border-radius:12px;
  background:#100d0a;
  text-align:center;
}

.tc-stat strong{
  display:block;
  color:#ffb15d;
  font-size:25px;
  line-height:1.1;
}

.tc-stat span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:11px;
  line-height:1.3;
}

.tc-note{
  margin-top:16px;
  padding:14px;
  border-left:3px solid var(--orange);
  background:rgba(255,126,25,.06);
  color:#d7c9b6;
  font-size:13px;
  line-height:1.5;
}

.tc-trip{
  display:grid;
  grid-template-columns:1.2fr .7fr .8fr;
  gap:10px;
  align-items:end;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.tc-trip:last-child{
  border-bottom:0;
}

.tc-status{
  padding:11px;
  margin-top:13px;
  border-radius:11px;
  background:#100d0a;
  border:1px solid #4d3826;
  line-height:1.5;
  color:#ddd0be;
}

.tc-status strong{
  color:#ffb15d;
}

.tc-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:20px;
}

.tc-links a{
  display:flex;
  min-height:62px;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:11px;
  color:#ffd09b;
  text-decoration:none;
  border:1px solid #70451f;
  border-radius:11px;
  background:#17100b;
  font-weight:700;
  font-size:13px;
}

@media(max-width:650px){

  .tc-wrap{
    width:calc(100% - 20px);
    padding-top:10px;
  }

  .tc-hero{
    padding:20px 8px 22px;
  }

  .tc-panel{
    padding:17px 14px;
  }

  .tc-grid{
    grid-template-columns:1fr;
  }

  .tc-field.full{
    grid-column:auto;
  }

  .tc-result-grid{
    grid-template-columns:1fr;
  }

  .tc-trip{
    grid-template-columns:1fr;
  }

  .tc-links{
    grid-template-columns:1fr;
  }
}
