/* Trading Guide — scoped under .tg; from U4N_NEW_SELLER/zh-cn.html */

.tg {
      --ink: #172036;
      --muted: #69738a;
      --line: #e7eaf1;
      --soft: #f6f7fb;
      --paper: #ffffff;
      --brand: #e23a2e;
      --brand-2: #f26a5f;
      --brand-soft: #fff0ee;
      --accent: #ffcc66;
      --green: #1f9d75;
      --green-soft: #eaf8f2;
      --orange-soft: #fff7e6;
      --shadow: 0 18px 48px rgba(89, 36, 31, .10);
      --radius-lg: 20px;
      --max-width: 1440px;
    }

.tg * { box-sizing: border-box; }

.tg {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
      font-size: 16px;
      line-height: 1.72;
      -webkit-font-smoothing: antialiased;
    }

.tg button, .tg a { -webkit-tap-highlight-color: transparent; }

.tg button { font: inherit; }

.tg a { color: inherit; text-decoration: none; }

.tg svg { display: block; }

.tg .container { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; }

.tg .section { padding: 88px 0; scroll-margin-top: 78px; }

.tg .section--soft { background: var(--soft); }

.tg .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.tg .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* 后台把 eyebrow 包进 <p> 时去掉多余段落间距 */
.tg .section-head p:has(> .eyebrow) { margin: 0; }
.tg .section-head p:has(> .eyebrow) .eyebrow { margin-bottom: 14px; }

.tg .section-title { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 850; line-height: 1.18; letter-spacing: -.035em; }

/* Tailwind preflight 会把 h1–h6 字重重置为 inherit；设计稿依赖标题加粗 */
.tg h2, .tg h3 { font-weight: 800; }

.tg .section-lead { max-width: 1000px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }

.tg .section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }

.tg .hero { position: relative; overflow: hidden; padding: 76px 0 64px; background: radial-gradient(circle at 82% 8%, rgba(226, 58, 46, .18), transparent 31%), radial-gradient(circle at 12% 86%, rgba(255, 204, 102, .22), transparent 25%), linear-gradient(180deg, #fffafa 0%, #fff 100%); }

.tg .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: radial-gradient(#b76c65 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to right, #000, transparent 58%); }

.tg .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }

.tg .hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #f3c5c1; border-radius: 999px; color: var(--brand); background: rgba(255, 255, 255, .76); font-size: 13px; font-weight: 750; }

.tg .hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 117, .12); }

.tg .hero h1 { max-width: 650px; margin: 22px 0 20px; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -.055em; }

.tg .hero h1 span { color: var(--brand); }

.tg .hero-copy { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; }

.tg .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.tg .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; transition: .2s ease; }

.tg .btn:hover { transform: translateY(-2px); }

