/* 美股期权课 第一批 · 批号 1（导览、第 1 章）的插画和小表。类名一律 ob1- 开头；颜色只用全站令牌，浅色主题不用整块深色。 */
.ob1-ic{width:1.05em;height:1.05em;flex:none;vertical-align:-.15em}
.ob1-tag{display:inline-block;margin-left:6px;padding:0 6px;border-radius:999px;font-style:normal;font-size:var(--fs-tiny,12px);line-height:1.6;color:var(--free);background:var(--free-soft);border:1px solid var(--free-line);white-space:nowrap}
.ob1-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- 导览：全课地图（三层台阶） */
.ob1-map{display:grid;grid-template-columns:1fr;gap:12px}
.ob1-stairs{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}
.ob1-step{display:flex;flex-direction:column;margin:0}
.ob1-step-in{padding:12px 12px 10px;border:1px solid var(--line2);border-bottom:0;border-radius:var(--r-sm,10px) var(--r-sm,10px) 0 0;background:var(--card)}
.ob1-step-h b{display:block;font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-step-h small{display:block;font-size:var(--fs-tiny,12px);color:var(--sub);margin-top:2px}
.ob1-chs{list-style:none;margin:8px 0 0;padding:0}
.ob1-chs li{display:flex;align-items:baseline;gap:6px;margin:0;padding:3px 0;font-size:var(--fs-small,13px);line-height:1.5;color:var(--prose)}
.ob1-chno{flex:none;min-width:1.6em;font-variant-numeric:tabular-nums;font-weight:600;color:var(--accent)}
.ob1-stop{display:flex;gap:6px;margin:8px 0 0;padding-top:8px;border-top:1px dashed var(--line2);font-size:var(--fs-small,13px);line-height:1.6;color:var(--text)}
.ob1-stop .ob1-ic{color:var(--accent);margin-top:3px}
.ob1-riser{height:18px;border:1px solid var(--accent-line);border-top:3px solid var(--accent);background:var(--accent-soft)}
.ob1-s2 .ob1-riser{height:58px}
.ob1-s3 .ob1-riser{height:98px}
.ob1-hb{display:flex;gap:10px;padding:12px;border:1px dashed var(--accent-line);border-radius:var(--r-sm,10px);background:var(--card2)}
.ob1-hb>.ob1-ic{width:22px;height:22px;color:var(--accent)}
.ob1-hb b{font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-hb p{margin:6px 0 0;font-size:var(--fs-small,13px);line-height:1.65;color:var(--prose)}
@media(max-width:760px){
  .ob1-stairs{grid-template-columns:1fr;gap:8px}
  .ob1-step{flex-direction:row}
  .ob1-step-in{flex:1;border:1px solid var(--line2);border-left:0;border-radius:0 var(--r-sm,10px) var(--r-sm,10px) 0}
  .ob1-riser,.ob1-s2 .ob1-riser,.ob1-s3 .ob1-riser{order:-1;height:auto;width:8px;border:0;border-left:3px solid var(--accent);background:var(--accent-soft)}
  .ob1-s2 .ob1-riser{width:22px}
  .ob1-s3 .ob1-riser{width:36px}
}

/* ---------- 导览：三个市场 */
.ob1-mks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ob1-mk{padding:12px;border:1px solid var(--line2);border-radius:var(--r-sm,10px);background:var(--card)}
.ob1-mk:first-child{border-color:var(--accent-line);background:var(--accent-soft)}
.ob1-mk h4{margin:0 0 8px;font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-mk h4 small{display:block;margin-top:2px;font-size:var(--fs-tiny,12px);font-weight:400;color:var(--sub)}
.ob1-mk dl{margin:0}
.ob1-mk dl div{padding:6px 0;border-top:1px solid var(--line)}
.ob1-mk dt{font-size:var(--fs-tiny,12px);color:var(--sub)}
.ob1-mk dd{margin:2px 0 0;font-size:var(--fs-small,13px);line-height:1.6;color:var(--prose)}
@media(max-width:760px){.ob1-mks{grid-template-columns:1fr}}

/* ---------- 1-1 一行对一行、保单 */
.ob1-pr-h{display:grid;grid-template-columns:1fr 24px 1fr;gap:8px;margin-bottom:6px;font-size:var(--fs-small,13px);font-weight:600;color:var(--text)}
.ob1-pr-h span{display:flex;align-items:center;gap:6px}
.ob1-pr-h .ob1-ic{color:var(--accent)}
.ob1-pr ul{list-style:none;margin:0;padding:0}
.ob1-pr li{display:grid;grid-template-columns:1fr 24px 1fr;gap:8px;align-items:center;margin:0;padding:8px 0;border-top:1px solid var(--line)}
.ob1-pr li>i{font-style:normal;text-align:center;color:var(--accent)}
.ob1-pr b{display:block;font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-pr small{display:block;font-size:var(--fs-small,13px);line-height:1.5;color:var(--sub)}
.ob1-pol{padding:12px 14px;border:1.5px dashed var(--accent-line);border-radius:var(--r-sm,10px);background:var(--card2)}
.ob1-pol-t{display:flex;align-items:center;gap:6px;margin:0 0 6px;font-weight:600;font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-pol-t .ob1-ic{color:var(--accent)}
.ob1-pol dl{margin:0}
.ob1-pol dl div{display:grid;grid-template-columns:7em 1fr;gap:10px;padding:7px 0;border-top:1px solid var(--line)}
.ob1-pol dt{font-size:var(--fs-small,13px);color:var(--sub)}
.ob1-pol dd{margin:0;font-size:var(--fs-aux,14px);line-height:1.65;color:var(--prose);font-variant-numeric:tabular-nums}
@media(max-width:560px){.ob1-pol dl div{grid-template-columns:1fr;gap:2px}}

/* ---------- 插画（楼花、收购价、票） */
.ob1-scenes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ob1-scene{display:flex;flex-direction:column}
.ob1-art{display:flex;justify-content:center;padding:6px 0;border-radius:var(--r-sm,10px);background:var(--card2);border:1px solid var(--line)}
.ob1-a{display:block;width:100%;max-width:340px;height:auto;font-family:inherit;overflow:visible}
.ob1-scene-t{margin:10px 0 4px;font-weight:600;font-size:var(--fs-ui,15px);color:var(--text)}
.ob1-scene-l{list-style:none;margin:0;padding:0}
.ob1-scene-l li{margin:0;padding:5px 0;border-top:1px solid var(--line);font-size:var(--fs-small,13px);line-height:1.6;color:var(--prose)}
.ob1-scene-l b{display:block;font-size:var(--fs-tiny,12px);color:var(--sub);font-weight:600}
@media(max-width:640px){.ob1-scenes{grid-template-columns:1fr}}
:is(.ob1-a,.ob1-ends) text{font-size:13px;fill:var(--sub)}
.ob1-ends text{font-size:14px}
:is(.ob1-a,.ob1-ends) .ob1-a-tt{font-size:15px;font-weight:600;fill:var(--text)}
:is(.ob1-a,.ob1-ends) .ob1-a-t{font-size:13px;fill:var(--sub)}
:is(.ob1-a,.ob1-ends) .ob1-a-big{font-size:20px;font-weight:600;fill:var(--accent)}
:is(.ob1-a,.ob1-ends) .ob1-a-acc{font-size:13px;font-weight:600;fill:var(--accent)}
.ob1-ends .ob1-a-acc,.ob1-ends .ob1-a-wt{font-size:14px}
.ob1-ends .ob1-a-tt{font-size:16px}
:is(.ob1-a,.ob1-ends) .ob1-a-wt{font-size:13px;font-weight:600;fill:var(--warn)}
.ob1-a-ground{stroke:var(--line2);stroke-width:1.4;fill:none}
.ob1-a-line{stroke:var(--sub);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ob1-a-dash{stroke:var(--mute);stroke-width:1.4;stroke-dasharray:4 4;fill:none}
.ob1-a-win{fill:var(--raise2);stroke:var(--line2)}
.ob1-a-card{fill:var(--accent-soft);stroke:var(--accent-line);stroke-width:1.4}
.ob1-a-perf{stroke:var(--accent-line);stroke-width:1.2;stroke-dasharray:4 4;fill:none}
.ob1-a-mkt{stroke:var(--text);stroke-width:2;fill:none;stroke-linejoin:round;stroke-linecap:round}
.ob1-a-floor{stroke:var(--accent);stroke-width:2.2;stroke-dasharray:7 4;fill:none}
.ob1-a-gap{stroke:var(--accent);stroke-width:1.4;fill:none}
.ob1-a-flow{stroke:var(--accent);stroke-width:2;fill:none}
.ob1-a-head{stroke:var(--accent);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ob1-a-dhead{stroke:var(--mute);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ob1-a-warn{fill:var(--warn-soft);stroke:var(--warn-line);stroke-width:1.2}
.ob1-a-on{fill:var(--accent);stroke:var(--accent)}
.ob1-a-off{fill:none;stroke:var(--line3);stroke-width:1.2}

/* ---------- 1-2 三种叫法 */
.ob1-wg{display:grid;border:1px solid var(--line2);border-radius:var(--r-sm,10px);overflow:hidden}
.ob1-wg-h,.ob1-wg-r{display:grid;grid-template-columns:1.2fr .9fr 1fr 1fr;gap:8px;padding:9px 12px;align-items:baseline}
.ob1-wg-h{background:var(--raise2);font-size:var(--fs-tiny,12px);color:var(--sub);font-weight:600}
.ob1-wg-r{border-top:1px solid var(--line);font-size:var(--fs-aux,14px);color:var(--prose)}
.ob1-wg-r b{color:var(--text)}
@media(max-width:480px){.ob1-wg-h,.ob1-wg-r{grid-template-columns:1.25fr .7fr 1fr;padding:8px 10px}.ob1-wg-h span:last-child,.ob1-wg-r span:last-child{grid-column:1/-1;color:var(--sub);font-size:var(--fs-small,13px)}.ob1-wg-h span:last-child{display:none}}

/* ---------- 1-4 到期日日历 */
.ob1-cal{display:grid;gap:4px}
.ob1-cal-hd,.ob1-cal-w{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.ob1-cal-hd span{text-align:center;font-size:var(--fs-tiny,12px);color:var(--sub)}
.ob1-cal-c{min-height:52px;padding:5px 6px;border:1px solid var(--line);border-radius:6px;background:var(--card);display:flex;flex-direction:column;gap:2px}
.ob1-cal-c b{font-size:var(--fs-tiny,12px);font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.ob1-cal-c em{font-style:normal;font-size:var(--fs-tiny);line-height:1.3;color:var(--accent)}
.ob1-cal-c.is-month{border-color:var(--accent-line);background:var(--accent-soft2)}
.ob1-cal-c.is-closed{background:var(--raise2);border-style:dashed}
.ob1-cal-c.is-closed b,.ob1-cal-c.is-closed em{color:var(--mute)}
.ob1-cal-c.is-out{border:0;background:none}
.ob1-dots{display:flex;gap:4px;min-height:10px}
.ob1-dot-etf,.ob1-dot-stk,.ob1-sq-month{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
.ob1-dot-etf{background:var(--accent)}
.ob1-dot-stk{border:2px solid var(--info);box-sizing:border-box}
.ob1-sq-month{border-radius:2px;background:var(--accent-soft2);border:1px solid var(--accent-line)}
.ob1-cal-lg{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:10px;font-size:var(--fs-small,13px);color:var(--sub)}
.ob1-cal-lg span{display:inline-flex;align-items:center;gap:6px}
@media(max-width:420px){.ob1-cal-c{padding:4px;min-height:48px}.ob1-cal-c b{font-size:var(--fs-tiny);white-space:normal;overflow-wrap:anywhere;line-height:1.25}.ob1-cal-c em{font-size:var(--fs-tiny)}}

/* ---------- 说明表（手机上每行一张小卡） */
.ob1-kv-wrap{border:1px solid var(--line2);border-radius:var(--r-sm,10px);overflow:hidden}
.ob1-kv{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--fs-small,13px)}
.ob1-kv thead th:first-child{width:8em}
.ob1-kv th,.ob1-kv td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.6}
.ob1-kv thead th{background:var(--raise2);font-size:var(--fs-tiny,12px);color:var(--sub);font-weight:600}
.ob1-kv tbody th{color:var(--text);font-weight:600;white-space:nowrap}
.ob1-kv td{color:var(--prose)}
.ob1-kv tbody tr:last-child th,.ob1-kv tbody tr:last-child td{border-bottom:0}
.ob1-kv tbody tr.is-hi th{color:var(--accent)}
@media(max-width:620px){
  .ob1-kv thead{display:none}
  .ob1-kv,.ob1-kv tbody,.ob1-kv tr,.ob1-kv th,.ob1-kv td{display:block;width:auto}
  .ob1-kv tr{padding:8px 12px;border-bottom:1px solid var(--line)}
  .ob1-kv tbody tr:last-child{border-bottom:0}
  .ob1-kv th,.ob1-kv td{padding:2px 0;border:0}
  .ob1-kv tbody th{font-size:var(--fs-aux,14px);padding-bottom:4px}
  .ob1-kv td{display:grid;grid-template-columns:6.5em 1fr;gap:8px}
  .ob1-kv td::before{content:attr(data-label);color:var(--sub);font-size:var(--fs-tiny,12px);line-height:1.9}
}

/* ---------- 1-5 涨跌横盘三种工具 */
.ob1-tt-wrap{border:1px solid var(--line2);border-radius:var(--r-sm,10px);overflow:hidden}
.ob1-tt{width:100%;border-collapse:collapse;table-layout:fixed;font-size:var(--fs-aux,14px)}
.ob1-tt th,.ob1-tt td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:center;vertical-align:top}
.ob1-tt thead th{background:var(--raise2);font-size:var(--fs-small,13px);color:var(--sub);font-weight:600}
.ob1-tt thead th:first-child,.ob1-tt tbody th{text-align:left;width:34%}
.ob1-tt thead .ob1-ic{display:block;margin:0 auto 2px;width:20px;height:20px;color:var(--text)}
.ob1-tt tbody th{color:var(--text);font-weight:600;line-height:1.5}
.ob1-tt tbody tr:last-child th,.ob1-tt tbody tr:last-child td{border-bottom:0}
.ob1-tt td .ob1-ic{width:20px;height:20px}
.ob1-tt td.ob1-ok .ob1-ic{color:var(--ok)}
.ob1-tt td.ob1-nok .ob1-ic{color:var(--mute)}
.ob1-tt td small{display:block;margin-top:4px;font-size:var(--fs-tiny,12px);line-height:1.5;color:var(--sub);text-align:left}

/* ---------- 1-5 SPY 走势和四个人 */
.oc-svg .ob1-kt{fill:var(--sub)}
.oc-svg .ob1-pt{fill:var(--text);stroke:var(--card);stroke-width:1.5}
.oc-svg .ob1-pt-t{fill:var(--text);font-weight:600}
.ob1-seats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ob1-seat{padding:12px;border:1px solid var(--line2);border-radius:var(--r-sm,10px);background:var(--card)}
.ob1-seat-h{display:flex;align-items:center;gap:6px;color:var(--text)}
.ob1-seat-h .ob1-ic{width:20px;height:20px;color:var(--accent)}
.ob1-bubble{position:relative;margin:8px 0 6px;padding:7px 10px;border-radius:10px;background:var(--accent-soft2);font-size:var(--fs-aux,14px);color:var(--text)}
.ob1-how{margin:0 0 6px;font-size:var(--fs-small,13px);line-height:1.6;color:var(--prose)}
.ob1-seat dl{margin:0}
.ob1-seat dl div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px solid var(--line);font-size:var(--fs-small,13px)}
.ob1-seat dt{color:var(--sub)}
.ob1-seat dd{margin:0;color:var(--text);font-variant-numeric:tabular-nums;text-align:right}
@media(max-width:640px){.ob1-seats{grid-template-columns:1fr}}
.ob1-mt td{text-align:right}
.oc-tbl.ob1-mt thead th{white-space:normal;vertical-align:bottom}
.oc-tbl.ob1-mt td:last-child{min-width:0;white-space:nowrap}
.oc-tbl.ob1-mt thead th:not(:first-child){text-align:right}
.ob1-seats+.oc-note{margin-top:12px}
