:root{--rc-bg:#ffffff;--rc-bg-secondary:#f9f9f9;--rc-bg-hover:#f7f7f8;--rc-card-bg:#ffffff;--rc-text:#202123;--rc-text-secondary:#6e6e80;--rc-text-muted:#9ca3af;--rc-border:#e5e5e5;--rc-border-hover:#d1d5db;--rc-vote-up:#ff4500;--rc-vote-down:#7193ff;--rc-shadow-sm:0 1px 2px rgba(0,0,0,0.05);--rc-shadow-md:0 4px 6px rgba(0,0,0,0.07);--rc-shadow-lg:0 10px 15px rgba(0,0,0,0.1);--rc-image-bg:#f0f0f0}[data-theme=dark],[data-theme=dark],[data-theme=dark] :root{--rc-bg:#212121;--rc-bg-secondary:#2a2a2a;--rc-bg-hover:#353740;--rc-card-bg:#2a2a2a;--rc-text:#ececf1;--rc-text-secondary:#8e8ea0;--rc-text-muted:#565869;--rc-border:#353740;--rc-border-hover:#424242;--rc-vote-up:#ff4500;--rc-vote-down:#60a5fa;--rc-shadow-sm:0 2px 4px rgba(0,0,0,0.2);--rc-shadow-md:0 5px 10px rgba(0,0,0,0.25);--rc-shadow-lg:0 10px 20px rgba(0,0,0,0.3);--rc-image-bg:#1a1a1a}@media (prefers-color-scheme:dark){:root:not([data-theme]){--rc-bg:#212121;--rc-bg-secondary:#2a2a2a;--rc-bg-hover:#353740;--rc-card-bg:#2a2a2a;--rc-text:#ececf1;--rc-text-secondary:#8e8ea0;--rc-text-muted:#565869;--rc-border:#353740;--rc-border-hover:#424242;--rc-vote-up:#ff4500;--rc-vote-down:#60a5fa;--rc-shadow-sm:0 2px 4px rgba(0,0,0,.2);--rc-shadow-md:0 5px 10px rgba(0,0,0,.25);--rc-shadow-lg:0 10px 20px rgba(0,0,0,.3);--rc-image-bg:#1a1a1a}}.reddit-container{min-height:100vh;background:var(--rc-bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.reddit-feed-container{max-width:var(--content-max);margin:0 auto;padding-left:var(--content-gutter);padding-right:var(--content-gutter)}.reddit-header-bar{position:-webkit-sticky;position:sticky;top:0;z-index:50;background:var(--rc-bg);border-bottom:none;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.rd-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;opacity:0;transition:opacity .15s ease;pointer-events:none}.rd-progress[data-show=true]{opacity:1}.rd-progress:before{content:"";position:absolute;top:0;left:0;height:100%;width:var(--w,0);background:#000;opacity:.9;animation:rd-progress-pulse 1.2s ease-in-out infinite}[data-theme=dark] .rd-progress:before{background:#fff}@keyframes rd-progress-pulse{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}.reddit-header-content{max-width:calc(var(--content-max) + (var(--content-gutter) * 2));margin:0 auto;padding:12px var(--content-gutter);display:flex;align-items:center;justify-content:space-between;gap:16px}.reddit-header-bar .reddit-sub-selector{background:transparent;border:none;border-radius:0;padding:6px 4px;color:var(--rc-text)}.reddit-header-bar .reddit-sub-selector:hover{text-decoration:underline}.reddit-header-bar .reddit-sub-selector:focus-visible{outline:2px solid var(--rc-text);outline-offset:2px}.reddit-header-bar .reddit-sort-pills{background:transparent;border:none;box-shadow:none;gap:2px;padding:0}.reddit-header-bar .reddit-sort-pills .reddit-sort-pill{background:transparent;border:none;border-radius:8px;padding:8px 10px;color:var(--rc-text-secondary);position:relative}.reddit-header-bar .reddit-sort-pills .reddit-sort-pill:hover{color:var(--rc-text);background:transparent}.reddit-header-bar .reddit-sort-pills .reddit-sort-pill.active{color:var(--rc-text)}.reddit-header-bar .reddit-sort-pills .reddit-sort-pill.active:after{content:"";position:absolute;left:8px;right:8px;bottom:-6px;height:2px;background:var(--rc-text);border-radius:2px}@media (max-width:768px){.reddit-header-bar .reddit-sort-pills .reddit-sort-pill{padding:8px;font-size:12px}}.reddit-sub-selector{display:flex;align-items:center;gap:8px;padding:8px 14px;background:var(--rc-card-bg);border:none;border-radius:999px;font-size:16px;font-weight:500;color:var(--rc-text);cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px var(--rc-shadow-sm),inset 0 1px 0 rgba(255,255,255,.04);backdrop-filter:saturate(120%) blur(6px);-webkit-backdrop-filter:saturate(120%) blur(6px)}.reddit-sub-selector:hover{background:var(--rc-bg-hover);border-color:var(--rc-border-hover)}.reddit-sub-selector:active{transform:translateY(1px)}.reddit-sub-icon{width:20px;height:20px;border-radius:50%}.sub-avatars{position:relative;display:inline-flex;align-items:center}.sub-avatar{width:18px;height:18px;border-radius:50%;border:1px solid var(--rc-card-bg);box-shadow:var(--rc-shadow-sm);background:var(--rc-image-bg)}.sub-avatars .sub-avatar+.sub-avatar{margin-left:-6px}.sub-label{white-space:nowrap}.sub-count{background:transparent;border:none;padding:0 4px;border-radius:0;font-size:14px;color:var(--rc-text-secondary)}.reddit-sort-pills{display:inline-flex;align-items:center;gap:4px;padding:4px;background:transparent;border:none;border-radius:999px;box-shadow:var(--rc-shadow-sm);max-width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}.reddit-sort-pills::-webkit-scrollbar{display:none}.reddit-sort-pill{padding:8px 14px;border:none;background:transparent;border-radius:999px;font-size:15px;font-weight:600;color:var(--rc-text-secondary);cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .12s ease}.reddit-sort-pill .feather-icon{stroke:currentColor}.reddit-sort-pill .pill-text{margin-left:6px}.reddit-sort-pill:hover{color:var(--rc-text);background:var(--rc-bg-hover)}.reddit-sort-pill.active{background:var(--rc-bg-secondary);color:var(--rc-text);border:none;box-shadow:none}.reddit-sort-pill:focus-visible,.reddit-sub-selector:focus-visible{outline:2px solid var(--rc-text);outline-offset:2px}@media (max-width:768px){.reddit-sort-pills{gap:2px;padding:3px}.reddit-sort-pill{padding:7px 12px;font-size:12px}.reddit-sub-selector{padding:8px 12px;font-size:13px}.pill-text,.sub-label{display:none}}.reddit-post{background:var(--rc-card-bg);border:1px solid var(--rc-border);border-radius:16px;margin-bottom:18px;transition:transform .2s ease,box-shadow .2s ease,border-color .15s ease;box-shadow:var(--rc-shadow-sm);overflow:hidden;cursor:pointer}.reddit-post:hover{border-color:var(--rc-border-hover);box-shadow:var(--rc-shadow-md);transform:translateY(-4px)}.reddit-post-layout{display:flex;padding:0}.reddit-post-prepend{width:100%;padding:0}.reddit-controls-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#2a2a2a;border-radius:10px}.reddit-controls-inline .reddit-sort-pills{margin-left:auto}.reddit-controls-inline .reddit-sub-selector{margin-left:4px;background:#2a2a2a;border:none;box-shadow:none;padding:4px 8px;border-radius:6px}.reddit-controls-inline .reddit-sub-selector:hover{text-decoration:underline}.reddit-controls-inline .reddit-sort-pills{background:transparent;border:none;box-shadow:none;padding:0;gap:8px;border-radius:0}.reddit-controls-inline .reddit-sort-pills .reddit-sort-pill{background:transparent;border:none;border-radius:0;padding:0;color:var(--rc-text-secondary);position:relative}.reddit-controls-inline .reddit-sort-pills .reddit-sort-pill:hover{color:var(--rc-text);background:transparent}.reddit-controls-inline .reddit-sort-pills .reddit-sort-pill.active{color:var(--rc-text);background:transparent;border:none;box-shadow:none}.reddit-controls-inline .reddit-sort-pills .reddit-sort-pill.active:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--rc-text);border-radius:2px}@media (max-width:768px){.reddit-controls-inline{flex-wrap:wrap;gap:8px}.reddit-controls-inline .reddit-sort-pills{width:100%}}.reddit-control-card{cursor:default}.reddit-control-card:hover{border-color:var(--rc-border)}.reddit-control-content{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.reddit-control-content .reddit-sub-selector{margin-left:4px}.reddit-vote-column{display:flex;flex-direction:column;align-items:center;padding:8px 4px;margin-right:12px}.reddit-vote-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#2a2a2a;border:none;color:var(--rc-text-muted);cursor:pointer;transition:transform .12s ease,color .12s ease;padding:0}.reddit-vote-btn .feather-icon{stroke:currentColor!important;fill:none!important}.reddit-vote-btn:hover{color:var(--rc-text-secondary);background:transparent;transform:translateY(-1px)}.reddit-vote-btn.upvoted{color:var(--rc-vote-up)}.reddit-vote-btn.downvoted{color:var(--rc-vote-down)}.reddit-vote-score{font-size:12px;font-weight:600;color:var(--rc-text);margin:2px 0;min-width:32px;text-align:center}.reddit-post-content{flex:1 1;min-width:0;padding:12px}.reddit-post-header{display:flex;align-items:center;gap:4px;margin-bottom:4px;font-size:12px;color:var(--rc-text-secondary);flex-wrap:wrap}.reddit-sub-link{font-weight:500;color:var(--rc-text);text-decoration:none}.reddit-sub-link:hover{text-decoration:underline}.reddit-author{color:var(--rc-text-secondary)}.reddit-time{color:var(--rc-text-muted)}.reddit-flair{padding:2px 6px;background:var(--rc-bg-secondary);border-radius:12px;font-size:11px;font-weight:500}.reddit-post-title{font-size:18px;font-weight:500;line-height:22px;color:var(--rc-text);margin:8px 0;word-break:break-word}.reddit-post-body{font-size:14px;line-height:21px;color:var(--rc-text-secondary);margin:8px 0;max-height:250px;overflow:hidden;position:relative}.reddit-post-body.expanded{max-height:none}.reddit-post-body-fade{position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(transparent,var(--rc-card-bg));pointer-events:none}.reddit-media-container{position:relative;margin:0;background:var(--rc-image-bg);border-radius:16px 16px 0 0;overflow:hidden;display:flex;align-items:center;justify-content:center}.reddit-media-container.clickable{cursor:zoom-in}.reddit-media-container img{width:auto;max-height:min(40vh,400px)}.reddit-media-container img,.reddit-media-container video{max-width:100%;height:auto;object-fit:contain;display:block}.reddit-media-container video{width:100%;max-height:min(40vh,380px)}.reddit-media-container iframe{max-width:100%;width:auto;height:auto;max-height:min(40vh,380px);display:block}.reddit-media-container .rd-media{width:100%;max-width:none;margin:0;margin:0!important;border-radius:inherit!important;overflow:hidden!important;background:transparent!important;line-height:0!important}.reddit-media-container .rd-media>iframe,.reddit-media-container .rd-media>img,.reddit-media-container .rd-media>video,.reddit-media-container iframe,.reddit-media-container img,.reddit-media-container video{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:min(40vh,400px)!important;border-radius:inherit!important;background:transparent!important;margin:0 auto!important}.reddit-media-container .nsfw-wrap{border-radius:inherit!important;overflow:hidden!important}.reddit-media-container .nsfw-wrap>*{border-radius:inherit!important}.reddit-media-container.tall img{max-height:45vh}.reddit-media-container video{background:#000}.reddit-media-container .media-frame{width:100%;overflow:visible;background:var(--rc-image-bg)}.reddit-media-container .media-frame,.reddit-media-container .media-square,.reddit-media-container .media-tall,.reddit-media-container .media-wide{display:flex!important;align-items:center!important;justify-content:center!important}.reddit-media-container img{margin:auto!important}.reddit-gif-badge{position:absolute;bottom:8px;left:8px;padding:4px 8px;background:rgba(0,0,0,.7);color:white;font-size:11px;font-weight:600;border-radius:4px;text-transform:uppercase;pointer-events:none}.reddit-video-controls{position:absolute;bottom:0;left:0;right:0;padding:8px;background:linear-gradient(transparent,rgba(0,0,0,.7));display:flex;align-items:center;gap:8px;opacity:0;transition:opacity .2s ease}.reddit-media-container:hover .reddit-video-controls{opacity:1}.reddit-volume-button{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.2);border-radius:4px;color:white;cursor:pointer;transition:background .15s ease}.reddit-volume-button:hover{background:rgba(0,0,0,.8)}.reddit-nsfw-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.6);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);cursor:pointer}.reddit-nsfw-text{color:white;font-size:14px;font-weight:500}.reddit-link-preview{display:flex;align-items:center;gap:8px;padding:8px;margin:8px 0;background:var(--rc-bg-secondary);border:1px solid var(--rc-border);border-radius:4px;text-decoration:none;color:var(--rc-text-secondary);font-size:12px;transition:all .15s ease}.reddit-link-preview:hover{background:var(--rc-bg-hover);border-color:var(--rc-border-hover)}.reddit-link-icon{width:16px;height:16px;opacity:.6}.reddit-post-footer{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:4px}.reddit-action-btn{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:var(--chip,var(--rc-card-bg));border:1px solid var(--chip-border,var(--rc-border));border-radius:999px;font-size:14px;font-weight:600;color:var(--rc-text-secondary);cursor:pointer;transition:background .12s ease,color .12s ease,border-color .12s ease,transform .12s ease}.reddit-action-btn:hover{background:var(--hover-bg,var(--rc-bg-hover));border-color:var(--hover-border,var(--rc-border-hover));color:var(--rc-text);transform:translateY(-1px)}.reddit-action-btn svg{width:20px;height:20px}.reddit-lightbox-backdrop{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.22);backdrop-filter:blur(18px) saturate(140%) brightness(.95);-webkit-backdrop-filter:blur(18px) saturate(140%) brightness(.95);display:flex;align-items:center;justify-content:center;animation:lightbox-fade-in .2s ease}@keyframes lightbox-fade-in{0%{opacity:0}to{opacity:1}}.reddit-lightbox-content{position:relative;max-width:98vw;max-height:98vh;display:flex;align-items:center;justify-content:center}.reddit-lightbox-image{max-width:98vw;max-height:98vh;object-fit:contain;cursor:default;animation:lightbox-scale-in .2s ease}@keyframes lightbox-scale-in{0%{transform:scale(.9)}to{transform:scale(1)}}.reddit-lightbox-close{position:absolute;top:20px;right:20px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.2);border-radius:50%;color:white;cursor:pointer;transition:all .15s ease}.reddit-lightbox-close:hover{background:rgba(0,0,0,.8);transform:scale(1.1)}.reddit-lightbox-hint{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);padding:8px 16px;background:rgba(0,0,0,.7);border-radius:4px;color:white;font-size:12px;pointer-events:none}.reddit-loading{display:flex;justify-content:center;align-items:center;padding:60px 20px}.reddit-spinner{width:32px;height:32px;border:2px solid var(--rc-border);border-top-color:var(--rc-text);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.reddit-empty{text-align:center;padding:60px 20px;color:var(--rc-text-secondary)}.reddit-empty-title{font-size:18px;font-weight:600;color:var(--rc-text);margin-bottom:8px}.reddit-empty-desc{font-size:14px;line-height:20px;max-width:400px;margin:0 auto}.reddit-new-pill{position:fixed;top:70px;left:50%;transform:translateX(-50%);z-index:40;padding:8px 16px;background:var(--rc-text);color:var(--rc-bg);border-radius:20px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:var(--rc-shadow-lg);animation:slide-down .3s ease}@keyframes slide-down{0%{transform:translate(-50%,-20px);opacity:0}to{transform:translate(-50%);opacity:1}}.reddit-new-pill:hover{transform:translate(-50%,-2px)}@media (max-width:768px){.reddit-feed-container{max-width:100%;padding:0}.reddit-control-content{flex-wrap:wrap;gap:8px;padding:4px 2px}.reddit-control-content .reddit-sub-selector{order:1}.reddit-control-content .reddit-sort-pills{order:2;width:100%;justify-content:flex-start}.reddit-header-content{padding:12px}.reddit-post{border-radius:0;border-left:none;border-right:none;margin-bottom:8px}.reddit-post-title{font-size:16px;line-height:20px}.reddit-vote-column{margin-right:8px}.reddit-lightbox-close{top:10px;right:10px}.reddit-lightbox-backdrop{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.reddit-lightbox-image{max-height:88dvh}}@media (min-width:641px) and (max-width:768px){.reddit-feed-container{max-width:100%;padding:0 16px}}@media (pointer:coarse){.reddit-action-btn,.reddit-vote-btn{min-width:44px;min-height:44px}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast:high){.reddit-post{border-width:2px}.reddit-vote-btn.downvoted,.reddit-vote-btn.upvoted{font-weight:700}}@media print{.reddit-header-bar,.reddit-new-pill,.reddit-post-footer,.reddit-vote-column{display:none}.reddit-post{page-break-inside:avoid;break-inside:avoid;border:1px solid #000;margin-bottom:1em}}.reddit-post .rd-votegrp .v{background:transparent!important;border:none!important;box-shadow:none!important}.reddit-post .rd-votegrp .v.up.active{color:var(--rc-vote-up)!important}.reddit-post .rd-votegrp .v.down.active{color:var(--rc-vote-down)!important}