.tg .btn--primary { color: #fff; background: var(--brand); box-shadow: 0 12px 24px rgba(226, 58, 46, .22); }

.tg .btn--ghost { border-color: var(--line); background: #fff; }

.tg .hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #596277; font-size: 13px; font-weight: 650; }

.tg .hero-notes span { display: inline-flex; align-items: center; gap: 6px; }

.tg .hero-notes svg { color: var(--green); }

.tg .hero-visual { position: relative; min-height: 430px; }

.tg .visual-shell { position: absolute; inset: 22px 0 0 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .8); border-radius: 34px; background: linear-gradient(145deg, #4b1b18, #a72b24); box-shadow: 0 30px 80px rgba(104, 31, 25, .28); }

.tg .visual-shell::before { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -70px; border-radius: 50%; background: rgba(255,255,255,.10); }

.tg .trade-map { position: absolute; inset: 38px; display: grid; place-items: center; }

.tg .escrow-card { position: relative; z-index: 3; width: 178px; padding: 22px 18px; border: 1px solid rgba(255,255,255,.52); border-radius: 22px; color: #fff; text-align: center; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(63,18,15,.25); }

.tg .shield { width: 96px; height: 96px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 28px; color: #159467; background: #e2f8ef; box-shadow: 0 12px 28px rgba(21,148,103,.22); }

.tg .shield .icon { width: 50px; height: 50px; stroke-width: 1.9; }

.tg .escrow-card strong { display: block; font-size: 17px; }

.tg .escrow-card small { color: rgba(255,255,255,.72); }

.tg .avatar-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; min-width: 142px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(20, 13, 42, .24); }

.tg .avatar-card--buyer { left: 0; bottom: 46px; }

.tg .avatar-card--seller { right: 0; top: 30px; }

.tg .avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #f26a5f, #e23a2e); }

.tg .avatar-card--seller .avatar { color: #543704; background: linear-gradient(145deg, #ffdb86, #ffbd42); }

.tg .avatar-card strong { display: block; line-height: 1.2; font-size: 14px; }

.tg .avatar-card small { color: var(--muted); font-size: 11px; }

.tg .trade-line { position: absolute; height: 2px; z-index: 1; background: rgba(255,255,255,.42); transform-origin: left; }

.tg .trade-line--a { width: 124px; left: 118px; bottom: 92px; transform: rotate(-28deg); }

.tg .trade-line--b { width: 132px; right: 112px; top: 99px; transform: rotate(-28deg); }

.tg .trade-line::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,204,102,.15); }

.tg .float-tag { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 13px; color: #4d3e23; background: #fff5d7; box-shadow: 0 10px 24px rgba(42,31,15,.16); font-size: 12px; font-weight: 800; }

.tg .float-tag--one { left: 2px; top: 4px; }

.tg .float-tag--two { right: -8px; bottom: 10px; color: #24634f; background: #e7faf3; }

.tg .trust-strip { position: relative; z-index: 2; margin-top: -18px; }

.tg .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }

.tg .trust-item { display: flex; align-items: center; gap: 13px; padding: 22px 24px; }

.tg .trust-item + .trust-item { border-left: 1px solid var(--line); }

.tg .trust-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }

.tg .trust-item strong { display: block; font-size: 14px; }

.tg .trust-item small { display: block; color: var(--muted); font-size: 12px; }

.tg .role-switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }

.tg .role-button { min-width: 118px; padding: 10px 16px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 750; }

.tg .role-button[aria-selected="true"] { color: #fff; background: var(--brand); box-shadow: 0 6px 14px rgba(226,58,46,.18); }

.tg .role-panel[hidden] { display: none; }

.tg .role-summary { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; align-items: stretch; gap: 20px; margin-bottom: 28px; }

.tg .summary-card { display: flex; align-items: flex-start; gap: 16px; min-height: 146px; height: 100%; padding: 22px; border: 1px solid #f2c2bd; border-radius: 18px; background: linear-gradient(135deg, #fff, #fff7f6); }

.tg .summary-card--important { border-color: #f2c2bd; background: linear-gradient(135deg, #fff, #fff7f6); }

.tg .summary-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--brand); background: var(--brand-soft); }

.tg .summary-card strong { display: block; margin-bottom: 4px; }

.tg .summary-card p { margin: 0; color: var(--muted); font-size: 14px; }

.tg .steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }

.tg .step-link { display: block; height: 100%; padding: 13px 10px; border: 1px solid var(--line); border-radius: 13px; color: #4f5870; background: #fff; text-align: center; font-size: 13px; font-weight: 720; }

.tg .step-link span { display: block; margin-bottom: 7px; color: var(--brand); font-size: 22px; font-weight: 850; line-height: 1; letter-spacing: .04em; }

.tg .step-link:hover { border-color: #f1b8b3; color: var(--brand); background: #fff7f6; }

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

.tg .guide-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }

.tg .guide-card::after { content: attr(data-step); position: absolute; right: 18px; top: 2px; color: #fdf0ef; font-size: 72px; font-weight: 900; line-height: 1; pointer-events: none; }

.tg .guide-card__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }

.tg .guide-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: var(--brand); background: var(--brand-soft); }

.tg .guide-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }

.tg .guide-card h3 small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }

.tg .guide-card ul { position: relative; z-index: 1; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.tg .guide-card li { position: relative; padding-left: 21px; color: #505a70; font-size: 14px; }

.tg .guide-card li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-soft); }

.tg .action-highlight { color: var(--brand); font-weight: 850; }

.tg .guide-card--wide { grid-column: 1 / -1; }

