/* 横好剧 · 在线体验（/try）
   依赖 site-v6.css（配色变量 / 导航 / 页脚）+ chrome-v7.css（.ph6 深色页头带）+ dev-v1.css（.crumb / .dv-btn） */

.tr-hero { padding: 40px 0 46px; }
.tr-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: 44px; align-items: center; max-width: 1180px; }
.tr-hero-copy { min-width: 0; }
.tr-hero h1 { margin-top: 12px; font-size: clamp(26px, 3vw, 40px); color: #fff; letter-spacing: .5px; }
.tr-hero p { margin-top: 14px; max-width: 100%; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .76); }
.tr-hero-facts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-hero-facts span {
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.tr-hero-acts { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

.tr-main { padding: 34px 0 10px; scroll-margin-top: 84px; }
.tr-panel { scroll-margin-top: 84px; }
.tr-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: start; }

.tr-panel {
  background: #fff; border: 1px solid var(--v6-line); border-radius: 16px;
  box-shadow: 0 14px 38px rgba(13, 27, 42, .07); padding: 20px 20px 18px;
  min-width: 0;
}
.tr-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tr-panel-h h2 { font-size: 16.5px; color: var(--v6-ink); letter-spacing: .3px; }
.tr-badge {
  flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; color: #1f56d9;
  background: rgba(47, 111, 255, .09); border: 1px solid rgba(47, 111, 255, .18);
}
.tr-badge.ghost { color: var(--v6-muted); background: #f5f7fa; border-color: var(--v6-line); }
.tr-badge.ghost:empty { display: none; }

.tr-samples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tr-chip {
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: #27405c; cursor: pointer;
  background: #f2f6fc; border: 1px solid #dde7f5; transition: background .18s, border-color .18s, color .18s;
}
.tr-chip:hover { background: #e8f0fd; border-color: #b9cff2; }
.tr-chip.on { background: #0a1f3a; border-color: #0a1f3a; color: #fff; }
.tr-chip[aria-disabled="true"] { opacity: .5; cursor: default; }

.tr-lbl { display: block; font-size: 12.5px; color: var(--v6-muted); margin-bottom: 6px; }
.tr-text {
  width: 100%; min-height: 268px; resize: vertical; padding: 13px 14px;
  font: inherit; font-size: 14px; line-height: 1.85; color: var(--v6-text);
  border: 1px solid #dbe4ef; border-radius: 12px; background: #fbfcfe; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.tr-text:focus { background: #fff; border-color: #2f6fff; box-shadow: 0 0 0 3px rgba(47, 111, 255, .12); }
.tr-text::placeholder { color: #9aa9ba; }

.tr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tr-count { font-size: 12px; color: var(--v6-muted); font-variant-numeric: tabular-nums; }
.tr-count.over { color: #c0392b; }
.tr-hint { font-size: 11.5px; color: #90a0b3; text-align: right; }

.tr-acts { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.tr-go {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #2f6fff, #1f56d9); border: 1px solid #1f56d9;
  box-shadow: 0 10px 22px rgba(47, 111, 255, .28); transition: transform .16s, box-shadow .16s, opacity .16s;
}
.tr-go:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(47, 111, 255, .32); }
.tr-go[disabled] { opacity: .62; cursor: progress; transform: none; box-shadow: none; }
.tr-go .arr { transition: transform .18s; }
.tr-go:hover .arr { transform: translateX(3px); }
.tr-clear {
  flex: none; height: 46px; padding: 0 16px; border-radius: 12px; font-size: 13.5px; cursor: pointer;
  color: #41556b; background: #fff; border: 1px solid #dbe4ef;
}
.tr-clear:hover { border-color: #b9c8da; color: #0d1b2a; }

.tr-err {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.7;
  color: #8c2c22; background: #fff4f2; border: 1px solid #f6d3cc;
}

.tr-out { min-height: 420px; display: flex; flex-direction: column; }
.tr-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 2px; }
.tr-steps { counter-reset: s; display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tr-steps li {
  position: relative; padding: 12px 14px 12px 46px; border-radius: 12px;
  background: #f7faff; border: 1px solid #e6eefb;
}
.tr-steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700;
  color: #fff; background: #2f6fff;
}
.tr-steps b { display: block; font-size: 13.5px; color: var(--v6-ink); }
.tr-steps span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: var(--v6-muted); }
.tr-empty-note { margin-top: 14px; font-size: 12.5px; color: #8b9aab; }

.tr-loading { flex: 1; display: grid; place-content: center; gap: 10px; justify-items: center; color: var(--v6-muted); font-size: 13.5px; }
.tr-spin {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(47, 111, 255, .2); border-top-color: #2f6fff;
  animation: trspin .8s linear infinite;
}
@keyframes trspin { to { transform: rotate(360deg); } }

.tr-result { display: grid; gap: 12px; }
.tr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tr-stat { padding: 10px 12px; border-radius: 12px; background: #f7faff; border: 1px solid #e6eefb; }
.tr-stat b { display: block; font-size: 21px; line-height: 1.25; color: #12325c; font-variant-numeric: tabular-nums; }
.tr-stat span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--v6-muted); }

.tr-note { font-size: 12px; line-height: 1.75; color: #8b9aab; padding: 0 2px; }

.tr-scene { border: 1px solid var(--v6-line); border-radius: 12px; overflow: hidden; background: #fff; }
.tr-scene-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 11px 13px; background: #f6f9fd; border-bottom: 1px solid var(--v6-line); }
.tr-scene-h b { font-size: 13.5px; color: var(--v6-ink); }
.tr-scene-meta { font-size: 11.5px; color: var(--v6-muted); }
.tr-scene-sum { padding: 9px 13px 0; font-size: 12.5px; line-height: 1.7; color: #4a5f75; }

.tr-shots { padding: 6px 13px 12px; display: grid; gap: 8px; }
.tr-shot { padding: 9px 11px; border-radius: 10px; background: #fbfcfe; border: 1px solid #e9eff7; }
.tr-shot-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.tr-no { font-size: 11px; font-weight: 700; color: #2f6fff; font-variant-numeric: tabular-nums; }
.tr-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; color: #35506e; background: #eef3fa; border: 1px solid #e0e9f4; }
.tr-act { margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: #33475c; }
.tr-dlg { margin-top: 3px; font-size: 12px; line-height: 1.7; color: #6b7c8f; }
.tr-prompt { margin-top: 6px; }
.tr-prompt summary {
  cursor: pointer; font-size: 11.5px; color: #1f56d9; list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.tr-prompt summary::-webkit-details-marker { display: none; }
.tr-prompt summary::before { content: "▸"; font-size: 10px; }
.tr-prompt[open] summary::before { content: "▾"; }
.tr-prompt p {
  margin-top: 6px; padding: 9px 10px; border-radius: 8px; font-size: 11.5px; line-height: 1.75;
  color: #4a5f75; background: #fff; border: 1px dashed #d9e3f0; word-break: break-word;
}
.tr-copy {
  margin-top: 6px; display: inline-block; padding: 3px 9px; border-radius: 999px; cursor: pointer;
  font-size: 11px; color: #35506e; background: #eef3fa; border: 1px solid #e0e9f4;
}

.tr-chars { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tr-chars > span.lbl { font-size: 12px; color: var(--v6-muted); margin-right: 2px; }
.tr-char { padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #2d4661; background: #f2f6fc; border: 1px solid #dfe8f4; }
.tr-char i { font-style: normal; color: #93a3b5; font-size: 11px; margin-left: 4px; }

.tr-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px; border-radius: 12px; background: #0a1f3a; }
.tr-cta p { flex: 1 1 220px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .74); }
.tr-cta a {
  flex: none; padding: 9px 15px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #0a1f3a; background: #fff; border: 1px solid #fff;
}
.tr-cta a.ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .34); }

.tr-next { margin: 34px 0 6px; padding: 26px 24px 24px; border-radius: 18px; background: #f6f9fd; border: 1px solid var(--v6-line); }
.tr-next h2 { font-size: 17px; color: var(--v6-ink); }
.tr-next-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tr-next-card { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--v6-line); }
.tr-next-card b { display: block; font-size: 14px; color: var(--v6-ink); }
.tr-next-card p { margin-top: 7px; font-size: 12.5px; line-height: 1.8; color: var(--v6-muted); }
.tr-next-card a { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #1f56d9; }

@media (min-width: 1081px) {
  .tr-in { position: sticky; top: 88px; }
}
@media (max-width: 1080px) {
  .tr-grid { grid-template-columns: 1fr; }
  .tr-out { min-height: 320px; }
  .tr-next-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tr-hero { padding: 28px 0 32px; }
  .tr-hero p { font-size: 14px; }
  .tr-main { padding: 22px 0 0; }
  .tr-panel { padding: 16px 15px 15px; border-radius: 14px; scroll-margin-top: 96px; }
  .tr-text { min-height: 216px; font-size: 13.5px; }
  .tr-acts { flex-wrap: wrap; }
  .tr-go { flex: 1 1 100%; }
  .tr-clear { flex: 1 1 100%; }
  .tr-hint { display: none; }
  .tr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-cta { padding: 13px; }
  .tr-cta a { flex: 1 1 100%; text-align: center; }
  .tr-next { padding: 20px 16px; }
}
@media (max-width: 360px) {
  .tr-badge { display: none; }
  .tr-stat b { font-size: 19px; }
}


/* 首屏右侧：本次体验会产出什么 */
.tr-hero-card {
  padding: 18px 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.tr-hero-card h2 { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .62); letter-spacing: 1px; }
.tr-hero-card ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.tr-hero-card li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.tr-hero-card .n {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #0a1f3a; background: #cfe0ff;
}
.tr-hero-card b { display: block; font-size: 13.5px; color: #fff; }
.tr-hero-card span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
@media (max-width: 900px) {
  .tr-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .tr-hero-card { display: none; }
}
