openvibers/openvibe.shared room.css
room.css
| 1 | /* openvibe-shared/room.css — the room kit's look (4.29.1; before, in kit.css): a room's accent (rooms.js), kit.card and |
| 2 | * kit.rail. A page that shows cards or rails, or wears a room's accent (sc.room() does all three), loads it after |
| 3 | * kit.css, or alone on a front page that draws only cards, rails and a numbers strip (it carries the tokens and the |
| 4 | * strip since 4.39.1); pages that use only the kit's controls do not pay for it. */ |
| 5 | |
| 6 | /* ── The kit's tokens and its numbers strip, the same as kit.css's (4.39.1): a front page that loads room.css without |
| 7 | * kit.css (cards, rails and a kit.stats strip, nothing else) still has them. Identical copies, so loading both files |
| 8 | * changes nothing (the tokens are :where(:root), so kit.css's and a site's own values always win); |
| 9 | * test/room-kit.test.js keeps them identical. ── */ |
| 10 | :where(:root) { |
| 11 | --ovk-bg: var(--bg-primary, #0b0f17); |
| 12 | --ovk-panel: var(--bg-card, var(--bg-secondary, #121826)); |
| 13 | --ovk-panel-2: var(--bg-hover, var(--bg-tertiary, #1a2233)); |
| 14 | --ovk-input: var(--bg-input, var(--bg-tertiary, #0f1522)); |
| 15 | --ovk-line: var(--border, rgba(255, 255, 255, .1)); |
| 16 | --ovk-text: var(--text-primary, #e8ecf3); |
| 17 | --ovk-muted: var(--text-muted, var(--text-secondary, #93a0b4)); |
| 18 | --ovk-accent: var(--accent, #3b82f6); |
| 19 | --ovk-fill: var(--accent-strong, var(--accent, #3b82f6)); |
| 20 | --ovk-on-fill: var(--on-accent-strong, var(--on-accent, #fff)); |
| 21 | --ovk-ok: var(--success, #22c55e); |
| 22 | --ovk-warn: var(--warning, #f59e0b); |
| 23 | --ovk-bad: var(--danger, var(--error, #ef4444)); |
| 24 | /* Status in words (4.83.0): a theme's -text status colours are its readable ones; the fills above are for shapes. On |
| 25 | * a light theme the fill green or amber on white was about 2:1 (openvibe.design/kit's "paid" and "expiring"). */ |
| 26 | --ovk-ok-text: var(--success-text, var(--ovk-ok)); |
| 27 | --ovk-warn-text: var(--warning-text, var(--ovk-warn)); |
| 28 | --ovk-bad-text: var(--danger-text, var(--ovk-bad)); |
| 29 | --ovk-live: color-mix(in srgb, var(--live-red, #ef4444) 80%, #000); /* a badge fill under white text: 5.5:1 on #ef4444's 80%, 3.8:1 bare */ |
| 30 | /* Shape and elevation (4.81.0, plan L45 step 2): the kit's corners and shadows as tokens a look can set, so a theme |
| 31 | * has a shape as well as colours. The defaults are the kit's own corners and shadows; the personalities follow. */ |
| 32 | --ov-radius-1: 10px; /* chips, inputs, rows, small buttons */ |
| 33 | --ov-radius-2: 14px; /* cards, sections, panels */ |
| 34 | --ov-radius-3: 20px; /* sheets, dialogs, big surfaces */ |
| 35 | --ov-elev-1: 0 1px 3px rgba(0, 0, 0, .35); /* a knob, a chip that sits on its surface */ |
| 36 | --ov-elev-2: 0 10px 24px -18px rgba(0, 0, 0, .7); /* a bar that has scrolled content under it */ |
| 37 | --ov-elev-3: 0 14px 32px rgba(0, 0, 0, .4); /* a menu or popover above the page */ |
| 38 | /* Motion (4.82.0): the same tokens ov-fx.js has always set, here so every page's var(--ov-dur-*) resolves and the |
| 39 | * person's Reduced motion reaches every transition that uses them, not only pages with effects. */ |
| 40 | --ov-dur-1: .12s; |
| 41 | --ov-dur-2: .2s; |
| 42 | --ov-dur-3: .32s; |
| 43 | --ov-dur-4: .52s; |
| 44 | --ov-ease-out: cubic-bezier(.2, .8, .2, 1); |
| 45 | --ov-ease-spring: cubic-bezier(.34, 1.56, .64, 1); |
| 46 | --ov-ease-in-out: cubic-bezier(.65, 0, .35, 1); |
| 47 | --ovk-radius: var(--ov-radius-2); |
| 48 | --ovk-radius-sm: var(--ov-radius-1); |
| 49 | --ovk-tap: 44px; |
| 50 | --ovk-top: var(--ovnav-real-h, 52px); /* the navbar's height: sticky things stop under it */ |
| 51 | --ovk-bottom: var(--ovb-dock, var(--ovnav-appbar-h, 0px)); /* the app bar (and a small player above it) on phones, measured by bottom.js */ |
| 52 | --ovk-font: var(--ov-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif); |
| 53 | } |
| 54 | /* Shape personalities, as in kit.css but at zero specificity (plan L45: "Paper is quiet and square, Neon glows and bounces"). A quiet look has square corners |
| 55 | * and lies flat, with a hairline where a shadow would be; a loud one is round and its raised things glow in its accent. |
| 56 | * The ids are Network's theme catalog (as ov-fx.js's motion feels); any other look keeps the defaults above. */ |
| 57 | :where([data-theme=paper], [data-theme=solarized-light], [data-theme=nord], [data-theme=nord-light], [data-theme=matrix], [data-theme=hacker], [data-theme=high-contrast]) { |
| 58 | --ov-radius-1: 4px; --ov-radius-2: 6px; --ov-radius-3: 10px; |
| 59 | --ov-elev-1: 0 0 0 1px var(--ovk-line); |
| 60 | --ov-elev-2: 0 1px 0 var(--ovk-line); |
| 61 | --ov-elev-3: 0 0 0 1px var(--ovk-line), 0 8px 18px -12px rgba(0, 0, 0, .35); |
| 62 | } |
| 63 | :where([data-theme=neon-tokyo], [data-theme=vapor]) { |
| 64 | --ov-radius-1: 14px; --ov-radius-2: 20px; --ov-radius-3: 28px; |
| 65 | --ov-elev-1: 0 0 8px color-mix(in srgb, var(--ovk-accent) 40%, transparent); |
| 66 | --ov-elev-2: 0 10px 28px -14px color-mix(in srgb, var(--ovk-accent) 55%, transparent); |
| 67 | --ov-elev-3: 0 0 0 1px color-mix(in srgb, var(--ovk-accent) 40%, transparent), 0 18px 44px -14px color-mix(in srgb, var(--ovk-accent) 55%, transparent); |
| 68 | } |
| 69 | .ovk-stats { position: relative; display: flex; gap: 8px; margin: 12px -16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; } |
| 70 | .ovk-stats::-webkit-scrollbar { display: none; } |
| 71 | .ovk-stats > div { display: flex; flex-direction: column-reverse; flex: 0 0 auto; min-width: 104px; box-sizing: border-box; padding: 8px 14px; border: 1px solid var(--ovk-line); border-radius: calc(var(--ov-radius-1) + 2px); background: var(--ovk-panel); } |
| 72 | .ovk-stats dt { margin: 0; color: var(--ovk-muted); font-size: .76rem; line-height: 1.25; } |
| 73 | .ovk-stats dt a { color: inherit; text-decoration: none; } |
| 74 | .ovk-stat--link { position: relative; transition: border-color .15s; } |
| 75 | .ovk-stat--link dt a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } |
| 76 | .ovk-stat--link:hover { border-color: var(--ovk-accent); } |
| 77 | .ovk-stat--link dt a:focus-visible { outline: none; } |
| 78 | .ovk-stat--link:focus-within { outline: 2px solid var(--ovk-accent); outline-offset: -2px; } |
| 79 | .ovk-stats dd { margin: 0; color: var(--ovk-text); font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; } |
| 80 | @media (min-width: 600px) { |
| 81 | .ovk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-left: 0; margin-right: 0; padding: 0; overflow: visible; } |
| 82 | } |
| 83 | |
| 84 | /* ── Rooms (rooms.js): the room's accent in the theme's mode. rooms.style(id) sets --room-dark/--room-light on .ov-room; |
| 85 | * without them the theme's accent stays. --room-accent: icons, outlines, motifs; --room-strong: text on the page (a |
| 86 | * quarter of the theme's text mixed in, so it stays at 4.5:1 on the room's tinted chips: the bare accent was 3.9-4.4:1); |
| 87 | * --room-fill and --room-on: a filled button and its text (dark text on a dark theme's bright fill, white on light). ── */ |
| 88 | .ov-room { --room-accent: var(--ovk-accent); --room-strong: color-mix(in srgb, var(--ovk-accent) 75%, var(--ovk-text)); --room-fill: var(--ovk-fill); --room-on: var(--ovk-on-fill); } |
| 89 | /* 44 px to the touch (4.113.0, the phone sweep of 11-06): a room's own links (a brand, a place) were 40.6 px tall. */ |
| 90 | @media (pointer: coarse) { .ov-room > a { min-height: 44px; display: inline-flex; align-items: center; } } |
| 91 | .ov-room[style*="--room-dark"] { --room-accent: var(--room-dark); --room-strong: color-mix(in srgb, var(--room-dark) 75%, var(--ovk-text)); --room-fill: var(--room-dark); --room-on: #0b0d12; } |
| 92 | :root[data-theme-mode="light"] .ov-room[style*="--room-light"] { --room-accent: var(--room-light); --room-strong: color-mix(in srgb, var(--room-light) 75%, var(--ovk-text)); --room-fill: var(--room-light); --room-on: #fff; } |
| 93 | |
| 94 | /* ── Cards (kit.card): one card for every kind of thing ── */ |
| 95 | .ovk-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--ovk-text); } |
| 96 | .ovk-card-media { position: relative; display: block; aspect-ratio: var(--ovk-ar, 16/9); border-radius: var(--ovk-radius); overflow: hidden; background: var(--ovk-panel-2); isolation: isolate; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ovk-line) 70%, transparent) inset; } |
| 97 | .ovk-card-media > img, .ovk-card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } |
| 98 | .ovk-card-media > img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); } |
| 99 | .ovk-card-video { opacity: 0; transition: opacity .25s; } |
| 100 | .ovk-card.is-playing .ovk-card-video { opacity: 1; } |
| 101 | .ovk-card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--room-accent, var(--ovk-accent)); background: radial-gradient(120% 90% at 28% 18%, color-mix(in srgb, var(--room-accent, var(--ovk-accent)) 24%, transparent), transparent 72%), var(--ovk-panel-2); } |
| 102 | .ovk-card-noimg .ovk-i { width: 30%; max-width: 60px; height: auto; aspect-ratio: 1; stroke-width: 1.5; } |
| 103 | /* No picture but a person (2026-11-01): their face, large, over a soft blur of it, not a lone icon in an empty box. */ |
| 104 | .ovk-card-noimg--who { overflow: hidden; } |
| 105 | /* A day as the cover (kit.card({ date })): the month in the accent, the day large, the weekday quiet. */ |
| 106 | .ovk-card-noimg--date { container-type: inline-size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding-bottom: 8%; line-height: 1; font-variant-numeric: tabular-nums; } |
| 107 | .ovk-card-date-m { font-size: clamp(11px, 6cqi, 15px); font-weight: 750; letter-spacing: .12em; text-transform: uppercase; } |
| 108 | .ovk-card-date-d { margin: 4px 0 0; font-size: clamp(30px, 23cqi, 64px); font-weight: 800; letter-spacing: -.03em; color: var(--ovk-text, var(--text-primary, #e6edf7)); } |
| 109 | .ovk-card-date-w { font-weight: 650; color: var(--ovk-muted, var(--text-muted, #8b97ab)); } |
| 110 | .ovk-card-noimg--who .ovk-card-noimg-bg { position: absolute; inset: -15%; width: 130%; height: 130%; object-fit: cover; filter: blur(24px) saturate(1.15); opacity: .5; } |
| 111 | .ovk-card-noimg--who .ovk-card-noimg-face { position: relative; width: 28%; max-width: 88px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ovk-panel, #111a2c) 70%, transparent), 0 10px 28px rgb(0 0 0 / .28); } |
| 112 | .ovk-card-badge { position: absolute; top: 8px; left: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .74); color: #fff; font: 800 11.5px/1.5 var(--ovk-font); letter-spacing: .04em; } |
| 113 | .ovk-card-badge.is-live { background: #d4202b; } |
| 114 | .ovk-card-badge.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ovk-pulse 1.6s ease-in-out infinite; } |
| 115 | @keyframes ovk-pulse { 50% { opacity: .35; } } |
| 116 | .ovk-card-corner { position: absolute; right: 8px; bottom: 8px; z-index: 1; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .78); color: #fff; font: 700 12px/1.4 var(--ovk-font); font-variant-numeric: tabular-nums; transition: opacity .25s; } |
| 117 | .ovk-card-peek { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 34px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); color: #fff; font-size: 12.5px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s cubic-bezier(.2, .7, .2, 1); pointer-events: none; } |
| 118 | .ovk-card-body { display: flex; gap: 10px; align-items: flex-start; min-width: 0; } |
| 119 | .ovk-card-body > .ovk-mark { flex: none; } |
| 120 | .ovk-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } |
| 121 | .ovk-card .ovk-card-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; } |
| 122 | .ovk-card-link { color: inherit; text-decoration: none; transition: color .2s; } |
| 123 | .ovk-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--ovk-radius); } |
| 124 | .ovk-card-link:focus-visible { outline: none; } |
| 125 | .ovk-card-link:focus-visible::after { outline: 2px solid var(--room-accent, var(--ovk-accent)); outline-offset: 3px; } |
| 126 | .ovk-card-meta { margin: 0; display: flex; flex-wrap: wrap; color: var(--ovk-muted); font-size: 13px; line-height: 1.45; min-width: 0; } |
| 127 | .ovk-card-meta > * + *::before { content: "·"; margin: 0 6px; } |
| 128 | .ovk-card-sub { margin: 0; overflow: hidden; color: var(--text-secondary, var(--ovk-muted)); font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; } |
| 129 | /* preview: a text thing's first lines in its media, fading out at the bottom. */ |
| 130 | .ovk-card-pre { position: absolute; inset: 0; margin: 0; padding: 12px 14px; overflow: hidden; color: var(--ovk-text); background: var(--ovk-panel-2); font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); } |
| 131 | .ovk-card-who { font-weight: 600; color: var(--text-secondary, var(--ovk-muted)); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 132 | .ovk-card .ovk-more { position: relative; z-index: 2; margin: -6px -8px 0 0; } |
| 133 | @media (hover: hover) { |
| 134 | .ovk-card:hover .ovk-card-media > img, .ovk-card:focus-within .ovk-card-media > img { transform: scale(1.05); } |
| 135 | .ovk-card:hover .ovk-card-peek, .ovk-card:focus-within .ovk-card-peek { opacity: 1; transform: none; } |
| 136 | .ovk-card:hover .ovk-card-corner:has(~ .ovk-card-peek), .ovk-card:focus-within .ovk-card-corner:has(~ .ovk-card-peek) { opacity: 0; } |
| 137 | .ovk-card:hover .ovk-card-link { color: var(--room-strong, var(--ovk-accent)); } |
| 138 | .ovk-card .ovk-more:not([open]) > summary { opacity: 0; transition: opacity .15s; } |
| 139 | .ovk-card:hover .ovk-more > summary, .ovk-card:focus-within .ovk-more > summary { opacity: 1; } |
| 140 | } |
| 141 | |
| 142 | /* ── Rails (kit.rail): a row that scrolls sideways and snaps ── */ |
| 143 | .ovk-rail { margin: 26px 0 0; min-width: 0; --ovk-rail-bleed: 0px; } |
| 144 | .ovk-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; } |
| 145 | .ovk-rail-head.ovk-rail-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; } |
| 146 | .ovk-rail-more { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; color: var(--room-strong, var(--ovk-accent)); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; } |
| 147 | .ovk-rail-more:hover { text-decoration: underline; } |
| 148 | @media (pointer: coarse), (max-width: 759px) { .ovk-rail-more { min-height: 44px; } } |
| 149 | .ovk-rail-wrap { position: relative; } |
| 150 | .ovk-rail-track { list-style: none; margin: 0 calc(-1 * var(--ovk-rail-bleed)); padding: 2px var(--ovk-rail-bleed) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--ovk-rail-w); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--ovk-rail-bleed); overscroll-behavior-x: contain; scrollbar-width: none; } |
| 151 | .ovk-rail-track::-webkit-scrollbar { display: none; } |
| 152 | .ovk-rail-track > li { scroll-snap-align: start; min-width: 0; } |
| 153 | .ovk-rail--m { --ovk-rail-w: min(80%, 320px); } |
| 154 | .ovk-rail--s { --ovk-rail-w: min(44%, 200px); } |
| 155 | .ovk-rail--l { --ovk-rail-w: min(86%, 440px); } |
| 156 | .ovk-rail-btn { position: absolute; top: 34%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ovk-line); background: var(--ovk-panel); color: var(--ovk-text); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); cursor: pointer; font-size: 18px; } |
| 157 | .ovk-rail-btn:hover { border-color: var(--room-accent, var(--ovk-accent)); color: var(--room-strong, var(--ovk-accent)); } |
| 158 | .ovk-rail-btn:focus-visible { outline: 2px solid var(--room-accent, var(--ovk-accent)); outline-offset: 2px; } |
| 159 | .ovk-rail-btn[hidden] { display: none; } |
| 160 | .ovk-rail-prev { left: 6px; } |
| 161 | .ovk-rail-next { right: 6px; } |
| 162 | .ovk-pop.is-fixed { position: fixed; right: auto; top: auto; } |
| 163 | /* In the top layer (kit-web.js): the browser's popover defaults (centred, its own colours) give way to the menu's own. */ |
| 164 | .ovk-pop.is-fixed[popover] { inset: auto; margin: 0; color: inherit; overflow: visible; } |
| 165 | |
| 166 | @media (max-width: 599px) { |
| 167 | .ovk-rail { --ovk-rail-bleed: 16px; } |
| 168 | .ovk-rail-btn { display: none; } |
| 169 | } |
| 170 | @media (min-width: 600px) { |
| 171 | .ovk-rail--m { --ovk-rail-w: 280px; } .ovk-rail--s { --ovk-rail-w: 190px; } .ovk-rail--l { --ovk-rail-w: 400px; } |
| 172 | } |
| 173 | /* rail({ wrap: true }): phones swipe; from 760 px every item shows in a grid, so a mouse needs no arrows. */ |
| 174 | @media (min-width: 760px) { |
| 175 | .ovk-rail--wrap .ovk-rail-track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(var(--ovk-rail-min, 220px), 1fr)); overflow: visible; margin: 0; padding: 2px 0 10px; } |
| 176 | .ovk-rail--wrap.ovk-rail--s { --ovk-rail-min: 160px; } |
| 177 | .ovk-rail--wrap.ovk-rail--l { --ovk-rail-min: 320px; } |
| 178 | .ovk-rail--wrap .ovk-rail-btn { display: none; } |
| 179 | } |
| 180 | |
| 181 | /* ── sc.room(): a room's front door (moved from showcase.css in 4.29.2, so product homes that never draw a room do not |
| 182 | * load it) ── */ |
| 183 | /* Rooms (4.28.0): sc.room() — a room's hero, live proof, motif and scenes, in the room's accent (.ov-room in kit.css: |
| 184 | --room-accent, --room-strong, --room-fill, --room-on). */ |
| 185 | .sc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0} |
| 186 | :where(.sc-room) .ovk-i{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round} |
| 187 | .sc-room-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(20px,4vw,48px);align-items:center;padding:clamp(20px,5vw,56px) 0 clamp(4px,2vw,16px)} |
| 188 | .sc-room-hero h1{margin:0;font-size:clamp(2.05rem,5.4vw,3.5rem);font-weight:800;letter-spacing:-.035em;line-height:1.04;text-wrap:balance} |
| 189 | .sc-room-lede{margin:14px 0 0;max-width:560px;font-size:clamp(1rem,1.6vw,1.13rem);line-height:1.55;color:var(--text-secondary,#96a7c2)} |
| 190 | .sc-room-box{display:flex;align-items:center;margin-top:22px;max-width:560px;border-radius:999px;background:var(--bg-card,#0f1729);border:1.5px solid color-mix(in srgb,var(--room-accent,#3b82f6) 45%,var(--border,#1f2d47));box-shadow:0 12px 32px -14px color-mix(in srgb,var(--room-accent,#3b82f6) 55%,transparent);transition:border-color .2s,box-shadow .2s} |
| 191 | .sc-room-box:focus-within{border-color:var(--room-accent,#3b82f6);box-shadow:0 0 0 4px color-mix(in srgb,var(--room-accent,#3b82f6) 22%,transparent),0 12px 32px -14px color-mix(in srgb,var(--room-accent,#3b82f6) 60%,transparent)} |
| 192 | .sc-room-box input{flex:1;min-width:0;height:56px;padding:0 8px 0 22px;border:0;background:transparent;color:var(--text-primary,#e6edf7);font:inherit;font-size:1.05rem;outline:none} |
| 193 | .sc-room-box input::placeholder{color:var(--text-muted,#7386a3);opacity:1} |
| 194 | .sc-room-box input::-webkit-search-cancel-button{display:none} |
| 195 | .sc-room-box button{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-right:6px;border:0;border-radius:50%;background:var(--room-fill,#3b82f6);color:var(--room-on,#fff);cursor:pointer;font-size:20px;transition:transform .18s} |
| 196 | .sc-room-box button:hover{transform:translateX(2px)} |
| 197 | .sc-room-box button:focus-visible{outline:2px solid var(--room-accent,#3b82f6);outline-offset:3px} |
| 198 | .sc-room-start{background:var(--room-fill,#3b82f6);color:var(--room-on,#fff);border-color:transparent} |
| 199 | .sc-room-chips{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap} |
| 200 | .sc-room-chips a{display:inline-flex;align-items:center;min-height:38px;padding:0 15px;border-radius:999px;border:1px solid var(--border,#1f2d47);background:color-mix(in srgb,var(--room-accent,#3b82f6) 7%,var(--bg-card,#0f1729));color:var(--text-primary,#e6edf7);font-size:.9rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:border-color .15s,color .15s} |
| 201 | .sc-room-chips a:hover,.sc-room-chips a:focus-visible{border-color:var(--room-accent,#3b82f6);color:var(--room-strong,#60a5fa);outline:0} |
| 202 | .sc-room-proof{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin:22px 0 0;padding:0;font-size:.92rem;color:var(--text-secondary,#96a7c2)} |
| 203 | .sc-room-proof li{display:inline-flex;align-items:baseline;gap:6px} |
| 204 | .sc-room-proof b{color:var(--text-primary,#e6edf7);font-size:1.18rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.01em} |
| 205 | .sc-room-proof em{font-style:normal;font-size:.7rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted,#7386a3)} |
| 206 | .sc-room-proof .sc-room-live{display:inline-flex;align-items:center;gap:4px;color:var(--room-strong,#60a5fa)} |
| 207 | .sc-room-live::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;animation:sc-breathe 2s ease-in-out infinite} |
| 208 | .sc-room-pic{display:flex;justify-content:center;min-width:0} |
| 209 | .sc-room-motif{position:relative;width:min(100%,340px);aspect-ratio:1;color:var(--room-accent,#3b82f6)} |
| 210 | .sc-rm-glow{position:absolute;inset:20%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--room-accent,#3b82f6) 48%,transparent),transparent);filter:blur(10px);animation:sc-breathe 6s ease-in-out infinite} |
| 211 | .sc-rm-orbit{position:absolute;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--room-accent,#3b82f6) 32%,transparent)} |
| 212 | .sc-rm-orbit.o1{inset:15%} |
| 213 | .sc-rm-orbit.o2{inset:1%;border-style:dashed;animation-duration:52s;animation-direction:reverse;opacity:.7} |
| 214 | .sc-rm-orbit i{position:absolute;top:-6px;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:currentColor;box-shadow:0 0 18px currentColor} |
| 215 | .sc-rm-orbit.o2 i:nth-child(2){top:auto;bottom:12%;left:-5px;width:9px;height:9px;opacity:.75} |
| 216 | .sc-rm-core{position:absolute;inset:33%;display:grid;place-items:center;border-radius:30%;background:color-mix(in srgb,var(--room-accent,#3b82f6) 14%,var(--bg-card,#0f1729));border:1px solid color-mix(in srgb,var(--room-accent,#3b82f6) 42%,transparent);box-shadow:0 22px 52px -18px color-mix(in srgb,var(--room-accent,#3b82f6) 75%,transparent)} |
| 217 | .sc-rm-core .ovk-i{width:48%;height:48%;stroke-width:1.6} |
| 218 | .sc-room .ovk-rail{margin-top:clamp(26px,4vw,40px)} |
| 219 | .sc-room-scenes{display:flex;flex-direction:column;gap:clamp(32px,6vw,76px);margin-top:clamp(40px,6vw,80px)} |
| 220 | .sc-scene{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(18px,4vw,52px);align-items:center} |
| 221 | .sc-scene.is-flip .sc-scene-text{order:2} |
| 222 | .sc-scene-text h2{margin:0 0 8px;font-size:clamp(1.3rem,2.6vw,1.8rem);letter-spacing:-.02em;line-height:1.2;text-wrap:balance} |
| 223 | .sc-scene-text p{margin:0;color:var(--text-secondary,#96a7c2);line-height:1.6;max-width:460px} |
| 224 | .sc-scene-go{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin-top:10px;color:var(--room-strong,#60a5fa);font-weight:700;text-decoration:none} |
| 225 | .sc-scene-go:hover{text-decoration:underline} |
| 226 | .sc-scene-stage{position:relative;min-width:0;border-radius:20px;padding:clamp(14px,2.4vw,24px);background:radial-gradient(120% 80% at 85% 0%,color-mix(in srgb,var(--room-accent,#3b82f6) 16%,transparent),transparent 62%),var(--bg-card,#0f1729);border:1px solid var(--border,#1f2d47);box-shadow:0 30px 60px -32px rgba(0,0,0,.55);overflow:hidden} |
| 227 | .sc-room-devlinks{margin:12px 0 0;font-size:.9rem;color:var(--text-muted,#7386a3)} |
| 228 | .sc-room-devlinks a{color:var(--room-strong,#60a5fa);font-weight:700} |
| 229 | html.ov-motion [data-ov-reveal]{opacity:0;transform:translateY(calc(18px * var(--ov-move,1)));transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)} |
| 230 | html.ov-motion [data-ov-reveal].is-in{opacity:1;transform:none} |
| 231 | @media (max-width:759px){ |
| 232 | .sc-room-hero{grid-template-columns:minmax(0,1fr);margin-inline:-16px;padding-inline:16px;overflow-x:clip} |
| 233 | .sc-room-pic{position:absolute;z-index:-1;top:-4px;right:-30px;width:168px;opacity:.28;pointer-events:none} |
| 234 | /* 4.107.3: a site's own picture (anything but the default motif) is a sample card of words and numbers more often than a |
| 235 | backdrop: behind the hero's text it ran through the headline (Report, Domains, Surf, Shoes, Tours on 11-03). On a phone |
| 236 | it sits below the hero, whole; the default motif stays a faint backdrop. */ |
| 237 | .sc-room-pic:not(:has(> .sc-room-motif)){position:static;z-index:auto;width:auto;opacity:1;margin-top:24px;pointer-events:auto} |
| 238 | .sc-scene,.sc-scene.is-flip{grid-template-columns:minmax(0,1fr)}.sc-scene.is-flip .sc-scene-text{order:0} |
| 239 | } |
| 240 | @media (max-width:599px){.sc-room-chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:-16px;padding:2px 16px;scrollbar-width:none}.sc-room-chips::-webkit-scrollbar{display:none}.sc-room-box input{height:52px;padding-left:18px}} |
| 241 | html[data-ov-motion=off].ov-motion [data-ov-reveal]{opacity:1;transform:none} |
| 242 | |
| 243 | /* Sideways strips say they scroll (kit-web.js sets the classes): the edge fades where more is hidden. */ |
| 244 | :where(.ovk-rail-track, [data-ovk-scroll]) { --ovk-fade: 28px; } |
| 245 | :where(.ovk-rail-track, [data-ovk-scroll]).is-more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--ovk-fade)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--ovk-fade)), transparent); } |
| 246 | :where(.ovk-rail-track, [data-ovk-scroll]).is-more-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--ovk-fade)); mask-image: linear-gradient(90deg, transparent, #000 var(--ovk-fade)); } |
| 247 | :where(.ovk-rail-track, [data-ovk-scroll]).is-more-start.is-more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--ovk-fade), #000 calc(100% - var(--ovk-fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--ovk-fade), #000 calc(100% - var(--ovk-fade)), transparent); } |
| 248 | [data-ovk-scroll] { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; } |
| 249 | [data-ovk-scroll]::-webkit-scrollbar { display: none; } |
| 250 | .ovk-scroll-bar { display: block; width: 56px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: color-mix(in srgb, var(--text-primary, #e6edf7) 12%, transparent); overflow: hidden; } |
| 251 | .ovk-scroll-bar[hidden] { display: none; } |
| 252 | .ovk-scroll-bar > i { display: block; height: 100%; border-radius: 4px; background: var(--accent, #3b82f6); transition: transform .12s linear; } |
| 253 |