.tg .inline-note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; color: #695122; background: var(--orange-soft); font-size: 13px; }

.tg .escrow-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 40px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }

.tg .flow-node { min-height: 146px; display: grid; align-content: center; justify-items: center; padding: 20px; border-radius: 18px; text-align: center; background: var(--soft); }

.tg .flow-node--center { color: #fff; background: linear-gradient(145deg, var(--brand), #f06459); box-shadow: 0 16px 30px rgba(226,58,46,.18); }

.tg .flow-node .flow-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 10px; border-radius: 15px; color: var(--brand); background: #fff; }

.tg .flow-node strong { font-size: 16px; }

.tg .flow-node small { color: var(--muted); }

.tg .flow-node--center small { color: rgba(255,255,255,.76); }

.tg .flow-arrow { display: grid; place-items: center; color: var(--brand); }

.tg .flow-arrow span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; }

.tg .fee-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 20px; padding: 20px; border: 1px solid #f2c2bd; border-radius: 26px; background: #fff7f6; }

.tg .fee-notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 15px 17px; border: 1px solid #f2c2bd; border-radius: 14px; color: #74231d; background: #fff7f6; font-size: 13px; }

.tg .fee-notice svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand); }

.tg .fee-notice strong { color: var(--brand); }

.tg .fee-overview { position: relative; overflow: hidden; min-height: 100%; padding: 34px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #9f251e, var(--brand)); }

.tg .fee-overview::before { content: ""; position: absolute; width: 220px; height: 220px; right: -88px; top: -82px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.04), 0 0 0 68px rgba(255,255,255,.03); }

.tg .fee-overview > * { position: relative; z-index: 1; }

.tg .fee-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 750; }

.tg .fee-overview h3 { margin: 30px 0 8px; font-size: 22px; }

