/* Scoped to the live Swipe screen. */
html body.app-mode:has(#feed.screen.active) .stage{background:radial-gradient(ellipse at 50% 24%,#131b2b,#0d121e 74%)!important}
html body.app-mode .stage #phone #feed.screen.active{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;grid-template:unset!important;width:100%!important;max-width:none!important;min-height:calc(100dvh - 72px);height:auto!important;overflow:visible!important;padding:30px 22px 18px!important;gap:0!important}
html body.app-mode .stage #phone #feed.screen.active>:is(.sw25-heading,.sw92-explore-panel,.sw92-detail-panel,.swp-mode-tabs,.feed-switch,.feed-context,.timeline,.sw28-keyboard-help,.actions){display:none!important}
html body.app-mode .stage #phone #feed.screen.active>.topbar{position:absolute!important;top:0!important;left:0!important;visibility:hidden!important}
html body.app-mode .stage #phone #feed.screen.active #deck{position:relative!important;display:block!important;width:min(100%,726px)!important;max-width:726px!important;min-width:0!important;min-height:0!important;height:auto!important;overflow:visible!important;margin:0 auto!important;flex:none!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card{box-sizing:border-box!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;padding:22px 36px 36px!important;border-radius:33px!important;border:2px solid #2b3445!important;background:linear-gradient(157deg,#1a2333,#111827 78%)!important;color:#f5f7fb!important;box-shadow:0 16px 34px #080c1680!important;gap:0!important;text-align:left!important;overflow:visible!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card.top{position:relative!important;inset:auto!important;margin:0!important;z-index:3}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.next,.sw33-tail){position:absolute!important;inset:11% 0 auto!important;height:76%!important;opacity:.48!important;transform:scaleX(1.09)!important;pointer-events:none!important;z-index:1}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card.sw33-tail{inset:16% 0 auto!important;height:65%!important;transform:scaleX(1.15)!important;opacity:.27!important;z-index:0}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.next,.sw33-tail)>*{visibility:hidden}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.next,.sw33-tail).promote{transition:transform .38s,opacity .38s}
.sw166-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -8px 13px;font-size:13px;font-weight:650;color:#b7c3d6}
.sw166-id,.sw166-count{padding:8px 13px;border-radius:999px;background:#2a3446;white-space:nowrap}
.sw166-count{color:#f2f5fc}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-title{font:750 clamp(23px,3vw,32px)/1.12 inherit;font-family:inherit!important;color:#f5f7fb!important;font-size:clamp(23px,3vw,32px)!important;line-height:1.12!important;font-weight:760!important;margin:0!important;letter-spacing:-.035em!important;display:block!important}
.sw166-title-line{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;text-align:left;cursor:default}
.sw166-summary{color:#b5c1d3;font-size:16px;line-height:1.43;margin:8px 0 15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sw166-chips{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.sw166-chip{color:#e6ebf5;font-size:13px;line-height:1.08;font-weight:650;border-radius:999px;background:#293345;padding:9px 12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sw166-chip.salary{color:#39edf3;background:#163746}
.sw166-editor{position:relative;background:linear-gradient(160deg,#222a3a,#192131);border:1px solid #2d3647;border-radius:19px;padding:12px 12px 13px 16px;margin:0 3px;box-shadow:inset 0 0 0 1px #b9d5ff08}
.sw166-toolbar{height:24px;display:flex;align-items:center;gap:14px;margin-bottom:11px;color:#b3bed2;font-size:13px;line-height:1}
.sw166-toolbar svg{width:18px;height:18px;flex:none}.sw166-zoom{margin-left:auto;letter-spacing:.15em;font-size:17px;white-space:nowrap}
.sw166-tracks{position:relative;display:grid;gap:6px}
.sw166-track{display:grid;grid-template-columns:23px 46px minmax(0,1fr);align-items:center;gap:13px;height:31px}
.sw166-track>svg{width:19px;height:19px;color:#b8c4d7}
.sw166-track>b{border-radius:8px;background:#252e3f;text-align:center;color:#dfe7f5;padding:7px 0;font-size:13px}
.sw166-media{position:relative;display:block;height:100%;border-radius:3px;overflow:hidden}
.sw166-strip{width:96%;background:var(--film) repeat-x left center / 20% 100%;box-shadow:inset 0 0 0 100px hsl(var(--hue) 55% 42% / .23)}
.sw166-strip:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(20% - 1px),#dcecff32 calc(20% - 1px) 20%)}
.sw166-grade{width:69%;background:linear-gradient(180deg,hsl(var(--violet) 48% 55%) 0 46%,#7ae4ef 47% 51%,hsl(var(--violet) 42% 40%) 52%)}
.sw166-wave{background:hsl(var(--hue) 47% 30%);color:hsl(var(--hue) 76% 53%)}
.sw166-wave svg{width:100%;height:100%;display:block}
.sw166-head{position:absolute;z-index:1;top:-12px;bottom:-2px;left:calc(108px + (100% - 108px)*.42);width:1px;background:#f4f7ff;filter:drop-shadow(0 0 2px #f1f6ff55)}
.sw166-head:before{content:"";position:absolute;top:-5px;left:-6px;width:13px;height:12px;background:#f5f8ff;clip-path:polygon(0 0,100% 0,50% 100%)}
.sw166-buttons{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:32px 8px 0}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-button{border:0!important;border-radius:999px!important;display:flex!important;justify-content:center;align-items:center;gap:11px;min-height:60px;padding:8px 12px;font:720 17px/1.2 inherit;font-family:inherit!important;font-size:17px!important;font-weight:750!important;text-decoration:none!important;cursor:pointer}
.sw166-button svg{width:23px;height:23px;flex:none}
.sw166-pass{background:#2b3546!important;color:#f5f7fb!important}
.sw166-apply{background:#32e1ec!important;color:#071821!important}
.sw166-apply[disabled]{opacity:.52;cursor:not-allowed}
.sw166-button:focus-visible,.sw166-title-line:focus-visible{outline:2px solid #e0fbff;outline-offset:4px}
.sw166-hint{display:none;text-align:center;color:#b0bacb;font-size:13px;margin:14px 0 0;line-height:1.48}
#feed:has(#deck>.sw166-card.top) .sw166-hint{display:block}
.sw166-hint svg{width:73px;height:28px;display:block;margin:0 auto 2px;color:#dce7f5}
@media(max-width:650px){
 html body.app-mode .stage #phone #feed.screen.active{min-height:calc(100dvh - 62px);padding:15px 12px!important}
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card{padding:16px 14px 21px!important;border-radius:23px!important}
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.next,.sw33-tail){transform:scaleX(1.035)!important}
 .sw166-topline{margin:0 0 12px}.sw166-summary{font-size:14px;margin-bottom:11px}.sw166-chips{gap:5px;margin-bottom:12px}.sw166-chip{padding:7px 8px;font-size:11px}.sw166-editor{padding:9px;margin:0}.sw166-track{grid-template-columns:14px 28px minmax(0,1fr);height:22px;gap:7px}.sw166-track>svg{width:14px;height:14px}.sw166-track>b{padding:4px 0;font-size:11px}.sw166-head{left:calc(56px + (100% - 56px)*.42)}.sw166-toolbar{margin-bottom:8px}.sw166-buttons{margin:18px 0 0;gap:8px}html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-button{min-height:48px;font-size:14px!important;gap:5px}.sw166-hint{margin-top:9px}
}
html body.app-mode .stage #phone #feed #deck .sw166-count.sw22-card-progress{position:static!important;inset:auto!important;display:inline-flex!important;width:auto!important;height:auto!important;padding:8px 13px!important;background:#2a3446!important;border:0!important;white-space:nowrap;border-radius:999px!important}
html body.app-mode .stage #phone #feed #deck .sw166-count::before,html body.app-mode .stage #phone #feed #deck .sw166-count::after{content:none!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-title-line{display:inline!important;position:static!important;width:auto!important;height:auto!important;background:none!important;border:0!important;padding:0!important;color:inherit!important;font:inherit!important;border-radius:0!important;box-shadow:none!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card{touch-action:pan-y}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card.promote{transition:transform .42s cubic-bezier(.18,.78,.24,1),opacity .32s cubic-bezier(.18,.78,.24,1)!important}
@media (prefers-reduced-motion:reduce){html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card{animation:none!important;transition:none!important}}
html body.app-mode .stage #phone #feed.screen.active #deck:not(:has(>.sw166-card)){min-height:270px!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card,.sw166-hint{font-family:Inter,system-ui,sans-serif!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-button:hover:not([disabled]){filter:brightness(1.10)}
@media(max-width:650px){html body.app-mode .stage #phone #feed.screen.active{justify-content:flex-start!important;padding-top:22px!important;min-height:calc(100dvh - 120px)}}
/* Fixed footprint for every actual offer, including the card entering during a swipe. */
html body.app-mode .stage #phone #feed #deck{--sw166-card-height:528px}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card{height:var(--sw166-card-height)!important;min-height:var(--sw166-card-height)!important;max-height:var(--sw166-card-height)!important;display:flex!important;flex-direction:column!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.next,.sw33-tail){min-height:0!important;max-height:none!important}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card.next.sw166-revealing{inset:0!important;min-height:var(--sw166-card-height)!important;height:var(--sw166-card-height)!important;z-index:2}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card.next.sw166-revealing>*{visibility:visible}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-title-line{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.sw166-topline,.sw166-chips,.sw166-editor,.sw166-buttons{flex-shrink:0}
.sw166-id{overflow:hidden;text-overflow:ellipsis;min-width:0}
.sw166-chips{flex-wrap:nowrap;overflow:hidden}
.sw166-chip{flex:0 0 auto}
.sw166-summary{flex-shrink:0}
.sw166-buttons{margin-top:auto;padding-top:20px}
#feed.sw166-hint-dismissed .sw166-hint{visibility:hidden;opacity:0;pointer-events:none}
.sw166-hint{transition:opacity 180ms,visibility 180ms}
#feed:not(.sw166-hint-dismissed) .sw166-hand{transform-origin:center;animation:sw166-teach 2s ease-in-out infinite}
@keyframes sw166-teach{0%,100%{transform:translateX(0)}30%{transform:translateX(6px) rotate(6deg)}65%{transform:translateX(-7px) rotate(-6deg)}}
html body.app-mode:has(#feed.screen.active) #toast{background:#1a2638!important;color:#e8f7ff!important;border:1px solid #3f6274!important;box-shadow:0 8px 25px #05091190!important;font-weight:650!important}
html body.app-mode:has(#feed.screen.active) #toast[role="alert"]{border-color:#bb6470!important;color:#ffe7ea!important}
@media(max-width:650px){html body.app-mode .stage #phone #feed #deck{--sw166-card-height:438px}.sw166-buttons{margin: auto 0 0;padding-top:12px}}
@media(prefers-reduced-motion:reduce){#feed:not(.sw166-hint-dismissed) .sw166-hand{animation:none}.sw166-hint{transition:none}}
html body.app-mode .stage #phone #feed.screen.active #deck>.card.swp-job-card.sw166-card:is(.top,.sw166-revealing){height:var(--sw166-card-height)!important;min-height:var(--sw166-card-height)!important;max-height:var(--sw166-card-height)!important}

html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls{
 display:flex!important;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;width:min(100%,726px);max-width:726px;min-width:0;padding:0 1px;margin:0 auto 9px;z-index:4
}
html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls button{
 background:#182334!important;color:#cbd8e9!important;border:1px solid #2c3b4e!important;border-radius:999px;min-height:35px;
 font:600 12px/1.2 Inter,system-ui,sans-serif;padding:7px 12px;max-width:62%;text-wrap:balance
}
html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls button:hover{background:#21384b!important;color:#e9fcff!important;border-color:#5794a5!important}
.sw166-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px;flex-shrink:0;min-width:0}
.sw166-meta .sw166-chips{margin-bottom:0;min-width:0}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-learn{
 display:inline-flex!important;align-items:center;gap:3px;flex:none;border:none!important;background:none!important;color:#a8c9e0!important;
 font:700 16px/1.2 Inter,system-ui,sans-serif!important;padding:8px 2px!important;width:auto!important;height:auto!important;cursor:pointer
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-learn:hover{color:#54edfa!important}
html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls button[data-act="sw115-newest"]{margin-left:auto}
@media(max-width:650px){
 .sw166-meta{margin-bottom:12px;gap:5px}
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail) .sw166-card .sw166-learn{font-size:14px!important}
 html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls{justify-content:space-between;gap:4px}
 html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls button{padding:6px 7px;font-size:11px;min-width:0}
}

html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls{justify-content:flex-start!important}
html body.app-mode .stage #phone #feed.screen.active>.sw115-jump-controls button[data-act="sw115-start"]{margin-left:0!important}

/* The mission text scrolls independently; the timeline and actions stay anchored. */
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-body{
 flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;
 overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#354359 transparent;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-body .sw166-meta{
 margin-bottom:0!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-editor{
 flex:0 0 auto;align-self:stretch;margin:9px 3px 0!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-buttons{
 flex:0 0 auto;align-self:stretch;margin:auto 8px 0!important;padding-top:14px!important;
 position:relative;z-index:4;
}
@media(max-width:650px){
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-editor{
  margin-bottom:0!important;
 }
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-buttons{
  margin:auto 0 0!important;padding-top:10px!important;
 }
}

/* Uniform, non-scrolling card header: all extra text remains in full details. */
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-body{
 flex:0 0 183px!important;height:183px!important;min-height:183px!important;
 overflow:visible!important;scrollbar-width:none!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-topline{
 min-height:33px!important;margin-bottom:8px!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title{
 min-height:1.2em!important;max-height:1.2em!important;overflow:hidden!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-summary{
 display:block!important;white-space:nowrap!important;overflow:hidden!important;
 text-overflow:ellipsis!important;-webkit-line-clamp:unset!important;
 margin:5px 0 9px!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-meta{
 min-height:34px!important;max-height:34px!important;margin-bottom:0!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-chips{
 flex:1 1 auto!important;min-width:0!important;overflow:hidden!important;white-space:nowrap;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-chip{
 flex:0 1 auto!important;min-width:0!important;max-width:calc(50% - 4px)!important;
 text-overflow:ellipsis!important;overflow:hidden!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title-line{
 display:block!important;max-width:100%!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;-webkit-line-clamp:unset!important;
}
@media(max-width:650px){
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-body{
  flex:0 0 146px!important;height:146px!important;min-height:146px!important;
 }
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-topline{margin-bottom:6px!important}
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title{
  min-height:1.2em!important;max-height:1.2em!important;
 }
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-summary{
  margin:3px 0 6px!important;
 }
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-meta{
  min-height:30px!important;max-height:30px!important;
 }
}

/* Read long swipe titles in full: pan only when measured text overflows. */
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title-line{
 display:block!important;width:100%!important;max-width:100%!important;
 white-space:nowrap!important;overflow:hidden!important;
 text-overflow:clip!important;-webkit-line-clamp:unset!important;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title .sw166-title-text{
 display:inline-block!important;width:max-content!important;max-width:none!important;
 white-space:nowrap!important;pointer-events:none;
}
html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card:is(.top,.sw166-revealing) .sw166-title-line.sw166-title-moving .sw166-title-text{
 animation:sw166-title-glide var(--sw166-title-duration,6s) linear .35s infinite alternate both;
}
@keyframes sw166-title-glide{
 0%,7%{transform:translateX(0)}
 93%,100%{transform:translateX(calc(0px - var(--sw166-title-distance,0px)))}
}
@media(prefers-reduced-motion:reduce){
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title .sw166-title-text{animation:none!important}
 html body.app-mode .stage #phone :is(#feed #deck,#saved #saved-detail)>.sw166-card .sw166-title-line.sw166-title-moving{
  overflow-x:auto!important;scrollbar-width:thin;
 }
}
