/* EVERY12 BUILD12h: Ryder, the BRO guide (ryder12h.js). App tokens (app.css). The bug box stays bottom-left; Ryder sits right. */
.ry-face { position: fixed; z-index: 45; right: 14px; bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; padding: 4px; border-radius: 999px; border: 2px solid var(--gold); background: var(--surface); color: var(--text); box-shadow: var(--shadow), var(--glow); cursor: pointer; font: 600 0.95rem var(--sans); }
.ry-face img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; display: block; background: #000; }
.ry-face__l { display: none; padding-right: 12px; }
.ry-face:hover { border-color: var(--gold-hi); }
.ry-face.ry-hello { animation: ryHello 1.6s ease-in-out 2; }
@keyframes ryHello { 50% { box-shadow: var(--shadow), 0 0 0 8px var(--gold-soft); } }
@media (prefers-reduced-motion: reduce) { .ry-face.ry-hello { animation: none; } }
@media (min-width: 900px) { .ry-face { right: 24px; bottom: 24px; } .ry-face__l { display: inline; } }
.ry-open .ry-face { display: none; }
@media (min-width: 900px) { .ry-open .ry-face { display: inline-flex; opacity: 0; pointer-events: none; } }

.ry-drawer { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column; background: var(--surface); color: var(--text); border: 1px solid var(--line2); border-bottom: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.5); padding-bottom: env(safe-area-inset-bottom); }
.ry-drawer[hidden] { display: none; }
@media (min-width: 900px) { .ry-drawer { left: auto; right: 24px; bottom: 24px; width: 410px; height: min(680px, calc(100vh - 110px)); max-height: none; border-radius: 22px; border-bottom: 1px solid var(--line2); } }
.ry-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--hair); }
.ry-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 1px solid var(--line); background: #000; }
.ry-head h2 { margin: 0; font-size: 1.2rem; }
.ry-head p { margin: 0; font-size: 0.8125rem; color: var(--text2); }
.ry-head > div { flex: 1; min-width: 0; }
.ry-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ry-x:hover { border-color: var(--gold-hi); }
.ry-log { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ry-msg { max-width: 92%; border-radius: 16px; padding: 10px 14px; font-size: 0.95rem; overflow-wrap: anywhere; }
.ry-msg p { margin: 0 0 6px; } .ry-msg p:last-child { margin-bottom: 0; }
.ry-msg ul, .ry-msg ol { margin: 4px 0 6px; padding-left: 20px; }
.ry-bro { align-self: flex-start; background: var(--surface3); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ry-me { align-self: flex-end; background: var(--gold-soft); border: 1px solid var(--line2); border-bottom-right-radius: 6px; }
.ry-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ry-acts .btn { min-height: 44px; }
.ry-meta { font-size: 0.8125rem; color: var(--text2); }
.ry-wait { display: flex; align-items: center; gap: 8px; }
.ry-steps { margin: 6px 0 0; padding-left: 20px; }
.ry-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; border-top: 1px solid var(--hair); scrollbar-width: thin; }
.ry-chips .chip { flex: none; white-space: nowrap; }
.ry-form { display: flex; gap: 8px; align-items: flex-end; padding: 8px 16px 6px; }
.ry-form textarea { flex: 1; min-height: 48px; max-height: 140px; resize: none; }
.ry-send { min-height: 48px; }
.ry-fine { margin: 0; padding: 2px 16px 12px; font-size: 0.75rem; color: var(--text2); }
.ry-ts:empty { display: none; }
.ry-ts { padding: 0 16px; }

/* the tour */
.ry-ring { position: fixed; z-index: 70; border-radius: 16px; box-shadow: 0 0 0 3px var(--gold-hi), 0 0 0 9999px rgba(3,5,9,.62); pointer-events: none; transition: all .3s ease; }
@media (prefers-reduced-motion: reduce) { .ry-ring { transition: none; } }
.ry-tour { position: fixed; z-index: 71; background: var(--surface); color: var(--text); border: 1px solid var(--line2); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); outline: none; }
.ry-tour__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ry-tour__top img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #000; }
.ry-count { font-size: 0.8125rem; color: var(--text2); }
.ry-tour h2 { font-size: 1.2rem; margin: 0 0 4px; }
.ry-tour p { margin: 0; color: var(--text2); font-size: 0.95rem; }
.ry-prog { height: 4px; border-radius: 4px; background: var(--surface3); margin: 12px 0 4px; overflow: hidden; }
.ry-bar { display: block; height: 100%; width: 0; background: var(--gold); }
.ry-tour .ry-acts { justify-content: flex-end; }

/* BUILD12e: the guide on bro.com's own pages (no app.css there): the app's dark black-and-gold tokens and button looks, scoped. */
.ry-site { --bg: #070B12; --bg2: #0B111C; --surface: #101826; --surface2: #182233; --surface3: #212D42; --line: rgba(212,168,75,.34); --line2: rgba(212,168,75,.6); --hair: rgba(243,238,228,.12);
  --text: #F3EEE4; --text2: #CFC9BE; --gold: #D4A84B; --gold-hi: #F5D98A; --gold-text: #E6BF6A; --on-gold: #14100A; --gold-soft: rgba(212,168,75,.14);
  --gold-btn: linear-gradient(180deg, #F6D27A, #E0AD48 50%, #C48E2F); --shadow: 0 24px 80px rgba(0,0,0,.45); --nav-h: 68px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  font: 16px/1.5 var(--sans); color-scheme: dark; z-index: 2147482000; text-align: left; }
.ry-site h2 { font-family: var(--display); font-weight: 600; letter-spacing: .005em; color: var(--text); }
.ry-site a { color: var(--gold-text); }
.ry-site .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 600 0.9rem var(--sans); cursor: pointer; }
.ry-site .btn-sm { padding: 0 14px; }
.ry-site .btn-gold { background: var(--gold-btn); color: var(--on-gold); border-color: transparent; }
.ry-site .btn:disabled { opacity: .55; cursor: default; }
.ry-site .chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line2); background: var(--gold-soft); color: var(--text); font: 600 0.875rem var(--sans); cursor: pointer; }
.ry-site textarea { width: 100%; font: 1rem var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; }
.ry-site .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ry-site .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; display: inline-block; animation: rySpin .8s linear infinite; }
@keyframes rySpin { to { transform: rotate(360deg); } }
.ry-site :focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-hi); }
@media (min-width: 900px) { .ry-drawer.ry-site { top: 84px; bottom: auto; height: min(680px, calc(100vh - 110px)); } }