.tst-section {
  --tst-bg: var(--site-surface, #0b1b15);
  --tst-bg-2: var(--site-surface-alt, #10251d);
  --tst-ink: var(--site-text, #f4f0e7);
  --tst-muted-local: var(--site-muted, #9fb7a9);
  --tst-accent: var(--site-accent, #d7ad62);
  --tst-accent-soft: var(--site-accent-soft, #f0d49b);
  position: relative;
  scroll-margin-top: 92px;
  margin: 86px 0 34px;
  padding: 54px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tst-accent) 20%, transparent);
  border-radius: 30px;
  color: var(--tst-ink);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--tst-accent) 13%, transparent), transparent 30rem),
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--site-secondary, #0f897d) 14%, transparent), transparent 28rem),
    color-mix(in srgb, var(--tst-bg) 94%, #000);
  box-shadow: 0 34px 90px rgba(0,0,0,.24);
}
.tst-section::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.08; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:64px 64px; mask-image:linear-gradient(to bottom,black,transparent 55%); }
.tst-section *, .tst-section *::before, .tst-section *::after { box-sizing:border-box; }
.tst-heading { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); align-items:end; gap:44px; margin-bottom:34px; }
.tst-kicker { display:block; margin-bottom:10px; color:var(--tst-accent-soft); font-size:.65rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }
.tst-heading h2 { max-width:720px; margin:0; color:var(--tst-ink); font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.15rem,4vw,3.65rem); font-weight:400; line-height:1.04; letter-spacing:-.045em; }
.tst-heading > p { margin:0 0 5px; padding-left:24px; border-left:1px solid color-mix(in srgb,var(--tst-accent) 35%,transparent); color:var(--tst-muted-local); font-size:.78rem; line-height:1.75; }
.tst-layout { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); gap:20px; align-items:start; }
.tst-form-card, .tst-stories { border:1px solid rgba(255,255,255,.085); border-radius:24px; background:color-mix(in srgb,var(--tst-bg-2) 88%,transparent); box-shadow:0 20px 55px rgba(0,0,0,.18); backdrop-filter:blur(12px); }
.tst-form-card { padding:26px; }
.tst-card-head { display:flex; gap:15px; align-items:flex-start; margin-bottom:23px; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.075); }
.tst-step { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--tst-accent) 35%,transparent); border-radius:50%; color:var(--tst-accent-soft); background:color-mix(in srgb,var(--tst-accent) 9%,transparent); font:800 .58rem/1 Inter,sans-serif; letter-spacing:.08em; }
.tst-card-head h3, .tst-stories-head h3 { margin:0; color:var(--tst-ink); font-family:Georgia,"Times New Roman",serif; font-size:1.42rem; font-weight:400; }
.tst-card-head p, .tst-stories-head p { margin:5px 0 0; color:var(--tst-muted-local); font-size:.7rem; line-height:1.55; }
.tst-honeypot { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }
.tst-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tst-field { display:flex; min-width:0; flex-direction:column; gap:7px; color:#cad4cf; font-size:.67rem; font-weight:800; letter-spacing:.025em; }
.tst-field--full { grid-column:1/-1; }
.tst-field span { display:flex; justify-content:space-between; gap:8px; }
.tst-field b { color:var(--tst-accent-soft); }
.tst-field small { color:#788b81; font-size:.58rem; font-weight:700; }
.tst-field input, .tst-panel textarea { width:100%; margin:0; border:1px solid rgba(255,255,255,.105); border-radius:13px; color:var(--tst-ink); background:rgba(2,11,7,.38); box-shadow:inset 0 1px rgba(255,255,255,.025); font:500 16px/1.4 Inter,system-ui,sans-serif; outline:none; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.tst-field input { min-height:48px; padding:0 14px; }
.tst-field input::placeholder, .tst-panel textarea::placeholder { color:#71837a; }
.tst-field input:focus, .tst-panel textarea:focus { border-color:color-mix(in srgb,var(--tst-accent) 70%,transparent); background:rgba(2,11,7,.58); box-shadow:0 0 0 4px color-mix(in srgb,var(--tst-accent) 10%,transparent); }
.tst-mode-label { display:flex; justify-content:space-between; align-items:center; margin:22px 0 10px; color:#cad4cf; font-size:.67rem; font-weight:800; }
.tst-mode-label small { color:#75887e; font-size:.59rem; }
.tst-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; padding:6px; border:1px solid rgba(255,255,255,.075); border-radius:15px; background:rgba(2,10,7,.26); }
.tst-tab { min-height:48px; display:flex; align-items:center; justify-content:center; gap:8px; margin:0; padding:0 10px; border:1px solid transparent; border-radius:11px; color:#81948a; background:transparent; font:800 .66rem/1 Inter,system-ui,sans-serif; cursor:pointer; transition:.18s ease; }
.tst-tab svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.tst-tab:hover { color:var(--tst-ink); }
.tst-tab.is-active { color:#172017; border-color:var(--tst-accent); background:var(--tst-accent-soft); box-shadow:0 8px 22px color-mix(in srgb,var(--tst-accent) 18%,transparent); }
.tst-panel { margin-top:12px; }
.tst-panel[hidden] { display:none!important; }
.tst-panel textarea { min-height:142px; resize:vertical; padding:14px 15px 32px; }
.tst-counter { display:flex; justify-content:space-between; gap:12px; margin-top:-27px; padding:0 12px 10px; pointer-events:none; color:#75877e; font-size:.58rem; }
.tst-counter b { color:#9eada6; font-weight:800; }
.tst-recorder { padding:14px; border:1px dashed color-mix(in srgb,var(--tst-accent) 32%,transparent); border-radius:15px; background:color-mix(in srgb,var(--tst-accent) 5%,transparent); }
.tst-record-button { position:relative; width:100%; min-height:94px; display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:14px; margin:0; padding:14px; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:14px; color:var(--tst-ink); background:rgba(3,13,9,.38); text-align:left; cursor:pointer; }
.tst-record-button > svg { position:relative; z-index:1; width:22px; height:22px; justify-self:center; fill:none; stroke:var(--tst-accent-soft); stroke-width:1.8; stroke-linecap:round; }
.tst-record-rings { position:absolute; left:12px; width:62px; height:62px; border:1px solid color-mix(in srgb,var(--tst-accent) 24%,transparent); border-radius:50%; }
.tst-record-copy { position:relative; display:flex; flex-direction:column; gap:5px; }
.tst-record-copy strong { font-size:.72rem; }
.tst-record-copy small { color:var(--tst-muted-local); font-size:.59rem; }
.tst-record-button time { color:var(--tst-accent-soft); font:800 .72rem/1 ui-monospace,monospace; }
.tst-record-button.is-recording { border-color:#c9654c; }
.tst-record-button.is-recording .tst-record-rings { border-color:#d66a50; animation:tst-pulse 1.3s ease-out infinite; }
.tst-voice-preview { display:flex; align-items:center; gap:10px; margin-top:10px; }
.tst-voice-preview[hidden] { display:none; }
.tst-voice-preview audio { width:100%; height:38px; }
.tst-voice-preview button { min-height:38px; flex:0 0 auto; padding:0 12px; border:1px solid rgba(255,255,255,.1); border-radius:10px; color:var(--tst-muted-local); background:rgba(255,255,255,.035); font-size:.62rem; cursor:pointer; }
.tst-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.tst-upload { min-height:118px; display:flex; align-items:center; gap:12px; padding:15px; border:1px dashed color-mix(in srgb,var(--tst-accent) 32%,transparent); border-radius:15px; background:color-mix(in srgb,var(--tst-accent) 5%,transparent); cursor:pointer; transition:.18s ease; }
.tst-upload:hover, .tst-upload.is-dragging { border-color:var(--tst-accent); background:color-mix(in srgb,var(--tst-accent) 10%,transparent); transform:translateY(-1px); }
.tst-upload.has-file { border-style:solid; border-color:color-mix(in srgb,var(--site-secondary,#0f897d) 70%,transparent); }
.tst-upload input { position:absolute; width:1px; height:1px; opacity:0; }
.tst-upload-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:12px; color:var(--tst-accent-soft); background:color-mix(in srgb,var(--tst-accent) 11%,transparent); }
.tst-upload-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.tst-upload > span:last-child { min-width:0; display:flex; flex-direction:column; gap:5px; }
.tst-upload strong { color:var(--tst-ink); font-size:.68rem; }
.tst-upload small { overflow:hidden; color:var(--tst-muted-local); font-size:.57rem; line-height:1.45; text-overflow:ellipsis; }
.tst-form-message { margin:14px 0 0; padding:11px 13px; border:1px solid transparent; border-radius:12px; font-size:.66rem; line-height:1.5; }
.tst-form-message[hidden] { display:none; }
.tst-form-message.is-error { color:#ffb5a5; border-color:rgba(220,91,63,.28); background:rgba(183,64,41,.12); }
.tst-form-message.is-success { color:#bde8cd; border-color:rgba(74,171,111,.3); background:rgba(43,139,80,.12); }
.tst-consent { display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:10px; margin-top:15px; color:var(--tst-muted-local); font-size:.58rem; font-weight:500; line-height:1.55; cursor:pointer; }
.tst-consent input { width:17px; height:17px; margin:1px 0 0; accent-color:var(--tst-accent); }
.tst-consent a { color:var(--tst-accent-soft); text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--tst-accent) 35%,transparent); text-underline-offset:2px; }
.tst-consent a:hover { color:var(--tst-ink); }
.tst-form-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.075); }
.tst-form-actions > p { max-width:240px; display:flex; align-items:center; gap:8px; margin:0; color:#798b82; font-size:.57rem; line-height:1.45; }
.tst-form-actions > p svg { width:17px; flex:0 0 17px; fill:var(--site-secondary,#0f897d); }
.tst-submit { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:12px; margin:0; padding:0 19px; border:1px solid var(--tst-accent); border-radius:999px; color:#172017; background:var(--tst-accent-soft); box-shadow:0 12px 28px color-mix(in srgb,var(--tst-accent) 17%,transparent); font:900 .66rem/1 Inter,system-ui,sans-serif; cursor:pointer; transition:.18s ease; }
.tst-submit svg { width:17px; fill:none; stroke:currentColor; stroke-width:2.3; }
.tst-submit:hover { transform:translateY(-2px); box-shadow:0 16px 34px color-mix(in srgb,var(--tst-accent) 24%,transparent); }
.tst-submit:disabled { opacity:.58; cursor:wait; transform:none; }
.tst-stories { padding:26px; }
.tst-stories-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:18px; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.075); }
.tst-stories-head > div { display:flex; gap:15px; }
.tst-story-count { min-width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.09); border-radius:50%; color:var(--tst-muted-local); font:800 .62rem/1 Inter,sans-serif; }
.tst-list { display:flex; flex-direction:column; gap:10px; }
.tst-story { position:relative; padding:17px; overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:16px; background:rgba(2,11,7,.3); }
.tst-story::after { content:"“"; position:absolute; right:12px; top:-13px; color:color-mix(in srgb,var(--tst-accent) 12%,transparent); font:400 5rem/1 Georgia,serif; }
.tst-story-head { position:relative; z-index:1; display:flex; align-items:center; gap:11px; }
.tst-avatar { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--tst-accent) 25%,transparent); border-radius:50%; color:var(--tst-accent-soft); background:color-mix(in srgb,var(--tst-accent) 8%,transparent); font:800 .65rem/1 Inter,sans-serif; }
.tst-story-meta { min-width:0; display:flex; flex-direction:column; gap:3px; }
.tst-story-meta strong { overflow:hidden; color:var(--tst-ink); font-size:.67rem; letter-spacing:.035em; text-overflow:ellipsis; white-space:nowrap; text-transform:uppercase; }
.tst-story-meta time { color:#708279; font-size:.56rem; }
.tst-story blockquote { position:relative; z-index:1; margin:12px 0 0; color:#b8c6bf; font:400 .72rem/1.65 Georgia,"Times New Roman",serif; }
.tst-story-more { margin:8px 0 0; padding:0; border:0; color:var(--tst-accent-soft); background:none; font-size:.58rem; font-weight:800; cursor:pointer; }
.tst-story-media { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; }
.tst-media-button { min-height:34px; display:inline-flex; align-items:center; gap:7px; margin:0; padding:0 10px; border:1px solid rgba(255,255,255,.09); border-radius:999px; color:#9eaea6; background:rgba(255,255,255,.035); font:800 .56rem/1 Inter,sans-serif; cursor:pointer; }
.tst-media-button svg { width:13px; height:13px; fill:currentColor; }
.tst-skeleton { height:116px; border-radius:16px; background:linear-gradient(100deg,rgba(255,255,255,.035) 25%,rgba(255,255,255,.075) 42%,rgba(255,255,255,.035) 58%); background-size:300% 100%; animation:tst-shimmer 1.4s infinite; }
.tst-empty { padding:42px 20px; border:1px dashed rgba(255,255,255,.1); border-radius:16px; text-align:center; color:var(--tst-muted-local); }
.tst-empty strong { display:block; margin-bottom:6px; color:var(--tst-ink); font:400 1.2rem/1.2 Georgia,serif; }
.tst-empty button { margin-top:12px; padding:8px 12px; border:1px solid rgba(255,255,255,.1); border-radius:999px; color:var(--tst-accent-soft); background:transparent; cursor:pointer; }
.tst-all-link { min-height:44px; display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding:0 3px; border-top:1px solid rgba(255,255,255,.065); color:#9eaea6; font-size:.62rem; font-weight:800; }
.tst-all-link:hover { color:var(--tst-accent-soft); }
.tst-load-more { width:100%; min-height:43px; display:flex; align-items:center; justify-content:center; gap:9px; margin:13px 0 0; border:1px solid rgba(255,255,255,.085); border-radius:12px; color:var(--tst-accent-soft); background:rgba(255,255,255,.025); font-size:.6rem; font-weight:850; cursor:pointer; }
.tst-load-more[hidden] { display:none; }
.tst-load-more:hover { border-color:color-mix(in srgb,var(--tst-accent) 35%,transparent); background:color-mix(in srgb,var(--tst-accent) 6%,transparent); }
.tst-load-more:disabled { opacity:.55; cursor:wait; }
.tst-shared-player { position:fixed; z-index:120; left:50%; bottom:18px; width:min(620px,calc(100% - 28px)); display:grid; grid-template-columns:auto 1fr 36px; align-items:center; gap:12px; padding:10px 12px 10px 16px; border:1px solid color-mix(in srgb,var(--tst-accent) 25%,transparent); border-radius:16px; color:var(--tst-ink); background:color-mix(in srgb,var(--site-background,#07100d) 94%,transparent); box-shadow:0 24px 70px rgba(0,0,0,.5); backdrop-filter:blur(20px); transform:translateX(-50%); }
.tst-shared-player[hidden] { display:none; }
.tst-shared-player > span { font-size:.6rem; font-weight:800; }
.tst-shared-player audio { width:100%; height:34px; }
.tst-shared-player button { width:34px; height:34px; margin:0; border:1px solid rgba(255,255,255,.1); border-radius:50%; color:var(--tst-ink); background:rgba(255,255,255,.04); font-size:1.1rem; cursor:pointer; }
.tst-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip:rect(0 0 0 0)!important; white-space:nowrap!important; }
@keyframes tst-pulse { to { transform:scale(1.25); opacity:0; } }
@keyframes tst-shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }
@media (max-width:900px) {
  .tst-section { padding:38px 30px; }
  .tst-heading { grid-template-columns:1fr; gap:18px; }
  .tst-heading > p { max-width:620px; }
  .tst-layout { grid-template-columns:1fr; }
  .tst-stories { order:2; }
}
@media (max-width:580px) {
  .tst-section { margin:64px 0 24px; padding:30px 14px 14px; border-radius:24px; }
  .tst-heading { padding:0 4px; margin-bottom:24px; }
  .tst-heading h2 { font-size:clamp(2rem,10vw,2.65rem); }
  .tst-heading > p { padding-left:15px; }
  .tst-form-card, .tst-stories { padding:17px; border-radius:19px; }
  .tst-fields, .tst-upload-grid { grid-template-columns:1fr; }
  .tst-field--full { grid-column:auto; }
  .tst-tab { min-height:52px; flex-direction:column; gap:4px; padding:5px; }
  .tst-tab svg { width:16px; height:16px; }
  .tst-panel textarea { min-height:130px; }
  .tst-record-button { grid-template-columns:48px 1fr; }
  .tst-record-button time { grid-column:2; }
  .tst-record-rings { width:50px; height:50px; }
  .tst-form-actions { align-items:stretch; flex-direction:column; }
  .tst-form-actions > p { max-width:none; }
  .tst-submit { width:100%; min-height:52px; }
  .tst-shared-player { bottom:86px; grid-template-columns:1fr 34px; }
  .tst-shared-player > span { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .tst-section *, .tst-section *::before, .tst-section *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}
