/* Rally's focused social surface. Market color belongs to the choice. */
html .r-swipe-entry{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--line);border-radius:100px;font-size:13px;font-weight:600;white-space:nowrap;min-height:40px}
html .r-swipe-entry .icon{width:17px;height:17px}
html body[data-view="swipe"] .r-rail,html body[data-view="swipe"] .r-compose-fab{display:none}
html body[data-view="swipe"] .r-layout{grid-template-columns:218px minmax(0,640px);max-width:1084px}
html body[data-view="swipe"] #main{padding:0;border:0;background:transparent;overflow:visible}
html body[data-view="swipe"] #page{overflow:visible}
html .r-swipe{position:relative;max-width:540px;margin:auto;height:100dvh;display:grid;grid-template-rows:68px minmax(0,1fr) 44px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif}
html .r-swipe-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}
html .r-swipe-head .r-icon-button,html .r-swipe-head .r-theme-button{width:44px;height:44px;min-width:44px;border-radius:50%}
html .r-swipe-tabs{position:relative;display:grid;grid-template-columns:repeat(3,1fr);flex:1;min-width:0;max-width:280px;padding:3px;border:1px solid var(--line);border-radius:100px;background:var(--canvas)}
html .r-swipe-tab-pill{position:absolute;left:3px;top:3px;bottom:3px;width:calc((100% - 6px)/3);border-radius:100px;background:var(--paper);box-shadow:0 1px 3px #0001;transform:translateX(calc(var(--tab-index,0)*100%));transition:transform 220ms cubic-bezier(.22,1,.36,1);pointer-events:none}
html .r-swipe-tabs button{position:relative;border-radius:100px;min-height:44px;padding:8px 3px;color:var(--muted);font-size:13px;font-weight:550}
html .r-swipe-tabs button[aria-pressed="true"]{color:var(--text);background:transparent;font-weight:700}
html .r-swipe-deck{min-height:0;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;scrollbar-width:none;border:1px solid var(--line);border-radius:22px;background:var(--canvas);overflow-anchor:none;position:relative;isolation:isolate}
html .r-swipe-deck::-webkit-scrollbar{display:none}
html .r-swipe-card{height:100%;min-height:100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;position:relative;padding:20px 24px 18px;overflow:hidden;background:var(--paper)}
html .r-swipe-card.is-dragging{will-change:transform;user-select:none;z-index:2}
html .r-swipe-intent{position:absolute;top:74px;left:50%;padding:11px 23px;border-radius:100px;transform:translateX(-50%);color:#fff;background:#147c59;box-shadow:0 3px 14px #0002;font-size:18px;font-weight:750;opacity:var(--drag-progress,0);pointer-events:none;z-index:4}
html .r-swipe-card.is-settling .r-swipe-intent{transition:opacity 180ms ease-out}
html .r-swipe-card.drag-left .r-swipe-intent{background:#b9384c}
html .r-swipe-card[data-kind="prediction"].drag-left .r-swipe-intent{background:var(--text);color:var(--paper)}
html .r-swipe-spacer{pointer-events:none;overflow-anchor:none}
html .r-swipe-content{display:flex;flex:1;min-height:0;flex-direction:column;gap:16px;overflow:hidden}
html .r-swipe-author{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;min-height:44px}
html .r-swipe-author>button:first-child{display:flex;align-items:center;gap:11px;text-align:left;min-width:0;min-height:44px}
html .r-swipe-author .r-avatar{width:38px;height:38px}
html .r-swipe-author .r-icon-button{height:44px;width:44px;border-radius:50%}
html .r-swipe-author b{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:650}
html .r-swipe-author small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
html .r-swipe-author em{font-style:normal;color:var(--muted);font-size:10px;padding:2px 5px;border-radius:5px;background:var(--soft)}
html .r-swipe-art{display:flex;height:150px;min-height:80px;max-height:30%;flex:0 1 150px;align-items:center;justify-content:center;gap:20px;border-radius:18px;background:var(--canvas);padding:16px}
html .r-swipe-token{display:inline-block;position:relative;width:32px;height:32px;flex-shrink:0}
html .r-swipe-token .r-token,html .r-swipe-token .r-token-fallback{position:absolute;inset:0}
html .r-swipe-art .r-swipe-token,html .r-swipe-art .r-token,html .r-swipe-art .r-token-fallback{width:72px;height:72px}
html .r-swipe-art .r-token,html .r-swipe-art .r-token-fallback{border-radius:50%;object-fit:contain;font-size:20px}
html .r-swipe-art>span:last-child:not(.r-swipe-token){font-size:36px;font-weight:750;letter-spacing:-1.1px;overflow:hidden;text-overflow:ellipsis}
html .r-swipe-caption{display:flex;flex-direction:column;min-height:0;flex:0 1 auto}
html .r-swipe-copy{display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden;min-height:0;font-size:18px;line-height:1.5;letter-spacing:-.2px;overflow-wrap:anywhere;flex:0 1 auto;overscroll-behavior-y:auto;scrollbar-width:thin}
html .r-swipe-expand{align-self:flex-start;min-height:44px;color:var(--muted);font-size:13px;font-weight:600;padding:7px 0;flex-shrink:0}
html .r-swipe-expand[hidden]{display:none}
html .r-swipe-card.copy-expanded .r-swipe-caption{flex:1}
html .r-swipe-card.copy-expanded .r-swipe-copy{display:block;overflow:auto;flex:1}
html .r-swipe-source{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;font-size:12px;color:var(--muted);flex-shrink:0;padding:8px 11px;border-radius:100px;background:var(--canvas);min-height:44px;max-width:100%;margin-top:0}
html .r-swipe-source .icon{width:14px;height:14px}
html .r-swipe-source .icon:last-child{margin-left:8px}
html .r-swipe-media{flex:1;min-height:100px;max-height:55%;display:flex;align-items:center;justify-content:center;background:var(--canvas);border-radius:18px;overflow:hidden}
html .r-swipe-media .r-media{width:100%;height:100%;object-fit:contain;margin:0;border:0;border-radius:0}
html .r-swipe-card.has-media .r-swipe-copy{-webkit-line-clamp:4;font-size:16px;line-height:1.45}
html .r-swipe-card.copy-expanded .r-swipe-media{max-height:40%}
html .r-swipe-market-heading{margin:4px 0}
html .r-swipe-market-heading h1{font-size:27px;letter-spacing:-.7px;margin:0;font-weight:700}
html .r-swipe-market-heading p{font-size:13px;color:var(--muted);margin:7px 0 0}
html .r-swipe-card footer{padding-top:16px;flex-shrink:0}
html .r-swipe-market{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0 4px}
html .r-swipe-market>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}
html .r-swipe-market .r-token,html .r-swipe-market .r-token-fallback{width:32px;height:32px}
html .r-swipe-market b{display:block;font-size:16px;font-weight:650}
html .r-swipe-market small{font-size:11px;color:var(--muted);display:block;margin-top:3px}
html .r-swipe-market b small{display:inline;font-size:12px}
html .r-swipe-price{text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0}
html .r-swipe-social{display:flex;gap:6px;align-items:center;min-height:48px;padding:1px 0 6px;margin-left:-9px}
html .r-swipe-social button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--text);min-width:44px;min-height:44px;padding:9px;border-radius:50%;transition:transform 120ms ease-out}
html .r-swipe-social button:active{transform:scale(.9)}
html .r-swipe-social .icon{width:21px;height:21px}
html .r-swipe-social .liked{color:var(--red)}
html .r-swipe-directions{display:flex;gap:10px;min-height:52px}
html .r-swipe-direction{display:flex;flex:1;align-items:center;justify-content:center;gap:10px;border-radius:100px;padding:14px 12px;font-size:16px;font-weight:700;min-height:52px;transition:transform 120ms cubic-bezier(.22,1,.36,1);border:1px solid transparent}
html .r-swipe-direction.buy{color:#fff;background:#147c59}
html .r-swipe-direction.sell{color:#b9384c;background:var(--paper);border-color:var(--line)}
html .r-swipe-direction.buy:hover{color:#fff;background:#106546}
html .r-swipe-direction.sell:hover{background:var(--soft)}
html .r-swipe-direction.discussion{background:var(--text);color:var(--paper)}
html .r-swipe-direction.skip{background:var(--soft);color:var(--muted)}
html .r-swipe-direction:active{transform:scale(.97)}
html .r-swipe-direction .icon{width:18px;height:18px}
html .r-swipe-unavailable{display:flex;flex:1;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:100px;background:var(--canvas);font-size:12px;color:var(--muted);padding:8px;text-align:center}
html .r-swipe-pool{display:grid;gap:13px;padding:14px 0;font-size:14px}
html .r-swipe-pool>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
html .r-swipe-pool span,html .r-swipe-pool>small{color:var(--muted);font-size:12px}
html .r-swipe-pool time{font-size:12px}
html .r-swipe-progress{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px;padding:0 4px}
html #swipe-position{font-variant-numeric:tabular-nums}
html #swipe-status{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .r-swipe-progress button{width:44px;height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;border-radius:50%}
html .r-swipe-progress .icon{width:16px;height:16px}
html .r-swipe-progress button:disabled .icon{animation:swipe-refresh-spin 900ms linear infinite}
html .r-swipe-step{position:absolute;top:50%;right:-60px;display:grid;gap:8px}
html .r-swipe-step button{background:var(--paper);border:1px solid var(--line);width:44px;height:44px;border-radius:50%}
html .r-swipe-step .previous .icon{transform:rotate(180deg)}
html .r-swipe-step button:disabled{opacity:.3;cursor:default}
html .r-swipe-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;height:100%;color:var(--muted);font-size:14px;text-align:center;padding:24px}
html .r-swipe-loading p{max-width:280px}
html .r-swipe-skeleton{height:100%;padding:24px;display:flex;flex-direction:column;gap:24px;animation:swipe-skeleton-pulse 1400ms ease-in-out infinite}
html .skeleton-author{display:flex;align-items:center;gap:12px;height:44px}
html .skeleton-author i{width:38px;height:38px;border-radius:50%;background:var(--soft)}
html .skeleton-author span{height:22px;width:120px;background:var(--soft);border-radius:8px}
html .skeleton-art{height:150px;background:var(--soft);border-radius:18px}
html .skeleton-lines{display:grid;gap:13px}
html .skeleton-lines i{height:14px;background:var(--soft);border-radius:5px}
html .skeleton-lines i:nth-child(2){width:90%}html .skeleton-lines i:last-child{width:65%}
html .skeleton-foot{display:flex;gap:10px;margin-top:auto}
html .skeleton-foot i{height:52px;flex:1;background:var(--soft);border-radius:100px}
html body[data-view="swipe"] button:focus-visible,html .r-swipe-deck:focus-visible{outline:2px solid var(--link);outline-offset:-3px}
html body[data-view="swipe"] .r-modal input,html body[data-view="swipe"] .r-modal textarea,html body[data-view="swipe"] .r-modal select,html body[data-view="swipe"] .r-trade-panel input,html body[data-view="swipe"] .r-trade-panel select{font-size:16px;min-height:44px}
html body[data-view="swipe"] .r-modal-head .r-icon-button{height:44px;width:44px;border-radius:50%}
html body[data-view="swipe"] .r-overlay{backdrop-filter:none;animation:swipe-scrim-in 180ms ease-out}
html body[data-view="swipe"] .r-modal,html body[data-view="swipe"] .r-trade-panel{animation:swipe-sheet-in 220ms cubic-bezier(.22,1,.36,1)}
@keyframes swipe-sheet-in{from{opacity:.6;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes swipe-scrim-in{from{opacity:0}to{opacity:1}}
@keyframes swipe-refresh-spin{to{transform:rotate(360deg)}}
@keyframes swipe-skeleton-pulse{50%{opacity:.5}}
@media(max-width:1100px){html .r-swipe-step{right:-46px}html body[data-view="swipe"] .r-layout{gap:26px}}
@media(max-width:900px){html .r-swipe-step{display:none}html body[data-view="swipe"] .r-layout{max-width:850px}}
@media(max-width:760px){html body[data-view="swipe"] .r-header,html body[data-view="swipe"] .r-mobile-nav{display:none}html body[data-view="swipe"]{padding:0;overflow:hidden}html body[data-view="swipe"] .r-layout{display:block;padding:0;margin:0}html body[data-view="swipe"] #main{margin:0;min-height:0}html .r-swipe{height:100dvh;grid-template-rows:calc(60px + env(safe-area-inset-top)) minmax(0,1fr) calc(44px + env(safe-area-inset-bottom));max-width:none}html .r-swipe-head{padding:env(safe-area-inset-top) 8px 0;background:var(--paper)}html .r-swipe-deck{border:0;border-radius:0}html .r-swipe-card{padding:16px 20px 12px}html .r-swipe-progress{padding:0 8px env(safe-area-inset-bottom) 20px;background:var(--paper)}html .r-swipe-copy{font-size:17px}html .r-swipe-tabs button{font-size:12px}html .r-swipe-content{gap:14px}}
@media(max-height:700px){html .r-swipe-art{min-height:65px;height:100px;flex-basis:100px;padding:10px}html .r-swipe-art .r-swipe-token,html .r-swipe-art .r-token,html .r-swipe-art .r-token-fallback{width:52px;height:52px}html .r-swipe-art>span:last-child:not(.r-swipe-token){font-size:29px}html .r-swipe-content{gap:9px}html .r-swipe-pool{gap:8px;padding:8px 0}html .r-swipe-card footer{padding-top:8px}html .r-swipe-direction{min-height:48px;padding:12px 10px}html .r-swipe-copy{font-size:16px}html .r-swipe-source{min-height:44px;padding:6px 10px}}
@media(min-width:761px) and (max-width:930px){html body[data-view="swipe"] .r-layout{grid-template-columns:64px minmax(0,640px);gap:22px;max-width:774px;padding:0 20px}}
@media(prefers-reduced-motion:reduce){html .r-swipe-deck{scroll-behavior:auto}html .r-swipe-tab-pill,html .r-swipe-tabs button,html .r-swipe-direction,html .r-swipe-social button,html .r-swipe-intent{transition:none}html body[data-view="swipe"] .r-overlay,html body[data-view="swipe"] .r-modal,html body[data-view="swipe"] .r-trade-panel,html .r-swipe-skeleton,html .r-swipe-progress button:disabled .icon{animation:none}}

html[data-theme="dark"] .r-swipe-direction.sell{color:#f29aaa;border-color:#5d303b}
