/* Online dating lesson. All rules scoped under .odt-* */
.odt-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.odt-note { font-size: 12.5px; color: var(--faint); text-align: center; max-width: 330px; }

/* how couples met */
.odt-year { font: 800 34px var(--sans); color: var(--text); font-variant-numeric: tabular-nums; line-height: 1; transition: color .3s; }
.odt-rows { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 340px; }
.odt-row { display: flex; flex-direction: column; gap: 4px; }
.odt-rl { display: flex; justify-content: space-between; font: 700 13.5px var(--sans); color: var(--dim); }
.odt-rl b { font: 800 16px var(--sans); font-variant-numeric: tabular-nums; }
.odt-friends .odt-rl b { color: var(--gold); }
.odt-online .odt-rl b { color: var(--violet-bright); }
.odt-hearts { display: flex; flex-wrap: nowrap; gap: 3px; min-height: 22px; }
.odt-hearts i { width: 20px; height: 20px; display: block; transition: opacity .3s, scale .3s; }
.odt-hearts i svg { width: 100%; height: 100%; display: block; }
.odt-friends .odt-hearts i { color: var(--gold); }
.odt-online .odt-hearts i { color: var(--violet-bright); }
.odt-hearts i.out { opacity: 0; scale: .3; }
.odt-hearts i.new { animation: odtPop .35s cubic-bezier(.2,.8,.2,1.4) both; }
@keyframes odtPop { from { opacity: 0; scale: .2; } }

/* the crowd */
.odt-crowd { position: relative; display: grid; grid-template-columns: repeat(6, 46px); gap: 8px; justify-content: center; }
.odt-p { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--raised); border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: border-color .3s, box-shadow .3s, scale .3s; }
.odt-p svg { width: 30px; height: 30px; }
.odt-p .odt-n { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font: 800 12px var(--sans); color: var(--dim); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; font-variant-numeric: tabular-nums; }
.odt-crowd.counted .odt-n { opacity: 1; }
.odt-p.hot { border-color: var(--gold); box-shadow: 0 0 14px rgba(252,192,80,.5); scale: 1.1; }
.odt-p.hot .odt-n { background: var(--gold); color: #17130D; border-color: var(--gold); }
.odt-env { position: absolute; left: 0; top: 0; width: 12px; height: 9px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 6px rgba(252,192,80,.6); pointer-events: none; z-index: 3; }

/* her inbox */
.odt-phone { width: 190px; padding: 14px 14px 18px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line-strong); box-shadow: 0 0 10px rgba(123,92,253,.25); margin: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.odt-phone small { font: 700 12px var(--sans); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.odt-phone b { font: 800 46px var(--sans); color: var(--gold); line-height: 1.05; font-variant-numeric: tabular-nums; }
.odt-phone span { font: 600 13px var(--sans); color: var(--dim); text-align: center; }
.odt-bubbles { position: relative; width: 100%; height: 54px; overflow: hidden; }
.odt-bubbles i { position: absolute; left: 50%; bottom: 0; width: 56px; height: 14px; margin-left: -28px; border-radius: 7px; background: var(--raised); border: 1px solid var(--line-strong); animation: odtUp .9s ease-out forwards; }
@keyframes odtUp { from { translate: 0 20px; opacity: 0; } 30% { opacity: 1; } to { translate: 0 -60px; opacity: 0; } }

/* the ladder */
.odt-lrow { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 100%; max-width: 352px; }
.odt-lp { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; }
.odt-av { width: 38px; height: 38px; border-radius: 50%; background: var(--raised); border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.odt-av svg { width: 26px; height: 26px; }
.odt-lp.me .odt-av { border-color: var(--gold); box-shadow: 0 0 10px rgba(252,192,80,.45); }
.odt-ln { min-height: 16px; font: 800 12.5px var(--sans); color: var(--gold); }
.odt-stack { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; height: 150px; justify-content: flex-start; }
.odt-se { display: block; width: 18px; height: 6px; border-radius: 2px; background: var(--violet-bright); animation: odtPop .25s ease-out both; }
.odt-se.mine, .odt-env.mine { background: var(--gold); }
.odt-lrow .odt-env { background: var(--violet-bright); box-shadow: none; }
.odt-lrow .odt-env.mine { background: var(--gold); }
.odt-axis { display: flex; justify-content: space-between; width: 100%; max-width: 340px; font: 700 12.5px var(--sans); color: var(--dim); border-top: 1px solid var(--line-strong); padding-top: 4px; }

@media (max-height: 700px) {
  .odt-year { font-size: 28px; }
  .odt-hearts i { width: 17px; height: 17px; }
  .odt-crowd { grid-template-columns: repeat(6, 40px); gap: 6px; }
  .odt-p { width: 40px; height: 40px; }
  .odt-p svg { width: 26px; height: 26px; }
  .odt-phone b { font-size: 38px; }
  .odt-bubbles { height: 40px; }
  .odt-stack { height: 112px; gap: 2px; }
  .odt-se { height: 5px; }
  .odt-av { width: 34px; height: 34px; }
}
