.profile-guide,
.profile-guide * { box-sizing: border-box; }
.profile-guide[hidden] { display: none !important; }
.profile-guide { --guide-orange: #ff5722; --guide-ink: #f5f7f6; --guide-muted: #a7b6b5; position: fixed; z-index: 1800; inset: 0; display: grid; place-items: center; padding: 16px; color: var(--guide-ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; isolation: isolate; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, visibility 0s linear .24s; }
.profile-guide.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.profile-guide-launch { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(234,88,12,.2); border-radius: 13px; background: rgba(255,247,237,.86); color: #9a3412; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.profile-guide-launch:hover { background: #ffedd5; transform: translateY(-1px); }
.profile-guide-launch > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #ea580c; color: #fff; font-size: 9px; }
.profile-guide-launch--cover { position: absolute; z-index: 3; top: 16px; left: 16px; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(10,24,36,.16); backdrop-filter: blur(12px); }
.profile-mobile-hub-card--guide svg { color: #ea580c; }
.profile-guide__backdrop { position: absolute; inset: 0; border: 0; background: rgba(7, 16, 18, .82); backdrop-filter: blur(9px); }
.profile-guide__dialog { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(1420px, 100%); height: min(900px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 25px; background: #10201f; box-shadow: 0 32px 100px rgba(0,0,0,.5); }
.profile-guide__top { display: flex; min-height: 66px; align-items: center; gap: 16px; padding: 12px 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.profile-guide__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 850; white-space: nowrap; }
.profile-guide__brand i { color: #ff9b68; font-style: normal; }
.profile-guide__brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--guide-orange); color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 8px 26px rgba(255,87,34,.36); }
.profile-guide__demo-label { display: flex; align-items: center; gap: 9px; margin-left: auto; color: #afc0bc; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.profile-guide__demo-label i { width: 7px; height: 7px; border-radius: 50%; background: #87dfb9; box-shadow: 0 0 0 5px rgba(135,223,185,.12); }
.profile-guide__close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 25px; line-height: 1; }
.profile-guide button:focus-visible { outline: 3px solid #ffc3a1; outline-offset: 3px; }
.profile-guide__main { display: grid; min-height: 0; grid-template-columns: minmax(280px,.78fr) minmax(400px,1.22fr); gap: clamp(20px,4vw,58px); align-items: center; padding: 25px clamp(18px,4vw,54px); }
.profile-guide__copy { min-width: 0; max-width: 500px; }
.profile-guide__scene-meta { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; color: #ffad82; }
.profile-guide__scene-meta > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,150,92,.5); border-radius: 11px; background: rgba(255,107,43,.1); color: #ff9b68; font-size: 12px; font-weight: 900; }
.profile-guide__scene-meta small { font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.profile-guide__copy h2 { min-height: 2.16em; margin: 0 0 14px; color: #f6f8f7; font-size: clamp(32px,3.5vw,53px); font-weight: 850; letter-spacing: -.05em; line-height: 1.08; }
.profile-guide__copy h2 em { color: #ff6b2b; font-style: normal; }
.profile-guide__lead { min-height: 4.3em; max-width: 480px; margin: 0 0 17px; color: #c2d0cc; font-size: clamp(14px,1.1vw,16px); line-height: 1.58; }
.profile-guide__points { display: grid; min-height: 94px; align-content: start; gap: 9px; margin: 0; padding: 0; list-style: none; }
.profile-guide__points li { display: flex; align-items: flex-start; gap: 10px; color: #dce7e3; font-size: 12px; line-height: 1.42; animation: profile-guide-rise .38s both; }
.profile-guide__points li::before { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 5px; border-radius: 50%; background: var(--guide-orange); box-shadow: 0 0 0 4px rgba(255,107,43,.12); content: ""; }
.profile-guide__details-button { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; margin-top: 13px; padding: 0 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 11px; background: rgba(255,255,255,.07); color: #fff; font-size: 11px; font-weight: 750; }
.profile-guide__details-button:hover { background: rgba(255,255,255,.15); }
.profile-guide__visual { position: relative; min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: 0 18px 65px rgba(2,10,12,.46); }
.profile-guide__browser { display: flex; height: 27px; align-items: center; gap: 9px; padding: 0 4px 10px; color: #bacac6; }
.profile-guide__browser > span { display: flex; gap: 4px; }
.profile-guide__browser > span i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.42); }
.profile-guide__browser strong { overflow: hidden; flex: 1; color: #c6d2cf; font-size: 10px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__browser small { color: #ffae84; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.profile-guide__screen { position: relative; display: grid; height: clamp(360px,52vh,570px); place-items: center; overflow: hidden; border-radius: 13px; background: #e9eeec; }
.profile-guide__frame { position: relative; width: min(100%, calc(680px * var(--guide-ratio, 1.4))); max-height: 100%; aspect-ratio: var(--guide-ratio, 1.4); filter: drop-shadow(0 12px 20px rgba(16,32,31,.18)); }
.profile-guide__shot { display: block; width: 100%; height: 100%; border-radius: 9px; object-fit: contain; animation: profile-guide-image-in .55s both; }
.profile-guide__caption { display: flex; min-height: 23px; justify-content: space-between; gap: 12px; margin: 10px 3px 0; overflow: hidden; color: #a8bbb6; font-size: 10px; }
.profile-guide__caption span:last-child { color: #ffad82; text-align: right; }
.profile-guide__target { position: absolute; z-index: 15; top: var(--guide-y,50%); left: var(--guide-x,50%); width: 28px; height: 28px; transform: translate(-50%,-50%); border: 2px solid var(--guide-orange); border-radius: 50%; background: rgba(255,87,34,.18); box-shadow: 0 0 0 7px rgba(255,87,34,.18),0 0 0 16px rgba(255,87,34,.08); pointer-events: none; transition: top .45s ease,left .45s ease; }
.profile-guide__target-label { position: absolute; z-index: 16; top: var(--guide-y,50%); left: var(--guide-x,50%); max-width: 155px; transform: translate(14px,17px); padding: 6px 9px; border-radius: 8px; background: rgba(12,35,31,.92); color: white; font-size: 9px; font-weight: 800; line-height: 1.3; pointer-events: none; transition: top .45s ease,left .45s ease; }
.profile-guide__cursor { position: absolute; z-index: 20; top: var(--cursor-y,50%); left: var(--cursor-x,50%); width: 28px; height: 34px; opacity: 0; transform: translate(-2px,-2px); filter: drop-shadow(0 3px 4px rgba(0,0,0,.42)); pointer-events: none; transition: top .72s cubic-bezier(.2,.8,.2,1),left .72s cubic-bezier(.2,.8,.2,1),opacity .2s; }
.profile-guide__cursor.is-visible { opacity: 1; }
.profile-guide__cursor.is-clicking { transform: translate(-2px,-2px) scale(.78); }
.profile-guide__cursor svg { display: block; width: 100%; height: 100%; }
.profile-guide__explain { position: absolute; z-index: 18; right: 14px; bottom: 14px; left: 14px; padding: 12px 14px; border: 1px solid #e0e9e6; border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: 0 12px 35px rgba(15,38,37,.2); color: #24312e; animation: profile-guide-rise .4s both; }
.profile-guide__explain[hidden], .profile-guide__support-image[hidden], .profile-guide__demo-profile[hidden], .profile-guide__settings-preview[hidden], .profile-guide__folder-editor[hidden], .profile-guide__created-folder[hidden], .profile-guide__folder-picker[hidden], .profile-guide__quest-preview[hidden], .profile-guide__chat-name[hidden], .profile-guide__chat-message[hidden], .profile-guide__chat-compose[hidden], .profile-guide__saved-note[hidden] { display: none !important; }
.profile-guide__explain b { display: block; margin-bottom: 4px; color: #e9662b; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.profile-guide__explain strong { display: block; font-size: 14px; line-height: 1.2; }
.profile-guide__explain p { margin: 5px 0 0; color: #61716c; font-size: 10px; line-height: 1.4; }
.profile-guide__support-image { position: absolute; z-index: 13; top: 18px; right: 17px; width: min(28%,185px); border: 1px solid #dae7e1; border-radius: 9px; background: #fff; box-shadow: 0 8px 20px rgba(13,35,43,.24); animation: profile-guide-image-in .4s both; }
.profile-guide__bottom { padding: 12px 22px 15px; border-top: 1px solid rgba(255,255,255,.13); }
.profile-guide__timeline { display: flex; height: 35px; gap: 5px; align-items: stretch; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.profile-guide__timeline::-webkit-scrollbar { display: none; }
.profile-guide__chapter { position: relative; min-width: 0; flex: 1 0 58px; padding: 0; border: 0; background: none; color: #a9bab6; text-align: left; }
.profile-guide__chapter::before,.profile-guide__chapter i { position: absolute; top: 0; left: 0; height: 3px; border-radius: 4px; content: ""; }
.profile-guide__chapter::before { right: 0; background: rgba(255,255,255,.2); }
.profile-guide__chapter i { width: 0; background: var(--guide-orange); box-shadow: 0 0 9px rgba(255,107,43,.55); }
.profile-guide__chapter span { display: block; overflow: hidden; padding-top: 8px; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__chapter.is-current span { color: #fff; }
.profile-guide__controls { display: flex; align-items: center; gap: 8px; }
.profile-guide__controls button { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.08); color: #f8faf9; font-size: 12px; font-weight: 800; }
.profile-guide__controls button:hover { background: rgba(255,255,255,.17); }
.profile-guide__controls .profile-guide__play { min-width: 102px; border-color: var(--guide-orange); background: var(--guide-orange); }
.profile-guide__controls > span:not(.profile-guide__controls-space) { color: #aabbb7; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-guide__controls-space { flex: 1; }
.profile-guide__controls .profile-guide__finish { min-width: 66px; border-color: rgba(255,255,255,.1); color: #ffb08b; }
.profile-guide__drawer { position: absolute; z-index: 30; top: 0; right: 0; width: min(400px,100%); height: 100%; padding: 23px; overflow: auto; border-left: 1px solid rgba(255,255,255,.22); background: #132b29; box-shadow: -18px 0 55px rgba(0,0,0,.35); transform: translateX(102%); transition: transform .35s cubic-bezier(.22,.75,.21,1); }
.profile-guide__drawer.is-open { transform: translateX(0); }
.profile-guide__drawer-top { display: flex; align-items: center; justify-content: space-between; color: #ffad82; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.profile-guide__drawer-top button { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; }
.profile-guide__drawer h2 { margin: 23px 0 11px; color: #fff; font-size: 26px; line-height: 1.15; }
.profile-guide__drawer p { color: #d0dfda; font-size: 13px; line-height: 1.55; }
.profile-guide__drawer ul { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.profile-guide__drawer li { padding: 11px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.05); color: #d6e3de; font-size: 12px; line-height: 1.45; }
.profile-guide__drawer li::before { margin-right: 8px; color: var(--guide-orange); content: "•"; }

/* Anonymized sample: the underlying screenshot is an existing profile screen. */
.profile-guide__demo-profile { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.profile-guide__demo-cover { position: absolute; top: .8%; left: 1.6%; width: 95.4%; height: 24.9%; border-radius: 12px 12px 0 0; object-fit: cover; object-position: 50% 51%; }
.profile-guide__demo-cover-actions { position: absolute; top: 3.5%; right: 5%; display: flex; align-items: center; gap: 8px; color: white; font-size: 7px; font-weight: 800; text-shadow: 0 1px 4px #0008; }
.profile-guide__demo-cover-actions button { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; background: #101a1dcc; color: white; font-size: 12px; }
.profile-guide__demo-avatar { position: absolute; top: 10%; left: 4.2%; width: 12.1%; aspect-ratio: 1; border: 3px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 3px 10px #17212b38; }
.profile-guide__demo-identity { position: absolute; top: 13.1%; left: 17.7%; display: grid; width: 57%; min-height: 8.1%; align-content: center; gap: 2px; padding: 2px 4px; background: #fff; color: #172033; }
.profile-guide__demo-identity strong { overflow: hidden; font-size: clamp(8px,1.25vw,13px); font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__demo-identity span { overflow: hidden; color: #788391; font-size: clamp(5px,.68vw,8px); text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__demo-follow,.profile-guide__demo-message { position: absolute; top: 15.4%; z-index: 5; padding: 5px 9px; border: 1px solid #e1e4e9; border-radius: 8px; background: #fff; color: #253044; font-size: clamp(5px,.7vw,8px); font-weight: 850; white-space: nowrap; }
.profile-guide__demo-follow { right: 17%; }
.profile-guide__demo-message { right: 3%; }
.profile-guide__settings-preview { position: absolute; z-index: 8; inset: 4%; display: grid; grid-template-columns: 26% minmax(0,1fr); grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; border: 1px solid #e6e9ee; border-radius: 15px; background: #fff; color: #202b3b; box-shadow: 0 15px 45px #0d232b48; animation: profile-guide-image-in .38s both; }
.profile-guide__settings-preview[hidden] { display: none !important; }
.profile-guide__settings-preview > header { display: flex; grid-column: 1/-1; align-items: center; justify-content: space-between; padding: 3.5% 4%; border-bottom: 1px solid #edf0f4; }
.profile-guide__settings-preview > header div { display: grid; gap: 3px; }
.profile-guide__settings-preview > header small { color: #ff5722; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.profile-guide__settings-preview > header strong { font-size: clamp(13px,2vw,20px); font-weight: 900; }
.profile-guide__settings-preview > header button { width: 27px; height: 27px; border: 1px solid #e6e9ee; border-radius: 50%; background: #f8fafc; color: #708090; font-size: 18px; }
.profile-guide__settings-preview > nav { display: grid; align-content: start; gap: 6px; padding: 12% 8%; border-right: 1px solid #edf0f4; background: #f8fafc; color: #8a94a3; font-size: clamp(6px,.8vw,9px); }
.profile-guide__settings-preview > nav b { padding: 8px; border: 1px solid #e9edf1; border-radius: 8px; background: #fff; color: #253044; }
.profile-guide__settings-body { display: grid; align-content: start; gap: 7px; padding: 4% 5%; overflow: auto; }
.profile-guide__settings-body > p { margin: 0; padding: 7px 9px; border-radius: 9px; background: #fff7f2; color: #6b7280; font-size: clamp(7px,.85vw,10px); }
.profile-guide__photo-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.profile-guide__photo-settings button { display: grid; min-width: 0; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 7px; padding: 6px; border: 1px solid #edf0f4; border-radius: 9px; background: #fff; color: #4b5563; font-size: clamp(6px,.75vw,8px); font-weight: 800; text-align: left; }
.profile-guide__photo-settings button span { align-self: end; }
.profile-guide__photo-settings button small { align-self: start; color: #8b95a2; font-size: clamp(5px,.62vw,7px); font-weight: 600; }
.profile-guide__photo-settings button.is-selected { border-color: #ff9874; background: #fff7f2; }
.profile-guide__photo-settings img { width: 32px; height: 32px; grid-row: span 2; border-radius: 50%; object-fit: cover; }
.profile-guide__photo-settings img.is-selected { outline: 2px solid #ff5722; outline-offset: 2px; }
.profile-guide__photo-settings button:last-child img { width: 43px; flex-basis: 43px; border-radius: 7px; }
.profile-guide__settings-body label { display: grid; gap: 4px; color: #768397; font-size: clamp(7px,.8vw,9px); font-weight: 800; }
.profile-guide__settings-body input,.profile-guide__settings-body textarea { width: 100%; min-height: 30px; resize: none; border: 1px solid #e3e8ef; border-radius: 8px; outline: 0; padding: 7px 9px; color: #253044; background: #fafbfc; font: inherit; font-size: clamp(8px,1vw,11px); }
.profile-guide__settings-body .is-typing { border-color: #ff9b7f; box-shadow: 0 0 0 3px rgba(255,78,37,.1); }
.profile-guide__saved-note { color: #15835e; font-size: 8px; font-weight: 800; }
.profile-guide__settings-preview > footer { display: flex; grid-column: 1/-1; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 4%; border-top: 1px solid #edf0f4; background: #f8fafc; color: #8792a1; font-size: clamp(6px,.7vw,8px); }
.profile-guide__settings-preview > footer b { padding: 7px 11px; border-radius: 8px; background: #19212f; color: #fff; }
.profile-guide__folder-editor { position: absolute; z-index: 9; inset: 0; display: grid; place-items: center; padding: 8%; background: rgba(15,23,42,.32); }
.profile-guide__folder-editor .route-library-editor__dialog { width: min(82%,360px); }
.profile-guide__folder-form { padding: 15px 17px 18px; }
.profile-guide__folder-form label { display: grid; gap: 6px; color: #637084; font-size: 10px; font-weight: 850; }
.profile-guide__folder-form input { width: 100%; min-height: 40px; border: 1px solid #e6e9ee; border-radius: 11px; padding: 0 11px; color: #172033; font: inherit; font-size: 11px; }
.profile-guide__folder-form input.is-typing { border-color: #ff9b7f; box-shadow: 0 0 0 3px rgba(255,78,37,.1); }
.profile-guide__created-folder { position: absolute; z-index: 7; top: 52%; left: 2%; display: flex; width: 20%; min-height: 8%; align-items: center; gap: 5px; overflow: hidden; padding: 5px; border: 1px solid #ffd2c4; border-radius: 7px; background: #fff7f3; color: #9e351d; box-shadow: 0 5px 14px #17212b30; animation: profile-guide-rise .35s both; }
.profile-guide__created-folder span { font-size: 11px; }
.profile-guide__created-folder strong { overflow: hidden; font-size: clamp(5px,.7vw,8px); text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__created-folder small { display: none; }
.profile-guide__folder-picker { position: absolute; z-index: 10; inset: 0; display: grid; place-items: center; padding: 7%; background: rgba(15,23,42,.32); }
.profile-guide__folder-picker .route-folder-picker__dialog { width: min(88%,480px); max-height: 88%; border-radius: 15px; }
.profile-guide__folder-picker .route-folder-picker__header { min-height: auto; padding: 11px 14px; }
.profile-guide__folder-picker .route-folder-picker__heading h2 { margin: 3px 0; font-size: clamp(11px,1.5vw,16px); }
.profile-guide__folder-picker .route-folder-picker__heading p { margin: 0; font-size: clamp(7px,.8vw,9px); }
.profile-guide__folder-picker .route-folder-picker__toolbar { padding: 8px 14px; }
.profile-guide__folder-picker .route-folder-picker__toolbar strong { font-size: 9px; }
.profile-guide__folder-picker .route-folder-picker__toolbar span { font-size: 7px; }
.profile-guide__folder-picker .route-folder-picker__toolbar button { min-height: 29px; padding: 0 8px; font-size: 7px; }
.profile-guide__folder-picker .route-folder-picker__list { min-height: 54px; padding: 4px 14px; }
.profile-guide__folder-picker .route-folder-picker__row { min-height: 44px; margin: 0; }
.profile-guide__folder-picker .route-folder-picker__select { min-height: 40px; padding: 5px 8px; }
.profile-guide__folder-picker .route-folder-picker__folder-copy strong { font-size: 9px; }
.profile-guide__folder-picker .route-folder-picker__folder-copy small { font-size: 7px; }
.profile-guide__folder-picker .route-folder-picker__select i { width: 21px; height: 21px; border-radius: 6px; }
.profile-guide__folder-picker .route-folder-picker__footer { gap: 6px; padding: 8px 12px; }
.profile-guide__folder-picker .route-folder-picker__footer button { min-height: 33px; border-radius: 9px; font-size: 8px; }
.profile-guide__quest-preview { position: absolute; z-index: 7; right: 5%; bottom: 7%; display: grid; width: min(58%,330px); gap: 5px; padding: 11px 13px; border: 1px solid #e8ebef; border-radius: 13px; background: #fff; color: #253044; box-shadow: 0 10px 26px #0c202535; animation: profile-guide-rise .35s both; }
.profile-guide__quest-preview small { color: #e9662b; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.profile-guide__quest-preview strong { font-size: clamp(9px,1.2vw,13px); }
.profile-guide__quest-preview span { color: #7a8491; font-size: clamp(7px,.8vw,9px); }
.profile-guide__quest-preview b { color: #15835e; font-size: 8px; }
.profile-guide__chat-name { position: absolute; z-index: 6; top: 7%; left: 26%; display: grid; min-width: 34%; gap: 2px; padding: 3px 5px; background: #fff; color: #253044; }
.profile-guide__chat-name strong { font-size: clamp(7px,1vw,10px); }
.profile-guide__chat-name span { color: #919baa; font-size: clamp(5px,.65vw,7px); }
.profile-guide__chat-message { position: absolute; z-index: 7; right: 4%; bottom: 19%; width: 50%; padding: 8px 10px; border-radius: 11px 11px 2px 11px; background: #fff3ed; color: #263247; box-shadow: 0 3px 8px #1624341a; animation: profile-guide-rise .3s both; }
.profile-guide__chat-message span { font-size: clamp(6px,.78vw,9px); line-height: 1.4; }
.profile-guide__chat-compose { position: absolute; z-index: 7; right: 4%; bottom: 2%; left: 29%; display: flex; min-height: 7%; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 10px; border: 1px solid #ff9b7f; border-radius: 8px; background: #fff; color: #3d4858; box-shadow: 0 0 0 3px rgba(255,78,37,.1); }
.profile-guide__chat-compose span { overflow: hidden; font-size: clamp(6px,.78vw,9px); text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__chat-compose i { color: #ff5722; font-size: 12px; font-style: normal; }

.profile-guide__drawer[aria-hidden="true"] { visibility: hidden; }
body.profile-guide-open { overflow: hidden !important; }
@keyframes profile-guide-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes profile-guide-image-in { from { opacity: .2; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 850px) {
    .profile-guide { padding: 0; }
    .profile-guide__dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; grid-template-rows: auto minmax(0,1fr) auto; }
    .profile-guide__top { min-height: 58px; padding: max(8px,env(safe-area-inset-top)) 14px 8px; }
    .profile-guide__brand { font-size: 12px; }
    .profile-guide__brand-mark { width: 29px; height: 29px; }
    .profile-guide__demo-label { font-size: 8px; letter-spacing: .025em; }
    .profile-guide__close { width: 34px; height: 34px; flex-basis: 34px; }
    .profile-guide__main { position: relative; display: block; min-height: 0; padding: 0; overflow: hidden; }
    .profile-guide__visual { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .profile-guide__browser,.profile-guide__caption { display: none; }
    .profile-guide__screen { height: 100%; border-radius: 0; background: radial-gradient(ellipse at center 34%,#e9eeec 0,#263833 68%,#10201f 100%); }
    .profile-guide__frame { width: min(100%,calc(430px * var(--guide-ratio,1.4))); max-height: min(57%,460px); }
    .profile-guide__copy { position: absolute; z-index: 22; right: 12px; bottom: 10px; left: 12px; max-width: none; max-height: 43%; overflow: auto; padding: 15px 16px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 19px; background: linear-gradient(145deg,rgba(24,39,38,.97),rgba(15,29,29,.95)); box-shadow: 0 18px 45px rgba(0,0,0,.35); backdrop-filter: blur(15px); }
    .profile-guide__scene-meta { gap: 8px; margin-bottom: 8px; }
    .profile-guide__scene-meta > span { width: 27px; height: 27px; border-radius: 8px; font-size: 10px; }
    .profile-guide__scene-meta small { font-size: 8px; }
    .profile-guide__copy h2 { min-height: 0; margin-bottom: 7px; font-size: clamp(23px,7vw,31px); }
    .profile-guide__lead { min-height: 0; margin-bottom: 8px; font-size: 12px; line-height: 1.42; }
    .profile-guide__points { min-height: 0; gap: 5px; }
    .profile-guide__points li { gap: 8px; font-size: 10px; line-height: 1.3; }
    .profile-guide__points li:nth-child(n+3) { display: none; }
    .profile-guide__details-button { min-height: 32px; margin-top: 8px; padding: 0 10px; font-size: 9px; }
    .profile-guide__bottom { position: relative; z-index: 23; padding: 8px 12px max(10px,env(safe-area-inset-bottom)); background: #10201f; }
    .profile-guide__timeline { height: 5px; gap: 4px; margin-bottom: 10px; }
    .profile-guide__chapter { flex: 1 1 0; min-width: 0; }
    .profile-guide__chapter span,.profile-guide__controls > span:not(.profile-guide__controls-space) { display: none; }
    .profile-guide__controls { gap: 4px; }
    .profile-guide__controls button { min-width: 31px; height: 34px; padding: 0 6px; border-radius: 10px; font-size: 10px; }
    .profile-guide__controls .profile-guide__play { min-width: 69px; }
    .profile-guide__controls .profile-guide__finish { min-width: 50px; }
    .profile-guide__target-label { display: none; }
    .profile-guide__settings-preview { inset: 2%; border-radius: 12px; }
    .profile-guide__settings-preview > nav { padding: 8% 5%; }
    .profile-guide__settings-body { gap: 5px; padding: 3%; }
    .profile-guide__photo-settings button { gap: 4px; padding: 4px; }
    .profile-guide__photo-settings img { width: 24px; height: 24px; flex-basis: 24px; }
    .profile-guide__photo-settings button:last-child img { width: 33px; flex-basis: 33px; }
    .profile-guide__folder-editor { padding: 5%; }
    .profile-guide__created-folder { top: 51%; left: 1%; width: 22%; }
    .profile-guide__folder-picker { padding: 3%; }
    .profile-guide__folder-picker .route-folder-picker__dialog { width: 94%; }
    .profile-guide__quest-preview { right: 3%; bottom: 4%; width: 62%; padding: 8px 10px; }
    .profile-guide__drawer { top: auto; bottom: 0; width: 100%; height: min(72%,590px); padding: 18px; border: 0; border-top: 1px solid rgba(255,255,255,.22); border-radius: 22px 22px 0 0; transform: translateY(102%); }
    .profile-guide__drawer.is-open { transform: translateY(0); }
}
@media (max-width: 390px) {
    .profile-guide__demo-label { max-width: 80px; overflow: hidden; white-space: nowrap; }
    .profile-guide__main { padding: 0; }
    .profile-guide__copy { right: 8px; left: 8px; max-height: 45%; padding: 12px 13px; }
    .profile-guide__copy h2 { font-size: 22px; }
    .profile-guide__lead { font-size: 11px; }
    .profile-guide__points li { font-size: 9px; }
    .profile-guide__controls button { min-width: 29px; height: 34px; padding: 0 5px; font-size: 10px; }
    .profile-guide__controls .profile-guide__play { min-width: 65px; }
    .profile-guide__controls .profile-guide__finish { min-width: 47px; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-guide, .profile-guide *, .profile-guide *::before, .profile-guide *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* The guide uses the same warm accent and restrained surfaces as TrailTrack. */
.profile-guide {
    --guide-orange: #ff5722;
    --guide-ink: #14202d;
    --guide-muted: #637182;
    --guide-surface: #fff;
    --guide-soft: #f5f7f8;
    --guide-line: #e4e8ec;
    --guide-warm: #fff3eb;
    --guide-shadow: 0 24px 75px rgba(16, 30, 44, .15);
    color: var(--guide-ink);
}
.profile-guide [hidden] { display: none !important; }
.profile-guide__backdrop { background: rgba(9, 19, 30, .72); backdrop-filter: blur(13px); }
.profile-guide__dialog {
    width: min(1320px, 100%);
    height: min(840px, calc(100dvh - 32px));
    grid-template-columns: minmax(0, 1fr);
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 26px;
    background: var(--guide-surface);
    box-shadow: 0 35px 110px rgba(7,18,30,.34);
}
.profile-guide__top {
    display: flex;
    flex-direction: column;
    min-height: 86px;
    gap: 13px;
    padding: 17px 26px 12px;
    border-bottom: 1px solid var(--guide-line);
    background: var(--guide-surface);
}
.profile-guide__top-inner { display: flex; width: 100%; min-width: 0; align-items: center; gap: 18px; }
.profile-guide__brand { gap: 9px; min-width: 0; color: var(--guide-ink); font-size: 13px; font-weight: 700; }
.profile-guide__logo { display: block; width: min(178px, 100%); max-height: 30px; object-fit: contain; object-position: left center; }
.profile-guide__brand-mark { background: var(--guide-orange); }
.profile-guide__brand i { color: var(--guide-orange); }
.profile-guide__chapter-count { align-self: center; margin-left: auto; color: var(--guide-muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-guide__close {
    width: 42px; height: 42px; flex-basis: 42px;
    border: 1px solid var(--guide-line); border-radius: 13px;
    background: var(--guide-soft); color: var(--guide-ink); cursor: pointer;
}
.profile-guide__close:hover { border-color: #ffd1bf; background: var(--guide-warm); }
.profile-guide__top > .profile-guide__timeline { width: 100%; height: 25px; margin: 0; }
.profile-guide__chapter { flex-basis: 66px; min-height: 25px; color: var(--guide-muted); cursor: pointer; }
.profile-guide__chapter::before { background: #e4e8ec; }
.profile-guide__chapter i { box-shadow: none; }
.profile-guide__chapter span { padding-top: 7px; color: var(--guide-muted); font-size: 10px; }
.profile-guide__chapter.is-current span { color: var(--guide-ink); }
.profile-guide__main {
    grid-template-columns: minmax(280px,.82fr) minmax(400px,1.18fr);
    gap: clamp(22px,4vw,62px);
    padding: clamp(20px,3vw,42px) clamp(22px,4vw,60px);
    background: radial-gradient(circle at 100% 100%,rgba(255,87,34,.055),transparent 44%),var(--guide-surface);
}
.profile-guide__copy { max-width: 500px; }
.profile-guide__scene-meta { gap: 12px; margin-bottom: 19px; color: #c54b20; }
.profile-guide__scene-meta > span {
    width: 40px; height: 40px; border: 1px solid #ffd9c8; border-radius: 13px;
    background: var(--guide-warm); color: #c94b1d; font-size: 13px;
}
.profile-guide__scene-meta small { font-size: 11px; letter-spacing: .075em; }
.profile-guide__copy h2 { min-height: 0; margin-bottom: 19px; color: var(--guide-ink); font-size: clamp(34px,3.5vw,52px); font-weight: 750; letter-spacing: -.048em; }
.profile-guide__copy h2 em { color: var(--guide-orange); }
.profile-guide__copy h2 em:not(:empty)::before { content: " "; white-space: pre; }
.profile-guide__lead { min-height: 0; margin-bottom: 22px; color: #405064; font-size: clamp(15px,1.2vw,17px); line-height: 1.56; }
.profile-guide__points { min-height: 0; gap: 12px; }
.profile-guide__points li { color: var(--guide-muted); font-size: 14px; line-height: 1.48; }
.profile-guide__points li::before { margin-top: 7px; }
.profile-guide__details-button {
    min-height: 44px; margin-top: 25px; padding: 0 17px;
    border: 1px solid var(--guide-line); border-radius: 12px;
    background: var(--guide-surface); color: var(--guide-ink); font-size: 13px; font-weight: 650; cursor: pointer;
}
.profile-guide__details-button:hover { border-color: #ffc7b1; background: var(--guide-warm); }
.profile-guide__visual { padding: 10px; border: 1px solid var(--guide-line); border-radius: 23px; background: #fff; box-shadow: var(--guide-shadow); }
.profile-guide__browser,.profile-guide__caption { display: none; }
.profile-guide__screen { height: clamp(370px,57vh,590px); border-radius: 15px; background: #f0f3f5; }
.profile-guide__frame { filter: drop-shadow(0 13px 28px rgba(18,35,47,.14)); }
.profile-guide__shot { border-radius: 10px; }
.profile-guide__target-label { background: #172436; font-size: 11px; }
.profile-guide__explain { border-color: #e7eaed; color: #172336; }
.profile-guide__explain b { font-size: 10px; }
.profile-guide__explain strong { font-size: 15px; }
.profile-guide__explain p { color: #536273; font-size: 12px; }
.profile-guide__bottom { padding: 13px 26px 15px; border-top: 1px solid var(--guide-line); background: var(--guide-surface); }
.profile-guide__bottom > .profile-guide__timeline { display: none; }
.profile-guide__controls { gap: 10px; }
.profile-guide__controls button {
    min-width: 44px; height: 44px; padding: 0 13px;
    border: 1px solid var(--guide-line); border-radius: 12px;
    background: var(--guide-soft); color: var(--guide-ink); font-size: 13px; font-weight: 700; cursor: pointer;
}
.profile-guide__controls button:hover { border-color: #ffcab7; background: var(--guide-warm); }
.profile-guide__controls .profile-guide__play { min-width: 112px; border-color: var(--guide-orange); background: var(--guide-orange); color: #fff; }
.profile-guide__controls .profile-guide__play:hover { background: #e94b1b; color: #fff; }
.profile-guide__controls > span:not(.profile-guide__controls-space) { color: var(--guide-muted); font-size: 12px; }
.profile-guide__controls .profile-guide__finish { min-width: 75px; border-color: var(--guide-line); color: var(--guide-ink); }
.profile-guide__final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.profile-guide.is-finale .profile-guide__details-button { display: none; }
.profile-guide__final-cta {
    display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px;
    padding: 0 20px; border-radius: 12px; background: var(--guide-orange); color: #fff !important;
    font-size: 14px; font-weight: 750; text-decoration: none; box-shadow: 0 9px 22px rgba(255,87,34,.2);
}
.profile-guide__final-cta:hover { background: #e84d1e; text-decoration: none; }
.profile-guide__final-cta img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.profile-guide__final-actions > button { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--guide-muted); font-size: 13px; font-weight: 650; cursor: pointer; }
.profile-guide__details-button img { width: 16px; height: 16px; }
.profile-guide__controls button img { display: block; width: 18px; height: 18px; margin: auto; }
.profile-guide__close img { display: block; width: 19px; height: 19px; }
.profile-guide :is(button,a):focus-visible { outline: 3px solid #ff9e75; outline-offset: 3px; }
.profile-guide__drawer { border-color: var(--guide-line); background: var(--guide-surface); box-shadow: -18px 0 55px rgba(20,34,48,.16); }
.profile-guide__drawer-top { color: #bf4923; font-size: 11px; }
.profile-guide__drawer-top button { width: 42px; height: 42px; border-color: var(--guide-line); background: var(--guide-soft); color: var(--guide-ink); }
.profile-guide__drawer h2 { color: var(--guide-ink); }
.profile-guide__drawer p { color: #506073; font-size: 14px; }
.profile-guide__drawer li { border-color: var(--guide-line); background: var(--guide-soft); color: #405064; font-size: 13px; }

/* Live rewards and examples sit above the existing profile imagery. */
.profile-guide__reward-stage,
.profile-guide__xp-stage,
.profile-guide__conversation { position: absolute; z-index: 12; inset: 0; overflow: hidden; color: #182536; background: #f5f7f8; animation: profile-guide-image-in .38s both; }
.profile-guide__reward-stage { display: grid; place-items: center; padding: 5%; background: radial-gradient(circle at 85% 0,rgba(255,87,34,.13),transparent 42%),#f6f7f8; }
.profile-guide__reaction-card { display: grid; width: min(86%,450px); overflow: hidden; border: 1px solid #e7eaed; border-radius: 18px; background: #fff; box-shadow: 0 17px 38px rgba(19,36,49,.15); }
.profile-guide__reaction-card img.profile-guide__reaction-photo,
.profile-guide__reaction-photo { display: block; width: 100%; max-height: 210px; aspect-ratio: 1.7; object-fit: cover; }
.profile-guide__reaction-body { display: grid; gap: 7px; padding: 16px 18px; }
.profile-guide__reaction-body :is(h3,strong) { margin: 0; color: #172334; font-size: clamp(16px,1.45vw,20px); line-height: 1.25; }
.profile-guide__reaction-body :is(p,small,span) { margin: 0; color: #637082; font-size: 12px; line-height: 1.4; }
.profile-guide__reaction-body > small { color: #d65120; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.profile-guide__reaction-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; }
.profile-guide__reaction-bottom > span:first-child { color: #566678; font-size: 11px; }
.profile-guide__reaction-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; justify-self: start; padding: 0 16px; border: 1px solid #ffd3c1; border-radius: 10px; background: #fff3ec; color: #bb481f; font-size: 13px; font-weight: 750; }
.profile-guide__reaction-action { width: 42px; min-width: 42px; height: 42px; padding: 0; }
.profile-guide__reaction-action img { display: block; width: 19px; height: 19px; }
.profile-guide__reaction-action.is-active { border-color: var(--guide-orange); background: var(--guide-orange); color: #fff; }
.profile-guide__reaction-action.is-active img { filter: brightness(0) invert(1); }
.profile-guide__reward-toast { position: absolute; z-index: 13; right: 5%; bottom: 5%; display: flex; width: min(78%,370px); min-height: 69px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid rgba(255,87,34,.25); border-radius: 17px; background: rgba(255,255,255,.98); color: #172334; box-shadow: 0 14px 38px rgba(19,36,49,.2); animation: profile-guide-rise .4s both; }
.profile-guide__reward-portrait { position: relative; width: 45px; height: 45px; flex: 0 0 45px; }
.profile-guide__reward-portrait img { display: block; width: 45px; height: 45px; border: 2px solid #ffcfb9; border-radius: 50%; object-fit: cover; }
.profile-guide__reward-portrait span { position: absolute; right: -11px; bottom: -4px; min-width: 31px; padding: 2px 4px; border: 2px solid #fff; border-radius: 8px; background: var(--guide-orange); color: #fff; font-size: 10px; font-weight: 850; text-align: center; white-space: nowrap; }
.profile-guide__reward-amount { order: 3; margin-left: auto; color: #df4b1a; font-size: clamp(15px,1.4vw,19px); font-weight: 850; white-space: nowrap; }
.profile-guide__reward-copy { display: grid; min-width: 0; gap: 2px; color: #172334; font-size: 12px; line-height: 1.25; }
.profile-guide__reward-copy :is(strong,b) { font-size: 13px; }
.profile-guide__reward-copy :is(span,small) { color: #617082; font-size: 11px; }
.profile-guide__xp-stage { display: grid; place-items: center; align-content: center; gap: 17px; padding: 6%; background: radial-gradient(circle at 50% 0,rgba(255,87,34,.14),transparent 45%),#f6f7f8; }
.profile-guide__level-card { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: 12px; width: min(90%,480px); padding: clamp(16px,2.2vw,27px); border: 1px solid #f8dccc; border-radius: 19px; background: linear-gradient(130deg,#fffaf6,#fff0e4); box-shadow: 0 18px 42px rgba(89,49,25,.12); }
.profile-guide__level-avatar { width: 64px; height: 64px; padding: 4px; border: 3px solid #ff893f; border-radius: 50%; background: #fff; }
.profile-guide__level-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-guide__level-card > div:nth-child(2) { display: grid; gap: 3px; }
.profile-guide__level-card > div:nth-child(2) small { color: #d45020; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.profile-guide__level-card > div:nth-child(2) span { display: block; }
.profile-guide__level-card > i { grid-column: 1 / -1; display: block; height: 8px; overflow: hidden; border-radius: 99px; background: #edd8cd; }
.profile-guide__level-card > i::before { display: block; width: 69%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ff5722,#ff9b51); content: ""; }
.profile-guide__level-card :is(h3,strong) { margin: 0; color: #172334; font-size: clamp(18px,2vw,25px); line-height: 1.25; }
.profile-guide__level-card :is(p,small,span) { color: #697181; font-size: 13px; line-height: 1.4; }
.profile-guide__level-card img { max-width: 84px; max-height: 84px; object-fit: contain; }
.profile-guide__level-card progress { display: block; width: 100%; height: 10px; accent-color: var(--guide-orange); }
.profile-guide__xp-steps { display: grid; width: min(90%,480px); gap: 8px; }
.profile-guide__xp-steps > small { padding: 2px 4px; color: #657386; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.profile-guide__xp-steps > * { display: flex; min-height: 43px; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid #e8eaed; border-radius: 12px; background: #fff; color: #344153; font-size: 12px; box-shadow: 0 4px 12px rgba(18,34,47,.04); }
.profile-guide__xp-steps > small { min-height: 0; border: 0; background: transparent; box-shadow: none; }
.profile-guide__xp-steps > div img { width: 19px; height: 19px; flex: 0 0 19px; }
.profile-guide__xp-steps > div span { flex: 1; }
.profile-guide__xp-steps strong,.profile-guide__xp-steps b { margin-left: auto; color: #da4e1e; white-space: nowrap; }

/* Mirror the real messenger shell, message bubbles and composer at guide scale. */
.profile-guide__conversation { display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; border: 1px solid #e5e7eb; border-radius: 13px; background: #fff; }
.profile-guide__messenger-bar { min-height: 48px; padding: 6px 10px; cursor: default; touch-action: auto; }
.profile-guide__messenger-bar .messenger-window__brand { width: 32px; height: 32px; flex-basis: 32px; border-radius: 11px; }
.profile-guide__messenger-bar .messenger-window__heading strong { max-width: none; font-size: 12px; }
.profile-guide__messenger-bar .messenger-window__heading small { max-width: none; font-size: 9px; }
.profile-guide__messenger-window-action { display: grid; width: 28px; height: 28px; place-items: center; color: #667085; }
.profile-guide__messenger-window-action svg { width: 18px; height: 18px; }
.profile-guide__conversation-head { display: flex; min-height: 58px; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f3f4f6; background: #fff; }
.profile-guide__conversation-head img { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #f3f4f6; border-radius: 50%; object-fit: cover; }
.profile-guide__conversation-identity { display: grid; min-width: 0; flex: 1; gap: 2px; }
.profile-guide__conversation-head strong { overflow: hidden; color: #111827; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__conversation-head small { color: #9ca3af; font-size: 11px; }
.profile-guide__conversation-back,.profile-guide__conversation-options { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: #9ca3af; }
.profile-guide__conversation-back svg,.profile-guide__conversation-options svg { width: 21px; height: 21px; }
.profile-guide__conversation-back { display: none; }
.profile-guide__conversation-stream { display: flex; min-height: 0; flex-direction: column; gap: 9px; justify-content: flex-start; overflow-y: auto; padding: 15px 20px; background: #f1f5f9; scrollbar-width: thin; }
.profile-guide__conversation-stream > * { flex-shrink: 0; }
.profile-guide__bubble { width: fit-content; max-width: 82%; margin: 0; padding: 10px 12px; border-radius: 18px 18px 18px 3px; background: #fff; color: #111827; font-size: 13px; line-height: 1.35; box-shadow: 0 2px 5px rgba(15,23,42,.07); }
.profile-guide__bubble.is-outgoing { align-self: flex-end; border-radius: 18px 18px 3px 18px; background: #eeffde; }
.profile-guide__bubble.is-incoming { align-self: flex-start; }
.profile-guide__photo-attachment { position: relative; display: block; width: min(70%,260px); align-self: flex-start; overflow: hidden; border-radius: 18px; background: transparent; }
.profile-guide__photo-attachment img { display: block; width: 100%; height: 145px; border-radius: 18px; object-fit: cover; }
.profile-guide__photo-attachment span { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 999px; background: #0007; color: #fff; font-size: 9px; }
.profile-guide__route-attachment { position: relative; display: block; width: min(84%,340px); min-height: 180px; align-self: flex-start; overflow: hidden; border-radius: 22px; background: #111827; color: #fff; box-shadow: 0 2px 8px rgba(24,38,51,.14); }
.profile-guide__route-attachment::after { position: absolute; inset: 0; background: linear-gradient(180deg,#0006 0%,transparent 30%,#000d 100%); content: ""; }
.profile-guide__route-attachment > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-guide__route-attachment > div { position: relative; z-index: 1; display: flex; min-height: 180px; flex-direction: column; align-items: flex-start; padding: 14px; }
.profile-guide__route-attachment small { display: inline-flex; padding: 5px 7px; border-radius: 7px; background: #ff5722; color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.profile-guide__route-attachment strong { margin-top: auto; color: #fff; font-size: 15px; font-style: italic; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.profile-guide__route-attachment span { display: flex; gap: 6px; align-items: baseline; margin-top: 7px; color: #fff; font-size: 12px; font-weight: 850; }
.profile-guide__route-attachment span b { color: #ffac8d; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.profile-guide__route-attachment em { margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: #fff; color: #111827; font-size: 9px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.profile-guide__conversation-compose { display: flex; min-height: 67px; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid #f3f4f6; background: #fff; color: #667085; }
.profile-guide__conversation-add { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid #eef2f7; border-radius: 16px; background: #f8fafc; }
.profile-guide__conversation-add svg { width: 21px; height: 21px; }
.profile-guide__conversation-input { display: flex; min-width: 0; min-height: 46px; flex: 1; align-items: center; border: 1px solid #f3f4f6; border-radius: 16px; background: #f9fafb; box-shadow: inset 0 1px 3px #0f172a0b; }
.profile-guide__conversation-compose button { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 0; border-radius: 16px; background: var(--guide-orange); color: #fff; box-shadow: 0 3px 8px #ff572233; }

html[data-theme="dark"] .profile-guide {
    --guide-ink: #f0f4f7;
    --guide-muted: #aab9c6;
    --guide-surface: #14212d;
    --guide-soft: #1d2c39;
    --guide-line: #334451;
    --guide-warm: #382c29;
    --guide-shadow: 0 24px 75px rgba(0,0,0,.28);
}
html[data-theme="dark"] .profile-guide__dialog { border-color: #3a4853; }
html[data-theme="dark"] .profile-guide__main { background: radial-gradient(circle at 100% 100%,rgba(255,87,34,.07),transparent 44%),var(--guide-surface); }
html[data-theme="dark"] .profile-guide__scene-meta { color: #ffae8a; }
html[data-theme="dark"] .profile-guide__scene-meta > span { border-color: #6d4738; color: #ffae8a; }
html[data-theme="dark"] .profile-guide__lead { color: #c4d0da; }
html[data-theme="dark"] .profile-guide__chapter::before { background: #3b4b57; }
html[data-theme="dark"] .profile-guide__visual { background: #1b2a36; }
html[data-theme="dark"] .profile-guide__screen { background: #243441; }
html[data-theme="dark"] .profile-guide__drawer p,
html[data-theme="dark"] .profile-guide__drawer li { color: #c4d0da; }
html[data-theme="dark"] .profile-guide__explain { border-color: #485665; background: rgba(26,39,51,.98); color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__explain p { color: #b9c7d1; }
html[data-theme="dark"] .profile-guide__reward-stage,
html[data-theme="dark"] .profile-guide__xp-stage { background: radial-gradient(circle at 85% 0,rgba(255,87,34,.13),transparent 42%),#1e2d3a; }
html[data-theme="dark"] .profile-guide__reaction-card,
html[data-theme="dark"] .profile-guide__reward-toast,
html[data-theme="dark"] .profile-guide__xp-steps > * { border-color: #3d4d59; background: #263744; color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__reaction-body :is(h3,strong),
html[data-theme="dark"] .profile-guide__reward-copy,
html[data-theme="dark"] .profile-guide__level-card :is(h3,strong) { color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__reaction-body :is(p,small,span),
html[data-theme="dark"] .profile-guide__reward-copy :is(span,small),
html[data-theme="dark"] .profile-guide__level-card :is(p,small,span) { color: #b6c3ce; }
html[data-theme="dark"] .profile-guide__reaction-action { border-color: #6a4a3d; background: #3a302d; color: #ffb58d; }
html[data-theme="dark"] .profile-guide__level-card { border-color: #6a4838; background: linear-gradient(130deg,#3c302d,#312a2b); }
html[data-theme="dark"] .profile-guide__conversation { border-color: #354653; background: #1d2c39; }
html[data-theme="dark"] .profile-guide__conversation-head,
html[data-theme="dark"] .profile-guide__conversation-compose { border-color: #374754; background: #1d2c39; color: #bfccd5; }
html[data-theme="dark"] .profile-guide__conversation-head :is(strong,b),
html[data-theme="dark"] .profile-guide__route-attachment :is(strong,b) { color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__conversation-stream { background: #253440; }
html[data-theme="dark"] .profile-guide__bubble,
html[data-theme="dark"] .profile-guide__route-attachment { border-color: #3d4d59; background: #314250; color: #ecf2f6; }
html[data-theme="dark"] .profile-guide__bubble.is-outgoing { border-color: #754938; background: #563a31; }
html[data-theme="dark"] .profile-guide-launch { border-color: #684133; background: #3a2c28; color: #ffbd9f; }
html[data-theme="dark"] .profile-guide-launch:hover { background: #4b342b; }
html[data-theme="dark"] .profile-guide__demo-identity { background: #1b2937; color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__demo-identity span { color: #b6c3ce; }
html[data-theme="dark"] .profile-guide__demo-follow,
html[data-theme="dark"] .profile-guide__demo-message { border-color: #3a4b59; background: #253442; color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__settings-preview { border-color: #344653; background: #182838; color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__settings-preview > header,
html[data-theme="dark"] .profile-guide__settings-preview > footer { border-color: #344653; background: #182838; }
html[data-theme="dark"] .profile-guide__settings-preview > header button,
html[data-theme="dark"] .profile-guide__settings-preview > nav,
html[data-theme="dark"] .profile-guide__settings-preview > nav b,
html[data-theme="dark"] .profile-guide__photo-settings button { border-color: #344653; background: #213343; color: #e3ebf1; }
html[data-theme="dark"] .profile-guide__settings-body > p,
html[data-theme="dark"] .profile-guide__photo-settings button.is-selected { border-color: #714837; background: #392d2c; color: #dce6ec; }
html[data-theme="dark"] .profile-guide__settings-body label,
html[data-theme="dark"] .profile-guide__settings-preview > footer,
html[data-theme="dark"] .profile-guide__photo-settings button small { color: #b3c1cc; }
html[data-theme="dark"] .profile-guide__settings-body :is(input,textarea) { border-color: #42515d; background: #152634; color: #f0f4f7; }
html[data-theme="dark"] .profile-guide__settings-preview > footer b { background: var(--guide-orange); }
html[data-theme="dark"] .profile-guide__conversation-compose img { background: #ff6b3c; }
html[data-theme="dark"] .profile-guide__xp-steps > small { border: 0; background: transparent; color: #b7c4ce; }
html[data-theme="dark"] .profile-guide__controls button img,
html[data-theme="dark"] .profile-guide__close img,
html[data-theme="dark"] .profile-guide__details-button img { filter: brightness(0) invert(1); }

@media (max-width: 850px) {
    .profile-guide__dialog { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    .profile-guide__top { min-height: 89px; gap: 8px; padding: max(10px,env(safe-area-inset-top)) 16px 9px; }
    .profile-guide__top-inner { gap: 9px; }
    .profile-guide__brand { font-size: 12px; }
    .profile-guide__logo { width: min(148px,100%); max-height: 25px; }
    .profile-guide__chapter-count { font-size: 11px; }
    .profile-guide__close { width: 42px; height: 42px; flex-basis: 42px; }
    .profile-guide__top > .profile-guide__timeline { height: 5px; gap: 4px; }
    .profile-guide__chapter { min-height: 5px; }
    .profile-guide__chapter::before,.profile-guide__chapter i { height: 4px; }
    .profile-guide__chapter span { display: none; }
    .profile-guide__main { position: relative; display: block; min-height: 0; padding: 0; overflow: hidden; }
    .profile-guide__visual { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
    .profile-guide__screen { display: flex; height: 100%; align-items: flex-start; justify-content: center; padding: clamp(14px,3vh,30px) 9px 0; border-radius: 0; background: #eef1f3; }
    .profile-guide__frame { width: min(100%,calc(430px * var(--guide-ratio,1.4))); max-height: 67%; }
    .profile-guide__frame:has(.profile-guide__reward-stage:not([hidden]),.profile-guide__xp-stage:not([hidden]),.profile-guide__conversation:not([hidden])) { width: min(100%,430px); height: 100%; max-height: 100%; aspect-ratio: auto; }
    .profile-guide__copy {
        position: absolute; z-index: 22; right: 10px; bottom: 10px; left: 10px;
        max-width: none; max-height: 48%; overflow: auto; overscroll-behavior: contain;
        padding: 17px 18px 16px; border: 1px solid rgba(228,232,236,.9); border-radius: 19px;
        background: rgba(255,255,255,.975); color: #14202d;
        box-shadow: 0 17px 50px rgba(16,30,44,.2); backdrop-filter: blur(18px);
    }
    .profile-guide__scene-meta { gap: 8px; margin-bottom: 10px; }
    .profile-guide__scene-meta > span { width: 30px; height: 30px; border-radius: 9px; font-size: 11px; }
    .profile-guide__scene-meta small { font-size: 11px; }
    .profile-guide__copy h2 { margin-bottom: 9px; color: #14202d; font-size: clamp(24px,6.4vw,31px); line-height: 1.1; }
    .profile-guide__lead { margin-bottom: 10px; color: #405064; font-size: 13px; line-height: 1.45; }
    .profile-guide__points { gap: 7px; }
    .profile-guide__points li { color: #586779; font-size: 12px; line-height: 1.4; }
    .profile-guide__points li:nth-child(n+3) { display: flex; }
    .profile-guide__details-button { min-height: 40px; margin-top: 12px; padding: 0 12px; font-size: 12px; }
    .profile-guide__final-actions { margin-top: 13px; }
    .profile-guide__final-cta { min-height: 42px; font-size: 13px; }
    .profile-guide__bottom { position: relative; z-index: 23; padding: 8px 12px max(10px,env(safe-area-inset-bottom)); background: var(--guide-surface); }
    .profile-guide__controls { gap: 6px; }
    .profile-guide__controls button { min-width: 40px; height: 42px; padding: 0 8px; font-size: 12px; }
    .profile-guide__controls .profile-guide__play { min-width: 92px; }
    .profile-guide__controls .profile-guide__finish { min-width: 65px; }
    .profile-guide__target-label { display: none; }
    .profile-guide__explain { right: 9px; bottom: 9px; left: 9px; padding: 9px 11px; }
    .profile-guide__reward-stage,
    .profile-guide__xp-stage,
    .profile-guide__conversation { inset: 0; }
    .profile-guide__reward-stage { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 3% 5%; }
    .profile-guide__reaction-card { width: 95%; }
    .profile-guide__reaction-photo { max-height: 128px; }
    .profile-guide__reaction-body { gap: 4px; padding: 9px 11px; }
    .profile-guide__reaction-body :is(h3,strong) { font-size: 15px; }
    .profile-guide__reaction-bottom { margin-top: 1px; }
    .profile-guide__reaction-action { width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
    .profile-guide__reward-toast { position: relative; inset: auto; width: 96%; min-height: 60px; margin-top: -10px; padding: 9px 10px; }
    .profile-guide__reward-portrait { width: 38px; height: 38px; flex-basis: 38px; }
    .profile-guide__reward-portrait img { width: 38px; height: 38px; }
    .profile-guide__reward-copy { font-size: 11px; }
    .profile-guide__reward-amount { font-size: 15px; }
    .profile-guide__xp-stage { align-content: start; gap: 8px; padding: 3% 5%; }
    .profile-guide__level-card,.profile-guide__xp-steps { width: 95%; }
    .profile-guide__level-card { grid-template-columns: 50px minmax(0,1fr); gap: 8px; padding: 9px 12px; }
    .profile-guide__level-avatar { width: 48px; height: 48px; padding: 2px; }
    .profile-guide__level-card :is(h3,strong) { font-size: 15px; }
    .profile-guide__level-card > div:nth-child(2) span { font-size: 11px; }
    .profile-guide__level-card > i { height: 6px; }
    .profile-guide__xp-steps { gap: 6px; }
    .profile-guide__xp-steps > small { padding: 0 4px; font-size: 10px; }
    .profile-guide__xp-steps > div { min-height: 32px; padding: 4px 8px; font-size: 10px; }
    .profile-guide__xp-steps > div img { width: 16px; height: 16px; flex-basis: 16px; }
    .profile-guide__conversation-head { min-height: 52px; padding: 8px 11px; }
    .profile-guide__conversation-back { display: grid; }
    .profile-guide__conversation { height: min(100%,380px); }
    .profile-guide__conversation-stream { gap: 7px; justify-content: flex-start; padding: 8px 10px; }
    .profile-guide__bubble { max-width: 85%; padding: 8px 10px; font-size: 11px; }
    .profile-guide__photo-attachment { width: min(68%,210px); }
    .profile-guide__photo-attachment img { height: 100px; }
    .profile-guide__route-attachment { width: min(86%,270px); min-height: 145px; }
    .profile-guide__route-attachment > div { min-height: 145px; padding: 10px; }
    .profile-guide__route-attachment strong { font-size: 12px; }
    .profile-guide__route-attachment em { display: none; }
    .profile-guide__conversation-compose { min-height: 54px; gap: 4px; padding: 6px 8px; }
    .profile-guide__conversation-add,.profile-guide__conversation-compose button { width: 38px; height: 38px; flex-basis: 38px; border-radius: 13px; }
    .profile-guide__conversation-input { min-height: 38px; border-radius: 13px; }
    .profile-guide__drawer { height: min(75%,610px); border: 0; border-top: 1px solid var(--guide-line); border-radius: 22px 22px 0 0; }
    html[data-theme="dark"] .profile-guide__copy { border-color: #394a57; background: rgba(21,34,46,.975); color: #f0f4f7; }
    html[data-theme="dark"] .profile-guide__copy h2 { color: #f0f4f7; }
    html[data-theme="dark"] .profile-guide__lead { color: #c3d0d9; }
    html[data-theme="dark"] .profile-guide__points li { color: #acbcc9; }
    html[data-theme="dark"] .profile-guide__screen { background: #263744; }
}
@media (max-width: 390px) {
    .profile-guide__top { padding-right: 11px; padding-left: 11px; }
    .profile-guide__logo { width: min(125px,100%); }
    .profile-guide__brand > span { display: none; }
    .profile-guide__copy { right: 8px; bottom: 8px; left: 8px; max-height: 52%; padding: 14px 15px; }
    .profile-guide__copy h2 { font-size: 23px; }
    .profile-guide__lead { font-size: 12px; }
    .profile-guide__points li { font-size: 12px; }
    .profile-guide__controls { gap: 4px; }
    .profile-guide__controls button { min-width: 40px; height: 40px; padding: 0 7px; font-size: 11px; }
    .profile-guide__controls .profile-guide__play { min-width: 81px; }
    .profile-guide__controls .profile-guide__finish { min-width: 59px; }
    .profile-guide__controls [data-guide-fullscreen] { display: none; }
}
@media (max-width: 360px) {
    .profile-guide__top,.profile-guide__main,.profile-guide__bottom { min-width: 0; }
    .profile-guide__controls { min-width: 0; }
    .profile-guide__controls [data-guide-speed] { display: none; }
    .profile-guide__controls-space { flex: 1; }
}

/* Live, fictional examples use the site's profile, route and conversation patterns. */
.profile-guide__copy h2 { min-width: 0; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.profile-guide__dialog { overflow: clip; }
.profile-guide__copy h2 [data-guide-title],.profile-guide__copy h2 [data-guide-title-accent] { display: block; max-width: 100%; white-space: normal; }
.profile-guide__copy h2 em:not(:empty)::before { content: none; }
.profile-guide__frame { width: min(100%,680px); height: min(100%,540px); max-height: 100%; aspect-ratio: auto !important; overflow: hidden; border: 1px solid #e2e7eb; border-radius: 17px; background: #fff; box-shadow: 0 15px 40px rgba(16,32,44,.15); filter: none; }
.profile-guide__shot,.profile-guide__support-image,.profile-guide__target,.profile-guide__target-label { display: none !important; }
.profile-guide__cursor { width: 24px; height: 29px; transform: translate(-3px,-3px); transform-origin: 3px 3px; filter: drop-shadow(0 2px 2px rgba(10,24,34,.45)); transition: top .5s cubic-bezier(.2,.8,.2,1),left .5s cubic-bezier(.2,.8,.2,1),opacity .2s; }
.profile-guide__cursor.is-clicking { transform: translate(-3px,-3px) scale(.84); }
.profile-guide__cursor svg { width: 24px; height: 29px; }
.profile-guide__live-scene,.profile-guide__demo-profile { position: absolute; inset: 0; overflow: hidden; background: #fff; color: #172331; font-family: inherit; }
.profile-guide__live-scene[hidden],.profile-guide__demo-profile[hidden] { display: none !important; }
.profile-guide__live-scene { padding: 23px 27px; }
.profile-guide__live-scene button,.profile-guide__demo-profile button { font: inherit; cursor: default; }
.profile-guide__scene-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; margin-bottom: 17px; }
.profile-guide__scene-head > div { min-width: 0; }
.profile-guide__scene-head small { display: block; color: #e76228; font-size: 9px; font-weight: 850; letter-spacing: .07em; }
.profile-guide__scene-head h3 { margin: 3px 0; color: #162334; font-size: clamp(18px,2vw,26px); font-weight: 800; line-height: 1.16; }
.profile-guide__scene-head p { margin: 3px 0 0; color: #788494; font-size: 11px; }
.profile-guide__scene-head > span,.profile-guide__scene-head > button { flex: 0 0 auto; border: 1px solid #e4e9ee; border-radius: 10px; background: #fff; color: #4b5b6c; padding: 8px 11px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.profile-guide__scene-head > button[data-guide-click="new-folder"] { border-color: #ff5722; background: #ff5722; color: #fff; }
.profile-guide__scene-tabs { display: flex; align-items: center; gap: 18px; overflow: hidden; border-bottom: 1px solid #e9edf0; color: #758190; font-size: 11px; white-space: nowrap; }
.profile-guide__scene-tabs > * { position: relative; min-height: 34px; font-weight: 650; }
.profile-guide__scene-tabs b { color: #182534; }
.profile-guide__scene-tabs b::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px; background: #ff5722; content: ""; }
.profile-guide__scene-tabs i { color: #f2743f; font-size: 9px; font-style: normal; }

/* The identity is below the straight cover edge, as in the real profile. */
.profile-guide__demo-cover-wrap { position: relative; height: 43%; overflow: hidden; background: #dce5e8; }
.profile-guide__demo-cover { position: static; display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 50% 52%; }
.profile-guide__demo-cover-wrap::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,19,30,.25),transparent 55%); content: ""; pointer-events: none; }
.profile-guide__demo-cover-actions { position: absolute; z-index: 1; top: 14px; right: 15px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 10px; font-weight: 700; }
.profile-guide__demo-cover-actions button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffffa8; border-radius: 50%; background: #152433a8; backdrop-filter: blur(8px); }
.profile-guide__demo-cover-actions button img { display: block; width: 18px; height: 18px; filter: brightness(0) invert(1); }
.profile-guide__demo-profile-content { padding: 0 22px 22px; }
.profile-guide__demo-person { display: flex; min-width: 0; align-items: center; gap: 12px; }
.profile-guide__demo-avatar-ring { position: relative; z-index: 1; display: block; width: 96px; height: 96px; flex: 0 0 96px; margin-top: -33px; padding: 5px; border-radius: 50%; background: conic-gradient(#ff782b 0 72%,#edf1f3 72%); box-shadow: 0 3px 15px #122c372b; }
.profile-guide__demo-avatar { position: static; display: block; width: 100%; height: 100%; aspect-ratio: 1; border: 3px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: none; }
.profile-guide__demo-identity { position: static; display: grid; min-width: 0; width: auto; min-height: 0; flex: 1; align-content: center; gap: 2px; padding: 0; background: transparent; color: #172331; }
.profile-guide__demo-identity strong { font-size: clamp(15px,1.8vw,22px); font-weight: 850; }
.profile-guide__demo-identity span,.profile-guide__demo-identity small { overflow: hidden; color: #728092; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__demo-reputation { display: grid; gap: 2px; justify-items: center; min-width: 66px; padding: 8px; border: 1px solid #ffddc8; border-radius: 12px; background: #fff7f0; }
.profile-guide__demo-reputation b { color: #e76228; font-size: 17px; line-height: 1; }
.profile-guide__demo-reputation span { color: #9a6042; font-size: 8px; }
.profile-guide__demo-bio { margin: 9px 0 12px; color: #4e5b69; font-size: 11px; line-height: 1.4; }
.profile-guide__demo-stats { display: flex; gap: 0; padding: 10px 0; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }
.profile-guide__demo-stats span { min-width: 0; flex: 1; color: #728092; font-size: 9px; text-align: center; white-space: nowrap; }
.profile-guide__demo-stats b { display: block; margin-bottom: 2px; color: #1b2937; font-size: 17px; }
.profile-guide__demo-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 11px 0; }
.profile-guide__demo-follow,.profile-guide__demo-message { position: static; min-height: 32px; padding: 0 15px; border-radius: 9px; font-size: 10px; font-weight: 800; }
.profile-guide__demo-follow { border-color: #ff5722; background: #ff5722; color: #fff; }
.profile-guide__demo-message { border-color: #e0e6ea; background: #fff; color: #233244; }
.profile-guide__demo-tabs { display: flex; gap: 18px; padding: 8px 0; border-bottom: 1px solid #e9edf0; color: #768495; font-size: 10px; }
.profile-guide__demo-tabs b { color: #172331; }
.profile-guide__demo-feed-card { display: flex; height: 84px; gap: 12px; margin-top: 12px; overflow: hidden; border: 1px solid #e9edf0; border-radius: 13px; background: #fff; }
.profile-guide__demo-feed-card img { width: 38%; height: 100%; object-fit: cover; }
.profile-guide__demo-feed-card > div { display: grid; min-width: 0; align-content: center; gap: 4px; }
.profile-guide__demo-feed-card small { color: #ee662e; font-size: 8px; font-weight: 800; }
.profile-guide__demo-feed-card strong { overflow: hidden; color: #1a2939; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__demo-feed-card span { color: #718092; font-size: 9px; }

.profile-guide__route-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 17px; }
.profile-guide__route-card { position: relative; height: 255px; overflow: hidden; border-radius: 18px; background: #233b40; color: #fff; box-shadow: 0 12px 26px #152f3e2b; }
.profile-guide__route-card::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,19,28,.9),transparent 68%); content: ""; pointer-events: none; }
.profile-guide__route-card > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-guide__route-card--second > img { object-position: 85% center; }
.profile-guide__route-chip,.profile-guide__route-card > div,.profile-guide__route-card > button { position: absolute; z-index: 1; }
.profile-guide__route-chip { top: 12px; left: 12px; padding: 6px 8px; border-radius: 20px; background: #18313cbd; font-size: 9px; font-weight: 750; }
.profile-guide__route-card > div { right: 13px; bottom: 12px; left: 13px; display: grid; gap: 4px; }
.profile-guide__route-card > div strong { max-width: 85%; font-size: 17px; line-height: 1.13; }
.profile-guide__route-card > div small,.profile-guide__route-card > div p { margin: 0; color: #ecf2f3; font-size: 10px; }
.profile-guide__route-card > div p span { margin: 0 4px; }
.profile-guide__route-card > button { right: 12px; bottom: 15px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #ffffff94; border-radius: 50%; background: #ffffff30; }
.profile-guide__route-card > button img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

.profile-guide__library-layout { display: grid; grid-template-columns: 27% minmax(0,1fr); height: 76%; gap: 15px; }
.profile-guide__library-layout aside { display: grid; align-content: start; gap: 8px; padding: 12px; border: 1px solid #e8ecf0; border-radius: 13px; background: #f8fafb; }
.profile-guide__library-layout aside > strong { margin-bottom: 5px; font-size: 10px; }
.profile-guide__library-layout aside > span { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 8px; border-radius: 8px; color: #647182; font-size: 10px; }
.profile-guide__library-layout aside > span.is-selected { background: #fff1e8; color: #cb501d; font-weight: 750; }
.profile-guide__library-layout aside b { font-size: 9px; }
.profile-guide__library-layout .profile-guide__created-folder { position: static; width: auto; min-height: 34px; gap: 5px; overflow: hidden; padding: 5px 8px; border-radius: 8px; box-shadow: none; }
.profile-guide__library-layout .profile-guide__created-folder img { width: 14px; height: 14px; }
.profile-guide__library-layout .profile-guide__created-folder strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__library-main { min-width: 0; }
.profile-guide__library-toolbar { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.profile-guide__library-toolbar span { color: #384659; font-size: 11px; font-weight: 750; }
.profile-guide__library-toolbar span b { display: block; color: #8a96a3; font-size: 9px; font-weight: 500; }
.profile-guide__library-toolbar button { border: 1px solid #ffe0ce; border-radius: 8px; background: #fff6f0; color: #d45520; padding: 6px 9px; font-size: 9px; font-weight: 750; }
.profile-guide__library-route { display: flex; min-width: 0; height: 74px; align-items: center; gap: 9px; margin-bottom: 8px; overflow: hidden; border: 1px solid #e8ecf0; border-radius: 11px; }
.profile-guide__library-route > img { width: 88px; height: 100%; object-fit: cover; }
.profile-guide__library-route span { display: grid; min-width: 0; flex: 1; gap: 5px; }
.profile-guide__library-route strong { overflow: hidden; color: #243247; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__library-route small { color: #8996a2; font-size: 9px; }
.profile-guide__library-route button { align-self: center; margin-right: 8px; border: 0; background: transparent; color: #657284; font-size: 20px; }

.profile-guide__story-card { display: grid; grid-template-columns: 48% minmax(0,1fr); height: 255px; margin-top: 17px; overflow: hidden; border: 1px solid #e8ecf0; border-radius: 17px; background: #fff; box-shadow: 0 9px 24px #142d3e14; }
.profile-guide__story-card > img { width: 100%; height: 100%; object-fit: cover; }
.profile-guide__story-card > div { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 18px; }
.profile-guide__story-card small { color: #e3632b; font-size: 9px; font-weight: 850; }
.profile-guide__story-card strong { color: #142436; font-size: clamp(16px,2vw,22px); line-height: 1.14; }
.profile-guide__story-card p { margin: 0; color: #748293; font-size: 11px; }
.profile-guide__story-card button { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 6px 10px; border: 1px solid #e6eaed; border-radius: 9px; background: #fff; color: #445365; font-size: 10px; }
.profile-guide__story-card button img { width: 14px; height: 14px; }
.profile-guide__album-strip { display: flex; height: 78px; align-items: center; gap: 8px; margin-top: 18px; }
.profile-guide__album-strip span { display: grid; flex: 1; gap: 3px; }
.profile-guide__album-strip b { font-size: 12px; }
.profile-guide__album-strip small { color: #8995a1; font-size: 9px; }
.profile-guide__album-strip img { width: 90px; height: 70px; border-radius: 9px; object-fit: cover; }
.profile-guide__album-strip img:last-child { object-position: right center; }

.profile-guide__rank-summary { display: flex; align-items: center; gap: 15px; margin: 50px auto 0; width: min(90%,470px); padding: 20px; border: 1px solid #ffddca; border-radius: 19px; background: #fff7f1; }
.profile-guide__rank-summary > img { width: 68px; height: 68px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #f47d37; }
.profile-guide__rank-summary > div { display: grid; min-width: 0; flex: 1; gap: 5px; }
.profile-guide__rank-summary small { color: #c35323; font-size: 9px; font-weight: 850; }
.profile-guide__rank-summary strong { color: #172331; font-size: 21px; }
.profile-guide__rank-summary span { color: #667587; font-size: 11px; }
.profile-guide__rank-summary i { display: block; height: 7px; margin-top: 8px; border-radius: 99px; background: linear-gradient(90deg,#ff5722 68%,#e7dfda 68%); }

.profile-guide__achievements-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 35px 0 25px; }
.profile-guide__achievements-list button { display: grid; justify-items: center; gap: 5px; min-width: 0; border: 0; background: transparent; color: #263548; }
.profile-guide__achievements-list button img { width: 65px; height: 65px; padding: 17px; border: 3px solid #df8a42; border-radius: 18px; background: linear-gradient(145deg,#243b42,#152631); filter: brightness(0) invert(1); }
.profile-guide__achievements-list button strong { font-size: 11px; text-align: center; }
.profile-guide__achievements-list button small { color: #8b97a3; font-size: 9px; }
.profile-guide__achievements-list button i { display: block; width: 78%; height: 5px; border-radius: 4px; background: linear-gradient(90deg,#ff5722 70%,#edf0f2 70%); }
.profile-guide__achievement-progress { display: grid; gap: 7px; padding: 14px 17px; border: 1px solid #e7ecf0; border-radius: 13px; background: #fbfcfc; }
.profile-guide__achievement-progress b { font-size: 12px; }
.profile-guide__achievement-progress span { color: #334457; font-size: 11px; }
.profile-guide__achievement-progress > i { height: 6px; border-radius: 5px; background: #e6ebef; }
.profile-guide__achievement-progress > i i { display: block; width: 55%; height: 100%; border-radius: inherit; background: #ff6b34; }
.profile-guide__achievement-progress small { color: #8a96a1; font-size: 9px; }

.profile-guide__reputation-score { display: grid; width: min(85%,410px); gap: 6px; margin: 38px auto 22px; padding: 20px; border: 1px solid #ffe0c9; border-radius: 20px; background: #fff8f2; text-align: center; }
.profile-guide__reputation-score strong { color: #e76624; font-size: 57px; line-height: 1; }
.profile-guide__reputation-score span { color: #293a48; font-size: 18px; font-weight: 800; }
.profile-guide__reputation-score p { margin: 5px 0 0; color: #687688; font-size: 11px; line-height: 1.45; }
.profile-guide__reputation-items { display: grid; width: min(85%,410px); gap: 8px; margin: 0 auto; }
.profile-guide__reputation-items span { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid #e8ecf0; border-radius: 10px; color: #425166; font-size: 10px; }
.profile-guide__reputation-items b { color: #168666; white-space: nowrap; }
.profile-guide__message-list { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e7ebee; border-radius: 13px; }
.profile-guide__message-list img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.profile-guide__message-list span { display: grid; min-width: 0; flex: 1; gap: 4px; }
.profile-guide__message-list strong { font-size: 12px; }
.profile-guide__message-list small { overflow: hidden; color: #7e8a98; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__message-list > b { align-self: flex-start; color: #a6afb8; font-size: 9px; font-weight: 500; }
.profile-guide__conversation { z-index: 8; }
.profile-guide__conversation-compose textarea { display: block; width: 100%; min-width: 0; height: 44px; max-height: 90px; flex: 1; padding: 13px 14px; resize: none; border: 0; outline: 0; background: transparent; color: #111827; font-family: inherit; font-size: 14px; line-height: 1.3; }
.profile-guide__conversation-compose textarea::placeholder { color: #9ca3af; }
.profile-guide__conversation-input:has(textarea.is-typing) { border-color: #fdba74; background: #fff; }
.profile-guide__conversation-compose button svg { width: 20px; height: 20px; }

html[data-theme="dark"] .profile-guide__frame,
html[data-theme="dark"] .profile-guide__live-scene,
html[data-theme="dark"] .profile-guide__demo-profile { border-color: #344554; background: #1b2b39; color: #eef3f6; }
html[data-theme="dark"] .profile-guide__scene-head h3,
html[data-theme="dark"] .profile-guide__demo-identity,
html[data-theme="dark"] .profile-guide__demo-stats b,
html[data-theme="dark"] .profile-guide__demo-tabs b,
html[data-theme="dark"] .profile-guide__demo-feed-card strong,
html[data-theme="dark"] .profile-guide__story-card strong,
html[data-theme="dark"] .profile-guide__rank-summary strong,
html[data-theme="dark"] .profile-guide__achievements-list button,
html[data-theme="dark"] .profile-guide__reputation-score span { color: #f1f5f7; }
html[data-theme="dark"] .profile-guide__demo-identity { background: transparent; }
html[data-theme="dark"] .profile-guide__demo-bio,
html[data-theme="dark"] .profile-guide__library-route strong,
html[data-theme="dark"] .profile-guide__achievement-progress span { color: #c1ccd5; }
html[data-theme="dark"] .profile-guide__demo-stats,
html[data-theme="dark"] .profile-guide__demo-tabs,
html[data-theme="dark"] .profile-guide__scene-tabs { border-color: #354654; }
html[data-theme="dark"] .profile-guide__scene-head > span,
html[data-theme="dark"] .profile-guide__scene-head > button:not([data-guide-click="new-folder"]),
html[data-theme="dark"] .profile-guide__demo-message,
html[data-theme="dark"] .profile-guide__demo-feed-card,
html[data-theme="dark"] .profile-guide__library-layout aside,
html[data-theme="dark"] .profile-guide__library-route,
html[data-theme="dark"] .profile-guide__story-card,
html[data-theme="dark"] .profile-guide__story-card button,
html[data-theme="dark"] .profile-guide__achievement-progress,
html[data-theme="dark"] .profile-guide__reputation-items span,
html[data-theme="dark"] .profile-guide__message-list { border-color: #3b4b58; background: #263847; color: #e1eaf0; }
html[data-theme="dark"] .profile-guide__rank-summary,
html[data-theme="dark"] .profile-guide__reputation-score,
html[data-theme="dark"] .profile-guide__demo-reputation { border-color: #6a4838; background: #3b302e; }
html[data-theme="dark"] .profile-guide__conversation-head strong { color: #f1f5f9; }
html[data-theme="dark"] .profile-guide__messenger-bar { border-color: #334155; background: #111827; }
html[data-theme="dark"] .profile-guide__conversation-stream { background: radial-gradient(circle at 22% 10%,#ff7a1a14,transparent 45%),linear-gradient(180deg,#0b1626,#08111f); }
html[data-theme="dark"] .profile-guide__bubble { background: #111b2b; color: #f1f5f9; }
html[data-theme="dark"] .profile-guide__bubble.is-outgoing { background: linear-gradient(135deg,#406c30,#265333); color: #f2ffe9; }
html[data-theme="dark"] .profile-guide__route-attachment span b { color: #ffac8d; }
html[data-theme="dark"] .profile-guide__conversation-add,html[data-theme="dark"] .profile-guide__conversation-input,
html[data-theme="dark"] .profile-guide__conversation-input:has(textarea.is-typing) { border-color: #334155; background: #0f172a; color: #cbd5e1; }
html[data-theme="dark"] .profile-guide .profile-guide__conversation-compose textarea { background: #0f172a !important; color: #f0f4f7; }

@media (max-width: 850px) {
    .profile-guide__frame { width: min(100%,390px); height: min(64%,480px); max-height: none; aspect-ratio: auto !important; border-radius: 18px; }
    .profile-guide__frame:has(.profile-guide__conversation:not([hidden])) { width: min(100%,390px); height: min(49%,340px); max-height: none; aspect-ratio: auto; }
    .profile-guide__live-scene { padding: 15px; }
    .profile-guide__scene-head { margin-bottom: 11px; }
    .profile-guide__scene-head h3 { font-size: 19px; }
    .profile-guide__scene-head > span,.profile-guide__scene-head > button { padding: 7px 8px; font-size: 9px; }
    .profile-guide__scene-tabs { gap: 15px; font-size: 10px; }
    .profile-guide__demo-cover-wrap { height: 37%; }
    .profile-guide__demo-profile-content { padding: 0 13px 15px; }
    .profile-guide__demo-avatar-ring { width: 71px; height: 71px; flex-basis: 71px; margin-top: -23px; padding: 4px; }
    .profile-guide__demo-person { gap: 8px; }
    .profile-guide__demo-identity strong { font-size: 14px; }
    .profile-guide__demo-identity span,.profile-guide__demo-identity small { font-size: 9px; }
    .profile-guide__demo-reputation { min-width: 50px; padding: 5px; }
    .profile-guide__demo-reputation b { font-size: 13px; }
    .profile-guide__demo-reputation span { font-size: 7px; }
    .profile-guide__demo-bio { margin: 5px 0 8px; font-size: 9px; }
    .profile-guide__demo-stats { padding: 6px 0; }
    .profile-guide__demo-stats span { font-size: 7px; }
    .profile-guide__demo-stats b { font-size: 13px; }
    .profile-guide__demo-actions { margin: 7px 0; }
    .profile-guide__demo-follow,.profile-guide__demo-message { min-height: 27px; font-size: 9px; }
    .profile-guide__demo-tabs { gap: 14px; padding: 6px 0; font-size: 9px; }
    .profile-guide__demo-feed-card { height: 60px; margin-top: 7px; }
    .profile-guide__demo-feed-card strong { font-size: 10px; }
    .profile-guide__demo-feed-card small,.profile-guide__demo-feed-card span { font-size: 7px; }
    .profile-guide__route-grid { display: block; margin-top: 10px; }
    .profile-guide__route-card { height: 230px; }
    .profile-guide__route-card--second { display: none; }
    .profile-guide__route-card > div strong { font-size: 16px; }
    .profile-guide__library-layout { grid-template-columns: 1fr; gap: 10px; height: auto; }
    .profile-guide__library-layout aside { display: flex; align-items: center; gap: 5px; overflow: hidden; padding: 7px; }
    .profile-guide__library-layout aside > strong,.profile-guide__library-layout aside > span:nth-of-type(3) { display: none; }
    .profile-guide__library-layout aside > span { padding: 5px 6px; white-space: nowrap; font-size: 9px; }
    .profile-guide__library-layout .profile-guide__created-folder { flex: 1; min-width: 0; }
    .profile-guide__library-route { height: 61px; }
    .profile-guide__library-route > img { width: 65px; }
    .profile-guide__library-route strong { font-size: 10px; }
    .profile-guide__library-route small { font-size: 8px; }
    .profile-guide__story-card { display: block; height: 275px; margin-top: 10px; }
    .profile-guide__story-card > img { width: 100%; height: 56%; }
    .profile-guide__story-card > div { gap: 4px; padding: 10px 12px; }
    .profile-guide__story-card strong { font-size: 15px; }
    .profile-guide__story-card button { margin: 3px 0 0; padding: 4px 8px; }
    .profile-guide__album-strip { height: 53px; margin-top: 7px; }
    .profile-guide__album-strip img { width: 53px; height: 48px; }
    .profile-guide__rank-summary { width: 100%; margin-top: 19px; padding: 12px; }
    .profile-guide__achievements-list { gap: 7px; margin: 20px 0 17px; }
    .profile-guide__achievements-list button img { width: 48px; height: 48px; padding: 11px; }
    .profile-guide__achievements-list button strong { font-size: 9px; }
    .profile-guide__achievement-progress { padding: 10px; }
    .profile-guide__reputation-score,.profile-guide__reputation-items { width: 100%; }
    .profile-guide__reputation-score { margin-top: 20px; padding: 14px; }
    .profile-guide__reputation-score strong { font-size: 42px; }
    .profile-guide__settings-preview { inset: 2%; }
    .profile-guide__settings-preview { grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0,1fr) auto; }
    .profile-guide__settings-preview > header { padding: 10px 12px; }
    .profile-guide__settings-preview > header small { font-size: 8px; }
    .profile-guide__settings-preview > header strong { font-size: 16px; }
    .profile-guide__settings-preview > nav { display: flex; grid-column: 1; gap: 5px; overflow-x: auto; padding: 6px 10px; border-right: 0; border-bottom: 1px solid #edf0f4; white-space: nowrap; font-size: 9px; }
    .profile-guide__settings-preview > nav b { padding: 6px 8px; }
    .profile-guide__settings-body { gap: 8px; padding: 10px; }
    .profile-guide__settings-body > p { font-size: 9px; }
    .profile-guide__photo-settings button { padding: 6px; font-size: 9px; }
    .profile-guide__photo-settings button small { font-size: 8px; }
    .profile-guide__photo-settings img { width: 28px; height: 28px; }
    .profile-guide__photo-settings button:last-child img { width: 37px; }
    .profile-guide__settings-body label { font-size: 9px; }
    .profile-guide__settings-body input,.profile-guide__settings-body textarea { font-size: 11px; }
    .profile-guide__folder-editor .route-library-editor__dialog { width: min(94%,360px); }
    .profile-guide__folder-picker .route-folder-picker__dialog { width: 96%; }
    .profile-guide__folder-picker .route-folder-picker__heading h2 { font-size: 15px; }
    .profile-guide__folder-picker .route-folder-picker__heading p,
    .profile-guide__folder-picker .route-folder-picker__toolbar span,
    .profile-guide__folder-picker .route-folder-picker__folder-copy small { font-size: 9px; }
    .profile-guide__folder-picker .route-folder-picker__toolbar strong,
    .profile-guide__folder-picker .route-folder-picker__folder-copy strong { font-size: 11px; }
    .profile-guide__folder-picker .route-folder-picker__toolbar button,
    .profile-guide__folder-picker .route-folder-picker__footer button { font-size: 10px; }
    .profile-guide__conversation { height: 100%; }
    .profile-guide__messenger-bar { min-height: 39px; padding: 4px 7px; }
    .profile-guide__messenger-bar .messenger-window__brand { width: 27px; height: 27px; flex-basis: 27px; }
    .profile-guide__messenger-bar .messenger-window__brand svg { width: 17px; height: 17px; }
    .profile-guide__messenger-bar .messenger-window__heading small { display: none; }
    .profile-guide__messenger-window-action:first-child { display: none; }
    .profile-guide__conversation-compose { min-height: 66px; align-items: center; }
    .profile-guide__conversation-input { min-height: 52px; }
    .profile-guide__conversation-compose textarea { height: 52px; padding: 6px 8px; font-size: 16px; line-height: 1.2; }
    .profile-guide__conversation-compose textarea::placeholder { font-size: 12px; }
}

@media (max-width: 360px) {
    .profile-guide__points li:nth-child(n+2) { display: none; }
    .profile-guide__frame:has(.profile-guide__conversation:not([hidden])) { height: min(46%,320px); }
}

@media (max-width: 850px) and (max-height: 600px) {
    .profile-guide__copy { padding: 10px 12px; }
    .profile-guide__lead { font-size: 11px; line-height: 1.35; }
    .profile-guide__points { display: none; }
}

/* The guide uses the site's own profile and progress class structure, scaled only
   to fit the demonstration frame. Keep desktop and mobile profile layouts distinct. */
.profile-guide__profile-desktop { display: block; height: 100%; background: #fff; }
.profile-guide__profile-mobile { display: none !important; }
.profile-guide__profile-desktop .profile-header-cover { position: relative; height: 63%; overflow: hidden; background: #172737; }
.profile-guide__profile-desktop .profile-header-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-guide__desktop-cover-shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(9,24,33,.69),rgba(9,24,33,.12) 72%); }
.profile-guide__desktop-guide-launch { position: absolute; top: 16px; left: 19px; padding: 6px 9px; border: 1px solid #ffffff7a; border-radius: 999px; background: #102735a6; color: #fff; font-size: 10px; font-weight: 750; }
.profile-guide__profile-desktop .profile-cover-owner-action { position: absolute; top: 14px; right: 16px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #ffffff6e; border-radius: 11px; background: #152332b8; }
.profile-guide__profile-desktop .profile-cover-owner-action img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.profile-guide__profile-desktop .profile-header-info { position: relative; z-index: 1; margin-top: -130px; padding: 0 19px; }
.profile-guide__profile-desktop .profile-header-grid { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 16px; min-height: 106px; }
.profile-guide__profile-desktop .profile-header-avatar-col { width: 104px; }
.profile-guide__profile-desktop .profile-header-avatar { width: 104px; height: 104px; padding: 4px; border-radius: 50%; box-shadow: 0 7px 20px #101d2b3b; }
.profile-guide__profile-desktop .profile-subscription-ring { width: 100%; height: 100%; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #fff; }
.profile-guide__profile-desktop .profile-subscription-ring img { width: 100%; height: 100%; object-fit: cover; }
.profile-guide__profile-desktop .profile-header-main { min-width: 0; }
.profile-guide__profile-desktop .profile-header-main-row { display: flex; align-items: end; justify-content: space-between; min-width: 0; gap: 13px; }
.profile-guide__profile-desktop .profile-header-main-row > div:first-child { min-width: 0; flex: 1; }
.profile-guide__profile-desktop .profile-header-name { overflow: hidden; margin: 0 0 3px; color: #fff; font-size: 23px; font-weight: 900; line-height: 1.05; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 4px 15px #0817249c; }
.profile-guide__profile-desktop .profile-header-meta { margin: 0; color: #ffedd5; font-size: 11px; font-weight: 750; }
.profile-guide__profile-desktop .profile-header-city { display: flex; align-items: center; gap: 3px; margin: 3px 0 0; color: #e9edf0; font-size: 9px; }
.profile-guide__profile-desktop .profile-header-city svg { width: 13px; height: 13px; }
.profile-guide__profile-desktop .profile-header-bio { display: -webkit-box; max-width: 330px; margin: 5px 0 0; overflow: hidden; color: #edf2f3; font-size: 10px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.profile-guide__profile-desktop .profile-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; padding-bottom: 4px; }
.profile-guide__profile-desktop .profile-header-actions button { min-height: 28px; padding: 0 9px; border: 1px solid #ffffffa0; border-radius: 9px; background: #f97316; color: #fff; font-size: 9px; font-weight: 850; }
.profile-guide__profile-desktop .profile-header-actions .profile-guide__desktop-message { background: #ffffffeb; color: #24303c; }
.profile-guide__profile-desktop .profile-hero-stats-card { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; width: calc(100% - 123px) !important; min-height: 57px !important; margin: 29px 0 0 123px !important; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 13px; background: #fff; box-shadow: 0 8px 20px #17283b24; }
.profile-guide__profile-desktop .profile-hero-stat { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 5px 2px; border-right: 1px solid #e5e7eb; text-align: center; }
.profile-guide__profile-desktop .profile-hero-stat:last-child { border-right: 0; }
.profile-guide__profile-desktop .profile-hero-stat strong { color: #111827; font-size: 15px; line-height: 1; font-weight: 820; }
.profile-guide__profile-desktop .profile-hero-stat > span { overflow: hidden; max-width: 100%; color: #6b7280; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__desktop-tabs { display: flex; gap: 23px; margin: 18px 22px 0; border-bottom: 1px solid #e5e7eb; color: #74808e; font-size: 11px; }
.profile-guide__desktop-tabs > * { display: block; padding: 0 0 9px; }
.profile-guide__desktop-tabs b { border-bottom: 2px solid #f97316; color: #17202c; }
.profile-guide__desktop-feed { position: relative; height: 94px; margin: 11px 22px; overflow: hidden; border-radius: 13px; background: #1c343c; color: #fff; }
.profile-guide__desktop-feed::after { position: absolute; inset: 0; background: linear-gradient(0deg,#071d2cbd,transparent 75%); content: ""; }
.profile-guide__desktop-feed img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-guide__desktop-feed span,.profile-guide__desktop-feed strong { position: absolute; z-index: 1; left: 14px; }
.profile-guide__desktop-feed span { bottom: 34px; font-size: 8px; }
.profile-guide__desktop-feed strong { bottom: 13px; font-size: 14px; }
.profile-guide__profile-mobile .profile-guide__demo-cover-wrap::after { display: none; }

/* Real site achievement art and category-progress blocks, with no icon tiles. */
.profile-guide__live-achievements.profile-achievements { padding: 25px 28px; }
.profile-guide__live-achievements .profile-achievements__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-guide__live-achievements .profile-achievements__eyebrow { margin: 0 0 3px; color: #e66a3b; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.profile-guide__live-achievements .profile-achievements__head h2 { margin: 0; color: #172b35; font-size: 24px; font-weight: 900; }
.profile-guide__live-achievements .profile-achievements__intro { margin: 4px 0 0; color: #73818a; font-size: 10px; }
.profile-guide__live-achievements .profile-achievements__all { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #f7cbb9; border-radius: 10px; background: #fff6f0; color: #c4552d; font-size: 10px; font-weight: 850; }
.profile-guide__live-achievements .profile-achievements__featured { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 23px 0 18px; }
.profile-guide__live-achievements .profile-achievements__badge { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: transparent; color: #23313b; text-align: center; }
.profile-guide__live-achievements .profile-achievements__badge img { display: block; width: 94px; height: 94px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent !important; object-fit: contain; filter: drop-shadow(0 7px 8px #17382a29); }
.profile-guide__live-achievements .profile-achievements__badge-category { color: #e66a3b; font-size: 8px; font-weight: 750; }
.profile-guide__live-achievements .profile-achievements__badge strong { font-size: 10px; line-height: 1.2; }
.profile-guide__live-achievements .profile-achievements__categories { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; padding-top: 14px; border-top: 1px solid #e9eeeb; }
.profile-guide__live-achievements .profile-achievements__category { min-width: 0; padding: 10px; border: 1px solid #e5ebe8; border-radius: 12px; background: #f7faf8; }
.profile-guide__live-achievements .profile-achievements__category-top { display: flex; justify-content: space-between; gap: 3px; }
.profile-guide__live-achievements .profile-achievements__category-top strong,.profile-guide__live-achievements .profile-achievements__category-top span { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__live-achievements .profile-achievements__category-track { display: block; height: 5px; margin: 8px 0 5px; border-radius: 999px; background: #e3eae7; }
.profile-guide__live-achievements .profile-achievements__category-track span { display: block; height: 100%; border-radius: inherit; background: var(--category-accent,#5eaa7d); }
.profile-guide__live-achievements .profile-achievements__category small { color: #82908b; font-size: 8px; }
.profile-guide__live-achievements .profile-guide__achievement-progress { display: flex; margin-top: 13px; padding: 10px; }
.profile-guide__live-achievements .profile-guide__achievement-progress div { display: grid; gap: 3px; }
.profile-guide__live-achievements .profile-guide__achievement-progress strong { font-size: 11px; }
.profile-guide__live-achievements .profile-guide__achievement-progress span { color: #748290; font-size: 9px; }

/* The XP chapter reproduces the current /progress hero, level panel and rank ladder. */
.profile-guide__xp-stage.game-v2 { display: block; overflow: auto; padding: 15px; background: #fff; }
.profile-guide__xp-stage .game-v2__hero,.profile-guide__live-ranks .game-v2__hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.82fr); align-items: center; gap: 13px; min-height: 167px; padding: 17px; border-radius: 20px; background: radial-gradient(circle at 75% 15%,#42847355,transparent 32%),radial-gradient(circle at 20% 110%,#e6723f38,transparent 38%),linear-gradient(122deg,#112a31,#174841 62%,#203a39); color: #fff; box-shadow: 0 13px 26px #10352d23; }
.profile-guide__xp-stage .game-v2__hero-copy,.profile-guide__live-ranks .game-v2__hero-copy { min-width: 0; }
.profile-guide__xp-stage .game-v2__hero .game-v2__eyebrow,.profile-guide__live-ranks .game-v2__hero .game-v2__eyebrow { margin: 0; color: #ffb793; font-size: 9px; letter-spacing: .12em; }
.profile-guide__xp-stage .game-v2__hero h1,.profile-guide__live-ranks .game-v2__hero h1 { margin: 6px 0 7px; font-size: 23px; line-height: 1.04; letter-spacing: -.04em; }
.profile-guide__xp-stage .game-v2__hero h1 span:not(.game-v2__hero-white),.profile-guide__live-ranks .game-v2__hero h1 span:not(.game-v2__hero-white) { color: #ffab7f; }
.profile-guide__xp-stage .game-v2__hero-copy > p:last-of-type,.profile-guide__live-ranks .game-v2__hero-copy > p:last-of-type { margin: 0; color: #d6e4e2; font-size: 10px; line-height: 1.4; }
.profile-guide__xp-stage .game-v2__nav { display: flex; gap: 5px; margin-top: 10px; }
.profile-guide__xp-stage .game-v2__nav span { padding: 5px 7px; border: 1px solid #ffffff38; border-radius: 999px; background: #ffffff10; color: #fff; font-size: 8px; font-weight: 750; }
.profile-guide__xp-stage .game-v2__hero-level,.profile-guide__live-ranks .game-v2__hero-level { min-width: 0; padding: 12px; border: 1px solid #ffffff32; border-radius: 15px; background: #ffffff17; color: #fff; backdrop-filter: blur(12px); }
.profile-guide__xp-stage .game-v2__level-orbit,.profile-guide__live-ranks .game-v2__level-orbit { float: right; display: grid; width: 40px; height: 40px; place-items: center; border: 3px solid #f9a37a; border-radius: 50%; font-size: 17px; font-weight: 900; }
.profile-guide__xp-stage .game-v2__hero-level div,.profile-guide__live-ranks .game-v2__hero-level div { display: grid; gap: 2px; }
.profile-guide__xp-stage .game-v2__hero-level small,.profile-guide__live-ranks .game-v2__hero-level small { color: #f3bfab; font-size: 8px; text-transform: uppercase; }
.profile-guide__xp-stage .game-v2__hero-level strong,.profile-guide__live-ranks .game-v2__hero-level strong { color: #fff; font-size: 16px; }
.profile-guide__xp-stage .game-v2__hero-level span:not(.game-v2__level-orbit),.profile-guide__live-ranks .game-v2__hero-level span:not(.game-v2__level-orbit) { color: #e1eeec; font-size: 9px; }
.profile-guide__xp-stage .game-v2__hero-level progress,.profile-guide__live-ranks .game-v2__hero-level progress { display: block; width: 100%; height: 6px; margin-top: 14px; accent-color: #ff9362; }
.profile-guide__xp-stage .game-v2__hero-level p,.profile-guide__live-ranks .game-v2__hero-level p { margin: 4px 0 0; color: #e1eeec; font-size: 9px; }
.profile-guide__xp-stage .game-v2__section { margin: 18px 0 0; }
.profile-guide__xp-stage .game-v2__section-head { margin-bottom: 9px; }
.profile-guide__xp-stage .game-v2__section-head .game-v2__eyebrow { margin: 0; font-size: 8px; }
.profile-guide__xp-stage .game-v2__section-head h2 { margin: 2px 0 0; font-size: 17px; }
.profile-guide__xp-stage .game-v2__section-mark { font-size: 8px; }
.profile-guide__xp-stage .game-v2__level-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 12px; padding: 11px 14px; border: 1px solid #f1d8c9; border-radius: 12px; background: linear-gradient(105deg,#fff7ef,#fffdf9); }
.profile-guide__xp-stage .game-v2__level-panel div:first-child { display: grid; gap: 1px; }
.profile-guide__xp-stage .game-v2__level-panel small,.profile-guide__xp-stage .game-v2__level-panel span { color: #9a6c54; font-size: 8px; }
.profile-guide__xp-stage .game-v2__level-panel strong { font-size: 12px; }
.profile-guide__xp-stage .game-v2__level-panel-track { display: flex; align-items: center; gap: 5px; }
.profile-guide__xp-stage .game-v2__level-panel progress { width: 100%; height: 6px; margin: 0; accent-color: #ff9362; }
.profile-guide__xp-stage .game-v2__rank-ladder { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin: 8px 0 0; }
.profile-guide__xp-stage .game-v2__rank-ladder article { display: grid; min-width: 0; gap: 2px; padding: 8px; border: 1px solid #e5ebe8; border-radius: 10px; background: #fff; }
.profile-guide__xp-stage .game-v2__rank-ladder article.is-current { border-color: #ef7c4c; background: #fff5ee; }
.profile-guide__xp-stage .game-v2__rank-ladder strong { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.profile-guide__xp-stage .game-v2__rank-ladder small,.profile-guide__xp-stage .game-v2__rank-step { font-size: 7px; }
.profile-guide__xp-stage .profile-guide__xp-rules { margin-top: 14px; padding: 12px 14px; border: 1px solid #e5ebe8; border-radius: 12px; background: #fff; }
.profile-guide__xp-stage .profile-guide__xp-rules h3 { margin: 0 0 3px; font-size: 13px; }
.profile-guide__xp-stage .profile-guide__xp-rules p { margin: 0 0 4px; font-size: 9px; }
.profile-guide__xp-stage .game-v2__rule-list { display: grid; max-height: none; }
.profile-guide__xp-stage .game-v2__rule-list > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e5ebe8; font-size: 9px; }
.profile-guide__xp-stage .game-v2__rule-list strong { color: #d76337; white-space: nowrap; }

.profile-guide__live-reputation.game-v2 { padding: 24px 27px; }
.profile-guide__live-reputation .game-v2__section-head { margin-bottom: 19px; }
.profile-guide__live-reputation .game-v2__section-head h2 { margin: 4px 0; font-size: 23px; }
.profile-guide__live-reputation .game-v2__section-head p:last-child { max-width: 480px; font-size: 11px; }
.profile-guide__live-reputation .game-v2__explain-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.profile-guide__live-reputation .game-v2__surface { min-width: 0; padding: 16px; border: 1px solid #e5ebe8; border-radius: 17px; background: #fff; }
.profile-guide__live-reputation .profile-guide__reputation-score { display: block; width: auto; margin: 0; text-align: left; }
.profile-guide__live-reputation .profile-guide__reputation-score > span,.profile-guide__live-reputation .profile-guide__reputation-items > span { display: block; border: 0; background: none; color: #71818b; font-size: 10px; }
.profile-guide__live-reputation .profile-guide__reputation-score > strong { display: block; margin: 5px 0; color: #1e323b; font-size: 29px; line-height: 1; }
.profile-guide__live-reputation .profile-guide__reputation-score progress { width: 100%; height: 7px; margin: 8px 0; accent-color: #ff9362; }
.profile-guide__live-reputation .profile-guide__reputation-score h3 { margin: 2px 0 6px; font-size: 14px; }
.profile-guide__live-reputation .game-v2__surface p { margin: 0; color: #71818b; font-size: 10px; line-height: 1.45; }
.profile-guide__live-reputation .game-v2__details { margin-top: 13px; }
.profile-guide__live-reputation .game-v2__details summary { color: #b64e2b; font-size: 9px; }
.profile-guide__live-reputation .profile-guide__reputation-items { display: block; width: auto; margin: 0; }
.profile-guide__live-reputation .profile-guide__reputation-items strong { display: block; margin: 7px 0; color: #1e323b; font-size: 29px; }

@media (max-width: 850px) {
    .profile-guide__profile-desktop { display: none !important; }
    .profile-guide__profile-mobile.profile-app-hero { display: block !important; height: 100%; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff; box-shadow: none !important; }
    .profile-guide__profile-mobile .profile-app-hero__cover { height: 36% !important; }
    .profile-guide__profile-mobile .profile-app-hero__top-actions { top: 7px; right: 9px; gap: 6px; }
    .profile-guide__profile-mobile .profile-app-hero__glass-action { width: 27px; height: 27px; }
    .profile-guide__profile-mobile .profile-app-hero__glass-action svg,.profile-guide__profile-mobile .profile-app-hero__glass-action img { width: 14px; height: 14px; }
    .profile-guide__profile-mobile .profile-app-hero__edit-cover { right: 9px; bottom: 9px; min-height: 25px; padding: 0 8px; font-size: 8px; }
    .profile-guide__profile-mobile .profile-app-hero__edit-cover svg { width: 12px; height: 12px; }
    .profile-guide__profile-mobile .profile-app-hero__identity { padding: 0 12px 10px; }
    .profile-guide__profile-mobile .profile-app-hero__avatar-row { min-height: 42px; }
    .profile-guide__profile-mobile .profile-app-avatar { width: 78px; height: 78px; margin-top: -38px; padding: 0; background: transparent; box-shadow: none; }
    .profile-guide__profile-mobile .profile-app-avatar__ring { display: block; }
    .profile-guide__profile-mobile .profile-app-avatar__photo { width: 68px; height: 68px; border-width: 3px; }
    .profile-guide__profile-mobile .profile-app-avatar__photo img { width: 100%; height: 100%; border: 0; }
    .profile-guide__profile-mobile .profile-app-rank { min-height: 21px; gap: 4px; margin-top: 0; padding: 0 7px; }
    .profile-guide__profile-mobile .profile-app-rank svg { width: 11px; height: 11px; }
    .profile-guide__profile-mobile .profile-app-rank strong,.profile-guide__profile-mobile .profile-app-rank small { font-size: 8px; }
    .profile-guide__profile-mobile .profile-app-rank > span { height: 10px; }
    .profile-guide__profile-mobile .profile-app-hero__name-row { gap: 6px; margin-top: 5px; }
    .profile-guide__profile-mobile .profile-app-hero__name-block { padding-top: 0; }
    .profile-guide__profile-mobile .profile-app-hero__name-block h1 { overflow: hidden; font-size: 16px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
    .profile-guide__profile-mobile .profile-app-hero__name-block p { margin-top: 0; font-size: 9px; line-height: 1.3; }
    .profile-guide__profile-mobile .profile-app-reputation { width: 83px; min-height: 39px; flex: 0 0 83px; padding: 4px 6px; border-color: #d8e7e0; border-radius: 8px; background: #f2f8f5; }
    .profile-guide__profile-mobile .profile-app-reputation small { color: #35594c; font-size: 6px; }
    .profile-guide__profile-mobile .profile-app-reputation strong { color: #193a31; font-size: 11px; }
    .profile-guide__profile-mobile .profile-app-reputation em,.profile-guide__profile-mobile .profile-app-reputation b { color: #5e7b70; font-size: 6px; }
    .profile-guide__profile-mobile .profile-app-reputation i { height: 3px; margin-top: 3px; }
    .profile-guide__profile-mobile .profile-app-hero__location { min-height: 13px; gap: 3px; margin-top: 3px; font-size: 9px; }
    .profile-guide__profile-mobile .profile-app-hero__location svg { width: 12px; height: 12px; }
    .profile-guide__profile-mobile .profile-app-hero__bio { margin-top: 4px; font-size: 9px; line-height: 1.3; }
    .profile-guide__profile-mobile .profile-app-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 5px; padding: 3px 0; border: 0; }
    .profile-guide__profile-mobile .profile-app-metrics > :is(button,span) { min-height: 33px; padding: 0 1px; }
    .profile-guide__profile-mobile .profile-app-metrics strong { font-size: 13px; line-height: 1.15; }
    .profile-guide__profile-mobile .profile-app-metrics :is(button,span) > span { color: #7b8491; font-size: 7px; line-height: 1.2; }
    .profile-guide__profile-mobile .profile-app-actions { min-height: 28px; gap: 6px; margin-top: 4px; }
    .profile-guide__profile-mobile .profile-app-actions__primary { min-height: 28px; padding: 0 6px; border-radius: 8px; font-size: 9px; }
    .profile-guide__profile-mobile .profile-app-actions__primary svg { width: 13px; height: 13px; }
    .profile-guide__profile-mobile .profile-app-actions__primary--neutral { border-color: #e5e7eb; background: #f7f7f7; color: #111827; }
    .profile-guide__profile-mobile .profile-app-actions__primary--follow { border-color: #f97316; background: #f97316; color: #fff; }
    .profile-guide__profile-mobile .profile-app-featured-award { min-height: 69px; gap: 8px; margin-top: 7px; padding: 7px; border-radius: 11px; }
    .profile-guide__profile-mobile .profile-app-featured-award__art { width: 54px; height: 54px; flex: 0 0 54px; border: 1px solid #e7d1bf; border-radius: 11px; background: #ffeee4; }
    .profile-guide__profile-mobile .profile-app-featured-award__art img { width: 54px; height: 54px; }
    .profile-guide__profile-mobile .profile-app-featured-award__copy { padding-right: 11px; }
    .profile-guide__profile-mobile .profile-app-featured-award__copy small { font-size: 7px; }
    .profile-guide__profile-mobile .profile-app-featured-award__copy strong { margin-top: 2px; font-size: 11px; line-height: 1.1; }
    .profile-guide__profile-mobile .profile-app-featured-award__copy span,.profile-guide__profile-mobile .profile-app-featured-award__copy em { margin-top: 1px; font-size: 8px; line-height: 1.15; }
    .profile-guide__profile-mobile .profile-app-featured-award__chevron { right: 5px; width: 13px; height: 13px; }
    .profile-guide__live-achievements.profile-achievements { padding: 15px !important; }
    .profile-guide__live-achievements .profile-achievements__head h2 { font-size: 19px; }
    .profile-guide__live-achievements .profile-achievements__all { padding: 6px 8px; font-size: 9px; }
    .profile-guide__live-achievements .profile-achievements__featured { display: flex; gap: 8px; margin: 15px 0; overflow-x: auto; }
    .profile-guide__live-achievements .profile-achievements__badge { width: 72px !important; flex: 0 0 72px !important; }
    .profile-guide__live-achievements .profile-achievements__badge img { width: 64px !important; height: 64px !important; margin: 0 auto 4px !important; }
    .profile-guide__live-achievements .profile-achievements__badge-category { font-size: 7px !important; }
    .profile-guide__live-achievements .profile-achievements__badge strong { font-size: 8px !important; }
    .profile-guide__live-achievements .profile-achievements__categories { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
    .profile-guide__live-achievements .profile-achievements__category { padding: 6px; }
    .profile-guide__live-achievements .profile-achievements__category small { font-size: 7px; }
    .profile-guide__live-achievements .profile-guide__achievement-progress { margin-top: 8px; padding: 7px; }
    .profile-guide__xp-stage.game-v2 { padding: 9px; }
    .profile-guide__xp-stage .game-v2__hero { display: block; min-height: 0; padding: 12px; }
    .profile-guide__xp-stage .game-v2__hero h1 { font-size: 18px; }
    .profile-guide__xp-stage .game-v2__hero-copy > p:last-of-type { font-size: 8px; }
    .profile-guide__xp-stage .game-v2__nav { display: none; }
    .profile-guide__xp-stage .game-v2__hero-level { margin-top: 9px; padding: 8px; }
    .profile-guide__xp-stage .game-v2__level-orbit { width: 31px; height: 31px; font-size: 13px; }
    .profile-guide__xp-stage .game-v2__hero-level strong { font-size: 12px; }
    .profile-guide__xp-stage .game-v2__hero-level progress { margin-top: 7px; }
    .profile-guide__xp-stage .game-v2__section { margin-top: 10px; }
    .profile-guide__xp-stage .game-v2__level-panel { display: flex; align-items: center; justify-content: space-between; padding: 8px; }
    .profile-guide__xp-stage .game-v2__level-panel-track { min-width: 70px; }
    .profile-guide__xp-stage .game-v2__rank-ladder { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .profile-guide__xp-stage .game-v2__rank-ladder article { padding: 5px 3px; }
    .profile-guide__xp-stage .game-v2__rank-ladder strong { font-size: 7px; }
    .profile-guide__xp-stage .game-v2__rank-ladder small { font-size: 6px; }
    .profile-guide__xp-stage .profile-guide__xp-rules { margin-top: 8px; padding: 8px; }
    .profile-guide__live-reputation.game-v2 { padding: 15px; }
    .profile-guide__live-reputation .game-v2__section-head { margin-bottom: 12px; }
    .profile-guide__live-reputation .game-v2__section-head h2 { font-size: 19px; }
    .profile-guide__live-reputation .game-v2__section-head p:last-child { font-size: 9px; }
    .profile-guide__live-reputation .game-v2__explain-grid { grid-template-columns: 1fr; gap: 8px; }
    .profile-guide__live-reputation .game-v2__surface { padding: 11px; }
    .profile-guide__live-reputation .profile-guide__reputation-score > strong,.profile-guide__live-reputation .profile-guide__reputation-items strong { font-size: 23px; }
    .profile-guide__live-reputation .game-v2__surface p { font-size: 9px; }
}

@media (max-width: 360px) {
    .profile-guide__profile-mobile .profile-app-hero__name-block h1 { font-size: 14px; }
    .profile-guide__profile-mobile .profile-app-reputation { width: 75px; flex-basis: 75px; }
    .profile-guide__profile-mobile .profile-app-hero__cover { height: 32% !important; }
    .profile-guide__live-achievements .profile-achievements__badge { width: 60px !important; flex-basis: 60px !important; }
    .profile-guide__live-achievements .profile-achievements__badge img { width: 54px !important; height: 54px !important; }
}

html[data-theme="dark"] .profile-guide__profile-mobile.profile-app-hero,
html[data-theme="dark"] .profile-guide__profile-mobile .profile-app-hero__identity,
html[data-theme="dark"] .profile-guide__profile-desktop,
html[data-theme="dark"] .profile-guide__xp-stage.game-v2 { background: #1b2b39; color: #eef3f6; }
html[data-theme="dark"] .profile-guide__profile-mobile .profile-app-hero__name-block h1,
html[data-theme="dark"] .profile-guide__profile-mobile .profile-app-metrics strong,
html[data-theme="dark"] .profile-guide__profile-desktop .profile-hero-stat strong,
html[data-theme="dark"] .profile-guide__desktop-tabs b,
html[data-theme="dark"] .profile-guide__live-achievements .profile-achievements__head h2,
html[data-theme="dark"] .profile-guide__live-achievements .profile-achievements__badge,
html[data-theme="dark"] .profile-guide__xp-stage .game-v2__section-head h2,
html[data-theme="dark"] .profile-guide__live-reputation .profile-guide__reputation-score > strong,
html[data-theme="dark"] .profile-guide__live-reputation .profile-guide__reputation-items strong { color: #f1f5f7; }
html[data-theme="dark"] .profile-guide__profile-mobile .profile-app-hero__bio { color: #c1ccd5; }
html[data-theme="dark"] .profile-guide__profile-desktop .profile-hero-stats-card,
html[data-theme="dark"] .profile-guide__live-achievements .profile-achievements__category,
html[data-theme="dark"] .profile-guide__xp-stage .game-v2__rank-ladder article,
html[data-theme="dark"] .profile-guide__xp-stage .profile-guide__xp-rules,
html[data-theme="dark"] .profile-guide__live-reputation .game-v2__surface { border-color: #3b4b58; background: #263847; }
html[data-theme="dark"] .profile-guide__live-achievements .profile-guide__achievement-progress { border-color: #3b4b58; background: #263847; }
html[data-theme="dark"] .profile-guide__xp-stage .game-v2__level-panel { border-color: #6a4838; background: #3b302e; }

/* The route, folder and album walkthroughs reuse the live site's component
   structure; only their containing viewport is condensed for the story. */
.profile-guide__live-routes .profile-route-experience__header { margin-bottom: 13px; }
.profile-guide__live-routes .profile-route-experience__title { font-size: 23px; }
.profile-guide__live-routes .profile-route-experience__summary { margin-top: 4px; font-size: 11px; }
.profile-guide__live-routes .profile-route-experience__tabs { margin-bottom: 10px; }
.profile-guide__live-routes .profile-route-grid { gap: 12px !important; }
.profile-guide__live-routes .profile-route-card { flex-basis: min(47%,248px) !important; }
.profile-guide__live-routes .profile-route-card__activity { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: #fff; }
.profile-guide__live-routes .profile-route-card__activity img { width: 17px; height: 17px; }
.profile-guide__live-routes .profile-route-card__altitude svg { display: block; width: 100%; height: 23px; }
.profile-guide__live-routes .profile-route-card__altitude-line { fill: none; stroke: #ff6b2d; stroke-width: 2; }
.profile-guide__live-routes .profile-route-card__altitude-fill { fill: #ff6b2d17; }

.profile-guide__live-library { padding: 0; }
.profile-guide__live-library .route-library__dialog { width: 100%; height: 100%; max-height: none; transform: none; border: 0; border-radius: 0; box-shadow: none; }
.profile-guide__live-library .route-library__header { min-height: 72px; padding: 10px 17px; }
.profile-guide__live-library .route-library__header h2 { font-size: 23px; }
.profile-guide__live-library .route-library__header p { font-size: 8px; }
.profile-guide__live-library .route-library__header span { margin-top: 4px; font-size: 10px; }
.profile-guide__live-library .route-library__close { width: 32px; height: 32px; flex-basis: 32px; }
.profile-guide__live-library .route-library__close img { width: 14px; height: 14px; }
.profile-guide__live-library .route-library__layout { grid-template-columns: 160px minmax(0,1fr); }
.profile-guide__live-library .route-library__sidebar { padding: 13px 8px 10px 12px; }
.profile-guide__live-library .route-library__sidebar-title h3 { font-size: 14px; }
.profile-guide__live-library .route-library__sidebar-add { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #e6e9ee; border-radius: 50%; background: #f8fafc; color: #526074; font-size: 17px; }
.profile-guide__live-library .route-library__folder-row { min-height: 36px; }
.profile-guide__live-library .route-library__folder-select { gap: 6px; padding: 0 6px; }
.profile-guide__live-library .route-library__folder-select img { width: 16px; height: 16px; }
.profile-guide__live-library .route-library__folder-select strong { font-size: 10px; }
.profile-guide__live-library .route-library__folder-row small { padding-right: 5px; font-size: 9px; }
.profile-guide__live-library .route-library__folder-group-label { margin: 7px 5px 3px; font-size: 8px; }
.profile-guide__live-library .route-library__new-folder { min-height: 34px; font-size: 10px; }
.profile-guide__live-library .route-library__hint { padding-top: 7px; font-size: 8px; }
.profile-guide__live-library .route-library__content { padding: 12px 14px; }
.profile-guide__live-library .route-library__breadcrumb { font-size: 9px; }
.profile-guide__live-library .route-library__folder-mark { width: 37px; height: 37px; flex-basis: 37px; border-radius: 10px; }
.profile-guide__live-library .route-library__folder-mark img { width: 18px; height: 18px; }
.profile-guide__live-library .route-library__folder-copy h3 { font-size: 18px; }
.profile-guide__live-library .route-library__folder-copy p { font-size: 9px; }
.profile-guide__live-library .route-library__map-button { min-height: 30px; padding: 0 7px; font-size: 9px; }
.profile-guide__live-library .route-library__map-button img { width: 13px; height: 13px; }
.profile-guide__live-library .route-library__toolbar { grid-template-columns: minmax(0,1fr) 124px; gap: 6px; margin-top: 10px; }
.profile-guide__live-library .route-library__search,.profile-guide__live-library .route-library__sort { min-height: 31px; }
.profile-guide__live-library .route-library__search input,.profile-guide__live-library .route-library__sort select { padding: 0 8px; font-size: 9px; }
.profile-guide__live-library .route-library__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 9px; }
.profile-guide__live-library .route-library-card__media { height: 98px; }
.profile-guide__live-library .route-library-card__body { padding: 7px 8px; }
.profile-guide__live-library .route-library-card__body h4 { font-size: 10px; }
.profile-guide__live-library .route-library-card__meta,.profile-guide__live-library .route-library-card__difficulty { font-size: 8px; }
.profile-guide__live-library .route-library-card__spark { height: 19px; margin-top: 2px; }
.profile-guide__live-library .route-library-card__folder { width: 29px; height: 29px; }
.profile-guide__live-library .route-library-card__folder img { width: 14px; height: 14px; }

.profile-guide__live-photos { overflow: hidden; }
.profile-guide__live-photos .profile-app-tabs { display: flex; gap: 17px; overflow: hidden; margin: -4px 0 14px; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.profile-guide__live-photos .profile-app-tabs span { position: relative; flex: 0 0 auto; padding: 0 0 10px; color: #7b8491; font-size: 11px; font-weight: 500; }
.profile-guide__live-photos .profile-app-tabs span.is-active { color: #111827; font-weight: 700; }
.profile-guide__live-photos .profile-app-tabs span.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #f97316; content: ""; }
.profile-guide__demo-albums-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.profile-guide__demo-albums-head .profile-photos-eyebrow { margin: 0 0 2px; color: #f97316; font-size: 9px; }
.profile-guide__demo-albums-head h3 { margin: 0; color: #111827; font-size: 20px; font-weight: 900; }
.profile-guide__demo-albums-head button { border: 0; background: transparent; color: #9ca3af; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.profile-guide__live-photos .profile-photo-collage { display: flex; gap: 10px; overflow: hidden; }
.profile-guide__live-photos .profile-photo-collage__item { min-width: 0; flex: 1; }
.profile-guide__live-photos .profile-photo-collage__image { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; border: 1px solid #f1f5f9; border-radius: 20px; }
.profile-guide__live-photos .profile-photo-collage__image > img { width: 100%; height: 100%; object-fit: cover; }
.profile-guide__live-photos .profile-photo-collage__image > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; background: linear-gradient(0deg,#000c,transparent 78%); }
.profile-guide__live-photos .profile-album-card-title { overflow: hidden; margin: 0; color: #fff; font-size: 11px; font-style: italic; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.profile-guide__live-photos .profile-photo-collage__image p { margin: 2px 0 0; color: #e5e7eb; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.profile-guide__demo-post { margin-top: 11px; overflow: hidden; border: 1px solid #f1f5f9; border-radius: 20px; background: #fff; }
.profile-guide__demo-post .feed-card-topbar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; }
.profile-guide__demo-post .feed-card-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.profile-guide__demo-post .feed-card-topbar span { display: grid; flex: 1; gap: 2px; }
.profile-guide__demo-post .feed-card-topbar strong { color: #111827; font-size: 10px; }
.profile-guide__demo-post .feed-card-topbar small { color: #94a3b8; font-size: 8px; }
.profile-guide__demo-post .feed-card-topbar b { border-radius: 8px; background: #fff7ed; padding: 5px 6px; color: #ea580c; font-size: 8px; }
.profile-guide__demo-post-cover { width: 100%; height: 99px; object-fit: cover; }
.profile-guide__demo-post .feed-card-body { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; padding: 8px 10px; }
.profile-guide__demo-post .feed-card-body h3 { flex: 1 0 100%; margin: 0; color: #111827; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.profile-guide__demo-post .feed-card-body p { flex: 1; margin: 0; color: #64748b; font-size: 9px; }
.profile-guide__demo-post .feed-card-body button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 4px 7px; color: #64748b; font-size: 9px; font-weight: 800; }
.profile-guide__demo-post .feed-card-body button img { width: 12px; height: 12px; }

@media (max-width: 600px) {
    .profile-guide__live-routes .profile-route-experience__title { font-size: 17px; }
    .profile-guide__live-routes .profile-route-experience__summary { font-size: 9px; }
    .profile-guide__live-routes .profile-route-experience__tab { min-height: 31px !important; padding: 0 8px !important; font-size: 9px !important; }
    .profile-guide__live-routes .profile-route-card { flex-basis: min(74%,250px) !important; }
    .profile-guide__live-routes .profile-route-card__media { aspect-ratio: 1.8/1 !important; }
    .profile-guide__live-routes .profile-route-card__body { padding: 8px 10px !important; }
    .profile-guide__live-routes .profile-route-card__title { font-size: 11px; }
    .profile-guide__live-routes .profile-route-card__location { margin-top: 3px; font-size: 9px; }
    .profile-guide__live-routes .profile-route-card__metrics { margin-top: 5px !important; font-size: 9px; }
    .profile-guide__live-routes .profile-route-card__altitude { margin-top: 5px !important; }

    .profile-guide__live-library .route-library__header { min-height: 58px; padding: 7px 11px; }
    .profile-guide__live-library .route-library__header h2 { font-size: 20px; }
    .profile-guide__live-library .route-library__header span { font-size: 9px; }
    .profile-guide__live-library .route-library__layout { display: block; }
    .profile-guide__live-library .route-library__sidebar { position: absolute; z-index: 10; inset: 58px 0 0; display: none; flex-direction: column; align-items: stretch; min-width: 0; background: #fff; padding: 10px 14px; }
    .profile-guide__live-library.is-folder-list-open .route-library__sidebar { display: flex; }
    .profile-guide__live-library .route-library__sidebar-title h3 { font-size: 16px; }
    .profile-guide__live-library .route-library__folder-tree { flex: 0 0 auto; width: 100%; }
    .profile-guide__live-library .route-library__folder-row { min-height: 40px; }
    .profile-guide__live-library .route-library__folder-select strong { font-size: 12px; }
    .profile-guide__live-library .route-library__new-folder { width: 100%; margin-top: 9px; font-size: 12px; }
    .profile-guide__live-library .route-library__content { height: 100%; padding: 7px 12px; }
    .profile-guide__live-library .route-library__mobile-back-row { display: flex; min-height: 25px; font-size: 11px; font-weight: 800; }
    .profile-guide__live-library .route-library__folder-heading { margin-top: 3px; }
    .profile-guide__live-library .route-library__folder-copy h3 { font-size: 15px; }
    .profile-guide__live-library .route-library__toolbar { grid-template-columns: 1fr; margin-top: 7px; }
    .profile-guide__live-library .route-library__sort { display: none; }
    .profile-guide__live-library .route-library__grid { display: flex; flex-direction: column; gap: 6px; margin-top: 7px; }
    .profile-guide__live-library .route-library-card { display: grid; width: 100%; min-height: 82px; grid-template-columns: 92px minmax(0,1fr); }
    .profile-guide__live-library .route-library-card__media { height: 82px; }
    .profile-guide__live-library .route-library-card__body h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; white-space: normal; }
    .profile-guide__live-library .route-library-card__folder { top: 5px; left: 58px; }

    .profile-guide__live-photos .profile-app-tabs { gap: 12px; margin-bottom: 8px; }
    .profile-guide__live-photos .profile-app-tabs span { padding-bottom: 7px; font-size: 9px; }
    .profile-guide__demo-albums-head { margin-bottom: 7px; }
    .profile-guide__demo-albums-head .profile-photos-eyebrow { display: none; }
    .profile-guide__demo-albums-head h3 { font-size: 17px; }
    .profile-guide__demo-albums-head button { font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: none; }
    .profile-guide__live-photos .profile-photo-collage { gap: 7px; }
    .profile-guide__live-photos .profile-photo-collage__image { border-radius: 14px; }
    .profile-guide__live-photos .profile-photo-collage__image > div { padding: 7px; }
    .profile-guide__live-photos .profile-album-card-title { font-size: 8px; }
    .profile-guide__demo-post { margin-top: 7px; }
    .profile-guide__demo-post-cover { height: 70px; }
}

html[data-theme="dark"] .profile-guide__live-library .route-library__dialog,
html[data-theme="dark"] .profile-guide__live-library .route-library__sidebar,
html[data-theme="dark"] .profile-guide__demo-post { background: #111a28; }
html[data-theme="dark"] .profile-guide__live-library .route-library__sidebar-add,
html[data-theme="dark"] .profile-guide__live-library .route-library__close { border-color: #344154; background: #182334; color: #e2e8f0; }
html[data-theme="dark"] .profile-guide__live-library .route-library__close img { filter: brightness(0) invert(1); }
html[data-theme="dark"] .profile-guide__live-library .route-library__folder-row:not(.is-active),
html[data-theme="dark"] .profile-guide__live-library .route-library__folder-row:not(.is-active) strong { color: #cbd5e1; }
html[data-theme="dark"] .profile-guide__live-routes .profile-route-card { border-color: #344154; background: #182334; }
html[data-theme="dark"] .profile-guide__live-routes .profile-route-card__title,
html[data-theme="dark"] .profile-guide__live-routes .profile-route-experience__title { color: #f8fafc; }
html[data-theme="dark"] .profile-guide__live-routes .profile-route-card__location,
html[data-theme="dark"] .profile-guide__live-routes .profile-route-card__metrics { color: #cbd5e1; }
html[data-theme="dark"] .profile-guide__live-routes .profile-route-experience__tab { background: #182334 !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .profile-guide__live-routes .profile-route-experience__tab.is-active { color: #fff !important; border-bottom-color: #f97316 !important; }
html[data-theme="dark"] .profile-guide__live-photos .profile-app-tabs,
html[data-theme="dark"] .profile-guide__demo-post { border-color: #344154; }
html[data-theme="dark"] .profile-guide__live-photos .profile-app-tabs span.is-active,
html[data-theme="dark"] .profile-guide__demo-albums-head h3,
html[data-theme="dark"] .profile-guide__demo-post .feed-card-topbar strong,
html[data-theme="dark"] .profile-guide__demo-post .feed-card-body h3 { color: #f8fafc; }
html[data-theme="dark"] .profile-guide__demo-post .feed-card-body button { border-color: #344154; background: #182334; color: #cbd5e1; }
