/* Ridgeline — Care */
.rating { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; color: var(--ink); font-weight: 600; }
.rating .icon { color: #E8A33D; fill: #E8A33D; width: 14px; height: 14px; }
.credit { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.credit__n { font-size: 48px; min-width: 40px; text-align: center; color: var(--pine-text); }
.prov { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; align-items: start; }
.prov__img { width: 96px; height: 120px; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.prov__b { min-width: 0; }
.nextv .btn { pointer-events: none; }

.dstrip { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad); }
.dchip { flex: none; width: 56px; padding: 10px 0; border-radius: 16px; display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.dchip b { font-size: 20px; color: var(--ink); letter-spacing: -.03em; }
.dchip[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.dchip[aria-selected="true"] b { color: var(--bg); }
.dchip[disabled] { opacity: .38; pointer-events: none; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { min-height: 46px; border-radius: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); font-variant-numeric: tabular-nums; transition: all .15s; }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }

.preview { position: relative; height: 260px; border-radius: var(--r-xl); overflow: hidden; background: var(--bg-2); }
.preview__me { position: absolute; inset: 0; }
.preview__tag { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.55); color: #fff; box-shadow: none; }

/* video room */
.room { position: relative; height: 100%; background: #000; color: #fff; overflow: hidden; }
.room__remote { position: absolute; inset: 0; }
.room__remote .photo { transform: scale(1.18); transform-origin: 50% 30%; }
.room__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 62%, rgba(0,0,0,.7) 100%); }
.room__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: calc(16px + env(safe-area-inset-top)) var(--pad) 0; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF4D3D; margin-right: 6px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.room__me { position: absolute; right: 16px; bottom: 128px; width: 104px; height: 148px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 8px 24px rgba(0,0,0,.5); transition: opacity .2s; background: #222; }
.room__ctl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 14px; padding: 0 var(--pad) calc(26px + env(safe-area-inset-bottom)); }
.rbtn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); color: #fff; transition: background-color .15s, transform .12s; }
.rbtn:active { transform: scale(.92); }
.rbtn[aria-pressed="true"] { background: #fff; color: #111; }
.rbtn--end { background: #E5392B; width: 68px; border-radius: 28px; }

/* chat */
.chat { height: 100%; display: flex; flex-direction: column; background: var(--bg); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; box-shadow: 0 1px 0 var(--line); }
.chat__body { flex: 1; overflow-y: auto; padding: 14px var(--pad); display: flex; flex-direction: column; gap: 8px; }
.chat__day { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); margin: 8px 0; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; line-height: 1.4; font-size: 15.5px; position: relative; }
.bubble span { display: block; font-size: 11px; opacity: .6; margin-top: 3px; }
.bubble--me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.bubble--them { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.bubble--sys { align-self: stretch; max-width: 100%; background: var(--warn-soft); color: var(--ink); border-radius: 16px; font-size: 14.5px; }
.typing { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: tdot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { opacity: .4; } }
.chat__in { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); background: var(--bg); }
.chat__in .input { min-height: 48px; border-radius: 24px; }
.send { background: var(--accent); color: var(--on-accent); box-shadow: none; width: 48px; height: 48px; flex: none; }
.chat__lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--line); }