.tg .fee-threshold { margin: 0 0 22px; font-size: clamp(32px, 4vw, 48px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; }

.tg .fee-threshold small { display: block; margin-top: 10px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600; letter-spacing: 0; }

.tg .fee-overview p { margin: 0; color: rgba(255,255,255,.76); font-size: 13px; }

.tg .fee-rules { display: grid; gap: 14px; }

.tg .fee-tier { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }

.tg .tier-no { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: var(--brand); background: var(--brand-soft); font-size: 18px; font-weight: 900; }

.tg .fee-tier h3 { margin: 0 0 5px; font-size: 17px; }

.tg .fee-tier p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

.tg .formula { display: block; padding: 10px 12px; border-radius: 10px; color: #78221c; background: #fff3f1; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; font-weight: 700; line-height: 1.6; }

.tg .fee-example { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid #f0d49d; border-radius: 18px; background: #fff9ec; }

.tg .example-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #865908; background: #ffe5a7; }

.tg .fee-example strong { display: block; margin-bottom: 2px; }

.tg .fee-example p { margin: 0; color: #7a6440; font-size: 13px; }

.tg .example-total { color: var(--brand); text-align: right; }

.tg .example-total small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

.tg .example-total b { font-size: 26px; }

.tg .fee-calculator { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; margin-top: 20px; border: 1px solid #f2c2bd; border-radius: 24px; background: #fff; box-shadow: 0 16px 38px rgba(89,36,31,.07); }

.tg .calculator-form { padding: 30px; }

.tg .calculator-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: 12px; font-weight: 800; }

.tg .calculator-form h3 { margin: 18px 0 6px; font-size: 23px; font-weight: 850; letter-spacing: -.02em; }

.tg .calculator-form > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

.tg .calculator-controls { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }

.tg .calculator-field { display: grid; gap: 7px; }

.tg .calculator-field span { color: #4d566b; font-size: 13px; font-weight: 800; }

.tg .calculator-field select, .tg .calculator-field input { width: 100%; height: 62px; padding: 0 17px; border: 2px solid #e6aaa5; border-radius: 15px; color: var(--ink); outline: none; background: #fffdfd; font: inherit; font-size: 18px; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 5px 14px rgba(96,39,34,.05); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }

.tg .calculator-field select:hover, .tg .calculator-field input:hover { border-color: #df8179; background: #fff; }

.tg .calculator-field select:focus, .tg .calculator-field input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 5px rgba(226,58,46,.13), 0 8px 18px rgba(96,39,34,.08); }

.tg .calculator-formula { min-height: 42px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; color: #7a3b36; background: #fff7f6; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.6; }

.tg .calculator-results { position: relative; display: grid; align-content: center; gap: 14px; overflow: hidden; padding: 30px; color: #fff; background: linear-gradient(145deg, #4b1b18, #a72b24); }

.tg .calculator-silhouette { position: absolute; z-index: 0; right: 18px; bottom: -42px; width: 220px; height: auto; color: #fff; opacity: .075; pointer-events: none; transform: rotate(-7deg); }

.tg .calculator-result { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(2px); }

.tg .calculator-result span { color: rgba(255,255,255,.7); font-size: 12px; }

.tg .calculator-result strong { font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }

.tg .calculator-result--net { border-color: rgba(255,216,135,.35); background: rgba(255,216,135,.12); }

.tg .calculator-disclaimer { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 7px; margin-top: 2px; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.6; }

.tg .calculator-disclaimer svg { flex: 0 0 auto; margin-top: 1px; }

.tg .withdrawal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.tg .withdrawal-card { position: relative; overflow: hidden; min-height: 320px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }

.tg .withdrawal-card::after { content: attr(data-mark); position: absolute; right: 16px; bottom: -30px; color: #f8eceb; font-size: 118px; font-weight: 950; line-height: 1; pointer-events: none; }

.tg .method-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }

.tg .method-logo { flex: 0 0 auto; width: 112px; height: 46px; display: flex; align-items: center; justify-content: flex-start; }

.tg .method-logo img { display: block; max-width: 112px; max-height: 46px; object-fit: contain; object-position: left center; }

.tg .method-head h3 { margin: 0; font-size: 18px; }

.tg .method-head small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

.tg .withdrawal-fee { position: relative; z-index: 1; margin: 0; color: var(--brand); font-size: 32px; font-weight: 900; line-height: 1.15; letter-spacing: -.03em; }

.tg .withdrawal-fee small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }

.tg .withdrawal-limits { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }

.tg .withdrawal-limit { margin: 0; padding: 11px 12px; border: 1px solid #f5d1cd; border-radius: 12px; background: #fff8f7; }

.tg .withdrawal-limit:last-child { grid-column: 1 / -1; }

.tg .withdrawal-limit dt { color: var(--muted); font-size: 11px; font-weight: 700; }

.tg .withdrawal-limit dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; font-weight: 850; }

.tg .arrival-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 20px; padding: 22px 26px; border: 1px solid #f2c2bd; border-radius: 18px; background: #fff7f6; }

.tg .arrival-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--brand); background: #fff; box-shadow: 0 8px 20px rgba(94,37,32,.08); }

.tg .arrival-card strong { display: block; margin-bottom: 2px; }

.tg .arrival-card p { margin: 0; color: var(--muted); font-size: 13px; }

.tg .arrival-time { color: var(--brand); font-size: 30px; font-weight: 900; letter-spacing: -.03em; }

.tg .category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.tg .category-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .2s ease; }

.tg .category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(88, 34, 30, .08); }

.tg .category-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }

.tg .category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--brand); background: var(--brand-soft); }

.tg .category-time { padding: 5px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 800; }

.tg .category-card h3 { margin: 0 0 10px; font-size: 19px; }

/* 仅卡片简介；勿命中后台包进 dt/dd 的 <p> */
.tg .category-card > p { min-height: 66px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.tg .category-card dl { display: grid; gap: 10px; margin: 0; }

.tg .category-card dl > div { padding-top: 10px; border-top: 1px solid var(--line); }

.tg .category-card dt,
.tg .category-card dd { display: block; }

.tg .category-card dt { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.4; }

.tg .category-card dd { margin: 2px 0 0; color: var(--ink); font-size: 13px; font-weight: 720; line-height: 1.5; }

.tg .category-card dt p,
.tg .category-card dd p { min-height: 0; margin: 0; padding: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }

.tg .evidence-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: stretch; }

.tg .evidence-visual { position: relative; overflow: hidden; min-height: 430px; padding: 34px; border-radius: 26px; color: #fff; background: linear-gradient(150deg, #321a18, #87251f); }

.tg .evidence-visual::before, .tg .evidence-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }

.tg .evidence-visual::before { width: 280px; height: 280px; right: -90px; top: -80px; }

.tg .evidence-visual::after { width: 190px; height: 190px; left: -80px; bottom: -90px; }

.tg .evidence-visual h3 { position: relative; z-index: 1; margin: 20px 0 8px; font-size: 28px; }

.tg .evidence-visual p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.68); }

