/* Dedicated discovery layout. A single portrait, focused actions and shared Chaos navigation. */
body.social-instagram[data-match-style=tinder]{--panel:#15151a;--line:#303036;--text:#f5f5f5;--muted:#a1a1aa;--danger:#ff4458;--like:#30dba4;--brand-a:#ff4458;--brand-b:#ff7854;--shadow:none;background:#070709!important;overflow-x:hidden}
body.social-instagram[data-match-style=tinder] .social-legacy-nav{background:#121215;border-bottom:1px solid #29292e;padding:0 14px}
body[data-match-style=tinder] .topbar-inner{height:56px;display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1100px;margin:auto;gap:12px}
body[data-match-style=tinder] .top-actions{display:flex;align-items:center;gap:8px}body[data-match-style=tinder] .brand{font-size:20px;font-weight:500;white-space:nowrap}body[data-match-style=tinder] .brand b{color:#ff5864}body[data-match-style=tinder] .icon-btn{width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:#ddd;cursor:pointer;flex:none}
body.social-instagram[data-match-style=tinder]>.app-shell{width:100%;max-width:500px!important;height:calc(100dvh - 80px)!important;margin:0 auto!important;padding:14px 16px 10px!important;display:flex;flex-direction:column;min-height:0;overflow:hidden}
body[data-match-style=tinder] .social-match-tools{flex:none;gap:10px;padding-bottom:10px!important}body[data-match-style=tinder] .social-match-tools strong{font-size:24px}body[data-match-style=tinder] .match-discovery-copy{font-size:12px;color:#92929e;margin:4px 0 0}body[data-match-style=tinder] .social-match-tools button{border-radius:18px!important;background:#24242c;padding:8px 12px;font-size:12px}
body.social-instagram[data-match-style=tinder] .main-tabs-nav{display:flex;gap:0;flex:none;border-bottom:1px solid #29292e}body.social-instagram[data-match-style=tinder] .main-tab-btn{flex:1;min-width:0;padding:12px 3px;font-size:12px;white-space:nowrap;background:none;border:0;border-bottom:2px solid transparent;border-radius:0!important;color:#9696a1;cursor:pointer}body.social-instagram[data-match-style=tinder] .main-tab-btn.active{color:#fff;border-color:#ff5864;background:none;font-weight:700}
body[data-match-style=tinder] .social-match-status{font-size:11px!important;padding:5px 0;margin:0!important;max-height:135px;overflow:auto;flex:none}body[data-match-style=tinder] .social-match-status summary{cursor:pointer;color:#8e8e9b}body[data-match-style=tinder] .quota-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}body[data-match-style=tinder] .quota-chip{background:#24242c;border-radius:12px!important;padding:5px 8px;font-size:10px}
body[data-match-style=tinder] .tab-panels{flex:1;min-height:0;margin-top:10px}body[data-match-style=tinder] .tab-panel{display:none;height:100%;overflow-y:auto;min-height:0}body[data-match-style=tinder] .tab-panel.active{display:block}body[data-match-style=tinder] .tab-panel[data-tab-panel=discover].active{display:flex!important;flex-direction:column;gap:0;overflow:hidden}
body[data-match-style=tinder] .deck-wrap{flex:1;position:relative;min-height:0;width:100%;overflow:visible}body[data-match-style=tinder] .deck{width:100%!important;height:100%!important;position:relative!important;min-height:0!important;display:block!important;overflow:visible!important}
body.social-instagram[data-match-style=tinder] .candidate-card{position:absolute!important;overflow:hidden;border:1px solid #29292e!important;border-radius:18px!important;background:#202027;touch-action:pan-y;user-select:none;will-change:transform;box-shadow:0 10px 28px #0006!important;transition:transform .2s ease,opacity .2s ease}
body[data-match-style=tinder] .candidate-card>img{width:100%;height:100%;display:block;object-fit:cover}body[data-match-style=tinder] .candidate-card .card-fade{position:absolute;inset:30% 0 0;background:linear-gradient(transparent,#0007 35%,#000d 85%);pointer-events:none}
body.social-instagram[data-match-style=tinder] .card-content{position:absolute!important;inset:auto 0 0!important;padding:18px!important;color:#fff;display:block!important;background:transparent!important;z-index:2}
body.social-instagram[data-match-style=tinder] .card-name{font-size:27px!important;font-weight:700!important;margin:0 0 7px;line-height:1.15;overflow-wrap:anywhere}body[data-match-style=tinder] .verified-badge{font-size:9px;background:#329bff;border-radius:6px!important;padding:3px 5px;vertical-align:middle}
body.social-instagram[data-match-style=tinder] .card-meta{display:flex!important;gap:10px;font-size:11px;align-items:center;margin:6px 0;color:#ddd}body[data-match-style=tinder] .card-activity-pill{display:inline-flex;align-items:center;gap:4px}.activity-dot{width:6px;height:6px;border-radius:50%!important;background:#36d78d}
body.social-instagram[data-match-style=tinder] .card-extra{font-size:11px;line-height:1.4;color:#ddd;margin-top:4px;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}body.social-instagram[data-match-style=tinder] .card-bio{font-size:12px!important;line-height:1.4;margin:8px 0;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.social-instagram[data-match-style=tinder] .interest-chips{display:flex!important;gap:5px;flex-wrap:wrap;margin-top:9px}body.social-instagram[data-match-style=tinder] .interest-chip{font-size:10px!important;background:#ffffff26;padding:4px 8px;border:1px solid #ffffff26;border-radius:14px!important;color:white}body.social-instagram[data-match-style=tinder] .interest-chip:nth-child(n+4){display:none}
body[data-match-style=tinder] .card-actions-row{display:flex;gap:10px;margin-top:10px}body[data-match-style=tinder] .card-profile-link{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#fff;font-size:11px;padding:5px 0;background:transparent}
body[data-match-style=tinder] .compatibility-badge{position:absolute;top:12px;left:12px;z-index:3;background:#17171dc9;backdrop-filter:blur(6px);border:1px solid #ffffff26;border-radius:20px!important;color:#eee;font-size:10px;font-weight:600;padding:6px 10px}body[data-match-style=tinder] .card-info-btn{position:absolute;top:10px;right:10px;z-index:4;width:34px;height:34px;border-radius:50%!important;border:0;background:#17171dbb;color:#fff;cursor:pointer}
body[data-match-style=tinder] .overlay-badge{position:absolute;top:60px;left:20px;border:3px solid currentColor;border-radius:6px!important;padding:6px 12px;font-size:28px;font-weight:900;opacity:0;pointer-events:none;z-index:5;transform:rotate(-18deg)}body[data-match-style=tinder] .overlay-like{color:#30dba4}.overlay-nope{color:#ff4458}.overlay-super{color:#38acff}
body.social-instagram[data-match-style=tinder] .actions{display:flex!important;justify-content:center;align-items:center;gap:17px!important;flex:none;padding:16px 0 6px!important;margin:0!important}
body.social-instagram[data-match-style=tinder] .action-btn{width:53px!important;height:53px!important;display:flex!important;align-items:center;justify-content:center;flex:none;border:1px solid #38383f!important;border-radius:50%!important;background:#17171e!important;box-shadow:none!important;padding:0;cursor:pointer}
body.social-instagram[data-match-style=tinder] .action-btn i{font-size:24px!important}body.social-instagram[data-match-style=tinder] .action-btn.small{width:43px!important;height:43px!important}.action-btn.undo{color:#e9bb44}.action-btn.pass{color:#ff5268}.action-btn.super{color:#37b8ff}.action-btn.like{color:#39dbab}.action-btn.boost{color:#ba78ff}
body.social-instagram[data-match-style=tinder] .action-btn.like{color:#39dbab;border-color:#2a5a50!important}.action-btn:disabled{opacity:.35;cursor:default}body[data-match-style=tinder] .match-action-label{display:none}body[data-match-style=tinder] .hint{font-size:10px;color:#777783;margin:4px 0;text-align:center;flex:none}body[data-match-style=tinder] .match-gesture-help{display:none}
body[data-match-style=tinder] .empty-state{position:absolute;inset:0;display:none;place-items:center;text-align:center;background:#14141b;border:1px solid #29292e;border-radius:18px!important}.empty-state-inner{padding:24px;max-width:350px;margin:auto}.empty-state-icon{font-size:36px;color:#ff5864}.empty-state-title{font-size:19px}.empty-state-text{font-size:13px;color:#a8a8b3;line-height:1.5}
body[data-match-style=tinder] .modal{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;background:#000b;padding:16px;overflow-y:auto}body[data-match-style=tinder] .modal.open{display:flex}.modal-backdrop{position:absolute;inset:0}body[data-match-style=tinder] .modal-card{position:relative;width:100%;max-width:540px;max-height:calc(100dvh - 32px);overflow-y:auto;background:#16161e;border:1px solid #35353f;border-radius:18px!important;padding:20px;color:#eee}.modal-head,.modal-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.modal-title{font-size:20px;margin:0 0 12px}.modal-sub{color:#9999a6;font-size:13px}.close-btn,.modal-close{width:34px;height:34px;background:#2a2a33;border:0;color:white;border-radius:50%!important;cursor:pointer}
body[data-match-style=tinder] :is(.filters-grid,.form-grid,.grid-2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-match-style=tinder] :is(.field,.input-group){min-width:0;margin-bottom:12px}body[data-match-style=tinder] label{display:block;font-size:12px;color:#aaaab6;margin-bottom:6px}body[data-match-style=tinder] :is(input,select,textarea){width:100%;min-width:0;border:1px solid #3a3a46;border-radius:9px!important;padding:10px;background:#22222b;color:white;font-size:16px}body[data-match-style=tinder] input[type=checkbox]{width:auto}body[data-match-style=tinder] .btn{border:1px solid #3a3a46;background:#282832;color:#fff;padding:10px 14px;border-radius:20px!important;cursor:pointer;font-size:13px}body[data-match-style=tinder] .btn.primary{border:0;background:linear-gradient(110deg,#ff7854,#ff4458);color:white;font-weight:700}
body[data-match-style=tinder] :is(.matches-preview,.plans-preview,.all-members,.likes-store-preview){border:1px solid #30303a;border-radius:14px!important;padding:16px;background:#14141b;margin:0 0 12px}.member-mini-card,.secret-like-card{overflow:hidden;position:relative;border-radius:12px!important;border:1px solid #30303a;background:#191920}.member-mini-card img,.secret-like-card img{width:100%;height:160px;object-fit:cover}.members-grid,.likes-you-grid,.matches-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.match-pill,.match-row{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #30303a}.match-pill img,.match-row img{width:48px;height:48px;border-radius:50%!important;object-fit:cover}.filter-chips{display:flex;flex-wrap:wrap;gap:6px}.filter-chips button{padding:6px 10px;border:1px solid #393944;border-radius:15px!important;background:#24242c;color:#ddd;font-size:11px}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);z-index:2500;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:12px!important;background:#24242c;color:white;font-size:13px;display:none}.toast.show{display:block}.match-celebration{position:fixed;inset:0;display:none;z-index:2400;background:#000d}.match-celebration.open{display:grid;place-items:center}.bottom-tabs,.mobile-brand-strip{display:none!important}
@media(max-width:767px){body.social-instagram[data-match-style=tinder]>.app-shell{height:calc(100dvh - 114px - env(safe-area-inset-bottom))!important;padding:10px 12px 6px!important}.social-match-tools{padding-bottom:6px!important}body.social-instagram[data-match-style=tinder] .card-content{padding:14px!important}body.social-instagram[data-match-style=tinder] .card-name{font-size:25px!important}body.social-instagram[data-match-style=tinder] .actions{gap:14px!important;padding-top:14px!important}}
@media(max-height:650px){body[data-match-style=tinder] .match-discovery-copy,body[data-match-style=tinder] .social-match-status,body[data-match-style=tinder] .hint{display:none!important}body.social-instagram[data-match-style=tinder] .card-bio,body.social-instagram[data-match-style=tinder] .card-extra{display:none!important}body.social-instagram[data-match-style=tinder] .actions{padding-block:8px!important}}

body[data-match-style=tinder] .gesture-coach{display:none!important}

body.social-instagram[data-match-style=tinder]:has(#cookie-banner)>.app-shell{height:calc(100dvh - 80px - 130px)!important}
@media(max-width:767px){body.social-instagram[data-match-style=tinder]:has(#cookie-banner)>.app-shell{height:calc(100dvh - 114px - 140px - env(safe-area-inset-bottom))!important}}
