/* Homepage transfer terminal only. ID scope deliberately outranks arcade chrome.
   Burn labels and all widget contents remain owned by send-tickets.js. */
#economy .send-ticket-card {
  --st-crimson: #d52b45;
  --st-maroon: #741c2b;
  --st-ink: #e4e4e7;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  overflow: hidden;
  color: var(--st-ink);
  border: 1px solid #812535;
  border-radius: 22px;
  background: radial-gradient(ellipse at 100% 0%, #741c2b42, transparent 62%),
    radial-gradient(ellipse at 0% 100%, #49131b36, transparent 65%), #100e10;
  box-shadow: 0 18px 48px #09070838, 0 0 28px #a3213418, inset 0 1px #d0c7c925;
}
#economy .send-ticket-card::before {
  content: "";
  position: absolute;
  inset: 0 22px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--st-crimson), var(--st-maroon), transparent);
  pointer-events: none;
}
#economy .send-ticket-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
#economy .send-ticket-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d2cdd0;
  font: 700 .65rem/1.6 var(--font-mono, monospace);
  letter-spacing: .16em;
}
#economy .send-ticket-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--st-crimson);
  box-shadow: 0 0 9px #d52b4570;
}
#economy .send-ticket-card .tag-badge {
  position: static;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #bd304845;
  border-radius: 7px;
  color: #ded8da;
  background: #9c23350d;
  font: 600 .69rem/1.4 var(--font-mono, monospace);
  letter-spacing: .02em;
  text-transform: none;
}
#economy .send-ticket-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  align-items: center;
  gap: 16px;
}
#economy .send-ticket-card h3 {
  margin: 0 0 14px;
  color: var(--st-ink);
  font-family: var(--arc-display, var(--font-display, sans-serif));
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.035em;
  text-transform: none;
  text-shadow: 0 2px 22px #b9273e22;
}
#economy .send-ticket-card .desc {
  margin: 0;
  max-width: 46ch;
  color: #c5c1c4;
  font-size: .92rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
#economy .send-ticket-art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px #aa20352b);
}
#economy .send-ticket-card .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}
#economy .send-ticket-card .pill {
  padding: 6px 11px;
  border: 1px solid #ad929833;
  border-radius: 6px;
  background: #a079810b;
  color: #d0c9cc;
  font: 500 .71rem/1.5 var(--font-mono, monospace);
}
#economy .send-ticket-card .pill.cost {
  border-color: #d52b4533;
  color: #d8d2d5;
  background: #d52b4508;
}
#economy #sendTickets {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #b1969c29;
  gap: 12px;
  min-width: 0;
}
#economy #sendTickets .btn {
  min-height: 50px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: .86rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}
#economy #sendTickets :is(.st-open-btn, .btn-primary) {
  position: relative;
  color: #ece8ea;
  background: linear-gradient(110deg, #a31c32, #85192b 60%, #59131f);
  border: 1px solid #ce3b51;
  box-shadow: 0 4px 22px #9b1e322b, inset 0 1px #d8bfc580;
  text-shadow: none;
}
#economy #sendTickets .st-open-btn::after {
  content: "\2197";
  display: inline-block;
  margin-left: 10px;
  font-size: 1.1em;
}
#economy #sendTickets .btn-ghost:not(.st-open-btn) {
  background: #ad929909;
  color: #d3cccf;
  border: 1px solid #a8788245;
  box-shadow: none;
}
#economy #sendTickets .btn:not(:disabled):hover {
  transform: translateY(-2px);
}
#economy #sendTickets .btn:not(:disabled):active {
  transform: translateY(0);
}
#economy #sendTickets .btn:disabled {
  cursor: not-allowed;
  opacity: .5;
}
#economy #sendTickets .st-form {
  padding: 16px;
  gap: 12px;
  border: 1px solid #a3747e3d;
  border-radius: 14px;
  background: #09080970;
}
#economy #sendTickets input {
  box-sizing: border-box;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--st-ink);
  background: #171214;
  border: 1px solid #9d6c7661;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}
#economy #sendTickets input::placeholder { color: #aaa1a6; opacity: 1; }
#economy #sendTickets :is(button, input):focus-visible {
  outline: 2px solid var(--st-crimson);
  outline-offset: 4px;
}
#economy #sendTickets .st-player {
  min-height: 46px;
  padding: 10px;
  border: 1px solid #a8788226;
  background: #a3768010;
  color: var(--st-ink);
  overflow-wrap: anywhere;
}
#economy #sendTickets .st-player:hover {
  border-color: #d52b4580;
  background: #d52b450c;
}
#economy #sendTickets .st-selected {
  padding: 10px;
  border-color: #d52b454a;
  background: #d52b450a;
  overflow-wrap: anywhere;
}
#economy #sendTickets .st-x { min-width: 36px; min-height: 36px; color: #ddd4d8; }
#economy #sendTickets .st-username { overflow-wrap: anywhere; }
#economy #sendTickets .st-note { color: #b8adb2; line-height: 1.65; }
#economy #sendTickets .st-preview { color: #ded8db; line-height: 1.6; }
#economy #sendTickets .st-err { color: #ed7888; line-height: 1.6; }
#economy #sendTickets .st-ok { color: #d8dcde; line-height: 1.7; }
/* Do not expose widgets or internal elements that the runtime has hidden. */
#economy .send-ticket-card [hidden] { display: none !important; }
@media (max-width: 540px) {
  #economy .send-ticket-meta { margin-bottom: 18px; gap: 10px; }
  #economy .send-ticket-kicker { font-size: .59rem; letter-spacing: .1em; }
  #economy .send-ticket-intro { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #economy .send-ticket-art { width: 136px; justify-self: center; margin: 0 0 12px; grid-row: 1; }
  #economy .send-ticket-card h3 { font-size: 1.65rem; }
  #economy .send-ticket-card .desc { font-size: .88rem; line-height: 1.7; }
  #economy #sendTickets .st-form { padding: 12px; }
  #economy #sendTickets .btn { font-size: .78rem; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #economy #sendTickets .btn { transition: none; }
  #economy #sendTickets .btn:not(:disabled):hover { transform: none; }
}