.tg .recording-frame { position: relative; z-index: 1; margin-top: 34px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.08); }

.tg .recording-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: rgba(255,255,255,.76); font-size: 12px; }

.tg .rec { display: inline-flex; align-items: center; gap: 6px; }

.tg .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a67; box-shadow: 0 0 0 5px rgba(255,90,103,.14); }

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

.tg .recording-items span { padding: 14px 8px; border-radius: 12px; text-align: center; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; }

.tg .checklist { display: grid; gap: 13px; }

.tg .check-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }

.tg .check-no { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--brand); background: var(--brand-soft); font-size: 13px; font-weight: 900; }

.tg .check-item strong { display: block; margin-bottom: 3px; }

.tg .check-item p { margin: 0; color: var(--muted); font-size: 13px; }

.tg .dispute-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; counter-reset: dispute; }

.tg .dispute-step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; counter-increment: dispute; }

.tg .dispute-step::before { content: counter(dispute, decimal-leading-zero); display: block; margin-bottom: 20px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .08em; }

.tg .dispute-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -21px; top: 50%; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: #fff; transform: translateY(-50%); }

.tg .dispute-step strong { display: block; margin-bottom: 6px; }

.tg .dispute-step p { margin: 0; color: var(--muted); font-size: 13px; }

.tg .warning-banner { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 22px; padding: 20px; border: 1px solid #f3d8a2; border-radius: 17px; color: #62491d; background: var(--orange-soft); }

.tg .warning-banner strong { display: block; }

.tg .warning-banner p { margin: 2px 0 0; font-size: 13px; }

.tg .rules-layout { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }

.tg .rule-nav { position: sticky; top: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }

.tg .rule-nav a { display: block; padding: 11px 13px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 680; }

.tg .rule-nav a:hover { color: var(--brand); background: var(--brand-soft); }

.tg .rule-stack { display: grid; gap: 14px; }

.tg details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }

.tg details[open] { border-color: #f2c2bd; box-shadow: 0 10px 28px rgba(91,38,33,.06); }

.tg summary { position: relative; display: block; padding: 20px 54px 20px 20px; cursor: pointer; list-style: none; font-weight: 780; color: var(--ink); }

.tg summary::-webkit-details-marker { display: none; }

.tg summary::marker { content: ""; }

.tg summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: var(--brand); background: var(--brand-soft); transform: translateY(-50%); }

.tg details[open] summary::after { content: "−"; }

