/* Quiet kinetic surfaces, shared by both themes. */
.visit-rhythm{margin-top:20px;color:var(--rhythm);font-size:12px}.visit-rhythm>div:first-child{display:flex;justify-content:space-between;gap:12px}.visit-rhythm small{display:block;margin-top:9px;color:var(--text-muted,#91a6af)}.visit-track{height:6px;border-radius:10px;background:#79929d20;margin:12px 0;overflow:hidden}.visit-track i{display:block;height:100%;border-radius:inherit;background:var(--rhythm);box-shadow:0 0 12px var(--rhythm);transition:width 1.2s ease;position:relative}.visit-track i:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff80,transparent);animation:rhythm-flow 5s ease-in-out infinite}.visit-days{display:flex;justify-content:space-between;color:var(--text-muted,#91a6af)}.visit-days .is-active{color:var(--rhythm)}@keyframes rhythm-flow{0%,100%{opacity:.15}50%{opacity:.9}}
.card-customizer>p,.card-customizer>small{line-height:1.6;color:var(--text-secondary,#a9bdc7)}.card-customizer h3{margin:28px 0 8px}.card-art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card-art-grid button{min-width:0;border:1px solid #7b9ca63d;border-radius:18px;background:#7b9ca60b;color:inherit;padding:8px 8px 16px;cursor:pointer}.card-art-grid button[aria-pressed=true]{border-color:#63d9c5;box-shadow:inset 0 0 28px #63d9c51a}.card-art-grid canvas,.card-art-grid img{width:100%;height:150px;object-fit:contain;display:block}.card-art-grid b{font-size:12px}.card-photo-upload{display:block;border:1px dashed #5eaa9b;border-radius:16px;padding:18px;margin:20px 0 8px;cursor:pointer}.card-photo-upload input{display:block;max-width:100%;margin-top:12px}.card-apply{margin-top:14px}.player-card-backdrop>img{position:absolute;right:0;top:0;height:100%;width:55%;object-fit:contain}.player-card-backdrop>img.card-custom-image{width:100%;object-fit:cover;opacity:.65}.player-card-backdrop>canvas[data-jarvis-network]{position:absolute;right:-10%;top:-10%;width:75%;height:120%}.player-card:has(.has-photo){isolation:isolate}.player-card-backdrop.has-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07151beF,#07151b95 60%,#07151b33)}
.home-pulse{margin:40px 0 24px;padding:28px 0;border-top:1px solid #809ca333}.home-pulse header{display:flex;justify-content:space-between;align-items:end;gap:20px}.home-pulse h2{font-size:clamp(23px,3vw,36px);font-weight:500;letter-spacing:-.035em;margin:12px 0}.home-pulse header>span{max-width:160px;font-size:12px;line-height:1.5;color:var(--text-secondary,#91a6af)}.video-transcript{border:1px solid #69cdb877;border-radius:16px;padding:18px;margin:20px 0;background:#6bd9c60a}.video-transcript legend{font-weight:600;padding:0 8px}.video-transcript p{line-height:1.6;font-size:12px}.video-transcript textarea{width:100%;min-height:220px;resize:vertical}.light-theme .player-card-backdrop.has-photo:after{background:linear-gradient(90deg,#f5fafbef,#f5fafbb0 60%,#f5fafb33)}.light-theme .home-pulse header p{color:#267c8f}
@media(max-width:700px){.card-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-art-grid canvas,.card-art-grid img{height:130px}.home-pulse header{display:block}.home-pulse header>span{max-width:none}.player-card-backdrop>canvas[data-jarvis-network]{right:-25%;width:110%}.home-pulse{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.visit-track i:after{animation:none!important}}




/* Chronological vertical feed. One player per post; no carousel. */
.pulse-feed{display:flex;flex-direction:column;gap:28px;width:min(100%,720px);margin:28px auto 0}
.pulse-post{min-width:0;border:1px solid #7d9eaa30;border-radius:24px;background:#0d1c23;overflow:hidden;box-shadow:0 12px 36px #00000012}
.home-pulse .pulse-post-header{display:flex;align-items:center;gap:12px;padding:22px 24px 0}
.pulse-author-avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;border:1px solid #76decb66;background:#68d6c312;color:#9ceadd;font-size:17px;font-weight:600}
.pulse-post-header>div{display:flex;flex-direction:column;gap:4px}.pulse-post-header b{font-size:12px;letter-spacing:.16em;color:#e6f0f3}.pulse-post-header>div>span{font-size:11px;color:#91a6af}
.pulse-post-header time{margin-left:auto;font-size:11px;color:#91a6af;line-height:1.5;text-align:right}
.pulse-post-copy{padding:20px 24px}.pulse-post-copy h3{margin:0 0 8px;font-size:clamp(22px,3vw,29px);font-weight:500;letter-spacing:-.025em;color:#e9f3f5}.pulse-post-copy p{margin:0;font-size:14px;line-height:1.6;color:#abbcc4}
.pulse-feed-video{display:block;width:100%;aspect-ratio:4/5;max-height:650px;max-height:min(72svh,650px);background:#071218;object-fit:contain}
.pulse-post footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;color:#8fa8b2;font-size:10px;letter-spacing:.12em}.pulse-media-error{padding:16px 24px;color:#efaaa2;font-size:13px;line-height:1.5}
.light-theme .pulse-post{background:#fff;border-color:#cdd6e4;box-shadow:0 10px 30px #293e5b08}.light-theme .pulse-post-copy h3,.light-theme .pulse-post-header b{color:#243249}.light-theme .pulse-post-copy p,.light-theme .pulse-post-header time,.light-theme .pulse-post-header>div>span,.light-theme .pulse-post footer{color:#5b6d82}.light-theme .pulse-author-avatar{background:#eaf3f7;color:#24778a;border-color:#a8ccd3}
@media(max-width:700px){.pulse-feed{gap:20px;margin-top:22px}.pulse-post{border-radius:18px}.home-pulse .pulse-post-header{display:flex;padding:18px 16px 0;gap:10px}.pulse-post-header time{max-width:100px;font-size:10px}.pulse-post-copy{padding:18px 16px}.pulse-post-copy p{font-size:13px}.pulse-post footer{padding:14px 16px;font-size:9px}.pulse-author-avatar{width:34px;height:34px;flex-basis:34px}.pulse-post-header>div>span{font-size:10px}}

/* Card editor uses the same profile surfaces as the reward collection. */
#profileEditorContent:has(.card-customizer),#profileEditorContent:has(.neural-form-detail),#profileEditorContent:has(.rank-detail),#profileEditorContent:has(.profile-achievement-dialog){background:var(--pf-bg);color:var(--pf-text);border-color:var(--pf-line)}
#profileEditorContent:has(.card-customizer){width:min(100%,880px)}
#profileEditorContent:has(.card-customizer) .form-eyebrow{color:var(--pf-accent)}
.card-customizer>p,.card-customizer>small{color:var(--pf-muted)}.card-customizer>p{font-size:14px}.card-customizer>small{display:block;font-size:11px}.card-customizer h3{font-size:18px;margin-top:32px}.card-art-grid button{background:var(--pf-card);border-color:var(--pf-line);transition:border-color .2s,background .2s;position:relative}.card-art-grid button:hover{border-color:var(--pf-accent)}.card-art-grid button[aria-pressed=true]{border-color:var(--pf-accent);background:var(--pf-soft);box-shadow:none}.card-art-grid button[aria-pressed=true]:after{content:'✓';position:absolute;top:10px;right:10px;width:22px;height:22px;border-radius:50%;background:var(--pf-accent);color:var(--pf-bg);display:grid;place-items:center;font-size:12px}
.card-photo-upload{position:relative;display:flex;align-items:center;gap:16px;padding:22px;border:1px dashed var(--pf-line);background:linear-gradient(120deg,var(--pf-soft),var(--pf-bg));color:var(--pf-accent);transition:border-color .2s}.card-photo-upload:hover{border-color:var(--pf-accent)}.card-photo-upload:focus-within{outline:2px solid var(--pf-accent);outline-offset:4px}.card-photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.card-upload-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--pf-line);border-radius:12px;font-size:27px;flex-shrink:0}.card-upload-copy{display:grid;gap:6px;min-width:0}.card-upload-copy b{font-size:14px;font-weight:500}.card-upload-copy small{color:var(--pf-muted);font-size:11px;line-height:1.5}.card-upload-arrow{margin-left:auto;font-size:22px}
.card-reward-apply{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin:18px 0 0;background:var(--pf-accent);color:var(--pf-bg);border:1px solid var(--pf-accent);border-radius:12px;font-size:14px}.card-reward-apply:disabled{opacity:1;background:var(--pf-soft);color:var(--pf-accent);border-color:var(--pf-line);cursor:default}.card-reward-note{font-size:11px!important;line-height:1.5;color:var(--pf-muted)!important;text-align:center;margin:8px 0 22px!important}
@media(max-width:700px){.card-photo-upload{padding:16px;gap:10px}.card-upload-copy b{font-size:12px}.card-upload-copy small{font-size:10px}.card-upload-icon{width:34px;height:38px}.card-upload-arrow{display:none}}

#profileEditorContent:has(.card-customizer)>.access-kicker,#profileEditorContent:has(.neural-form-detail)>.access-kicker,#profileEditorContent:has(.rank-detail)>.access-kicker,#profileEditorContent:has(.profile-achievement-dialog)>.access-kicker{color:var(--pf-accent)}
#profileEditorContent .card-reward-apply{display:flex;background:var(--pf-accent);color:var(--pf-bg);box-shadow:none}
#profileEditorContent .card-reward-apply:disabled{background:var(--pf-soft);color:var(--pf-accent);opacity:1;transform:none;border-color:var(--pf-line)}
#profileEditorContent :is(.neural-form-detail,.rank-detail,.profile-achievement-dialog) .btn-primary:not(.card-reward-apply){background:transparent;color:var(--pf-accent);border:1px solid var(--pf-line);box-shadow:none}
#profileEditorContent :is(.neural-form-detail,.rank-detail,.profile-achievement-dialog) .section-link{color:var(--pf-accent)}
.home-pulse>header p{font-size:10px;letter-spacing:.24em;color:#66d5c3}

body.light-theme .pulse-feed-video{background:#eaf0f8}
/* Completed visit days stay visibly neon at every weekly rhythm level. */
.visit-days{gap:4px;align-items:center}.visit-days>span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:30px;padding:4px 7px;box-sizing:border-box;border:1px solid transparent;border-radius:9px}.visit-days>span.is-active{color:#70ffe4;font-weight:800;background:#12e5bb20;border-color:#42ffd4aa;text-shadow:0 0 6px #38ffd4cc,0 0 14px #18ffd38c;box-shadow:0 0 9px #18ffd340,inset 0 0 8px #24ffd420}body.light-theme .visit-days>span.is-active{color:#075c4d;background:#86ffe0;border-color:#00b98b;text-shadow:0 0 7px #16ffc080;box-shadow:0 0 11px #00e8aa66,inset 0 0 8px #ffffff70}
/* Weekly attendance: only recorded days are lit; the meter has its own grade. */
.visit-rhythm[data-rhythm-level=low]{--visit-neon:#ff4664;--visit-bright:#ffb7bd}.visit-rhythm[data-rhythm-level=medium]{--visit-neon:#ffe033;--visit-bright:#fff7b2}.visit-rhythm[data-rhythm-level=high]{--visit-neon:#39ff83;--visit-bright:#c3ffda}.visit-rhythm[data-rhythm-level]>div:first-child{color:var(--visit-neon)}.visit-rhythm[data-rhythm-level] .visit-track{height:8px;overflow:visible}.visit-rhythm[data-rhythm-level] .visit-track i{overflow:hidden;background:linear-gradient(100deg,var(--visit-neon) 15%,var(--visit-bright) 48%,var(--visit-neon) 80%);background-size:220% 100%;box-shadow:0 0 7px var(--visit-neon),0 0 17px color-mix(in srgb,var(--visit-neon) 55%,transparent);animation:visit-neon-flow 4s ease-in-out infinite}.visit-rhythm[data-rhythm-level] .visit-track i:after{border-radius:inherit;opacity:.35}.visit-rhythm[data-rhythm-level] .visit-track[aria-valuenow="0"] i{visibility:hidden}body.light-theme .visit-rhythm[data-rhythm-level]>div:first-child{color:var(--rhythm)}body.light-theme .visit-rhythm[data-rhythm-level] .visit-track i{box-shadow:0 0 6px var(--visit-neon),0 0 13px color-mix(in srgb,var(--visit-neon) 45%,transparent)}@keyframes visit-neon-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}@media(prefers-reduced-motion:reduce){.visit-rhythm[data-rhythm-level] .visit-track i,.visit-rhythm[data-rhythm-level] .visit-track i:after{animation:none!important;transition:none!important}}

.visit-rhythm .visit-pace-note{margin:12px 0 0;font-size:12px;line-height:1.6;color:var(--text-muted,#91a6af);overflow-wrap:anywhere}.visit-rhythm small{line-height:1.65;overflow-wrap:anywhere}
