/* Right now (flag right_now): the where page, the ideas list, the Tonight strip
   on Home and the + menu in the group chat. Tokens only, so themes and dark
   mode reach every colour. */

.rn-page { display: flex; flex-direction: column; gap: 14px; }
.rn-head .r-lead a { color: var(--link); font-weight: 700; }

/* Where are you */
.rn-geo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rn-geo[hidden] { display: none; }
.rn-search { display: flex; gap: 8px; }
.rn-search input { flex: 1; min-width: 0; min-height: 52px; border-radius: 26px; padding: 0 20px; }
.rn-search button { flex: none; min-height: 52px; padding: 0 20px; border-radius: 26px; }
.rn-sugg { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.rn-sugg:empty { display: none; }
.rn-sugg li + li { border-top: 1px solid var(--line); }
.rn-sugg a { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 52px; padding: 8px 4px; color: var(--text) !important; text-decoration: none; }
.rn-sugg-name { font-weight: 700; }
.rn-sugg-detail { font-size: 14px; color: var(--muted); }
.rn-recent[hidden], .rn-geo-status[hidden] { display: none; }
.rn-none { margin: 0; }

/* With, filters */
.rn-with { display: flex; flex-direction: column; gap: 8px; }
.rn-who-list { display: flex; gap: 10px; margin: 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rn-who { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; max-width: 84px; color: var(--text) !important; text-decoration: none; font-size: 13px; font-weight: 700; text-align: center; }
.rn-who span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.rn-who .r-gmark, .rn-who-me { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 3px solid transparent; box-sizing: border-box; }
.rn-who-me { display: flex; align-items: center; justify-content: center; background: var(--card); color: var(--link); }
.rn-who.is-on .r-gmark, .rn-who.is-on .rn-who-me { border-color: var(--pink); }
.rn-who.is-on { color: var(--link) !important; }
.rn-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rn-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text) !important; font-size: 15px; font-weight: 700; text-decoration: none; }
.rn-chip.is-on { background: var(--pink); border-color: var(--pink); color: var(--on-pink) !important; }

/* Far and empty */
.rn-far { margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--warn-bg); color: var(--warn-fg); font-weight: 700; }
.rn-farline { margin: 0; font-weight: 700; color: var(--muted); }
.rn-empty { margin: 0; padding: 16px; border-radius: 16px; background: var(--card); font-weight: 700; }

/* Idea cards */
.rn-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rn-card { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.rn-photo { position: relative; height: 150px; background: var(--tile); overflow: hidden; }
.rn-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn-g0 { background: linear-gradient(135deg, var(--plum), var(--pink)); }
.rn-g1 { background: linear-gradient(135deg, var(--orange), var(--f2-bg)); }
.rn-g2 { background: linear-gradient(135deg, var(--navy), var(--powder)); }
.rn-g3 { background: linear-gradient(135deg, var(--ok-fg), var(--ok-bg)); }
.rn-g4 { background: linear-gradient(135deg, var(--link), var(--card)); }
.rn-g5 { background: linear-gradient(135deg, var(--info-fg), var(--info-bg)); }
.rn-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--link); font-size: 12px; font-weight: 800; }
.rn-badge.is-starts { background: var(--pink); color: var(--on-pink); }
.rn-body { padding: 12px 16px 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rn-title { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.rn-where { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.rn-price { font-size: 14px; font-weight: 700; }
.rn-times { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.rn-times li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.rn-further { align-self: stretch; text-align: center; }
.rn-acts { display: flex; flex-direction: column; gap: 8px; padding: 10px 16px 16px; }
.rn-acts form { margin: 0; }
.rn-acts .button, .rn-acts button { width: 100%; justify-content: center; }
.rn-another { align-self: center; padding: 8px 0 24px; color: var(--link) !important; font-weight: 700; }

/* Tonight strip on Home */
.rn-strip { display: flex; gap: 12px; margin: 0; padding: 2px 0 8px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.rn-strip > li { flex: none; width: 200px; scroll-snap-align: start; }
.rn-tcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text) !important; text-decoration: none; }
.rn-tcard .rn-photo { height: 104px; }
.rn-tcard .rn-badge { top: 8px; left: 8px; font-size: 11px; }
.rn-tbody { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.rn-ttitle { font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.rn-tsub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.rn-tmore { align-items: center; justify-content: center; min-height: 100%; background: var(--card); font-weight: 800; color: var(--link) !important; text-align: center; padding: 12px; }

/* + menu in the group chat: opens upward, left of the message box */
.rn-compose { display: flex; align-items: flex-end; flex: none; border-top: 1px solid var(--line); background: var(--bg); padding-left: 20px; }
.r .rn-compose .chat-form { flex: 1; min-width: 0; border-top: 0; padding-left: 8px; }
.rn-plus { position: relative; flex: none; padding-bottom: 12px; }
.rn-plus > summary { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; list-style: none; cursor: pointer; background: var(--card); color: var(--link); }
.rn-plus > summary::-webkit-details-marker { display: none; }
.rn-plus > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rn-plus .rs-menu-list { top: auto; bottom: 60px; left: 0; right: auto; }
.rn-plus[open] > summary { background: var(--pink); color: var(--on-pink); }
.rs-menu.rn-plus { position: relative; top: auto; right: auto; }
