.stake-block{margin:16px 0 14px;padding:12px;border:1px solid #5d9fd0;border-radius:16px;background:#092847}
.stake-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;color:#d5eeff;font-weight:800}
.stake-head strong{color:#ffe6a1;font-size:13px}
.stake-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.stake-buttons button{min-height:50px;border:1px solid #619ed4;border-radius:12px;background:#0c345d;color:#e5f5ff;font-size:16px;font-weight:900;cursor:pointer}
.stake-buttons button.selected{background:linear-gradient(130deg,#8af0ff,#39b9e9);border-color:#c6fbff;color:#082741;box-shadow:0 5px 15px #35bde55a}
.stake-buttons button:disabled{opacity:.55;cursor:default}
.risk-caption{font-size:12px;font-weight:900;color:#d4ebff;text-transform:uppercase;letter-spacing:.12em;margin-bottom:9px}
.fairness{border:1px solid #4c8bbb;background:#0a2747;border-radius:13px;margin-top:12px;padding:11px;color:#bfdcee;font-size:12px}
.fairness summary{cursor:pointer;color:#e6f8ff;font-weight:800}
.fairness code{display:block;overflow-wrap:anywhere;font-size:10px;margin-top:8px;color:#ffde96}
.panel .feedback{display:block}
.button-row .action:disabled,.button-row .secondary:disabled{opacity:.55;cursor:default;box-shadow:none}
.stage[data-mode="settled"] .scene-badge{border-color:#8ce4b4;color:#c6ffde}
.stage[data-mode="failed"] .scene-badge{border-color:#ff8b89;color:#ffe2df}
@media(max-width:560px){
  .stake-block{margin:10px 0;padding:9px}
  .stake-buttons button{min-height:44px;font-size:13px}
  .panel .feedback{font-size:12px;min-height:34px}
  .fairness{display:none}
  .notice{display:block;font-size:10px!important;padding:8px!important}
}
/* Chicken W mobile controls: preserve the direct training route and make risk choices readable. */
@media (max-width: 560px) {
  .top { flex-wrap: wrap; align-items: center; row-gap: 8px; }
  .top-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .top-actions .pill, .top-actions .quiet { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 10px; }
  .top-actions .quiet { justify-content: center; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .risk-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .risk-buttons button { width: 100%; min-width: 0; min-height: 62px; padding: 8px 4px; }
  .risk-buttons button span { font-size: 13px; }
  .risk-buttons button small, .risk-buttons button.selected small { font-size: 12px; white-space: normal; }
}

/* Custom W stake next to the 1/5/10 quick buttons. */
.stake-custom{display:flex;align-items:center;gap:10px;margin-top:9px}
.stake-custom[hidden],.stake-hint[hidden]{display:none}
.stake-custom label{flex:none;color:#d5eeff;font-size:13px;font-weight:800}
.stake-custom-shell{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 12px;border:1px solid #619ed4;border-radius:12px;background:#0c345d}
.stake-custom-shell:focus-within{border-color:#c6fbff}
.stake-custom.active .stake-custom-shell{border-color:#c6fbff;box-shadow:0 0 0 1px #8af0ff66}
.stake-custom.invalid .stake-custom-shell{border-color:#ff8b89}
.stake-custom-shell input{flex:1;min-width:0;width:100%;border:0;outline:0;background:transparent;color:#e5f5ff;font:inherit;font-size:16px;font-weight:900}
.stake-custom-shell input:disabled{opacity:.6}
.stake-custom-shell span{color:#bfe3fa;font-weight:800}
.stake-hint{margin:8px 0 0;color:#bfdcee;font-size:12px;line-height:1.4}
.stake-hint.error{color:#ffb3b1}
@media(max-width:560px){.stake-custom-shell{min-height:44px}.stake-custom label{font-size:12px}}

/* Compact introduction; all overrides are scoped to Chicken Road. */
@layer wg-chicken-intro {
html body[data-chicken-intro] .hero{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:4px 2px 0!important;margin:16px 0 20px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html body[data-chicken-intro] .hero>div{min-width:0!important;max-width:100%!important}
html body[data-chicken-intro] .hero .eyebrow{font-size:10px!important;line-height:1.4!important;letter-spacing:.12em!important;color:var(--ui-muted,var(--wg-muted))!important}
html body[data-chicken-intro] .hero h1{font-size:clamp(26px,2.8vw,34px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:6px 0 8px!important}
html body[data-chicken-intro] .hero p{font-size:14px!important;line-height:1.5!important;margin:0!important;max-width:62ch!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--ui-muted,var(--wg-text-2))!important}
html body[data-chicken-intro] .hero .hero-token{display:none!important}
html body[data-chicken-intro] .panel-intro{line-height:1.45!important;white-space:normal!important;overflow-wrap:anywhere!important}
@media(max-width:560px){html body[data-chicken-intro] .hero{padding:0!important;margin:12px 0 16px!important}html body[data-chicken-intro] .hero h1{font-size:28px!important;margin:5px 0 7px!important}html body[data-chicken-intro] .hero p{font-size:13px!important;line-height:1.45!important}}
}
