/* JOYCE, a real, responsive Friendster-inspired portfolio recreation. */
:root{--plum:#4b314b;--mauve:#ad7e9a;--lilac:#e6d4e5;--pink:#dc86aa;--rose:#fceaf3;--paper:#fffaf9;--ink:#37283a;--muted:#806e82;--stroke:#d4bbcd;--gold:#fff4d3}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(ellipse at top,#f1d9e6,#f9f1f5 60%,#f6f1f4);color:var(--ink);font:12px/1.47 Verdana,Tahoma,Arial,sans-serif}
a{color:#795275;text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;display:block}button,input,select,textarea{font:inherit}button{cursor:pointer}
.shell{width:min(1120px,calc(100% - 32px));margin:auto}
.site-header{margin-top:22px;filter:drop-shadow(0 6px 15px #70516c1f)}
.browser-top{background:linear-gradient(#eddaea,#d9beda);border:2px solid #a78ba6;border-bottom:0;border-radius:16px 16px 0 0;color:var(--plum)}
.top-inner{display:flex;justify-content:space-between;align-items:center;height:31px;padding:3px 12px;font-weight:bold;font-size:12px}
.top-window{display:flex;gap:3px}.top-window i{font:700 15px/18px Tahoma;display:grid;place-items:center;font-style:normal;border:1px solid #7e647e;background:#ede4ee;width:20px;height:20px;box-shadow:inset 2px 2px #fff}
.nav-shell{background:linear-gradient(100deg,#a46d91,#a87f9c 45%,#b78da8);border:2px solid #a78ba6;border-top:0;display:flex;align-items:center;gap:18px;padding:6px 17px;min-height:84px}
.logo{width:196px;height:70px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;overflow:hidden}
.logo img{width:194px;height:70px;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0px 3px 1px #64345a50);animation:none!important;opacity:1!important}
.nav-shell nav{display:flex;flex:1;align-items:center;flex-wrap:wrap;gap:2px;min-width:0}
.nav-shell nav a{padding:5px 9px;border-radius:50px;font-size:11px;font-weight:700;color:white;white-space:nowrap}
.nav-shell nav a.active,.nav-shell nav a:hover{background:#f6e7f1;color:#513857;text-decoration:none}
.nav-resume{display:none}
.page-shell{background:var(--paper);border:2px solid #bba4b9;border-top:0;border-radius:0 0 14px 14px;padding:12px 14px 16px;box-shadow:0 16px 32px rgba(84,50,76,.13);min-height:650px}
.profile-welcome{padding:8px 9px 10px;display:flex;justify-content:space-between;align-items:center;color:#795b78;font-size:11px}
.profile-welcome .online,.online-tag{color:#3b9c60}
.profile-grid{display:grid;grid-template-columns:200px minmax(0,1fr) 255px;gap:12px;align-items:start}
.profile-left,.profile-center,.profile-right{min-width:0;display:grid;gap:10px;align-content:start}
.panel{border:1px solid var(--stroke);background:#fffdfd;border-radius:9px;overflow:hidden;box-shadow:0 1px 2px #8f698e12}
.panel-head{background:linear-gradient(#efdfed,#dbc4da);border-bottom:1px solid #cfb3c8;color:#4b3151;padding:7px 10px;font:bold 13px/1.4 Tahoma,Verdana,Arial,sans-serif}
.panel-body{padding:10px}.head-secondary{float:right;font-size:10px;font-weight:400;color:#70556e}
.profile-picture .panel-body{padding:8px;position:relative}.profile-picture .panel-body::before{content:'';position:absolute;z-index:2;top:0;left:17px;width:55px;height:16px;background:#f9e4abbd;transform:rotate(-12deg)}
.avatar-frame{height:177px;background:linear-gradient(#ffedf5,#ebcbdc);border:1px solid #d1b2ca;overflow:hidden}
.avatar-frame img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.avatar-caption{padding:5px 2px 1px;font-weight:bold;text-align:center;color:#644c65}.avatar-caption span{color:#ce588d}
.menu-links{display:grid;gap:0}.menu-links a{display:flex;justify-content:space-between;gap:7px;padding:5px 2px;border-bottom:1px solid #eedde7;font-size:11px}.menu-links a:last-child{border:0}.menu-links a:hover{background:#fff1f9;text-decoration:none}
.profile-bullets{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:11px}
.shoutout .shoutout-form{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.shoutout-form textarea{display:block;width:100%;min-height:60px;resize:vertical;border:1px solid #c8acc3;border-radius:8px;padding:10px;background:#fffdfd;color:var(--ink)}.shoutout-form button,.coffee-cta{background:linear-gradient(#c894b3,#986984);color:#fff;border:1px solid #855b7b;border-radius:8px;padding:7px 20px;font-weight:700}.shoutout-form button:hover{background:#a16b8d}
.shoutout-status{border-top:1px solid #ead6e5;padding-top:9px;margin-top:8px;font-size:10px;color:#856f88}
.activity-stream{padding:0 10px}.activity-item{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:11px 6px;border-bottom:1px solid #ecdfeb;font-size:11px;color:var(--ink);min-width:0}.activity-item:last-child{border:0}.activity-item:hover{text-decoration:none;background:#fff9fc}
.activity-item.highlight{background:var(--gold);border-radius:8px;margin:6px 0;padding:11px 6px}
.activity-item small{display:block;font-size:10px;color:#a583a1;margin-top:6px}.activity-item em{font-style:normal;color:#6a526c}.activity-item strong{color:#503451}
.feed-avatar{height:36px;width:36px;object-fit:cover;object-position:52% 28%;border:1px solid #d9bed1;border-radius:7px}
.featured-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.featured-list a{display:block;border:1px solid #ead6e2;background:#fff7fc;border-radius:7px;padding:6px;min-width:0}.featured-list a:hover{text-decoration:none;border-color:#b37e9c}.featured-list img,.feat-graphic{height:73px;width:100%;object-fit:cover;border-radius:5px;margin-bottom:5px}.feat-graphic{display:grid;place-items:center;font:bold 25px/1 Tahoma;background:#eadfed;color:#795779}.feat-graphic.vendor{background:#f7ead5;color:#8f6e71}.featured-list b{display:block;font-size:10px;color:#5a405e}.featured-list small{font-size:9px;color:#886e86}
.mascot-panel .panel-body{padding:8px;background:linear-gradient(#ffeff7,#f9e6f0);text-align:center}
.mascot-panel img{height:160px;width:100%;object-fit:contain;object-position:center 32%;border-radius:7px}
.mascot-cloud{background:#ffe3f0;border:2px solid white;outline:1px solid #dfb9d1;border-radius:26px;padding:11px 10px;color:#563653;font-weight:700;font-size:12px;line-height:1.4;margin-top:5px}
.checklist p{font-size:11px;margin:0 0 8px}.checklist p:last-child{margin:0}
.coffee-banner{display:flex;align-items:center;gap:9px;padding:11px;background:linear-gradient(100deg,#fbe7f0,#e9c5d8);border:1px solid #e4bbd2;border-radius:8px;color:#5d3f5b}.coffee-banner:hover{text-decoration:none;filter:brightness(1.025)}.coffee-banner strong{display:block;font:bold 14px Tahoma}.coffee-banner small{font-size:9px;display:block}.coffee-banner b{margin-left:auto;font-size:22px}.coffee-banner>span:first-child{font-size:22px}
.mobile-intro{display:none}
footer{color:#7a657a}.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 0;font-size:10px}
/* Shared pages */
.inner-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:start}.inner-sidebar,.inner-content{display:grid;gap:10px;align-content:start;min-width:0}
.inner-profile{text-align:center;background:#fff1f9}.inner-profile img{height:135px;width:100%;object-fit:contain}.inner-profile strong{display:block;font-size:12px}.inner-profile p,.inner-profile small{font-size:10px;color:#806c80}
.page-title{padding:2px 0 8px}.page-title h1{font:bold 22px/1.25 Tahoma,Verdana;margin:2px 0;color:#553a56}.page-title p{color:var(--muted);font-size:11px;margin:0}.kicker{font-size:9px;letter-spacing:.07em;color:#936d8c;font-weight:bold;text-transform:uppercase}
.page-shell h2{font:bold 15px/1.3 Tahoma;margin:0 0 8px}.page-shell h3{font:bold 12px/1.3 Tahoma;margin:0 0 6px}.compact-note{font-size:11px;color:#786d79}.fine-print{font-size:10px;color:#857587}
.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.info-grid article,.skills-grid>div{background:#fff7fb;border:1px solid #e9d8e5;border-radius:7px;padding:10px}.info-grid p,.skills-grid p{font-size:11px;margin:0;color:#776675}
.experience-item{display:grid;grid-template-columns:135px 1fr;gap:10px;border-bottom:1px dotted #e8d5e0;padding:12px 0}.experience-item:last-child{border-bottom:0}.experience-year,.experience-item .section-eyebrow{font-size:10px;color:#986e91;font-weight:700}.experience-item h2{font-size:14px;margin:2px 0 5px}.experience-item p{margin:4px 0;color:#766773}.experience-chips{display:flex;flex-wrap:wrap;gap:5px}.experience-chips span{background:#f9e8f2;border-radius:50px;font-size:9px;padding:4px 7px}
.skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.degree-line,.about-intro{display:flex;align-items:center;gap:12px}.degree-icon{font-size:30px}.about-intro img{width:95px;height:95px;object-fit:cover;border-radius:8px}.about-intro p{margin:4px 0}.code-line{display:inline-block;background:#fbe9f3;color:#725670;padding:8px 10px}
.outreach-feature{display:grid;grid-template-columns:175px minmax(0,1fr);gap:12px;align-items:center}.outreach-art{height:150px;background:#f8eaf3;border:1px solid #e6cfe0;display:grid;place-content:center;text-align:center;gap:6px}.outreach-art-icon{font-size:32px}.outreach-art small{font-size:10px}.outreach-feature p{font-size:11px;color:#806f7e}
.toggle,.demo-tabs,.poster-filters,.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.toggle button,.demo-tabs button,.poster-filters button,.filters button,.btn,.small-btn{border:1px solid #d9bbd0;background:#fff3fa;color:#75556f;border-radius:6px;padding:7px 10px;font-size:11px}.toggle button.active,.demo-tabs button.active,.poster-filters button.active{background:#9b7095;color:#fff}
.workflow-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0}.flow-step{background:#fdf4fa;border:1px solid #e8d7e1;min-height:100px;display:grid;place-content:center;text-align:center;gap:5px;padding:8px}.flow-step strong{font-size:11px}.flow-step small{font-size:10px;color:#7e6f7d}.flow-output{background:#f3f6e9;border:1px solid #dce4d0;padding:10px;font-weight:bold}.receipt-row,.concept-strip{display:flex;gap:7px;flex-wrap:wrap}.receipt-row span{background:#fff3f9;border:1px solid #e3cfdf;padding:7px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dashboard{border:1px solid #ead8e5;background:#fffafb;padding:10px;border-radius:8px}.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0}.kpi{background:#fff1f9;border:1px solid #ead4e2;border-radius:6px;padding:9px}.kpi:nth-child(2){background:#f2eafd}.kpi:nth-child(3){background:#fff4de}.kpi b{display:block;font-size:19px}.num{font-size:9px;color:#95778f;text-transform:uppercase}.bars{display:grid;gap:9px}.bar-row{display:grid;gap:3px}.bar-top{display:flex;justify-content:space-between}.bar-track{height:12px;background:#f5e9f2;border-radius:30px;overflow:hidden}.bar-fill{height:100%;background:linear-gradient(90deg,#e3a0c0,#86668f)}
.table-scroll{overflow:auto}.table{border-collapse:collapse;min-width:450px;width:100%;font-size:10px}.table th,.table td{padding:7px;border:1px solid #ecdce7;text-align:left}.table th{background:#f7eaf4}.filters input,.filters select{border:1px solid #e0c9d8;border-radius:5px;padding:7px}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.poster-btn{border:0;background:none;padding:0;cursor:pointer;text-align:left}.poster-btn img{width:100%;aspect-ratio:.75;object-fit:cover;border:1px solid #e0c7d7;border-radius:5px}.poster-btn span{display:block;font-size:10px;margin-top:4px}.poster-btn[hidden]{display:none!important}
.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-card{border:1px solid #e7d3df;background:#fff8fb;padding:8px}.ig{min-height:500px}
.coffee-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px}.coffee-pitch{background:#fff0f8;padding:14px;border:1px solid #ebc9dd}.coffee-form{display:grid;gap:9px;margin-top:12px}.coffee-form label{display:grid;gap:4px}.coffee-form input,.coffee-form textarea{border:1px solid #dac4d3;border-radius:6px;padding:8px;max-width:100%}.coffee-form textarea{min-height:90px}.coffee-actions{display:flex;flex-wrap:wrap;gap:8px}.coffee-aside img{height:150px;width:100%;object-fit:cover;object-position:center 20%;border-radius:7px}.coffee-status{color:#8b5e7c}.contact-line{display:flex;justify-content:space-between;align-items:center;gap:12px}
.modal{position:fixed;inset:0;background:#38293bcc;z-index:60;display:none;justify-content:center;align-items:center;padding:20px}.modal.open{display:flex}.modal-card{max-width:760px;width:100%;max-height:90vh;overflow:auto;background:white;padding:14px;border-radius:10px}.modal-top{display:flex;justify-content:space-between;gap:15px;margin-bottom:9px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Prevent flashing: logo is static; no entrance animations or transitions. */
.logo,.logo *, .logo::before,.logo::after{animation:none!important;transition:none!important;opacity:1!important}
@media(max-width:980px){.profile-grid{grid-template-columns:180px minmax(0,1fr) 230px}.nav-shell{gap:8px}.nav-shell nav a{font-size:10px;padding:5px 7px}}
@media(max-width:780px){.shell{width:min(100% - 18px,640px)}.site-header{margin-top:8px}.nav-shell{padding:8px 10px;flex-direction:column;align-items:stretch;gap:6px}.logo{width:150px;height:54px}.logo img{width:150px;height:54px}.nav-shell nav{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:4px}.nav-shell nav a{flex:0 0 auto}.page-shell{padding:10px}.profile-grid{display:flex;flex-direction:column}.profile-left,.profile-center,.profile-right{width:100%}.profile-center{order:1}.profile-left{order:2;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-right{order:3;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-left .profile-picture,.profile-right .mascot-panel{grid-column:1/-1}.profile-left .profile-picture{display:none}.profile-right .mascot-panel{display:none}.profile-right .coffee-banner{grid-column:1/-1}.profile-welcome{display:none}.mobile-intro{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 15px 15px}.mobile-intro img{height:190px;width:230px;object-fit:cover;object-position:center 25%;border-radius:80px 80px 14px 14px;mask-image:linear-gradient(black 85%,transparent)}.mobile-intro h1{font:bold 27px Tahoma;margin:2px 0 3px}.mobile-intro h1 em{font-style:normal;color:#c56b93}.mobile-intro p{margin:0 0 12px;font-size:12px}.mobile-intro p span{font-size:10px;color:#7b6979}.mobile-coffee,.mobile-resume{padding:9px;display:block;width:100%;max-width:290px;border-radius:11px;font-size:12px;font-weight:700}.mobile-coffee{background:#d7789f;color:white;border:1px solid #a35b7e;margin-bottom:7px}.mobile-resume{border:1px solid #b987a1;color:#5b3a57}.inner-layout{grid-template-columns:1fr}.inner-sidebar{grid-template-columns:1fr 1fr}.info-grid{grid-template-columns:1fr}.flow-grid,.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.coffee-layout{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}
@media(max-width:460px){.shell{width:calc(100% - 12px)}.top-inner{font-size:10px}.profile-left,.profile-right,.inner-sidebar{grid-template-columns:1fr}.featured-list{grid-template-columns:repeat(3,minmax(0,1fr))}.featured-list img,.feat-graphic{height:60px}.panel-head{font-size:12px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi b{font-size:14px}.video-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V13: Screenshot-reference refinements. All interface elements are real HTML/CSS. */
:root{--plum:#412c47;--mauve:#9b7695;--lilac:#e7d5e4;--pink:#d77da4;--rose:#ffedf4;--paper:#fffafd;--ink:#3b2d45;--muted:#927a91;--stroke:#d9c4d6;--gold:#fff5d6}
body{font:12px/1.44 Tahoma,Verdana,Arial,sans-serif;background:linear-gradient(180deg,#f7e6f2,#fffafc)}
.shell{width:min(1060px,calc(100% - 24px))}
.site-header{margin-top:18px}
.browser-top{background:linear-gradient(#f3e1f1,#dfc6dd)}
.nav-shell{min-height:77px;gap:14px;background:linear-gradient(105deg,#966884,#a77f9e)}
.nav-shell nav a{font:700 11px/1.2 Tahoma,Verdana,sans-serif;padding:5px 8px}
.logo{width:178px;height:61px}.logo img{width:177px;height:61px;mix-blend-mode:normal}
.page-shell{background:#fffafa;padding:11px 12px 16px;min-height:610px}
.profile-grid{grid-template-columns:187px minmax(0,1fr) 250px;gap:10px}
.profile-left,.profile-center,.profile-right{gap:10px}
.panel{border-radius:10px;background:#fffefe;border-color:#d9c3d4;box-shadow:0 1px 2px #9f789519}
.panel-head{padding:7px 11px;background:linear-gradient(125deg,#f2e8f0,#e2cfdf);font:bold 13px/1.3 Tahoma,Verdana,sans-serif;color:#49314b}
.panel-body{padding:10px}
.profile-picture .panel-body{padding:8px}
.avatar-frame{height:190px}.avatar-frame img{height:184px;width:100%;object-fit:contain}
.profile-bullets{font-size:11px;gap:6px}
.menu-links a{font-size:11px;padding:6px 3px}
.activity-stream{padding:1px 10px}
.activity-item{padding:11px 4px;grid-template-columns:35px 1fr;font-size:11px;line-height:1.4}
.activity-item small{font-size:10px;color:#a17e9d;margin-top:4px}
.feed-avatar{width:34px;height:34px;object-fit:cover;object-position:center 28%;border:1px solid #e4cbdc;background:#ffedf6;border-radius:6px}
.activity-item.highlight{background:#fff5d8;border-radius:8px;margin:6px 0;padding:10px 6px}
.checklist{display:grid;gap:7px;padding:10px 12px}.checklist label{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.35;cursor:pointer}.checklist input{margin:1px 0 0;accent-color:#806183;width:15px;height:15px;flex:0 0 auto}.checklist .selected span{background:#fff4c8;border-radius:9px;padding:1px 5px}
.panel-symbol{font-size:16px;vertical-align:-1px;margin-right:4px}
.highlights-list{display:grid;gap:8px;padding:10px 11px}.highlights-list a{display:grid;grid-template-columns:45px minmax(0,1fr) 12px;gap:7px;align-items:center;color:#544059;text-decoration:underline;text-underline-offset:2px;font-size:11px;line-height:1.35}.highlights-list a:hover{color:#a45887}.highlights-list img{width:45px;height:38px;object-fit:contain;border-radius:4px}.highlights-list small{display:block;font-size:10px}.highlights-list b{font-size:14px;text-decoration:none}
.coffee-banner{background:linear-gradient(110deg,#f6d8e9,#e8c3d8);border:1px solid #e6c3d9;border-radius:8px;padding:9px 11px;gap:9px;min-height:82px}
.coffee-banner img{width:65px;height:65px;flex:0 0 65px;object-fit:contain;transition:transform .18s ease}
.coffee-banner:hover img{transform:rotate(-8deg) translateY(-3px)}
.coffee-banner strong{font:bold italic 16px/1.15 Tahoma,Verdana,sans-serif;color:#6e4267}
.coffee-banner small{margin-top:5px;font-size:10px;line-height:1.25;color:#674f63}
.coffee-banner b{font-size:24px;color:#805a79}
.mascot-panel .panel-body{padding:8px}.mascot-panel img{height:145px;object-fit:contain}
.mascot-cloud{font-size:11px;padding:9px 12px}
.coffee-page-mug{float:right;width:82px;height:82px;object-fit:contain;margin:0 0 8px 12px}
@media(max-width:980px){.profile-grid{grid-template-columns:170px minmax(0,1fr) 215px}.nav-shell nav a{padding:5px 6px;font-size:10px}}
@media(max-width:780px){.profile-grid{display:flex;flex-direction:column}.profile-center{order:1;width:100%}.profile-left{order:2;width:100%}.profile-right{order:3;width:100%}.logo{width:150px;height:54px}.logo img{width:149px;height:54px}.highlights-list{grid-template-columns:1fr}.coffee-banner{max-width:100%}.profile-right .mascot-panel{display:none}}
@media(max-width:460px){.activity-item{font-size:11px}.profile-left,.profile-right{display:grid;grid-template-columns:1fr}.checklist{gap:8px}.highlights-list{gap:9px}}
@media(prefers-reduced-motion:reduce){.coffee-banner img{transition:none!important}}

/* V14: fresh smile logo, transparent and free of page-load animation */
.site-header .logo{height:auto!important;min-height:64px!important;width:196px!important;overflow:visible!important;align-self:center!important}
.site-header .logo img{display:block!important;width:192px!important;height:auto!important;max-height:92px!important;object-fit:contain!important;mix-blend-mode:normal!important;background:transparent!important;filter:none!important;animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
.site-header .logo::before,.site-header .logo::after{display:none!important}
@media(max-width:780px){.site-header .logo{width:158px!important;min-height:54px!important}.site-header .logo img{width:155px!important;max-height:75px!important}}


/* V15 · compact Y2K poster-viewer window (replaces oversized image modal) */
.modal{
 position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;
 background:rgba(41,29,49,.69);padding:14px;backdrop-filter:blur(3px)
}
.modal.open{display:flex}
.modal-card{
 width:min(438px,100%);max-height:calc(100dvh - 28px);overflow:hidden;padding:0;
 background:#fffafc;border:2px solid #795874;border-radius:11px;
 box-shadow:0 0 0 4px rgba(255,240,252,.8),0 18px 48px rgba(31,14,37,.35);
 display:flex;flex-direction:column;
}
.modal-top{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 margin:0;padding:7px 9px 7px 12px;min-height:36px;
 color:#4a344c;background:linear-gradient(180deg,#f1e1ef,#d6b6cf);
 border-bottom:1px solid #9f7e9d;font:bold 11px/1.2 Tahoma,Verdana,Arial,sans-serif
}
.modal-brand{display:flex;align-items:center;gap:8px;min-width:0}
.modal-brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.modal-window-icon{color:#a04a86;font-size:16px}
.modal-window-buttons{display:flex;gap:3px;align-items:center}
.modal-decoration,.modal-window-buttons button{
 display:grid;place-items:center;width:22px;height:21px;padding:0;
 background:linear-gradient(#fffafd,#e8d8e8);border:1px solid #967d9b;
 box-shadow:inset 1px 1px 0 #fff;color:#4d3b54;
 font:bold 15px/1 Tahoma,Verdana,Arial,sans-serif;border-radius:2px
}
.modal-window-buttons button:hover{background:#f8cada;color:#79294f}
.modal-inner{padding:10px 12px 11px;overflow-y:auto;min-height:0}
.modal-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 8px;
 color:#926c8f;font:bold 9px/1.3 Verdana,sans-serif;letter-spacing:.05em}
.modal-image-frame{
 display:flex;align-items:center;justify-content:center;min-height:0;
 background:repeating-linear-gradient(45deg,#fff8fd 0,#fff8fd 11px,#f8eaf4 11px,#f8eaf4 22px);
 border:1px solid #d9bed4;padding:8px;border-radius:5px;
}
.modal-image-frame img{
 display:block;width:auto;max-width:100%;max-height:min(55dvh,545px);height:auto;object-fit:contain;
 border:1px solid #cbb4c8;box-shadow:0 3px 8px #53344c20;background:#fff
}
.modal-detail{display:flex;justify-content:space-between;align-items:start;gap:10px;padding:9px 2px 7px}
.modal-detail strong{font:bold 12px/1.25 Tahoma,Verdana,sans-serif;color:#5c4262}
.modal-detail p{margin:3px 0 0;font:10px/1.4 Verdana,sans-serif;color:#967d97}
.modal-heart{font-size:21px;color:#d474a3;line-height:1}
.modal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px dashed #dcc1d5;padding-top:8px}
.modal-toolbar button{background:#f7e4f1;color:#664763;border:1px solid #c8a9c1;border-radius:5px;padding:6px 10px;font:700 10px/1.2 Tahoma,Verdana,sans-serif}
.modal-toolbar button:hover{background:#eecfe2}
.modal-toolbar span{color:#9b7e98;font:9px/1.3 Tahoma,Verdana,sans-serif;text-align:center}
@media(max-width:500px){
 .modal{padding:12px}.modal-card{width:min(368px,100%);max-height:calc(100dvh - 24px)}
 .modal-inner{padding:8px}.modal-image-frame{padding:6px}
 .modal-image-frame img{max-height:49dvh}.modal-toolbar span{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.modal,.modal *{transition:none!important;animation:none!important}}


/* V16 landing: two audiences, retro office drama, compact motion */
[hidden]{display:none!important}
.role-gate{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(57,37,56,.67);backdrop-filter:blur(6px)}
.role-dialog{width:min(580px,100%);border:2px solid #825c7c;border-radius:12px;background:#fffafd;box-shadow:0 18px 0 #422f43a6,0 20px 60px #28192780;overflow:hidden}
.role-titlebar{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#f6e3f1,#ddbed7);padding:9px 14px;color:#563c59;font:700 12px Tahoma,Verdana,sans-serif;border-bottom:1px solid #b993b3}
.role-titlebar button{background:#fff1fb;border:1px solid #aa84a0;border-radius:3px;padding:0 6px;color:#4b344b;font:bold 16px Tahoma}
.role-dialog-body{padding:22px}
.role-intro{display:flex;align-items:center;gap:18px;margin-bottom:17px}
.role-intro img{width:108px;height:105px;border-radius:14px;object-fit:cover;object-position:center 32%;border:1px solid #e3c1d6;background:#ffedf7}
.pixel-kicker{font:700 9px Verdana;letter-spacing:.1em;color:#ab779c}
.role-dialog h2{font:bold 24px Tahoma,Verdana;margin:5px 0 6px;color:#583b5c}
.role-dialog p{margin:4px 0;font-size:12px;color:#876b82}
.role-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.role-card{cursor:pointer;text-align:left;padding:15px;background:linear-gradient(145deg,#fff,#fff0f9);border:1px solid #d5afca;border-radius:10px;box-shadow:3px 4px 0 #e4cbdd;color:#583a54;transition:transform .2s,border-color .2s}
.role-card:hover,.role-card:focus-visible{transform:translateY(-3px);border-color:#b97d9f}
.role-card .role-emoji{display:block;font-size:28px;margin-bottom:6px}.role-card strong{display:block;font-size:14px}.role-card small{display:block;font-size:11px;color:#7c6678;line-height:1.4;margin:6px 0 12px}.role-action{font-size:11px;font-weight:700;color:#9b537e}
.role-joyce{background:linear-gradient(145deg,#fff6f4,#fce3f1)}.role-note{font-size:10px!important;margin-top:16px!important;text-align:center}
.role-switch{white-space:nowrap;background:#fbe3f0;color:#653d62;border:1px solid #dbafcb;padding:5px 9px;border-radius:16px;font:bold 10px Tahoma,Verdana;cursor:pointer;flex:0 0 auto}
.login-dialog{max-width:440px}.login-dialog form{display:grid;gap:10px;margin-top:14px}.login-dialog form label{font-weight:700;display:grid;gap:4px}.login-dialog input{padding:9px 10px;border:1px solid #d4b9cc;border-radius:5px;width:100%}
.pink-action{background:linear-gradient(#d998b9,#b8769e);color:#fff;border:1px solid #98658a;border-radius:7px;padding:9px 15px;font-weight:700;cursor:pointer}
.secondary-action{border:1px solid #c497b7;background:#fff3f9;color:#65405b;border-radius:6px;padding:8px;font-weight:700;cursor:pointer}
.owner-setup-message{background:#fff6db;border:1px solid #ead7a4;border-radius:8px;padding:12px;margin-top:14px}.owner-setup-message p{margin:6px 0 12px}
.feed-visitor-banner{display:grid;gap:8px}.feed-fake-input{padding:13px 15px;border:1px solid #ddc5d5;border-radius:7px;background:#fff;color:#a18a9e;min-height:50px;display:flex;align-items:center}
.visitor-composer-foot{display:flex;align-items:center;gap:10px;justify-content:space-between;color:#8b7387;font-size:10px}.visitor-composer-foot button{background:none;border:0;padding:4px;color:#83537d;text-decoration:underline;cursor:pointer}
.owner-only{margin:0}.editor-caption{font-size:10px;color:#835f7d;margin:5px 0 0}
.activity-item.feed-post{display:grid;grid-template-columns:35px minmax(0,1fr);gap:9px;min-width:0}
.feed-content{min-width:0}.feed-content strong{color:#4f3651}.feed-content > small{display:block;padding-top:3px;font-size:9px;color:#987b92}.read-post{font-weight:700;text-decoration:underline}
.post-reactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.post-reactions button{cursor:pointer;display:inline-flex;align-items:center;gap:4px;background:#fff6fc;border:1px solid #e5ccde;color:#855f7d;border-radius:20px;padding:5px 8px;font:700 9px Tahoma,Verdana,sans-serif;transition:background .16s,transform .16s}
.post-reactions button:hover{background:#ffe6f4;transform:translateY(-2px)}.post-reactions button[aria-pressed="true"]{background:#fde1ec;border-color:#ce8eae;color:#613b5c}
.reaction-count{font-weight:400;font-size:9px}
.mini-motion-panel{overflow:hidden}.motion-content{padding:8px 10px}.motion-stage{position:relative;min-height:0;background:linear-gradient(130deg,#f7dfef,#e8daff);border:1px solid #e9cedd;border-radius:8px;overflow:hidden}
.motion-video{display:block;width:100%;height:184px;object-fit:cover}
.motion-caption{position:absolute;left:9px;right:9px;bottom:8px;display:flex;gap:5px;align-items:center;justify-content:space-between;background:#fff9ffdf;border:1px solid #f0cddd;border-radius:6px;padding:6px 8px;color:#5d3d5b;backdrop-filter:blur(5px)}
.motion-caption strong{font-size:10px;letter-spacing:.035em}.motion-caption span{font-size:9px;text-align:right}.motion-footnote{display:block;color:#947b90;font-size:9px;margin:7px 2px 0}
.role-session-toast{position:fixed;bottom:16px;right:16px;z-index:100;background:#fff5fb;border:1px solid #c99cba;box-shadow:0 6px 20px #46304939;border-radius:8px;padding:11px 14px;max-width:300px;color:#593e5b}
@media(max-width:780px){.role-switch{margin-left:auto}.motion-video{height:190px}}
@media(max-width:460px){.role-intro img{width:75px;height:75px}.role-dialog-body{padding:15px}.role-dialog h2{font-size:20px}.role-options{grid-template-columns:1fr}.role-card{padding:11px}.role-card .role-emoji{font-size:21px;margin:0 0 3px}.role-card small{margin:3px 0 7px}.motion-video{height:165px}.motion-caption{position:static;border:0;border-top:1px solid #ead1e4;border-radius:0}.motion-caption span{font-size:8px}.post-reactions button{padding:5px 7px;font-size:8px}}
@media(prefers-reduced-motion:reduce){.role-card,.post-reactions button{transition:none!important}}

.reaction-disclaimer{font-size:9px;color:#a58aa0;margin:8px 0 1px;text-align:center}

/* V17: recruiter sees the feed immediately, no faux shoutout editor. */
#joyceComposerPanel[hidden]{display:none!important}
.magic-footnote{font-size:10px!important;line-height:1.5;color:#8d7184;margin:12px 0 0!important}
#magicConfirmRow[hidden]{display:none!important}
#magicPassword,#magicConfirm{font-size:16px;max-width:100%}
@media(max-width:480px){.login-dialog{max-width:95vw}.login-dialog .role-dialog-body{padding:17px}}

/* V18: useful actions from a recruiter's point of view */
.recruiter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:9px}
.recruiter-actions .recruiter-action{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border:1px solid #e5c8dc;border-radius:7px;background:#fff5fb;color:#714f71;font:700 10px/1.25 Tahoma,Verdana,sans-serif;text-decoration:none;min-height:30px;transition:background .16s ease,transform .16s ease}
.recruiter-actions .recruiter-action:hover{background:#fbe3f1;text-decoration:none;transform:translateY(-1px)}
.recruiter-actions .recruiter-action:focus-visible{outline:2px solid #a56391;outline-offset:2px}
.recruiter-actions .shortlist-action[aria-pressed="true"]{background:#f8e0ee;border-color:#c48bad;color:#6e406b}
.recruiter-actions .shortlist-icon{font-size:15px;line-height:0.85}
@media(max-width:420px){.recruiter-actions{gap:4px}.recruiter-actions .recruiter-action{font-size:9px;padding:6px 7px}}
@media(prefers-reduced-motion:reduce){.recruiter-actions .recruiter-action{transition:none!important}}

/* V19: message destination focus */
#coffeeForm{scroll-margin-top:24px}
#coffeeForm:target{outline:2px solid #d7a0c0;outline-offset:7px;border-radius:6px}


/* V20 homepage-only: a quieter, more polished activity feed. */
.joyce-home .recruiter-actions{margin-top:6px}
.joyce-home .recruiter-actions .recruiter-action{min-height:27px;padding:5px 9px;font-size:10px;border-radius:20px;background:#fff8fc}
.joyce-home .recruiter-actions .shortlist-icon{font-size:17px}
.joyce-home.joyce-owner-mode .recruiter-actions{display:none}
.joyce-home .activity-item{position:relative;transition:background-color .2s ease,transform .24s ease,box-shadow .24s ease}
.joyce-home .activity-item:hover{transform:translateX(3px);background:#fff8fc;box-shadow:inset 3px 0 #d79bbb}
.joyce-home .activity-item .feed-avatar{transition:transform .25s ease}
.joyce-home .activity-item:hover .feed-avatar{transform:rotate(-4deg) scale(1.05)}
.joyce-home .activity-item .shortlist-action[aria-pressed="true"] .shortlist-icon{animation:joyce-heart-pop .33s ease}
.joyce-home .mascot-panel img{animation:joyce-gentle-bob 5.8s ease-in-out infinite;transform-origin:center bottom}
.joyce-home .coffee-banner{transition:transform .2s ease,box-shadow .2s ease}
.joyce-home .coffee-banner:hover{transform:translateY(-2px);box-shadow:0 5px 14px #986b8b22}
.joyce-home .mini-motion-panel .motion-stage{overflow:hidden}
.joyce-home .motion-caption{transition:background .2s ease}
.joyce-home .motion-stage:hover .motion-caption{background:#fff9fff5}
@keyframes joyce-heart-pop{0%{transform:scale(.78)}55%{transform:scale(1.25)}100%{transform:scale(1)}}
@keyframes joyce-gentle-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media (max-width:780px){.joyce-home .activity-item:hover{transform:none;box-shadow:none}}
@media (prefers-reduced-motion:reduce){
 .joyce-home .mascot-panel img,.joyce-home .activity-item .shortlist-action[aria-pressed="true"] .shortlist-icon{animation:none!important}
 .joyce-home .activity-item,.joyce-home .activity-item .feed-avatar,.joyce-home .coffee-banner,.joyce-home .motion-caption{transition:none!important}
}

/* Rule-of-three invitation: only shown after three unique recruiter shortlists */
.rule-three-banner[hidden]{display:none!important}
.rule-three-banner{display:flex;align-items:center;gap:14px;position:relative;background:linear-gradient(110deg,#fff5d9,#fce3f1 65%,#ede0f6);border:1px solid #dab5cd;border-radius:12px;padding:17px 46px 17px 18px;margin:0 0 13px;box-shadow:0 4px 12px #8e63891e;animation:three-entrance .45s ease-out}
.rule-three-badge{font-size:24px;white-space:nowrap;letter-spacing:-4px;color:#c16e9c;animation:three-bounce 1.3s ease-in-out 2}
.rule-three-kicker{font:700 10px Verdana,sans-serif;letter-spacing:.09em;color:#91618c}
.rule-three-banner h2{font-size:19px;line-height:1.2;color:#593d5d;margin:5px 0}
.rule-three-banner p{font-size:12px;margin:0 0 4px;color:#60495d}
.rule-three-banner small{color:#99758e}
.rule-three-close{position:absolute;right:12px;top:10px;border:0;background:#ffffffa8;color:#654965;border-radius:6px;font-size:22px;width:28px;height:28px}
@keyframes three-entrance{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes three-bounce{50%{transform:translateY(-5px)}}
@media(max-width:560px){.rule-three-banner{gap:8px;padding:13px 36px 13px 12px}.rule-three-badge{font-size:17px}.rule-three-banner h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.rule-three-banner,.rule-three-badge{animation:none!important}}