.tg .details-body { padding: 0 20px 20px; color: #535d72; font-size: 14px; }

.tg .details-body p { margin: 0 0 12px; }

.tg .details-body ul, .tg .details-body ol { display: grid; gap: 9px; margin: 0; padding-left: 20px; }

.tg .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tg .faq-grid details { height: fit-content; }

.tg .closing-card { position: relative; overflow: hidden; padding: 50px; border-radius: 28px; color: #fff; background: linear-gradient(130deg, #4b1b18, #e23a2e); }

.tg .closing-card::after { display: none; }

.tg .closing-card h2 { position: relative; z-index: 1; max-width: 680px; margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }

.tg .closing-card p { position: relative; z-index: 1; max-width: 1000px; margin: 0; color: rgba(255,255,255,.72); }

.tg .closing-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.tg .closing-points span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; }

.tg-footer { padding: 32px 0 44px; color: var(--muted); font-size: 12px; }

.tg-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.tg .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tg .icon--lg { width: 25px; height: 25px; }

.tg .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
      .tg .hero-grid { grid-template-columns: 1fr; }
      .tg .hero-visual { min-height: 390px; max-width: 630px; width: 100%; margin: 0 auto; }
      .tg .trust-grid { grid-template-columns: 1fr 1fr; }
      .tg .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
      .tg .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
      .tg .steps { grid-template-columns: repeat(4, 1fr); }
      .tg .fee-shell { grid-template-columns: 1fr; }
      .tg .fee-calculator { grid-template-columns: 1fr; }
      .tg .withdrawal-grid { grid-template-columns: 1fr 1fr; }
      .tg .withdrawal-card:last-child { grid-column: 1 / -1; }
      .tg .category-grid { grid-template-columns: 1fr 1fr; }
      .tg .evidence-layout { grid-template-columns: 1fr; }
      .tg .dispute-path { grid-template-columns: 1fr 1fr; }
      .tg .dispute-step:nth-child(2)::after { display: none; }
      .tg .rules-layout { grid-template-columns: 1fr; }
      .tg .rule-nav { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
    }

@media (max-width: 680px) {
      .tg .container { width: min(100% - 28px, var(--max-width)); }
      .tg .section { padding: 64px 0; }
      .tg .section-head { display: block; margin-bottom: 30px; }
      .tg .role-switch { width: 100%; margin-top: 22px; }
      .tg .role-button { min-width: 0; }
      .tg .hero { padding-top: 50px; }
      .tg .hero h1 { font-size: 42px; }
      .tg .hero-copy { font-size: 16px; }
      .tg .hero-actions .btn { width: 100%; }
      .tg .hero-visual { min-height: 330px; }
      .tg .visual-shell { inset: 18px 0 0; }
      .tg .trade-map { inset: 22px; }
      .tg .escrow-card { width: 148px; padding: 17px 12px; }
      .tg .avatar-card { min-width: 114px; padding: 9px; }
      .tg .avatar { width: 32px; height: 32px; }
      .tg .avatar-card--buyer { bottom: 24px; }
      .tg .avatar-card--seller { top: 35px; }
      .tg .trade-line { display: none; }
      .tg .float-tag--two { right: 0; }
      .tg .trust-grid { grid-template-columns: 1fr; }
      .tg .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }
      .tg .role-summary, .tg .guide-grid, .tg .category-grid, .tg .faq-grid { grid-template-columns: 1fr; }
      .tg .steps { grid-template-columns: repeat(2, 1fr); }
      .tg .guide-card--wide { grid-column: auto; }
      .tg .escrow-flow { grid-template-columns: 1fr; padding: 20px; }
      .tg .fee-shell { padding: 14px; }
      .tg .fee-overview { padding: 28px 24px; }
      .tg .fee-tier { grid-template-columns: 46px 1fr; padding: 18px; }
      .tg .tier-no { width: 46px; height: 46px; border-radius: 14px; }
      .tg .fee-example { grid-template-columns: auto 1fr; }
      .tg .example-total { grid-column: 2; text-align: left; }
      .tg .calculator-form, .tg .calculator-results { padding: 24px 20px; }
      .tg .calculator-controls { grid-template-columns: 1fr; }
      .tg .calculator-result { align-items: flex-start; flex-direction: column; }
      .tg .withdrawal-grid { grid-template-columns: 1fr; }
      .tg .withdrawal-card:last-child { grid-column: auto; }
      .tg .arrival-card { grid-template-columns: auto 1fr; padding: 20px; }
      .tg .arrival-time { grid-column: 2; }
      .tg .flow-arrow { transform: rotate(90deg); }
      .tg .flow-arrow span { display: none; }
      .tg .dispute-path { grid-template-columns: 1fr; }
      .tg .dispute-step:not(:last-child)::after { display: none; }
      .tg .rule-nav { grid-template-columns: 1fr 1fr; }
      .tg .closing-card { padding: 34px 24px; }
      .tg .closing-card::after { right: -34px; bottom: 18px; width: 250px; }
      .tg-footer-inner { display: block; }
    }

/* marketplace shell integration */
.tg [x-cloak]{display:none!important}
.tg .method-logo:empty{width:42px;height:42px;border-radius:12px;background:var(--brand-soft);display:grid;place-items:center;font-weight:800;color:var(--brand)}
.tg .withdrawal-card[data-mark] .method-logo:empty::before{content:attr(data-mark)}
.tg-main{display:block}
